FORUMS
Remove All Ads from XDA

[MOD][One Click Root] Clockwork Mod version 3.0.0.5/6 - UPDATED FOR EB13!

974 posts
Thanks Meter: 1,143
 
By Dameon87, Inactive Recognized Developer on 3rd January 2011, 01:23 AM
Thread Closed Email Thread
Just finished porting the CWM 3.0.0.5/6 recovery.
Some notable changes are the following:
  • Auto EXT4 conversion system. If a partition is found to be RFS, but referenced in recovery.fstab as ext4, the system will AUTOMATICALLY convert the filesystem, backing up ALL data on the partition, and restoring it after. This may still have kinks, so if you run into any problems, simply flash your rom over it.
  • Removal of Amend script. This is a HUGE change for everyone using the update-script method to create flashable .zip files. ALL developers should begin using Edify scripts (updater-script and update-binary). I will post a few examples of common things below.
  • Color contrast changed from green on black to orange on black.
  • New mounting system. Partition types are no longer required to be compiled into CWM, and are instead detected from /config/recovery.fstab (Modified path to work with the redirector)
Notice: DO NOT INSTALL UNLESS YOU WANT EXT4!!!

[NEW] FOR EB13:
http://efragtv.com/android/OneClickRootCWM3-EB13.zip
NOTES FOR EB13: Auto conversion/restore seems to work 100% now. I converted and did NOT have to flash a rom over it. =]

[OLD] FOR DK28:
http://efragtv.com/android/OneClickRootCWM3.zip

INSTRUCTIONS:
1. Unzip to your desktop.
2. Go into your phone and Go to settings->Applications->Development and turn on USB Debugging.
3. Now double click run.bat in the folder you unzipped. (If you are on linux ./run.sh from the folder)
4. Wait for everything to happen.
5. Use the THREE BUTTON METHOD to get to CWM3.
6. Wait for the conversion operation to finish.
7. DO NOT REBOOT!!!!
8. IF YOU ARE ON AN ODEXED ROM (DEFAULT OTA) THEN YOU NEED TO REFLASH A ROM AFTER THE CONVERSION!!!!!!! ODEXED ROMS DO NOT GET RESTORED PROPERLY!
9. Flash the Default Stock Dual FS kernel For EB13: http://efragtv.com/android/EB13-DUALFS-KERNEL.zip
10. Enjoy CWM 3.0.0.5/6

See post #2 for Edify examples vs the old Amend style.
The Following 73 Users Say Thank You to Dameon87 For This Useful Post: [ View ] Gift Dameon87 Ad-Free
 
 
3rd January 2011, 01:24 AM |#2  
Dameon87's Avatar
OP Inactive Recognized Developer
Thanks Meter: 1,143
 
Donate to Me
More
RESERVED for updater-script examples.

Syntax:
Code:
Amend Code
Edify Code
Copying a directory from the update package to the phone:
Code:
Amend: copy_dir PACKAGE:system SYSTEM:
Edify: package_extract_dir("system", "/system");
The first parameter is the direct location inside of the package. 
The second location is the destination on the phone.
Mounting /data /system and /cache in Edify
Code:
run_program("/sbin/mount", "/dev/block/stl9", "/system");
run_program("/sbin/mount", "/dev/block/stl10", "/data");
run_program("/sbin/mount", "/dev/block/stl11", "/cache");
Printing a UI Message in Edify
Code:
ui_print("Some text here");
Create a symlink in Edify:
Code:
symlink("from","to");
Setting permissions in Edify:
Code:
Single file: set_perm(0, 0, 06755, "/system/xbin/su");
Recursive: set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
Run a program in Edify:
Code:
run_program("filetorun", "option1", "option 2", "option 3");
Delete a location recursively (like Amend's format):
Code:
delete_recursive("/path/to/delete");
Remember that script functions that take options (For example, run_program) must have each item that would require a space between it to be surrounded in double quotes, and followed by a comma. The last parameter must not have a comma afterwards.
Remember that ALL edify commands must end with a semi-colon.
The Following 11 Users Say Thank You to Dameon87 For This Useful Post: [ View ] Gift Dameon87 Ad-Free
3rd January 2011, 01:26 AM |#3  
leatherneck6017's Avatar
Senior Member
Flag Portland, OR
Thanks Meter: 206
 
More
Can't hardly wait! Am looking forward to learning about Edify scripts.
The Following 2 Users Say Thank You to leatherneck6017 For This Useful Post: [ View ] Gift leatherneck6017 Ad-Free
3rd January 2011, 01:30 AM |#4  
Senior Member
Thanks Meter: 117
 
More
Will my download mode work after this?

:: rolls eyes ::

Sent from my SPH-D700 using XDA App
The Following User Says Thank You to DevinXtreme For This Useful Post: [ View ] Gift DevinXtreme Ad-Free
3rd January 2011, 01:48 AM |#5  
Dameon87's Avatar
OP Inactive Recognized Developer
Thanks Meter: 1,143
 
Donate to Me
More
Quote:
Originally Posted by DevinXtreme

Will my download mode work after this?

:: rolls eyes ::

Sent from my SPH-D700 using XDA App

No. Your phone will be dead forever.
The Following 2 Users Say Thank You to Dameon87 For This Useful Post: [ View ] Gift Dameon87 Ad-Free
3rd January 2011, 01:49 AM |#6  
MysteryEmotionz's Avatar
Senior Member
Flag Massachussets
Thanks Meter: 1,988
 
Donate to Me
More
This sounds promising but I'm gonna need help on the home binary scripts

Sent from my SPH-D700 using Tapatalk
The Following User Says Thank You to MysteryEmotionz For This Useful Post: [ View ] Gift MysteryEmotionz Ad-Free
3rd January 2011, 02:37 AM |#7  
plapczyn's Avatar
Retired Recognized Developer
Flag Brighton, MI
Thanks Meter: 210
 
More
Well it looks like we will all be releasing ROM updates later this week.
3rd January 2011, 02:42 AM |#8  
Senior Member
Thanks Meter: 8
 
More
Sweeeeeeet

Sent from my SPH-D700 using XDA App
3rd January 2011, 02:52 AM |#9  
nimaim's Avatar
Senior Member
Thanks Meter: 215
 
More
Thanks for all your hard work Dameon, def one of the best devs we have for the Epic. Donation will be coming your way soon Looking forward to trying this out!
3rd January 2011, 02:56 AM |#10  
NYYFan325's Avatar
Senior Member
Flag Las Vegas, NV
Thanks Meter: 159
 
More
Looking forward to this as well. So for those of us who currently have 2.5.1.0 / .2 installed, what will happen as far as updating to the newer cwm?
3rd January 2011, 03:20 AM |#11  
visions138's Avatar
Member
Flag San Diego
Thanks Meter: 5
 
Donate to Me
More
Dameon .. Nice work .. really sweet !! I don't have any money for you but if you need some new sick clothes let me know =) I own a dope clothing company in SO CAL... just drop me a line of what you need. Im running cwm .2 would i want to upgrade to this or just keep .2 ?
Thread Closed Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes