yashsingh1/xdaforums huggingface dataset:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] topjohnwu:
[MENTION=2376614]jcase[/MENTION], just s-offed my device, thanks a lot.

Did the boot logcat I pulled when signal is broken at decrypting data partition reveal anything useful?

BTW, using the chance to try decrypting data another time after S-OFF my device, The signal is still broken.

There is one person reporting that decrypting data is working for him, I suspect it's because his device is on an extremely old base (1.02.600.3).

Can anyone confirm that if data decryption is possible on a higher version? Thanks a lot!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jcase:
No sorry.

No one else hsa reported issues with decryption
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Superguy:
In that case, are we best off doing it right out of the box?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Switcherd:
Managed to s-Off my device as well, but had problems decrypting it. Re-flashed stock recovery to restore to factory. Device now lacking data signal as well.

Any possibble fix yet? Or could i somehow provide you guys with logs?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Mux89:
just enable encrypt data under Storage-Settings
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] alexpower:
How do you unlock with sunshine?

It says by OS 1.30.401.x it need root, but with locked bootloader is no root possible.

Have I unlock boot with htcdev ?

Kind regards

Gesendet von meinem HTC One mit Tapatalk
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Mux89:
yes unlock bootloader, flash twrp, flash supersu, run sunshine. Format Data in twrp and reenable encryption in system.

Alle data will be lost in this process. Backup Your Data and make a Complete Backup in TWRP !!!!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
Can someone on the 10 take a screenshot of this option, please?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Mux89:
Go to Setting - Storage - Scroll down and enable Phone encryption. Last Option.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] 5m4r7ph0n36uru:
Hi Guys,

I've unlocked, rooted and flashed custom recoverys as well as roms since the days of the Desire. Always did it the old fashioned way. But as I'm reading in this thread I got a little - maybe noob - question.

As far as I read, I can unlock my 10 and still receive OTA.

That been said. To achieve S-OFF and still get a network signal I'd have to proceed as follows

1 unlock bootloader via htcdev.

2 flash TWRP.

3 perform full backup

4 flash SuperSU

5 run SunShine

6 re-enable data encryption via settings > storage (and previously flash backup of untouched system image!?)

Am I correct or is there any mistake I didn't recognize.

Thanks a lot and apologies, but I want to be sure that I'll be able to fully use my 10 and still having S-OFF before I'll proceed, as many things that came up in this thread start making me nervous regarding those things for the first time since I'm using HTC devices.

Many thanks for your help and answers!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Toxicology:
Same situation here... Since Desiredays I use to do all of these to my HTCs. I guess soon there will be a correct guide to be on the save side. Until I'd like to know, if this encryption step is needed? I never used that option in my phones and to be honest, never took notice of that option. So is it needed to encrypt phone in order to use it, or is this step only since A9, and 10? I'm a bit confused... As soon as I got my 10 I would unlock BL, flash TWRP, backup, flash supersu, then use sunshine. I used to flash custom Roms and never used OTA. The only reason I root is to use Titanium Backup. So are there any failures in my "running order" or are there any changes since M8 in these steps?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] mdxdave:
It's required to get the data signal back.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nkk71:
i know we all eagerly want the the information, but i still fail to see any

logcats / kmsgs / ramoops / console / etc. etc / whatever ... you like to call them

for anybody to be able to make some kind of "educated" guess, perhaps even helping out

... or are we waiting for others???
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nitramus:
Can't wait to see an official guide on how to root. With everything being said it is so much confusing.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] topjohnwu:
Thanks for the confirmation, so the signal issue doesn't only happens on my device.

People can finally believe me LOL.

I captured the logcat of the first boot after wiping data with data encryption disabled. It's in the first few pages.

You can take a look, however jcase said he couldn't find anything useful inside. Maybe need a kernel log??

Root is still easy as usual. The device will force data encryption by default, so unless you modified the boot image disabling the force encryption flag in ramdisk (by default flashing SuperSU will do so) and then wipe the whole data partition to remove encryption, your data will stay encrypted.

A slight problem will be after S-OFF your device, you are forced to wipe your data. If you have rooted by SuperSU before, after wiping data will cause your data decrypted, result in broken signal.

So then you have to enable encryption in the settings to fix your signal.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Haldi4803:
So... if you S-Off via HTCdev Homepage.

Wipe Data. (Still encrypted)

Flash TWRP

Flash SuperSU. (Don't Wipe)

You're on an encrypted phone with root?

Write protection on System still intact?

And why do you need Sunshine then? Thought that Tool was for S-Off when you can't use htcDev Homepage?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Superguy:
You're confusing the bootloader and S-Off.

You unlock the bootloader thru HTCdev. This will let you do most things lube flash a custom recovery, root, and rom.

S-Off lets you flash unsigned firmware and firmware from different regions. The only known way to do this us with Sunshine, and that's a paid exploit.

You don't need S-Off to do most common things on XDA. However, it is available if you want to do it.

Sunshine is expensive, but worth it IMO.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Chainfire:
I'll leave this here: https://github.com/Chainfire/bootimg-id

I messed up my HTC10 somewhat without a backup so I had to restore [MENTION=398245]LeeDroid[/MENTION] 's stock image which has no pending OTA, and thus I cannot test if it helps, but I'm fairly confident that it will.

I should note however, that this may only help with the id check itself, and the recovery may still not apply the OTA because it could be incompatible. Furthermore, I could check for and download OTA on my HTC10 just fine with TWRP flashed, and the error message screenshotted in the OP only started occurring for me when /system was mounted read/write once. Which leads me to believe that either these checks are not identical across firmwares, or the information in the OP is incorrect or at the very least incomplete.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Lastwurdz:
So after reading most of this thread it seems like the issue of getting an OTA is really non issue at the moment. just have a backup of stock recovery and do things in a certain order. its late, im sleepy, but i get the feeling that everything will be fine. i just hope the viper one rom comes out soon enough. i might wait a couple of weeks before tampering too much just to make sure everything gets worked out. they charged my account today so i assume my HTC 10 will be shipping out very soon. i cant wait!! :cool:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Electronic Punk:
Or just do the 1.30 OTA before doing anything?

Or have I overlooked something?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] st_voss:
That's my understanding, too.

E.g. for EMEA (401) devices the OTA 1.21.401.4 -> 1.30.401.1 contains a stock recovery for 1.30.401.1.

> unzip -l OTA_PERFUME_UHL_M60_SENSE80GP_HTC_Europe_1.30.401.1-1.21.401.4_release_477325muqkxdpcc3r4aks3.zip firmware.zip
Archive: OTA_PERFUME_UHL_M60_SENSE80GP_HTC_Europe_1.30.401.1-1.21.401.4_release_477325muqkxdpcc3r4aks3.zip
signed by SignApk
Length Date Time Name
--------- ---------- ----- ----
60476556 2008-09-01 17:50 firmware.zip
--------- -------
60476556 1 file

> unzip OTA_PERFUME_UHL_M60_SENSE80GP_HTC_Europe_1.30.401.1-1.21.401.4_release_477325muqkxdpcc3r4aks3.zip firmware.zipArchive: OTA_PERFUME_UHL_M60_SENSE80GP_HTC_Europe_1.30.401.1-1.21.401.4_release_477325muqkxdpcc3r4aks3.zip
signed by SignApk
inflating: firmware.zip

Archive: firmware.zip
warning [firmware.zip]: 256 extra bytes at beginning or within zipfile
(attempting to process anyway)
Length Date Time Name
--------- ---------- ----- ----
43177449 2016-04-23 18:43 recovery.img
--------- -------
43177449 1 file

> unzip firmware.zip recovery.img
Archive: firmware.zip
warning [firmware.zip]: 256 extra bytes at beginning or within zipfile
(attempting to process anyway)
inflating: recovery.img

So my understanding is that you can use this recovery.img for EMEA devices to go back to stock recovery (fastboot flash recovery recovery.img)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nitramus:
How to root and everything that comes with it on the 10 for us that follows the thread were fine but think of everyone else. We still need a sticky with all the info easy to find and reed. I don't expect a new commer to find the proper thread and reed through the hole thing just to find the proper info. Then again things are scattered around so much you end up confused and scared of bricking especially if it is someone new to this stuff.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] topjohnwu:
It happens to other Taiwanese users too. And I have evidence that my system is valid, because I am able to manually apply the OTA package using a newer version stock recovery. If the system itself is not legit, it will be impossible to flash a block based OTA in any way.

I had the 10 for more than half a month, and I tested several combinations (you can find all the combinations in this thread somewhere).
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Chainfire:
Don't take my post as an attack, I'm just reporting on what I'm seeing.

I'd be curious to know if anyone can get the OTA to download on the wrong recovery by using that tool.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] topjohnwu:
I'm not debating too :)

Just pointing out the facts I got.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] alexpower:
Hi,

I'm now on twrp latest recovery.

System image is backed up.

In twrp is an option to remove encryption from data.

Should I do this before flash supersu, or is it irrelevant for flashing supersu?

Because I will maybe later go to s-off.

And later maybe data set to encryption back.

I will not run into the lost data signal problem

Gesendet von meinem HTC One mit Tapatalk
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Stephen:
Moderator Information,

Thread has been cleaned. If you have an issue with a post, do not reply to it, but report it to the moderators. Do not flame other users.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Lastwurdz:
My phone should be arriving sometime tomorrow. U.S. version. my goal is to unlock, root, and s-off the device so i can have all the freedom i have with my m8. i've only ever rooted one phone before so i dont have much experience and i dont want to overlook anything with this OTA issue. from what i understand my best bet would be to get the 1.3 OTA before doing anything. and proceed from there. im assuming the best tried and proven method will be available very shortly. i wont create a thread asking for it but i'll keep checking this forum. if anyone finds a link can you please share. thanks!!

