How to extract boot or recovery img using adb
Just a short tutorial on how to pull out or extract your Boot.img or Recovery.img from your android device using the adb application.
STEPS:
STEPS:
- make sure to install the android sdk from your computer and the necessary drivers for your android device, if you haven't installed the android sdk please follow this tutorial (here) if you are using a spreadtrum android device then download spreadtrum driver jungo (here).
- open up the platform tools and open up a command prompt
- type in "adb devices" if your device is recognized, then type the following to pull out the img
adb shell
su
cat /proc/mtd
dev: size erasesize name
mtd0: 00040000 00020000 "misc"
mtd10: 00500000 00020000 "recovery"
mtd12: 00280000 00020000 "boot"
mtd13: 04380000 00020000 "system"
mtd14: 04380000 00020000 "cache"
mtd15: 04ac0000 00020000 "userdata"
mtd0: 00040000 00020000 "misc"
mtd10: 00500000 00020000 "recovery"
mtd12: 00280000 00020000 "boot"
mtd13: 04380000 00020000 "system"
mtd14: 04380000 00020000 "cache"
mtd15: 04ac0000 00020000 "userdata"
Once you see it's LOCATION in which in this sample is in mtd10
type:
cat /dev/mtd/mtd10 > /sdcard/mtd10.img
or
cat /dev/mtd/mtd10 > /sdcard/recovery.img
Go now and check from your sdcard after extracting if you have your recovery.img
.
type:
cat /dev/mtd/mtd10 > /sdcard/mtd10.img
or
cat /dev/mtd/mtd10 > /sdcard/recovery.img
Go now and check from your sdcard after extracting if you have your recovery.img
.