Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,786,517 Members 37,011 Now Online
XDA Developers Android and Mobile Development Forum

[GUIDE] How to flash recovery, boot.img, radios from android terminal

Tip us?
 
androidoholic
Old
#1  
androidoholic's Avatar
Senior Member - OP
Thanks Meter 93
Posts: 305
Join Date: Sep 2011
Location: Simi Valley, CA

 
DONATE TO ME
Lightbulb [GUIDE] How to flash recovery, boot.img, radios from android terminal

How to flash without a pc (boot.img, recovery, hboot, radio, and more.

Disclamer: if your break your phone you did something wrong, it is your fault not mine.


Partition list
Download the file that you want to flash, rename it to what it is, ie recovery.img and put it on the root of your sdcard
Code:
su
dd if=/sdcard/"FILE_YOU_PUT_ON_SDCARD" of=/dev/block/"PARTITION_NUMBER"
Example
Code:
su
dd if=/sdcard/recovery.img of=/dev/block/mmcblk0p43
Reboot and you are good to go!


The Following 3 Users Say Thank You to androidoholic For This Useful Post: [ Click to Expand ]
 
Modding.MyMind
Old
#2  
Modding.MyMind's Avatar
Senior Member
Thanks Meter 1,456
Posts: 1,653
Join Date: Nov 2013
Location: Richmond, Virginia

 
DONATE TO ME
You can also use 'cat'.

cat /sdcard/name_of_image.img > /dev/block/specific_image_partition_block
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes