Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,768,967 Members 47,087 Now Online
XDA Developers Android and Mobile Development Forum

How to install cwm/custom recovery from android terminal

Tip us?
 
Franzferdinan51
Old
(Last edited by Franzferdinan51; 25th April 2013 at 02:36 PM.)
#1  
Senior Member - OP
Thanks Meter 50
Posts: 615
Join Date: Sep 2010
Default How to install cwm/custom recovery from android terminal

$ su
# dd if=/sdcard/recovery.img of=/dev/block/mmcblk0p32
# reboot recovery

THANKS SKEEVYDUDE FOR THE PROPER COMMAND & EPINTER FOR THE RECOVERY
And anyone else I forgot


Edit: to add the correct android terminal
Command & instructions

Disclaimer: if you **** up its not my fault
This Will work if done properly


Requirements: android
A BRAIN
Terminal emulator
Recovery.img (see epinter/skeevydude posts)

Download recovery of your choice place on root of sdcard

Open terminal and enter this command


$ su
# dd if=/sdcard/recovery.img of=/dev/block/mmcblk0p32
# reboot recovery

Your done congratulations you now have a recovery


Problems? : triple check your commands I'm NOT a Dev and cannot provide support as this is a fairly basic process for anyone expert or beginning always remember android is Linux and thus terminal has more power than you realize and so does google good luck!









Sent from my MB886 using Tapatalk 2
The Following 3 Users Say Thank You to Franzferdinan51 For This Useful Post: [ Click to Expand ]
 
Youngunn2008
Old
#2  
Youngunn2008's Avatar
Senior Member
Thanks Meter 1545
Posts: 3,288
Join Date: Aug 2010
Location: Alton, IL
I would just use fastboot commands, is the same as on windows.

fastboot devices
fastboot flash recovery recovery.img

phone: Moto X
rom: stock KitKat, rooted

tablet: Barnes & Noble Nook HD+
rom: CyanogenMod 11 Nightlies
recovery: CWM 6
kernel: CM stock

My Android Build PC
_________________________________
 
Franzferdinan51
Old
#3  
Senior Member - OP
Thanks Meter 50
Posts: 615
Join Date: Sep 2010
No computer guess I'll have to find out

Sent from my MB886 using Tapatalk 2
 
skeevydude
Old
#4  
skeevydude's Avatar
Recognized Contributor
Thanks Meter 2856
Posts: 2,850
Join Date: Feb 2012
Location: Hot Springs
Quote:
Originally Posted by Franzferdinan51 View Post
$ su
# dd if=/sdcard/recovery.img of=/dev/block/mmcblk0p18
# reboot recovery

Will this command work to install custom recovery from Android terminal

Sent from my MB886 using Tapatalk 2

no


use

Code:
su
dd if=/sdcard/recovery.img of=/dev/block/mmcblk0p32
32 is the recovery partition

then yes

also, Q & A forum
If I managed to help you, click Thanks.
Please post help questions in your respected devices Q&A forum. That's we have them.
If you need my help, add an @skeevydude to your post or quote me. I'll see it.
Thank You & Have a Nice Day.
Help Me Help You. Sign up for 15gb of free storage at Copy.com using this referral -- I get 5 more GB and you get 5 more GB. We both win.
Atrix HD Off Topic Thread
"Remember there are no stupid questions, just stupid people." -- Mr. Garrison
The Following 5 Users Say Thank You to skeevydude For This Useful Post: [ Click to Expand ]
 
Franzferdinan51
Old
#5  
Senior Member - OP
Thanks Meter 50
Posts: 615
Join Date: Sep 2010
Once again thanks skeevy for saving the day

Sent from my MB886 using Tapatalk 2
 
Franzferdinan51
Old
#6  
Senior Member - OP
Thanks Meter 50
Posts: 615
Join Date: Sep 2010
BTW is successful thanks to your zip skeevy I took then recovery. IMG used the adb command quick painless can't believe I forgot I could do that

Sent from my MB886 using Tapatalk 2
 
crossxn
Old
#7  
crossxn's Avatar
Senior Member
Thanks Meter 15
Posts: 120
Join Date: Nov 2010
Quote:
Originally Posted by Franzferdinan51 View Post
BTW is successful thanks to your zip skeevy I took then recovery. IMG used the adb command quick painless can't believe I forgot I could do that

Sent from my MB886 using Tapatalk 2
Hi, can you please explain the steps you followed to install recovery. Do we put the recovery image file in SD card and use any terminal emulator app to key in the codes? TIA
 
Franzferdinan51
Old
#8  
Senior Member - OP
Thanks Meter 50
Posts: 615
Join Date: Sep 2010
I placed the recovery. I'm on root of sdcard used the command that skeevy told me NOT the one from my Op using basic terminal emulator from play store was so simple I could've smacked my selfnfor forgetting that Android is Linux and can do from just terminal

Sent from my VTAB1008 using Tapatalk 2
 
Markyzz
Old
#9  
Markyzz's Avatar
Senior Member
Thanks Meter 273
Posts: 982
Join Date: Jan 2012
Location: California
Quote:
Originally Posted by Franzferdinan51 View Post
I placed the recovery. I'm on root of sdcard used the command that skeevy told me NOT the one from my Op using basic terminal emulator from play store was so simple I could've smacked my selfnfor forgetting that Android is Linux and can do from just terminal

Sent from my VTAB1008 using Tapatalk 2

Maybe you should edit the OP with the correct command..
It is a nifty way of doing it
 
Franzferdinan51
Old
#10  
Senior Member - OP
Thanks Meter 50
Posts: 615
Join Date: Sep 2010
Hmm yeah given me a second

Sent from my MB886 using Tapatalk 2

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes