[HELP] HTC One M7 - Decrypt System Storage - S-On - Locked - Two CIDs - Driver Probs - One (M7) Q&A, Help & Troubleshooting

Hi,
I got a HTC One M7 from a friend who says he got it with the information that a factory reset went wrong. Since my own phone is over ten years old I thought why not give it a try.
First I installed 15 seconds ADB with drivers.
The One M7 boots to Enter Passwort to decrypt system storage. There I can activate developer mode and therefore USB debugging und developer Options. If I connect it to my Computer it failes to install MTP-USB drivers and does not recognice the phone properly just as an Android Phone and does not install any drivers.
In Bootloader under Fastboot my Computer recognizes the phone as Android 1.0 and also installs no drivers. So my first question would be is there a way to install the correct drivers manually?
Since I can not connect the phone and use fastbot here are some Informations I pulled from the Bootloader and Recovery (Logs):
Bootloader:
M7_UL PVT SHIP S-ON RH
HBOOT-1.61.0000
RADIO-4T.35.3218.16
OpenDSP-v35.120.274.0718
OS-7.19.401.51
eMMC-boot 2048MB
Nov 16 2015,20:23:35.0
Recovery Log:
ro.aa.maincid=HTC__001
ro.adb.secure=1
ro.cid=HTC__102
Recovery:
E: missing bitmap oem_unlock_bg
(Code -1)
E: missing bitmap oem_unlock_bg_yes
(Code -1)
E: missing bitmap oem_unlock_bg_no
(Code -1)
E: missing bitmap icon_ruu
(Code -1)
E: failed to mount /data (Invalid argument).. try emmc mount
handle_cota_install: Can't mount /data
There are two different CIDs the main one ist the WWE and the second one is the German One. As far as I know ther should only be one but correct me if I am mistaken. And also the Data Partition seems to be corrupted. Is there any way to get this phone going again?
Thanks.

Sokra X said:
Hi,
I got a HTC One M7 from a friend who says he got it with the information that a factory reset went wrong. Since my own phone is over ten years old I thought why not give it a try.
First I installed 15 seconds ADB with drivers.
The One M7 boots to Enter Passwort to decrypt system storage. There I can activate developer mode and therefore USB debugging und developer Options. If I connect it to my Computer it failes to install MTP-USB drivers and does not recognice the phone properly just as an Android Phone and does not install any drivers.
In Bootloader under Fastboot my Computer recognizes the phone as Android 1.0 and also installs no drivers. So my first question would be is there a way to install the correct drivers manually?
Since I can not connect the phone and use fastbot here are some Informations I pulled from the Bootloader and Recovery (Logs):
Bootloader:
HBOOT-1.61.0000
RADIO-4T.35.3218.16
OpenDSP-v35.120.274.0718
OS-7.19.401.51
eMMC-boot 2048MB
Nov 16 2015,20:23:35.0
Recovery Log:
ro.aa.maincid=HTC__001
ro.adb.secure=1
ro.cid=HTC__102
Recovery:
E: missing bitmap oem_unlock_bg
(Code -1)
E: missing bitmap oem_unlock_bg_yes
(Code -1)
E: missing bitmap oem_unlock_bg_no
(Code -1)
E: missing bitmap icon_ruu
(Code -1)
E: failed to mount /data (Invalid argument).. try emmc mount
handle_cota_install: Can't mount /data
There are two different CIDs the main one ist the WWE and the second one is the German One. As far as I know ther should only be one but correct me if I am mistaken. And also the Data Partition seems to be corrupted. Is there any way to get this phone going again?
Thanks.
Click to expand...
Click to collapse
The only way to remove decryption is with a factory reset (must be done with the stock recovery not with a custom recovery).
You can download the correct drivers here http://htcusbdriver.com/download/htc-usb-driver-v4-17-0-001

Thanks for the drivers link I´ll try them out. As for the factory reset as far as I know this is what caused the problem in the first place so are you sure another factory reset will rectify that? Most threads I´ve read so far suggest reflashing RUU through fastboot. But when it comes to mobile phones I am a complete noob so I am not sure and thats why I started this thread.

Sokra X said:
Thanks for the drivers link I´ll try them out. As for the factory reset as far as I know this is what caused the problem in the first place so are you sure another factory reset will rectify that? Most threads I´ve read so far suggest reflashing RUU through fastboot. But when it comes to mobile phones I am a complete noob so I am not sure and thats why I started this thread.
Click to expand...
Click to collapse
Trying another factory reset won't hurt. And yes if that changes nothings, you should try a RUU. Look in my signature for the link to the ruu collection thread. You need to use the 7.19.401.51 version.

alray said:
Trying another factory reset won't hurt. And yes if that changes nothings, you should try a RUU. Look in my signature for the link to the ruu collection thread. You need to use the 7.19.401.51 version.
Click to expand...
Click to collapse
Thank you the drivers worked like a charm now I finaly have access. If a factory reset doesnt work could you point me to the direction with the right tutorial for Locked, HBOOT 1.61 and S-On?

Sokra X said:
could you point me to the direction with the right tutorial for Locked, HBOOT 1.61 and S-On?
Click to expand...
Click to collapse
The link is in my signature "HTC One M7 RUU Collection thread". At post #1 you'll find instructions how to flash the RUU. The RUU you need is at post #2

alray said:
The link is in my signature "HTC One M7 RUU Collection thread". At post #1 you'll find instructions how to flash the RUU. The RUU you need is at post #2
Click to expand...
Click to collapse
Thanks I overlooked the spoiler in the first post shame on me
Just tried wipe data/factory reset under Recovery it shows the following error:
-- Wiping data...
Backup necessary files in data partition
E:failed to mount /data (Invalid argument).. try emmc mount
Formatting /cache...
Data wipe complete
I gues I try flashing RUU now.

I just flashed RUU. After a few Minutes it aborted with Failed! Too many Links and i thought Nooooo. After a little light reading and a lot of swetting I tried another USB Port and a cable with a ferrit core and this time it worked. One M7 did boot I can get into the OS it shows all 32GB of space in OS but when I boot into recover mode. It says failed to mount sd card. Does anyone know why? Did they forget to update the recovery mode in this RUU? Or did the previous owner maybe manipulate the partion (sizes)?

Sokra X said:
when I boot into recover mode. It says failed to mount sd card. Does anyone know why? Did they forget to update the recovery mode in this RUU? Or did the previous owner maybe manipulate the partion (sizes)?
Click to expand...
Click to collapse
If you're talking about the yellow errors codes at the bottom of the screen when booting in the stock recovery:
Code:
Mount SDCARD failed 1(2/3/4/5) times
Can not mount SD Card.(No such device)
it's 100% normal and not a concern. Stock recovery is trying to mount a drive that doesn't exist on this phone model (the M7 isn't equipped with an sd card).

alray said:
If you're talking about the yellow errors codes at the bottom of the screen when booting in the stock recovery:
Code:
Mount SDCARD failed 1(2/3/4/5) times
Can not mount SD Card.(No such device)
it's 100% normal and not a concern. Stock recovery is trying to mount a drive that doesn't exist on this phone model (the M7 isn't equipped with an sd card).
Click to expand...
Click to collapse
Thank you very very much for all your help.

Sokra X said:
Thank you very very much for all your help.
Click to expand...
Click to collapse
you're welcome

I have htc one m7.
The issue is the whole software is corrupted. When ever i enter fastboot oem rebootRUU command. Phone turns off instead of restarting into bootloader.
Any help would be appreciated.

abbas0347 said:
I have htc one m7.
The issue is the whole software is corrupted. When ever i enter fastboot oem rebootRUU command. Phone turns off instead of restarting into bootloader.
Any help would be appreciated.
Click to expand...
Click to collapse
There is not much you can do if "fastboot oem rebootRUU" is shutting down your phone instead of rebooting it in ruu mode. Bootloader may be corrupted, might be caused by a bad emmc.

Related

[Q] Q: Stuck, Unlocked, Cannot mount E:\, In TWRP, 22hrs In

Long story short,
Purchased a Tmobile HTC One, Planned on taking it over to Straight Talk.
I have not asked any questions because I can usually figure this out.
Facts:
Unlocked using All In One
TWRP recovery
Issue:
Keep rebooting once it gets to the HTC One screen with Beats Audio
I am about 22 hours into this and very frustrated, it seems as though I do not have an O.S.
Cannot mount E:
rafalk86 said:
Long story short,
Purchased a Tmobile HTC One, Planned on taking it over to Straight Talk.
I have not asked any questions because I can usually figure this out.
Facts:
Unlocked using All In One
TWRP recovery
Issue:
Keep rebooting once it gets to the HTC One screen with Beats Audio
I am about 22 hours into this and very frustrated, it seems as though I do not have an O.S.
Cannot mount E:
Click to expand...
Click to collapse
Use the ADB Sideload option(follow the directions carefully) in the All-in-One Toolkit to load a ROM.
unremarked said:
Use the ADB Sideload option(follow the directions carefully) in the All-in-One Toolkit to load a ROM.
Click to expand...
Click to collapse
I have tried a couple of times (following directions closely - have done this before on a inspire) and keep getting
"E:unable to mount '/data'" on the phone side & "error: closed"
rafalk86 said:
I have tried a couple of times (following directions closely - have done this before on a inspire) and keep getting
"E:unable to mount '/data'" on the phone side & "error: closed"
Click to expand...
Click to collapse
Hmm. Have you attempted to format data while in TWRP recovery? Also a few more details please--once you had unlocked the bootloader and installed TWRP, did you attempt to install a ROM from that point or boot into stock? If it's the latter, have you attempted to fastboot flash a boot.img from a stock ROM/NAND backup?
rafalk86 said:
I have tried a couple of times (following directions closely - have done this before on a inspire) and keep getting
"E:unable to mount '/data'" on the phone side & "error: closed"
Click to expand...
Click to collapse
I have always had better luck with CWM clockworkmod recovery than TWRP for these kind of situations. So you might want to use the all in one and put Clockwork on. Also when sideloading a rom make sure to rename the rom something nice and short like rom.zip no spaces no numbers just simple and short or it will fail.
unremarked said:
Hmm. Have you attempted to format data while in TWRP recovery? Also a few more details please--once you had unlocked the bootloader and installed TWRP, did you attempt to install a ROM from that point or boot into stock? If it's the latter, have you attempted to fastboot flash a boot.img from a stock ROM/NAND backup?
Click to expand...
Click to collapse
1. Have NOT tried to format data
2. Originally tried to install cm touch, which at that time seemed like it didnt work (could not boot into rom) so I tried to install TWRP for some reason
3. I have attempted to boot stock rom, but always gets hung up on "beats audio" audio screen
unremarked said:
Hmm. Have you attempted to format data while in TWRP recovery? Also a few more details please--once you had unlocked the bootloader and installed TWRP, did you attempt to install a ROM from that point or boot into stock? If it's the latter, have you attempted to fastboot flash a boot.img from a stock ROM/NAND backup?
Click to expand...
Click to collapse
Wow, saved my ass. I formatted /data and now I can finally boot into CM after a fresh ROM install.
Thanks
nullkill said:
I have always had better luck with CWM clockworkmod recovery than TWRP for these kind of situations. So you might want to use the all in one and put Clockwork on. Also when sideloading a rom make sure to rename the rom something nice and short like rom.zip no spaces no numbers just simple and short or it will fail.
Click to expand...
Click to collapse
1. Loaded ClockworkMod Recovery v6.0.3.1
2. Rebooted to recovery
Result:
Loaded CM Recovery and at the bottom it says:
"E: Cant mount /cache/recovery/command
E: Cant mount /cache/recovery/log
E: Cant open/cache/recovery/log
E: Cant mount /cache/recovery/last_log
E: Cant open/cache/recovery/last_log"
Q: Should I try formatting the drive
nullkill said:
I have always had better luck with CWM clockworkmod recovery than TWRP for these kind of situations. So you might want to use the all in one and put Clockwork on. Also when sideloading a rom make sure to rename the rom something nice and short like rom.zip no spaces no numbers just simple and short or it will fail.
Click to expand...
Click to collapse
Side loaded the rom through cwm recovery.
"sideload started...
failed to open driver control: No such file or directory
Restarting adbd...
failed to open driver control: No such file or directory
E: Can't mount /cache/recovery/last_install
E: failed to open last_install: Invalid argument
Finding update package...
Opening update package...
Installing update...
E: Cant mount /cache/recovery/log
E: Cant open/cache/recovery/log
E: Cant mount /cache/recovery/last_log
E: Cant open/cache/recovery/last_log"
UPDATE: After I rebooted it just cycles for the CyanogenMod boot then restarts etc etc...
rafalk86 said:
Side loaded the rom through cwm recovery.
"sideload started...
failed to open driver control: No such file or directory
Restarting adbd...
failed to open driver control: No such file or directory
E: Can't mount /cache/recovery/last_install
E: failed to open last_install: Invalid argument
Finding update package...
Opening update package...
Installing update...
E: Cant mount /cache/recovery/log
E: Cant open/cache/recovery/log
E: Cant mount /cache/recovery/last_log
E: Cant open/cache/recovery/last_log"
UPDATE: After I rebooted it just cycles for the CyanogenMod boot then restarts etc etc...
Click to expand...
Click to collapse
Two things here:
1) Clearing Cache fixes the cache issue you see...
2) To fix the boot loop, you need to `Format /data and /data/media` under `Mounts and Storage`.
That should fix you up.... side loading wont fix a bad /data partition.
kenyu73 said:
Two things here:
1) Clearing Cache fixes the cache issue you see...
2) To fix the boot loop, you need to `Format /data and /data/media` under `Mounts and Storage`.
That should fix you up.... side loading wont fix a bad /data partition.
Click to expand...
Click to collapse
1. Cleared cache - fixed
2. Both datas formatted
Q: Its been a long 24hrs, now I load rom, correct?
rafalk86 said:
1. Cleared cache - fixed
2. Both datas formated
Q: Its been a long 24hrs, now I load rom, correct?
Click to expand...
Click to collapse
It sounds like you have a ROM loaded if its cycling at the BeatsAudio screen. Yes, you can do the ROM now. Make sure you do a factory reset before installing the ROM (or after I suppose)
rafalk86 said:
Long story short,
Purchased a Tmobile HTC One, Planned on taking it over to Straight Talk.
I have not asked any questions because I can usually figure this out.
Facts:
Unlocked using All In One
TWRP recovery
Issue:
Keep rebooting once it gets to the HTC One screen with Beats Audio
I am about 22 hours into this and very frustrated, it seems as though I do not have an O.S.
Cannot mount E:
Click to expand...
Click to collapse
Are you using Mac OSX? What is the format of the external_sd card? Is it formatted FAT, FAT32, or EX_FAT?
Clockworkmod does not support EX_FAT, so you must format it to FAT in order for it to mount. OSX can't format FAT32, so you must format FAT.

[Q] 6 Hours later - Still Bricked.

Hello,
First and foremost I would like to give the important information away:
Phone: HTC One (M7)
Carrier: Rogers (I think same as AT&T?)
State: Unlocked, S-On, TWRP v2.7.1.0 installed, Hboot 1.57 and without an OS
The story:
Advance Wiped Everything:
So I didn't transfer the ROM before I used the "wipe" option in TWRP and deleted everything (using advanced wipe). Now I'm left with a phone that is "soft-bricked".
ADB Sideload
I rooted and installed TWRP my phone using QbKing77's guide
I tried googling a soultion and found a guide that told me to enter TWRP->Advanced->ADB Sideload and realized my phone cannot enter ABD sideload mode...so I'm like there must be another way, so I look up ADB push and again the same problem...it wont work. ADB shows: "error:device not found" in cmd.
Drivers
Now I think the problem is in the driver and I have reinstalled all the correct drivers (including Android SDK Google USB drivers). Then it strikes me that if the problem is with the drivers why was I able to use fastboot and not ADB?
RUU
After 4 hours of trying I gave up and was like lets try a RUU, same freaking problem. I get error code 155 which after researching seems to be pointing at my phone's bootloader not being "Re-locked" when the freaking screen says ***tampered*** re-locked****. So now I have unlocked it again and relocked the bootloader again, still no luck. I tried downloading different RUUs for both Rogers and AT&T and both give that exact same error even after "fastboot oem lock" command. After giving up on that I go back to try to entter ADB sideload mode via TWRP, I downloaded TWRP 2.5-2.7 and none of them would allow me to enter ADB sideload mode.. As of now its been 1 hour and TWRP still states: "Starting ADB sideload feature...".
Conclusion
If there is any way to get my phone to it's stock settings (IDC about the tampered, and relocked messages) I am all ears, I'm sorry if the information given isn't organized enough, but I'm very exhausted at this point. I will be more than happy to answer any more questions anybody might have.
Thanks!
haqsaber said:
Hello,
First and foremost I would like to give the important information away:
Phone: HTC One (M7)
Carrier: Rogers (I think same as AT&T?)
State: Unlocked, S-On, TWRP v2.7.1.0 installed, Hboot 1.57 and without an OS
The story:
Advance Wiped Everything:
So I didn't transfer the ROM before I used the "wipe" option in TWRP and deleted everything (using advanced wipe). Now I'm left with a phone that is "soft-bricked".
ADB Sideload
I rooted and installed TWRP my phone using QbKing77's guide
I tried googling a soultion and found a guide that told me to enter TWRP->Advanced->ADB Sideload and realized my phone cannot enter ABD sideload mode...so I'm like there must be another way, so I look up ADB push and again the same problem...it wont work. ADB shows: "error:device not found" in cmd.
Drivers
Now I think the problem is in the driver and I have reinstalled all the correct drivers (including Android SDK Google USB drivers). Then it strikes me that if the problem is with the drivers why was I able to use fastboot and not ADB?
RUU
After 4 hours of trying I gave up and was like lets try a RUU, same freaking problem. I get error code 155 which after researching seems to be pointing at my phone's bootloader not being "Re-locked" when the freaking screen says ***tampered*** re-locked****. So now I have unlocked it again and relocked the bootloader again, still no luck. I tried downloading different RUUs for both Rogers and AT&T and both give that exact same error even after "fastboot oem lock" command. After giving up on that I go back to try to entter ADB sideload mode via TWRP, I downloaded TWRP 2.5-2.7 and none of them would allow me to enter ADB sideload mode.. As of now its been 1 hour and TWRP still states: "Starting ADB sideload feature...".
Conclusion
If there is any way to get my phone to it's stock settings (IDC about the tampered, and relocked messages) I am all ears, I'm sorry if the information given isn't organized enough, but I'm very exhausted at this point. I will be more than happy to answer any more questions anybody might have.
Thanks!
Click to expand...
Click to collapse
first, do not use twrp 2.7.1.0 but 2.6.3.3 and use HTC divers not Google drivers. you will then be able to sideload or push a rom to your phone. Also make sure to use at least adb 1.0.29, sideload will not work on previous version.
alray said:
first, do not use twrp 2.7.1.0 but 2.6.3.3 and use HTC divers not Google drivers. you will then be able to sideload or push a rom to your phone. Also make sure to use at least adb 1.0.29, sideload will not work on previous version.
Click to expand...
Click to collapse
Thanks for your response.
I have flashed TWRP 2.6.3.3, and when I boot into recovery it asks me for a password? I was still unable to boot up ADB sideload (This time I get an error message instead of it failing to start all together). But I was able to access the adb shell and was able to push a custom rom into the device into /data/ and then tried installing it, which failed.
I flashed the ROM using this command: fastboot flash recovery openrecovery-twrp-2.6.3.3-m7.img
then after the transfer was done typed: fastboot erase cache
as of now when I type adb devices into the command prompt my phone is being detected which is an improvement from last night! Thanks!
haqsaber said:
Thanks for your response.
I have flashed TWRP 2.6.3.3, and when I boot into recovery it asks me for a password? I was still unable to boot up ADB sideload (This time I get an error message instead of it failing to start all together). But I was able to access the adb shell and was able to push a custom rom into the device into /data/ and then tried installing it, which failed.
Click to expand...
Click to collapse
you don't have to use an adb shell to push a rom, only use adb normally from your computer with the phone booted in recovery. And the destination of the rom when you push it is not /data, its /sdcard
adb push name_of_rom.zip /sdcard/
when complete, select "install" in recovery and choose your rom.
alray said:
you don't have to use an adb shell to push a rom, only use adb normally from your computer with the phone booted in recovery. And the destination of the rom when you push it is not /data, its /sdcard
adb push name_of_rom.zip /sdcard/
when complete, select "install" in recovery and choose your rom.
Click to expand...
Click to collapse
The rom.zip is now in my /sdcard/ folder and when I try to install it I get the following error:
Code:
Updating partition details....
E:Unable to mount '/cache'
E:Unable to mount '/cache'
E:Unable to mount '/cache'
Error Flashing zip '/sdcard/rom.zip'
Updating partition details...
E:Unable to mount '/cache'
and my ADB version is 1.0.31
Edit: So I went in the mount option and noticed that "cache" was selected so I deselected it and tried to flash again and it just said
Code:
Error Flashing zip '/sdcard/rom.zip'
Updating partition details...
So now I'm thinking there must be something wrong with the ROM, so i'm downloading and will retry.
Code:
KitKat (Android 4.4.3 + HTC Sense 6.0)
Download Android Revolution HD 81.0
Nope, that didn't work either. Could it be that I need to put in that password first? If so what is the TWRP password?
haqsaber said:
The rom.zip is now in my /sdcard/ folder and when I try to install it I get the following error:
Code:
Updating partition details....
E:Unable to mount '/cache'
E:Unable to mount '/cache'
E:Unable to mount '/cache'
Error Flashing zip '/sdcard/rom.zip'
Updating partition details...
E:Unable to mount '/cache'
and my ADB version is 1.0.31
Edit: So I went in the mount option and noticed that "cache" was selected so I deselected it and tried to flash again and it just said
Code:
Error Flashing zip '/sdcard/rom.zip'
Updating partition details...
So now I'm thinking there must be something wrong with the ROM, so i'm downloading and will retry.
Code:
KitKat (Android 4.4.3 + HTC Sense 6.0)
Download Android Revolution HD 81.0
Nope, that didn't work either. Could it be that I need to put in that password first? If so what is the TWRP password?
Click to expand...
Click to collapse
looks like you have enabled data encryption in the OS...
in twrp wipe everything and format data
then push the rom again and install it.
alray said:
looks like you have enabled data encryption in the OS...
in twrp wipe everything and format data
then push the rom again and install it.
Click to expand...
Click to collapse
And that worked! Thank you so much!!

