Hi > I downloaded B2G sources, I see B2G sources are clone with any > existing Android sources. As I understand Android stack is replaced > with B2G stack while remaining HAL and Kernel is still maintained of > Android. - Please do correct me if I am wrong.
You're right. We use Android's system components (e.g., kenrnel, libc, drivers, etc.). Dalvik and the GUI are replaced by Gecko (the browser engine) and Gaia (our UI). > 1. If I have a phone and android sources, how can add B2G components > and port B2G OS on my phone? You need developer access to the phone. Locked phones won't work. You need Android source code for your phone's hardware and probably some proprietary drivers. > 2. Is there any specific changes to kernel code to support B2G OS? - > Is there anything I need to port/ modify for my phone? You need to adapt the B2G build scripts to checkout and build for your phone and fetch the correct drivers. Sometimes you need to adapt the init scripts or write some extra utility program. (In theorie,) you don't need any changes to the kernel or system libraries. These should come with your Android sources. Best regards Thomas > Thanks. > _______________________________________________ > dev-b2g mailing list > [email protected] > https://lists.mozilla.org/listinfo/dev-b2g _______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
