Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,733,782 Members 45,816 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: 303
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!


Nothing to see here......move along.
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 1266
Posts: 1,452
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
Display Modes


XDA PORTAL POSTS

Slate Calendar Helps You Organize Your Life

Without calendars in some form or another, most of our lives would be utter chaos. Unless you are … more

Shane Francis to Talk Android, Robotics, and Vision at XDA:DevCon 2014

Our international xda:devcon 14in Manchester, UK on the weekend of … more

LG G Watch Tool is a Toolkit all Owners Need

The LG G Watch is one of the first two devices hitting the market rocking the highly anticipated … more

Benchmark Your CPU Performance with Mini CPU Integer Script

When it comes to device testing, there are two types of people on XDA. The first … more