I am trying to do this the smoothest way possible
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
There's no TWRP for the US version (yet) as I don't have any software for one from which to build it. The currently posted TWRP is built from the uhl variant and probably won't boot on the US.

EDIT: Uploaded a compatible TWRP (I hope) to the TWRP thread.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Qevinator:
Is there someone who could answer this question? I would like to know the same thing.

When you put everything discussed in this thread together, would this be the right summary:

1. Always first OTA to the latest firmware.

2. Backup the stock recovery:

A. Root your phone by only booting TWRP (sideload), don't flash it yet. fastboot boot twrporwhatever.img, then flash supersu

B. Boot phone that has stock recovery

C. adb shell

D. su "watch your phone to grant root adb access if you haven't ever done it"

E. dd if=/dev/block/mmcblk0p43 of=/sdcard/recovery.img

F. This will put flashable recovery.img on your internal sd card. Copy this and save it for later

G. "fastboot flash recovery recovery.img" will get you back to stock recovery, "fastboot flash recovery twrporwhatever.img" to flash custom recovery

3. Now flash TWRP

4. Backup system image

If you would like to take future OTA, just restore system image and stock recovery.

Does this seem to be correct?

And as [MENTION=596444]alexpower[/MENTION] asked; what to do with the data encryption? Is it recommended to remove data encryption in TWRP? And if you do so and the signal problems occur, is it just a matter of enabling 'Phone Storage Encryption' in Setting > Storage to fix it?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Lastwurdz:
hey can you post a link to the correct thread?? i dont know how i feel about the "I hope" part but i'd be lying if i said i didnt want to give it a try :eek:

thanks
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] topjohnwu:
1. You cannot fastboot boot any image on the HTC 10

2. You cannot decrypt your data, because it will break your signal.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
There's only one TWRP thread for the 10....unless you know something I don't :confused:.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Lastwurdz:
I downloaded the version you posted but im hesitant to try it out just yet because i have very little experience. im thinking about letting someone else storm the beach....or i might just go for it. i'll post the results. my phone just arrived
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Qevinator:
Thanks for your answer [MENTION=4470081]topjohnwu[/MENTION].

So I guess we'll have to wait till someone grabs a hold of the latest OTA, so he can extract the recovery from there right?

And I know decrypting data will break the signal, but if for some reason you did in TWRP can you fix it by enabling 'Phone Storage Encrypting'? For my information: in which case would you decrypt data? What is it that you can do with decrypted data that you can't do with encrypted data?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jcase:
Ok guys here is a guide for unlock/s-off/root etc while keeping your radio working, as well as getting your radio working

http://xdaforums.com/htc-10/how-to/guide-root-optionally-s-off-radio-t3373025
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
All the same as on m9+, it seems

Except encryption, but otherwise no ota if system was mounted read write and or recovery is not stock and doesn't match system version.

It's pita. Especially with the encryption on top.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] zerone55:
FWIW, I am currently bootloader unlocked, TWRP and rooted. Still got the notification for 1.53 OTA on the US unlocked model. Currently downloading. Not going to apply since I am on TWRP.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] topjohnwu:
Thanks for the reply.

It seems that things are getting more confusing now..... :confused::confused:

Need more tests to find out what's actually going on.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
It appears that the "recovery_id" issue isn't an issue at all. As I suspected, it was the disabling of forced encryption and/or dm-verity that was causing the "system corruption" message (probably disabling dm-verity).
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] topjohnwu:
Well, I'm sure that I've restored to 100% stock before posting this thread to the forum.

This means stock boot + stock system.

It drove me crazy at that time, so I posted this PSA for a warning.

I also confirmed with many Taiwanese users, all seems to face the same issue too.

But it seems that people aren't even facing this problem at all now....... weird.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] cauqazn:
Eh... I restored stock system and flashed stock recovery but still getting that error for OTA.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
When you say "stock system", you mean you enabled read-only in TWRP and restored "System Image", right? And stock boot?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] topjohnwu:
Yes of course.

I updated my phone with that system, it couldn't be the system which causes this.

I'll remove the OTA thing in the OP, until things are sorted out :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] cauqazn:
I restored my backup I made in TWRP in read only mode, then flashed stock recovery, and it won't take OTA.

Maybe I'll try reflash TWRP and go back into it to restore system image again.

How to restore stock boot? Is that option one of the 'folders' in the recovery backup?

---------- Post added at 11:19 AM ---------- Previous post was at 11:19 AM ----------

I restored my backup I made in TWRP in read only mode, then flashed stock recovery, and it won't take OTA.

