So I am completely out of ideas. I hope someone else’s input can solve whatever is going on here.
I am trying to gain permanent root, meaning getting s-off and unlocking the bootloader. I have a HTC One M7 from Verizon, so already have an uphill battle. I had a previous rooted phone, but the sound card died and I had to exchange and get a replacement. Hence, I am not rooted anymore.
Here are my current phone spec’s:
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.56.0000
(bootloader) version-baseband: 1.13.41.0109_2
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 3.11.605.1
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: XXXX
(bootloader) imei: XXXX
(bootloader) meid: XXXX
(bootloader) product: m7_wlv
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0731000
(bootloader) cidnum: VZW__001
(bootloader) battery-status: good
(bootloader) battery-voltage: 4247mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-4dab9d12
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
Now I have tried pretty much every which way I have found to try and gain S-off without using HTCDev. The most promising method it seems from other’s posts on the subject has been the weaksauce and firewater method. However, when I try this method, I get nowhere. I gain temp root with weaksauce no problem. It automatically re-temp-roots after a system reboot, that part works great. It’s the firewater aspect which is the issue.
Since I haven’t taken the most recent update to Sense 6.0 my thought was firewater would still work on my device. Is this wrong?
If it isn’t, then after issuing these commands in my command prompt (with a completely fresh version of ADB/Fastboot and HTC Drivers without HTC Sync):
adb reboot
adb wait-for-device push firewater /data/local/tmp
adb shell
chmod 755 /data/local/tmp/firewater
su
/data/local/tmp/firewater
I get this as the response:
Do you understand the implications of these warnings?
(Yes/No)
Yes
Yes
!!If firewater hangs for more than 2 minutes or device enters qhusb mode, ho
!!If firewater hangs for more than 2 minutes or device enters qhusb mode, ho
!!If firewater hangs for more than 2 minutes or device enters qhusb mode, ho
ld power for 60 seconds !!
=========================================================================
preparing, one moment
The first bottle is open
chugging..........
C:\Program Files (x86)\Minimal ADB and Fastboot>
This occurs every time, and the only thing which differs is my phone will either reboot itself after it stops running firewater, or will hang and need to be manually rebooted.
On other people’s posts with issues gaining S-off with this method they usually are about opening numerous bottles and such, and having to run firewater a number of times before getting the exploit to work. At this point I have probably run the firewater scenario about 50 times. I am at my wits end.
I HATE blinkfeed, even seeing anything about it pisses me off…this is reason #1 why I want to root, to get rid of it, but also I am very particular about how efficient my phone runs, because some days I need it to be fully functional for more than 16 hours, and at stock that’s a pipe dream.
So ideas anyone???
Please……
Do a factory reset on your phone. Have no lockscreens or other security options set.
Make sure you have it connected to WiFi.
Make sure you have got Developer Options set and USB debugging set.
Send Weaksauce to yourself thru GMail.
Open the Weaksauce attachment in GMail and install Weaksauce.
Install SuperSU
Reboot and make sure you're still rooted.
Connect to Windows computer.
Make sure you say "Yes" to connection prompt on your phone.
Now run Firewater and see if it goes all the way.
Boo Tried that....
michaelbsheldon said:
Do a factory reset on your phone. Have no lockscreens or other security options set.
Make sure you have it connected to WiFi.
Make sure you have got Developer Options set and USB debugging set.
Send Weaksauce to yourself thru GMail.
Open the Weaksauce attachment in GMail and install Weaksauce.
Install SuperSU
Reboot and make sure you're still rooted.
Connect to Windows computer.
Make sure you say "Yes" to connection prompt on your phone.
Now run Firewater and see if it goes all the way.
Click to expand...
Click to collapse
Thanks for the quick reply however...
Do a factory reset on your phone. Have no lockscreens or other security options set. - Have done this, multiple times, I can't remember how many at this point :crying:
Make sure you have it connected to WiFi. - Have tried 3 different settings, wifi only, phone network only (4G), and both activated (which is what my default is) which is WiFi when I am at home, which all my attempts have been. :crying:
Make sure you have got Developer Options set and USB debugging set. - Yup and Yup
Send Weaksauce to yourself thru GMail. - Yep, did this a few days ago as it was suggested in another post I found as possible solutions to problems getting Firewater to work
Open the Weaksauce attachment in GMail and install Weaksauce. - Did this as part of the above step
Reboot and make sure you're still rooted. - When I reboot I've been using command prompt: adb reboot, should I be rebooting manually?
Connect to Windows computer. - since I have been using the prompt to issue the reboot, I have already been connected to my Windows 7 computer via the original HTC usb, no hubs, and have tried all 3 USB ports on my computer....
Make sure you say "Yes" to connection prompt on your phone. - Ok this is interesting, because I have never seen a connection prompt on my phone asking me to say yes to anything...what would I be looking for in terms of permissions? Since I have been trying to gain S-off after every factory reset I have basically put all developer options I can, and temp root/SuperSU commands to automatically run without prompt, could this be why?
Now run Firewater and see if it goes all the way. - one thing I haven't been able to find anywhere is exactly the verbiage as to what will show up when firewater is working. If my understanding is correct it can go through any number of 'bottles' but then typically will display some kind of confirmation in command prompt, is this correct or have I been looking for something which wouldn't happen anyway?
I hope I'm not coming across as unappreciative, because I AM, SO VERY MUCH!!!!!
I didn't include all the steps I have already taken in the original post because I was trying to not confuse what my actual issue was. It's a trick I find works when you want to get the right people's attention as I posted, and read posts on XDA. By keeping new question/troubleshooting threads explanatory of the issue yet concise and elaborate as needed in replies. So thank you so very much for the reply, but unfortunately for me, as you can see, I've pretty much tried all you suggested.
I will try right now to do the reboot without my phone connected to my computer to see if that changes anything. Pending that....?
If your running kitkat then I think it's not possible. I've been trolling the web for weeks for a new exploit, but I think they patched all the exiting ones, firewater,weaksauce,rumrunner. They also have htcdev unlock restricted. If you figure that it out please share!!!
hey
Make sure you say "Yes" to connection prompt on your phone. - Ok this is interesting, because I have never seen a connection prompt on my phone asking me to say yes to anything...what would I be looking for in terms of permissions? Since I have been trying to gain S-off after every factory reset I have basically put all developer options I can, and temp root/SuperSU commands to automatically run without prompt, could this be why?
Try another install of your ADB tools, like one from developer.android.com/sdk to obtain newest. My virgin stock M7's give this prompt after typing 'adb devices'. Since it sounds like you're doing it all by the book, SDK tools is the only likely variable.
Now run Firewater and see if it goes all the way. - one thing I haven't been able to find anywhere is exactly the verbiage as to what will show up when firewater is working. If my understanding is correct it can go through any number of 'bottles' but then typically will display some kind of confirmation in command prompt, is this correct or have I been looking for something which wouldn't happen anyway?
It will tell you that your device is now S-0ff and indicate a donation site if you're pleased with the results.
OP, do you have Android version 4.4.2?
Related
Hi, my name is Quinn.
Cards on the table, I don't know anything about phones and very little about computers.
So I rooted my phone About two years back and my phone has been acting sluggish for a while so I decided to try putting it back in stock software and updating it to see if it would become quicker. When I tried to install the update there was a thing that said the startup wizard has stopped working so I was trying to delete it and did an advanced wipe on my phone for some reason. Now when I boot it up, it only brings me to the loading screen. The big thing for me is that the factory reset turned off usb debugging and I have no idea how to access my phone from my computer.
I can get to the recovery page, and my bootloader(I think) is unlocked.
Any help would be appreciated.
Let's walk this back for a second. If you had a car with some problems, would you just randomly open the hood, without knowing what you are doing, and start pulling stuff out, without knowing what it was, or what the effect would be? Because that is kinda what you did, by going into the TWRP "Advanced" wipe options.
What you did was not a factory reset. You probably wiped "system" which is the OS (operating system - Android), and therefore you have no OS to boot.
My constructive advise to you, in moving forward, is only do what other experienced users have directed you to do. Don't guess solutions, make things up, etc. Don't do anything unless you have a good understanding of what the result will be; or if you were instructed to do so by a knowledgeable person. Make sense?
Now let's get you back up and running. Doing so will take some steps, and take some time. You may (almost certainly) learns some things in the process.
Do you by any chance remember if you ever made a backup of the ROM using TWRP? You can check this by booting into TWRP, selecting RESTORE, and seeing if it identifies any available backups. However, if you wipe internal storage and/or the SD card; even if you had previously made a backup, it would be gone now.
On the bootloader screen (the white screen where you can select recovery) what does it say for OS number? If its blank, what does it say for hboot number and radio number?
On that same bootloader screen, it will indicate at the top whether the bootloader is UNLOCKED or RELOCKED (or LOCKED, but its probably not that one). Tell us which one.
ShaferQ said:
The big thing for me is that the factory reset turned off usb debugging and I have no idea how to access my phone from my computer.
Click to expand...
Click to collapse
This only affects adb commands. You will find fastboot commands will still work, when booted properly into bootloader-fastboot mode.
Also, if booted into TWRP, you should be able to access the phone's internal storage and SD card (if one is inserted) from your computer.
---------- Post added at 12:36 PM ---------- Previous post was at 12:33 PM ----------
ShaferQ said:
I decided to try putting it back in stock software and updating it to see if it would become quicker. When I tried to install the update there was a thing that said the startup wizard has stopped working
Click to expand...
Click to collapse
How far exactly did you get with this process (restoring stock software, and update)?
Describe step by step, what you did, and in as much detail as possible (files used - exact names, results of each step, any other observations).
Yeah, I don't know what I was thinking. Thanks for the help though.
My Bootloader is unlocked
OS is blank
HBOOT is 3.19.0.0000
RADIO is 1.09.20.0209
No backups
I didn't get far at all with installing stock. I just had the intention. I tried to use some program to install the stock firmware, but my phone couldn't connect to my computer.
ShaferQ said:
I tried to use some program to install the stock firmware, but my phone couldn't connect to my computer.
Click to expand...
Click to collapse
Then how did you get to the point where it said "Setup Wizard has stopped working"? Isn't that the error that prompted you to wipe everything in TWRP?
Also, you must realize that saying "some program" doesn't really tell us what you used? You have any idea what it was? Is it still on your computer?
Do you have any idea how to use fastboot, and issue fastboot commands?
redpoint73 said:
Then how did you get to the point where it said "Setup Wizard has stopped working"? Isn't that the error that prompted you to wipe everything in TWRP?
Also, you must realize that saying "some program" doesn't really tell us what you used? You have any idea what it was? Is it still on your computer?
Do you have any idea how to use fastboot, and issue fastboot commands?
Click to expand...
Click to collapse
No, I did the factory reset, thinking that would undo my rooting, but it didn't. At this point it was still working and I thought that it was fine, but then I couldn't take pictures or anything so I installed major update from my phone and that's when the startup wizard wouldn't work. I then did the wipe and used a program I got from htc rom downloads from their support page. I thought it was a program that installed stock roms on your phone? But it couldn't connect and did nothing to my phone.
redpoint73 said:
Do you have any idea how to use fastboot, and issue fastboot commands?
Click to expand...
Click to collapse
I know how to get there, but I don't really know anything other than that.
ShaferQ said:
so I installed major update from my phone and that's when the startup wizard wouldn't work.
Click to expand...
Click to collapse
You mean an over-the-air (OTA) official update? I'm confused how that would even install. It normally will fail if the phone is rooted, and also won't install with TWRP on the phone.
---------- Post added at 01:13 PM ---------- Previous post was at 01:06 PM ----------
ShaferQ said:
I know how to get there, but I don't really know anything other than that.
Click to expand...
Click to collapse
When you say you know how to get there, you mean only know how to boot into fastooot mode on the phone?
You'll need to also issue fastboot command from your PC's command prompt (with phone connected, and booted to fastboot mode). To do that, you'll need to find where fastboot.exe is on the PC. You might find it at (where it is on my PC): C:\Program Files (x86)\HTC\HTC Sync Manager\HTC Sync
After you find it, hovering the mouse cursor over the window (where fastboot.exe is located) do Shift + Right Mouse Click, and from the pulldown menu, select "Open command window here".
In the command window, type: fastboot getvar all
Then copy and paste the output, and post it (delete IMEI and serial number before posting). To copy in command prompt, right mouse click, select "Mark" then highlight the area you want to copy. Press Ctrl + C to copy. Then go to your forum post window, and Ctrl + V to paste. And remember again to delete IMEI and serial number before posting.
Well, I was also the one who rooted the phone, so I probably did it poorly somehow. Yeah the over the wifi one. The update failed the first time, but then I just tried again and it went though and that was the point where I got the startup wizard is not responding message that wouldn't let me pass.
Ok, give me a second to do that.
C:\Program Files (x86)\HTC\HTC Sync Manager\HTC Sync>fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 3.19.0.0000
(bootloader) version-baseband: 1.09.20.0209
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main:
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno:
(bootloader) imei:
(bootloader) imei2: Not Support
(bootloader) meid: 99000499185667
(bootloader) product: m8_whl
(bootloader) platform: hTCBmsm8974
(bootloader) modelid: 0P6B70000
(bootloader) cidnum: SPCS_004
(bootloader) battery-status: good
(bootloader) battery-voltage: 0mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: 631e3609
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.037s
htc_fastboot finished. total time: 0.120s
Okay, great. That confirms some things I had figured out earlier. One that this is a Sprint version, and it looks to be the Harman Kardon version. Is Sprint your current cell provider?
redpoint73 said:
Okay, great. That confirms some things I had figured out earlier. One that this is a Sprint version, and it looks to be the Harman Kardon version. Is Sprint your current cell provider?
Click to expand...
Click to collapse
Yes sir, it is.
ShaferQ said:
Yes sir, it is.
Click to expand...
Click to collapse
Ok, good. That makes the rest somewhat easier.
Another fastboot command. Enter the following:
fastboot oem lock
On the bootloader screen (after an auto reboot, I believe) you should see the bootloader say RELOCKED near the top.
Next go to the following page, and download the 4.25.654.18 RUU under where it says "Previous RUUs":https://forum.xda-developers.com/showthread.php?t=2729173
After you download the RUU, open it, and it should install the full stock factory image, Lollipop version. The phone should be running after that. And since you are connected to Sprint, you should soon get an update, which will bring you up to Marshmallow.
You can also RUU right to Marshmallow, but it takes more steps. You would have to flash MM firmware (more fastboot steps) before you can do the MM RUU. So that is why the LP RUU may be easier for your. But if you are interested in doing RUU right to MM (instead or LP RUU, then OTA update) then let me know, and I'll walk you through it.
I got it re-locked and everything, but my phone still wont connect to my computer. The Rom utility still says that it cannot connect.
View attachment 4009482
And I know that it's not just the USB because I already issued fastboot commands perfectly fine.
Does the phone still have to be in fastboot?
ShaferQ said:
Does the phone still have to be in fastboot?
Click to expand...
Click to collapse
Yes. Is that how you are trying to run the RUU? If so, try a different USB port, different cable, if possible. The RUU is much more finicky than fastboot commands.
If all fails, and you have an SD card, you can use the SD method of RUU (no PC needed): Go back to the thread, download the zip version of the RUU. Rename to 0P6BIMG.zip, put on the SD, then reboot to bootloader, it will detect the RUU and auto install it.
You are a freakin life saver, thank you so much for helping me. I really really appreciate it.
ShaferQ said:
I got it re-locked and everything, but my phone still wont connect to my computer. The Rom utility still says that it cannot connect.
And I know that it's not just the USB because I already issued fastboot commands perfectly fine.
Does the phone still have to be in fastboot?
Click to expand...
Click to collapse
As redpoint73 said
Try another USB port ( USB 2 not 3 )
Un install HTC sync manager if you installed it earlier
But the main reason i post here is to tell you to remove meid numbers from this post ( as it's personal info and not to share on public forum )
https://forum.xda-developers.com/ht...ng-screen-factory-reset-t3541234/post70630772
Sent from my HTC M8 using XDA Labs
My HTC M8 stop booting when appears the white screen with HTC One. I can boot with power + down volume. I unlocked and locked it again. Before all this issue, I had to dry the phone. What can I do? Best regards, Guillermo
guillote4552 said:
My HTC M8 stop booting when appears the white screen with HTC One. I can boot with power + down volume. I unlocked and locked it again. Before all this issue, I had to dry the phone. What can I do? Best regards, Guillermo
Click to expand...
Click to collapse
If you relocked the bootloader, then stuck on HTC logo screen and no OS is normal and expected. Relocking the bootloader expects RUU to be run.
You need to provide more info on what has occurred (sequence of events), and what you did exactly so far:
- "dry the phone" means it got wet, did you drop it in water? Did it fail to boot after that?
- What was the intent of unlocking the bootloader? What else did you do with it unlocked? Did you install custom recovery TWRP, root, or anything else, was it successful (give in detail, the exact results of each step).
- What was the intent of relocking the bootloader?
-Yes, it fail after drop in water
-First I tried to root and I unlock
-Then I tried to install a RUU, and relock
-I tried to install a TWRP but I get an error messaje
-I run fastboot getvar all and this is the result:
version: 0.5
version-bootloader: 3.19.0.0000
version-baseband: [email protected]
version-cpld: None
version-microp: None
version-main: 6.20.502.5
version-misc: PVT SHIP S-ON
serialno:
imei:
imei2: Not Support
meid: 00000000000000
product: m8_ul_ca
platform: hTCBmsm8974
modelid: 0P6B12000
cidnum: CWS__001
battery-status: good
battery-voltage: 0mV
partition-layout: Generic
security: on
build-mode: SHIP
boot-mode: FASTBOOT
commitno-bootloader: 205bdca3
hbootpreupdate: 11
gencheckpt: 0
all: Done!
finished. total time: 0.017s
My comments/questions below in red font:
In general, you need to give a lot more details and a lot more info.
guillote4552 said:
-Yes, it fail after drop in water What do you mean "fail"? No OS, but you can get into bootloader (I would assume so, if you were then able to unlock bootloader).
-First I tried to root and I unlock So you successfully unlocked the bootloader? Installed TWRP? Then what?
-Then I tried to install a RUU, and relock What RUU (exact version number of file name)? What happened when you tried to install? Success or fail? Did you get error message? If so, what was the error message.
-I tried to install a TWRP but I get an error message What was the error message? You can't install TWRP with a locked bootloader. What are you going to try once you install TWRP?
Click to expand...
Click to collapse
Failed: once wet, nothing worked. I let it dry for a month. Loaded battery, gave me access to fastboot. Its boot stopped.
-Bootloader: effectively once dry I can access. I figured a good way was to install the OS. And I tried to root it. First I unlock it. Then I tried to load TWRP without success. I do not remember the message, sorry it happened a weeks ago.
-I send the RUU_M8_UL_M60_SENSE70_ATT_MR_Cingular_US_6.20.502.5_combined, no success
-I know how to follow instructions; I forgot about error messages, I got tired
THANKS
guillote4552 said:
-I send the RUU_M8_UL_M60_SENSE70_ATT_MR_Cingular_US_6.20.502.5_combined, no success
I forgot about error messages, I got tired
Click to expand...
Click to collapse
It's the correct RUU. So run it again, and tell us what the error message says. Can't troubleshoot, if you don't give us the required info.
ok. Could you please remember me the steps / commands I have to follow? tks!
guillote4552 said:
ok. Could you please remember me the steps / commands I have to follow? tks!
Click to expand...
Click to collapse
Did you try to run the exe format RUU on a PC, or otherwise (zip file via fastboot, or SD card method)?
- I run the RUU, until in the PC appeared severals messages. like updating ... and at the end message like congratulations, your phone is ready ...
-the phone displayed severals black screens with a green bar indicating status ...
-then its boots, i saw att logo, then htc one white screen ... I left the phone three hours ... nothing changed
- no one error message
-nothing had changed = remain the white screen with htc one
RUU messages consist of each partitions attempting to be flashed. Did any partitions indicate failure, or did they all succeed?
Either way, since you ran the RUU, and the phone still won't boot, you likely have some hardware failure due to the water damage. Software isn't going to fix this.
none error messajes during install and finished with a congratulations, "now you can use your phone"
can i do a test to know if there are hardware damage?
guillote4552 said:
can i do a test to know if there are hardware damage?
Click to expand...
Click to collapse
Not a test that I know of for that. Really, based on the fact there was water damage, and you did RUU (which writes all software/firmware partitions to stock) installed, but hasn't fixed the issue, to me means a hardware problem is very likely.
so that it RIP, what a pity
when i tery root and s-off let the info and picture to explan more " sory for my english"
this all info
:\Program Files\Minimal ADB and Fastboot>fastboot getvar all
bootloader) version: 0.5
bootloader) version-bootloader: 3.19.0.0000
bootloader) version-baseband: 1.29.214500021.12G
bootloader) version-cpld: None
bootloader) version-microp: None
bootloader) version-main:
bootloader) version-misc: PVT SHIP S-ON
bootloader) serialno: SH469WM04000
bootloader) imei: 357871051160565
bootloader) imei2: Not Support
bootloader) meid: 00000000000000
bootloader) product: m8_ul
bootloader) platform: hTCBmsm8974
bootloader) modelid: 0P6B10000
bootloader) cidnum: HTC__J15
bootloader) battery-status: good
bootloader) battery-voltage: 0mV
bootloader) partition-layout: Generic
bootloader) security: on
bootloader) build-mode: SHIP
bootloader) boot-mode: FASTBOOT
bootloader) commitno-bootloader: 76df2b54
bootloader) hbootpreupdate: 11
bootloader) gencheckpt: 0
ll: Done!
inished. total time: 0.137s
and the phone now like this
on phon screnn
software status modified
m8-ul-pvt ship- s-on
hboot-3.19.0.000
radio-1.29.214500021.126
opendsp-v51.2.2.00593-m8974-f001015
os- ---------------------------nothing here
emmc-boot 2048mb
dec 17 2015,14.15.48.27717
So the info on the bootloader screen is actually in red? And the phone won't boot to OS?
What exactly did you do when trying to root. Describe, step by step, and in as much detail as possible, with file names, versions, etc. How far did you get, what worked, where did you get stuck, with specific results, error messages, etc.
OS number blank usually means you used a really old and obsolete version TWRP.
redpoint73 said:
So the info on the bootloader screen is actually in red? And the phone won't boot to OS?
What exactly did you do when trying to root. Describe, step by step, and in as much detail as possible, with file names, versions, etc. How far did you get, what worked, where did you get stuck, with specific results, error messages, etc.
OS number blank usually means you used a really old and obsolete version TWRP.
Click to expand...
Click to collapse
thanks for replay
i am not sure what exactly happend i receved th phone like as say befor
but once power on the phone appear red text on down screen and stop
i am enter the recover
1- s-off
2- twrp is installed
3- i use androiad one toolkit and relock again s-on
4- wipe phone
5- now cannot enter recovery again
6- can enter fastboot
7= itry to flash the phone by ruu more an version but all trying is Failed
The steps you posted cleared up the issue, quite a bit. However, I have some additional questions about these steps, below in red font:
amira77 said:
but once power on the phone appear red text on down screen and stop
i am enter the recover
1- s-off how exactly did you try to s-off?
2- twrp is installed Did you also try to root at this point? Did you get stuck (no OS)?
3- i use androiad one toolkit and relock again s-on Why did you relock the bootloader?
4- wipe phone
5- now cannot enter recovery again
6- can enter fastboot
7= itry to flash the phone by ruu more an version but all trying is Failed You phone will only run one RUU that matches your CID/MID, you can't just run any one you want.
Click to expand...
Click to collapse
Being stuck in fastboot is an expected result of relocking the bootloader, as it expects RUU to be run.
Additionally, you should stop using the toolkit. It hasn't been updated for over 2 years, and therefore contains files (TWRP and SuperSU) which are horribly obsolete, and will cause multiple problems. The OS number being blank is one known issue with old versions TWRP (old versions TWRP are also not compatible with your phone's current firmware).
The toolkit doesn't accomplish anything, that can't be done with simple fastboot commands. And if you can't handle fastboot commands, you should not be trying to modify the phone, in the first place.
redpoint73 said:
The steps you posted cleared up the issue, quite a bit. However, I have some additional questions about these steps, below in red font:
Being stuck in fastboot is an expected result of relocking the bootloader, as it expects RUU to be run.
Additionally, you should stop using the toolkit. It hasn't been updated for over 2 years, and therefore contains files (TWRP and SuperSU) which are horribly obsolete, and will cause multiple problems. The OS number being blank is one known issue with old versions TWRP (old versions TWRP are also not compatible with your phone's current firmware).
The toolkit doesn't accomplish anything, that can't be done with simple fastboot commands. And if you can't handle fastboot commands, you should not be trying to modify the phone, in the first place.
Click to expand...
Click to collapse
okay thanks for replay again
can help me by send ruu compatible with this phone?
iwas use this ruu befor
1- RUU_M8_[email protected]41216A_40.34.C35006.02_F_release_407726_signed_2.exe
2-GQbYQWPsDSOxW4-6y5SiHg/1499132695/24369303960687057/0P6BIMG_M8_UL_M60_SENSE70_MR_HTC_Europe_6.12.401.4_Radio_1.29.214500021.12G_20.72.4196t.01_release_464360_signed.zip
The first stopped at 3%
And the second did not accept the phone
write on the back of phone 0P6B100
amira77 said:
okay thanks for replay again
can help me by send ruu compatible with this phone?
iwas use this ruu befor
1- RUU_M8_[email protected]41216A_40.34.C35006.02_F_release_407726_signed_2.exe
2-GQbYQWPsDSOxW4-6y5SiHg/1499132695/24369303960687057/0P6BIMG_M8_UL_M60_SENSE70_MR_HTC_Europe_6.12.401.4_Radio_1.29.214500021.12G_20.72.4196t.01_release_464360_signed.zip
The first stopped at 3%
And the second did not accept the phone
write on the back of phone 0P6B100
Click to expand...
Click to collapse
The 1st RUU you listed won't work. It's for the AT&T version M8.
The 2nd one should work, but I don't know what you mean when you say it did not accept the phone. What exactly happened, and what was the error message? It needs to be flashed in fastboot-RUU mode, and with HTC fastboot drivers. What commands did you use to flash it? Cut and paste the command prompt inputs and outputs.
Also, I asked a number of questions in my last post in red font which you either ignored or missed. Please answer them, as it would help me understand what you did, and why.
Hi all,
@THE company I work we found a htc one m8s that when I booted it went straight to bootloader menu.
I want to get it working again so I started reading here on the forums, download some stuff from ruu.lalleman.net that I found in one of the other treads. In the end i'm still stuck and i'm hoping to get some advice through this channel.
Here is my current status
when the devices is connected to the PC it boots ALWAYS straight to bootloader with the following info
software status : Modified
unlocked
m8QL_UL PVT SHIP S-ON
HBOOT-3.19.0.000
[email protected]
OS-1.16.401.10
eMMC-boot 2048MB
aug 13 2015
Fastboot USB with the normal stuff
when I try to load a RUU through the exe I reboot the device and then keeps waiting with in the end a disconnect (saying I need to connect my device) the device itself is already back in bootloader window.
when I try to use htc_fastboot to flash a recovery it gives me
fastboot flash recovery recovery.img
sending 'recovery' (6002 KB)... OKAY
writing 'recovery'... OKAY
Execution time is 1(s)
but then on reboot it's straight back to bootloader menu no recovery
when I try to lock the device I get
fastboot oem lock
... (bootloader) [PGFS] partition_update_pgfs: pg1fs_security
(bootloader) TZ_HTC_SVC_ENC ret = 0
(bootloader) [PGFS] partition_update_pgfs: pg2fs_sec_recovery
(bootloader) Lock successfully...
(bootloader) deinit_lcd
(bootloader) mipi display off
(bootloader) TZ_HTC_SVC_DISABLE ret = 536739196 (0x1FFDFD7C)
(bootloader) [ERR] Failed to disable wdog debug: 15
(bootloader) [INFO] Calling SCM to disable SPMI PMIC arbiter
(bootloader) [ERR] Cannot halt SPMI arbiter!!
(bootloader) [INFO] Rebooting device
(bootloader) [INFO] Rebooting device arbiter!!I PMIC arbitery-
FAILED (unknown status code)
Execution time is 1(s)
I did get it unlocked (as it was locked before but relocking is not working)
Also fastboot devices shows me the devices but adb devices shows nothing (tried both htc drives and general android ones)
These are my var all info
fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 3.19.0.0000
(bootloader) version-baseband: [email protected]
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 1.16.401.10
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno:
(bootloader) imei:
(bootloader) imei2: Not Support
(bootloader) meid: 00000000000000
(bootloader) product: m8ql_ul
(bootloader) platform: hTCBmsm8939
(bootloader) modelid: 0PKV10000
(bootloader) cidnum: HTC__031
(bootloader) battery-status: good
(bootloader) battery-voltage: 0mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: 1d456ef7
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
(bootloader) mfg-name: 0001
all: Done!
Execution time is 28(ms)
Hoping on any help from here
Greetings
Tom
Little update:
I kept on trying different versions from recovery / boot / ruu's in the hope that one works but nothing so far.
In another topic somewhere I did found that as long as my device is unlocked it will not work to use RUU, so locking the device again will be my first step.
I did notice that when I ended my adventure yesterday evening I wasn't able to turn the phone off, I always rebooted (in like a millisecond) back to bootloader as long as it was connected to the pc. I had to remove the usb connection and then try couple of times with volume-up / power to turn it off.
I did do the 2 minutes bright licht / volume up + down + power button trick to reset the battery but that didn't change anything.
also as a last minute addition
when I do the fastboot -> image CRC i'm getting a 0X0 on sbl2 - sbl3 - boot and recovery so it seems that what ever I do with htc_fastboot flash is not sticking.
Going to look into trying to get it locked again now first in combination with trying to find out why I can't write to the damn phone (adb isn't working ether so maybe driver problem also ?)
The adventure continues
Tom
adb works only while on running OS or in custom recovery (don't know whether it works on stock recovery) not on fastboot/bootloader.
Only fastboot (generic) or htc_fastboot works on fastboot.
Is the RUU that you tried
0PKVIMG_M8_QL_UL_L50_SENSE60_HTC_Europe_1.16.401.1 [email protected]_15.00_016_F_release_450 409_combined_signed.zip ?
ckpv5 said:
adb works only while on running OS or in custom recovery (don't know whether it works on stock recovery) not on fastboot/bootloader.
Only fastboot (generic) or htc_fastboot works on fastboot.
Is the RUU that you tried
0PKVIMG_M8_QL_UL_L50_SENSE60_HTC_Europe_1.16.401.1 [email protected]_15.00_016_F_release_450 409_combined_signed.zip ?
Click to expand...
Click to collapse
That is indeed the RUU i tried, i got it based on the fastboot var all i did.
Still trying to get my Phone locked again as that is holding back the ruu upgrade now from what i see.
Have you tried using htc_fastboot to relock ?
It seems fastboot generic mostly not working for M8s.
ckpv5 said:
Have you tried using htc_fastboot to relock ?
It seems fastboot generic mostly not working for M8s.
Click to expand...
Click to collapse
Yhea i did it with the htc_fastboot version.
another update,
After some more trial and error while aiming for the locking of my phone i'm still stuck.
Both my boot and my recovery are empty it seems (the 0x0 from the image crc) and all the others still have 0xA.....B or what ever value in them
All the writing I do like
C:\tel>htc_fastboot.exe flash recovery recovery_signed.img
sending 'recovery' (30080 KB)... OKAY
writing 'recovery'... OKAY
Execution time is 3(s)
seems to be working but that doesn't change the crc value's nether does it allow me to use the recovery from the hboot menu.
also when I type stuff like htc_fastboot oem rebootRUU it brings me straight back to the bootloader menu, no black screen to do htc_fastboot flash zip rom.zip.
What I didn't try yet is using a SD-card and see if that fixes it (I could put that card in my other phone, write stuff to it and use it in the M8s.
Anybody got any expereance for using a sdcard to flash the device back to stock.
@ this moment I will be kind of happy with anything that advances me a step
Tom
I got it to work
You may as well give up.
Android will continue to suck and be a deep state tool.
kruc Ire said:
I got it to work
You may as well give up.
Android will continue to suck and be a deep state tool.
Click to expand...
Click to collapse
How do you mean give up ?
is there no way arround based on your opinion from what i posted above ?
I Always hoped it was my lack of knowledge that was holding me back in fixing it ...
Ok if you wanna do it like i did you gotta use the sd card. It should work. Call it by its shortened name and relock the phone first. It can take a long time in several stages.
I was a bit down on android since google keeps screwing with it like taking away panoramio and adding miles upon miles of bloat and force resetting my permissions which I believe I have finally found a solution to in m8s.
If you wanna do it you can. Use that same 1.8 GB firmware we can find on the web. And rename it to the m8s required: 0PKVIMG.zip (i am going offa memory but this looks right to me???) and put it in the root of your microSD. The bootloader should be "relocked" anything I forgot? You don't have to reflash the std recovery first unless I forgot
Then once these things are inplace you should see a full flash after bootin ta bootloader.
kruc Ire said:
Ok if you wanna do it like i did you gotta use the sd card. It should work. Call it by its shortened name and relock the phone first. It can take a long time in several stages.
I was a bit down on android since google keeps screwing with it like taking away panoramio and adding miles upon miles of bloat and force resetting my permissions which I believe I have finally found a solution to in m8s.
If you wanna do it you can. Use that same 1.8 GB firmware we can find on the web. And rename it to the m8s required: 0PKVIMG.zip (i am going offa memory but this looks right to me???) and put it in the root of your microSD. The bootloader should be "relocked" anything I forgot? You don't have to reflash the std recovery first unless I forgot
Then once these things are inplace you should see a full flash after bootin ta bootloader.
Click to expand...
Click to collapse
I did those things and placed the file on the SD card ( 0PKVIMG.zip )
When I go to the phone then and run it it gives me the following error:
Device halted due to Large Image update fail!
press <power> to reboot.
I looked into that and seems I need to do a partial flash for that but didn't found more info on that yet.
Also i'm still stuck on the htc_fastboot OEM lock error i'm getting (see above)
Tom
TomBrunson said:
I did those things and placed the file on the SD card ( 0PKVIMG.zip )
When I go to the phone then and run it it gives me the following error:
Device halted due to Large Image update fail!
press <power> to reboot.
I looked into that and seems I need to do a partial flash for that but didn't found more info on that yet.
Also i'm still stuck on the htc_fastboot OEM lock error i'm getting (see above)
Tom
Click to expand...
Click to collapse
You need to have plenty of space. I have seen large image update fail at some time before. I'll see if I can find my photos from the flash on my m8 (I used the m8 to document the m8s firmware flash). It doesn't have to be "locked", "relocked" is enough
I made that video but if the F'N censors won't let me put up the lyrics of a song they HATE in their pinheads then I won't be posting their garbage they WOULD view.
I'll keep putting up large videos though just to chew up this sh!tty world's resources. If it's a world of creeps it's
Music videos mostly. Ooh how they HATE my beautiful music...and I can hear the little b##ch there in her fuzzy chair. Like she spoke directly into my head. And if it hadn't taken me so long to make a thumbnail she wouldn't have been able to install her trick. Literally FFFF youtube.
kruc Ire said:
You need to have plenty of space. I have seen large image update fail at some time before. I'll see if I can find my photos from the flash on my m8 (I used the m8 to document the m8s firmware flash). It doesn't have to be "locked", "relocked" is enough
Click to expand...
Click to collapse
Is there a different command to Relock as to Lock ?
I couldn't find anything else then htc_fastboot oem lock
Tom
Ok i'm over it. I attached a different (worse) song and reuploaded it. No censorship now.
HTC M8s firmware flash in photos:
Please note I only started making a video because I noticed that time bar on upper right about 15 minutes into the (uninterrupted) flash. So that took a long time and I was concerned about the messed up and overprinted text and made photos during every new screen between the third or fourth at the start (when I caught up with my camera) up till the time of video starting.
So yeah what I am trying to say is it seemed to take very long, with many seemingly false starts and failures. Only by waiting did it finally achieve correctness.
thank you for the video
Seems so that it's still the same issue for me as I don't get my phone locked or relocked
i'll keep on looking aint giving up that quick
TomBrunson said:
thank you for the video
Seems so that it's still the same issue for me as I don't get my phone locked or relocked
i'll keep on looking aint giving up that quick
Click to expand...
Click to collapse
Are you sure you have the correct command? There is a lot of bad info out there. Better get a 2nd source and third for commands. Did you be sure to enable adb bridge in dev options? Can't forget to do that. Go through the entire thing at HTC.dev and do all it says and download their fastboot. Then be sure to have adequate space on phone and storage. You have a nandroid? Then you could try wiping and starting from zero with the flash. This may have been what I done. I definitely did something like that similarly very recently and I think it was cause I was trying the new Los rom just before I gave up on it and decided to do this firmware.
kruc Ire said:
Are you sure you have the correct command? There is a lot of bad info out there. Better get a 2nd source and third for commands. Did you be sure to enable adb bridge in dev options? Can't forget to do that. Go through the entire thing at HTC.dev and do all it says and download their fastboot. Then be sure to have adequate space on phone and storage. You have a nandroid? Then you could try wiping and starting from zero with the flash. This may have been what I done. I definitely did something like that similarly very recently and I think it was cause I was trying the new Los rom just before I gave up on it and decided to do this firmware.
Click to expand...
Click to collapse
When I got the phone it was locked, I then did all the steps to unlock it as I hoped that would be the solution. Those steps did work but it didn't solve the problem. I think wanted to do the RUU thing but therefor the phone needs to be locked or relocked (htc_fastboot oem lock) but hat gives me errors as I posted before.
I'm still in the process of reading as much as possible to find different ways to lock or relock the phone in order to do the RUU update.
Greetings,
Tom
You have never gotten it to lock? I thought you said you couldn't get the zip to work?
---------- Post added at 06:53 PM ---------- Previous post was at 06:38 PM ----------
TomBrunson said:
When I got the phone it was locked, I then did all the steps to unlock it as I hoped that would be the solution. Those steps did work but it didn't solve the problem. I think wanted to do the RUU thing but therefor the phone needs to be locked or relocked (htc_fastboot oem lock) but hat gives me errors as I posted before.
I'm still in the process of reading as much as possible to find different ways to lock or relock the phone in order to do the RUU update.
Greetings,
Tom
Click to expand...
Click to collapse
What output does your cmd window give u? Can you show a screenshot of what your command is and the output.
I see. You are trying to put a lollipop. Still first ya gotta lock it does anyone remember the rules for firmware flash? Is it going to screw up the phone to flash the MM 60 sense 70 ? Dude are you in Europe? The 60 70 I flashed from my microSd was a EUROPE.
I received an unlocked HTC One M8 (US, works on AT&T, not Harmon Kardon), factory reset, never been modded. Because it ran Android 6.x, I was concerned that it wasn't as secure as it could be, so I researched how to install the newest Android possible. I found many articles on these forums, guides from 2014 all the way to 2016. I didn't (and still don't) know enough to tell the difference between a good tutorial and a bad/outdated one. I saw that some tutorials were edited to reflect new mods, but now that I have read even more, I suspect that even those updated ones are now obsolete.
My problem is that I installed Resurrection Remix with v7.1.2, along with pico Open Gapps, and it won't let me install several apps like Chrome or even YouTube. I have decided that I don't want a newer ROM and I would rather just revert to stock. I have been attempting to revert to stock for the last three or four days, and I have spent many hours researching and reading (mostly this site...go figure), but so far I have not accomplished anything.
Current information about the phone: I did not make a backup (I've had little success doing this over the years on Android phones), I unlocked the bootloader with the HTC unlock code.bin file, the phone has S-ON and has not been rooted. In fact, I've tried SuperSU and Sunshine and neither worked. I have TWRP 2.7.1.0 installed. I have drivers from HTC Sync, but I also installed the Android Studio, along with some utilities that come with it. I have attempted the RUU from HTC (RUU_M8_UL_M60_SENSE70_MR_BrightstarUS_WWE_6.12.1540.4) and it always says that there was an error.
I have attempted several times to change the CID, but only because a tutorial told me to. I assume that it was changed when I installed the Remix mod. I have no idea what it should be. I have attempted to install firmware as well, both with the adb method and by copying it to the SD card and renaming it for bootloader, but both options fail. The adb method fails with...
(bootloader) zip info parsing...
FAILED (remote: 99 unknown fail)
...and the SD card method thinks for a bit, then says "press power to reboot" in the same type of text as the bootloader text.
I am only a little familiar with adb and fastboot, so please, be gentle. If you list commands, I will use them without even thinking, like how Ron Burgandy reads everything on the teleprompter.
Please help.
Here's the getvar:
(bootloader) version: 0.5
(bootloader) version-bootloader: 3.19.0.0000
(bootloader) version-baseband: INVALID_VER_INFO
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main:
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: XXXXXXXXXXXX
(bootloader) imei: XXXXXXXXXXXXX
(bootloader) imei2: Not Support
(bootloader) meid: 00000000000000
(bootloader) product: m8_ul_ca
(bootloader) platform: hTCBmsm8974
(bootloader) modelid: 0P6B17000
(bootloader) cidnum: GOOGL001
(bootloader) battery-status: good
(bootloader) battery-voltage: 0mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: 11459804
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
Did I post in the wrong forum? Any help would be greatly appreciated. Thanks!
speedee39 said:
Did I post in the wrong forum? Any help would be greatly appreciated. Thanks!
Click to expand...
Click to collapse
Hi,
no you did not post in the wrong forum. This section is not that active but there are still a handful of people visiting and trying to help.
You've posted plenty of info - which is good. First of all, you can't change the cid if you're s-on. You need to be s-off. Changing the cid is not really necessary unless you want to convert your carrier device into the dev edition or the Google Play edition M8. What cid were you trying? Was changing the cid successful? In that current state it shouldn't.
Speaking of the Google Play edition. You tried to revert to sense stock, according to the ruu you mentioned. The thing is your getvar result shows that your mid and cid directs towards a Google Play edition device. If you want to go on sense there are a few steps you have to do before you can (repartitioning system for example as the storage size is bigger on sense than on GPe).
Another thing is, the TWRP recovery you used is way too old for the firmware. The latest one can be found on twrp.me
Can you tell us how big your system partition is? If it's only over 1GB you certainly have a GPe device - in fact getvar says that as well.
maultasche said:
You've posted plenty of info - which is good. First of all, you can't change the cid if you're s-on. You need to be s-off. Changing the cid is not really necessary unless you want to convert your carrier device into the dev edition or the Google Play edition M8. What cid were you trying? Was changing the cid successful? In that current state it shouldn't.
Click to expand...
Click to collapse
The guide I found for reverting to stock said to change to the super CID (fastboot oem writecid 11111111). I only did that because I thought that it was the "right way" to do this. But if the CID can't be changed unless the phone is s-off, then it must still be stock, because I doubt that I've ever achieved s-off while flashing a different ROM.
maultasche said:
Speaking of the Google Play edition. You tried to revert to sense stock, according to the ruu you mentioned. The thing is your getvar result shows that your mid and cid directs towards a Google Play edition device. If you want to go on sense there are a few steps you have to do before you can (repartitioning system for example as the storage size is bigger on sense than on GPe).
Click to expand...
Click to collapse
Yes, I attempted the Sense stock because the tutorial told me to and also because that's what is listed on HTC's website. I don't want to go to Sense, just thought that I was supposed to. So you're saying that the phone is a Google Play Edition? I'll need to look that up.
maultasche said:
Another thing is, the TWRP recovery you used is way too old for the firmware. The latest one can be found on twrp.me
Click to expand...
Click to collapse
Thank you for that, I didn't know. I'll get it. One question that I've never found the answer to is, if I installed TWRP to change the ROM, what is the stock recovery image? Or, is it bad to simply leave TWRP installed? I have no plans to sell the phone.
maultasche said:
Can you tell us how big your system partition is? If it's only over 1GB you certainly have a GPe device - in fact getvar says that as well.
Click to expand...
Click to collapse
I think I did this correctly. Here's what I found through the shell:
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/block/mmcblk0p45 1032088 853196 178892 83% /system
Once I started looking this up, I found a post on XDA about GPe and different partition sizes. I'll check for GPe ROMs now. Do I need any other files besides that and the updated TWRP? Is the order to install a newer TWRP, then flash the GPe ROM, and then relock the bootloader?
I noticed that the bootloader has a persistent message about it being relocked and **WARNING**. Is there a way to clear the warning flag? One of the tutorials that I was following listed several shell commands to do this. I'm going to list them, so let me know if that is the way to clear the flag.
adb shell
su
echo -ne '\x00\x00\x00\x00' | dd of=/dev/block/mmcblk0p2 bs=1 seek=33796
exit
exit
adb reboot-bootloader
Thanks for your help.
You indeed have a GPe device. If you want to go back to GPe this thread has all your answers, links and ruu's
https://forum.xda-developers.com/showthread.php?t=2708589
Since your device is a GPe device there is no need to change cid, mid etc. - with s-on you can't change them anyways. Just grab the latest GPe ruu and follow flashing instructions.
Stock recovery is only needed for ota-updates. On sense the updates would fail as this particular recovery is missing. I assume on GPe that would happen as well. It's up to you if you use twrp or stock recovery. GPe won't get updates anymore, same as sense.
I recommend not to mess with this stuff in bootloader. Once you go back to stock (ruu etc), it should fix itself. Besides that to temper with it you need to be s-off anyway.
maultasche said:
You indeed have a GPe device. If you want to go back to GPe this thread has all your answers, links and ruu's
https://forum.xda-developers.com/showthread.php?t=2708589
Click to expand...
Click to collapse
Yes, I had found that exact thread earlier today, thanks to you, and I was just replying to tell you that I have successfully reverted my phone back to stock.
In the spirit of contribution to the site that has helped a novice such as me, I want to share the steps I took so that others might be helped.
The phone, as mentioned earlier, is an HTC One M8 Google Play Edition (Gpe), was s-on, not rooted, bootloader unlocked. I had an old version of TWRP and Resurrection Remix ROM using Android 7.1.2.
Prerequisites
1. Stock GPe ROM: https://androidfilehost.com/?fid=817550096634750828
2. TWRP 3.1.1-0-m8: https://dl.twrp.me/m8/twrp-3.1.1-0-m8.img.html
3. Backup account fix (linked in aforementioned thread): https://www.androidfilehost.com/?fid=24686680535467942
4. ADB and fastboot
5. Unlocked bootloader
**This assumes that you have a Windows computer. I used Windows 10 v1709**
Steps
1. Copy the ROM and TWRP files to the same folder in which fastboot and ADB are located. This makes it easier to run commands.
2. (There might be another way to do this one, but I don't know it) Copy the backup account fix file "MRA58K.H15_backup-account-fix.zip" to a micro SD card and put it in the phone.
3. Open a command prompt or PowerShell window in the folder that contains ADB and fastboot by right-clicking + Shift in an open area and selecting "Open PowerShell/Command Prompt window here."
4. In the PowerShell/Command Prompt window, type "fastboot flash recovery twrp-3.1.1-0-m8.img" and press Enter to install TWRP
5. Reboot into the bootloader and choose "fastboot," then choose "recovery"
6. In TWRP, browse to ADB sideload and then "swipe to start sideload."
7. In your PowerShell/Command Prompt window, type "adb sideload HTC_One_M8_GPe_Marshmallow-6.0_MRA58K.H15_AROMA-Installer-v6-020817.zip" and press Enter to start the installation
8. On the phone's screen, choose the top option, which should be the unrooted, completely stock installation.
9. On my machine, the PowerShell/Command Prompt window showed progress up to 41% and then it finished successfully.
10. After that, do not reboot, but go back into the main TWRP menu and go to Install. Browse to the MRA58K.H15_backup-account-fix.zip file that you previously saved on your SD card and install it.
11. Once that is installed, reboot the phone. My phone took between 5 and 10 minutes to boot the first time.
12. (Optional) I wanted to have a completely reverted phone, so I locked the bootloader again by rebooting the phone into the bootlader and typing "fastboot oem lock" in the PowerShell/Command Prompt window. It then said "relocked" but no warnings or errors.
I hope this helps somebody. All credit goes to maultasche for pointing me in the right direction and to graffixnyc for the other thread.