andreasgal / B2G

Boot to Gecko aims to create a complete, standalone operating system for the open web.
https://wiki.mozilla.org/B2G
908 stars 158 forks source link

Improve config-galaxy-s2 process to make it without need for a real phone #69

Open shianyow opened 12 years ago

shianyow commented 12 years ago

In current make config-galaxy-s2 process, it extracts proprietary libraries from a real phone. You need to prepare a real phone loaded with stock firmware, connected to your PC.

If we extract those blobs from a downloaded 3rd party image (ex: CyanogenMod), then the process will be simpler and more reliable.

The idea was motivated from issue #56.

joneschrisg commented 12 years ago

It would be interesting to try just pulling all the blobs from the CM image and see if the resulting b2g image works. If not, for some compat reason, we can try pulling them from an older CM image.

shianyow commented 12 years ago

Pulling from CM 7.1 caused some error message in logcat and some process fail to run( tested Android build). Unfortunate the CM official site only keeps CM 7.1, no older version.

shianyow commented 12 years ago

Some users got SGS2 phone from operator, the firmware was gingerbread 2.3.3 (not supported by B2G) and no newer version available.

For this reason I looked at this issue again with current B2G. Now I can get B2G running and making phone calls by extracting blobs only from CM 7.1. Most functions looks fine, except wifi, because CM has it's own modification on wifi and we need to figure out the difference.