How do I write a batch to execute these commands? - HTC One X

I'd like to make a batch file to execute a series of commands like below.
adb reboot bootloader
fastboot flash boot boot.img
fastboot erase cache
I flash a lot so I wanted to make things easier, could anyone help me out please?
I once knew a thing or two, something about echo and such, but that was a long time ago.
Thanks!

D3VICE said:
I'd like to make a batch file to execute a series of commands like below.
adb reboot bootloader
fastboot flash boot boot.img
fastboot erase cache
I flash a lot so I wanted to make things easier, could anyone help me out please?
I once knew a thing or two, something about echo and such, but that was a long time ago.
Thanks!
Click to expand...
Click to collapse
START fastboot flash boot boot.img etc...
save it as .bat in your fastboot folder
should work

since there is no wait-for-device on fastboot, you'd probably have to do something like this...
Code:
adb reboot bootloader
sleep 15
fastboot flash boot boot.img
fastboot erase cache
Otherwise the adb command would return the moment the command is sent to the phone and it'd try and execute the fastboot flash command before the phone is actually in fastboot.

Squirrels said:
since there is no wait-for-device on fastboot, you'd probably have to do something like this...
Code:
adb reboot bootloader
sleep 15
fastboot flash boot boot.img
fastboot erase cache
Otherwise the adb command would return the moment the command is sent to the phone and it'd try and execute the fastboot flash command before the phone is actually in fastboot.
Click to expand...
Click to collapse
Makes sense, thanks I will try, hope it works.
Thanks to both of you !

I would use a pause command in the batch script on Windows so that the user can make sure that the phone is actually in fastboot USB mode prior to running fastboot. Sleep is not provided in the default command set on Windows so won't work.
Having said that ignore the above para if your script is running on an Unix environment.

Code:
adb reboot bootloader
timeout /t 10
fastboot flash boot boot.img
fastboot erase cache
try this one, timeout is built in since windows 7 i think

hmm my Windows 7 had sleep, must have been installed by a third-party app then if it is not included by default. Noted.

Squirrels said:
hmm my Windows 7 had sleep, must have been installed by a third-party app then if it is not included by default. Noted.
Click to expand...
Click to collapse
The windows resource kit must have been installed on your PC? Anyway, it can be downloaded from here.

Any idea how to do something like this?
After running the batch it shows a message saying something like.
Please plug in your phone and enable USB-mode and press any button when finished
Click to expand...
Click to collapse
After plugging in the phone you press the button and it executes the bootloader command, then it says.
Please press any button to flash boot.img
Click to expand...
Click to collapse
You press a button, it finishes flashing and then gives a message saying.
Please press any button to erase the cache
Click to expand...
Click to collapse
After pressing a button it erases the caches and displays something like
''Flashing successful, please reboot into recovery to flash your ROM.''
Click to expand...
Click to collapse
I remember needing echo commands for this to work, but all of my attempts have failed .

Related

Soft Bricked Nexus....other threads not helping...

My CDMA Nexus froze....battery pull, boot looped. Recovery restore backup....."error while restoring /data"
Been trying to get back to stock ever since and I can't get the fricken ADB command prompt stuff to work.
I have installed drivers like 10 times, and it shows "Android phone" in device manager when the phone is plugged in with fastboot on.
Everytime I try and do the fastboot commands it just says "error: device not found"
Does it let you mount usb so you can stick a new rom file on it?
Sent from my Galaxy Nexus using Tapatalk 2
edit/disregard
does "fastboot devices" reveal your phone?
eqjunkie829 said:
Does it let you mount usb so you can stick a new rom file on it?
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
It doesn't show up as a drive, just in the device manager as Android ADB Interface.
I just restarted my computer to see if the drivers needed that....this time I ran the 'adb reboot bootloader' and I got daemon not running. Now starting on port 5037. Daemon started successfully. Then it still said error: device not found
animal24 said:
Hold both volume rockers down and start your phone ... then in your command prompt
fastboot flash bootloader bootloader-toro-primela03.img
fastboot reboot-bootloader
fastboot flash radio radio-toro-i515.fc05.img
fastboot reboot-bootloader
fastboot flash radio-cdma radio-cdma-toro-i515.fa04.img
fastboot reboot-bootloader
fastboot -w update image-mysid-imm76k.zip
fastboot reboot-bootloader
then just to be sure boot into recovery and wipe.
Click to expand...
Click to collapse
This
Does it show as fastboot devices?
Click to expand...
Click to collapse
Yeah.....it returns the phone serial number....
So I dunno what the deal is.
biscuitownz said:
This
Click to expand...
Click to collapse
yeah...I know....that has been my goal for the past 4 hours.
The command prompt wont push to a device it doesn't find...
Cadillac Kid said:
yeah...I know....that has been my goal for the past 4 hours.
The command prompt wont push to a device it doesn't find...
Click to expand...
Click to collapse
if the serial number comes up then it should be able to push the factory images back into it.
try fastboot erase userdata
IINexusII said:
if the serial number comes up then it should be able to push the factory images back into it.
try fastboot erase userdata
Click to expand...
Click to collapse
that did it.........weird. THANKS!!!!

