Jump to content


Photo

Export stock recovery.img


  • Please log in to reply
11 replies to this topic

#1
Gabriel94

Gabriel94

    Diehard

  • Members
  • PipPipPipPip
  • 314 posts
  • Gender:Male
  • Location:Romania Germany
  • Devices:Motorola Moto G

Hello, I would like to know if its possible to take the stock recovery.img from my current ROM which is German Stock 4.4.2 and back it up for later use.

I want to do this because i want to root my device and then return back to stock recovery. I have already tried something, btw my bootloader is unlocked.

I installed thr official german 4.3, sideloaded the official german 4.4.2 and used cwm and rooted but then i looked in both zips of the stock roms and there was recovery.img only in thr 4.3 one so after rooting i flashed recovery.img which screwed everything, because another small official ota update, only 1.9mb which was already on 4.4.2 with 4.3 recovery and the phone booted normally and wanted to update that small ota update and after 1 min the phone restarted but it wouldnt go to the recovery and install the update it wpuld reboot over and over again

My question is how can i back up the stock 4.4.2 recovery.img for later use, thanks in advance for amy helpful posts


  • 0

Proud Owner Of a Motorola Moto G
arzw.jpg


#2
tillaz

tillaz

    Hardcore

  • Developer Team
  • PipPipPipPipPipPip
  • 5,877 posts
  • Gender:Male
  • Location:Rockstar North
  • Interests:Time & Space
  • Devices:Moto X

you will need root & adb on your pc

 

then from command prompt, with your phone plugged in and usb debugging turned on 

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

the recovery.img will be in your internal storage on the phone.

 

 

edit:

 

or if you don't have adb use this Attached File  adb.rar   477.08KB   11 downloads 

extract it to your desktop and just double click "pull.bat" (look at your phone to accept the adb popup, might need to restart after this for it to work)

then copy and paste the commands into the box and press enter after each starting from "su"


  • 0

#3
Gabriel94

Gabriel94

    Diehard

  • Members
  • PipPipPipPip
  • 314 posts
  • Gender:Male
  • Location:Romania Germany
  • Devices:Motorola Moto G

Thanl you tillaz, will report as soon as I get to it, i want to flash root and then still have stock recovery for later official ota updates

 

Edit:

 

Actually, tillaz, how will i be able to export the OFFICIAL recovery.img if i have to root by editing the recovery.img... xD

what way is there to root by not editing the recovery.img in any way?


Edited by Gabriel94, 27 January 2014 - 07:08 PM.

  • 0

Proud Owner Of a Motorola Moto G
arzw.jpg


#4
tillaz

tillaz

    Hardcore

  • Developer Team
  • PipPipPipPipPipPip
  • 5,877 posts
  • Gender:Male
  • Location:Rockstar North
  • Interests:Time & Space
  • Devices:Moto X

Thanl you tillaz, will report as soon as I get to it, i want to flash root and then still have stock recovery for later official ota updates

 

Edit:

 

Actually, tillaz, how will i be able to export the OFFICIAL recovery.img if i have to root by editing the recovery.img... xD

what way is there to root by not editing the recovery.img in any way?

 

I used this http://www.youtube.c...h?v=8MiZtZCqu4k to root my old alcatel one touch idol S, everything else i tried failed

you will need your bootloader unlocked first if not already.

 

link to tool http://www.kingoapp.com/


  • 0

#5
Gabriel94

Gabriel94

    Diehard

  • Members
  • PipPipPipPip
  • 314 posts
  • Gender:Male
  • Location:Romania Germany
  • Devices:Motorola Moto G

It is already unlocked, i just want to have stock rom with root and be able to recieve future ota updates from motorola


  • 0

Proud Owner Of a Motorola Moto G
arzw.jpg


#6
tillaz

tillaz

    Hardcore

  • Developer Team
  • PipPipPipPipPipPip
  • 5,877 posts
  • Gender:Male
  • Location:Rockstar North
  • Interests:Time & Space
  • Devices:Moto X