[Q] Can't Boot Up Stock ROM. Stuck

*** TAMPERED ***
*** RELOCKED ***
*** Security Warning ***
M_PUT SHIP S-ON RH
HBOOT-1.57.0000
OpenDSP-v32.120.274.0909
OS-5.502.2
eMMC-bot 2048MB
Apr 22 2014, 01:10:58.0
HTC One (M7) AT&T
^^^^^^^^^^^^^^^^^^^^^^^^^^
Above is my information on my phone when booting up into the fastboot, recovery, factory reset, etc menu
I don't have an OS as well
Now the problem I have here is that I can't load my stock ROM when rebooting. I already loaded up a ZIP file of the specific stock ROM that I'm suppose to be on but nothing happens when on command prompt!
This is what happens:
>fastboot flash zip Guru_Reset_M7_5.12.502.2_clsA.zip
target reported max download size of 1514139648 bytes
sending 'zip' (1245080 KB)...
OKAY [ 57.277s]
writing 'zip'...
(bootloader) signature checking...
FAILED (remote: 12 signature verify fail)
finished. total time: 180.581s
Very frustrating especially with the fact that there isn't a EXE file version so I can't go and try that way either. Running out of options. Hoping somebody here to diagnosis this situation
AndroidHTC2013 said:
*** TAMPERED ***
*** RELOCKED ***
*** Security Warning ***
M_PUT SHIP S-ON RH
HBOOT-1.57.0000
OpenDSP-v32.120.274.0909
OS-5.502.2
eMMC-bot 2048MB
Apr 22 2014, 01:10:58.0
HTC One (M7) AT&T
^^^^^^^^^^^^^^^^^^^^^^^^^^
Above is my information on my phone when booting up into the fastboot, recovery, factory reset, etc menu
I don't have an OS as well
Now the problem I have here is that I can't load my stock ROM when rebooting. I already loaded up a ZIP file of the specific stock ROM that I'm suppose to be on but nothing happens when on command prompt!
This is what happens:
>fastboot flash zip Guru_Reset_M7_5.12.502.2_clsA.zip
target reported max download size of 1514139648 bytes
sending 'zip' (1245080 KB)...
OKAY [ 57.277s]
writing 'zip'...
(bootloader) signature checking...
FAILED (remote: 12 signature verify fail)
finished. total time: 180.581s
Very frustrating especially with the fact that there isn't a EXE file version so I can't go and try that way either. Running out of options. Hoping somebody here to diagnosis this situation
Click to expand...
Click to collapse
The Guru Reset your trying to flash is flashed in custom recovery
Unlock the bootloader first then
Flash TWRP 2.6.3.3 >> http://techerrata.com/browse/twrp2/m7
fastboot flash recovery openrecovery-twrp-2.6.3.3-m7.img
fastboot erase cache
fastboot reboot-bootloader
now boot to recovery and push the Guru reset to the phone
adb push rom.zip /sdcard/
just put the rom in the same folder as adb and fastboot and rename it rom.zip
the last step is to install the rom in TWRP / Install
During the install you can choose to keep the custom recovery you have now or return to stock recovery so you can recieve OTA updates again .. that's up to you
clsA said:
now boot to recovery and push the Guru reset to the phone
adb push rom.zip /sdcard/
just put the rom in the same folder as adb and fastboot and rename it rom.zip
the last step is to install the rom in TWRP / Install
Click to expand...
Click to collapse
Okay up until this point everything was going great except when I typed "adb push rom.zip /sdcard/" (I copied and pasted what you wrote) into the command prompt and this message appeared:
>adb push rom.zip /sdcard/
cannot stat 'rom.zip': No such file or directory
Now what did I do wrong? I renamed the file as rom.zip just like you said and I placed it in the same folder as adb and fastboot. Was I suppose to go to a specific part of TWRP recovery? ADB sideload? I already tried ADB sideload but nothing happened....
AndroidHTC2013 said:
Okay up until this point everything was going great except when I typed "adb push rom.zip /sdcard/" (I copied and pasted what you wrote) into the command prompt and this message appeared:
>adb push rom.zip /sdcard/
cannot stat 'rom.zip': No such file or directory
Now what did I do wrong? I renamed the file as rom.zip just like you said and I placed it in the same folder as adb and fastboot.
Click to expand...
Click to collapse
if your using windows you probably renamed it rom.zip.zip
in the command window type adb push then leave a space and drag the rom.zip to the window now finish the command with a space then /sdcard/
clsA said:
if your using windows you probably renamed it rom.zip.zip
in the command window type adb push then leave a space and drag the rom.zip to the window now finish the command with a space then /sdcard/
Click to expand...
Click to collapse
I don't understand this part; do you mean to actually drag and drop the rom.zip to command prompt? It didn't work
Sorry if I'm making this more harder than it should be, and yes I'm using Windows as my operating system
AndroidHTC2013 said:
I don't understand this part; do you mean to actually drag and drop the rom.zip to command prompt? It didn't work
Sorry if I'm making this more harder than it should be, and yes I'm using Windows as my operating system
Click to expand...
Click to collapse
in the command window type dir and hit enter ... now whats the name of your rom.zip
clsA said:
in the command window type dir and hit enter ... now whats the name of your rom.zip
Click to expand...
Click to collapse
Okay so I left the ZIP file as "rom" and then I re-did the whole process again. After that I finally got that GURU Reset file in the SD card. But when trying to install it it just gave me an error message! I'm assuming that it wasn't compatible with my software even though it match specifically with mines. Do you think I may have gotten the wrong software even though it's HTC One (M7) Sense 6 5.502.2(which was the last stock rom I got before rooting) ? Is there even a version released in the US specifically?
AndroidHTC2013 said:
Okay so I left the ZIP file as "rom" and then I re-did the whole process again. After that I finally got that GURU Reset file in the SD card. But when trying to install it it just gave me an error message! I'm assuming that it wasn't compatible with my software even though it match specifically with mines. Do you think I may have gotten the wrong software even though it's HTC One (M7) Sense 6 5.502.2(which was the last stock rom I got before rooting) ? Is there even a version released in the US specifically?
Click to expand...
Click to collapse
what error message ? did aroma start or did TWRP give the error ?
did you md5 check your download ?
Guru_Reset_M7_5.12.502.2_clsA.zip
http://www.androidfilehost.com/?fid=23501681358545274
MD5: 3b4013265e9134bc6916cf3c5fd14406
clsA said:
what error message ? did aroma start or did TWRP give the error ?
did you md5 check your download ?
Guru_Reset_M7_5.12.502.2_clsA.zip
http://www.androidfilehost.com/?fid=23501681358545274
MD5: 3b4013265e9134bc6916cf3c5fd14406
Click to expand...
Click to collapse
TWRP gave me the message. No I didn't let MD5 check my download... am I suppose to?
AndroidHTC2013 said:
TWRP gave me the message. No I didn't let MD5 check my download... am I suppose to?
Click to expand...
Click to collapse
Please check your downloads
clsA said:
Please check your downloads
Click to expand...
Click to collapse
I just tried intalling MD5 on TWRP and it said:
Updating partition details...
Error flashing zip '/sdcard/md5.zip'
Failed
WHAT?
AndroidHTC2013 said:
I just tried intalling MD5 on TWRP and it said:
Updating partition details...
Error flashing zip '/sdcard/md5.zip'
Failed
WHAT?
Click to expand...
Click to collapse
Wow ... it a pc app just unzip it to your desktop
clsA said:
Wow ... it a pc app just unzip it to your desktop
Click to expand...
Click to collapse
It said that they don't match... Now what?
AndroidHTC2013 said:
It said that they don't match... Now what?
Click to expand...
Click to collapse
re-download it, you can't flash it if it's corrupt
clsA said:
re-download it, you can't flash it if it's corrupt
Click to expand...
Click to collapse
That link for the GURU Reset you gave me didn't work. I re-downloaded it again but still the same result
Is there any other places where I can redownload HTC One M7 Sense 6 AT&T version
AndroidHTC2013 said:
That link for the GURU Reset you gave me didn't work. I re-downloaded it again but still the same result
Is there any other places where I can redownload HTC One M7 Sense 6 AT&T version
Click to expand...
Click to collapse
What ??
Their are 9 mirrors on that link
Guru_Reset_M7_5.12.502.2_clsA.zip
http://www.androidfilehost.com/?fid=23501681358545274
clsA said:
What ??
Their are 9 mirrors on that link
Guru_Reset_M7_5.12.502.2_clsA.zip
http://www.androidfilehost.com/?fid=23501681358545274
Click to expand...
Click to collapse
I tried all of them. Not one matched! I think something occurred between the day that they were put out and now that caused this to happen...
Want proof? I 've attached a screenshot of what I've been getting. This occurred over the nine different places that the ROM was from
Is there any chance of a EXE file version of this? Or any other places for a complete ZIP file? Oh and just to let you know the website said 1.2 GB, but the actual downloaded file had only 1.18 GB, not sure if this helps or not, just to let you know
AndroidHTC2013 said:
I tried all of them. Not one matched! I think something occurred between the day that they were put out and now that caused this to happen...
Want proof? I 've attached a screenshot of what I've been getting. This occurred over the nine different places that the ROM was from
Is there any chance of a EXE file version of this? Or any other places for a complete ZIP file? Oh and just to let you know the website said 1.2 GB, but the actual downloaded file had only 1.18 GB, not sure if this helps or not, just to let you know
Click to expand...
Click to collapse
man your are something else
try using the actual MD5 in the box that says Paste next to it
3b4013265e9134bc6916cf3c5fd14406
did you actually think the MD5 was 5.502.2 ?????
@Danny201281 ...please help before i shoot myself
clsA said:
man your are something else
try using the actual MD5 in the box that says Paste next to it
3b4013265e9134bc6916cf3c5fd14406
did you actually think the MD5 was 5.502.2 ?????
@Danny201281 ...please help before i shoot myself
Click to expand...
Click to collapse
No actually that was my computer that automatically set it. And, I'm still stuck at the TWRP installation again but this time it says:
Updating partition details...
E: Unable to mount '/cache'
E: Unable to mount '/cache'
E: Unable to mount '/cache'
Sorry I'm losing your patience here, if it helps I'll donate, because I'm getting help at least! I WILL DONATE
AndroidHTC2013 said:
No actually that was my computer that automatically set it. And, I'm still stuck at the TWRP installation again but this time it says:
Updating partition details...
E: Unable to mount '/cache'
E: Unable to mount '/cache'
E: Unable to mount '/cache'
Sorry I'm losing your patience here, if it helps I'll donate, because I'm getting help at least! I WILL DONATE
Click to expand...
Click to collapse
LOL sorry man it's fine, I just expect a lot from those i'm helping.
the cache error is meaningless you erased the cache so you get the error ...it has nothing to do with flashing the guru reset
what happens when you go to install the rom (post a picture if possible)

