5,599,539 Members 40,233 Now Online
XDA Developers Android and Mobile Development Forum

[CAN FLASH EVERYTHING] Clockworkmod Recovery 6.0.4.6 Galaxy 5

Tip us?
 
Bhargav97
Old
#1  
Bhargav97's Avatar
Senior Member - OP
Thanks Meter 211
Posts: 357
Join Date: Mar 2013
Location: Ahmedabad
Default [CAN FLASH EVERYTHING] Clockworkmod Recovery 6.0.4.6 Galaxy 5

CWM Recovery 6.0.4.6 capable of flashing all the zip files....
recovery-clockwork-6.0.4.6-galaxy5.zip (Mediafire)(5.25 mb)

I made this cwm recovery 6.0.4.6 with the help of Jenkins.


Features...

->Fully functional. (Still no option for partition sdcard)
->This recovery can flash all the roms and also older recoveries and all the valid zip files. (even cm7)
->Use this until psyke officially release a properly working cwm.


How to use?

->Flash recovery-clockwork-6.0.1.2-galaxy5.tar (or any older) using Odin.
->Flash this zip file provided by me in the above link.
->After that boot into this new recovery and perform a cache wipe (NOT dalvik-cache). Then you're done....!!! Now, start flashing everything or reboot to system back...

Acknowledgements:-

-> First and very important fact I want you all to know is that from CM11 (CWM 6.0.4.5 onwards), a major security step has been taken up by Koush (CWM creator) by introducing SElinux and so one more security enhancement that came with it is: That...now you need to keep your updater-script as precise as possible. For e.g :- Not giving permission command for such files that doesn't even exist.
-> Another thing I saw was that now, format command in updater-script requires 5 args instead of 4 or 3.
-> Psyke83's cm7 can be flashed using this recovery but there were some mistakes in few of the updater-script lines. I removed those Mistakes (not added a single word more) and now...cm7 can be flashed right away using this recovery 6.0.4.6.

Corrected updater-script file for cm7 (for latest v3.0):-

updater-script (9 KB)

(If after download, your file is named like this- "updater-script.bin", please rename it to "updater-script".)

Where to replace this file?

->Those who don't know where to replace this updater-script file:- Open psyke83's latest v3.0 cm7 zip file. Go to META-INF/com/google/android and there in 'android' folder you'll see updater-script file. Just replace that file with mine (given above).
->Now, your cm7 zip file is ready to be flashed with cwm 6.0.4.6 provided above.

ENJOY.....!!!!
The Following User Says Thank You to Bhargav97 For This Useful Post: [ Click to Expand ]
 
Bhargav97
Old
#2  
Bhargav97's Avatar
Senior Member - OP
Thanks Meter 211
Posts: 357
Join Date: Mar 2013
Location: Ahmedabad
Wanna know what were the mistakes in cm7 script according to new rules of cwm 6.0.4.5 (or newer)?...Here you go...

->First one: Format requires five args instead of three or four or lesser.

So, it is the line in original updater-script:-

format("ext4", "EMMC", "/dev/block/stl12");

But, it has to be like this according to new pattern of cwm 6.0.4.5 (or newer):-


format("ext4", "EMMC", "/dev/block/stl12", "0", "/system");

So, I corrected it.

->Second one & the last one is that not giving permissions to the file that doesn't exist.

Line in original file:-

set_perm(0, 0, 0544, "/system/etc/install-recovery.sh");

But, the file 'install-recovery.sh' doesn't exist. So, I removed this line.

And so finally tried flashing CM7 and it was successfully flashed with the new recovery and booted up very fast...
 
Vagelis1608
Old
#3  
Vagelis1608's Avatar
Senior Member
Thanks Meter 16
Posts: 139
Join Date: Sep 2012
Location: Athens
Is it 100% safe?

Sent from my GT-I5500 [CM11]

Click on the image!

====================

Current Devices:
Old & Trusty Samsung Galaxy 5 Europa (GT-I5500) [OmniROM 4.4.2]

====================
Translated Apps (to Greek):
 
Bhargav97
Old
#4  
Bhargav97's Avatar
Senior Member - OP
Thanks Meter 211
Posts: 357
Join Date: Mar 2013
Location: Ahmedabad
Quote:
Originally Posted by Vagelis1608 View Post
Is it 100% safe?

Sent from my GT-I5500 [CM11]
Yupp bro...
I myself use this since a long time..You can see madteam's "Clockworkmod Recovery for Galaxy 5" topic to see user replies confirming the recovery to be working.
 
Vagelis1608
Old
#5  
Vagelis1608's Avatar
Senior Member
Thanks Meter 16
Posts: 139
Join Date: Sep 2012
Location: Athens
Quote:
Originally Posted by bhattbhargav60 View Post
Yupp bro...
I myself use this since a long time..You can see madteam's "Clockworkmod Recovery for Galaxy 5" topic to see user replies confirming the recovery to be working.
Ok.I just wanted to be sure.
Downloading now.
Thanks for it

Click on the image!

====================

Current Devices:
Old & Trusty Samsung Galaxy 5 Europa (GT-I5500) [OmniROM 4.4.2]

====================
Translated Apps (to Greek):
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes