FORUMS
Remove All Ads from XDA

 View Poll Results: Which ROM Do you prefer?

Cyanogenmod 7
 
58 Vote(s)
65.17%
Cyanogenmod 6
 
2 Vote(s)
2.25%
Stock Rooted ROM by ChiefzReloaded
 
3 Vote(s)
3.37%
Other
 
26 Vote(s)
29.21%

[How To] Flash Recovery Through Terminal Emulator (NEED S-OFF)

85 posts
Thanks Meter: 27
 
Post Reply Email Thread
MUST HAVE S-OFF!!!

Disclaimer: This is my first tutorial but I am in no way responsible for what happens to your device. Use at your own risk!

Okay so I just thought I write a tutorial for flashing recoveries in a Terminal Emulator.

1. (Skip to step 2 if you are running CM6 or CM7) The steps are fairly simple but first things first, If you don't already you need to have mtd0.img and flash_image which is located in the SlideEng-Package.zip which I will post below if nobody has it.

http://www.megaupload.com/?d=OFXNPXL5

So you need to get a program called Root Explorer from the market( Or any file manager that gives you root access) then you need to Copy and Paste both files to Data/Local/. Once you have those there then if you don't already have it you need to go to the Market and download an app called Terminal Emulator. Once you have that you are ready.

2. I recommend that you put your recovery image on the root of your SD Card.(You can put it anywhere it really doesn't matter) Okay so for flashing a recovery you would open the terminal emulator and type:

Quote:

su
flash_image recovery /sdcard/xxxx/xxx.img

The x's represent the file directories and the image name so mine would look something like:

Quote:

su
flash_image recovery /sdcard/recovery.img

It should then say writing to block xxxxxxxxxx. Once that is done it should say that it was successfully completed.

If that worked for you just thank me and congratulations!
The Following 12 Users Say Thank You to iDaZzLeFatHoeZz For This Useful Post: [ View ] Gift iDaZzLeFatHoeZz Ad-Free
 
 
6th March 2011, 05:49 AM |#2  
ilostchild's Avatar
Senior Member
Thanks Meter: 123
 
More
im trying too look for the latest recovery from clockwork
8th March 2011, 11:40 PM |#3  
Member
Flag phoenix
Thanks Meter: 0
 
More
will this permanently flash a recovery like when i installed s-off and clockwork
9th March 2011, 04:17 AM |#4  
OP Member
Flag Coon Rapids
Thanks Meter: 27
 
More
Yep it flashes to the /recovery partition

Sent from myTouch Slide with Android 2.3.3 using XDA Premium
19th March 2011, 02:58 AM |#5  
Senior Member
Thanks Meter: 29
 
More
Can someone give me a detailed tutorial for S off the one in the forums is a little confusing im new to the game
19th March 2011, 11:15 PM |#6  
copolii's Avatar
Senior Member
Flag Vancouver BC
Thanks Meter: 0
 
More
Damn .... ignore this ... I misread the topic ... I thought this would get me S-OFF AND recovery!

This is all I get ... tried from adb shell AND terminal emulator.

Code:
flash_image recovery recovery.img
flashing recovery from recovery.img
mtd: erase failure at 0x00000000 (I/O error)
mtd: erase failure at 0x00000000 (I/O error)
mtd: skipping write block at 0x00000000
mtd: erase failure at 0x00020000 (I/O error)
mtd: erase failure at 0x00020000 (I/O error)
mtd: skipping write block at 0x00020000

...

mtd: skipping write block at 0x003c0000
mtd: erase failure at 0x003e0000 (I/O error)
mtd: erase failure at 0x003e0000 (I/O error)
mtd: skipping write block at 0x003e0000
mtd: erase failure at 0x00400000 (I/O error)
mtd: erase failure at 0x00400000 (I/O error)
mtd: skipping write block at 0x00400000
failed with error: -1
22nd August 2011, 10:07 PM |#7  
Senior Member
Flag Lahore
Thanks Meter: 10
 
More
Quote:
Originally Posted by iDaZzLeFatHoeZz

MUST HAVE S-OFF!!!

Disclaimer: This is my first tutorial but I am in no way responsible for what happens to your device. Use at your own risk!

Okay so I just thought I write a tutorial for flashing recoveries in a Terminal Emulator.

1. (Skip to step 2 if you are running CM6 or CM7) The steps are fairly simple but first things first, If you don't already you need to have mtd0.img and flash_image which is located in the SlideEng-Package.zip which I will post below if nobody has it.

http://www.megaupload.com/?d=OFXNPXL5

So you need to get a program called Root Explorer from the market( Or any file manager that gives you root access) then you need to Copy and Paste both files to Data/Local/. Once you have those there then if you don't already have it you need to go to the Market and download an app called Terminal Emulator. Once you have that you are ready.

2. I recommend that you put your recovery image on the root of your SD Card.(You can put it anywhere it really doesn't matter) Okay so for flashing a recovery you would open the terminal emulator and type:



The x's represent the file directories and the image name so mine would look something like:



It should then say writing to block xxxxxxxxxx. Once that is done it should say that it was successfully completed.

If that worked for you just thank me and congratulations!

I did all this, but it says, flash_image not found, also tried from fastboot, it says FAILED(remote: not allowed)

I have root from SuperOneClick method, and i have S-OFF, official t-mobile rom 2.2.1 and still stuck on original android recovery, I just need the clockwordmod recovery to delete out bloatware and t-mobile apps, to free up space, im quite happy with the original sense rom and dont want to wipe settings and/or flash a new rom. So help please!!!
27th August 2011, 06:28 AM |#8  
bhargrove06's Avatar
Member
Flag henderson
Thanks Meter: 9
 
More
Worked great got cwm on so sweet

Sent from my s-off'd, rooted myTouch 3G Slide using XDA App
8th December 2011, 11:00 AM |#9  
Dr_Wolodya's Avatar
Senior Member
Flag Kyiv
Thanks Meter: 36
 
More
Quote:
Originally Posted by iDaZzLeFatHoeZz

1. (Skip to step 2 if you are running CM6 or CM7) The steps are fairly simple but first things first, If you don't already you need to have mtd0.img and flash_image which is located in the SlideEng-Package.zip which I will post below if nobody has it.

http://www.megaupload.com/?d=OFXNPXL5

In your file SlideEng-Package.zip absent file mtd0.img.
9th December 2011, 02:21 AM |#10  
robuser007's Avatar
Senior Member
Thanks Meter: 91
 
More
Does this also work on other phones (with their own flash_image,like for the advent vega?)
5th February 2012, 11:46 AM |#11  
Senior Member
Flag Pune
Thanks Meter: 60
 
Donate to Me
More
Question flash_image not found
i have copied the zip file o the root and extract it there nd copied the two fies into /data/local with the help of root explorer....

after that in terminal ulator it says flashh_image not found...do i need to change the permissions ??

any solution to this?
Post Reply Subscribe to Thread

Tags
flash recovery, recovery, s-off

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes