Quote:
Originally Posted by termagazis
Can't we make a flashable zip of this cust partition from someones backup who have this hw default?
Sent from my U8800pro using Tapatalk
|
It is not needed to be the same kind of cust.img!
You only need to be sure that you have a file called "cust.img" which is about 60MB. Its presence is a must and its content will not be considered because of this sequence of commands:
run_program("/sbin/busybox", "mkdir", "/cust");
run_program("/sbin/busybox", "mount", "-t", "ext3", "-o", "loop", "/cust_backup/image/cust.img", "/cust");
run_program("/sbin/busybox", "rm", "-rf", "/cust");
package_extract_dir("cust/vodafone/it", "/cust/vodafone/it");
This is my actual script for my "Italian device".
As you can see, the content of the mounted cust.img will be erased "rm", "-rf";
cust.img will not be modified! You only need it, no other things.
Only the content of /cust folder will be populated with "my files" which are inside the zip of the new rom (v2.2).