[Q] Stuck on HTC quietly brilliant screen

hi sorry in advance if this is a stupid question however i am new to all this kind of stuff.
i tried flashing vipers rom to my htc one x however i forgot to flash the boot.img before i flashed the rom itself and now my phone is stuck on the htc quietly brilliant screen. whenever i try to go into recovery mode it goes back tot he htc quietly brilliant screen. i did make a nandroid back up not sure what to do though any help is appreciated.
thank you
Hold power+volm down for 10-15 seconds, select fastboot -> then flash boot.img
you're done
tomascus said:
Hold power+volm down for 10-15 seconds, select fastboot -> then flash boot.img
you're done
Click to expand...
Click to collapse
Hi thanks for the reply but the only options I get under fastboot is hboot,reboot, reboot bootloader and power down
deets456 said:
Hi thanks for the reply but the only options I get under fastboot is hboot,reboot, reboot bootloader and power down
Click to expand...
Click to collapse
Oh sorry man, didn't realise that you were new to this stuff, don't worry.
Basically, flashing boot.img is done on the computer.
1. Open Command Prompt. Start -> type 'cmd' into search area (without quotes)
2. Browse to your folder containing fastboot using cmd prompt. example: your folder located at C:/fastboot so type 'cd C:/fastboot'
3. Flash by typing: 'fastboot flash boot boot.img
4. Erase cache, type 'fastboot erase cache'
5. You're done.
BTW, next time I suggest you read everything properly and know how to do everything before you attempt things like this...
You also need to have your phone connected via usb once you're in fastboot mode to flash the boot.img.
Sent from somewhere....if I could only remember where....
Help!
tomascus said:
Oh sorry man, didn't realise that you were new to this stuff, don't worry.
Basically, flashing boot.img is done on the computer.
1. Open Command Prompt. Start -> type 'cmd' into search area (without quotes)
2. Browse to your folder containing fastboot using cmd prompt. example: your folder located at C:/fastboot so type 'cd C:/fastboot'
3. Flash by typing: 'fastboot flash boot boot.img
4. Erase cache, type 'fastboot erase cache'
5. You're done.
BTW, next time I suggest you read everything properly and know how to do everything before you attempt things like this...
Click to expand...
Click to collapse
Hi,
Another amateur here...and will really appreciate your help. I am facing the same problem but after I enter Fastboot, I do not understand how you want me to flash the boot.img file. As of now my phone is on the fastboot screen with the four options mentioned earlier, its connected to the PC (although the PC doesn't show anything) and I am wondering what to do next.
Can you please explain which folder does one have to browse to on the PC? I have no fastboot folder on the PC. All I have is a copy of the zip file of the rom on desktop\android. Do I need to download and install the Android SDK for this??
Really need your help; spend the last five hours looking for a solution but in vain
Regards
Get fastboot files here. Place them in a folder, and this folder will be called the fastboot folder from now on.
Then extract the boot.img from rom.zip to your fastboot folder.
To launch fastboot command prompt, hold shift, and at the same time RIGHT click anywhere in the fastboot folder. Select open command prompt here.
Then do the commands as described by tomascus.

Can't flash kernel via fastboot

I am having problem flashing kernel through fastboot.I get an error "unknow partition .......img" when flashing kernel via fastboot from my laptop.Flashing kernel via my desktop is fine though.Since i am having problem with my desktop i wanted to use laptop to flash kernel to be safe.I have installed drivers,flashtool drivers,fastboot driver,google usb driver,android sdk etc.My laptop is 64 bit windows 7.In device manager it shows android device >> adb device inteface.
Fastboot shows device number with "fastboot devices" and i can reboot my phone as well with "fastboot reboot" command but when i tun fastboot flash xxx.img it gives "unknow partition .."error.I have tried different kernels to flash but can't flash them.However same kernel flashing command works on my desktop with 32 bit win7.
My device is bootloader unlocked and i have flahsed many kernels and ROMs via my desktop.What might be missing to install in my laptop?
Anybody around to help solve this problem? When i connect my device is fastboot mode(bootloader). It recognizes it has 'S1 fastboot drive",there is also ADB android device shown in device manager.I can run fastboot commands like "fastboot device","fastboot reboot".They work fine but i can't flash kernel for some reason.I have my kernel file places in same folder as fastboot.exe and running command prompt from same folder.
What might i have been doing wrong?
shoeseat said:
Anybody around to help solve this problem? When i connect my device is fastboot mode(bootloader). It recognizes it has 'S1 fastboot drive",there is also ADB android device shown in device manager.I can run fastboot commands like "fastboot device","fastboot reboot".They work fine but i can't flash kernel for some reason.I have my kernel file places in same folder as fastboot.exe and running command prompt from same folder.
What might i have been doing wrong?
Click to expand...
Click to collapse
What are the commands you used?
Rename the kernel if you have to since fastboot cannot read spaces.
popthosegaskets said:
What are the commands you used?
Rename the kernel if you have to since fastboot cannot read spaces.
Click to expand...
Click to collapse
Thankx for the reply.I have tried to flash different kernels which i have flashed from my desktop.In fact there are more the 10+ kernels which i can flash successfully from desktop.Kernels and fastboot files are all in same folder and i have copied them to my laptop.The names are like boot.img, 5_4fusion_2.img, LuPuS_anzu_jBv12-ram.img etc as they are when i download them.
i think fastboot is working since fastboot devices shows my device serial and fastboot reboot reboots my device but somehow i can't flahs kernel.i even installed adb intaller from this http://www.xda-developers.com/andro...ng-fast-adb-fastboot-and-driver-installation/ but still having problem.
If my computer crashed during kernel flash, does it brick my mobile?
shoeseat said:
If my computer crashed during kernel flash, does it brick my mobile?
Click to expand...
Click to collapse
It shouldn't, you will just need to reconnect the phone to the computer in fastboot mode and flash the kernel again. Did you try using flashtool in fastboot mode rather than command line?
僕のLT18iから送られてきた
You missed a part of the command, you need to use this:
fastboot flash boot yourboot.img
Sent from my Xperia C using Tapatalk
popthosegaskets said:
It shouldn't, you will just need to reconnect the phone to the computer in fastboot mode and flash the kernel again. Did you try using flashtool in fastboot mode rather than command line?
僕のLT18iから送られてきた
Click to expand...
Click to collapse
I did run flashtool when connected in fastboot.Flashtool gies message as device connected to fastboot mode but the "kernel" button is disabled i think.Not sure but some buttons are greyed.
devstaff said:
You missed a part of the command, you need to use this:
fastboot flash boot yourboot.img
Sent from my Xperia C using Tapatalk
Click to expand...
Click to collapse
In desktop i always used "fastboot flash yourboot.img".I have command saved in notepad as well.i will try "fastboot flash boot yourboot.img" today,is it due to 64 bit OS i have to use "fastboot flash boot"?
"fastboot flash boot yourboot.img" was right command."boot" was missing from my command but "fastboot flash yourboot.img" was working on my desktop.Is it due to 64 bit OS i have to add "boot" in command?
Anyway thankx for help.
shoeseat said:
I did run flashtool when connected in fastboot.Flashtool gies message as device connected to fastboot mode but the "kernel" button is disabled i think.Not sure but some buttons are greyed.
Click to expand...
Click to collapse
Try Clicking on the lightning bolt (Flash) and then choose the fastboot mode... From here on out you can hotboot or flash your new kernel. BUT ... make sure you click on reboot into fastboot mode first (ADB)
Let me know if it worked for you
shoeseat said:
In desktop i always used "fastboot flash yourboot.img".I have command saved in notepad as well.i will try "fastboot flash boot yourboot.img" today,is it due to 64 bit OS i have to use "fastboot flash boot"?
Click to expand...
Click to collapse
Nope, it is not due to 64 bit OS, it is like this for every OS (at least for Windows PC, not sure about Linux). The command tells computer, how the process must be done.
If you use
Code:
fastboot flash boot.img
then it is understood as fastboot has to flash nothing to partition named "boot.img". Using
Code:
fastboot flash boot boot.img
is the proper way, then fastboot knows, that it must flash boot.img to 'boot' partition.
MrMaddTraxx said:
Try Clicking on the lightning bolt (Flash) and then choose the fastboot mode... From here on out you can hotboot or flash your new kernel. BUT ... make sure you click on reboot into fastboot mode first (ADB)
Let me know if it worked for you
Click to expand...
Click to collapse
Thankx for the suggestion but it's already working now with fastboot command.

How to restore Download Mode if all you have is Fastboot

This is for the people [myself earlier] who cannot boot into Android (bootloop or worse), have no download mode, no recovery and can only boot into Fastboot. Download the file below, I have included fastboot (for windows) and the appropriate files to flash, all you have to do is run the commands in order below, then boot into download mode.
fastboot erase boot
fastboot erase aboot
fastboot erase recovery
fastboot erase laf
fastboot flash boot 6-boot.img
fastboot flash aboot 4-boot.img
fastboot flash recovery 10-recovery.img
fastboot flash laf 11-laf.img
fastboot reboot
It is best to use the CMD.exe file in the folder provided so you will already be running the commands from that folder without having to change directories. If you're on Linux then make sure you have Fastboot installed then run Terminal from the folder and run the same commands. This will restore the STOCK download mode and recovery partitions not TWRP or CWM.
Download Here
Artifesto said:
This is for the people [myself earlier] who cannot boot into Android (bootloop or worse), have no download mode, no recovery and can only boot into Fastboot. Download the file below, I have included fastboot (for windows) and the appropriate files to flash, all you have to do is run the commands in order below, then boot into download mode.
fastboot erase boot
fastboot erase aboot
fastboot erase recovery
fastboot erase laf
fastboot flash boot 6-boot.img
fastboot flash aboot 4-boot.img
fastboot flash recovery 10-recovery.img
fastboot flash laf 11-laf.img
fastboot reboot
It is best to use the CMD.exe file in the folder provided so you will already be running the commands from that folder without having to change directories. If you're on Linux then make sure you have Fastboot installed then run Terminal from the folder and run the same commands. This will restore the STOCK download mode and recovery partitions not TWRP or CWM.
Download Here
Click to expand...
Click to collapse
How would one go about repairing a broken download mode when all I can do is boot into a broken recovery? I cannot issue any fastboot commands as the device is only recognized as an ADB Bridge device. Are there ADB equivalent commands to accomplish the same things as you have detailed here?
SPRINT LS980 (was on Rooted Stock C and borked phone with D OTA) and a broken TWRP 2.7.1.0 Recovery
natefuhr said:
How would one go about repairing a broken download mode when all I can do is boot into a broken recovery? I cannot issue any fastboot commands as the device is only recognized as an ADB Bridge device. Are there ADB equivalent commands to accomplish the same things as you have detailed here?
SPRINT LS980 (was on Rooted Stock C and borked phone with D OTA) and a broken TWRP 2.7.1.0 Recovery
Click to expand...
Click to collapse
well you should never install any OTA with a custom recovery install. you should always keep at least one backup on your phone to restore to in these events. but i would try downloading a rom and installing via sideload before nuking any partitions. which is easy with TWRP. the sideload menu should be in Advanced then ADB Sideload and the command is adb sideload filename.zip and it will take awhile depending on the file size. make sure the file name is simple and it is placed in the folder you are running the sideload from.
Artifesto said:
well you should never install any OTA with a custom recovery install. you should always keep at least one backup on your phone to restore to in these events. but i would try downloading a rom and installing via sideload before nuking any partitions. which is easy with TWRP. the sideload menu should be in Advanced then ADB Sideload and the command is adb sideload filename.zip and it will take awhile depending on the file size. make sure the file name is simple and it is placed in the folder you are running the sideload from.
Click to expand...
Click to collapse
Yes yes I know... it was a moment of weakness late at night and I didn't think before telling the girl to go ahead and upgrade. That being said... Part of the problem now is that the one backup she made just up and disappeared. The ADB sideload option just hangs and never actually does anything. The original Stock Rooted file I had still on the sd partition doesn't fix the issue when I flash it... it looks like it flashes ok but on the next boot it just drops me back into TWRP right where I began. And download mode is still borked.
So let's talk thermonuclear resolution on this motherlover.... where do I begin?
Sent from my SM-N900P using Tapatalk
natefuhr said:
Yes yes I know... it was a moment of weakness late at night and I didn't think before telling the girl to go ahead and upgrade. That being said... Part of the problem now is that the one backup she made just up and disappeared. The ADB sideload option just hangs and never actually does anything. The original Stock Rooted file I had still on the sd partition doesn't fix the issue when I flash it... it looks like it flashes ok but on the next boot it just drops me back into TWRP right where I began. And download mode is still borked.
So let's talk thermonuclear resolution on this motherlover.... where do I begin?
Sent from my SM-N900P using Tapatalk
Click to expand...
Click to collapse
hmmmmm.... I've been able to get my G2 into fastboot by holding Volume + and Pwr after it setting for awhile turned off.. may be stupid but have you tried that button combo or Volume + and Volume - with Pwr
Could u tell me the command cause i went adb sideload filename.zip and it comes up file not found and i put it in my platform-tools folder any ideas i have adb version 1.30...it was above the version that they said you need on the twrp site
whatsamatta u alumni 1990-2011
Fastboot???
Artifesto said:
This is for the people [myself earlier] who cannot boot into Android (bootloop or worse), have no download mode, no recovery and can only boot into Fastboot. Download the file below, I have included fastboot (for windows) and the appropriate files to flash, all you have to do is run the commands in order below, then boot into download mode.
fastboot erase boot
fastboot erase aboot
fastboot erase recovery
fastboot erase laf
fastboot flash boot 6-boot.img
fastboot flash aboot 4-boot.img
fastboot flash recovery 10-recovery.img
fastboot flash laf 11-laf.img
fastboot reboot
It is best to use the CMD.exe file in the folder provided so you will already be running the commands from that folder without having to change directories. If you're on Linux then make sure you have Fastboot installed then run Terminal from the folder and run the same commands. This will restore the STOCK download mode and recovery partitions not TWRP or CWM.
Download Here
Click to expand...
Click to collapse
How do I get to fastboot. I can get to recovery but that's it. Download is not working. The Vol+/- and Power just gets me to key controls.
deathsquad737 said:
Could u tell me the command cause i went adb sideload filename.zip and it comes up file not found and i put it in my platform-tools folder any ideas i have adb version 1.30...it was above the version that they said you need on the twrp site
whatsamatta u alumni 1990-2011
Click to expand...
Click to collapse
i would try to rename your rom to something simple, like rom.zip. there cannot be any spaces in the name and it does need to be in the same folder you run the command from like you seem to be doing.
gelito81 said:
How do I get to fastboot. I can get to recovery but that's it. Download is not working. The Vol+/- and Power just gets me to key controls.
Click to expand...
Click to collapse
did you try vol+ and power together? When a functioning rom is installed it asks to do a factory reset but it may get into fastboot if you nuked that partition. i haven't tried this yet but if you're in adb sideload in twrp maybe the command
Code:
adb reboot fastboot
might help
Artifesto said:
i would try to rename your rom to something simple, like rom.zip. there cannot be any spaces in the name and it does need to be in the same folder you run the command from like you seem to be doing.
did you try vol+ and power together? When a functioning rom is installed it asks to do a factory reset but it may get into fastboot if you nuked that partition. i haven't tried this yet but if you're in adb sideload in twrp maybe the command
Code:
adb reboot fastboot
might help
Click to expand...
Click to collapse
Tried all of the above.... they all just send me into recovery or broken download mode
damn
I'm screwed. I gave this a try and now all I get is a black screen. The phone will connect to my computer but I can't send any commands to it through the command prompt. When it connects to the computer it opens a bunch of different drives and says I need to format them. I can't get into download mode and when I try to send a command in the prompt it just says waiting for device. Any ideas?
Edit: It shows up in device manager like this: http://i.imgur.com/NXGxpcX.png
http://forum.xda-developers.com/showthread.php?t=2582142 try that
Sent from my VS980 4G using XDA Free mobile app
how i can enter in FASTBOOT mode ?
I'm not sure if you can help me here. I have a Verizon G2 and am trying to reset to factory for a repair. I am trying to get into download mode, but only get fastboot when pressing volume up while powered off and plugging in my USB cord. Any help would be greatly appreciated.
razer_ins said:
how i can enter in FASTBOOT mode ?
Click to expand...
Click to collapse
Flash xdabbbeb 24a bootstack zip
WHATSAMATTA U ALUMNI
---------- Post added at 08:46 PM ---------- Previous post was at 08:45 PM ----------
Crossxcalibur said:
I'm not sure if you can help me here. I have a Verizon G2 and am trying to reset to factory for a repair. I am trying to get into download mode, but only get fastboot when pressing volume up while powered off and plugging in my USB cord. Any help would be greatly appreciated.
Click to expand...
Click to collapse
Read 2 post above yours i answered your ?
WHATSAMATTA U ALUMNI
For everyone who is having issues with drivers see the video below to get fastboot to work:
https://www.youtube.com/watch?v=NaK5OxUeDKM

Please help - stuck on non responding rom!!

Hi everyone,
So I'm kind of new to flashing ROMs but I pretty much got it and flashed a couple of them the last couple of weeks.
Today I flashed the GPE ROM and everything was going smooth, installed successfully but then, the device won't boot up - it just showed me black sceen.
After a few minutes of non responding I forced shut down and went into fastboot, then hit recovery. I have CWM custom recovery. The device showed me the boot animation of the GPE for some reason and then won't go into recovery but showed me "type password to decrypt storage" for some reason. I couldn't go into recovery no matter what I did. Then somehow the device rebooted as usual and now it's on and running but tons of bugs and force stopping apps. IM TRYING TO GO INTO CWM RECOVERY BUT WHENEVER I CHOOSE THAT OPTION IT SIMPLY REBOOTS AGAIN.
HOW CAN I GO INTO RECOVERY AGAIN AND RESTORE MY NANDROID BACKUP? OR DO ANYTHING IN ORDER TO GET A DIFFERENT ROM?
The PC IS NOT RECOGNIZING THE DEVICE, CANT TRANSFER FILES OR RUN FASTBOOT COMMANDS!
THANKS IN ADVANCE! PLEASE HELP!! THE PHONE IS NOT FUNCTIONAL NOW
Nimi.
You don't need to type in caps to make your message more urgent. We'll still help you if don't use the caps lock.
fastboot erase cache, and re-install CWM with fastboot.
redpoint73 said:
You don't need to type in caps to make your message more urgent. We'll still help you if don't use the caps lock.
fastboot erase cache, and re-install CWM with fastboot.
Click to expand...
Click to collapse
Hey buddy,
You're right, im just anxious! As I said on the previous message, the device is not recognized on the pc so I cant seem to be able to run any kind of commands or transfer files! Any ideas? Any hard resets or stuff like that? Again, the phone is running but seems to have NO recovery at all!
Thanks!
nimrodiny said:
You're right, im just anxious! As I said on the previous message, the device is not recognized on the pc so I cant seem to be able to run any kind of commands or transfer files! Any ideas?
Click to expand...
Click to collapse
Was it able to connect to your PC before this issue started?
redpoint73 said:
Was it able to connect to your PC before this issue started?
Click to expand...
Click to collapse
OK, So I am able to recognize the device on PC and run commands but maybe im doing somehting wrong.
Can you please walk me through the exact commands I have to type in the right order? From A to Z.
THANKS!
Edit: CMD error says: "C:\Users\NIMI>fastboot flash recovery openrecovery-twrp-2.7.0.2-m8.img
error: cannot load 'openrecovery-twrp-2.7.0.2-m8.img'"
1) Make sure you have fastboot connectivity. Connect the phone in fastboot mode, and type the command: fastboot devices
2) Place the desired recovery .img in the folder where you have fastboot.exe located. Usually, the most updated version of your recovery is best.
3) In Command Prompt, change directory to your fastboot folder. I have no idea where you setup that up. But it will be something like: cd foldername
4) fastboot erase cache
5) fastboot flash recovery recovery.img
Where recovery.img is the filename of your desired recovery.
redpoint73 said:
1) Make sure you have fastboot connectivity. Connect the phone in fastboot mode, and type the command: fastboot devices
2) Place the desired recovery .img in the folder where you have fastboot.exe located. Usually, the most updated version of your recovery is best.
3) In Command Prompt, change directory to your fastboot folder. I have no idea where you setup that up. But it will be something like: cd foldername
4) fastboot erase cache
5) fastboot flash recovery recovery.img
Where recovery.img is the filename of your desired recovery.
Click to expand...
Click to collapse
Oh my goodness, It worked! Thank you so much my dear friend!!!
Saved my life pretty much.
Nimi
nimrodiny said:
Oh my goodness, It worked! Thank you so much my dear friend!!!
Click to expand...
Click to collapse
There's a button for that.
And you're very welcome. Happy to help!

Categories

Resources