- 04-26-2011, 05:44 PM
Thread Author #1
[Guide]Flashing recoveries through terminal emulator (very easy)
This is a very fast and easy method to flash a recovery from inside your phone. Probably one of the fastest easiest methods out there.
Note that you need to be rooted first.
Preparation:
You need to put the recovery onto the root of your Sdcard.
Optional but highly recommended, rename the recovery "a.img", minus the quotes of course. This is easier to do on your computer and means a less typing on the phone. If you don't rename it, you will have to type out the entire name in step 2. The same applies if you have it in a sub-directory.
1. Open your emulator
2. type in, pressing enter after each line:
su
flash_image recovery /sdcard/a.img
3. If you want to boot straight into recovery, type:
reboot recoveryLast edited by LeslieAnn; 06-18-2011 at 04:26 PM.
Harmonia Developer for Optimus V, Optimus Elite, One V, Evo V, Evo Shift, Evo V
Donate here if you feel inclined to brighten my day.Thanked by 24:+ Show/Hide list of the thanked
- 04-26-2011, 05:59 PM #2
- 04-26-2011, 06:18 PM #3
It needs added to the reference guide that mmarz put together. These commands can also be run in a adb shell of-course.
SugarSync (5GB Cloud) Referral Link. - We each get 500MB extra.
Guide to Play MP4's from the Cloud. Guide to Free VOIP using Google Voice and Groove IP. - 04-26-2011, 06:20 PM #4
- 04-26-2011, 06:53 PM
Thread Author #5
Harmonia Developer for Optimus V, Optimus Elite, One V, Evo V, Evo Shift, Evo V
Donate here if you feel inclined to brighten my day. - 04-26-2011, 06:56 PM #6
is this a optimus specific command or is it universal?
- 04-26-2011, 07:00 PM #7
- 04-26-2011, 07:08 PM
Thread Author #8
Harmonia Developer for Optimus V, Optimus Elite, One V, Evo V, Evo Shift, Evo V
Donate here if you feel inclined to brighten my day. - 04-26-2011, 08:11 PM #9
The only thing it requires is that the binary program flash_image has been added to your phone. You probably added it when you rooted the phone (or it's part of your ROM).
However, if you get an error message that this command is not found, you can do this:
And it will print the full pathname of flash_image. i.e. if it prints "/bin/flash_image" then you can just substitute that in the original command.Code:find / -name flash_image
But if you don't have flash_image installed anywhere, you can download it from one of the threads here and put in on your phone. i.e. if you've copied it onto /sdcard and want to put it in /system/bin, do this:
Code:mount -o rw,remount /dev/block/mtdblock5 /system # remount /system rw cp /sdcard/flash_image /system/bin/flash_image # copy flash_image to /system/bin chmod 755 /system/bin/flash_image # chmod flash_image executable mount -o ro,remount /dev/block/mtdblock5 /system # remount /system ro
Thanked by: - 06-26-2011, 10:44 PM #10
- 06-26-2011, 11:26 PM #11
Re: [Guide]Flashing recoveries through terminal emulator (very ea
That's funny, I was just thinking I need to copy the terminal emulator process to flash recovery, so I can just paste it when I need to explain it. I'm no genius like some of you, but that's one thing I can explain to people, and I like to do what I can to help
- 06-26-2011, 11:59 PM #12
Re: [Guide]Flashing recoveries through terminal emulator (very ea
- 06-27-2011, 06:31 AM #13
- 10-09-2011, 05:13 PM #14
- 10-09-2011, 05:16 PM
Thread Author #15
Re: [Guide]Flashing recoveries through terminal emulator (very ea
Rename the rile to remove the space in the name.
Harmonia Developer for Optimus V, Optimus Elite, One V, Evo V, Evo Shift, Evo V
Donate here if you feel inclined to brighten my day. - 10-09-2011, 05:36 PM #16
- 10-09-2011, 05:53 PM #17
- 10-09-2011, 06:22 PM #18
hmm, I do cat /proc/mtd
you should see "recovery"
I change file permissions in esexplorer too. I can long press in terminal to paste in windows.
if you need to reenter a command use control (vol-up[for me]) + w which is like pressing up to go through previous commands. - 10-09-2011, 06:28 PM #19
- 10-09-2011, 06:29 PM #20
- 10-09-2011, 06:32 PM
Thread Author #21
Harmonia Developer for Optimus V, Optimus Elite, One V, Evo V, Evo Shift, Evo V
Donate here if you feel inclined to brighten my day. - 10-09-2011, 08:13 PM #22
- 10-09-2011, 08:29 PM #23
- 10-09-2011, 08:32 PM #24
- 10-09-2011, 08:33 PM #25



Reply





