m8s marshmallow received it!!!

just got 6.0.1 on my m8s
photos
mariosraptor said:
photos
Click to expand...
Click to collapse
Could you take a system dump and upload so I could use it for CM13.
i have personal data in it. sensitive ones
From your twrp recovery you can keep sensitive files. make a back-up an give only boot.emmc.win and system_image.emmc.win (boot is kernel and the other is system img). Of cource together with there md5 files. Data, cache and android-secure is having you personal info.
Rom can be booted with only those 2, I think. Of course probably together with correct firmware.zip,but this we have in the OTA.
If you put on some drive, give me also a link please.
Respect!
mariosraptor said:
i have personal data in it. sensitive ones
Click to expand...
Click to collapse
Aren't those stored on userdata? System dump should only be /system and /boot. If you could even erase userdata prior to posting if I'm remembering correct.
Sent from my HTC 10 using XDA Labs
---------- Post added at 09:00 AM ---------- Previous post was at 08:58 AM ----------
WildfireDEV said:
Could you take a system dump and upload so I could use it for CM13.
Click to expand...
Click to collapse
Will try to pull one. My girl friend has the M8S. Maybe I'll get it working when she's back home at the middle of next week.
Can't make any promises though.
Sent from my HTC 10 using XDA Labs
yes, I am updating now!!!!
My experience so far:
1. Some apps stack during installation. The installation dialog shows "Installing...", progress bar is moving, but it's endless. EDIT: restarting/erasing cache fixed it
2. Missing sounds. I had set Foxglove.flac file (see the picture). If I click the Alarm field, an empty list is shown.
3. Missing dark keyboard. Maybe not relevant remark: You can choose Material Dark background in ServerAuditor app. If you do, it stays white
4. I cannot boot TWRP anymore. It just reboots my phone.
Code:
adb reboot bootloader
fastboot boot twrp-2.8.7.0-m8s-qlul.img
5. It seems to me the phone gets heated more while using Firefox mobile.
I can't update for some reason. The update aborts in recovery with error7...The it keeps prompting the update once I restart the phone.
It's a H3G uk M8s,if anyone has an idea why would be great.
The error 7 means that 4 KiB of your system partition were changed. It could have been remounted as R/W. More on that here.
You should flash back the original system partition (perhaps only 4096 bytes is enough? [not tested]) and the error will go away.
Right but before I do that (I'm not even sure how to but I guess it's posted somewhere here) this is the error mgs I've got in recovery :
E:missing bitmap oem_unlock_bg
(Code -1)
E:missing bitmap oem_unlock_bg_yes
(Code -1)
E:missing bitmap oem_unlock_bg_no
(Code -1)
E:Find no match PARTITION: for package path @/cache/recovery/block.map
Finding update package...
Opening update package...
Verifying update package...
Installing update...
M601QCT.02.003.022
Verifying current system...
E:unknown command [set_err_msg_]
system partition has unexpected contents
E:Error in @/cache/revovery/block.map
(status 7)
Btw I haven't rooted or changed anything on the phone so I don't understand why is it doing this but nvm...
So I should flash the system partition?
Thanks so much for the help.
After instalatión, htc sense no worked and I had to restore system to default.
After this. It works fine. More rapid.
I am glad
Dogsonacid said:
Right but before I do that (I'm not even sure how to but I guess it's posted somewhere here) this is the error mgs I've got in recovery :
E:missing bitmap oem_unlock_bg
(Code -1)
E:missing bitmap oem_unlock_bg_yes
(Code -1)
E:missing bitmap oem_unlock_bg_no
(Code -1)
E:Find no match PARTITION: for package path @/cache/recovery/block.map
Finding update package...
Opening update package...
Verifying update package...
Installing update...
M601QCT.02.003.022
Verifying current system...
E:unknown command [set_err_msg_]
system partition has unexpected contents
E:Error in @/cache/revovery/block.map
(status 7)
Btw I haven't rooted or changed anything on the phone so I don't understand why is it doing this but nvm...
So I should flash the system partition?
Thanks so much for the help.
Click to expand...
Click to collapse
The error message means that 4 KiB of your system partition has different fingerprint from what M601QCT.02.003.022 update requires.
What's your CID and fingerprint? You can get them by connecting your phone to PC and running the following from command line:
Code:
adb shell "getprop ro.cid"
adb shell "getprop ro.build.fingerprint"
You can reflash by RUU or you need to unlock the bootloader and reflash System partition.
I've got these after running the commands:
H3G__001
htc/m8qlul_h3g_uk/htc_m8qlul:5.0.2/LRX22G/718283.3:user/release-key
ppaajjaa said:
The error message means that 4 KiB of your system partition has different fingerprint from what M601QCT.02.003.022 update requires.
What's your CID and fingerprint? You can get them by connecting your phone to PC and running the following from command line:
Code:
adb shell "getprop ro.cid"
adb shell "getprop ro.build.fingerprint"
You can reflash by RUU or you need to unlock the bootloader and reflash System partition.
Click to expand...
Click to collapse
Dogsonacid said:
I've got these after running the commands:
H3G__001
htc/m8qlul_h3g_uk/htc_m8qlul:5.0.2/LRX22G/718283.3:user/release-key
Click to expand...
Click to collapse
RUU for your phone is not present on ruu.lalleman.net.
Your need to find right RUU for your phone or wait for right OTA update for your phone made by H3G.
It is possible to change CID and flash whatever RUU. However, you need to be S-OFF and you loose customization of H3G ROM and warranty of course.
---------- Post added at 10:31 PM ---------- Previous post was at 09:48 PM ----------
@WildfireDEV, @El-Conkistador: Any idea why booting TWRP (twrp-2.8.7.0-m8s-qlul.img) restarts my phone and it doesn't boot it after upgrading to Android 6.0?
Code:
adb reboot bootloader
fastboot boot twrp-2.8.7.0-m8s-qlul.img
# => reboots phone, TWRP does not start
ppaajjaa said:
RUU for your phone is not present on ruu.lalleman.net.
Your need to find right RUU for your phone or wait for right OTA update for your phone made by H3G.
It is possible to change CID and flash whatever RUU. However, you need to be S-OFF and you loose customization of H3G ROM and warranty of course.
---------- Post added at 10:31 PM ---------- Previous post was at 09:48 PM ----------
@WildfireDEV, @El-Conkistador: Any idea why booting TWRP (twrp-2.8.7.0-m8s-qlul.img) restarts my phone and it doesn't boot it after upgrading to Android 6.0?
Code:
adb reboot bootloader
fastboot boot twrp-2.8.7.0-m8s-qlul.img
# => reboots phone, TWRP does not start
Click to expand...
Click to collapse
You can try to see if the last recovery from @Captain_Throwback works on android 6.0.
https://basketbuild.com/filedl/devs...back/One (M8S)/Recovery/twrp-3.0.2-0-m8ql.img (3.0.2.1 is not working)
This one works on 5.0, don't know if on 6 works.
Also maybe you need to use htc_fastboot instead of the fastboot.
To flash the img file for sure, don't know if just to boot tho.
Also locked or unlocked bootloader? I imagine locked if you could upgrade. Take care if you unlock it you will have to factory reset, is doing that when you unlock. Make at least a back-up on HTC servers if not other back-up
If you can boot it up please make a back-up of system and boot image and put it somewhere available.
Respect!
Dogsonacid said:
I've got these after running the commands:
H3G__001
htc/m8qlul_h3g_uk/htc_m8qlul:5.0.2/LRX22G/718283.3:user/release-key
Click to expand...
Click to collapse
ppaajjaa said:
RUU for your phone is not present on ruu.lalleman.net.
Your need to find right RUU for your phone or wait for right OTA update for your phone made by H3G.
It is possible to change CID and flash whatever RUU. However, you need to be S-OFF and you loose customization of H3G ROM and warranty of course.
---------- Post added at 10:31 PM ---------- Previous post was at 09:48 PM ----------
@WildfireDEV, @El-Conkistador: Any idea why booting TWRP (twrp-2.8.7.0-m8s-qlul.img) restarts my phone and it doesn't boot it after upgrading to Android 6.0?
Code:
adb reboot bootloader
fastboot boot twrp-2.8.7.0-m8s-qlul.img
# => reboots phone, TWRP does not start
Click to expand...
Click to collapse
I'm going to confess I haven't checked the CID on my phone, but I'm 99.99% certain that the above is going to be the RUU I'm on as well given my network is Three in the UK.
As there are no H3G RUUs anywhere I can find, and I didn't think there was any way to S-OFF this phone, we're basically stuffed for getting the Marshmallow update at the moment aren't we?
I have spoken to HTC about this issue and they told me to send the phone back to them, but I wanted to avoid that if I could...
burleanu said:
You can try to see if the last recovery from @Captain_Throwback works on android 6.0.
https://basketbuild.com/filedl/devs...back/One (M8S)/Recovery/twrp-3.0.2-0-m8ql.img (3.0.2.1 is not working)
This one works on 5.0, don't know if on 6 works.
Also maybe you need to use htc_fastboot instead of the fastboot.
To flash the img file for sure, don't know if just to boot tho.
Also locked or unlocked bootloader? I imagine locked if you could upgrade. Take care if you unlock it you will have to factory reset, is doing that when you unlock. Make at least a back-up on HTC servers if not other back-up
If you can boot it up please make a back-up of system and boot image and put it somewhere available.
Respect!
Click to expand...
Click to collapse
Unfortunatelly, the TWRP 3.0.2.0 does not work with Android M. It fetches the image, boots it, blackscreen for several seconds and restarts.
Code:
fastboot boot twrp-3.0.2-0-m8ql.img
htc_fastboot boot twrp-3.0.2-0-m8ql.img
Maybe we have now same trouble like the ones from A9, together with the update to MM.
There they can't just boot the custom recovery. It need to be flashed.
Is still safe as long you don't mount your system "write enable".
If you keep it read only and do a back-up so you can always return to stock.
Stock recovery you find in the second update from HTC in the firmware.zip file, in case you want to go back.
If you can boot in recovery (twrp) please make a back-up of system and boot image and post, to be able also the other (that have problems to get back stock) to get MM touch. Put also your MID/CID to know for what phone it is.
Thanks!
Respect!
Hmm, no update yet for me. I bought the phone unlocked, here's my current phone info:
Code:
adb shell "getprop ro.cid"
HTC__001
adb shell "getprop ro.build.fingerprint"
htc/m8qlul_htc_europe/htc_m8qlul:5.0.2/LRX22G/555949.10:user/release-keys
What's the deal? Shouldn't unlocked phones be the first ones to receive the update, even before it gets pushed to providers for their customizations?
Or am I doing something wrong and HTC M8s needs something more to check for updates? I don't want to risk with unofficial RUU sources yet, but am eager to receive Android M6 sooner.

