Phone in infinite recovery loop. - One (M7) Q&A, Help & Troubleshooting

Basically, i unlocked my bootloader, all fine. I managed to root my device and it was all fine, until i went to install a custom rom via Clockworkmod. It said it was installed, and would reboot my device. So it did, but it kept restarting trying to get into recovery mode. I can get into the bootloader. However, whenever i attempt to get into recovery mode, my phone will restart normally, reach the htc logo and then turn off and attempt recovery again, to no avail. Fastboot in the cmd does also not recognize my device, which means i'm stuck in a harsh predicament. Is there any solutions? I appreciate all help.
Also, i have tried the factory reset on the bootloader, and this just reboots and attempts to load recovery.

If you can't access recovery, boot into HBOOT (adb reboot bootloader), select FASTBOOT (the only three other options you should see are REBOOT, REBOOT BOOTLOADER and POWER DOWN).
On your computer, type "fastboot erase cache". Then try reflashing the recovery.
If that doesn't work try "fastboot erase recovery". Then try reflashing the recovery.
If you still can't access recovery, reflash your firmware, then retry.
Once you have recovery figured out, follow these steps :
1. Select "Wipe data/factory reset"
2. Select "Wipe cache partition"
4. Advanced -> Select "Wipe dalvik cache"
5. Plug into computer and make sure adb detects it
6. Select "Install zip" ->"Install zip from sideload"
7. Use the command "adb sideload xxxxx.zip"
or
6. Use the command "adb push firmware.zip /sdcard/firmware.zip"
7. Select "Install zip" -> "Install zip from sdcard"

attanasi0 said:
If you can't access recovery, boot into HBOOT (adb reboot bootloader), select FASTBOOT (the only three other options you should see are REBOOT, REBOOT BOOTLOADER and POWER DOWN).
On your computer, type "fastboot erase cache". Then try reflashing the recovery.
If that doesn't work try "fastboot erase recovery". Then try reflashing the recovery.
If you still can't access recovery, reflash your firmware, then retry.
Once you have recovery figured out, follow these steps :
1. Select "Wipe data/factory reset"
2. Select "Wipe cache partition"
4. Advanced -> Select "Wipe dalvik cache"
5. Plug into computer and make sure adb detects it
6. Select "Install zip" ->"Install zip from sideload"
7. Use the command "adb sideload xxxxx.zip"
or
6. Use the command "adb push firmware.zip /sdcard/firmware.zip"
7. Select "Install zip" -> "Install zip from sdcard"
Click to expand...
Click to collapse
Thankyou, i tried your steps but they just didnt work. The problem i have with trying to reflash is that fastboot doesnt actually recognise my device, so i cannot type any commands.

smansell said:
Thankyou, i tried your steps but they just didnt work. The problem i have with trying to reflash is that fastboot doesnt actually recognise my device, so i cannot type any commands.
Click to expand...
Click to collapse
I figured out the problem, as my laptop decided to crash, i restored it and therefore the htc drivers i had, had dissapeared. It is all working now, thankyou.

smansell said:
I figured out the problem, as my laptop decided to crash, i restored it and therefore the htc drivers i had, had dissapeared. It is all working now, thankyou.
Click to expand...
Click to collapse
i'm having a similar problem adb and my computer do not recognize my phone but when im in fastboot it get recognized. I also have the slight predicament that i did a factory reset and so on and now have no ROM or any data on my phone only clockwork mod.

Related

Urgent. No OS installed

