INSTALLING A NEW RECOVERY ON ANDROID

recovery-magic

We have all heard that for a change a rom plus have root access it is necessary to enter the recovery mode or press ALT + s, or make a wipe or similar things, well we will try to explain each thing and install a new revery.

For get root access and for later changes of rom we need to use the recovery. Bill recovery is an application that works as long as we press the HOME + POWER keys at the same time with the phone off and it leaves the phone in a state prior to charging the rom, so we can change it, make a backup of it or modify the properties of the Sd card. When the phone comes from the factory, in this way the only thing that allows us is through connection to the computer and the system console and the SDK to have access to the phone to execute actions. With the new recovery The possibilities of actions to be executed from the phone itself are expanded without having to do it through linux commands on the console. We can for example and depending on the recovery installed, make backups, format sd card, repair partitions of the card, restore a saved backup, change the format of the card extensions, etc…. and only using the phone's trackball.

The recoverys to install it depend on the type of phone we have either a HTC Magic or Htc Dream or G1. For example for the HTC Magic With 32B plate, this recovery is very complete and the available options are the ones you see in the first image. For the Htc Dream or G1 the most used is the recovery of Cyanogen which is currently on version 1.4.

To install it, the first thing you should do is download the file of the recovery obviously. Unzip it if it is compressed and put it in the tools folder of the Android SDK. These files have an .img extension.

Once you have it in the commented folder we do the following:

  • you connect the phone to the computer making sure you have the drivers installed
  • You turn off the phone and turn it on fastboot mode, (for the magic pressing back key + power and the g1 power key + camera button)
  • You open the console and from the tools folder of the Android SDK you type the following:
  • fastboot boot filename.img (where it puts the name of the file, each one writes the name of the file that has been downloaded)

With this, the phone restarts and the image with the recovery running and the options it has, it is functional but not permanently installed. If we turn off the phone and turn it back on recovery mode we will see that we have returned to the previous one recovery that we had.

To permanently install it on the phone we have to do the following:

  • With the phone connected to the computer and the card mounted, you copy the recovery file to your sd card and rename it as recovery.img.
  • You remove the card
  • In the console and from the tools folder of the Android sdk you type
  • adb shell flash_image recovery /sdcard/recovery.img

  • When I finish installing it we type
  • adb shell reboot

The terminal will restart and the screen with the phone options will appear. Every time we enter recovery mode This screen will appear with all the available options.

SOURCE | forum.xda-developers.com

htcmania.com


You are interested in:
How to remove viruses on Android
Follow us on Google News

Leave a Comment

Your email address will not be published. Required fields are marked with *

*