Maybe I'll try reflash TWRP and go back into it to restore system image again.

How to restore stock boot? Is that option one of the 'folders' in the recovery backup?

---------- Post added at 11:24 AM ---------- Previous post was at 11:19 AM ----------

I just flashed TWRP again to get into it. Didn't ask to "read only". Restoring boot and system img from my backup. Gonna try again.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jollywhitefoot:
Hopefully you made a boot partition backup when you made your system image backup. If not, there is a stock boot backup posted on like page 9 or 10 of this thread that I made.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] cauqazn:
I did. I followed guide 100%. Just tried flashing firmware.zip manually and I get this error.

E:footer is wrong

E:signature verification failed

Installation aborted

---------- Post added at 11:30 AM ---------- Previous post was at 11:27 AM ----------

Will a "wipe data/factory reset" in Stock Recovery completely restore to stock? At this point I don't mind going back to zero again.

---------- Post added at 11:57 AM ---------- Previous post was at 11:30 AM ----------

did it again with the stock systemimg/boot posted in the [STOCK] stickied thread. TWRP ran as read only. Restored. Flash stock rec 1.21 pulled from stickies.

Rebooted phone, OTA still errors out. What am I doing wrong lol
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jollywhitefoot:
I'm getting the error too. Please let me know if the wipe helps. Thanks!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] cauqazn:
you tried the twrp backup posted here too? idk what's wrong. i'm afraid to factory reset idk what will happen, new to this stuff. don't want to brick it.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jollywhitefoot:
I tried my own system image backup and the one posted in the stock backup, ruu guide thread (http://xdaforums.com/htc-10/how-to/stock-stock-collection-recovery-ruu-ota-t3359297).

You won't brick by doing factory reset, but don't do anything you're not comfortable with.

I extracted and manually flashed the firmware update package and now I'm getting the OTA prompt in system. So, the failure to download isn't tied to the system image I had used for my restore. It's either I was using a modified boot or recovery, I bet. But [MENTION=1162986]Captain_Throwback[/MENTION] already said he was able to download the OTA with TWRP installed, so maybe it's the boot.img we're using. I'm downloading the OTA now and will report back if it installed.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] cauqazn:
Let me know. I said f' it and already did a factory reset. Gonna see if I can get it, if not I'll report back.

And I also tried manually flashing in stock recovery but got errors on both restores I did, my original & the ruu guide thread.

---------- Post added at 12:27 PM ---------- Previous post was at 12:23 PM ----------

Nope... Didn't work :eek:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
http://xdaforums.com/htc-10/how-to/stock-stock-collection-recovery-ruu-ota-t3359297/post66789857
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jollywhitefoot:
If you're s-off you can flash the firmware from the OTA and then take the OTA. Or, Captain_Throwback's zip file he's making might be easier.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] cauqazn:
I'm S-ON. I'm waiting on his ZIP. Hopefully it works for me.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
http://d-h.st/HrJ7

There's the zip.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] FreydNot:
For what's it's worth, I am seeing the reported behavior on 1.21.617.3.

USA unlocked unit purchased from HTC.com. S-on, twrp installed, rooted with the modified supersu script, no xposed, only system modifications was to run AdAway.

Since I want S-off, I'm going to run sunshine before doing anything. You never know when a system update can render sunshine broken.

I plan to restore my system image, recovery and boot from backups and try to apply the ota "normally".
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jollywhitefoot:
Can you flash only the boot from the OTA and see if that let's you at least see the OTA in Software Updates? What I mean is, after you s-off or whatever else you want to do before you update, flash the attached boot image (fastboot flash boot 1.53.617.5-boot.img). And seeing if that alone lets you download the OTA. [MENTION=1162986]Captain_Throwback[/MENTION] has a theory that doing this alone will restore the ability to take the OTA.

Edit: I flashed the entire firmware.zip from the OTA and this allowed me to take download it after restoring boot, system image backups and stock recovery didn't work.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] cauqazn:
So I'm a bit confused now after reading some more. The file you uploaded IS the OTA? Or is it not. Because all I did was flash that file in stock recovery per your instructions and my phone now shows new software #. Am I done or do I have to search for OTA again. It says phone was up to date. Sorry if this is a stupid question LOL

---------- Post added at 05:44 PM ---------- Previous post was at 05:43 PM ----------

This post by jolly is what is now confusing me. How does OTA apply itself: does it update boot and system img before "doing the rest"?

Like why would you flash 1.53 boot img to be able to see the 1.53 OTA? Shouldn't you be on the previous rev. 1.21?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jollywhitefoot:
Because it wasn't meant for you. :D

If you flashed captain throwback's file you should be up to date. I was asking FreydNot to test something
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] cauqazn:
OK, hahaha :angel:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
Yes, what I uploaded is the OTA. The boot.img is to test a theory. You don't need it.