[Q] HTC One (m7) encrypted storage

I forgot my unlock patter for my htc one (m7) so I decided to try locking it trough Google device manager because I saw ppl doing it in order to reset their current pin, as it had blocked my phone completely I decided to do a factory reset from the recovery menu. It somehow did delete all my files (I can see the default homescreen picture when I doubletap to see running apps) but the phone is stuck to this decryption page(would post a pic but I can't due to XDA new members policy)
I can use any code to "decrypt" it as it will say the code is corect but the data is corupt so I have to factory reset, when I do try to factory reset it again it will fail and bring me to the decryption menu that's mentioned above
Is there anything I can do?
Corbarum said:
I forgot my unlock patter for my htc one (m7) so I decided to try locking it trough Google device manager because I saw ppl doing it in order to reset their current pin, as it had blocked my phone completely I decided to do a factory reset from the recovery menu. It somehow did delete all my files (I can see the default homescreen picture when I doubletap to see running apps) but the phone is stuck to this decryption page(would post a pic but I can't due to XDA new members policy)
I can use any code to "decrypt" it as it will say the code is corect but the data is corupt so I have to factory reset, when I do try to factory reset it again it will fail and bring me to the decryption menu that's mentioned above
Is there anything I can do?
Click to expand...
Click to collapse
Are you using a custom recovery or the stock recovery? When data is encrypted, the factory reset must be done with the stock recovery.
alray said:
Are you using a custom recovery or the stock recovery? When data is encrypted, the factory reset must be done with the stock recovery.
Click to expand...
Click to collapse
It does not allow me to do a factory reset, I mean it gives an error whenever I try doing it
also using stock recovery
Corbarum said:
It does not allow me to do a factory reset, I mean it gives an error whenever I try doing it
also using stock recovery
Click to expand...
Click to collapse
What error exactly
alray said:
What error exactly
Click to expand...
Click to collapse
first sorry for the delayed answer,
second
when I boot into recovery I have the following errors
"E:missing bitmap oem_unlock_bg
(code -1)
e:missing bitmap oem_unlock_bg_yes
(code -1)
E:missing bitmap oem_unlock_bg_no
(code -1)
E:missing bitmap icon_ruu
(code -1)
E:failed to mount /data (invalid argument) ... try emmc mount handle_cota_install: Can't mount /data
when I do wipe data
-- Wiping data...
backup necessary files in data partition
E:failed to mount /data (invalid argument)... try emmc mount
formating /cache ...
Data wipe complete.
Extra edit, I managed to install twrp recovery
edit again , trying to wipe from twrp recovery will give the same result
failed to mount '/data' (invalid argument)
Extra extra edit,
after some trial and error I managed to get it working, i have no idea how I did it , but at least it work now

Categories

Resources