[Q] Problems flashing recovery - EVO Shift 4G General

I've achieved permroot via the tutorial and am using a mac, but so far have not been able to flash a recovery to be able to do ROMs. Whenever I do the fastboot command
./fastboot flash recovery recovery.img
< waiting for device >
I get that, and it does nothing. Any ideas what's going wrong?

Have you set your phone to Fastboot mode? You have to select fastboot from the bootloader, just a guess

Did you place the recovery image in the sdk tools folder?
powered by the tears of a million orphaned alpacas...

Yep it's in the proper folder. Putting the phone in fastboot mode? I haven't heard of that. It is plugged in with USB debug on. I leave it on the main screen.

If you're following bcnice's instructions and you hopefully have the fastboot.exe in a folder you put into your Windows path (AdroidSDK\platform-tools)
You just cd to the directory where the recovery.img is (on the PC) power your phone off, turn on while holding volume down (bootloader) select fastboot (I believe is says something like fastboot-usb when it's ready, then just type in the command:
fastboot flash recovery recovery.img
you will see the transfer happen then you boot into recovery (on the phone) and if you got it right it will now be a black background with green font
go to backup/recovery, select recovery, there's your Nandroid!
I just did this today so I feel your pain but I've already flashed a new ROM and the OC'd kernel so I'm sure you can get the hang of it. Fun fun fun.
Edit: Sorry, didn't see you were using a mac... I have no experience with those. It may be in your best interest to have the recovery.img in the same folder your fastboot.exe is

You know you don't have to fastboot to do recovery..you can just push the files
Sent from my PG06100 using XDA App

Or...
1) Download the recovery you want (either CW 2.5 or CW 3.0).
2) Download Rom Manager from the Market.
3) Flash Clockwork Recovery from the Rom Manager main menu. (Make sure you select HTC EVO CDMA).
4) Open File Explorer, go to ClockworkMod/download/mirror1.kanged.net/recoveries and rename the recovery file to "recovery-clockwork-3.0.0.5-supersonic1.img.
5) Move the recovery file that YOU want into this folder, and rename it to "recovery-clockwork-3.0.0.5-supersonic.img.
6) Open Rom Manager and Flash Alternate Recovery.
7) Flash ClockworkMod Recovery (select HTC EVO CDMA again), and it will flash the correct recovery image compatible w/ our EVO Shift.
This set up works w/ any of our recoveries out now or going forward. Simply rename the file each time. Hopefully ClockworkMod will add our recovery to the base soon and we won't have to go through this step, but for now, this is an alternate way to flash recovery for those of you not wishing to use Fastboot, and want to do things directly from your phone.

Related

flashing custom roms different method.

