I've been trying to install TWRP and Magisk to the Razer phone for upwards of 3 days now. I cannot get anything to flash through fastboot to the phone no matter what I try. At one point I even said screw it and tried flashing the stock boot image back over to re-lock my bootloader, but no luck, still won't flash.
I was originally following this tutorial here but during the flashing of the boot image it kept failing. Then I tried following the "foolproof" guide found here
I either ended up with the error of "no such file or directory" or "too many links" or "unable to identify current slot". Did a ton of Googling but ultimately came up with no solutions.
I have Android SDK and development studio installed. I have the google drivers installed. I have the Razer phone drivers installed and I have ADB and Fastboot installed.
I have all the files I need on the SD card, and when I'm flashing everything I have the files I need placed in the same folder as the ADB\Fastboot files.
I have my bootloader unlocked, developer mode on and USB debugging enabled. I am using a USB Type A to Type C cable as recommended (made by Anker if it matters). I've tried all 3 USB ports on my laptop. I've even disabled Antivirus.
I have flashed many Android devices in the past and none have given me such a headache as this one. I'm even more ticked off that I can't even get the factory boot image back over to re-lock the bootloader after now realizing that I can't install Netflix anymore because they wen't and blocked installations for Rooted android users (for whatever ridiculous reason).
I will say that for whatever reason that when I go to open command prompt by using the shift+right click I only get the option to use Windows Powershell, not Command Prompt. I also have to put a .\ in front of every command I send. I'm unsure why, but I found no work around for it.
I'd like to try to get the TWRP and Magisk installed. I'm sure I can force Netflix to install over to the phone using another method.
Open to any suggestions!
FireGuy0723 said:
I've been trying to install TWRP and Magisk to the Razer phone for upwards of 3 days now.
Click to expand...
Click to collapse
I feel for you as when things don't work, like someone says they do, it's frustrating. I personally wouldn't be doing everything through power shell but would instead press Windows Key+R to bring up the "Run" dialog box then type "cmd" for command prompt. Trying to restore "command prompt here" to Windows 10 seems stupidly hidden. I'm just not sure if using powershell is messing with your progress.
Second thought is that your Razer phone drivers may not be installed correctly. For me I spent days/hours with my main PC, I then tried another PC and got my phone flashed in minutes. What would happen is that I could send "adb" commands without issue but some of the "fastboot" commands were not working. So at the critical times when it's trying to flash the different portions of our phone, some of them were successful while the others were giving little errors here and there.
I spent a lot of time updating my adb and fastboot commands to newer ones because it seems every time you download someones resources you get a different version. Also the more phones you have owned the more times you have installed specific USB drivers for those phones and they are now hanging around messing things up. There are programs such as USBDeview that will allow you to uninstall those old drivers. For me I had HP drivers from an old tablet, OnePlus drivers, LG drivers, etc.
Munk0 said:
I feel for you as when things don't work, like someone says they do, it's frustrating. I personally wouldn't be doing everything through power shell but would instead press Windows Key+R to bring up the "Run" dialog box then type "cmd" for command prompt. Trying to restore "command prompt here" to Windows 10 seems stupidly hidden. I'm just not sure if using powershell is messing with your progress.
Second thought is that your Razer phone drivers may not be installed correctly. For me I spent days/hours with my main PC, I then tried another PC and got my phone flashed in minutes. What would happen is that I could send "adb" commands without issue but some of the "fastboot" commands were not working. So at the critical times when it's trying to flash the different portions of our phone, some of them were successful while the others were giving little errors here and there.
I spent a lot of time updating my adb and fastboot commands to newer ones because it seems every time you download someones resources you get a different version. Also the more phones you have owned the more times you have installed specific USB drivers for those phones and they are now hanging around messing things up. There are programs such as USBDeview that will allow you to uninstall those old drivers. For me I had HP drivers from an old tablet, OnePlus drivers, LG drivers, etc.
Click to expand...
Click to collapse
I've been messing with it today a bunch. I am back to following the "foolproof" guide and this time I have completely uninstalled all my old drivers for anything android or USB or ADB related and reinstalled everything.
All commands work, I am using command prompt now.
What I am getting hung up on now is even after pushing all three files to the SD card, I run the command "fastboot flash boot twrp-3.2.1-0-cheryl.img && fastboot reboot" and it bounces back with " Failed: Write to device failed (no such file or directory)"
I've double checked the file names numerous times. I have no idea what I am doing wrong now. I have tried the command "fastboot boot twrp-3.2.1-0-cheryl.img" as stated in the other tutorial and it bounces back with "failed to identify current slot".
So I'm making progress at least. I'm trying to follow the first set of instructions listed in the fool proof guide but still no luck. I also tried the "clean method" listed below on that guide and that one doesn't work either. Apparently the Fool Proof guide thinks I'm a fool!
FireGuy0723 said:
What I am getting hung up on now is even after pushing all three files to the SD card, I run the command "fastboot flash boot twrp-3.2.1-0-cheryl.img && fastboot reboot" and it bounces back with " Failed: Write to device failed (no such file or directory)"
Click to expand...
Click to collapse
I believe that when you run "fastboot flash boot twrp-3.2.1-0-cheryl.img" you are pushing the file called "twrp-3.2.1-0-cheryl.img" that is sitting on your PC's C: or whichever drive you are currently sitting in to the Razer Phone. So make sure the file is in the same directory as where you are running that command. This will then transfer it to the Razer and will reboot into TWRP.
But after you reboot into TWRP you will want to flash the version you have sitting within your SD card to the "recovery" partition. That way it is permanent.
Munk0 said:
I believe that when you run "fastboot flash boot twrp-3.2.1-0-cheryl.img" you are pushing the file called "twrp-3.2.1-0-cheryl.img" that is sitting on your PC's C: or whichever drive you are currently sitting in to the Razer Phone. So make sure the file is in the same directory as where you are running that command. This will then transfer it to the Razer and will reboot into TWRP.
But after you reboot into TWRP you will want to flash the version you have sitting within your SD card to the "recovery" partition. That way it is permanent.
Click to expand...
Click to collapse
I was finally able to get the phone to accept a flash! I ended up saying screw it and dug a old laptop out, fresh install of windows and installed all the proper drivers onto it.
It worked almost flawlessly. It was able to correctly send the twrp.img file and the phone was able to boot into twrp which is about as far as I got. As it was attempting to load twrp it would "crash" the screen would flash twice and try rebooting back to TWRP.
What ended up happening was it got stuck in a boot loop trying to boot into TWRP. (I haven't even installed TWRP.zip yet, just tried booting the .img file).
I couldn't get the phone to boot to the system anymore. I thought I had a nice $600 paperweight on my hands.
I finally got the phone to go back into the boot loader and flashed all the factory stuff back on and relocked the bootloader. So right now I'm 100% back to stock.
I'm not sure what went wrong in the boot up of the twrp.img file. I'd like to try again but I'm kinda getting sick of wiping the phone Everytime something goes wrong.
Sent from my Phone using Tapatalk
I'm wanting to get TWRP / Magisk on my Razer too, but see too many bootloop stories after attempting to flash TWRP.... making me nervous ha ha.
Sorry, not much help, but hope you get it sorted...
Peace
chris5s said:
I'm wanting to get TWRP / Magisk on my Razer too, but see too many bootloop stories after attempting to flash TWRP.... making me nervous ha ha.
Sorry, not much help, but hope you get it sorted...
Peace
Click to expand...
Click to collapse
I had mine in boot loop, I was able to get it out pretty easily. If your able to get the phone into the bootloader (I did using a fastboot command while it was in a boot loop) you can just execute the script provided by Razer and it does the rest. Took about 10 minutes and I had factory everything back on the phone. Relocked the bootloader after and done, phone fixed.
Sent from my Phone using Tapatalk
FireGuy0723 said:
I had mine in boot loop, I was able to get it out pretty easily. If your able to get the phone into the bootloader (I did using a fastboot command while it was in a boot loop) you can just execute the script provided by Razer and it does the rest. Took about 10 minutes and I had factory everything back on the phone. Relocked the bootloader after and done, phone fixed.
Sent from my Phone using Tapatalk
Click to expand...
Click to collapse
In my case I actually had to flash the stock boot.img from the May 2018 stock OS. Then I was able to use Razers guide to flash stock again. I haven't locked my bootloader since I still want to give it a try again. But I want to find a reliable way of rooting and then unrooting in case I want to do so in the feature.
So far I haven't found said documentation.
Installed Magisk v17.1 via TWRP loaded in fastboot boot (not fastboot flash boot ie not permanently installed) and so far all seems well. No boot loops when restarting...
Peace
Related
Hi XDA Community!
Completely bone-headed n00b here (is there any other kind)?
Firstly, a quick background:
HTC Desire, rooted, S-Off, 16 gig Class 4 SD card with 1 gb ext4 partition
I was flashed with a perfectly working Leedroid 2.2f rom, overkill backed up with Clockwork, AmonRa, Titanium, MyBackup Pro, complete SD card backup (you name it, I did it), then wiped and flashed ownhere's Rom because I was running out of app space. The flash was successful then I proceeded to backup ownhere's rom after re-installing all my apps and I think that's where the problem began. I began my first backup with Clockwork via Rom Manager, but was not getting any response, so I rebooted my phone into Clockwork Recovery and backed up ownhere's rom there. After that, I could not turn on my phone.
I'd appreciate if someone could point me in the right direction. As of right now, my phone goes into a vicious boot loop whenever I try to turn it on. I can still get into hboot by holding down the power button and volume down button and then get into Android system recovery (Amon Ra Recovery, build: RA-desire-v2.0.0) by selecting "recovery", but when I try to do a nandroid restore, the error message I get is:
E:Can't mount /dev/block/mmcblk0p1 (or /dev/block/mmcblk0)
(No such file or directory)
E:Can't mount SDCARD:/nandroid/
I've googled many times and have attempted to follow the steps outlined by various tutorials with similar sounding problems, but unfortunately to no avail. I've tried formatting my SD card on my computer, re-partitioning the SD card on my phone (not sure if that was successful), wiping it, attempting to restore it, attempting to flash it, but I keep getting that same error message above in the end.
I certainly don't deserve it after what I've done, but any help would be greatly appreciated! Thanks for having the patience to read.
EDITED: Below are the steps I took to resolve the issue.
First and foremost, I'd like to point out that prior to encountering this problem (or any problem for that matter), I did a very thorough job of backing up my entire phone multiple times through various methods, but it turns out I only really needed a single nandroid backup and mariosraptor's help. Still, better safe than sorry, I say, which is ironic considering what I did to my phone. Ah well.
Anyway, after running into my problem as described in my OP (original post), the following steps were needed to restore functionality to the phone:
1) With the phone turned off, I booted it into Fastboot by either a) holding down volume rocker+power on button, then choosing "fastboot" or b) holding back button+power on button, which takes you straight into "fastboot".
2) Once in fastboot, I connected my phone to my computer via USB cable.
3) I'm not sure if I needed it running or not, but I then ran Android SDK (a program I used back when I first got my phone and was tinkering with rooting and forcing apps to install onto the SD card before I learned about SD card partitioning and AP2SD/AP2SD+ supported roms and now DATA2SD/DATA2EXT). This program can be downloaded here and an example of how it's used is here, but I'm assuming (I know I shouldn't assume, but I can only describe things I've done or have already done) anyone who as gotten this far already has this program and used it before, even with limited knowledge.
4) I then went into my Start Menu in Windows and ran command prompt. The simplest way to run command prompt, I find, is to type "cmd" into the run dialog, then enter.
5) Once command prompt popped up, I typed in cd\ to change the directory to C:\ and then entered in cd android-sdk-windows/tools to open the directory to c:\android-sdk-windows\tools (I just noticed that you enter in /backsplashes, but end up with \forwardslashes, weird!).
6) I then typed in the fastboot commands as outlined by mariosraptor, that is, I entered "fastboot oem enableqxdm 0" pressed enter, let it finish, then typed in "fastboot reboot" and enter. Wait for phone to reboot, could take a while.
I'm hoping for most people those are all the steps needed in order to restore the phone, but in my case, after entering "fastboot oem enableqxdm 0", I received an error saying: "The program can't start because AdbWinApi.dll is missing from your computer. Try reinstalling the program to fix this problem." I was about to re-install when mariosraptor provided me with the AdbWinApi.dll file here. This is rapidshare link so it will expire. My suggestion is to search for it somewhere (google) if you run into the same missing file as me.
My problem actually didn't stop there either. I found my phone was stuck on the boot animation, although I supposed I could've left it even longer just to make sure it wasn't working, but I actually took my battery out to shut the phone down. I then proceeded to do a nandroid restore to a previous backup I had done before I created this whole problem. I did that by booting the phone into recovery by holding down volume rocker+power button, selecting "recovery", then selecting "nandroid backup/restore" and letting the process go through fully, which took quite some time.
Anyway, it's been a long 20 or so hours for me. I'm going to go rest now. Props again to mariosraptor!
in fastboot mode through adb cmd
fastboot oem enableqxdm 0
fastboot reboot
as long as you are S-off you can use fastboot commands and it is recommended that whatever you do from the moment that youre S-off'd you use fastboot and adb for various works on your Desire.
for more fastboot commands in adb just type fatboot
Hey mario, thanks for the quick reply.
I'm currently reading ADB for Dummies to figure out what you're talking about and will get back to you. I know I've used it before when I rooted my phone, but I was just following step-by-step instructions and had no idea what I was doing.
I recall seeing "unknown device" in device manager while my phone was plugged into my computer via USB during one of my recent attempts at fixing my current issue.
PS. I'm on Windows 7.
So I haven't been able to get far. I've noticed all the ADB commands that need to be entered in command prompt require me to have my phone in "USB debugging mode" by going into in Settings>Applications>Development, but I can't even turn on my phone to get there.
Am I missing something from your instructions? Sorry, my knowledge is quite limited.
When you are in Amonra, you are automaticly in "adb mode" so you can ignore that step. You should however install htc sync for the drivers needed.
turn off your phone by removing battery. press the back button+power on. you are in fastboot mode. the correct cmd's are fastboot commands.
like "fastboot reboot-bootloader" w/o the quotes.
ayato kamina said:
So I haven't been able to get far. I've noticed all the ADB commands that need to be entered in command prompt require me to have my phone in "USB debugging mode" by going into in Settings>Applications>Development, but I can't even turn on my phone to get there.
Am I missing something from your instructions? Sorry, my knowledge is quite limited.
Click to expand...
Click to collapse
Gotcha, I was able to get into "fastboot USB" by following your back button+power on (or down volume+power, then selecting fastboot) and connecting a USB cable to from the phone to my computer. I then went into command prompt (cmd) in the start menu. Typed in:
1) cd\
2) cd android-sdk-windows\tools
3) entered in "fastboot oem enableqxdm 0"
I then received the error message: The program can't start because AdbWinApi.dll is missing from you computer. Try reinstalling the program to fix this problem.
That will be my next step is to re-install Android SDK Windows.
Will report back, thanks!
Lennyz1988 said:
When you are in Amonra, you are automaticly in "adb mode" so you can ignore that step. You should however install htc sync for the drivers needed.
Click to expand...
Click to collapse
Thanks for pointing that out, Lenny. I didn't know that. I'm not sure if I have the HTC Sync drivers, but in fastboot mode (as instructed by mario), I checked device manager in properties of My Computer and the unknown device exclamation icon is gone. I see, ADB interface>HTC Bootloader.
http://rapidshare.com/files/380196682/AdbWinApi.dll
donload it from the link and put in tools foder of SDK
mariosraptor said:
http://rapidshare.com/files/380196682/AdbWinApi.dll
donload it from the link and put in tools foder of SDK
Click to expand...
Click to collapse
Phew! Thanks Mario! I was struggling to re-install Android SDK for some reason. A problem with Java SE JDK. *shrugs*
Will continue now....
i hope it helps. i will see more tomorrow. good luck!!!
ayato kamina said:
Phew! Thanks Mario! I was struggling to re-install Android SDK for some reason. A problem with Java SE JDK. *shrugs*
Will continue now....
Click to expand...
Click to collapse
PROGRESS!!
So I'm finally passed the S-off splash screen and am waiting on the boot animation screen. I expect there to be a problem because I've been formatting and partitioning my SD card so much, the card itself may actually be empty at the moment (not sure). I will wait for while and if nothing changes, I'm going to restore my SD card and try again.
Thanks for getting me this far so far, Mario! Much appreciated!
just let see what happens and hopefully it will work again.
ayato kamina said:
PROGRESS!!
So I'm finally passed the S-off splash screen and am waiting on the boot animation screen. I expect there to be a problem because I've been formatting and partitioning my SD card so much, the card itself may actually be empty at the moment (not sure). I will wait for while and if nothing changes, I'm going to restore my SD card and try again.
Thanks for getting me this far so far, Mario! Much appreciated!
Click to expand...
Click to collapse
mariosraptor said:
in fastboot mode through adb cmd
fastboot oem enableqxdm 0
fastboot reboot
as long as you are S-off you can use fastboot commands and it is recommended that whatever you do from the moment that youre S-off'd you use fastboot and adb for various works on your Desire.
for more fastboot commands in adb just type fatboot
Click to expand...
Click to collapse
my phone is connected,drivers are installed and it is available in fastboot. But when I am typing "fastboot oem enableqxdm 0" it returnes: "... FAILED (status malformed (1 bytes))" and nothing happens.
could u help pleas?
mariosraptor said:
just let see what happens and hopefully it will work again.
Click to expand...
Click to collapse
YES! I can finally turn on my phone again! Thanks so much, Mario! You are a genius and thank you for being so patient with me.
This is what happened:
I waited a while and the phone remained stuck on the boot animation so I took the battery out and completely restored all my files onto my partitioned SD card. I tried booting again with similar results so I tried running a nandroid restore to a previous Leedroid rom from Amon Ra Recovery and no longer received the cannot mount message so the restore was finally able to execute and after a lengthy boot process, I'm up and running again!
Thanks again so much! Once more, I could not have done it without your help. I'm going to see how stable it is, but it looks very good. By tomorrow if I'm still up, I will re-edit my first post with the exact steps I took to remedy my particular problem.
May I have your paypal email address?
persianblue said:
my phone is connected,drivers are installed and it is available in fastboot. But when I am typing "fastboot oem enableqxdm 0" it returnes: "... FAILED (status malformed (1 bytes))" and nothing happens.
could u help pleas?
Click to expand...
Click to collapse
Sorry to hear that, persianblue. In light of your problem, I will write the solution right now, although it sounds like a you're getting a different error message than I did after entering the fastboot command. Regardless, I will post the step-by-step instructions because there's no guarantee you did exactly what I did to recover my phone.
I'll have it up shortly.
SOLUTION
copied and pasted from the first post:
Below are the steps I took to resolve the issue.
First and foremost, I'd like to point out that prior to encountering this problem (or any problem for that matter), I did a very thorough job of backing up my entire phone multiple times through various methods, but it turns out I only really needed a single nandroid backup and mariosraptor's help. Still, better safe than sorry, I say, which is ironic considering what I did to my phone. Ah well.
Anyway, after running into my problem as described in my OP (original post), the following steps were needed to restore functionality to the phone:
1) With the phone turned off, I booted it into Fastboot by either a) holding down volume rocker+power on button, then choosing "fastboot" or b) holding back button+power on button, which takes you straight into "fastboot".
2) Once in fastboot, I connected my phone to my computer via USB cable.
3) I'm not sure if I needed it running or not, but I then ran Android SDK (a program I used back when I first got my phone and was tinkering with rooting and forcing apps to install onto the SD card before I learned about SD card partitioning and AP2SD/AP2SD+ supported roms and now DATA2SD/DATA2EXT). This program can be downloaded here and an example of how it's used is here, but I'm assuming (I know I shouldn't assume, but I can only describe things I've done or have already done) anyone who as gotten this far already has this program and used it before, even with limited knowledge.
4) I then went into my Start Menu in Windows and ran command prompt. The simplest way to run command prompt, I find, is to type "cmd" into the run dialog, then enter.
5) Once command prompt popped up, I typed in cd\ to change the directory to C:\ and then entered in cd android-sdk-windows/tools to open the directory to c:\android-sdk-windows\tools (I just noticed that you enter in /backsplashes, but end up with \forwardslashes, weird!).
6) I then typed in the fastboot commands as outlined by mariosraptor, that is, I entered "fastboot oem enableqxdm 0" pressed enter, let it finish, then typed in "fastboot reboot" and enter. Wait for phone to reboot, could take a while.
I'm hoping for most people those are all the steps needed in order to restore the phone, but in my case, after entering "fastboot oem enableqxdm 0", I received an error saying: "The program can't start because AdbWinApi.dll is missing from your computer. Try reinstalling the program to fix this problem." I was about to re-install when mariosraptor provided me with the AdbWinApi.dll file here. This is rapidshare link so it will expire. My suggestion is to search for it somewhere (google) if you run into the same missing file as me.
My problem actually didn't stop there either. I found my phone was stuck on the boot animation, although I supposed I could've left it even longer just to make sure it wasn't working, but I actually took my battery out to shut the phone down. I then proceeded to do a nandroid restore to a previous backup I had done before I created this whole problem. I did that by booting the phone into recovery by holding down volume rocker+power button, selecting "recovery", then selecting "nandroid backup/restore" and letting the process go through fully, which took quite some time.
Anyway, it's been a long 20 or so hours for me. I'm going to go rest now. Props again to mariosraptor!
Click to expand...
Click to collapse
Congrats mate. nice to hear that you are up and running again. this is what the community does. Help each other!!!
mariosraptor said:
Congrats mate. nice to hear that you are up and running again. this is what the community does. Help each other!!!
Click to expand...
Click to collapse
Absolutely! I'm discovering that firsthand thanks to you. Again, I appreciate your help. I had spent soooo much time trying to figure it out on my own and you were able to help me right away.
You sir, are a class act!
So it's been over a full day since my personal debacle and I'm happy to say my phone is still up and running . There has been, however, one abnormality. It's not a huge issue in the long run as I can still use the phone as I normally do, but I've noticed whenever I plug my micro-usb cable into my phone (with the other end either connected to a computer or a power outlet), there is a noticeable delay before it starts charge. Also, when connected to a computer, I'm no longer receiving the prompt for 1) charge only 2) mount sd card 3) sync 4) etc etc.
The icon in the top left that normally pops up doesn't show either when I have it connected to computer. Again, not a big deal in the long run, but obviously it can be a nuisance not being able to transfer files b/t my phone and computer via this method anymore. Not sure if anyone else has encountered this issue. I'm using the same cable, same computer. My next step is to try it on a diff computer, then eventually a different cable and hopefully that might be the issue.
First off, this forum rocks. First post but have read a tremendous amount since learning to root and rom my Thunderbolt.
I upgraded to the Galaxy Nexus (CDMA), and decided to try the "one-click root" which left me with the followign problem.
It seemed to work ok, however when I booted into recovery, recovery failed to load and I got the android w/ exclamation.
I tried a few other things to no avail, at one point I hit a volume up and down and got a limited clockwork menu on the screen, one which was factory wipe (as I was intending to install a ROM).
The wipe hung, so I pulled the battery and was left in a loop.
I booted back into fastboot, and it shows as unlocked, but I can't get it to show as a device in ADB.
I'm assuming this may be a driver issue. I did re-download the Android SDK but this didn't seem to make a difference.
I get the USB connection, but the phone displays "Fastboot Command Read Error -2147483647". I did try to kill server and try again as I saw suggested in some other posts but no luck.
In device manager it shows as "SAMSUNG Android ADB Interface" for the driver 2.9.310.1125.
I'm thinking fastboot should be a non-samsung branded driver?
Anyhelp is appreicated.
thanks!
soulman1980 said:
First off, this forum rocks. First post but have read a tremendous amount since learning to root and rom my Thunderbolt.
I upgraded to the Galaxy Nexus (CDMA), and decided to try the "one-click root" which left me with the followign problem.
It seemed to work ok, however when I booted into recovery, recovery failed to load and I got the android w/ exclamation.
I tried a few other things to no avail, at one point I hit a volume up and down and got a limited clockwork menu on the screen, one which was factory wipe (as I was intending to install a ROM).
The wipe hung, so I pulled the battery and was left in a loop.
I booted back into fastboot, and it shows as unlocked, but I can't get it to show as a device in ADB.
I'm assuming this may be a driver issue. I did re-download the Android SDK but this didn't seem to make a difference.
I get the USB connection, but the phone displays "Fastboot Command Read Error -2147483647". I did try to kill server and try again as I saw suggested in some other posts but no luck.
In device manager it shows as "SAMSUNG Android ADB Interface" for the driver 2.9.310.1125.
I'm thinking fastboot should be a non-samsung branded driver?
Anyhelp is appreicated.
thanks!
Click to expand...
Click to collapse
When you boot back into fastboot look under device manager on your computer and you will probably find a yellow question mark by your device. You will need to download the Samsung driver and manually install it at that screen. Then you can fastboot oem lock and then fastboot oem unlock and that should fix your boot loop issue. The android with exclamation point is the factory recovery, if you rooted and still have root download rom manager in the market and flash clockworkmod through it.
badassirocz said:
When you boot back into fastboot look under device manager on your computer and you will probably find a yellow question mark by your device. You will need to download the Samsung driver and manually install it at that screen. Then you can fastboot oem lock and then fastboot oem unlock and that should fix your boot loop issue. The android with exclamation point is the factory recovery, if you rooted and still have root download rom manager in the market and flash clockworkmod through it.
Click to expand...
Click to collapse
definitely check for any drivers, but i haven't heard anybody needing to re-lock & unlock before. once you have the drivers you should be able to use 'fastboot' from the fastboot screen. not adb. after your drivers, type 'fastboot devices' and see if anything comes up.
also, if you can get into clockwork recovery, look at your device manager again for yellow errors....often there is another driver that doesn't install itself properly; the one that allows you to use adb while in CWM.
cancerouspete said:
definitely check for any drivers, but i haven't heard anybody needing to re-lock & unlock before. once you have the drivers you should be able to use 'fastboot' from the fastboot screen. not adb. after your drivers, type 'fastboot devices' and see if anything comes up
Click to expand...
Click to collapse
Fastboot OEM lock and the Fastboot OEM unlock is a known fix to correct a loop soft brick issue that he noted
badassirocz said:
Fastboot OEM lock and the Fastboot OEM unlock is a known fix to correct a loop soft brick issue that he noted
Click to expand...
Click to collapse
which is because it is just doing a factory wipe correct? if he fixes his drivers & fastboot issue, he should be able to just flash an image without wiping the whole phone
I guess in some aspect yes but if the phone is not softbricked anymore that he should be fine not doing it. Most of the time the ADB issue is like you stated that when you boot into fastboot the driver is not recognized so you need to do a manual install to fix it. If his battery pull left the phone stuck in a boot loop he will have to re-lock and then unlock to fix it.
You guys really are a godsend.
So, the drivers all seemed good and installed properly (no exclamation or question mark in Device Manager).
Ultimately, I knew there was a driver issue so I just went to a different computer (running win7 64). Coulnd't get that to work, then found drivers arn't supported. I also found the PDANET work around.
This allowed me to install the driver and fastboot WAS able to detect the device.
Following some advice and some other posts I tried "fastboot oem lock", which worked successfully.
I then rebooted, was still in a loop, then pulled the battery.
I ran "fastboot oem unlock", then rebooted.
This time I got past the "google" screen and got the graphic screen.
This sat for awhile (3-4 minutes)??
Then it rebooted again (I almost cried) and I was back to the google logo. Again, it went past this point and displayed the graphical animation again.
Than, on the second time around came the "Welcome!" screen!!!!!!
As well as a rush of relief that is indescribable....
I spent 5 minutes living as Phillip Seymour Hoffman in Boogie Nights sitting in his car outside the party - then did a human xanax reboot and am happy to go to bed!
I'm only posting all of this in detail as an update, and so it is available for anyone else who may come into this problem.
It seems there are many ways to get stuck into this boot-loop besides what I did.
NOW - the next problem....
I'm in my phone, everything works. HOWEVER, I apparantly have a corrupt or bad install of Clockworkmod on my phone.
Do I just try everything again from scratch, or is there something I should do differently to reinstall CWM Recovery?
Thanks again!
glad you got booted. drivers are supported for windows 7 64x, using them currently btw.
i would download a new copy of cwm, confirm its md5 checksum first, and flash it again if you think its corrupt, or if you have rom manager you should be able to do it from there.
good luck
Glad you got it fixed. The lock and unlock fixes the boot loop issues as you found out. I would root your phone with cf-root using adb which you can find here on xda. Then install clockworkmod through rom manager which you can download free in the market.
Thanks again guys, all is good in the hood.
I followed the instructions to re-install CWM here:
http://forum.xda-developers.com/showthread.php?t=1392336
I picked up where I had left off (I already had phone unlocked).
All is perfect!
can't thank you all enough
Hi all,
Been having problems with my DHD for ages now - got myself a GS3 after a while so had kind of given up on it but now I really want to get it back to life as a backup (and for a temp replacement for my gf who got her phone driven over yesterday!). I've seen loads of similar problems to mine, but after searching here for months and following several soutions to one point or another, I always seem to get some kind of error that no-one else is getting and from there it branches off into new problems/methods. Kind of getting sick of going in circles so here I am asking for some DHD justice!
The problem is this:
A few months back the DHD started freezing/restarting intermittently (something to do with Sense I think, but tried the goldcard method of rooting it a few weeks before which failed, not sure if this could have affected things but it didnt seem to have any noticable effect for a while anyway) then eventually got either stuck in a loop on the carriers logo animation or hanging at the white background/green HTC logo screen. Couldn't get any further. Did a factory reset but the problem persisted. After a few weeks I came back to it and found that very occasionally I could get the phone to start up and get on the home screen. I can do a few things (like enabling USB debugging luckily) there but get DOZENS of notifications that various processes are failing and eventually the phone reboots or jumps to the HTC logo screen again. Either this happens before I can do very much on the phone or some process fails and nothing happens. So really I need a solution thats mostly PC based - but pretty much every program or command line operation fails to actually see the phone. I'm assuming here what I need to do it flash a new ROM to replace what I also assume is a corrupt existing one? I've tried RUU .exe type fixes - which don't see the phone. Most of the command line instructions fail to see the phone either. The phone isn't rooted so I'm guessing this would need to be done to flash a new ROM (a working version of the stock one would be fine for what I need it for but having a custom one would be nice). I've got nowhere with trying to flash ROMs as is (not rooted, S-ON), and also nowhere with various root/s-off tools. TBH I'm not really sure which stage of the process I need to be trying first. The other day the phone suddenly booted ok without the notifications and worked for around 6 hours before something made it reboot and return to the boot loop.
On the HBOOT screen I have the following:
ACE PVT SHIP S-ON RL
HBOOT-0.85.0024
MICROP-0438
RADIO-26.09.04.28_M2
eMMC-boot
Trying to boot into recovery just gets me the red triangle screen. Trying a new image from SD doesnt work as it doesnt see the card mounted.
Thanks for taking the time to read my tale of woe. Anyone got an idea where to start with this?
MerkyBlud said:
Hi all,
Been having problems with my DHD for ages now - got myself a GS3 after a while so had kind of given up on it but now I really want to get it back to life as a backup (and for a temp replacement for my gf who got her phone driven over yesterday!). I've seen loads of similar problems to mine, but after searching here for months and following several soutions to one point or another, I always seem to get some kind of error that no-one else is getting and from there it branches off into new problems/methods. Kind of getting sick of going in circles so here I am asking for some DHD justice!
The problem is this:
A few months back the DHD started freezing/restarting intermittently (something to do with Sense I think, but tried the goldcard method of rooting it a few weeks before which failed, not sure if this could have affected things but it didnt seem to have any noticable effect for a while anyway) then eventually got either stuck in a loop on the carriers logo animation or hanging at the white background/green HTC logo screen. Couldn't get any further. Did a factory reset but the problem persisted. After a few weeks I came back to it and found that very occasionally I could get the phone to start up and get on the home screen. I can do a few things (like enabling USB debugging luckily) there but get DOZENS of notifications that various processes are failing and eventually the phone reboots or jumps to the HTC logo screen again. Either this happens before I can do very much on the phone or some process fails and nothing happens. So really I need a solution thats mostly PC based - but pretty much every program or command line operation fails to actually see the phone. I'm assuming here what I need to do it flash a new ROM to replace what I also assume is a corrupt existing one? I've tried RUU .exe type fixes - which don't see the phone. Most of the command line instructions fail to see the phone either. The phone isn't rooted so I'm guessing this would need to be done to flash a new ROM (a working version of the stock one would be fine for what I need it for but having a custom one would be nice). I've got nowhere with trying to flash ROMs as is (not rooted, S-ON), and also nowhere with various root/s-off tools. TBH I'm not really sure which stage of the process I need to be trying first. The other day the phone suddenly booted ok without the notifications and worked for around 6 hours before something made it reboot and return to the boot loop.
On the HBOOT screen I have the following:
ACE PVT SHIP S-ON RL
HBOOT-0.85.0024
MICROP-0438
RADIO-26.09.04.28_M2
eMMC-boot
Trying to boot into recovery just gets me the red triangle screen. Trying a new image from SD doesnt work as it doesnt see the card mounted.
Thanks for taking the time to read my tale of woe. Anyone got an idea where to start with this?
Click to expand...
Click to collapse
1. S-off your device
2. Use android flasher
3. AND easily flash flash recovery thorough this software....
Sent from my HTC Desire HD using xda premium
MaratabHashmi said:
1. S-off your device
2. Use android flasher
3. AND easily flash flash recovery thorough this software....
Sent from my HTC Desire HD using xda premium
Click to expand...
Click to collapse
S-off requires rooting it first, am I right? Not having much luck with that - HTC Quickroot claims its been done but none of the apps such as SuperUser are present when it reboots...
Suggestions anyone? efforts to S-OFF not working so far...:fingers-crossed:
You don't need to root if all you want to do is run a RUU. Are you trying to do it through ADB or fastboot? Is the RUU you're trying compatible with your phone's region?
bananagranola said:
You don't need to root if all you want to do is run a RUU. Are you trying to do it through ADB or fastboot? Is the RUU you're trying compatible with your phone's region?
Click to expand...
Click to collapse
I'm trying running the .exe file from the pc, I'm 99.9% sure its the correct region (3UK stock). It gets as far as bringing up a screen with a grey HTC logo while the PC says 'waiting for bootloader' before I get an error message saying the USB connection is lost (tried 3 different cables and there is no issue with faulty cables, or either end being unplugged, ). ADB doesnt see the phone as connected. Fastboot doesnt seem to do much as usually when the phone reboots as part of the process it freezes or goes back into bootloop. I've tried putting ROMs on the sd card and updating from the recovery menu but the phone doesnt see the card as mounted in this mode (when it does boot and run ok for a few minutes it does eventually see the card).
I'm confused. You have a recovery menu? Is your phone's bootloader unlocked?
Sorry, I mean the menu accessed through power on + vol down. No, tried unlocking it through the HTC site but no joy.
That's the bootloader. What procedure are you using for fastboot?
Via ADB commands - havent tried with fastboot methods recently though so I forget which particular guide I was using. I'm sure there are all kinds of noob alarms and flashing lights going off somewhere
You cannot run a RUU from adb. Only fastboot.
Where do I start with this then? I have the fastboot pc files installed already but didn't get anywhere, seem to remember the phone rebooting from a command and then just going back to the logo bootloop before it could progress - very possibly doing something wrong though.
Update: Tried the following:
Ran the RUU.exe until the wizard comes up. While the RUU wizard was open, found the temporary folder it created.Found ROM.zip. Opened it, extracted recovery.img. Put it in the location where Android SDK tools is installed. Booted the phone into bootloader, gone to FASTBOOT USB. Opened a command prompt, navigated to the folder with Android SDK tools. Entered:
fastboot flash recovery recovery.img
BUT still getting an error: "'fastboot' is not recognized as an internal or external command, operable program or batch file." :S
MerkyBlud said:
Where do I start with this then? I have the fastboot pc files installed already but didn't get anywhere, seem to remember the phone rebooting from a command and then just going back to the logo bootloop before it could progress - very possibly doing something wrong though.
Update: Tried the following:
Ran the RUU.exe until the wizard comes up. While the RUU wizard was open, found the temporary folder it created.Found ROM.zip. Opened it, extracted recovery.img. Put it in the location where Android SDK tools is installed. Booted the phone into bootloader, gone to FASTBOOT USB. Opened a command prompt, navigated to the folder with Android SDK tools. Entered:
fastboot flash recovery recovery.img
BUT still getting an error: "'fastboot' is not recognized as an internal or external command, operable program or batch file." :S
Click to expand...
Click to collapse
You need to change to the correct folder on your PC where your fastboot.exe file is, thats why your getting your error.
Why you trying to flash stock recovery? Unless I missed it, From what I can see on your posts your still s-on, so you can't flash anything like that from fastboot anyway.
Sent from my GT-I9505 using xda app-developers app
The error you're getting is that your computer can't find the fastboot file. It's not an error from fast out itself. Open the folder with fastboot in it, shift-rightclick, and choose "open command window here." Also, I thought you were running a RUU, not actually using fastboot to flash images. If you want to flash stuff you need to unlock bootloader.
bananagranola said:
The error you're getting is that your computer can't find the fastboot file. It's not an error from fast out itself. Open the folder with fastboot in it, shift-rightclick, and choose "open command window here." Also, I thought you were running a RUU, not actually using fastboot to flash images. If you want to flash stuff you need to unlock bootloader.
Click to expand...
Click to collapse
Yeah, I was initially trying to run the RUU.exe but that method wasn't working as I mentioned, so I tried extracting the rom it created and flashing that via fastboot.(Didn't know that shift/rightclick thing, thanks). As for s-off I haven't found a way of doing that without rooting, hence why I thought I couldn't get anywhere without rooting the phone first.
When I try and unlock the bootloader ( at http://www.htcdev.com/bootloader/ruu-downloads) , it wants to update the HBOOT first, this is how far I get with the process:
"BEFORE beginning the Unlock Bootloader process your product requires that you update the ROM to the version listed in the table below first, then download the RUU next to it to enable the unlocking capability.
To install the RUU, simply follow these instructions:
On your phone, enable USB debugging. (From the Home screen, MENU > Settings > Applications > Development > Check USB debugging)
Connect your phone to the computer using the USB cable that came with your phone. Wait a moment for your computer to identify your phone, this may take a few minutes. After your computer has found your phone, double click on the RUU to start the process"
I get as far as bringing up a screen with a grey HTC logo while the PC says 'waiting for bootloader' before I get an error message saying the USB connection is lost (so exactly the same problem trying to update the HBOOT as trying to run the RUU.exe) so I'm not sure how I'm going to unlock the bootloader if this method isn't working - direct .exe method doesnt work, and the process I need to unlock the bootloader so I can flash via fastboot doesnt work for the same reason.
Have you tried booting into bootloader and choosing fastboot before trying the RUU?
Yep. Same USB connection error despite having 'FASTBOOT USB' showing....
Type "fastboot devices." What does it say? Do you have your drivers from HTC Sync installed?
Hi all, had the phone working ok for a while, it wanted to do a software update which froze at 12%, however after cancelling it the phone seems to be problem free. Dont really get this as surely the incomplete update wouldnt take..? but something must have changed. The phones been ok for over a week now although I havent rebooted it or let the battery run flat...still dont trust it entirely!
Earlier today I used the Nexus Root Tool Kit to flash stock and flash the factory image for 5.0.
At erasing User Data it seemed to get stuck, it was there for over 40 minutes. While looking at the device I accidentally knocked the USB cable out and it said failed. Upon rebooting the device I got the Google logo and the bootloader unlocked icon and then the bugdroid with the gear like it's doing an update (THIS: http://scottiestech.info/wp-content/uploads/2013/03/Android_Update_Screen.jpg[1] ). It stayed like this for another 40 minutes. I forced it to shut down and tried to get into the bootloader but holding down vol up+vol down+power for almost 60 seconds did nothing.
I then booted it up normally again to the gear bugdroid and left it like that before I went out for almost 6 hours. When coming home it was the same and still stuck on that.
I rebooted again and held down to boot into the bootloader but again it did not boot in over 60 seconds.
So am I hard bricked and should toss this out with the trash tonight or can this be restored somehow.
Are you able to connect to your device using fastboot?
Assuming you have fastboot installed and the drivers installed, open a command prompt and from the directory where your SDK files are (unless you added the directory to your system PATH), type "fastboot devices" without the quotes. What do you get back? If you get back a serial#, you should be able to flash the individual files manually
(Download the factory image from google's site, and extract the files into a folder, and run the flash-all.bat This will wipe all your data out, and assumes your bootloader is already unlocked)
Edit: follow the instructions here - http://forum.xda-developers.com/google-nexus-5/general/tutorial-how-to-flash-factory-image-t2513701
These are for Nexus 5, but the same steps apply for Nexus 7 as well. Just make sure you download the right factory image for your Nexus 7. Use Method 1
jj14 said:
Are you able to connect to your device using fastboot?
Assuming you have fastboot installed and the drivers installed, open a command prompt and from the directory where your SDK files are (unless you added the directory to your system PATH), type "fastboot devices" without the quotes. What do you get back? If you get back a serial#, you should be able to flash the individual files manually
(Download the factory image from google's site, and extract the files into a folder, and run the flash-all.bat This will wipe all your data out, and assumes your bootloader is already unlocked)
Edit: follow the instructions here - http://forum.xda-developers.com/google-nexus-5/general/tutorial-how-to-flash-factory-image-t2513701
These are for Nexus 5, but the same steps apply for Nexus 7 as well. Just make sure you download the right factory image for your Nexus 7. Use Method 1
Click to expand...
Click to collapse
Well I can get it into fastboot but I'm getting errors when it tries to flash the bootloader or boot.
what's the error message?
jj14 said:
what's the error message?
Click to expand...
Click to collapse
originally there was none, it just said failed and completed. now i'm getting invalid arguments.
I'm still in fastboot mode but literally nothing will flash.
*edit* just tried to use tookit again and
writing 'bootloader'
FAILED <remote: flash write failure>
finished.
Seeing a couple people mention that they fixed errors like this just from using a different usb port or cable. going to try that.
Why didn't you use adb to flash factory image from the get-go? It's the safest way to flash. I would be so mad on your place if device would render useless. But that might be just me since i'm poor. I really hope you manage to fix it.
neo5468 said:
Why didn't you use adb to flash factory image from the get-go? It's the safest way to flash. I would be so mad on your place if device would render useless. But that might be just me since i'm poor. I really hope you manage to fix it.
Click to expand...
Click to collapse
I knew of that way but the Nexus Tool Kit has always been perfect and I've never had any issues with it so I figured I'd just do it that way to make it easier and well, it didn't happen.
I'm hoping because I can get into fastboot that it's not actually bricked yet but if so then oh well i guess.
Recently I had some trouble with my pixel 2 as my magisk root had magically disappeared, because of this I decided to fix it and re-flash magisk using fastboot to flash the modified boot.img. Since then my Pixel 2 XL wont turn on, I attempted to also flash twrp as well but was met with only a frozen splash screen. Since then I've tried to re-flash the entire OS that was downloaded from the google database and yes for the right version (taimen). I've auto tried to restore it using the android flash tool available through google online as well with limited success.
So here's my current situation. Right now turning on the phone takes me straight to the bootloader screen, attempting to hold volume up or anything other button combinations does nothing but take me to the bootloader screen. Attempting to use the android flash tool now turns the phone off the instant the pc detects it, trying to flash manually with fastboot (the latest version yes) does not work and even a simply "fastboot devices" returns "???????????? fastboot" which then reboots the phone. I'm kinda at a loss of what to do here, i've had softbricks on other phones before but have always managed to fix it one way or another but this one has sadly beaten me
p.s. I've already tried 3 different cables
tcxufatime said:
Recently I had some trouble with my pixel 2 as my magisk root had magically disappeared, because of this I decided to fix it and re-flash magisk using fastboot to flash the modified boot.img. Since then my Pixel 2 XL wont turn on, I attempted to also flash twrp as well but was met with only a frozen splash screen. Since then I've tried to re-flash the entire OS that was downloaded from the google database and yes for the right version (taimen). I've auto tried to restore it using the android flash tool available through google online as well with limited success.
So here's my current situation. Right now turning on the phone takes me straight to the bootloader screen, attempting to hold volume up or anything other button combinations does nothing but take me to the bootloader screen. Attempting to use the android flash tool now turns the phone off the instant the pc detects it, trying to flash manually with fastboot (the latest version yes) does not work and even a simply "fastboot devices" returns "???????????? fastboot" which then reboots the phone. I'm kinda at a loss of what to do here, i've had softbricks on other phones before but have always managed to fix it one way or another but this one has sadly beaten me
p.s. I've already tried 3 different cables
Click to expand...
Click to collapse
https://forum.xda-developers.com/pixel-2-xl/help/pixel-2-bricked-t3889296 on the last page there are possible solutions to try. Have you tried a different port?
Also, as you can use fastboot in the bootmenu, download the twrp.img (link) to your adb.exe directory and use the adb shell to type 'fastboot boot twrp.img'.
If that works you could go to the reboot option and change the A/B slot to the other version used.
Through twrp - tools, you can also select adb mode to allow your PC adb shell to use 'adb sideload ota.zip'.
Use the ota.zip version of your current version which you download here.