Update twrp within twrp is the goal. I am new to this, very new.
I am downloading from a different phone to my sd-card wich I then switch into the htc.
1How many files do I need to download on to my sd card? The twrp image, the md5 file and maybe a signature? Where do I need to look out for?
2 where can I get the right twrp download, right now it's version 2.7 something, 2.7.0.3 I think.
After this I am searching for a stock operating system. I thought to use roodjunky. Many files though wich I can't make any sense of. I can spot the .img file but thats it..
Help please!
Update
I am trying to use adb commands with my phone to update twrp/and put an os on it. So far no succes but it is connected. Connection tested with command "adb devices".
I'll keep trying to get the phone working.
Qrsimon said:
Update twrp within twrp is the goal.
Click to expand...
Click to collapse
Updating TWRP within TWRP requires v2.8.4 or later already installed, as clearly stated on the official TWRP website: https://twrp.me/htc/htconem8gsm.html
Qrsimon said:
I am trying to use adb commands with my phone to update twrp/and put an os on it. So far no succes but it is connected. Connection tested with command "adb devices".
Click to expand...
Click to collapse
For flashing TWRP, it isn't adb you want, it is fastboot. adb and fastboot are related, but 2 different things. For fastboot to work, you want to be on the bootloader screen (not TWRP or OS) with "fastboot USB" selected. Then use the command to test: fastboot devices
Keep in mind, what TWRP version you update to, depends on what OS version you are trying to restore. What OS number does it indicate on the bootloader screen (or if blank, what hboot number and what radio number?).
If you can get fastboot working, do fastboot getvar all, then post the output (delete IMEI and serial number) so we can see more info about the device.
---------- Post added at 09:54 AM ---------- Previous post was at 09:46 AM ----------
Qrsimon said:
After this I am searching for a stock operating system. I thought to use roodjunky. Many files though wich I can't make any sense of. I can spot the .img file but thats it..
Click to expand...
Click to collapse
That is one main reason I discourage folks using these random "root" websites (unless you know it is correct and reputable), and/or following YouTube videos to mod your phone. These things almost always are lacking a lot of critical nuance and detail. And they show you just enough to get yourself into trouble, without the proper tools or knowledge to get out of that trouble.
XDA is the best place for knowledge about custom recovery, root, etc. Not only is all the info you need on here, but we have a healthy active community, that is willing to help you when you have troubles or questions.
Case in point, the stock TWRP backup OS files are all right here, sticky thread at the top of this forum section: https://forum.xda-developers.com/htc-one-m8/help/tutorial-how-to-stock-stock-twrp-t3086860
Qrsimon said:
? The twrp image, the md5 file and maybe a signature? Where do I need to look out for?
Click to expand...
Click to collapse
You should disable MD5 and signature checking when flashing TWRP. But that is irrelevant flashing with fastboot, anyway (which you have to do, as mentioned).
fastboot getvar all
redpoint73 said:
Updating TWRP within TWRP requires v2.8.4 or later already installed, as clearly stated on the official TWRP website: https://twrp.me/htc/htconem8gsm.html
For flashing TWRP, it isn't adb you want, it is fastboot. adb and fastboot are related, but 2 different things. For fastboot to work, you want to be on the bootloader screen (not TWRP or OS) with "fastboot USB" selected. Then use the command to test: fastboot devices
Keep in mind, what TWRP version you update to, depends on what OS version you are trying to restore. What OS number does it indicate on the bootloader screen (or if blank, what hboot number and what radio number?).
If you can get fastboot working, do fastboot getvar all, then post the output (delete IMEI and serial number) so we can see more info about the device.
---------- Post added at 09:54 AM ---------- Previous post was at 09:46 AM ----------
That is one main reason I discourage folks using these random "root" websites (unless you know it is correct and reputable), and/or following YouTube videos to mod your phone. These things almost always are lacking a lot of critical nuance and detail. And they show you just enough to get yourself into trouble, without the proper tools or knowledge to get out of that trouble.
XDA is the best place for knowledge about custom recovery, root, etc. Not only is all the info you need on here, but we have a healthy active community, that is willing to help you when you have troubles or questions.
Case in point, the stock TWRP backup OS files are all right here, sticky thread at the top of this forum section: https://forum.xda-developers.com/htc-one-m8/help/tutorial-how-to-stock-stock-twrp-t3086860
Click to expand...
Click to collapse
outcome: "fastboot getvar all"
adb server version (31) doesn't match this client (40); killing...
* daemon started successfully
C:\Users\Jan Jacob\Documents\platform-tools_r28.0.0-windows\platform-tools>fastb
oot devices
HT44JWM01035 fastboot
C:\Users\Jan Jacob\Documents\platform-tools_r28.0.0-windows\platform-tools>fastb
oot 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:
(bootloader) version-misc: PVT SHIP S-OFF
(bootloader) serialno:
(bootloader) imei:
(bootloader) imei2: Not Support
(bootloader) meid: 00000000000000
(bootloader) product: m8_ul_ca
(bootloader) platform: hTCBmsm8974
(bootloader) modelid: 0P6B12000
(bootloader) cidnum: 11111111
(bootloader) battery-status: good
(bootloader) battery-voltage: 0mV
(bootloader) partition-layout: Generic
(bootloader) security: off
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: 205bdca3
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
Finished. Total time: 0.113s
redpoint73 said:
Updating TWRP within TWRP requires v2.8.4 or later already installed, as clearly stated on the official TWRP website: https://twrp.me/htc/htconem8gsm.html
For flashing TWRP, it isn't adb you want, it is fastboot. adb and fastboot are related, but 2 different things. For fastboot to work, you want to be on the bootloader screen (not TWRP or OS) with "fastboot USB" selected. Then use the command to test: fastboot devices
Keep in mind, what TWRP version you update to, depends on what OS version you are trying to restore. What OS number does it indicate on the bootloader screen (or if blank, what hboot number and what radio number?).
If you can get fastboot working, do fastboot getvar all, then post the output (delete IMEI and serial number) so we can see more info about the device.
---------- Post added at 09:54 AM ---------- Previous post was at 09:46 AM ----------
That is one main reason I discourage folks using these random "root" websites (unless you know it is correct and reputable), and/or following YouTube videos to mod your phone. These things almost always are lacking a lot of critical nuance and detail. And they show you just enough to get yourself into trouble, without the proper tools or knowledge to get out of that trouble.
XDA is the best place for knowledge about custom recovery, root, etc. Not only is all the info you need on here, but we have a healthy active community, that is willing to help you when you have troubles or questions.
Case in point, the stock TWRP backup OS files are all right here, sticky thread at the top of this forum section: https://forum.xda-developers.com/htc-one-m8/help/tutorial-how-to-stock-stock-twrp-t3086860
Click to expand...
Click to collapse
I succesfully updated twrp to 2.8.3.0. It's not the 2.8.4.0 but it was my goal to make an update anyway. I was able to make this change through you, thanks! Stock os marshmallow is next~
You have the US AT&T version M8. When you say you want the stock OS, do you mean you want the AT&T branded stock ROM, or something unbranded?
If you want the AT&T branded OS, then easiest way is to use the RUU (ROM update utility). Simply download to PC (PC required), connect phone to PC, and run the RUU executable, which will walk you through the rest.
RUU will wipe everything on the phone, so plan accordingly as needed.
http://dl3.htc.com/application/RUU_...5.1494626502.1528829820-1877063669.1469710847
redpoint73 said:
You have the US AT&T version M8. When you say you want the stock OS, do you mean you want the AT&T branded stock ROM, or something unbranded?
If you want the AT&T branded OS, then easiest way is to use the RUU (ROM update utility). Simply download to PC (PC required), connect phone to PC, and run the RUU executable, which will walk you through the rest.
RUU will wipe everything on the phone, so plan accordingly as needed.
http://dl3.htc.com/application/RUU_...5.1494626502.1528829820-1877063669.1469710847
Click to expand...
Click to collapse
It's non responsive atm when running ruu wizzard. Stuck at updating logo with no bar status. Ehm it keeps saying sending on my laptop screen. Something I missed?
Qrsimon said:
It's non responsive atm when running ruu wizzard. Stuck at updating logo with no bar status. Ehm it keeps saying sending on my laptop screen. Something I missed?
Click to expand...
Click to collapse
i can't really communicate with the phone but I got this:
C:\Users\Jan Jacob\Documents\platform-tools_r28.0.0-windows\platform-tools>fastb
oot
fastboot: usage: no command
C:\Users\Jan Jacob\Documents\platform-tools_r28.0.0-windows\platform-tools>reboo
t fastboot
reboot wordt niet herkend als een interne
of externe opdracht, programma of batchbestand.
C:\Users\Jan Jacob\Documents\platform-tools_r28.0.0-windows\platform-tools>adb c
onnect devices
* daemon not running; starting now at tcp:5037
* daemon started successfully
unable to connect to devices:5555: cannot resolve host 'devices' and port 5555:
Host is onbekend. (11001)
C:\Users\Jan Jacob\Documents\platform-tools_r28.0.0-windows\platform-tools>reboo
t fastboot
reboot wordt niet herkend als een interne
of externe opdracht, programma of batchbestand.
Qrsimon said:
i can't really communicate with the phone but I got this:
C:\Users\Jan Jacob\Documents\platform-tools_r28.0.0-windows\platform-tools>fastb
oot
fastboot: usage: no command
C:\Users\Jan Jacob\Documents\platform-tools_r28.0.0-windows\platform-tools>reboo
t fastboot
reboot wordt niet herkend als een interne
of externe opdracht, programma of batchbestand.
C:\Users\Jan Jacob\Documents\platform-tools_r28.0.0-windows\platform-tools>adb c
onnect devices
* daemon not running; starting now at tcp:5037
* daemon started successfully
unable to connect to devices:5555: cannot resolve host 'devices' and port 5555:
Host is onbekend. (11001)
C:\Users\Jan Jacob\Documents\platform-tools_r28.0.0-windows\platform-tools>reboo
t fastboot
reboot wordt niet herkend als een interne
of externe opdracht, programma of batchbestand.
Click to expand...
Click to collapse
it says so 6.20.502.5 but does not load any os
Qrsimon said:
it says so 6.20.502.5 but does not load any os
Click to expand...
Click to collapse
It runs openrecoveryscript when the phone restarts.
Qrsimon said:
i can't really communicate with the phone but I got this:
C:\Users\Jan Jacob\Documents\platform-tools_r28.0.0-windows\platform-tools>fastboot
fastboot: usage: no command
C:\Users\Jan Jacob\Documents\platform-tools_r28.0.0-windows\platform-tools>reboot fastboot
Click to expand...
Click to collapse
The PC can communicate with the phone just fine. You were able to do fastboot devices (returned phone ID) and fastboot getvar all. The problem is the command quoted above are not valid fastboot commands. Did you see these somewhere, as it seems like you just made them up (you can't do that)!
So is this correct: you have the phone connected to PC in fastboot-bootloader mode, then you run the RUU executable on the PC, the phone goes to black screen with HTC logo, but no progress bar (just freezes)? This is the type of detail you should supply from the start, otherwise we waste time having to guess or ask you questions on what exactly happened.
---------- Post added at 10:30 AM ---------- Previous post was at 10:27 AM ----------
Qrsimon said:
C:\Users\Jan Jacob\Documents\platform-tools_r28.0.0-windows\platform-tools>adb connect devices
Click to expand...
Click to collapse
You can't run fastboot and adb commands at the same time, by definition. adb commands only work when the phone is booted to OS, or alternately they will work in TWRP. Fastboot commands only work when the phone is in bootloader-fastboot mode, and adb command will not work at that time.
---------- Post added at 10:33 AM ---------- Previous post was at 10:30 AM ----------
Qrsimon said:
it says so 6.20.502.5 but does not load any os
Click to expand...
Click to collapse
Having on OS listed on the bootloader screen, and version-main on getvar all, simply means that firmware is installed (hboot, radio baseband, etc.). The OS (system partition) can be wiped or corrupted/damaged, and it will still say an OS version number.
So you need to restore system partition, as you already figured from the start. But since the AT&T version has RUU tool, it is not typical for stock TWRP backup to be posted on these forums.
redpoint73 said:
The PC can communicate with the phone just fine. You were able to do fastboot devices (returned phone ID) and fastboot getvar all. The problem is the command quoted above are not valid fastboot commands. Did you see these somewhere, as it seems like you just made them up (you can't do that)!
So is this correct: you have the phone connected to PC in fastboot-bootloader mode, then you run the RUU executable on the PC, the phone goes to black screen with HTC logo, but no progress bar (just freezes)? This is the type of detail you should supply from the start, otherwise we waste time having to guess or ask you questions on what exactly happened.
---------- Post added at 10:30 AM ---------- Previous post was at 10:27 AM ----------
You can't run fastboot and adb commands at the same time, by definition. adb commands only work when the phone is booted to OS, or alternately they will work in TWRP. Fastboot commands only work when the phone is in bootloader-fastboot mode, and adb command will not work at that time.
---------- Post added at 10:33 AM ---------- Previous post was at 10:30 AM ----------
Having on OS listed on the bootloader screen, and version-main on getvar all, simply means that firmware is installed (hboot, radio baseband, etc.). The OS (system partition) can be wiped or corrupted/damaged, and it will still say an OS version number.
So you need to restore system partition, as you already figured from the start. But since the AT&T version has RUU tool, it is not typical for stock TWRP backup to be posted on these forums.
Click to expand...
Click to collapse
It was my goal to share everyting. I will try it the correct way with the RUU.
So is this correct: you have the phone connected to PC in fastboot-bootloader mode, then you run the RUU executable on the PC, the phone goes to black screen with HTC logo, but no progress bar (just freezes)? This is the type of detail you should supply from the start, otherwise we waste time having to guess or ask you questions on what exactly happened.
Is there a solution for the fact that there is no progress bar?
Qrsimon said:
Is there a solution for the fact that there is no progress bar?
Click to expand...
Click to collapse
Hard to answer your subsequent questions, when you didn't answer the question I asked, which you quoted. Twice.
Try starting over and running the RUU again. Sometimes it gets stuck for unknown reasons. Maybe you already tried multiple times. Who knows. It's hard to help when you don't provide sufficient info.
redpoint73 said:
Hard to answer your subsequent questions, when you didn't answer the question I asked, which you quoted. Twice.
Try starting over and running the RUU again. Sometimes it gets stuck for unknown reasons. Maybe you already tried multiple times. Who knows. It's hard to help when you don't provide sufficient info.
Click to expand...
Click to collapse
Sorry I did not read it correctly.
Fixed
Qrsimon said:
Update twrp within twrp is the goal. I am new to this, very new.
I am downloading from a different phone to my sd-card wich I then switch into the htc.
1How many files do I need to download on to my sd card? The twrp image, the md5 file and maybe a signature? Where do I need to look out for?
2 where can I get the right twrp download, right now it's version 2.7 something, 2.7.0.3 I think.
After this I am searching for a stock operating system. I thought to use roodjunky. Many files though wich I can't make any sense of. I can spot the .img file but thats it..
Help please!
Update
I am trying to use adb commands with my phone to update twrp/and put an os on it. So far no succes but it is connected. Connection tested with command "adb devices".
I'll keep trying to get the phone working.
Click to expand...
Click to collapse
The origin of error 170 ore 155 when running the RUU on my windows 7 laptop is due to the fact that the phone reboots a couple times, ore better: dissconects. For security reasons my laptop didn't allow any of that within. You can alter the notification level by run the RUU by double click it and when the administrator notification pops up, open the details.
The easiest way to acces the level of protection is by typing "uac" in the start search box. This leads to the uac(user acount control) settings.
Related
I tried to update my phone to 6.0 from 4.4.2 with ADB. Came with an error "System partition size error". It doesn't see the SD card when I tried to install from it.
My phone stuck at hboot screen. I can only access recovery and hboot menu. And when I tried to update to Lolipop with exe from a computer it says "Error 155: Unknown error". Xp 32 bit USB 2.0.
After I said reboot system through TWRP and it said No OS installed! .
But I have already installed ViperOne 3.2.1 Kitkat and Stock 4.4.4 before without any error still can't escape from boot menu. Any help would appreciate.
Here is some information:
S-OFF
Unlocked
version: 0.5
version-bootloader: 3.16.0.0000
version-baseband: 1.14.2133156.UA24G
version-cpld: None
version-microp: None
version-main: 1.12.401.17
version-misc: PVT SHIP S-OFF
serialno: FA43CSF00379
imei: ***********
imei2: Not Support
meid: 99000499006617
product: m8_whl
platform: hTCBmsm8974
modelid: 0P6B10000
cidnum: 11111111
battery-status: good
battery-voltage: 0mV
partition-layout: Generic
security: off
build-mode: SHIP
boot-mode: FASTBOOT
commitno-bootloader: 0a41237a
hbootpreupdate: 11
gencheckpt: 0
And I think the device was T-Mobile 13000 at first but I'm not sure about it.
Did you update the firmware? I ran into a similar issue because my device shipped out with 4.4.2.
To update the firmware, you have to do the following:
Set your OEM's CID. Do not use SUPERCID.
My device was GPE, so [fastboot oem writecid GOOGL001]
Re-lock your Bootloader using Fastboot.
[fastboot oem lock ] then [fastboot reboot ruu]
You'll see the device logo centered onscreen.
Flash a firmware update file (does NOT have to be a whole ROM) and you'll be able to update to the threshold of that firmware.
I have Marshmallow firmware. So I can use MM or LP as well as KK ROMs now without bootloop.
Be sure to hit thanks if I helped! Be even more sure to PM me if you need help (like firmware files if you have the same variant).
Sent from my HTC M8 GPE
? Mass Transit Honchkrow ?
My current firmware is: 3.28.401.9. Which one do you suggest to install? And I would really appreciate if you send me firmware files. I'm not sure which variant's firmware I should use.
Edit: By the way I can install roms but ruu.exe gives me error.
DreamGod said:
My current firmware is: 3.28.401.9.
Click to expand...
Click to collapse
wrong ...
your firmware is 1.12.401.17 as shown on your getvar details on post #1.
and your device is a sprint device (m8_whl) and you should not flash any GSM firmware.
Sprint & GSM has different System partition size (your error)
change your model-ID currently shown as 0P6B10000 back to to sprint 0P6B70000
and install Sprint RUU or firmware. You can find them on Sprint forum.
furboom1240 said:
Did you update the firmware? I ran into a similar issue because my device shipped out with 4.4.2.
To update the firmware, you have to do the following:
Set your OEM's CID. Do not use SUPERCID.
My device was GPE, so [fastboot oem writecid GOOGL001]
Re-lock your Bootloader using Fastboot.
[fastboot oem lock ] then [fastboot reboot ruu]
You'll see the device logo centered onscreen.
Flash a firmware update file (does NOT have to be a whole ROM) and you'll be able to update to the threshold of that firmware.
I have Marshmallow firmware. So I can use MM or LP as well as KK ROMs now without bootloop.
Be sure to hit thanks if I helped! Be even more sure to PM me if you need help (like firmware files if you have the same variant).
Sent from my HTC M8 GPE
Mass Transit Honchkrow
Click to expand...
Click to collapse
He is S-Off. No need to relock the bootloader ever.
And for S-On users, the only time you will need to relock the bootloader is for running an RUU
Also, superCID will work with any firmware. No need to set the CID to his carrier's (not OEM's) CID
xunholyx said:
He is S-Off. No need to relock the bootloader ever.
And for S-On users, the only time you will need to relock the bootloader is for running an RUU
Click to expand...
Click to collapse
I thought so too. I'm also s-off but my firmware update stalled code 20 until I relocked the bootloader. But when I was finished I reversed that course [fastboot OEM unlock] and then dismissed the warning.
That's exactly what I did. Note that I mention RUU in my Fastboot instructions. :\
Sent from my HTC M8 GPE
? Mass Transit Honchkrow ?
furboom1240 said:
I thought so too. I'm also s-off but my firmware update stalled code 20 until I relocked the bootloader. But when I was finished I reversed that course [fastboot OEM unlock] and then dismissed the warning.
That's exactly what I did. Note that I mention RUU in my Fastboot instructions. :\
Sent from my HTC M8 GPE
Mass Transit Honchkrow
Click to expand...
Click to collapse
Error 20? Never heard of that one, no idea what it is.
ckpv5 said:
wrong ...
your firmware is 1.12.401.17 as shown on your getvar details on post #1.
and your device is a sprint device (m8_whl) and you should not flash any GSM firmware.
Sprint & GSM has different System partition size (your error)
change your model-ID currently shown as 0P6B10000 back to to sprint 0P6B70000
and install Sprint RUU or firmware. You can find them on Sprint forum.
Click to expand...
Click to collapse
Thank you I will try and tell the results. I though that my device was GSM didn't even know that it was Sprint. I was totally wrong at first then.
xunholyx said:
Error 20? Never heard of that one, no idea what it is.
Click to expand...
Click to collapse
Something I got in the Fastboot.
You open a command window and reference the file.
You either get a OKAY (milliseconds taken) or FAILED (error##). Some errors are obvious, like the cable disconnected, your recovery is out of date, update your SDK.
Sent from my HTC M8 GPE
? Mass Transit Honchkrow ?
furboom1240 said:
Something I got in the Fastboot.
You open a command window and reference the file.
You either get a OKAY (milliseconds taken) or FAILED (error##). Some errors are obvious, like the cable disconnected, your recovery is out of date, update your SDK.
Sent from my HTC M8 GPE
Mass Transit Honchkrow
Click to expand...
Click to collapse
Yeah, I know what the error codes are. LOL! I'm far from new at this.
I just haven't heard of error 20
xunholyx said:
Yeah, I know what the error codes are. LOL! I'm far from new at this.
I just haven't heard of error 20
Click to expand...
Click to collapse
Sometimes remembering this stuff makes my head hurt. I often went to webchat to diagnose issues or find similarities.
Sometimes it's how I word a problem, the other time its the problem itself that throws off a bit... ?
Sent from my HTC M8 GPE
? Mass Transit Honchkrow ?
ckpv5 said:
wrong ...
your firmware is 1.12.401.17 as shown on your getvar details on post #1.
and your device is a sprint device (m8_whl) and you should not flash any GSM firmware.
Sprint & GSM has different System partition size (your error)
change your model-ID currently shown as 0P6B10000 back to to sprint 0P6B70000
and install Sprint RUU or firmware. You can find them on Sprint forum.
Click to expand...
Click to collapse
Hello, it's me again. I'm trying to change my model-id but it shows like that:
P6B7\ (enter)
0000
My device won't open (only hboot and fastboot, no recovery) so I'm not sure how I can use adb since it doesn't show my device and its serial number. I appreciate your help...
DreamGod said:
Hello, it's me again. I'm trying to change my model-id but it shows like that:
P6B7\ (enter)
0000
My device won't open (only hboot and fastboot, no recovery) so I'm not sure how I can use adb since it doesn't show my device and its serial number. I appreciate your help...
Click to expand...
Click to collapse
How did you do that ? You wrote the code on your own instead of copy paste the whole code ? I don't know whether can fix that ... let's try again.
1. You need to install the old version TWRP recovery as your current hboot is 3.16.0.0000
install TWRP 2.8.1.0 - https://dl.twrp.me/m8/
2. After TWRP 2.8.1.0 installed, boot to recovery
mount - system
3. connect to PC and open a command prompt from your fastboot/adb folder then run command
adb shell
then this code (copy and paste .. don't write them on command prompt on your own)
Code:
echo -ne '\x30\x00\x50\x00\x36\x00\x42\x00\x37\x00\x30\x00\x30\x00\x30\x00\x30' | dd of=/dev/block/mmcblk0p5 bs=1 seek=16384
exit
on recovery select reboot - bootloader
then run command fastboot getvar mid - you should have 0P6B70000 now (hopefully)
ckpv5 said:
How did you do that ? You wrote the code on your own instead of copy paste the whole code ? I don't know whether can fix that ... let's try again.
1. You need to install the old version TWRP recovery as your current hboot is 3.16.0.0000
install TWRP 2.8.1.0 - https://dl.twrp.me/m8/
2. After TWRP 2.8.1.0 installed, boot to recovery
mount - system
3. connect to PC and open a command prompt from your fastboot/adb folder then run command
adb shell
then this code (copy and paste .. don't write them on command prompt on your own)
Code:
echo -ne '\x30\x00\x50\x00\x36\x00\x42\x00\x37\x00\x30\x00\x30\x00\x30\x00\x30' | dd of=/dev/block/mmcblk0p5 bs=1 seek=16384
exit
on recovery select reboot - bootloader
then run command fastboot getvar mid - you should have 0P6B70000 now (hopefully)
Click to expand...
Click to collapse
Firstly I want to thank you with your help I've changed model-id.
Then I installed this firmware: https://www.androidfilehost.com/?fid=24391638059059188
and the screen was like that: http://hizliresim.com/4lZjAL
I've succeeded to open boot menu. Then I tried to install this version: https://www.androidfilehost.com/?fid=24052804347796593
but sd card gave me "wrong zippe image!". When I tried to install with .exe it gave me "Error: 155 Unknown error". Couldn't install with command either. I think something is wrong with firmware or rom. By the way there's a text "OP6B100x" behind my phone. Are we sure about the variant of my phone? I'm not even sure which firmware and rom I should install. I appreciate all your help.
DreamGod said:
Firstly I want to thank you with your help I've changed model-id.
Then I installed this firmware: https://www.androidfilehost.com/?fid=24391638059059188
and the screen was like that: http://hizliresim.com/4lZjAL
I've succeeded to open boot menu. Then I tried to install this version: https://www.androidfilehost.com/?fid=24052804347796593
but sd card gave me "wrong zippe image!". When I tried to install with .exe it gave me "Error: 155 Unknown error". Couldn't install with command either. I think something is wrong with firmware or rom. By the way there's a text "OP6B100x" behind my phone. Are we sure about the variant of my phone? I'm not even sure which firmware and rom I should install. I appreciate all your help.
Click to expand...
Click to collapse
Text "OP6B100x" behind your phone most probably due to change of back cover.
Your getvar on post #1 clearly shown it is Sprint
meid: 99000499006617
product: m8_whl
where the "OP6B100x" should read
meid: 00000000000000
product: m8_ul
After you installed 6.20.651.3_full_firmware.zip, you should run the 6.20.651.3 RUU.exe (you should not get error 155)
but instead, you tried a lower version RUU.zip which require a htc_fastboot to flash it. I don't know what you meant by "sd card gave me "wrong zippe image!"". Was it you tried with external_sd method ?
about the screen that you get .. I don't know for sure .. maybe it's because your ROM version is wrong for the firmware that newly installed ... and maybe (the one that I'm always scare of) .. you previously installed GSM firmware 1.12.401.17 on a CDMA device which may altered some of your system partition tables.
That's why there's a big warning here : http://forum.xda-developers.com/showpost.php?p=51700638&postcount=2
warning! provided only for folks who have changed their mid and realized they shouldnt have,or achieved s off via a java card. DO NOT change a gsm or vzw device to this in attempts to use it on sprint and convert to a sprint device(or vice versa).
Can you post current fastboot getvar all result after you made all these changes ? You may need to reflash the 6.20.651.3 and run 6.20.651.3 RUU.exe after the firmware installed.
ckpv5 said:
Text "OP6B100x" behind your phone most probably due to change of back cover.
Your getvar on post #1 clearly shown it is Sprint
meid: 99000499006617
product: m8_whl
where the "OP6B100x" should read
meid: 00000000000000
product: m8_ul
After you installed 6.20.651.3_full_firmware.zip, you should run the 6.20.651.3 RUU.exe (you should not get error 155)
but instead, you tried a lower version RUU.zip which require a htc_fastboot to flash it. I don't know what you meant by "sd card gave me "wrong zippe image!"". Was it you tried with external_sd method ?
about the screen that you get .. I don't know for sure .. maybe it's because your ROM version is wrong for the firmware that newly installed ... and maybe (the one that I'm always scare of) .. you previously installed GSM firmware 1.12.401.17 on a CDMA device which may altered some of your system partition tables.
That's why there's a big warning here : http://forum.xda-developers.com/showpost.php?p=51700638&postcount=2
warning! provided only for folks who have changed their mid and realized they shouldnt have,or achieved s off via a java card. DO NOT change a gsm or vzw device to this in attempts to use it on sprint and convert to a sprint device(or vice versa).
Can you post current fastboot getvar all result after you made all these changes ? You may need to reflash the 6.20.651.3 and run 6.20.651.3 RUU.exe after the firmware installed.
Click to expand...
Click to collapse
After I installed Marshmallow, I can open phone now. Thank you for your all help.
Oh, thanks
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
Guys, my htc one m8 tmobile op6b130 ( bootloader looked, s-off) current software 4.16.1540.8. ... It does not install the update and says that i must revert back to original system software because it is modified version.
so please guide me how to get it done.. how do i install the update. Thanks
What do you mean by software number (where are you reading the nubmer)? Best thing to go by, is the OS number listed on the bootloader screen.
Also, an OTA will fail if the phone is rooted, custom ROM, or even unrooted (needs to be a never rooted stock ROM).
If you know how, do fastboot getvar all, and post the results (delete IMEI and serial number before posting).
Otherwise, did you change the CID or MID (and know what they currently are)?
Bootloader screen is like
Software status official
***locked*** S -off
cid -11111111
OS 4.16.1540.8
The model written at rear bottom of my htc is Op6b130 .
i get update with a number 4.17.1540.9 which does not install.
Thats the real confusion with me .. so please tell me the way how do i install the next updates.
mfaizi16 said:
Bootloader screen is like
Software status official
***locked*** S -off
cid -11111111
OS 4.16.1540.8
The model written at rear bottom of my htc is Op6b130 .
i get update with a number 4.17.1540.9 which does not install.
Thats the real confusion with me .. so please tell me the way how do i install the next updates.
Click to expand...
Click to collapse
The phone is heavily modified. It has some point been rooted, SuperCID (11111111) and had the US Developers Edition (4.16.1540.8) firmware and/or RUU applied.
Do you know the history of these mods; did you do them, or did someone else mod the phone?
Can't say for certain, unless I know more details. But the easiest way to update to the latest (MM) version may be to flash 6.12.1540.4 firmware, then flash the 6.12.1540.4 RUU.
I did not do anything like that. I got my htc in this form.
so if MM update is better. Can you please tell me the procedure of installing firmware and ruu file as you said. I would be very grateful to you for this.
Would this procedure be right for me?
https://forum.xda-developers.com/ht...uide-htc-one-m8-to-developer-edition-t3331854
mfaizi16 said:
Would this procedure be right for me?
https://forum.xda-developers.com/ht...uide-htc-one-m8-to-developer-edition-t3331854
Click to expand...
Click to collapse
Yes, that would actually work, and describes what I was talking about. Nice work finding it yourself!
I'm not sure whether you need to change the MID or not. CID is fine to run the 6.12.1540.4 firmware and RUU. And SuperCID will actually bypass the MID in some situations (but not all). Plus, with the info given so far, I can't tell what the current MID is (it may already have been changed).
If you do need to change the MID, you will also need root. So that would be more steps.
So my advice is to first skip the steps of changing CID and MID. Just go to the steps of flashing the 6.12.1540.4 firmware and RUU. If the firmware fails due to wrong MID, it will tell you that via an error message; and we can tackle that issue if it comes up. But if it works on the current MID, then we've saved some steps.
Best (most accurate) way to determine the current MID, is to do command: fastboot getvar all
Then post the output (delete IMEI and serial number before posting).
This will also give us a lot more useful info on the device.
You'll need to use fastboot anyway (for the guide you linked), if you don't already know how. So you may as well figure it out now. The command should also work with the htc fastboot given in the thread you linked, but would be: htc_fastboot getvar all
in fastboot getvar all ... i got
version bootloader: 3.19.0.0000
version baseband: 1.24.21331147A1.09G
version cpld: none
version microp: noone
version mics: pvt ship s-off
meid: 00000000000000
Os : 4.16.1540.8
product: m8_ul
platform: hTCBmsm8974
modelid: OP6B13000
cidnum: 11111111
partition layout: generic
security: off
buld mode: ship
boot mode: fastboot
mfaizi16 said:
in fastboot getvar all ... i got
version bootloader: 3.19.0.0000
version baseband: 1.24.21331147A1.09G
version cpld: none
version microp: noone
version mics: pvt ship s-off
meid: 00000000000000
product: m8_ul
platform: hTCBmsm8974
modelid: OP6B13000
cidnum: 11111111
partition layout: generic
security: off
buld mode: ship
boot mode: fastboot
Click to expand...
Click to collapse
Good to go with 6.12.1540.4 flashing from the guide you linked
Flash the firmware.zip in RUU mode then reboot to bootloader make sure the new os number is 6.12.1540.4 then proceed to flash the RUU.exe
Good luck
Sent from my HTC M8 using XDA Labs
do I need to change Cid & Mid?
when i typed adb.exe shell .. it gave me error that no device is there .
although it showed me my serial number when typed adb devices. it ran fine.
but what's the problem with adb.exe shell?
secondly, is it ok to jump from 4.16.1540.8 to directly 6.12.1540.4?
mfaizi16 said:
do I need to change Cid & Mid?
when i typed adb.exe shell .. it gave me error that no device is there .
although it showed me my serial number when typed adb devices. it ran fine.
but what's the problem with adb.exe shell?
Click to expand...
Click to collapse
no need to change anything you have supercid and the right mid,it will pass the check
it's "adb shell" not "adb.exe shell"
---------- Post added at 07:43 PM ---------- Previous post was at 07:42 PM ----------
mfaizi16 said:
secondly, is it ok to jump from 4.16.1540.8 to directly 6.12.1540.4?
Click to expand...
Click to collapse
yes but use the steps in the guide flash firmware.zip then flash the RUU.exe
While flashing ruu file, when I typed fastboot flash zip rom.zip
It said that targeted maximum download reported 1825********* bytes.
And my pc stucks there and htc stuck there with htc logo..
So what do i do now?
mfaizi16 said:
While flashing ruu file, when I typed fastboot flash zip rom.zip
It said that targeted maximum download reported 1825********* bytes.
And my pc stucks there and htc stuck there with htc logo..
So what do i do now?
Click to expand...
Click to collapse
try another usb port ( use usb 2 not 3 ) and make sure the drivers are installed properly
mfaizi16 said:
While flashing ruu file, when I typed fastboot flash zip rom.zip
It said that targeted maximum download reported 1825********* bytes.
Click to expand...
Click to collapse
You need to use the htc_fastboot to flash the RUU, as indicated in the guide you linked (and required files downloaded from there as well). The "generic" Android fastboot can't handle files that big.
Although, you should drop the ".exe" (indicated in the guide) from all the fastboot commands. I've never seen ".exe" included on fastboot and adb commands, and it will probably cause you an error like it did when flashing firmware. So the command should be:
htc_fastboot oem rebootRUU
htc_fastboot flash zip rom.zip
---------- Post added at 09:51 AM ---------- Previous post was at 09:47 AM ----------
mfaizi16 said:
secondly, is it ok to jump from 4.16.1540.8 to directly 6.12.1540.4?
Click to expand...
Click to collapse
Yes, that is fine. Which is why I told you to do it. If anything else needed to be done, I would have indicated that.
RUU doesn't need to be installed in sequence, meaning you can skip a version(s). RUU is different from OTA, as OTA typically does need to be installed in sequence.
With s-off, you can even go backwards with RUU. Which is also something you can't do with OTA.
while flashing firmware , it first said 'failed' and then automatically came with 'finished and time' .
When i went to ruu .. i first used htc_command .. but it said that ' this command is not in internal and external blaa blaa'. So i went without htc_ and got stuck and waited about half hour for that. Then , knowing nothing i did factory reset with wipe cache to restore my phone back to 4.16.1540.8.
Are there any pre-requisites that phone shold be unlocked and rooted (as i saw some videos on youtube)?
My phone is s-off, bootloader locked and no root access.
mfaizi16 said:
while flashing firmware , it first said 'failed' and then automatically came with 'finished and time' .
Click to expand...
Click to collapse
If it gave a message about "flush image immediately" this just means you need to flash the firmware again (needing to flash 2 times is normal and expected).
If the firmware installed correctly, you will see OS 6.12.1540.4 on the bootloader screen, and also see 6.12.1540.4 for "version-main" if you do fastboot getvar all.
You must have 6.12.1540.4 firmware properly installed, in order to flash the RUU.
mfaizi16 said:
When i went to ruu .. i first used htc_command .. but it said that ' this command is not in internal and external blaa blaa'.
Click to expand...
Click to collapse
You are getting that message, since you are not executing the command from the folder where htc_fastboot.exe is located. After you download htc_fastboot from the thread you linked, open Command Prompt in the folder (Left Shift + Right Mouse Click) and run the commands.
Leaving off the "htc" means you are trying to use the "generic" fastboot tool (fastboot.exe). Which would also confirm the fact you are probably running the command from the wrong folder. Again, using the regular fastboot will never work, since it can't handle the file size of the RUU.
mfaizi16 said:
Are there any pre-requisites that phone shold be unlocked and rooted (as i saw some videos on youtube)?
My phone is s-off, bootloader locked and no root access.
Click to expand...
Click to collapse
You mean prerequisites for the RUU? If so, saying bootloader unlocked and rooted are prerequisites is false and incorrect. If you saw it on a YouTube, you are confusing RUU with something else.
Bootloader locked is normally (s-on) a requirement for RUU. But since you are s-off, it will run with the bootloader unlocked, locked or relocked.
Root has no effect on RUU. RUU will run, whether the phone is rooted or not.
---------- Post added at 11:43 AM ---------- Previous post was at 11:41 AM ----------
mfaizi16 said:
Then , knowing nothing i did factory reset with wipe cache to restore my phone back to 4.16.1540.8.
Click to expand...
Click to collapse
What exactly are you trying to "restore" or accomplish with this? It's not clear you have even installed anything past 4.16.1540.8, to begin with.
Finally did it successfully!
Thank you everyone for guiding me.
redpoint73 said:
What do you mean by software number (where are you reading the nubmer)? Best thing to go by, is the OS number listed on the bootloader screen.
Also, an OTA will fail if the phone is rooted, custom ROM, or even unrooted (needs to be a never rooted stock ROM).
If you know how, do fastboot getvar all, and post the results (delete IMEI and serial number before posting).
Otherwise, did you change the CID or MID (and know what they currently are)?
Click to expand...
Click to collapse
Hi I can see you are kind on HTC M8. Can you help me? My phone don't see updates. It sprint version.
The was changed to super cid. HTC sync manager don't recognise it Nobody from HTC can help me. They don't know what to do.
pablo_com said:
Hi I can see you are kind on HTC M8. Can you help me? My phone don't see updates. It sprint version.
The was changed to super cid. HTC sync manager don't recognise it Nobody from HTC can help me. They don't know what to do.
Click to expand...
Click to collapse
If you know how, do fastboot getvar all, and post the results (delete IMEI and serial number before posting).
Basically, Sprint (and most US carrier versions of the M8) won't update if not connected to that actual US carrier (Sprint, in your case). Also, you can NOT "modify" the Sprint version to make it another version (such as Euro), and the reason for that is that the Sprint version you will radio brick the device doing this! So don't try it!
You can update using the RUU meant for the Sprint M8 (and only the RUU meant for the Sprint M8, for the reason mentioned above). Whether you need to update or not (by RUU) depends on what it says in the getvar info I asked for above.
Hi, I attempted to root my phone for the first time following these instructions, which have the HTCDev.com unlocking bootloader instructions as part of them.
Output of "fastboot getvar all" is below
(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: 6.12.61.4
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno:
(bootloader) imei:
(bootloader) imei2: Not Support
(bootloader) meid: 00000000000000
(bootloader) product: m8_ul
(bootloader) platform: hTCBmsm8974
(bootloader) modelid: 0P6B10000
(bootloader) cidnum: ORANG001
(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
I did make a mistake, I loaded both the below images in the given order.
openrecovery-twrp-2.7.0.2-m8.img
philz_touch_6.26.6-m8.img
When I went into recovery I got philz touch and loaded the UPDATE-SuperSU-v2.37.zip that was instructed. However I am got stuck in permanent reboot.
I followed the instructions in this thread up until post #6, but I don't understand how to "reflash my custom recovery". I am currently on the fasboot screen after having successfully run "fastboot flash zip firmware-2.22.531.5.zip".
Is this removing the philz touch image? How is this done?
Or more what I'm after, how do I get to a rooted phone from here which is usable?
Thank you in advance for any help given!
The chosen SuperSu is way too old. I never used Philz Touch but even TWRP you loaded is way too old as well.
Flash the latest TWRP and the latest SuperSu or magisk and you're good to go.
And please remove your imei and serial no.
maultasche said:
The chosen SuperSu is way too old. I never used Philz Touch but even TWRP you loaded is way too old as well.
Flash the latest TWRP and the latest SuperSu or magisk and you're good to go.
And please remove your imei and serial no.
Click to expand...
Click to collapse
Many thanks!
Can I just clarify what flashing the latest TWRP and the latest SuperSU means? I'm running on windows, which fastboot instruction(s) in cmd do I need to run? (Sorry, I am very new to this.)
MonkeyBrains7532 said:
I followed the instructions in this thread up until post #6, but I don't understand how to "reflash my custom recovery". I am currently on the fasboot screen after having successfully run "fastboot flash zip firmware-2.22.531.5.zip".
Click to expand...
Click to collapse
Hold on, I missed this part. Why would you even flash this zip? I don't even know what that is. I'm not even sure this zip was intended for your phone. Flashing zips which are not for your device model could brick the phone.
The latest TWRP can be found here:
https://dl.twrp.me/m8/
Latest SuperSu:
https://forum.xda-developers.com/apps/supersu/stable-2016-09-01supersu-v2-78-release-t3452703
maultasche said:
Hold on, I missed this part. Why would you even flash this zip? I don't even know what that is. I'm not even sure this zip was intended for your phone
Click to expand...
Click to collapse
I thought it was resetting firware... Is there a way to remove this? "flashboot flash zip <some_correct_firmware>"?
Check out the link to the other thread, as I did (niavely) follow the instructions given.
MonkeyBrains7532 said:
I thought it was resetting firware... Is there a way to remove this? "flashboot flash zip <some_correct_firmware>"?
Check out the link to the other thread, as I did (niavely) follow the instructions given.
Click to expand...
Click to collapse
I did. Your phone is an orange one, you flashed old firmware which was meant for a t-mobile phone. Flashing random zips which are not meant for your phone could brick the device.
maultasche said:
I did. Your phone is an orange one, you flashed old firmware which was meant for a t-mobile phone. Flashing random zips which are not meant for your phone could brick the device.
Click to expand...
Click to collapse
Right, okay... Assuming it's not beyond all hope, would flashing the correct firmware possibly resolve this?
If so, where would I need to go to get the latest correct firmware for my carrier?
I can see some options on the HTC website ROM downloads, but nothing for Orange. I thought I was T-Mobile as I got the phone from EE...
MonkeyBrains7532 said:
Right, okay... Assuming it's not beyond all hope, would flashing the correct firmware possibly resolve this?
If so, where would I need to go to get the latest correct firmware for my carrier?
I can see some options on the HTC website ROM downloads, but nothing for Orange. I thought I was T-Mobile as I got the phone from EE...
Click to expand...
Click to collapse
The site only posts RUU for US phones.
Is the phone really in a bootloop or just stuck at the boot screen?
There is hope for you. Since you want to root as well we'll go this way:
https://forum.xda-developers.com/htc-one-m8/help/tutorial-how-to-stock-stock-twrp-t3086860
Download the TWRP backup from post #3. It's the first one there for your device. After you downloaded the backup, flash the latest TWRP which I linked earlier. Boot into TWRP and restore the backup. If the phone is not booting then follow instructions in post #5 to flash firmware.
But before you go and restore a backup try to flash firmware as mentioned in post #5. You need to relock bootloader though.
maultasche said:
The site only posts RUU for US phones.
Is the phone really in a bootloop or just stuck at the boot screen?
There is hope for you. Since you want to root as well we'll go this way:
https://forum.xda-developers.com/htc-one-m8/help/tutorial-how-to-stock-stock-twrp-t3086860
Download the TWRP backup from post #3. It's the first one there for your device. After you downloaded the backup, flash the latest TWRP which I linked earlier. Boot into TWRP and restore the backup. If the phone is not booting then follow instructions in post #5 to flash firmware
Click to expand...
Click to collapse
It was originally just on the White with green "HTC" text boot screen. I'm now in fastboot.
So I have downloaded the following.
SuperSU-v2.82-201705271822.zip
twrp-3.1.1-0-m8.img
I also downloaded the below (on the mega-nz.com link).
hboot 3.19.0000 - 6.xx.xxx.x (Marshmallow)
CID ORANG001
MID 0P6B10000
6.12.61.4
as well as the below from post #5
CID ORANG001
MID 0P6B10000
fw_6.12.61.4
I attempted to flash the TWRP, but got "'flashboot' is not recognized as an internal or external command". I am still in the directory where I downloaded flashboot and this is a new error..
I then started on the instructions in post #5, all the way up to "fastboot flash zip fw_6.12.61.4.zip" but I get the same "...not recognized..." error. My phone is now on a screen similar to fastboot, but there is just the one option, "RUU". It was on a black screen with "HTC" in the middle a moment ago when I was trying to flash the zip.
@MonkeyBrains7532
What do you mean with flashboot? Or is this just a typo? There is no flashboot command. The basic idea is:
fastboot flash recovery NameOfRecovery.img
You can also only boot into TWRP with fastboot boot NameOfRecovery.img
If you want to try to flash only the firmware first you need to lock bootloader first. I'm not quite sure if you should be on stock recovery for that. You can flash that one as well with the mentioned command
maultasche said:
@MonkeyBrains7532
What do you mean with flashboot? Or is this just a typo? There is no flashboot command. The basic idea is:
fastboot flash recovery NameOfRecovery.img
You can also only boot into TWRP with fastboot boot NameOfRecovery.img
If you want to try to flash only the firmware first you need to lock bootloader first. I'm not quite sure if you should be on stock recovery for that. You can flash that one as well with the mentioned command
Click to expand...
Click to collapse
Oh lord that was a typo, okay starting the instructions again. Sorry for the dumb mistake.
MonkeyBrains7532 said:
Oh lord that was a typo, okay starting the instructions again. Sorry for the dumb mistake.
Click to expand...
Click to collapse
Don't worry. I've been through the same once
maultasche said:
Don't worry. I've been through the same once
Click to expand...
Click to collapse
Thanks
So I continued off where I left, firstly by putting the phone in flashboot mode then repeating step 4 on post #5.
However, when I ran "fastboot oem rebootRUU" in cmd it just sat on "<waiting for device>" until I killed the command.
Is this just a question of leave it alone for a little while?
MonkeyBrains7532 said:
Thanks
So I continued off where I left, firstly by putting the phone in flashboot mode then repeating step 4 on post #5.
However, when I ran "fastboot oem rebootRUU" in cmd it just sat on "<waiting for device>" until I killed the command.
Is this just a question of leave it alone for a little while?
Click to expand...
Click to collapse
Was USB debugging enabled on your phone? Seems like it wasn't. Does it say in hboot fastboot USB?
maultasche said:
Was USB debugging enabled on your phone? Seems like it wasn't. Does it say in hboot fastboot USB?
Click to expand...
Click to collapse
I thought I had when I first got into the dev options, I may well be misremembering. It just says hboot fastboot...
MonkeyBrains7532 said:
I thought I had when I first got into the dev options, I may well be misremembering. It just says hboot fastboot...
Click to expand...
Click to collapse
Well then it's not working. It either should say fastboot USB or fastboot AC. It's been a while as I've done that, so I'm not 100% sure what it should say. So you need to go the route with twrp backup instead. Can you at least flash or boot twrp?
maultasche said:
Well then it's not working. It either should say fastboot USB or fastboot AC. It's been a while as I've done that, so I'm not 100% sure what it should say. So you need to go the route with twrp backup instead. Can you at least flash or boot twrp?
Click to expand...
Click to collapse
I am getting "waiting for device" when I run either "fastboot boot twrp-3.1.1-0-m8.img" or "fastboot flash recovery twrp-3.1.1-0-m8.img".
MonkeyBrains7532 said:
I am getting "waiting for device" when I run either "fastboot boot twrp-3.1.1-0-m8.img" or "fastboot flash recovery twrp-3.1.1-0-m8.img".
Click to expand...
Click to collapse
Do you have philztouch still on your phone?
maultasche said:
Do you have philztouch still on your phone?
Click to expand...
Click to collapse
I should do. Next step, go to recovery?
Fyi, I scrolled down in Fastboot and the menu name changed to Fastboot USB. Tried booting and flashing again, but still waiting for device. I don't know if this new information changes anything.
MonkeyBrains7532 said:
I should do. Next step, go to recovery?
Fyi, I scrolled down in Fastboot and the menu name changed to Fastboot USB. Tried booting and flashing again, but still waiting for device. I don't know if this new information changes anything.
Click to expand...
Click to collapse
Yes, boot into Philz and try to find out if the recovery can flash .img files
Never used it so I don't know :/
I have an odd problem that I never experienced before, maybe some have? Using Linux (Arch with android-tools installed), I'm trying to unlock my XZ2C like I have done lots of time with "sudo fastboot oem unlock 0x". But, this time it just wont run. The cursor jumps about 30 characters (spaces I guess) and just sits there, nothing else happens. Have to pull the cable to the phone to "abort" fastboot. It looks like this (the FAILED part is what I get after I pull the cable);
Code:
*#*sudo fastboot oem unlock 0x9366CB600ED6A33C
[sudo] lösenord för zynex:
< waiting for any device >
FAILED (Status read failed (No such device))
fastboot: error: Command failed
I have tried change the cable, but still the same. Any ideas?? I read in the twrp thread about a bootloader bug, not sure if that have something to do with it. I'm on latest fw (52.0.A.10.6).
PS, yes I have OEM unlock checked, ADB debug etc etc...
-- Mike
zynexx said:
I have an odd problem that I never experienced before, maybe some have? Using Linux (Arch with android-tools installed), I'm trying to unlock my XZ2C like I have done lots of time with "sudo fastboot oem unlock 0x". But, this time it just wont run. The cursor jumps about 30 characters (spaces I guess) and just sits there, nothing else happens. Have to pull the cable to the phone to "abort" fastboot. It looks like this (the FAILED part is when what I get after I pull the cable);
Code:
*#*sudo fastboot oem unlock 0x9366CB600ED6A33C
[sudo] lösenord för zynex:
< waiting for any device >
FAILED (Status read failed (No such device))
fastboot: error: Command failed
I have tried change the cable, but still the same. Any ideas?? I read in the twrp thread about a bootloader bug, not sure if that have something to do with it. I'm on latest fw (52.0.A.10.6).
PS, yes I have OEM unlock checked, ADB debug etc etc...
-- Mike
Click to expand...
Click to collapse
Latest is 11.3
I would update first
Do you use at least platform tools v29.0.4?
Is the phone in the blue led fastboot mode?
MartinX3 said:
Latest is 11.3
I would update first
Do you use at least platform tools v29.0.4?
Is the phone in the blue led fastboot mode?
Click to expand...
Click to collapse
Ah, seems that 11.3 hasn't been released here yet then, still says I'm up to date. Not sure if that's the issue here thou?
Yep, use android-tools v29.0.4-2, that's the latest release on Arch Linux.
Yes, it's blue. It finds the device when running fastboot devices, and continues after the "waiting for any device" part, but get stuck after that. Never had this issue before, so I'm not sure where to start. Maybe an issue with the bootloader itself?
zynexx said:
Ah, seems that 11.3 hasn't been released here yet then, still says I'm up to date. Not sure if that's the issue here thou?
Yep, use android-tools v29.0.4-2, that's the latest release on Arch Linux.
Yes, it's blue. It finds the device when running fastboot devices, and continues after the "waiting for any device" part, but get stuck after that. Never had this issue before, so I'm not sure where to start. Maybe an issue with the bootloader itself?
Click to expand...
Click to collapse
The bootloader didn't change since months
Do you use the correct code or only "0x"?
And does "fastboot getvar all" gives you output?
(Bootloader version should be 118)
Can't install TWRP on XZ2C
Guys, trying to install TWRP recovery in Fastboot, posting that code: "fastboot flash boot twrp-3.2.3-0-xz2p.img" and it says that "twrp-3.2.3-0-xz2p.img not found", although i've put .img file in ADB directory. Can't figure it out
MartinX3 said:
The bootloader didn't change since months
Do you use the correct code or only "0x"?
And does "fastboot getvar all" gives you output?
(Bootloader version should be 118)
Click to expand...
Click to collapse
I used the code I got from Sony. Maybe should check so I entered the correct IMEI?
Yep, did get a bunch of stuff from it. Can post it if it would help?
m4ikl1983 said:
Guys, trying to install TWRP recovery in Fastboot, posting that code: "fastboot flash boot twrp-3.2.3-0-xz2p.img" and it says that "twrp-3.2.3-0-xz2p.img not found", although i've put .img file in ADB directory. Can't figure it out
Click to expand...
Click to collapse
Bit of topic here, but check so you have read permission for the file (if using Linux). Not sure what you mean by ADB directory, but I guess you mean the directory you have the binary in? You will need to provide the full path to the image file (if you are not in the same directory), fx ~/Download/yourimage.img.
MartinX3 said:
The bootloader didn't change since months
Do you use the correct code or only "0x"?
And does "fastboot getvar all" gives you output?
(Bootloader version should be 118)
Click to expand...
Click to collapse
Not sure why, but I think I entered the wrong IMEI last time. Although, I get the same problem. Running the command, the cursor just jumps like 30-35 characters to the right and stays there, not additional text. Have to pull the cable to abort the command.
This is some of the output from getvar (omitted the partition part);
(bootloader) hw-revision:20001
(bootloader) unlocked:no
(bootloader) off-mode-charge:0
(bootloader) charger-screen-enabled:0
(bootloader) battery-soc-ok:yes
(bootloader) battery-voltage:4015
(bootloader) version-baseband:1311-5320_52.0.A.10.6
(bootloader) version-bootloader:1310-7079_X_Boot_SDM845_LA2.0_P_118
(bootloader) erase-block-size: 0x1000
(bootloader) logical-block-size: 0x1000
(bootloader) variant:SDM UFS
(bootloader) has-slot:modem:yes
(bootloader) has-slot:system:yes
(bootloader) current-slot:b
(bootloader) has-slot:boot:yes
(bootloader) slot-retry-count:b:6
(bootloader) slot-unbootable:b:no
(bootloader) slot-successful:b:yes
(bootloader) slot-retry-count:a:6
(bootloader) slot-unbootable:a:no
(bootloader) slot-successful:a:yes
(bootloader) slot-count:2
(bootloader) secure:yes
(bootloader) serialno:BH901602BZ
(bootloader) serial:28b51f27
(bootloader) product:H8324
(bootloader) max-download-size:536870912
(bootloader) kernel:uefi
Click to expand...
Click to collapse
Ok, this was pretty odd. While typing the last comment here, I had run the unlock command and it was just sitting there in the backgrund for a couple of minutes, nothing happened. Pulled the cable, and then the bootloader was magically unlocked anyway. So problem fixed. Not sure why I didn't get any output from the command though
One question though, when rebooting I get a lock pad icon and the text "You device software can't be checked for corruption. Please lock your bootloader". Never seen that on a Sony device before. Is his a new thing?
m4ikl1983 said:
Guys, trying to install TWRP recovery in Fastboot, posting that code: "fastboot flash boot twrp-3.2.3-0-xz2p.img" and it says that "twrp-3.2.3-0-xz2p.img not found", although i've put .img file in ADB directory. Can't figure it out
Click to expand...
Click to collapse
Please follow the TWRP instructions in the TWRP thread.
Your command is wrong.
---------- Post added at 02:03 PM ---------- Previous post was at 02:01 PM ----------
zynexx said:
Ok, this was pretty odd. While typing the last comment here, I had run the unlock command and it was just sitting there in the backgrund for a couple of minutes, nothing happened. Pulled the cable, and then the bootloader was magically unlocked anyway. So problem fixed. Not sure why I didn't get any output from the command though
One question though, when rebooting I get a lock pad icon and the text "You device software can't be checked for corruption. Please lock your bootloader". Never seen that on a Sony device before. Is his a new thing?
Click to expand...
Click to collapse
Nice to hear that it works now.
I never saw a android device which doesn't mention on boot that it got unlocked.
So it isn't new for me.
Ahh btw
Since you unlocked on 9.0 your camera will still work in stock.
(In custom rom anyway but there the camera is under construction and get its next update this or next month, but only on android 10.0 with 4.14 kernel).
MartinX3 said:
Please follow the TWRP instructions in the TWRP thread.
Your command is wrong.
---------- Post added at 02:03 PM ---------- Previous post was at 02:01 PM ----------
Nice to hear that it works now.
I never saw a android device which doesn't mention on boot that it got unlocked.
So it isn't new for me.
Ahh btw
Since you unlocked on 9.0 your camera will still work in stock.
(In custom rom anyway but there the camera is under construction and get its next update this or next month, but only on android 10.0 with 4.14 kernel).
Click to expand...
Click to collapse
Tried the camera, and it works like a charm
Oh, I never saw anything like it on my other Xperias, just the normal Sony logo The only device I seen it on is Samsungs.
Althougt, I still having problem now that I'm about to flash TWRP. Get the same problem as before, just
hangs there without anything happens.
Code:
Sending 'boot.img' (30904 KB) #FAILED (remote: 'unknown command')
fastboot: error: Command failed
The # is where the cursor is, and when i pull the cable I get FAILED. This is pretty odd.
zynexx said:
Tried the camera, and it works like a charm
Oh, I never saw anything like it on my other Xperias, just the normal Sony logo The only device I seen it on is Samsungs.
Althougt, I still having problem now that I'm about to flash TWRP. Get the same problem as before, just
hangs there without anything happens.
Code:
Sending 'boot.img' (30904 KB) #FAILED (remote: 'unknown command')
fastboot: error: Command failed
The # is where the cursor is, and when i pull the cable I get FAILED. This is pretty odd.
Click to expand...
Click to collapse
Did you follow the twrp instructions carefully including the correct booting into the fastboot mode?
MartinX3 said:
Did you follow the twrp instructions carefully including the correct booting into the fastboot mode?
Click to expand...
Click to collapse
Yep, I read about the bug and booted into fastboot with adb. But still hangs the same way when I tried unlocking the bootloader itself. Also downloaded the platform tools from Google and tried the fastboot from there, but still same outcome.
Is there another way to flash TWRP, think I seen a app of some kind long ago. But I guess I need to have it rooted before I can use it. Think I have a moment 22 situation here :/
zynexx said:
Yep, I read about the bug and booted into fastboot with adb. But still hangs the same way when I tried unlocking the bootloader itself. Also downloaded the platform tools from Google and tried the fastboot from there, but still same outcome.
Is there another way to flash TWRP, think I seen a app of some kind long ago. But I guess I need to have it rooted before I can use it. Think I have a moment 22 situation here :/
Click to expand...
Click to collapse
That's a very weird situation
Did you try it with another computer?
Or with linux instead of windows?
Or switched the slot to slot A with "fastboot --set-active=a" ?
That also requires to flash the newest 11.3 stock firmware again.
(With xperifirm and newflasher from XDA since OTA won't work any longer.)
MartinX3 said:
That's a very weird situation
Did you try it with another computer?
Or with linux instead of windows?
Or switched the slot to slot A with "fastboot --set-active=a" ?
That also requires to flash the newest 11.3 stock firmware again.
(With xperifirm and newflasher from XDA since OTA won't work any longer.)
Click to expand...
Click to collapse
Just tried with another one, running KDE Neon. Same problem. Always using Linux, don't even own a Windows system
Tried fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img, but that one got stuck to. Nothing happens. I will try flash 11.3 and see is that might solve the issue I have.
zynexx said:
Just tried with another one, running KDE Neon. Same problem. Always using Linux, don't even own a Windows system
Tried fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img, but that one got stuck to. Nothing happens. I will try flash 11.3 and see is that might solve the issue I have.
Click to expand...
Click to collapse
So weird.
You use google plattform tools v29.x and I assume a up to date linux distribution? (I tested it with at least kernel 4.15, running 5.0 now).
Since we both use the same bootloader, it must be something in your hardware or usb cable which disturbs the communication.
MartinX3 said:
So weird.
You use google plattform tools v29.x and I assume a up to date linux distribution? (I tested it with at least kernel 4.15, running 5.0 now).
Since we both use the same bootloader, it must be something in your hardware or usb cable which disturbs the communication.
Click to expand...
Click to collapse
Yep, downloaded the latest one from Google to but got the same error. Using Arch, so it's very up to date Using kernel 5.3.7-arch1-2-ARCH. Have tried another USB cable to, I will see if I can dig out a third one and try.
Btw, seems that NCB firmware are still at 10.6, that' why I haven't gotten any update yet.
zynexx said:
Yep, downloaded the latest one from Google to but got the same error. Using Arch, so it's very up to date Using kernel 5.3.7-arch1-2-ARCH. Have tried another USB cable to, I will see if I can dig out a third one and try.
Btw, seems that NCB firmware are still at 10.6, that' why I haven't gotten any update yet.
Click to expand...
Click to collapse
No woories, the 11.3 is only relevant for the TWRP installation.
A "fastboot boot twrp.img" should still work.
Maaaaybe the kernel is too new and contains a driver bug?
MartinX3 said:
No woories, the 11.3 is only relevant for the TWRP installation.
A "fastboot boot twrp.img" should still work.
Maaaaybe the kernel is too new and contains a driver bug?
Click to expand...
Click to collapse
I downloaded Customized DE 11.3 and flashed it, but still have problem trying fastboot boot twrp.img.
This is very odd indeed. Don't think it's the kernel, the other computer has kernel 4.4.
Starting to think there's an problem with the phone itself, whatever that could be!?
MartinX3 said:
No woories, the 11.3 is only relevant for the TWRP installation.
A "fastboot boot twrp.img" should still work.
Maaaaybe the kernel is too new and contains a driver bug?
Click to expand...
Click to collapse
It seems that I can't do anything regarding fastboot, except rebooting it. Nothing else work, tried fastboot --set-active=a, but nothing happens at all. Tried fastboot flash boot twrp.img, same thing. Fastboot executes, but then nothing. Have to pull the cable to abort the program.
Have never in all the years I played with Android phones run into this stuff. Fastboot has always worked.
Code:
*# sudo fastboot reboot bootloader
Rebooting into bootloader OKAY [ 0.001s]
Finished. Total time: 0.051s
*# sudo fastboot --set-active=a
<no output after this>