It is already unlocked, i just want to have stock rom with root and be able to recieve future ota updates from motorola

 

use the tool above to root, its the only way i know without custom recovery


  • 0

#7
Gabriel94

Gabriel94

    Diehard

  • Members
  • PipPipPipPip
  • 314 posts
  • Gender:Male
  • Location:Romania Germany
  • Devices:Motorola Moto G

use the tool above to root, its the only way i know without custom recovery

 

Didn't seem to work with 4.3 or 4.4.2, i have another question, will i be able to install official OTAs from Motorola even if i have a custom recovery like TWRP or CWM?


  • 0

Proud Owner Of a Motorola Moto G
arzw.jpg


#8
tillaz

tillaz

    Hardcore

  • Developer Team
  • PipPipPipPipPipPip
  • 5,877 posts
  • Gender:Male
  • Location:Rockstar North
  • Interests:Time & Space
  • Devices:Moto X

Didn't seem to work with 4.3 or 4.4.2, i have another question, will i be able to install official OTAs from Motorola even if i have a custom recovery like TWRP or CWM?

 

i don't think you can, but i also don't think there will be another OTA until android 4.5 which will probably be October.

and by that time your factory image will be available here http://sbf.droid-dev...e.php?device=14 which you can flash the stock recovery from.


  • 0

#9
tillaz

tillaz

    Hardcore

  • Developer Team
  • PipPipPipPipPipPip
  • 5,877 posts
  • Gender:Male
  • Location:Rockstar North
  • Interests:Time & Space
  • Devices:Moto X

Didn't seem to work with 4.3 or 4.4.2, i have another question, will i be able to install official OTAs from Motorola even if i have a custom recovery like TWRP or CWM?

 

the factory image is now available for uk and germany, you can get the stock recovery.img from that

http://forum.xda-dev...4&postcount=101


  • 0

#10
Gabriel94

Gabriel94

    Diehard

  • Members
  • PipPipPipPip
  • 314 posts
  • Gender:Male
  • Location:Romania Germany
  • Devices:Motorola Moto G

Ok thanks, well i have 2 stock firmwares

 

falcon_umts-faux123-kk-004u-signed which has recovery.img

 

and

 

Blur_Version.174.44.9.falcon_umts.Retail.en.DE which is ota update and looks like a custom rom inside the zip as the files and has no recovery.img

 

I'll try the ones from xda to see if there is a recovery.img


  • 0

Proud Owner Of a Motorola Moto G
arzw.jpg


#11
Gabriel94

Gabriel94

    Diehard

  • Members
  • PipPipPipPip
  • 314 posts
  • Gender:Male
  • Location:Romania Germany
  • Devices:Motorola Moto G

well I installed cwm on my moto g,

 

do you have to know on what rom it can achieve the best score in antutu?

 

the highest i have seen was on your rom, infusion with the hybrid OC Kernel, and it was 18.245

 

do you also have simiar results or have u seen higher ones on other ROMs?

 

I might use your rom soon if its the best :D


  • 0

Proud Owner Of a Motorola Moto G
arzw.jpg


#12
tillaz

tillaz

    Hardcore

  • Developer Team
  • PipPipPipPipPipPip
  • 5,877 posts
  • Gender:Male
  • Location:Rockstar North
  • Interests:Time & Space
  • Devices:Moto X

well I installed cwm on my moto g,

 

do you have to know on what rom it can achieve the best score in antutu?

 

the highest i have seen was on your rom, infusion with the hybrid OC Kernel, and it was 18.245

 

do you also have simiar results or have u seen higher ones on other ROMs?

 

I might use your rom soon if its the best :D

 

don't pay much attention to them as they are really for comparing hardware, and don't necessarily mean higher is a better performing rom in real life usage

all stock roms will score similar, i personally use cm at the moment as its fully working and i need to update my themes... at some point i will build AOKP and use that

until PAC can be built 


  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users