*

  1. Responsible for the data: Actualidad Blog
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   land-of-mordor said

    I have a Dream and I have the recovery of the image, without a doubt the best thing to change the rom. You download it to the SD with the opera through the terminal itself, then you start in recovery and from there backup to the edge and update. That is to say, with the modified recoverys you turn your Androids into totally autonomous terminals.

  2.   Bernat said

    Hi!

    When I try to do the ./adb it tells me:

    error device not found. And I can't install the recovery ...

  3.   Ks32 said

    Dear, something like this was missing, although I had already fixed it just by reading there and I JUST MISSING YOU TO MENTION START THE PHONE IN FASBOOT MODE jojojo but in the end it is history ... I have doubts that if.

    I did a backup with my recovery cyanogem, but I loaded another rom to try and I didn't like it, I did the restore from the backup but it didn't work for me, it hung after the htc symbol with the screen on but black, it never got better. So I had to re-install the complete ROM, losing all the benefits… what could have happened?
    And can I just format ext3 or ext2 from there? If I change from ext2 to etx3 the fat32 is affected?

    Thank you

    PS JACxHeroSki 1.8 is your choice if you want fluid and hero graphics!

    1.    anthocara said

      Hello Alvaro. If you format or change the extension from Ext2 to ext3, the Fat32 partition is not affected at all. Do you have 1.8 and is it good? Which was your terminal, the magic or the g1?

  4.   Ks32 said

    I have a g1 I just downloaded jacheroski1.8, 1.6 is going great ... it only "restarts" the home screen when you return from a heavy application, such as the gallery, or the browser with many windows, those things ...

    That is if I noticed in the forum xda developers that they talk about "compcache" and "swapiness" and some other things as well, but I was left with doubts that they needed 64 MB of swap, did I misunderstand or am I right? Could you review and explain when you have time. Featured on the themes of «Akirah» and from the developers of «JACHEROSkiv» ,,, please

    http://forum.xda-developers.com/showthread.php?t=534479
    http://forum.xda-developers.com/showthread.php?t=555624

    Oh and what is the BFS? Best system frameworks? = P

    PS: the recovery that allows formatting and changing the file system is AmonRa, the one in the image, the one in cyanogen does not allow it, I do not handle it in linux, but I can manually format from the recovery cone, (alt + x in the case from cyanogen), and what are the commands? I couldn't find them, thank you.

    I hope you take the time to answer all my concerns ^ _ ^

    1.    anthocara said

      I heard and I start manual on what is each thing, compache, swapp, bsf. Another on how to format from the phone itself and another on linux commands (this one was already doing it). A lot of work, huh? :)

  5.   Ks32 said

    Yes, I have g1, I have installed the version of 1.7, I just downloaded 1.8, but it goes well, it remains like loading the Home page, when you come from an application that requires many resources such as the browser with several windows or the gallery, that is relative

    I now have 1.8 to install but I have doubts that you can perhaps solve for me.

    The recovery I have is from Cyanogem like most of the G1, but it does not allow me to directly format the ext2 ext3 partition, so I was wondering if I could do it from the console that brings this recovery with the corresponding commands, but I have looked for them ( linux ones) and I couldn't find them, could you help me?

    Another drawback is that I made a backup with this recovery of the rom that I have Jacheroski 1.7, but wanting to restore it because I tried others out there, (because in the variety is the taste) it did not work for me, it stayed stuck after the logo of HTC on a black screen turned on for a thousand hours and nothing progresses ... something will be wrong ?? .. I need guidance in this regard .. because it means a great job to change the rom .. remove and format the card on a computer and all that because the happy recovery does not work for me ...

    Can I test with the ammonRa which is the one that appears in the image at the beginning?

    The other thing is that it appears in the XDA developers forum,… in Akirah's post (http://forum.xda-developers.com/showthread.php?t=555624) (which makes modifications to the JacHeroSkiXXX rom the following:

    Recommended settings:
    swap> 64M
    swappiness 80

    what is this?? a bigger swap partition ?? Could you interpret me .. because I am too big .... I need to make modifications to the partition of my card or is it something else?

    and the other thing is "Kernel w / BFS" .. because that was published in the post of the jacHeroSki developers (http://forum.xda-developers.com/showthread.php?t=534479),
    BFS = best frameworks system ?? I dont know..

    LONG LIVE FREE SOFTWARE !!!!

    Thank you ..

  6.   jonax said

    Could you tell me what are the commands to follow to be able to do it with a Mac?
    I'm a Mac switcher (newbie) and I don't know what commands to use to do it on console
    Thank you

    1.    anthocara said

      the commands are the same

  7.   jonax said

    I understand k to do it on Mac, you have to put ./adb,no?

  8.   Ks32 said

    Good news… JackHeroSkiv 2.1 is phenomenal !!!! It is hairy, fluid, friendly and fast ...

    You just have to expand the LinuxSwap partition to 64MB which is what the authors recommend ...

    oh and keep in mind a golden rule ... NEVER OPEN THE KEYBOARD in HOME, or go to HOME with the keyboard open ... it is the only fault that I have found ....

    I'm still reading to optimize the system and fluency with that swapiness issue and other settings in the user.conf file

    HEALTHY AND CHANGE! IT'S GREAT!

    1.    anthocara said

      We will test it.

  9.   Ks32 said

    HELLO FOR AKI AGAIN ...

    You know after a lot of testing I come to recommend a rom that will leave you shocked by the speed .. it is the HEro Revolutions in XDA-Developers .. it is incredible how fluid and fast .. if you do not believe me try =)

    AH Anto…. On ebay I found spare parts for my HTC that broke with rooting 😉

    See you .. =)

    1.    anthocara said

      Hello. I'm glad you found it. I will try that rom that you comment. All the best

  10.   juasanito said

    I have a doubt. After doing all this, when I start the phone with the BACK + POWER key at the same time, should the new charger appear or does the androids charger continue to appear while skateboarding?

  11.   Tory sunny said

    I do everything as stated in the tutorial, I follow all the steps, I stop when I put "adb shell reboot", it does not reset the phone and therefore the recovery installation is not completely done, which may be, please help me

    1.    anthocara said

      Do it manually

  12.   Tory sunny said

    By doing it manually, I suppose you mean to turn off the mobile as it is normally done, but I have already done it and the recovery is not installed

    1.    anthocara said

      try adb reboot, instead of adb shell reboot

  13.   Tory sunny said

    The truth still doesn't work, I don't know what to do anymore

  14.   gabriel said

    I have a thc g1 but when the android presentation screen ends the screen remains black, what could that be and how can I solve it?

    all the best
    thanks

  15.   DorianX said

    Thank you very much it served me well !!!

  16.   Mouserx said

    I quote from above

    To permanently install it on the phone we have to do the following:

    * With the phone connected to the computer and the card mounted, you copy the recovery file to your sd card and rename it as recovery.img.
    * You remove the card
    * In the console and from the tools folder of the Android sdk you type

    These operations are carried out with the phone connected to the pc in fastboot mode? ... If this is how the sd is mounted and files are copied from the console ..
    One last thing Windows7 does not recognize my phone… where do I get the drivers for this system…. My phone is an HTC Dream, DREA100 PVT 32B; HBOOT-0.95.0000; CPLD-4; Radio _2.22.19.26I

  17.   Mauricio herrera said

    I have a problem, windows 7 already recognizes that I have the android drivers, but when I turn it off and on in fastboot mode there is no way that there is communication between the phone and the computer by USB, it just pretends that on the other side there is no Go on, even though there is power because I take out the battery and the phone continues to work.

    * you connect the phone to the computer making sure you have the drivers installed.
    OK

    * You turn off the phone and turn it on in fastboot mode, (for magic by pressing the back key + power and the g1 power key + camera button)
    OK (but nothing happens)

    * You open the console and from the tools folder of the Android SDK you type the following:

    So I open the console (CMD) and go to D: \ android-sdk-windows \ tools> and write

    fastboot boot cm-recovery-1.4.img

    Tells me:

    Does anyone know what I'm doing wrong?

  18.   Mauricio herrera said

    tells me :

    waiting for device

  19.   thirst said

    waiting for device, I mean waiting for the XD device by sdk you have done everything right, but you should start in fastboot mode with the waiting for device on the screen as soon as you start fastbboot mode and if the driver is correct it will work, I don't know how It starts in fastbooto with your mobile but keep in mind that every mobile phone does it in its own way

  20.   stphn said

    what is the name of the console file… ???

  21.   juaramir said

    what if i have a lg eve gw620? What low recovery?

  22.   vitiiii said

    It still seems like a bummer because in mac the terminal does not accept the same things and I do not even know how to reach the SDK folder

  23.   It can not said

    I got bored of trying on my htc, it remains waiting for device, I installed revision 4 of the sdk because if I install the current version, an error will appear and it does not even allow someone to help fast boot ..., at least if they upload a tutorial make it complete

  24.   william said

    I have a gtablet view sonico android 2.2, I put the room manager and select in recovery mode, but the clockwormod that I installed does not load it comes out loading and recovery worse never enters, and now every time I turn on the tablet it only enters looking for the recovery mode and I can not do nothing T_T

  25.   Josmell Jimenez said

    Hellooooo, I HAVE A VERY SERIOUS PROBLEM and it is that I cannot modify my RECOVERY IN ANY WAY. I have tried to change everything and nothing that happens.
    When I do the steps to install a new recovery, it stays on the VODAFONE screen, and from there it doesn't happen, and I have made many attempts BUT NOTHING, I don't know what happens: S

    I have the 32B
    HBOOT: 1.33.2005

    I wait for an answer !!!!!!!!!!!!

    THANK YOU

  26.   tabetbq said

    I have started to do the recovery on my bq kepler tablet but it does not respond, it gets stuck. How could I start over again?