How to install cwm/custom recovery from android terminal

Search This thread
$ 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
 
Last edited:

skeevydude

Inactive Recognized Contributor
Feb 10, 2012
3,072
3,042
39
Hot Springs
$ 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 :p

then yes

also, Q & A forum :eek:
 

crossxn

Senior Member
Nov 2, 2010
193
25
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 :)
 

Markyzz

Senior Member
Jan 7, 2012
1,018
278
California
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
 

crossxn

Senior Member
Nov 2, 2010
193
25
Thanks :p. I flashed recovery by copy-pasting your command in terminal emulator. Works great. Already did a backup for flashing ROMs :thumbup:
 
http://batakang.com/MB886.php

That list has been invaluable to me. I've based all my recovery/bootloader zips off of that information. If you're into system modding and tweaking, you'll love it.

//Glad ya got it working

Thanks that list u gave me is cool yeah I always like doing things the mobile way I use my phone basically as my computer so I like to learn these things plus I love tweaking and tinkering so it ends up as things like this kind of funny if I used my original command I'd have flashed a recovery to modem and well we could all guess what would happen then

Sent from my MB886 using Tapatalk 2
 

sdwyz74

Senior Member
Jun 23, 2009
619
37
49
Seattle
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

which image is the safest ??? pleas advise thanks

---------- Post added at 09:45 AM ---------- Previous post was at 09:16 AM ----------


no


use

Code:
su
dd if=/sdcard/recovery.img of=/dev/block/mmcblk0p32

32 is the recovery partition :p

then yes

also, Q & A forum :eek:


sorry to bug and i know all androids are basically the same i just cant afford to mess up and ive been looking for the proper CWM image as i want Custom Recovery but i am lost i went threw some of your post/threads but not sure which one and or where as far as what CWM image i should use when trying to flash it threw the Terminal Please ADVISE
 

crossxn

Senior Member
Nov 2, 2010
193
25
which image is the safest ??? pleas advise thanks

---------- Post added at 09:45 AM ---------- Previous post was at 09:16 AM ----------




sorry to bug and i know all androids are basically the same i just cant afford to mess up and ive been looking for the proper CWM image as i want Custom Recovery but i am lost i went threw some of your post/threads but not sure which one and or where as far as what CWM image i should use when trying to flash it threw the Terminal Please ADVISE

Go here and download image file under Method 3.

http://xdaforums.com/showthread.php?t=
 
  • Like
Reactions: sdwyz74

sdwyz74

Senior Member
Jun 23, 2009
619
37
49
Seattle
Go here and download image file under Method 3.

http://xdaforums.com/showthread.php?t=




thanks but the link is dead or invalid

---------- Post added at 11:14 AM ---------- Previous post was at 10:37 AM ----------


no





Code:
su
dd if=/sdcard/recovery.img of=/dev/block/mmcblk0p32

32 is the recovery partition :p

then yes

also, Q & A forum :eek:

do i us the dd or start from the if


dd if=/sdcard/recovery.img of=/dev/block/mmcblk0p32

either way i tried and it says e cant open something

---------- Post added at 11:59 AM ---------- Previous post was at 11:14 AM ----------

say CANNOT OPEN FOR READ: NO SUCH FILE OR DIRECTORY

please advise thanks
 

sdwyz74

Senior Member
Jun 23, 2009
619
37
49
Seattle
can someone Please Take a few minutes to help me as i been trying for days now and its just giving the same error ??? READ MY ABOVE POST AND THATS THE ERROR I GET THANKS TO ALL
 

Top Liked Posts

  • There are no posts matching your filters.
  • 6
    $ 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 :p

    then yes

    also, Q & A forum :eek:
    3
    $ 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
    1
    Hmm yeah given me a second

    Sent from my MB886 using Tapatalk 2

    http://batakang.com/MB886.php

    That list has been invaluable to me. I've based all my recovery/bootloader zips off of that information. If you're into system modding and tweaking, you'll love it.

    //Glad ya got it working
    1
    ^^ Internal sd card.
    1
    which image is the safest ??? pleas advise thanks

    ---------- Post added at 09:45 AM ---------- Previous post was at 09:16 AM ----------




    sorry to bug and i know all androids are basically the same i just cant afford to mess up and ive been looking for the proper CWM image as i want Custom Recovery but i am lost i went threw some of your post/threads but not sure which one and or where as far as what CWM image i should use when trying to flash it threw the Terminal Please ADVISE

    Go here and download image file under Method 3.

    http://xdaforums.com/showthread.php?t=