Created
October 3, 2012 11:35
-
-
Save nka11/3826507 to your computer and use it in GitHub Desktop.
Firefox os galaxy s3 porting notes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
boot.img http://dl.free.fr/h4GMnkXNR | |
system.img http://dl.free.fr/fCtptJFxs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
main ref http://android-dls.com/wiki/index.php?title=HOWTO:_Unpack%2C_Edit%2C_and_Re-Pack_Boot_Images | |
Grab boot.img from device (with CWM backup utility for example) | |
split boot img --> http://zen-droid.googlecode.com/files/split_bootimg.pl | |
mkdir ramdisk | |
cd ramdisk | |
gunzip -c ../boot.img-ramdisk.gz | cpio -i | |
find . | cpio -o -H newc | gzip > ../newramdisk.cpio.gz | |
../B2G/out/host/linux-x86/bin/mkbootimg --cmdline 'no_console_suspend=1 console=null' --kernel boot.img-kernel --ramdisk newramdisk.cpio.gz -o mynewimage.img | |
# attemp to get boot log on lcd (not tested yet) : | |
../B2G/out/host/linux-x86/bin/mkbootimg --cmdline 'console=tty0' --kernel boot.img-kernel --ramdisk newramdisk.cpio.gz -o mynewimage.img | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
how to flash : | |
grab Heimdall 4.1, make sure libpit is patched as described https://github.com/Benjamin-Dobell/Heimdall/issues/55 | |
Build the boot.img | |
adb reboot download | |
sudo heimdall flash --system out/target/product/galaxys3/system.img --BOOT ../boot/mynewimage.img --USERDATA out/target/product/galaxys3/userdata.img |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bison flex | |
g++-multilib | |
lib32z1-dev | |
lib32ncurses5-dev | |
ccache | |
gcc-4.6-multilib-arm-linux-gnueabi ? | |
g++-4.6-multilib-arm-linux-gnueabi ? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment