Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[SCRIPT] Recovery Flashing Script

OP Root-Maniac

19th April 2014, 10:02 PM   |  #1  
OP Account currently disabled
Flag SO. Cali.
Thanks Meter: 550
 
1,451 posts
Join Date:Joined: Jan 2012
Donate to Me
More
Hello Guys! I made this little script for the people that dont know adb/fastboot commands and want to install a custom recovery

This will ONLYwork on UNLOCKED bootloaders.

Make sure "USB-Debugging" is enabled and adb/fastboot drivers have been properly installed

DISCLAIMER: I am not responsible for bricked devices or nuclear warfare. I made this simple script for those who can follow simple instructions.



1st. Download the Recovery Flashing script from here: http://goo.gl/ZtaUFe


2. Unzip the files to a folder on your desktop, or where ever you would like, just remember where you unzipped it to.


3. Download the recovery of your choice:

[m8][CWM Advanced Edition] PhilZ Touch: http://forum.xda-developers.com/show....php?t=2703223

OR

[RECOVERY][m8] TWRP 2.7.0.0 touch recovery: http://forum.xda-developers.com/show....php?t=2717932

4. Place the recovery you downloaded in the previous step into the folder you unzipped the Recovery Flashing script.

5. Rename the recovery you downloaded to Recovery that way it appears as "Recovery.img" in the folder. If it has and extra ".img" at the end, it will fail to flash.

6. After you have done all the steps above, Simply click the "Recovery-Flasher.bat" and follow its instructions it presents, If you have done everything correctly you phone will boot into recovery at the end of the script




I hope this has made life a little easier for our new comers. Please dont forget to hit the thanks button!!!
Last edited by Root-Maniac; 21st April 2014 at 09:35 PM.
The Following 3 Users Say Thank You to Root-Maniac For This Useful Post: [ View ]
19th April 2014, 10:03 PM   |  #2  
OP Account currently disabled
Flag SO. Cali.
Thanks Meter: 550
 
1,451 posts
Join Date:Joined: Jan 2012
Donate to Me
More
Changelog:

V1.1- Added "Fastboot erase cache" after flashing recovery.
Last edited by Root-Maniac; 21st April 2014 at 09:37 PM.
20th April 2014, 06:36 AM   |  #3  
Senior Member
Flag kudus
Thanks Meter: 91
 
1,330 posts
Join Date:Joined: Mar 2008
More
can you add this command after flashing custom recovery?
fastboot erase cache
thanks
20th April 2014, 06:58 AM   |  #4  
OP Account currently disabled
Flag SO. Cali.
Thanks Meter: 550
 
1,451 posts
Join Date:Joined: Jan 2012
Donate to Me
More
Quote:
Originally Posted by monyozt

can you add this command after flashing custom recovery?
fastboot erase cache
thanks

Yes I sure will. I'll get it done tomorrow and update the OP

Sent from my HTC One_M8 using XDA Premium 4 mobile app
The Following User Says Thank You to Root-Maniac For This Useful Post: [ View ]
20th April 2014, 09:00 PM   |  #5  
jonny68's Avatar
Senior Member
Flag Dublin
Thanks Meter: 601
 
5,587 posts
Join Date:Joined: Mar 2010
More
I don't use a PC /Laptop can I do this on my phone I'm unlocked bootloader but no recovery or root yet.

Sent from my Nexus 7 using Tapatalk
21st April 2014, 06:01 AM   |  #6  
OP Account currently disabled
Flag SO. Cali.
Thanks Meter: 550
 
1,451 posts
Join Date:Joined: Jan 2012
Donate to Me
More
Quote:
Originally Posted by jonny68

I don't use a PC /Laptop can I do this on my phone I'm unlocked bootloader but no recovery or root yet.

Sent from my Nexus 7 using Tapatalk

Sorry but you will need a window pc to use this tool. You can download one of the recoveries in the OP then use the app Flashify in the play store to flash the recovery .

Sent from my HTC One_M8 using XDA Premium 4 mobile app
The Following User Says Thank You to Root-Maniac For This Useful Post: [ View ]
21st April 2014, 09:37 PM   |  #7  
OP Account currently disabled
Flag SO. Cali.
Thanks Meter: 550
 
1,451 posts
Join Date:Joined: Jan 2012
Donate to Me
More
Smile
Quote:
Originally Posted by monyozt

can you add this command after flashing custom recovery?
fastboot erase cache
thanks

Done
The Following User Says Thank You to Root-Maniac For This Useful Post: [ View ]
22nd April 2014, 05:20 AM   |  #8  
OP Account currently disabled
Flag SO. Cali.
Thanks Meter: 550
 
1,451 posts
Join Date:Joined: Jan 2012
Donate to Me
More
I'm open to any request guys 😁

Sent from my HTC One_M8 using XDA Premium 4 mobile app
22nd April 2014, 08:35 PM   |  #9  
jonny68's Avatar
Senior Member
Flag Dublin
Thanks Meter: 601
 
5,587 posts
Join Date:Joined: Mar 2010
More
Quote:
Originally Posted by rpomponio

Sorry but you will need a window pc to use this tool. You can download one of the recoveries in the OP then use the app Flashify in the play store to flash the recovery .

Sent from my HTC One_M8 using XDA Premium 4 mobile app

Thanks I've no PC just a tablet and not rooted yet so Flashify won't work

Sent from my Nexus 7 using Tapatalk
29th April 2014, 12:19 AM   |  #10  
jonny68's Avatar
Senior Member
Flag Dublin
Thanks Meter: 601
 
5,587 posts
Join Date:Joined: Mar 2010
More
Rooted now so can use flashify

Sent from my Nexus 7 using Tapatalk

Post Reply Subscribe to Thread

Tags
flash recovery m8
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes