Thanks for the docs to make rom package. 

I tested with this update-script:

assert(getprop("ro.product.device") == "tf300t" || getprop("ro.build.product") 
== "tf300t");
mount("ext4", "EMMC", "/dev/block/mmcblk0p1", "/system");
unmount("/system");
show_progress(0.500000, 0);
format("ext4", "EMMC", "/dev/block/mmcblk0p1", "0", "/system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p1", "/system");
package_extract_dir("system", "/system");
set_perm_recursive(0, 0, 0755, 0644, "/system");
package_extract_file("boot.img", "/dev/block/mmcblk0p4");
show_progress(0.100000, 0);
unmount("/system");

but don't start, and I tested also with CM's file but nothing:

package_extract_file("boot.blob", "/dev/block/mmcblk0p4");

Any idea?

Un saludo!
----
César Martín Cristóbal
[email protected]

El 20/03/2013, a las 19:01, Guillermo López <[email protected]> 
escribió:

> ---------- Mensaje reenviado ----------
> De: "Alfredos (fredy) Damkalis" <[email protected]>
> Fecha: 19/03/2013 16:12
> Asunto: Re: [b2g] how to make a firefox os rom package
> Para: <[email protected]>
> Cc: 
> 
> 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
> 
> 
> _______________________________________________
> 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

Reply via email to