Hello! First of all sorry for my explanations but i'm not English. I'm S-off and tried to flash a new recovery through Android Flasher but since I can't acces the recovery anymore ! Please help me I would be grateful
Try it via fastboot.
1.Download the desired recovery .img file from the site.
2. Download android SDK from official site, and run SDK Manager. When it is running, then install the platform-tools (revision 3 ATM), too.
3. Copy the file (.img) you downloaded into the android SDK folder, where fastboot.exe is located.
4. Reboot your phone into fastboot (holding down BACK+POWER keys when the phone is switched off) - it should show FASTBOOT USB.
4a. Make sure you have the USB drivers installed (for me HTC sync is not needed, i used the UNREVOKED USB drivers instead)
5. Fastboot flash. navigate to your android SDK directory in Command Promt (CMD.EXE) then run these commands:
a, fastboot flash recovery clockworkmod2518.img (or whatever is the name of the file)
b, fastboot reboot-bootloader
c, fastboot erase cache
6. You have now the recovery installed.
You don't have to have access to the recovery to flash anything that uses fastboot. For fastboot do what davebugyi said, if you want to use the Android Flasher, just boot into the rom or even better, boot into the bootloader. It works a charm. Fastboot has never worked for me for some weird reason, never have gotten it to work but the Android Flasher works.
I am trying to change my recovery with this tool but have come up against problems. I open up the program and then select recovery. The phone then reboots into fastboot usb as expected and then it say can not find recovery.img. I obviously have put the recovery img in the data folder and have also tried renaming it recovery.img. I am sure I am being thick but I have spent a bit of time and thought someone must have a quick answer?
Thanks in advance
You have to put the recovery.img in some place on your computer, not on the phone.
Swyped from my HTC Desire using XDA App
The recovery image is on the computer in the date folder that is created by unzipping andriod flasher, all the drivers are installed and I am s off etc.
I hope the recovery you want to flash is for your phone?!
I would give up android flasher, and do it directly via fastboot:
Copy recovery.img in the folder of android sdk, open command line, go to tools folder of android sdk, boot your phone into fastboot, connect it to your computer via usb and enter:
Code:
fastboot flash recovery recovery.img
Swyped from my HTC Desire using XDA App
I am simply trying to flash CWM 3.2.0.1 I think it is, think I might just leave it with the alpha rev recovery that came as part of the s off procedure
hi,
to do what mattdroid says, you need adb sdk install or brwse to your android flasher with cmd line.
best is to declare variable environnement into win.
quiet simple:
1/righ click onto my computer sekect property
2/select adnvanced tab
3/ hit environment varaiables button
4/first part [user environment variable for (users)]
===> select new - a popup come up into variable name write [path] whitout bracket
==============================>variable value write [c:\the path\whereandroidflasheris] whitout bracket.
now just log off and log in.
open dos prompt and just type:
Code:
fastboot erase recovery
fastboot flash recovery c:\wheretherecoveryis\recovery.img
fastboot reboot
should do the trick
hope this help
Hi together!
Since this is a topic where people ask regularly, I try to make a little TUT.
I hope it is helpful.
I am a noob myself, so please don't go on me
Please feel free to correct me if I am wrong or if I missed some important stuff.
What you need:
1.
SDK Tool (type in your browser: developer.android.com/sdk/index.html)
Once you are on that page, download the package and install it.
2.
after the install process has finished, you have to install some packages.
Important is the platform-tools package (there you find the most important commands)
3.
Locate the folder on the harddisk of your PC
4.a)
Push the Windows(Start) Buttom and type: cmd
This opens the command prompt
Now get into the root of the android folder (e.g. cd.. until you get into root of your harddisk)
(on my PC, it looks like this:
cd android
cd platform-tools)
4.b)
Just one thing to make it a little easier to come into the right folder:
Open the folder with the fastbootfiles in a window.
Go to command line and type cmd and the cmd.exe will be shown in the menu.
Drag & Drop the cmd.exe into the opened fastboot folder.
When you now open this cmd, it shows the right folder at the start and you can easily type the commands without navigation through folders.
credits go to Neo XL
5.
Your phone has to be in fastboot-USB mode and connected to PC in order to understand the commands
6.
Once you are in platform-tools folder, you can type commands
Most common commands are:
fastboot erase cache (sometimes helps if phone is in HTC bootloop)
fastboot flash boot (name of boot image / e.g. boot_1.2.3.img) (this is, like the name says, to flash a boot image)
fastboot flash recovery (name of recovery.img
fastboot oem lock ( to relock your phone, in case you have or want to flash a RUU)
fastboot flash unlocktoken Unlock_code.bin (to unlock again, if you already got the unlock key from HTCDev)
Flash firmware.zip using following terminal commands:
Please rename first downloaded .zip package to firmware.zip
fastboot oem rebootRUU
fastboot flash zip firmware.zip
This is almost obsolete, since we have the new Recovery 5.8.3.1 with Mount USB, but it is still good to know
to push ROM to SD card, if you were running superwipe without copying the rom file onto sd
1. You need recovery.img in your fastboot directory
2. Go into bootloader and connect phone
3. Then use: "fastboot boot recovery.img" (thus booting your image from pc and not the installed recovery).
4. When in recovery, you can use the adb commands.
5. You can try with "adb devices" which should show you serial of phone.
6. command: adb push rom_rom.zip /sdcard
credits to broncogr for finding that adb works if you use fastboot boot command and to Jotha for helping me out!
Or try following:
Copy rom to your adb-directory on PC
Switch OFF phone
Connect phone to PC
Wait until you hear the "USB-Connect"-sound on PC
Go into command window in adb-directory
Type "adb push rom.zip /sdcard/"
(where rom.zip is name of rom-file)
pushing is rather slow so it will take a while. Eventually you get an "OK". Then you can go into recovery and flash it.
Credits go to Jotha
Updated link
[TOOL][27/04] Automated Fastboot Commands For HTC One X continued
http://forum.xda-developers.com/showthread.php?t=1634786
credits go to TeAm Hex
For now, this is what I can think of, for sure there are many more commands, but hopefully we don't need them, but like I said, feel free and put them in here
I hope this will help some noobs, like myself!
If this helped you, please push THANKS
thanks! this will stop us noob's, spamming up dev's thread's.
Thanks for you efforts
First time with real android phone, this is good!
Thanks mate
Sent from my HTC One X using xda premium
Can you add the command to push the custom rom to sdcard without mout USB via CWM ?
Just one thing to make it a little easyer to come into the right folder:
Open the folder with the fastbootfiles in a window.
Go to command line and type cmd and the cmd.exe will be shown in the menu. Drag & Drop the cmd.exe into the opened fastboot folder.
When you now open this cmd, it shows the right folder at the start and you can easyly type the commands without navigation through folders.
incident said:
Can you add the command to push the custom rom to sdcard without mout USB via CWM ?
Click to expand...
Click to collapse
Would be great, if this is possible! But as far as I know, it not possible.
Edit:
It is possible now! Updated post!
Sent from my HTC One X using XDA
hello I have problem with loading boot.img in fastboot
sdk is open, phone is conncted to comp on fastboot usb mode , image is on disc c in folder fastboot and still recive this info
c:\fastboot>fastboot flash boot boot.img
'fastboot' is not recognized as an internal or external command,
operable program or batch file.
c:\fastboot>
pls help me with that
ok I fix this, that was problem with missing fastboot.exe and was no connection betwen phone and computer
this link helps fix that
http://dottech.org/tipsntricks/21534/how-to-install-adb-and-fastboot-on-your-windows-computer-for-use-with-your-android-phone/
You have to copy the Boot.img into the folder, where fastboot-, adb commands are situated (c:/andoid/platform-tools)
Then Open cmd. Go to platform-tools folder and from there it should work.
Sent from my HTC One X using XDA
Thanx man, but is fixed now, I did this by follow the instr. in page from my last post, and goes perfect. I just flashed new rom with 1.8 base and iam now on the bright side of life.
PS sorry for my english
@OP, last time I tried fastboot boot command it gave me device not found message(no problem when fastboot flash). What's the correct approach to make it work? I recently updated to 1.28 and I want to stay in stock for the mean time.
Sent either from my Arc or One X using xda premium
You can add the adb and fastboot directory path to the environment path in windows settings. You can then use adb and fastboot outside of the platform tools directory, but still in command prompt of course
Sent from my HTC One X using Tapatalk 2
I'm following your tutorial to the letter but whenever i use fastboot boot recovery.img it refuses to go into recovery. But i can boot into recovery manually and when i do there still isnt any adb devices connected.
Stuart.upton666 said:
I'm following your tutorial to the letter but whenever i use fastboot boot recovery.img it refuses to go into recovery. But i can boot into recovery manually and when i do there still isnt any adb devices connected.
Click to expand...
Click to collapse
3. Then use: "fastboot boot recovery.img" (thus booting your image from pc and not the installed recovery).
4. When in recovery, you can use the adb commands.
5. You can try with "adb devices" which should show you serial of phone.
6. command: adb push rom_rom.zip /sdcard
In point 3, it is not supposed to boot into recovery. Its for booting your recovery.img (e.g. recovery-clockwork-touch-5.8.3.1-endeavoru.img ) from PC. After this step you will automatically boot into Recovery. From there you can use adb commands.
Did you try "adb devices"?
I tried it myself and it works!
This guide is great... Thanks!
Sent from my HTC One X using xda premium
tonyhagger said:
This guide is great... Thanks!
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
Thank you, Sir! Some kind of feedback is always appreciated !
Hi about Push to SDCARD command
My questions in Blue
to push ROM to SD card, if you were running superwipe without copying the rom file onto sd
1. You need recovery.img in your fastboot directory - Should i use signed recovery ?
2. Go into bootloader and connect phone
3. Then use: "fastboot boot recovery.img" (thus booting your image from pc and not the installed recovery).
4. When in recovery, you can use the adb commands.
5. You can try with "adb devices" which should show you serial of phone.
6. command: adb push rom_rom.zip /sdcard
incident said:
My questions in Blue
to push ROM to SD card, if you were running superwipe without copying the rom file onto sd
1. You need recovery.img in your fastboot directory - Should i use signed recovery ?
2. Go into bootloader and connect phone
3. Then use: "fastboot boot recovery.img" (thus booting your image from pc and not the installed recovery).
4. When in recovery, you can use the adb commands.
5. You can try with "adb devices" which should show you serial of phone.
6. command: adb push rom_rom.zip /sdcard
Click to expand...
Click to collapse
Take the newest CWM recovery.
Sent from my Desire HD using XDA
incident said:
My questions in Blue
to push ROM to SD card, if you were running superwipe without copying the rom file onto sd
1. You need recovery.img in your fastboot directory - Should i use signed recovery ?
2. Go into bootloader and connect phone
3. Then use: "fastboot boot recovery.img" (thus booting your image from pc and not the installed recovery).
4. When in recovery, you can use the adb commands.
5. You can try with "adb devices" which should show you serial of phone.
6. command: adb push rom_rom.zip /sdcard
Click to expand...
Click to collapse
Asking about number 6,since after push rom into sd card using adb command. How long will it takes rom to place in sd card? My adb command just stuck after push rom without inform is it done or not.
And where did the push file goes? Seems I can't find it in CWM. I'm using latest cwm, but no zip file found in my sd card.
TEKONG84 said:
[/COLOR]
Asking about number 6,since after push rom into sd card using adb command. How long will it takes rom to place in sd card? My adb command just stuck after push rom without inform is it done or not.
And where did the push file goes? Seems I can't find it in CWM. I'm using latest cwm, but no zip file found in my sd card.
Click to expand...
Click to collapse
Rom should be on root of Sd.
If this is not working, you can try to use the command while phone is powered off. I am not a dev, but I read something like that:
"Switch off your phone, connect to pc, wait until it is detected by windows and use: adb push nameofrom.zip /sdcard/" thats what Jotha told someone on ARHD Thread.
Try that and tell us if it worked.
Sent from my Desire HD using XDA
I had flashed STOCK ROM on my HTC wildfire s a510e but my mobile gets stucked on HTC logo screen. I have tried installing ROM many times by wiping data, wiping factory data, wiping delvik cache but still gets problem.I tried to flash superwipe but gets error as Installation abandoned.
So I downloaded Indian RUU for my mobile and followed guide of another forum on how to install it. but when I run that, phone boots but gets 171 error and I am being asked to connect usb properly where as I have connected it properly.
Please help fried. What should I do now?
No one here who can help in regarding this problem. Please Friends.
anupdada said:
No one here who can help in regarding this problem. Please Friends.
Click to expand...
Click to collapse
hey bro , open that ruu , and when it comes to welcome screen. dont proceed with installation, when it comes to welcome screen it extracts the files in temporary folder this is where you will find the STOCK ROM , go to temporary folder by following these instructions
1-Go to start menu
2-Open Run
3-Write
Code:
%TEMP%
4-Hit enter
Now in that folder search for ROM.zip (use the search option , you may get ROM1.zip and ROM2.zip , In that case select ROM1.zip)
When you will get this zip file , extract it to a folder in desktop , name the folder ROM
Now if you have android-sdk with the adb drivers then skip this text in blue and copy the adb adbwinapi and fastboot files to ROM folder on desktop, if you dont know what i am talking about then read the text in blue,
Download this http://www.mediafire.com/?81ao1oct0g533uj n then extract it in ROM folder , so in rom folder you will have three new files, adb adbwinapi and fastboot..
now open Command prompt by these steps
1-Open start menu
2-Open run
3-Type
Code:
CMD
hit enter
Now in this cmd write each code and press enter
Code:
cd desktop
Code:
cd ROM
now put your cell phone in bootloader mode , then go to fastboot option ,
then go to ROM folder , and check if you have these files
BOOT.img
System.img(it can be system-yaffs.img or something similar , rename it to system.img)
Now affter going to fastboot menu in mobile connect it with pc .
Now write these commands , press enter after each commmand and wait till it flashes
Code:
fastboot flash boot boot.img
Code:
fastboot flash system system.img
after this , reboot to recovery (CWM recovery) and wipe your data then power it on :good: it will be working then
mhrsolanki2020 said:
hey bro , open that ruu , and when it comes to welcome screen. dont proceed with installation, when it comes to welcome screen it extracts the files in temporary folder this is where you will find the STOCK ROM , go to temporary folder by following these instructions
1-Go to start menu
2-Open Run
3-Write
Code:
%TEMP%
4-Hit enter
Now in that folder search for ROM.zip (use the search option , you may get ROM1.zip and ROM2.zip , In that case select ROM1.zip)
When you will get this zip file , extract it to a folder in desktop , name the folder ROM
Now if you have android-sdk with the adb drivers then skip this text in blue and copy the adb adbwinapi and fastboot files to ROM folder on desktop, if you dont know what i am talking about then read the text in blue,
Download this http://www.mediafire.com/?81ao1oct0g533uj n then extract it in ROM folder , so in rom folder you will have three new files, adb adbwinapi and fastboot..
now open Command prompt by these steps
1-Open start menu
2-Open run
3-Type
Code:
CMD
hit enter
Now in this cmd write each code and press enter
Code:
cd desktop
Code:
cd ROM
now put your cell phone in bootloader mode , then go to fastboot option ,
then go to ROM folder , and check if you have these files
BOOT.img
System.img(it can be system-yaffs.img or something similar , rename it to system.img)
Now affter going to fastboot menu in mobile connect it with pc .
Now write these commands , press enter after each commmand and wait till it flashes
Code:
fastboot flash boot boot.img
Code:
fastboot flash system system.img
after this , reboot to recovery (CWM recovery) and wipe your data then power it on :good: it will be working then
Click to expand...
Click to collapse
Oh my god. I am very much thankful to you my friend. It worked. Yahoo. Pls do one more favor. Pls Tell what can I do about flashable ROM of Marvel. Its get flashed properly but than it gets stucked to HTC logo screen. Thanks once again.
Having had problems with my Huawei M2 10 LTE, I've had to re-install everything. This installation will allow you to update normally and not side-load or whatever you do, which fails:
Download some files from the internet:
1. Download the latest Rom, I cannot find a later update, from https://forum.xda-developers.com/mediapad-m2/development/official-huawei-roms-m2-10-0-t3393275
This is B023-zip English etc
3. Download HuaweiUpdateExtractor_0.9.9.5
4 Download Huawei USB drivers from http://phoneusbdrivers.com/huawei-mediapad-m2-10-0-usb-driver/
5. Download 'Minimal ADB and Fastboot'
Press Power button + sound-down button to get into Fastboot and Recovery
6. Unzip 'Minimal ADB and Fastboot' to your C: drive, in a folder called ADB
7. Unzip and install the USB drivers by right-clicking the 'android_winusb.inf'
8. In PC 'device manager'/select 'action' select 'legacy device'/'install the hardware manually'/'Android Phone'/'Google'-'Android Adapter ADB Interface'
9. Unzip the ROM to your desktop. Go into the folder 'dload' and copy the UPDATE.APP to your desktop
10. Unzip the Huawei Updateextractor folder to your desktop.
11. Run HuaweiUpdateExtractor.exe
12. Select 'profile Unknown'/'update file'/desktop/UPDATE.APP
13. In the list that shows, extract, by right clicking
boot boot.img
cust cust.img
cache cache.img
recovery recovery.img
system system.img
userdata userdata.img
to the ADB folder you have made on the C: drive
14. Put your Huawei into Fastboot and Recovery by pressing sound-down and the power key. Release power key after a few seconds. A screen should show on your Tablet.
15. Plug USB from Tab to computer.
16. Start, with admin privilages, 'Command Prompt'.
17. Type: cd\
18 Type cd adb
19. That will get you into the ADB folder.
20. Then copy and paste, seperately and press Enter after each entry the following:
fastboot flash boot boot.img
fastboot flash cust cust.img
fastboot flash cache cache.img
fastboot flash recovery recovery.img
fastboot flash system system.img
fastboot flash userdata userdata.img
You should see some numbers and words in the Command Prompt. If not, you may have to re-install the drivers and try again.
21. Reboot your Tab if it has worked.
22. You can download updates normally and install them via the Tablet.
If you can find a WIFI ROM, this method should work too.