694484, 784226, 788975, 867871, 868065, 868124, 868150, 869206, 869251, 869260, 870198, 870682, 870684, 871364, 874116, 874649, 877191, 878108, 879428, 880095, 880502, 881565, 883945, 884131, 884134, 884239, 885602, 885620, 885809, 887485, 887620, 887627, 888552, 890144, 890541, 891261, 892182, 892876, 894538, 894683, 895665, 896765, 898506, 898810, 898812, 898897, 898898, 899377, 899769, 901857, 902044, 902255, 902273, 902319, 902769, 902865, 902954, 904484, 906577, 906590, 906888, 908044, 911271, 911294, 911391, 911518, 911548, 914190
This is a tracking bug for things necessary on the gecko side to support JB based Gonk.
Since Android 4.2 is also Jelly Bean, I'm morphing this bug to cover that particular jelly bean and skipping Android 4.1.
Summary: JB Gonk Support → JB Gonk Support (Android 4.2)
Duplicate of this bug: 779548
My understanding is that the bluetooth stack was rewritten in JB. Do we have any idea of the work needed to "rebase" (sigh) on that?
I had merged RIL related code in hardware/ril and external/emulator. Still have build breaks with ICS Gonk, of course. : https://github.com/mozilla-b2g/platform_hardware_ril/tree/next/jb-mr1-release : https://github.com/mozilla-b2g/platform_external_qemu/tree/next/jb-mr1-release
(In reply to Chris Jones [:cjones] [:warhammer] from comment #3) > My understanding is that the bluetooth stack was rewritten in JB. Do we > have any idea of the work needed to "rebase" (sigh) on that? Well, the Bluetooth Platform Portion is abstracted so that we /should/ just be able to implement a new BluetoothService subclass filled in with the new calls, and be on our way. That said, it was modeled after the DBus setup because I haven't seen anything else so that was my only experience to build off of. So it's going to depend on how well those two mesh, and how much needs to be changed to support them. I have yet to actually see the new stack (I think echou has, but I'm not gonna say for sure.), so I can't really say anything beyond that. The DBus layer will still be valid for linux, though we need to implement a few more linux service functions to make it have complete feature pairity with android.
The new JB bluedroid stack is quite different from bluez. Dbus layer completely was removed, even no more bluetooth daemon. I believe the change could be big if we adapt bluedroid stack. Since currently we have design dependency on BlueZ dbus.
1. Also JB starts to support volume control on each output devices. That means we need to change the API in AudioManager and settings data in Gaia side also the UX. 2. Power API for set_screen_state is changed to autosuspend_enable/disable. 3. Wifi HAL API is changed too. 4. The API changes of AudioTrack can be covered by backend of cubeb + openSL ES.
Some wifi functions in libhardware_legacy got different argument list. There must have some changes in HAL and its above leyer.
ISurfaceTexture is changed in JB. It is used in GonkNativeWindow since v1.1 by Bug 803471.
I thought I posted this here; I have some patches for JB support on m-c at https://github.com/vvuk/mozilla-central/tree/b2g-jb with some more info at https://wiki.mozilla.org/B2G/Nexus7. I haven't touched this in a few weeks though, but it might be a useful start (it built and ran on a N7 at the time).
Here's a nexus 4 manifest to try. The line saying "include external/junit/Common.mk" in frameworks/base/Android.mk needs to be commented out. Permissions in /system/b2g have to be fixed manually. Lots of issues still, and a bit crashy. The device name is "mako".
Hi Michael, Do we want gecko to support both ICS and JB on the same version, That means we would likely to use build flag to distinguish the API change?
Hi Michael, We‘re porting FFOS to JB, but camera can't work now. Do you have any schedule to support camera on JB?
(In reply to Randy Lin [:rlin] from comment #12) > Hi Michael, > Do we want gecko to support both ICS and JB on the same version, > That means we would likely to use build flag to distinguish the API change? Bug 868150 allows us to distinguish between ICS and JB at compile time. We'll need gecko to support both ICS and JB for the time being.
(In reply to James Zhang from comment #13) > Hi Michael, > > We‘re porting FFOS to JB, but camera can't work now. Do you have any > schedule to support camera on JB? There might be an engineer working on it next week, but I can't comment on any schedule.
> > We‘re porting FFOS to JB, but camera can't work now. Do you have any > > schedule to support camera on JB? > > There might be an engineer working on it next week, but I can't comment on > any schedule. Last week, I receive nexus4 and flashed JB on it. From this week, I am going to work on it. But I can not comment when camera works.
This manifest switches to upstream versions of everything where there is support. There's only two repos left that are on my github account. Gecko is now pointed to upstream, so we can work off the latest mozilla-central.
Attachment #744936 - Attachment is obsolete: true
The manifest is now available from the b2g-manifest repo - https://github.com/mozilla-b2g/b2g-manifest/blob/master/nexus-4.xml .
Attachment #751805 - Attachment is obsolete: true
Depends on: 876583
Depends on: 884239
Depends on: 885809
Recommending this for koi+ (JB support for v1.2)
blocking-b2g: --- → koi?
Are we going to use JB4.2 as gonk-jb? Today, JB4.3 is released on already open sourced. There are some differences around Graphics and DisplayHardware.
(In reply to Sotaro Ikeda [:sotaro] from comment #20) > Are we going to use JB4.2 as gonk-jb? Today, JB4.3 is released on already > open sourced. There are some differences around Graphics and DisplayHardware. Sounds good. I think we're currently still early enough in 1.2 to switch to 4.3.
JB4.3 support OpenGL ES3.0. By using it, we can implement WebGL2 on Firefox OS. - https://wiki.mozilla.org/Platform/GFX/WebGL2
We'll use 4.3
In 4.3, camera is extended a lot, ProCamera is present. Need to support it.
I think 4.3 is better than 4.2 for us.
4.3 it is.
Summary: JB Gonk Support (Android 4.2) → JB Gonk Support (Android 4.3)
(In reply to Michael Wu [:mwu] from comment #26) > 4.3 it is. Hello,Michael,I have a question.Is update to android4.3 a new official decison or just engineer talk now? Thanks.
(In reply to andy.liu from comment #27) > (In reply to Michael Wu [:mwu] from comment #26) > > 4.3 it is. > > Hello,Michael,I have a question.Is update to android4.3 a new official > decison or just engineer talk now? Thanks. We will support 4.3. I've filed four new bugs with patches that add support for 4.3. Will 4.3 be ok for you?
(In reply to Michael Wu [:mwu] from comment #28) > (In reply to andy.liu from comment #27) > (In reply to Michael Wu [:mwu] > from comment #26) > > 4.3 it is. > > Hello,Michael,I have a question.Is > update to android4.3 a new official > decison or just engineer talk now? > Thanks. We will support 4.3. I've filed four new bugs with patches that add > support for 4.3. Will 4.3 be ok for you? Yes,android4.3 is perfect for as.But dose it mean Mozilla v1.2 will support android4.3 directly?And android4.2 will be deserted right now? what about the new schedule for supporting android4.3? Will it be ready at 16th Sept.? Thanks.
The patches I posted brings our 4.3 port to the same level that the 4.2 port is currently at. The only thing remaining 4.3 upgrade risk is for camera support. JB camera support hasn't landed, so I haven't tried upgrading it from 4.2 to 4.3.
(In reply to Michael Wu [:mwu] from comment #30) > The patches I posted brings our 4.3 port to the same level that the 4.2 port > is currently at. The only thing remaining 4.3 upgrade risk is for camera > support. JB camera support hasn't landed, so I haven't tried upgrading it > from 4.2 to 4.3. Ok, thanks for your reply.We hope that android 4.3 is supported ASAP. BTW,in my mind ,independent of android version upgrade is a better choice for ffos long-term roadmap.
All necessary 4.3 patches have been landed.
koi+ as it is targeted for v1.2
blocking-b2g: koi? → koi+
Whiteboard: [FT:devices, KOI:P1]
Depends on: 911943
Whiteboard: [FT:devices, KOI:P1] → [UCID:, FT:devices, KOI:P1]
No longer depends on: 876583
No longer depends on: 911943
Meta bug - hence minus
blocking-b2g: koi+ → -
What about kitkat(android4.4)? I think it's better for low memory device.
(In reply to James Zhang from comment #35) > What about kitkat(android4.4)? > I think it's better for low memory device. A new bug will be filed for android 4.4. A nexus 5 is being shipped to me at the moment so I'll be able to take a look at it in a few days.
Marking as fixed as I believe we have feature parity with the ICS port now. Bluedroid work continues to be tracked in bug 876583. I'll post here when there is more news about kitkat support.
Assignee: mwu → nobody
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Firefox_OS_build_prerequisites#Requirements_for_Mac_OS_X has a note that suggests the doc needs updating once this is available. Is that now?
That has nothing to do with this bug. Also, it is wrong.
FYI, kitkat porting is being tracked in bug 943278 .
You need to log in before you can comment on or make changes to this bug.