So I have hit a wall.
I have an old HTC One M8 - I want to root it and play with it.
I have Mint 19 installed on my old Thinkpad, I want to start learning Python and GO and doing things with Android.
So I successfully unlocked the bootloader last night I can't even remember how but I followed instructions and did it.
Now I am trying to root using TWRP and running into issues.
I have platform-tools on my desktop (I found it somewhere via these XDA Forums)
I have (I believe) a good TWRP HTC One M8 recovery image in that folder, named recovery.img
i got that through a link on here somewhere too.
I can successfully boot to the white text menu by restarting and holding power and volume down, and it says Fastboot USB
From there on my PC I open a command prompt in the platform-tools folder and put in the recommended command line:
fastboot flash recovery recovery.img (I have renamed it recovery.img)
It says it successfully flashed, but after this I cannot figure it out, it keeps booting to regular HTC start up screen.
I have SuperSU on the phone ready go to - I understand this would be the next step.
I also have the TWRP program on the phone but it doesn't do anything, the only thing I can do with it is download the iso for One M8 again.
Any ideas?
I am missing something here, I cannot boot into TWRP after its flashed.
Thanks
Related
SOLVED SOLVED SOLVED
Hi All
Is there anyone willing to help me recover my phone (presently stuck on logo screen). I've looked at various solutions posted on different forums but I just get confused.
So what I would like is idiots guide on how to do it, including how to write the commands codes so I can flash the updated CWM rom. Tried to work it out but everything I've tried keeps failing and I desperate to get my phone working again.
Please please help
Tell us what you have done so far m8 and the reason for it being stuck. At a guess did you flash the boot.img when installing a Rom?
To install or update recovery, go here and follow the instructions on the second part "Installing A Recovery" Just follow the steps its pretty easy.
http://forum.xda-developers.com/showthread.php?t=1592355
Flash the appropriate boot.IMG for your rom
Sent from my HTC One X using Tapatalk 2
hmmm
Thats what i've trying to do but I can't seem to work out what cmd codes I need to get it to work. All I get is:
'Downloads\OneXRoot' is not recognized as an internal or external command
operable program or batch file.
This error message on everything I try to do incuding flashboot, flashboot recovery etc
Tried micks solution and all it did was open Nero gggrrrrrr
And yes I did flash a boot image but i'm trying to get the updated one onto my phone but because my battery won't charge it proving to be a nightmare
From the link I posted do as the guide says re making a folder called fastboot on C: and then download the files and extract them to fastboot. Replace the end of the guide with instructions for flashing a boot image. The boot.img is usually in the zip of the rom. So you need to extract the boot.img and place it in your C:\fastboot folder
It should go something like this. Use C:\ not Downloads\OneXRoot
1. Download These Fastboot Files
2. Make a new folder on your C: drive called fastboot.
3. Extract The Zip downloaded in step 1 to the new folder
4. The Official Version of CWM has been released and is now capable of flashing all roms, you can grab it HERE
5. download the custom recovery and save it in the same folder as you did the fastboot files
6. Power Phone Off by Holding power button for 10 secs
7. select Fastboot with volume + or - then press power
8. plug your phone into your PC and open a Command Prompt.
(windows XP - Click Start > Run > type CMD in box then press OK
(Windows 7 - Click Start > type CMD in search box then press Enter)
9. cd to your fastboot files folder cd c:\fastboot
10. Then enter fastboot flash boot boot.img and hit enter
11. fastboot erase cache is recommended if you have booting issues
reboot
ignore steps 4 and 5, copy and paste from above link
Going to buy a new phone
Followed your instruction to the letter but it failed to work. I think the problem is with my computer not recognising fastboot and the solution also failed. So I think i'm just going to buy a new phone and thanks for all your help
No need to buy a new phone, stick with it, you'll get there
Maybe give this a try. It does everything for you
http://forum.xda-developers.com/showthread.php?t=1734365
Nice
Thanks thats a solution that will work once I find away to charge my battery. You have been a legend.
Cant you just put it in to recovery or leave it on the hboot screen, then plug in to a wall charger?
In Q&A, find the topic "flashing boot.img hoooooooow????" Or something, and at second side, u have my guide to flash boot.img files. Hope it works.
Sent from my HTC One X using xda app-developers app
Hi all,
Hopefully someone can help. So I am stuck on the bootloop screen on CM10. I have searched and researched but so far to no avail.
Here's what I have so far:
My One X is the international version and I have unlocked the bootloader and rooted.
Instead of doing the usual route of downloading a rom on my PC, I tried it through the phone via an app on play called CM downlander.
I then attempted to install from SD as usual.
I am unable to mount the phone/sd via clockwork as the pc seems to not see the phone.
I have looked all over the web and the only thing I can find is something called android debugging bridge? This looks like it could be helpful.
Although I am a complete android geek, I am relatively new to custom android, I have run CM successfully on a GSII but that is it so if anyone can help, please could you do it newbie friendly? Thanks!
u have not flashed the kernel it seems.to mount sdcard,try rebooting recovery and then mount sdcard. just now this happened 2 me.
Sent from my One V
Which recovery do you have ? Is it cwm 5.8.4.0 ? If not ..... upgrade the recovery, it has the option to mount sd card as USB diskdrive.....and second, i doubt that you flashed the boot.img with fastboot commands ? It's needed because we can not flash complete roms with recovery because we are s-on ! You have to flash the kernel separately
First of all, download the cm10 zip from official source: get.cm/?device=endeavoru
Do you get an error if you try to mount in cwm?
Sent from my HTC One X
Sorry, being sent out by the missus! Will be back on tonight.
Hi guys, thanks for your replies earlier. In response:
I have downloaded a copy of cm10 on my pc. Unfortunately TToivanen I am unable to mount in cwm. I'm using 5.8.2.7.
I am almost certain you guys are correct, I vaguely remember flashing the kernel for my old GSII but didn't touch the kernel this time.
Now....how the hell do I do get out of this one!?
By the way, forgot to add. when I boot up I just get stuck in cm bootloop.
Easy fix: download latest cwm here:
http://download2.clockworkmod.com/recoveries/recovery-clockwork-touch-5.8.4.0-endeavoru.img
Then flash it in fastboot.
Code:
fastboot flash recovery filename.img
Then mounting usb should work.
And don't forget to extract the boot.img and flash it as well.
Sent from my HTC One X
Ok, I'm going to sound totally newbie now, I'm not sure how to do these things that you have suggested. Do I download to my pc then use a command line or something to get it to my phone?
Ok, just researching fastboot for windows now...
Alright, dl these fastboot files:
http://www.mediafire.com/?q2540u4g3v6qqd7
Extract and put the recovery img I linked in the fastboot folder.
Then hold shift and right click anywhere in that folder and select open command prompt here.
Hold power and volumedown to get to fastboot modeand connect usb cable to pc, on phone screen you should see fastboot usb.
Then execute the command I posted while ago.
Finally, on your phone menu, select hboot -> recovery.
Usb mounting should work now.
Flash rom and proceed to next step.
Installing kernel:
Extract boot.img from the rom.zip to the fastboot folder.
Open fastboot command prompt as described earlier and type
Code:
fastboot flash boot boot.img
followed by
Code:
fastboot erase cache
Sent from my HTC One X
don't forget to factory reset!...
Sent from my One V
Thanks. Just to top this off. I think my battery has died because it'll no longer switch on. I'm sure it was fully charged before I started. I know I saw a thread about that so will check it now.
Yeah, the one with the batch file.
Let it run at least overnight.
I'm off to bed and will check back tomorrow. :thumbup:
Sent from my HTC One X
TToivanen said:
Yeah, the one with the batch file.
Let it run at least overnight.
I'm off to bed and will check back tomorrow. :thumbup:
Sent from my HTC One X
Click to expand...
Click to collapse
Thanks TToivanen. LED is just slowly flashing red so will check it in the morning. Fingers crossed I can sort this tomorrow.
Cheers.
wow.....after this all, we have another expert on the team
Hi all, I'm off to a wedding today (on a Monday, I know) so won't be able to do anything to the phone today. I will be back on tomorrow though with a raging hangover. I will say though that I followed your instructions and got stuck at initiating the command. I'm not at the pc but it said something wasn't found. I'll post the full error message tomorrow.
Evening fellow geeks! Can I just say thanks for your replies so far. It's not like you are paid to do this so I just want to say that I appreciate your help.
I'm hoping that by the time I go to bed tonight I will have a working phone, that's my hope anyway.
I'm going to re-follow TToivanen's advice now and post the error message I am getting. Will post in a few minutes.
Ok, so I downloaded fast boot and the clockwork recovery file. Extracted fastboot and copied clockwork into it. Opened a command screen from fastboot, then entered the fastboot screen on my phone and attached usb.
This is where I think I am getting stuck/going wrong, I pasted fastboot flash recovery filename.img into the and screen and get the following:
C:\Users\Simon\Downloads\Fastboot>fastboot flash recovery filename.img
error: cannot load 'filename.img'
C:\Users\Simon\Downloads\Fastboot>
ilikegoogles said:
Ok, so I downloaded fast boot and the clockwork recovery file. Extracted fastboot and copied clockwork into it. Opened a command screen from fastboot, then entered the fastboot screen on my phone and attached usb.
This is where I think I am getting stuck/going wrong, I pasted fastboot flash recovery filename.img into the and screen and get the following:
C:\Users\Simon\Downloads\Fastboot>fastboot flash recovery filename.img
error: cannot load 'filename.img'
C:\Users\Simon\Downloads\Fastboot>
Click to expand...
Click to collapse
Download this. And paste to fastboot folder.
The file name in this case is: recovery-clockwork-touch-5.8.4.0-endeavoru.img
Or you can change the name to whatever easier to type.
TToivanen said:
Download this. And paste to fastboot folder.
The file name in this case is: recovery-clockwork-touch-5.8.4.0-endeavoru.img
Or you can change the name to whatever easier to type.
Click to expand...
Click to collapse
Cheers TToivanen. That is the one I have in the fastboot folder. For some reason though, I keep getting the same error when trying to execute the code.
Hello one and all, I seem to be having some trouble getting a custom rom.
Using "Hasoon2000's HTC One X All-In-One Kit",
I have completed the root process of my phone, and flashed a new boot.img file from my computer with the CMD that flashed a new rom.
Upon trying to reboot, I get stuck in a loop of the phone turning off, and the HTC logo again and again and I can't access my recovery from the toolkit, as it keeps telling me the device is not found.
I'm stuck on the fastboot/bootloader menu, but what I need right now is to open the recovery (or TWRP recovery menu which IS flashed and worked prior to this incident).
I have tried this on a windows 8 OS, then on a windows 7 OS re installing my drivers several times, but to no avail.
So my main questions are:
How can I get the device to be recognized?
How would I boot the stupid ROM?
Should I just revert back to custom?
and finally:
Why do chemists enjoy working with ammonia?
(Because it's pretty basic stuff.)
Thanks in advance for the help.
Hold the power button and the volume - together as long as needed to see the bootloader. Do not let go before, not even when the phone reboots.
From there you can navigate to the recovery.
Download the android sdk bundle, unpack it and navigate to the platform tools folder. Open a command window in there
Then uninstall HTC sync manager if you still have it but leave the drivers
Put the phone in the bootloader and then type in the command window on the pc
Fastboot devices
If a serial pops up you are good to go !
All right, guys, if you come through for me I'm going to buy you all lunch and give you pony rides.
I've got a Virgin Mobile (USA) Wildfire S CDMA in my hands. I've been trying to get it back to factory settings, so of course I tried to run an RUU (RUU_Marvel_Virgin_Mobile_1.37.351.1_Radio_47.10.35.3029H_7.46.35.08_release_188032_signed.exe located at AndroidFiles, if anyone's interested). I put the device into Fastboot USB mode, launched the RUU EXE, and sat back and watched as it updated the radio. Then the phone vibrated thrice and stayed black, while the RUU timed out and told me there was an error.
I've since discovered that the device is now in Qualcomm Recovery Mode, and the accepted way of fixing this is to put a PG76IMG.zip file on the SD card and press up a couple of times after your device powers on with five vibrations. The issue I'm having is that I can only get the device to vibrate three times when I hold VolDown and Power, regardless of how many different PG76IMG.zip files I try.
Where do I go from here? Any help at all would be appreciated. Think of the pony rides!
What file you downloaded? Try with this.
I don't know what Qualcomm Recovery Mode is, but you can try to install with fastboot.
Method:
First need to download the .zip Fastboot (win or ubuntu) but if you use ubuntu, need to dowload first SDK platform tools and then download the .zip, introducing it in the folder "Platform-tools". In windows only need to download.
Then, open terminal and browse to the folder. When you are in, write "fastboot flash system SYSTEMFILE.IMG". It flashes, final only need to reboot (fastboot reboot).
If you need to install a custom recovery the command is: fastboot flash recovery recoveryfile.img
You can download the file here.
Tell me what happened with the issue
LaMüSe said:
What file you downloaded? Try with this.
I don't know what Qualcomm Recovery Mode is, but you can try to install with fastboot.
Method:
First need to download the .zip Fastboot (win or ubuntu) but if you use ubuntu, need to dowload first SDK platform tools and then download the .zip, introducing it in the folder "Platform-tools". In windows only need to download.
Then, open terminal and browse to the folder. When you are in, write "fastboot flash system SYSTEMFILE.IMG". It flashes, final only need to reboot (fastboot reboot).
If you need to install a custom recovery the command is: fastboot flash recovery recoveryfile.img
You can download the file here.
Tell me what happened with the issue
Click to expand...
Click to collapse
That looks very promising, but I can't get the phone into Fastboot. Literally the only thing it's capable of doing right now is vibrating three times after I hold the power button, and then it won't do anything else until I pull the battery. This is apparently the Qualcomm Diagnostic Mode.
Panic bump? I kinda hoped this wouldn't just disappear into the depths of the forums...
I own h815 (LG G4), and i have successfully flashed (twrp-3.0.2-0-h815.img) as well as unlocked my bootloader. Now i need to access recovery mode, but my phone goes to safe mode if i try using VOLUME DOWN + POWER. So i used the following command in adb "adb reboot recovery" and it boots my phone, but all i see is laying android with open body and RED triangle and nothing happens.
So if anybody has an idea what could i do, let me know.
P.S. I did try other version TWRP, but the same occurs. And i am running Windows 10 64 bit pro, with all drivers, adb and sdk ready. Also sorry for the provided picture being blurry, it's been taken with old Samsung device.
Preview of the issue: (Just type imgur than .com than \ than fBlaeC1) [with out spaces and than]
Thank you all in advance!
I recall having similar issues. Copy the recovery image to your SD card, and keep a copy in the folder which contains the fastboot exe on your PC.
Open a command prompt and type fastboot boot recovery.img (where recovery.img is the name of the img file you're using). It should boot you in to twrp.
From there, you can flash the image you copied to the SD card using the install command.
Make sense?
Edit: it's explained here in a little more detail (towards the end of the first post): http://forum.xda-developers.com/g4/help/lgup-install-kdz-mm-lp-t3249803
El Presidente81 said:
I recall having similar issues. Copy the recovery image to your SD card, and keep a copy in the folder which contains the fastboot exe on your PC.
Open a command prompt and type fastboot boot recovery.img (where recovery.img is the name of the img file you're using). It should boot you in to twrp.
From there, you can flash the image you copied to the SD card using the install command.
Make sense?
Edit: it's explained here in a little more detail (towards the end of the first post): http://forum.xda-developers.com/g4/help/lgup-install-kdz-mm-lp-t3249803
Click to expand...
Click to collapse
Yeah that's what i did, and i used different twrp witch worked. Sadly due to my inpatients i have managed to hard brick my phone. Because i took my battery out when the twrp was trying to root. Since there was no bar, i taught it was in boot loop. After that it won't boot up, it's stuck in "bootloader status: unlocked"...
Well tomorrow i will put it on octopus box, and flash new h185. I just hope, that i'll succeed in rooting this device.
Also the working method for twrp can be found on android root guides. They seem to recommend "Chainfire SuperSU for LG G4" as rooting method.
If you have rooted your device, let me know witch method have you used.
the lost account said:
Yeah that's what i did, and i used different twrp witch worked. Sadly due to my inpatients i have managed to hard brick my phone. Because i took my battery out when the twrp was trying to root. Since there was no bar, i taught it was in boot loop. After that it won't boot up, it's stuck in "bootloader status: unlocked"...
Well tomorrow i will put it on octopus box, and flash new h185. I just hope, that i'll succeed in rooting this device.
Also the working method for twrp can be found on android root guides. They seem to recommend "Chainfire SuperSU for LG G4" as rooting method.
If you have rooted your device, let me know witch method have you used.
Click to expand...
Click to collapse
Try to use lgup to flash the stock files. I think you can do that from any screen. After that do what the other dude said and if will work like a charm