PDA

Ver la Versión Completa : yaffs2image


firetrap
03/08/10, 12:20:00
hi guys i have a Optimus Boston (aka Orange Boston , Apanda A60) and i have android 2.1 running in the phone, in the past few days i was trying to "mod" the original system.img, so i had extracted with unyaffs make the changes and repack with mkyaffs2image in linux, everything goes alright but when i flash to the phone he don't boot and go automatically to recovery mode. What i'am forgetten to do?

Thanks in advance and sorry for speaking in english but its better than mine spanish :p

c.martinez.lozano
03/08/10, 16:06:36
hi guys i have a Optimus Boston (aka Orange Boston , Apanda A60) and i have android 2.1 running in the phone, in the past few days i was trying to "mod" the original system.img, so i had extracted with unyaffs make the changes and repack with mkyaffs2image in linux, everything goes alright but when i flash to the phone he don't boot and go automatically to recovery mode. What i'am forgetten to do?

Thanks in advance and sorry for speaking in english but its better than mine spanish :p

Hi!, do the same but into phone.
put your files with adb to sdcard, install busybox or copy the files with cat.
do mkyaffs2image into the phone, because apanda images needs some strange firmware. if you backup inside the phone yo will have a working system.img.

firetrap
03/08/10, 20:06:18
Hi!, do the same but into phone.
put your files with adb to sdcard, install busybox or copy the files with cat.
do mkyaffs2image into the phone, because apanda images needs some strange firmware. if you backup inside the phone yo will have a working system.img.

Sorry c.martinez but what do you suggest to do adb mkyaffs2image system system.img (just an example!!) ??

c.martinez.lozano
03/08/10, 20:27:47
8 steps to backup an official rooted ROM
1-Download zip i attached
2.-Unzip
3.-adb pull mkyaffs2image /sdcard
4.-adb shell
5.-su
6.-cat /sdcard/mkyaffs2image > /system/bin/mkyaffs2image
7.-chmod 777 /system/bin/mkyaffs2image
8.-mkyaffs2image /system /sdcard/system.img

firetrap
04/08/10, 05:20:54
c.martinez its all ok so many thanks hi was going nuts with this.

just another question when we built a custom rom and add the aplication.apk to /system/app
must be installed by default when i do factory reset right? or i have to compile some boot script to install like its default in system?

PS: i'am trying to do my own custom rom, so when i do factory he installs all i want