****IV: Flashing a custom ROM
1. Download the Rooted 2.1 v0.8T2 zip file.
2. Copy the WHOLE zip file to the root directory of your SD card. (You can enable USB-MS enable from your shiny new recovery to mount your phone as a USB Mass Storage device.)
3. Choose Wipe. Choose data/factory Reset (In the stock ROM, the dalvik is stored in the data and you don't have an EXT partition... yet.)
4. Choose Flash zip from sdcard. Find the eris_0_3.zip file.
5. Wait until it shows as complete and choose reboot system now.****
************* ok so in this root process of flashing custom roms it requires using the recovery menu. my trackball is F***ED up and i cant move it down to select any other option then reboot phone. is there another method of flashing a custom rom rather then using the recovery menu? can i use some sdk tool or cmd to flash this? how about renaming the custom rom to PB0000 or whatever it is than flashing it like i did to get 2.1root? please someone reply im dieing to get wireless tether for my xbox for my roadtrip this weekend please reply!!!!!
Umm, you could possibly make a .img file with the contents of the \system\ folder of the rom and then user "fastboot flash system system.img" to put it on there. Not 100% sure if that'd work, but it should.
Umm, you could possibly make a .img file with the contents of the \system\ folder of the rom and then user "fastboot flash system system.img" to put it on there. Not 100% sure if that'd work, but it should.
One question...
Why?
jcase said:
One question...
Why?
Click to expand...
Click to collapse
my trackball is F***ED up and i cant move it down to select any other option then reboot phone.
Click to expand...
Click to collapse
reading > you
GrdLock said:
reading > you
Click to expand...
Click to collapse
care < you
LOL.
Fastboot 1.5 back in
Return the phone
How about:
fastboot flash system system.img
fastboot flash boot boot.img
fastboot flash userdata userdata.img
fastboot reboot
^^
ill try your method after I get home from school, unless my dad takes me to Verizon. my trackball limits me a lot from what I can do (wish I could drive haha)
Sent from my Eris using the XDA mobile application powered by Tapatalk
I don't know if it would work but you could to run the MR2 RUU and replace the rom.zip with the one for the 1.5 rollback (renamed rom.zip). I think it will probably give you the version difference error but if nothing else works it's worth a shot.
You'll need to use mkyaffs2image to create a .img file of the \system\ folder of the ROM you want to install. Or maybe someone else will make one for you.
haha I'm not that lucky no one would make one for my sped Eris
Sent from my Eris using the XDA mobile application powered by Tapatalk
DISCLAIMER: I accept no responsibility for the outcome of this. I think it will work, but I can't promise anything.
K, you can try this.
Download these files and place them in your SDK's tools directory.
boot.img: http://www.sendspace.com/file/l404hq
system.img: http://www.sendspace.com/file/7eclsz
Open your command prompt and switch to your tools folder. Boot your phone into FastBoot mode. You can either power it down, then hold VolDown + Power, and select fastboot, or type "adb reboot bootloader" and select fastboot.
Now type these commands in your command prompt.
fastboot flash boot boot.img
fastboot flash system system.img
If that works, it'll install my eris21official-root ROM onto your phone. Then you can download the wireless tether app off my website and install it. Be sure first thing you do "adb shell" then "su" and allow the Superuser popup that will come on your phone before you attempt to tether.
i love you expect a donation comming ur way and i brought my droid to verizon and im gettign a free one shipped to my house and i keep mine so im double lucky, i can use that as a text droid if u need me to test any roms or anytihng
next task, how to make vinilla sence flash
WAIT while flashing system.img it says FAILD :remote data length is too large
Palmbxr said:
WAIT while flashing system.img it says FAILD :remote data length is too large
Click to expand...
Click to collapse
Your phone has a warranty. Downgrade fully to 1.5 and call them.
Or, if you want to completely make sure it's void, but have a working trackball, put in a new one.
http://forum.xda-developers.com/showthread.php?t=657468

[HOW TO] Revert to latest stock ROM (GRI40)

I personally have tried lots of ROM's but all I really want is the stock ROM with the option to root if I want. After lots of research, I couldn't find a comprehensive tutorial on how to do this. There is of course the GRI40 image available in update.zip format for custom recoveries which is helpful for most. However, if your a bit anal like me, and want the official update directly from Google servers, follow this guide. This might also be helpful for people who can't get into the custom recovery any more.
NOTE: I will not provide help for anybody. This guide assumes you have the Android SDK in order to use adb. There may be other ways of doing this, I am not an experienced programmer, this works for me, it will work for you.
[GUIDE]
Download the following files:
Stock Froyo Image (Contains stock recovery image)
Stock GRI40 Image
Instructions
You first have to revert to stock Froyo image to get the stock recovery back. This is needed to install the GRI40 update ZIP
1. Disable backup my settings under privacy settings.
2. Unzip the original Froyo shipping ROM and put it somewhere you can find
3. Plug in Nexus One with USB to computer (enable USB Debugging)
4. Open command prompt, navigate to SDK folder which contains adb. Type
Code:
adb reboot bootloader
(which will boot into the bootloader)
5. Confirm fastboot connection with
Code:
fastboot devices
6. Type
Code:
fastboot erase userdata
7. Type
Code:
fastboot erase cache
*If step 6 and 7 does not work, and if you have a custom recovery installed, you can do a factory data wipe from there. Also perform a dalvik-cache wipe.
Alternately, you can also do a factory data wipe within Android. Settings => Privacy Settings => Factory Data Reset.
8. Go to the directory that you stored your unzipped files from the official Froyo ROM, for ease of use, copy these into the directory containing adb.exe
9. Type
Code:
fastboot flash userdata userdata.img
10. Type
Code:
fastboot flash boot boot.img
11. Type
Code:
fastboot flash system system.img
12. Type
Code:
fastboot flash recovery recovery.img
13. Type
Code:
fastboot reboot
14. Once phone has started, skip all account setup. Copy the new GRI40 .zip from Google servers to the root of your SD card. Ensure it has been renamed to update.zip if necessary.
15. Reboot into bootloader mode (hold trackball when switching on), select recovery, you will see an exclamation mark with a little green Android.
16. Hold power button and press Vol. Up to see recovery menu. Select 'Apply: Update.zip'
17. After the system boots up and while setting up skip setting up with the google account and you can setup accounts later. This will prevent the phone from pulling down the previous settings (downloaded apps, wallpaper etc) from google.
18. You are done. Enjoy.
If you want to root:
Download the following:
Latest Clockworkmod Recovery
su.zip
Instructions
How to root the stock ROM
1. Download su.zip and copy to root of your SD card
2. Download a recovery image file and for ease of use, copy into same directory containing fastboot on your PC
3. Turn on USB debugging and connect phone to PC
4. Open command prompt, navigate to SDK folder which contains adb. Type
Code:
adb reboot bootloader
(which will boot into the bootloader)
5. Type
Code:
fastboot flash recovery recovery.img
where 'recovery.img' is the name of your recovery image file (easy thing to do is rename the file to 'recovery.img'!)
6. It will upload, once complete, disconnect you phone from computer
7. On your phone, select Bootloader, then Recovery to boot into your new recovery
8. Now select ‘Apply Update.zip’ and find the su.zip file (Turn off signature verification if using Amon RA)
Note:Custom recovery will be overwritten with the stock recovery on reboot but root privelages will still be in place.
No need to do that. Flash the stock rom. Done.
Sent from my Nexus One using XDA App
albundy2010 said:
No need to do that. Flash the stock rom. Done.
Sent from my Nexus One using XDA App
Click to expand...
Click to collapse
You mean you can flash the official GRI40 zip from Google server with a custom recovery?
Iggy82 said:
You mean you can flash the official GRI40 zip from Google server with a custom recovery?
Click to expand...
Click to collapse
Yes!
Make sure it's the full image (80+meg), and not just the update (40+ meg). Recovery should restore to stock after a reboot...
Sent from my Nexus One using XDA Premium App
Well that serves me right for assuming Google would not allow an official update zip to install from a custom recovery!
Did the official update ZIP from Google come out after dsixda made his own update zip then?
The link above is for the full update zip from Google (80MB or so)
Sent from my Nexus One using Tapatalk
usually the official updates come out and people edit them to allow root, busybox, etc.
or just a stock rom that won't over write your custom recovery, etc.
Thanks for this. I have been looking for a stock image all morning!

Permarooted s-off still get no CWM recovery mode!?

I am rooted with s-off running on a ATT simcard but still can't boot in CWM recovery. In rom manager it says: current recovery Clockworkmode 3.0.2.4
Whenever I attempt to boot into recovery the MT4G comes up it reboots and it comes up agains and boots regularly. Any thoughts?
I followed all the instructions in this thread and am at the 85.xxx bootloader
http://forum.xda-developers.com/showthread.php?t=858996
I am bone stock other since I've not be able to get into recovery mode. Would a factory reset help?
Do it manually. Go to the bootloader and load recovery from there, or use adb and type adb reboot recovery.
adb does the same thing it attempts to get into recovery then goes blank and reboots regular and same thing with hboot.
Do you have fastboot on?
Nope. Fastboot is off. I can't even factory reset the phone. It just reboots like with everything else
be1ieve1111 said:
Nope. Fastboot is off. I can't even factory reset the phone. It just reboots like with everything else
Click to expand...
Click to collapse
most likely it feels as if the recovery image didn't take.
Code:
adb reboot bootloader
from there select "recovery" and see what boot loader you are using. If you have the engineering screen manually flash it.
http://www.koushikdutta.com/2010/02/clockwork-recovery-image.html
1. Download CWR3. - link supplied above
2. Save to your Android SDK tools (c:\android-sdk-windows\tools) or platform-tools (c:\android-sdk-windows\platform-tools) folder and rename to recovery.img
3. Turn off your phone.
4. Hold the volume down button + power until you boot to a white screen.
5. Use the volume rocker to select FASTBOOT then press the power button to select it.
6. Connect your phone.
7. Open up a windows command prompt and navigate to your sdk tools or platform tools folder. tools (c:\android-sdk-windows\tools) or platform-tools (c:\android-sdk-windows\platform-tools)
8. Type
Code:
FASTBOOT DEVICES
to make sure your computer "sees" your phone and is ready to flash the recovery. You should get a serial number and then the word fastboot as the output.
9. Type
Code:
fastboot flash recovery recovery.img
and press enter. Give it a minute to do it's thing. You should get a message that says writing recovery and success.
10. Unplug your phone and use the volume rocker to select BOOTLOADER and then again to select RECOVERY and you should be booted into the orange menu of Clockwork Recovery 3
Click to expand...
Click to collapse
taken and modified from http://forum.xda-developers.com/showthread.php?t=919834
It says fastboot isn't a recognized command when I type FASTBOOT DEVICES
also for the bootloader part. It loads real quick and it says something about no image or wrong image in the lines of code that loads on the screen then disappears
Are you using Linux? If so, cd to platform-tools and use ./fastboot instead of fastboot. Otherwise try updating adb and see if it works. Also, the random text is the phone searching for PD15IMG or another restore image. Disregard that, unless you want to flash the stock unrooted image.

Tethering on 2.1

I have a rooted GT540 on stock 2.1.
When I try to use tethering programs I get errors relating to Kernels and such.
Is there a method to tether without using a different rom?
You can't tether when you're on 2.1 ROM.... at least Froyo is required...
matcho13579 said:
You can't tether when you're on 2.1 ROM.... at least Froyo is required...
Click to expand...
Click to collapse
You're wrong. Use Barnacle WiFi Tether from market instead. Or use Quarx's Custom Kernel that enables the WiFi tether app from google code to work, but you need to have installed Fastboot rom to install it.
Cheers.
Unfortunately Barnacle hasn't done the job either
KenifJambo said:
Cheers.
Unfortunately Barnacle hasn't done the job either
Click to expand...
Click to collapse
All I can suggest then is installing a custom kernel or ROM I'm afraid.
Here is how you can.
Download this:
http://www.mediafire.com/?imautlh0m29cl2t
This has a fastboot ROM that enables fastboot + recovery so we can flash custom roms.
How to install (Guide from MrMentality @ MoDaCo):
1. Go to the Market and install 'MyBackup Root', open it and do a backup of your apps and personal data (contacts, sms, call log etc.) Once this is done, go to Settings>SD Card and Phone Storage>Unmount SD Card, a notification in the notification bar should appear saying 'SD Card safe to remove'. Remove the battery cover and remove the SD card and store it in a safe place. Then continue to step 2.
2. Extract the .zip file you downloaded to your computer (e.g. your desktop). Open the folder and install MSXML 4.0 SP3 Parser (msxml.msi).
3. If you have your Drivers installed, then skip this: Once that has finished, install LGAndroidDriver_WHQL_ML_Ver1.0_All_Win7.exe which are the drivers so your computer will recognize your phone.
4. Next, open KDZ_FW_UPD.exe
(i) Change 'Type' to '3GQCT' *THIS IS A MUST, THE UPDATE WILL NOT WORK OTHERWISE AND YOU MAY BRICK YOUR PHONE*
(ii) Make sure 'PhoneMode' is set to 'DIAG'
(iii) Browse for the 'V20B_00+Fastboot.kdz' file.
5. Prepare the phone by enabling USB Debugging by going to Settings>Applications>Development>Enable USB Debugging and connect the phone to the computer via USB cable and wait for the drivers to install for the phone.
6. Click 'Launch software update' and do not use your computer until the update is complete. The update will take roughly 10-20 mins to complete. When phone has rebooted, re-root your phone.
Installing recovery:
You have multiple choices to choose from.
ClockworkMod Recovery 2.5.1.8 (Recommended)
ClockworkMod Recovery 4.x (Recommended but you may run into incompatible .zip files, download the recovery_clockwork_x.x.x.x_swift.zip file)
Amon RA 2.2.1 (Recommended but has issues with recovery backups and usb toggle)
Amon RA 1.7.0.1 (Not recommended due to incompatibility with zip files and recovery backups. Also .zips must be signed)
Download the recovery image of your choice (I recommend 2.5.1.8)
Next put your phone in Fastboot mode by rebooting then holding Camera+Power, make sure USB Cable is plugged in. Also let Windows search Windows Update for drivers.
Download fastboot.exe from here: http://adf.ly/2M8Hi and extract it to the desktop. Also put the recovery image you downloaded onto the desktop too.
Open a command prompt and type the following:
Code:
cd Desktop
fastboot devices (if you see ? fastboot then your device is recognized)
fastboot flash recovery name_of_recovery.img
fastboot reboot
When fastboot says rebooting, hold down HOME and wait. You should see clockwork pop up. And there you are, recovery on your phone!
Now to install a custom kernel/rom. If you are happy with Android 2.1 and want tethering, go to step 1 and skip step 2. If you want the bleeding edge and want the latest and greatest Android version, skip step 1 and go to step 2.
Step 1:
Download the boot_666_MMXTREM_init.d.zip from here. Also grab addons.zip from here.
By using the volume keys, go down to Mounts and Storage, press call button, then go to Mount USB Storage, press call button again. On your computer, put both .zip files on the SD Card. Then press call button on phone. Press back until you are at the main screen. Now go to 'install .zip from sdcard' press call to select and press choose .zip, then go down to 'boot_666_mmxtrem.init.d.zip' and select that, then go down to yes and then select, wait until install finishes. Now go back into install.zip and do the same for the addons.zip. When that is finished, go back to main screen and go to 'advanced' and select Wipe Dalvik cache, select yes, wait and then reboot phone. Now try to tether and it should work no problems.
Step 2.
Download any ROM you want from the GT540 section here on XDA.
It will come in either three formats.
Fastboot- boot.img and system.img
Recovery .zip- a .zip file that contains boot.img, and two folders, META-INF and system. DO NOT EXTRACT THIS.
Recovery Backup- boot.img, system.img, data.img, and nandroid.md5
For Fastboot, put phone in fastboot mode, put system.img and boot.img on the desktop, open a command prompt and type:
Code:
fastboot -w
fastboot erase system
fastboot erase boot
fastboot flash boot boot.img
fastboot flash system system.img
fastboot reboot
For recovery.zip, put the .zip file on SD Card (if you are downloading SwiftDroid Recovery version, extract the SwiftDroid_x.x.x.x_recovery.zip put the update-cm-xxxxxx.zip file on your SDCard, not the SwiftDroid.zip one. Then flash in recovery like described in step 1. Remember to factory reset to avoid bootloops.
For recovery backup, put the folder in the ClockworkMod\backup\ folder on the sdcard. Then go to Backup and Restore, choose restore and then choose the backup folder.
Hope it resolves your issues!
Thanks for all that information.
Turns out I was wrong!
My devices don't support ad-hoc so barnacle wasn't the problem.
Found the solution for one of them and Barnacle works.
Still not confident of installing fastboot/roms etc on my gt540 but I managed to find some sort of alternative
Barnacle works for one device (Creative Ziio with ad-hoc enabled)
PDAnet for tablets beta works with browser for my Asus Transformer.
KenifJambo said:
Still not confident of installing fastboot/roms etc on my gt540 but I managed to find some sort of alternative.
Click to expand...
Click to collapse
I can understand your trepidation, but the above instructions are solid and straightforward. I was a bit hesitant at first, but realize that the first steps really involve setting up USB drivers to allow your desktop PC to communicate with the phone, and a program called Fastboot. After that, the installation of the ROM is very simple, and is just a RAR file that you decompress into c:\Android (for example) and run a .Bat file that contains the commands he pasted.
It is well worth it.

[Q] How To Install Clockwork?

Hello All!
So my gt540 has already been rooted and fastboot works. I have been running a 2.2 rom flashed through fastboot for a few months now, but I would like to get clockwork recovery working now for the added features of flashing zips and restoring and whatnot.
I have has a lot of trouble finding clear directions on how and what to do to get clockwork recovery on this device. Like I said, I already have root and fastboot is working as well. Can anyone please provide me with instructions on what I need to do from this point?
I have looked at this thread already, http://forum.xda-developers.com/showthread.php?t=817903, but I am still unsure of what exactly I am to do. Also, the mirrors are broken on this page.
Thank you for your help!
download the app root toolbox from the market
and then download a recovery .img and go to advance
flash recovery, find the file and press on it.
wait until finish and then all done!
Or here are better instructions!!
http://forum.xda-developers.com/showpost.php?p=16783348&postcount=1
Installing recovery:
You have multiple choices to choose from.
ClockworkMod Recovery 2.5.1.8 (Recommended)
ClockworkMod Recovery 4.x (Recommended but you may run into incompatible .zip files, download the recovery_clockwork_x.x.x.x_swift.zip file)
Amon RA 2.2.1 (Recommended)
Amon RA 1.7.0.1 (Not recommended due to incompatibility with zip files and recovery backups. Also .zips must be signed)
Download the recovery image of your choice (I strongly recommend Clockwork 2.5.1.8)
Next put your phone in Fastboot mode by rebooting then holding Camera+Power, make sure USB Cable is plugged in. Also let Windows search Windows Update for drivers.
Download fastboot.exe from here: http://adf.ly/2M8Hi and extract it to the desktop. Also put the recovery image you downloaded onto the desktop too.
Be sure to have your fastboot drivers installed, if you use Vista/Windows 7 then the driver should be auto-downloaded from Windows Update, if you use XP or the drivers won't install from Windows Update, then look at this.
Open a command prompt and type the following:
Code:
cd Desktop
fastboot devices (if you see ? fastboot then your device is recognized)
fastboot flash recovery name_of_recovery.img
fastboot reboot
When fastboot says rebooting, hold down HOME and wait. You should see clockwork pop up. Recovery is now on your phone. You can delete the fastboot, kdz and recovery file from your pc because we won't be needing them again. Unless you need to use fastboot.exe again, but just download the fastboot.zip again if you need it) The other files, we don't need.
(NOTE: If your phone reboots with no boot logos (LG logo and animation), or when you flash recovery and it doesn't come up, follow the steps found here. Thanks to fishears for the post!)
Now, installing custom ROMs. Pick any ROM you'd like from the ROM Development section, if you can, get the recovery version, it is much easier to install. Determine if it is a recovery backup, or update.zip
Recovery backups usually contain some .img files and a nandroid.md5 file. The folder containing these files will need to go in the sdcard\clockworkmod\backup folder. Flash them by going to Backup/Restore>Restore>Then pick the backup folder.
Recovery update.zips contain three (or four) files/folders:
boot.img (file)
install-busybox.sh (file, only appears in SOME ROMs)
system (folder)
META-INF (folder)
DO NOT EXTRACT THESE, just put the .zip file on your sdcard, then go into recovery and go to install .zip from sdcard>choose .zip>pick the .zip you downloaded. (NOTE FOR SWIFTDROID: You MUST put the update-cm-xxxxx.zip file found in the SwiftDroid_x.x.x.x_Recovery.zip on your sdcard for it to install!!!)
THANKS TO EFFORTLESS FOR INSTRUCTIONS!!
Thank you thank you very much sir!
kweng_ca said:
Thank you thank you very much sir!
Click to expand...
Click to collapse
Ur welcome!
Just thank me!
Sent from my GT540

Categories

Resources