Expert Flashable Zippers HELP ME!

PatrickAkridge

"The Button Pusher"
Sep 23, 2011
587
94
0
me2151, drewwalton, thekraven, gannon!

Anyone that can help me please help!

irst of all, I know we are not supposed to bother AndroidCentral ROM Dev's or Moderators by PM, but I need help.

I am putting together a one-click-wiper for recovery that I hope will save people from having to do it by hand..

I used these two threads to help me put it together (I already knew most edify codes but just wanted to check up on some...

[TUT]Edify Installation Script Syntax's - xda-developers

AND

[WIP] How to Write an Updater-Script with Edify Code - xda-developers

(Used the second one mostly)..

CWM by TeamHydro and Xionia is throwing back the same thing it did when I was putting ICS BootAnimation V3 Flashable together - Status 6...

I used NotePad ++, checked to be sure the EOL Conversion was set to UNIX, and Encoding to ANSI.. I even checked for extra lines and EVERY command... Yup. All 69 of them. I am signing them completely.. with the same app I used to sign BootAnimationV3 Flashable so I know it works for signing.. :-P

I checked the folder for corruption, checked MD5 Sums, checked the binary file, and I can't seem to stop getting Status 6.. I think none of my commands are bad.. Are they??

Folder Tree (I didn't use /system because I have nothing to flash)..

Code:
META-INF
_____________ com
_____________google
_____________android
__________________update-binary
__________________updater-script

The updater-script is WAY too long to list..

To sum it up,

I used the following BASE commands -

ui_print
format
unmount
mount
delete
set_progress

Can you check my zip out and see what is wrong with it when you get a chance?

DOWNLOAD - OCDW_with_data_wipe-BETA.zip

Thanks...
 
I'm by no means an expert here but any updater-script that I have modified or worked on for themes and mods I've done in the past has always called on busybox in the script work when mounting the device.

Here is a quick clip from a GAPPS flash, but its usually universal across the board when it comes to mounting the file system.

Code:
i_print("Google Apps for Android 4.0 - 20120224");
ui_print("Mounting system...");
run_program("/sbin/busybox", "mount", "/system");
show_progress(1, 15);
ui_print("Copying files...");
package_extract_dir("system", "/system");
package_extract_dir("optional", "/tmp");
package_extract_file("install-optional.sh", "/tmp/install-optional.sh");
set_perm(0, 0, 0777, "/tmp/install-optional.sh");
run_program("/tmp/install-optional.sh", "");
delete("/system/app/Gallery2.apk","/system/app/Provision.apk","/system/app/QuickSearchBox.apk","/system/app/PlusOne.apk");
ui_print("Unmounting system...");
run_program("/sbin/busybox", "umount", "/system");
ui_print("Installation complete!");

Again here is another....

Code:
[ui_print("Preparing system...");
run_program("/sbin/busybox", "mount", "/system");
run_program("/sbin/mount", "/dev/block/mtdblock4", "/cache"); 
ui_print("------------------------------------------------");
ui_print("                                                ");
ui_print("             Paul627g & ZiggSvo                 ");
ui_print("                Some Mod....                    ");
ui_print("                                                ");
ui_print("       ##############################           ");
ui_print("                                                ");
ui_print("                                                ");
ui_print("------------------------------------------------");
delete_recursive("/cache");
delete_recursive("/data/dalvik-cache");
ui_print("Updating your device...");
package_extract_dir("system", "/system");
show_progress(1, 100);
run_program("/sbin/busybox", "umount", "/system");
run_program("/sbin/umount", "/data");
run_program("/sbin/umount", "/cache");

Might not mean anything, but its worth looking into....
 
me2151, drewwalton, thekraven, gannon!

Anyone that can help me please help!

irst of all, I know we are not supposed to bother AndroidCentral ROM Dev's or Moderators by PM, but I need help.

I am putting together a one-click-wiper for recovery that I hope will save people from having to do it by hand..

I used these two threads to help me put it together (I already knew most edify codes but just wanted to check up on some...

[TUT]Edify Installation Script Syntax's - xda-developers

AND

[WIP] How to Write an Updater-Script with Edify Code - xda-developers

(Used the second one mostly)..

CWM by TeamHydro and Xionia is throwing back the same thing it did when I was putting ICS BootAnimation V3 Flashable together - Status 6...

I used NotePad ++, checked to be sure the EOL Conversion was set to UNIX, and Encoding to ANSI.. I even checked for extra lines and EVERY command... Yup. All 69 of them. I am signing them completely.. with the same app I used to sign BootAnimationV3 Flashable so I know it works for signing.. :-P

I checked the folder for corruption, checked MD5 Sums, checked the binary file, and I can't seem to stop getting Status 6.. I think none of my commands are bad.. Are they??

Folder Tree (I didn't use /system because I have nothing to flash)..

Code:
META-INF
_____________ com
_____________google
_____________android
__________________update-binary
__________________updater-script

The updater-script is WAY too long to list..

To sum it up,

I used the following BASE commands -

ui_print
format
unmount
mount
delete
set_progress

Can you check my zip out and see what is wrong with it when you get a chance?

DOWNLOAD - OCDW_with_data_wipe-BETA.zip

Thanks...
What's wrong with using the debug zip?


sent from my CM7/Reborn w/ 1 Gb internal storage Optimus S

Always happy to help, hit that thanks button if I did
 
What's wrong with using the debug zip?


sent from my CM7/Reborn w/ 1 Gb internal storage Optimus S

Always happy to help, hit that thanks button if I did

That's the prob. It doesn't wipe System, Boot, Cache, Data.

I got the zip fixed though. I had to fix a spelling error and remove some text.

Will upload later...

Sent from my LG-LS670 running CyanogenMod 7 and Gingerbread
 

Members online

Forum statistics

Threads
957,961
Messages
6,975,110
Members
3,163,947
Latest member
francomattia