Hey. I was going to install a RUU for my HTC One with HBOOT 1.54 then the setup gave me ann error saying my CID was wrong now everything is gone and cant boot into OS (it keeps on restarting after 2min).
I have tried to install roms via CMD and its still not working dont know what to do anymore have done almost everything there is, Please help
Can you boot into recovery ? Can you mount the partitions /data and /system ?
Please help, no OS no recovery
Hi i have an internacional version but i can only enter to fastboot like an image, please sorry for my english im from El Salvador
any idea of what can i do?
Thanks.
dh4 said:
Hi i have an internacional version but i can only enter to fastboot like an image, please sorry for my english im from El Salvador
any idea of what can i do?
Thanks.
Click to expand...
Click to collapse
To navigate the bootloader, you have to use the volume keys to move up and down and the power button to select.
Do you have custom recovery installed ? If yes, select "Recovery" from the menu and reflash your ROM.
If you cannot access your custom recovery, try "fastboot erase cache". If that still doesn't work, try "fastboot erase recovery" and re-flash your custom recovery. Make sure to wipe data, wipe cache and wipe dalvik cache BEFORE flashing your ROM.
Hey thanks for the reply man but i dont have rom and backup can i flash GE rom via fastboot?
dh4 said:
Hey thanks for the reply man but i dont have rom and backup can i flash GM rom via fastboot?
Click to expand...
Click to collapse
Here's a little guide I wrote for another thread :
Start your phone in bootloader by typing
Code:
adb reboot bootloader
Select "Fastboot" so that it appears in red instead of HBOOT
On your computer, make sure fastboot sees your device, then type
Code:
fastboot erase cache
Type
Code:
fastboot reboot-bootloader
Download the new firmware.zip
Type
Code:
fastboot oem rebootRUU
Once it's rebooted on a silver HTC logo, type :
Code:
fastboot flash zip [pathonyourcomputer/firmware.zip]
Wait until it is done on your computer. The green line on the phone will never reach the end.
Type
Code:
fastboot reboot-bootloader
Reflash your recovery (I recommend CWM). Might as well play it safe.
Code:
fastboot flash recovery [pathonyourcomputer/recovery.img]
Reboot into recovery (select the option in fastboot)
Wipe data/factory reset (you will loose everythng)
*** If there are files you need to keep, you can always use adb pull to get them out before hand (let's say a nandroid backup or something important)
Wipe Cache partition
Advanced -> Wipe Dalvik Cache
Now you have 2 options :
Push
While in recovery, type
Code:
adb push [path/rom.zip] /sdcard/rom.zip
Select "Install zip"
Select "Choose zip from sdcard"
Voila ! You should be good to go !
Pull
Select "Install zip"
Select "Install zip from sideload"
Type
Code:
adb sideload [path/rom.zip]
Voila ! You should be good to go !
ROM-wise, I really recommend you get Android Revolution HD. It stays true to HTC Sense while really improving it. You could however flash any ROM; if you really want GE I'd recommend this one; it's modded by the same guy who does Android HD and it's very 'tasteful'
Hit me up if there's anything else !

Major Screwup

Okay, so I was using the Carbon Rom (nightly 4.3) on my HTC One (m7att) and I wanted to try AOKP because I was having issues with it being a daily driver. I went to AOKP's website and I tried to find the version of Android in their latest Nightly for my phone. I couldn't find it, but I found a Youtube video implying it was 4.2.2. I then went and downloaded both the Nightly and the 4.2.2 gapps and flashed them.
From there, my phone became unusable and I wasn't able to access my SDcard via USB. I've had the issue of flashing the wrong gapps in the past and then I just re-flashed the correct one, but this time I'm completely unable to access my SDcard on my computer to put the 4.3 gapps onto it and to re-flash the correct zips.
I can't mount the USB in the TWRP options and when I plug in the USB into my device when it's turned on, my device doesn't come up. What the hell can I do? How screwed am I?
Please help.
We need to know what files you flashed, and can you get into bootloader and get the phone information from this command:
fastboot getvar all
Click to expand...
Click to collapse
Leather Sock said:
Okay, so I was using the Carbon Rom (nightly 4.3) on my HTC One (m7att) and I wanted to try AOKP because I was having issues with it being a daily driver. I went to AOKP's website and I tried to find the version of Android in their latest Nightly for my phone. I couldn't find it, but I found a Youtube video implying it was 4.2.2. I then went and downloaded both the Nightly and the 4.2.2 gapps and flashed them.
From there, my phone became unusable and I wasn't able to access my SDcard via USB. I've had the issue of flashing the wrong gapps in the past and then I just re-flashed the correct one, but this time I'm completely unable to access my SDcard on my computer to put the 4.3 gapps onto it and to re-flash the correct zips.
I can't mount the USB in the TWRP options and when I plug in the USB into my device when it's turned on, my device doesn't come up. What the hell can I do? How screwed am I?
Please help.
Click to expand...
Click to collapse
Check to see if your DATA partition is corrupted using this guide. If it is, follow mike1986's instructions and you should be good to go. If not follow my guide :
Start your phone in bootloader by typing
Code:
adb reboot bootloader
or by other means.
Select "Fastboot" so that it appears in red instead of HBOOT
On your computer, make sure fastboot sees your device, then type
Code:
fastboot erase cache
Type
Code:
fastboot erase cache
Type
Code:
fastboot erase userdata
Type
Code:
fastboot erase system
Type
Code:
fastboot erase linux
Type
Code:
fastboot erase recovery
Type
Code:
fastboot erase cache
Type
Code:
fastboot reboot-bootloader
Download the new firmware.zip
Type
Code:
fastboot oem rebootRUU
Once it's rebooted on a silver HTC logo, type :
Code:
fastboot flash zip [pathonyourcomputer/firmware.zip]
Wait until it is done on your computer. The green line on the phone will never reach the end.
Type
Code:
fastboot reboot-bootloader
Reflash your recovery (I recommend CWM). Might as well play it safe.
Code:
fastboot flash recovery [pathonyourcomputer/recovery.img]
Reboot into recovery (select the option in fastboot)
Wipe data/factory reset (you will loose everythng)
*** If there are files you need to keep, you can always use adb pull to get them out before hand (let's say a nandroid backup or something important)
Select "Wipe Cache partition"
Select "Advanced -> Wipe Dalvik Cache"
Now you have 2 options :
Push
While in recovery, type
Code:
adb push [path/rom.zip] /sdcard/rom.zip
Select "Install zip"
Select "Choose zip from sdcard"
Voila ! You should be good to go !
Sideload
Select "Install zip"
Select "Install zip from sideload"
Type
Code:
adb sideload [path/rom.zip]
Voila ! You should be good to go !

ADB and recovery

So I had unlocked my bootloader. rooted, and install TWRP, I tried installing cm11 which was in my sdcard, I factory reset, but when I when to look for the zip file it didn't come up in my ext_sdcard.... I did made a backup on twrp, but I don't have an os currently install, Idk how to boot into my recovery, I have the fastboot drivers install and when I put the phone in fastboot mode and run adb shell I get error: device not found.
What can I do?
Ocalito said:
So I had unlocked my bootloader. rooted, and install TWRP, I tried installing cm11 which was in my sdcard, I factory reset, but when I when to look for the zip file it didn't come up in my ext_sdcard.... I did made a backup on twrp, but I don't have an os currently install, Idk how to boot into my recovery, I have the fastboot drivers install and when I put the phone in fastboot mode and run adb shell I get error: device not found.
What can I do?
Click to expand...
Click to collapse
To boot to recovery:
Power off device
Press and hold Power + Volume Down
As soon as the LG logo appears, quickly release Power and press and hold Power again until you see a screen titled "Factory data reset"
Use volume keys to scroll down to "Yes". Press Power to select
Do the same as before one more time
You will then boot in to recovery
As for TWRP:
Make sure you're using the latest version.
Up towards the top of the TWRP Install page there is a line with a gray background the starts with "Storage:". Press it and then select Internal storage or external sdcard. Now press "Ok" at the bottom of the screen. Now browse to the folder where your zip is.
Now for your fastboot ADB thing. The adb executable cannot communicate with a device in fastboot mode. That's what the fastboot executable is for. Where you used "adb devices" you should have used "fastboot devices". ADB is for when your device is booted in normal device mode or in recovery mode and the recovery supports USB debugging. Unfortunately you can't boot to recovery thru fastboot.
shinobisoft said:
To boot to recovery:
Power off device
Press and hold Power + Volume Down
As soon as the LG logo appears, quickly release Power and press and hold Power again until you see a screen titled "Factory data reset"
Use volume keys to scroll down to "Yes". Press Power to select
Do the same as before one more time
You will then boot in to recovery
As for TWRP:
Make sure you're using the latest version.
Up towards the top of the TWRP Install page there is a line with a gray background the starts with "Storage:". Press it and then select Internal storage or external sdcard. Now press "Ok" at the bottom of the screen. Now browse to the folder where your zip is.
Now for your fastboot ADB thing. The adb executable cannot communicate with a device in fastboot mode. That's what the fastboot executable is for. Where you used "adb devices" you should have used "fastboot devices". ADB is for when your device is booted in normal device mode or in recovery mode and the recovery supports USB debugging. Unfortunately you can't boot to recovery thru fastboot.
Click to expand...
Click to collapse
Thank you for your help, i was able to bot into recovery and flash my back up.... and then i was able to install cm11.

Help with rootning 20.1.A.2.19

Is there anyway to root this ?
Of course, just follow these easy steps and then enjoy your rooted android (If you don't understand something from the steps, google it or ask me.)
1. Unlock your Bootloader (you will need ADB and to factory reset after unlocking.)
-Type in Google "unlock sony bootloader" and click on first link.
-Select your device, click continue and enter your email address, you will need your IMEI of your smartphone, then you will receive your unlock key in your email address.
-After you did all of this, carefully read the instructions on Sony website and you will unlock your Bootloader in 1-5 minutes.
2. Now with unlocked Bootloader you can flash Philz custom recovery via ADB (with fastboot installed.)
-Go to http://forum.xda-developers.com/xperia-e1/general/philz-touch-recovery-xperia-e1-t2941831 and download the recovery.
-Now put recovery.img who you downloaded in ADB/platform-tools
-Enable USB Debugging in Developer options.
-Connect your smartphone with USB and run ADB (to make sure you connected ADB, type "adb devices" and you should be able to see your device (if not, you did something wrong.)
-While in ADB, type this command: adb reboot bootloader (this will reboot in fastboot.)
-Now, when in fastboot mode, type this: fastboot flash recovery recovery.img (the flash finish for 1 sec.)
-Type "fastboot reboot" while in fastboot, and your device should be ready with installed custom recovery.
-You can enter Recovery by power off your smartphone, then press: "Power" + "Volume UP".
3. Download Latest SuperSU (this is the root): https://download.chainfire.eu/1017/SuperSU/SR1-SuperSU-v2.79-SR1-20161221223537.zip
-Put the SuperSU.zip in your SD card.
-Boot in Recovery.
-Choose "Install Zip".
-Choose "Choose zip from /sdcard".
-Select your .zip file and tap on him.
-Choose "Yes".
-Choose "Reboot System Now" (Or if it does not show, then go back to main menu and choose it.)
Congratulations, you flashed SuperSU/root successfully.
If you have questions, ask me and I will answer when I can/see them.
Easiest way is have any recovery on your phone, doesn't really matter If you have Caio's kernel + TWRP, or the regular one PhilZ recovery
Download SuperSU from Google Play, when it asks you to update the binary tap on Yes, and when it asks you again how to update the binary, just tap on TWRP
On the next boot you will have root.
Just use kingroot and supersume to get supersu without computer. I use kingroot 4.5 because newest one doesn't work with supersume. good luck!

Trying to backup stock recovery and boot, then stuck in boot logo...

I need some urgent advice. I was following this guide https://forum.xda-developers.com/le-2/how-to/guide-unlocking-rooting-restoring-to-t3515555 to backup stock recovery and boot. I did not want to flash twrp and su, so I skipped to wipe Dalvik/Cache, did that, and reboot from twrp.
Then the phone stuck in boot logo, I've waited at least 12min, nothing. So I tried to restart from stock recovery as stated in the guide, no good.
Basically I skipped step 16-20:
Download and install Minimal ADB and Fastboot: http://forum.xda-developers.com/show....php?t=2317790
Download latest official TWRP, place file in ADB installation folder, and rename to "twrp.img": https://twrp.me/devices/leecole2.html
Download SuperSU 2.78 (stable): https://download.chainfire.eu/1001/
Boot up phone and plug into computer
Settings > scroll to bottom to "About phone" > touch "Build" 7 times to enable developer options
Developer options > toggle "OEM unlocking" and "USB debugging" so that they're both enabled
When "Allow USB debugging?" window pops up on phone, check "Always allow..." box and hit OK
In Minimal ADB installation folder, hold Shift and right-click "Open command window here", then type:
Code:
adb reboot bootloader
Once in fastboot:
Code:
fastboot oem unlock-go
fastboot boot twrp.img
If password screen comes up, tap "Cancel" button
If it asks, tap "Keep Read Only" button (probably doesn't matter, but whatever)
Wipe > Format Data
Make backups (I suggest boot, recovery, and system since this will allow you to return everything to stock later on)
Mount > Enable MTP
Copy entire TWRP folder from internal storage to your computer
Copy SuperSU zip from your computer to root of internal storage
Reboot > Bootloader
Code:
fastboot oem unlock-go
fastboot flash recovery twrp.img
Hold Vol+ and Pwr until boots into TWRP
Swipe to Allow Modifications
Install > select SuperSU zip > swipe to flash
Wipe Cache/Dalvik
Reboot (first boot will take a little while, so be patient)
Click to expand...
Click to collapse
Please help!
Hi, unfortunatelly I have the exactely same problem.
I boot to TRWP > wipe Format Data > did backup and restart.
Then my LeEco Le 2 X527 stuck on the booting LeEco logo. I've tried to Pwr+Vol Up and selected all the checkboxes to do stock factory reset but it didn't help.
Also, it seems I cannot use ADB, fastboot and TWRP any more, because after the Wipe the device is unauthorized
Did I brick the phone? Please help dear professionals!
Update:
I found that I can still boot to the bootloader by holding Pwr+Vol down. After that I was able to normally use "fastboot oem unlock-go" and
"fastboot flash recovery twrp.img" to flash the TWRP. After I installed the LineageOS and GAPPS and phone boot up successfully!

Categories

Resources