On Tuesday, March 19, 2013 10:12:06 AM UTC-5, Alfredos (fredy) Damkalis wrote: > I will describe what have I done on samsung galaxy s2. Probably building > > it the same way will give you a working rom package. > > > > 1. You have to gather to a folder these: > > system directory from /out/target/product/<your device name>/ > > boot.img from /out/target/product/<your device name>/ > > META-INF extracted from a rom package for your device. > > > > 2. Go to the folder and zip the objects with the command |zip -r9 b2g.zip * > > |This will create a b2g.zip file. > > > > 3. Download http://lazydroid.com/files/SignApk.zip and extract it. > > This will give you a signapk.jar and some other files > > > > 4. Run this command |java -jar signapk.jar testkey.x509.pem testkey.pk8 > > b2g.zip ./signedB2G.zip| > > where b2g.zip is the file that you have created and the rest are the > > files that you have extracted. > > This will give you a signedB2G.zip package that you can flash it for > > example through CWM > > More on signing roms can be found at > > http://lazydroid.com/2011/03/howto-repack-and-sign-rom-image-update-zip-files/ > > > > 5. After a successful flash procedure you will end up with a black > > screen and you will have access with adb on your device. Then you have > > to install Gaia: > > git clone https://github.com/mozilla-b2g/gaia.git > > cd gaia > > make install-gaia (before this maybe you want to change the branch of > > the gaia repository) > > > > Disclaimer: > > The above steps can brick your device, follow them at your own risk!!! > > > > fredy > > > > On 03/19/2013 04:02 PM, lap wrote: > > > Hey guys > > > > > > hm..because i can't flash the system.img to my device,so i am thinking > > > about to make a rom package > > > > > > so i want to ask what do i need to put in the rom package? Is it the > > > same to the android's rom? > > > > > > Also, i want to know how can i unpack these "img" files etc. > > > system.img , usrdata.img, because i can't unpack these files by the > > > "unyaffs" or to mount it. can you guys give me some advices , i want > > > more details. > > > > > > thank you:-) > > > > > > lap > > > _______________________________________________ > > > dev-b2g mailing list > > > [email protected] > > > https://lists.mozilla.org/listinfo/dev-b2g > > >
I know this is old, but why can't you include gaia in the ROM zip? _______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
