Closed
Bug 784227
(gonk-jb)
Opened 12 years ago
Closed 11 years ago
JB Gonk Support (Android 4.3)
Categories
(Firefox OS Graveyard :: General, defect)
Tracking
(blocking-b2g:-)
RESOLVED
FIXED
blocking-b2g | - |
People
(Reporter: mwu, Unassigned)
References
Details
(Keywords: meta)
Attachments
(2 obsolete files)
This is a tracking bug for things necessary on the gecko side to support JB based Gonk.
Reporter | ||
Updated•12 years ago
|
Alias: gonk-jb
Reporter | ||
Comment 1•12 years ago
|
||
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)
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?
Comment 4•12 years ago
|
||
I had merged RIL related code in hardware/ril[1] and external/emulator[2]. Still have build breaks with ICS Gonk, of course.
[1]: https://github.com/mozilla-b2g/platform_hardware_ril/tree/next/jb-mr1-release
[2]: https://github.com/mozilla-b2g/platform_external_qemu/tree/next/jb-mr1-release
Comment 5•12 years ago
|
||
(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.
Comment 7•12 years ago
|
||
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.
Comment 8•12 years ago
|
||
Some wifi functions in libhardware_legacy got different argument list. There must have some changes in HAL and its above leyer.
Comment 9•12 years ago
|
||
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).
Reporter | ||
Updated•12 years ago
|
Reporter | ||
Comment 11•12 years ago
|
||
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".
Reporter | ||
Updated•12 years ago
|
Comment 12•12 years ago
|
||
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?
Comment 13•12 years ago
|
||
Hi Michael,
We‘re porting FFOS to JB, but camera can't work now. Do you have any schedule to support camera on JB?
Reporter | ||
Comment 14•12 years ago
|
||
(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.
Reporter | ||
Comment 15•12 years ago
|
||
(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.
Comment 16•12 years ago
|
||
> > 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.
Reporter | ||
Updated•12 years ago
|
Assignee: nobody → mwu
Reporter | ||
Comment 17•12 years ago
|
||
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
Reporter | ||
Comment 18•12 years ago
|
||
The manifest is now available from the b2g-manifest repo - https://github.com/mozilla-b2g/b2g-manifest/blob/master/nexus-4.xml .
Reporter | ||
Updated•12 years ago
|
Attachment #751805 -
Attachment is obsolete: true
Depends on: b2g-bluedroid
Depends on: 884239
Comment 20•11 years ago
|
||
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.
Reporter | ||
Comment 21•11 years ago
|
||
(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.
Comment 22•11 years ago
|
||
JB4.3 support OpenGL ES3.0. By using it, we can implement WebGL2 on Firefox OS.
- https://wiki.mozilla.org/Platform/GFX/WebGL2
Comment 23•11 years ago
|
||
We'll use 4.3
Comment 24•11 years ago
|
||
In 4.3, camera is extended a lot, ProCamera is present. Need to support it.
Comment 25•11 years ago
|
||
I think 4.3 is better than 4.2 for us.
Reporter | ||
Comment 26•11 years ago
|
||
4.3 it is.
Summary: JB Gonk Support (Android 4.2) → JB Gonk Support (Android 4.3)
Comment 27•11 years ago
|
||
(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.
Reporter | ||
Comment 28•11 years ago
|
||
(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?
Comment 29•11 years ago
|
||
(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.
Reporter | ||
Comment 30•11 years ago
|
||
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.
Comment 31•11 years ago
|
||
(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.
Reporter | ||
Comment 32•11 years ago
|
||
All necessary 4.3 patches have been landed.
Updated•11 years ago
|
Depends on: 902797
Depends on: 902769
Updated•11 years ago
|
Reporter | ||
Updated•11 years ago
|
Updated•11 years ago
|
Blocks: koi-devices
Depends on: 906577
Depends on: 906590
Depends on: 908044
Comment 33•11 years ago
|
||
koi+ as it is targeted for v1.2
blocking-b2g: koi? → koi+
Whiteboard: [FT:devices, KOI:P1]
Depends on: 911943
Updated•11 years ago
|
Depends on: HWComposer
Updated•11 years ago
|
Whiteboard: [FT:devices, KOI:P1] → [UCID:, FT:devices, KOI:P1]
No longer depends on: b2g-bluedroid
No longer depends on: 911943
Updated•11 years ago
|
Whiteboard: [UCID:, FT:devices, KOI:P1]
Reporter | ||
Updated•11 years ago
|
Blocks: HWComposer
No longer depends on: HWComposer, 915729
Reporter | ||
Updated•11 years ago
|
Comment 35•11 years ago
|
||
What about kitkat(android4.4)?
I think it's better for low memory device.
Flags: needinfo?(mwu)
Reporter | ||
Comment 36•11 years ago
|
||
(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.
Flags: needinfo?(mwu)
Reporter | ||
Comment 37•11 years ago
|
||
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
Closed: 11 years ago
Resolution: --- → FIXED
Comment 38•11 years ago
|
||
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?
Reporter | ||
Comment 39•11 years ago
|
||
That has nothing to do with this bug. Also, it is wrong.
Reporter | ||
Comment 40•11 years ago
|
||
FYI, kitkat porting is being tracked in bug 943278 .
Depends on: 985306
No longer depends on: 985306
You need to log in
before you can comment on or make changes to this bug.
Description
•