Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,809,424 Members 36,432 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 97
Posts: 308
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,557
Posts: 1,763
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