yashsingh1/xdaforums huggingface dataset:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
Is there a link for this ROM somewhere I can try? I have an updated TWRP build and I can see if I get the same error.

EDIT: Attached a TWRP image I just built (zipped). If you can try the same ROM flash and provide recovery log, dmesg & logcat I'd appreciate it. That should help to troubleshoot if there's indeed a problem.

EDIT 2: Looking a bit more closely at the log, it may be an issue with backuptool, since it's right after that the error occurs.

about to run program [/tmp/install/bin/backuptool.sh] with 5 args
Updater process ended with signal: 11
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] raul16:
Thank you !

rom is here with md5

i will try with new TWRP image provided.

i also suspect backuptool. script is identical with LOS17.1 that runs w/o issues. binaries are different (!). all META- INF is build out of android external project sources for LOS.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] raul16:
i got same error ( exit 11) with new image. logs attached.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
Yeah, I got the same error as well. I don't think it's a TWRP issue though, since the ROM flashes successfully, even though it reports failure. It seems to be an issue with how the backuptool script is exiting. Since it's not really causing an issue, there's not really anything for me to do :cautious:.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] raul16:
Thanks for support ! I will investigate further as its annoying ...
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] raul16:
@Captain_Throwback i found the issue (!).

it was not the backuptool script but the mount command that could not execute due to update-binary file. seems that file is either bugged or damaged.

once i repack new rom with old META-INF/../update-binary file i could flash w/o any issues.

now i have to check why my repo sync with LOS 18.x bring up / build up damaged (?) META-INF binary files :cool:

Thanks for your time & support ! appreciated
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] TheShanMan:
Late to the party here ;) but I'm reviving my old HTC 10 as a secondary phone after replacing the bad battery, and I ran into this exact scenario while I've been experimenting with de-bloating. So thankful for this post. I have Read/Write access to system in twrp again! Woohoo!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] S2kT68m:
Big Thanks [MENTION=711482]beaups[/MENTION].
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ahac85:
[MENTION=1162986]Captain_Throwback[/MENTION] Does this mean we can now backup and restore the data partition with latest recovery ?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] mick_soul:
Yes, it does :D

Big thanks [MENTION=711482]beaups[/MENTION] and [MENTION=1162986]Captain_Throwback[/MENTION]!

Good cooperation, awesome :good::good:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Aldo101t:
Big thanks to beaups! The rocket man, and the CAPTAIN
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] chazall1:
Big thanks [MENTION=711482]beaups[/MENTION] and [MENTION=1162986]Captain_Throwback[/MENTION]!

Outstanding

Thank You
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] TopoX84:
man great news thanks [MENTION=711482]beaups[/MENTION] and [MENTION=1162986]Captain_Throwback[/MENTION]!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] metalfan78:
+1
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] yldlj:
Does twrp still need a password?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] chazall1:
No password
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] yldlj:
So when it asks for a password for data encryption you just press cancel?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Behold_this:
Doesn't ask
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] yldlj:
Thanks
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] goodman_east:
big thanks for you and [MENTION=711482]beaups[/MENTION]
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jeanxx:
What does this mean as far as wiping system and data? With decryption now available, can we now wipe system and data without the network breaking?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] balha1977:
is still necessary , the point "Only Read"

with the new version of TWRP 3.0.2.3
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
It just means that you can wipe data in TWRP without completely formatting the userdata partition, which would also wipe internal storage (emulated SD card). The "network breaking" problem is related to having decrypted userdata

and has nothing to do with TWRP.

Nothing that changed in TWRP has anything to do with this. If you want to be able to take a stock system image backup and/or have dm-verity enabled, then yes, you need to keep system mounted read only.

There seems to be a lot of confusion about what was actually fixed. You can now mount an encrypted userdata partition in TWRP, which means that you can access /data and /sdcard. That allows you to make backups to /sdcard and copy files to that location via adb or MTP. It allows you to wipe data and dalvik-cache if desired. But nothing related to decryption and radio in Android is affected. That is not a TWRP issue/problem. Hopefully this alleviates any future questions regarding this. I'll add this information to the FAQ, even though I shouldn't have to, lol. But these are all new problems with this device, so I guess some confusion is to be expected :rolleyes:.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ahac85:
Can we restore data from nandroid without breaking radio?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
Restoring data from a nandroid doesn't remove encryption. It has nothing to do with the radio issue.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] virtualcappy:
Really glad to hear about this, thanks. Can twrp be updated "on the fly" somehow or is it necessary to connect to a computer to flash the new recovery with fastboot?

Damn you, micro-USB-C...
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
Did you read the OP?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] 5m4r7ph0n36uru:
Can be flashed from within TWRP, if you got one installed already. Just download TWRP to your device, reboot to recovery, choose install and tab the flash image to choose the latest TWRP imange and flash it. Learned this myself thanks to [MENTION=1162986]Captain_Throwback[/MENTION] :good:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] virtualcappy:
Oops

You mean the detailed instructions on flashing from TWRP? Of course I did.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] balha1977:
Why can not I from TWRP from not directly or again boot into TWRP
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
Because you didn't read the "Bugs" section in Post #2.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] balha1977:
Ahh OK, now I read this. Thanks for the note
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] FreydNot:
I'm very happy to see that 3.0.2-3 is now able to decode the /data partition. I was surprised it was able to decrypt /data without any passcode or unlock pattern from the user. That isn't what I would call secure (but that's not TWPR's fault).

I looked in the phone settings for an option to require a passcode before booting, but I didn't even see that as an option. Is there a way to make /data not be decrypted by TWRP without a passcode or unlock pattern?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] gusoldier:
My guess is that you need to relock your bootloader if you want a secure phone.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
Just set a Pattern/Password/PIN in Settings -> Security (it can be the same as what you're currently using), and then choose the option to "Require Pattern/PIN/Password to start device". Then TWRP will require the same password when you boot into it.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] FreydNot:
Silly me. I looked for that setting but couldn't find it. You have to reset the pattern again and the option comes after you set the pattern.

All good now. TWRP now requests a pattern before running.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Pauls57:
Major compliments to [MENTION=1162986]Captain_Throwback[/MENTION] and [MENTION=711482]beaups[/MENTION] for the latest revision. Huge convenience to have decryption working. ?

---------- Post added at 10:15 PM ---------- Previous post was at 10:14 PM ----------

Major compliments to [MENTION=1162986]Captain_Throwback[/MENTION] and [MENTION=711482]beaups[/MENTION] for the latest revision. Huge convenience to have decryption working. ?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] HF299:
No one reads a "bug section" this can be annoying, boring, scaring or what else? ? It's funny.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
Nice, 379 downloads of the new version from the Downloads tab! That version has now been removed :eek:.

Because......

The Official TWRP has been updated! 3.0.2-3 now available from the TWRP website with decryption support. Once we have kernel source, I can fix the remaining two bugs, and we'll have a good TWRP to use from here on out :).

Keep after HTC on social media and encourage them to release kernel source so we can get TWRP fully functional and get some custom kernels going.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Nosferatu.:
read the first few posts...flash in ADB or flash directly in TWRP?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] gotAndroid10:
I flashed the latest version directly in TWRP. No problems here.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Nosferatu.:
perfect. One additional question (meant to put in earlier)...

With decryption available now, can I RUU the device back to stock, get the OTA, and then flash TWRP and restore ALL my current partitions and be back in business or will I have a mobile data signal issue?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] chazall1:
I was wondering the same. I RUU back to stock, Added twrp-3.0.2-3-pme.img and flashed SuperSU-v2.72-forceencrypt.zip All was working.I went back into TWRP and restored my System and data. It all came back up as I had it. My radio is working and am getting notifications. HOWEVER,

I can not get pass my pin logon at the lock screen. I had set up Finger print with a 4 pin code. I am getting wrong password.

---------- Post added at 04:44 PM ---------- Previous post was at 03:55 PM ----------

Is there a way I can reset my password is adb shell ???

Thanks
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
Does TWRP prompt you for a password when you boot into it?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] chazall1:
No TWRP is functioning fine. I just need to see if I can reset the code to lag in. Everything is working I am getting e-males and messages.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
Then you probably just need to delete the locksettings files from TWRP.

Use the TWRP File Manager to delete the locksettings files under /data/system, i.e. /data/system/locksettings.db etc. Then boot up and see if you're able to access the device.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] chazall1:
Thank You I am back on my device. I think next time I do a backup, I will remove the security locks. There seems to be an issue with restoring the security locks on restore of Sys and data

Thanks
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] seniorstew:
This was a known issue with the 6p.. Before doing a backup, disable your lockscreen security
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] thatotherguy..:
Does anyone else have a mouse pointer on there recovery?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] purple patch:
Yes, known issue mentioned in bugs section of OP. Need kernel source to fix.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Electronic Punk:
You can also add a theme to TWRP with the mouse cursor set as a 1x1 transparent pixel to get rid of it as well ;)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
You have a stock theme set up this way you'd like to share?

It's as good a workaround as any until source is released.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Electronic Punk:
I use a custom one at the moment ( http://xdaforums.com/android/themes/theme-twrp-materialised-dark-light-play-t2915584 ) but I am sure I can figure out how to modify the stock one!

I will take a look shortly!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Prinz069:
Wow, flashin recovery in recovery, nice:D That makes it much more confortable. But I can't find the tab "images". Will flash it via ADB then
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Electronic Punk:
Seems to do the trick!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
It's a button that says "Install Image"
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
Thanks!

Of course, kernel source was just released, so I'm about to fix it for real anyway....;).
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Electronic Punk:
Oh thats good news!

Just the Verizon 1.21 one at the moment tho right? But enough for you!!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Prinz069:
Ok, then it's "Install"
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
Nowhere in the instructions does it say there's an Images tab, does it?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Prinz069:
Let me check some pages back. Im sure you named it.

ps: you just edited it :D

It's what you've written in OP:

3) Hit Install and tap the "Install Image" button in the lower right

We may should talk about a german translation as current translations is a bit confusing :D
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
[MENTION=4684315]flar2[/MENTION] [MENTION=2967322]buckmarble[/MENTION]

http://www.htcdev.com/devcenter/downloads

It's the initial version, but it's better than nothing, I guess. At least I can fix the recovery issues.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] buckmarble:
I'm working on it right now actually. Trying to figure out which defconfig to use lol.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
Readme.txt says:

defconfig file: msm_defconfig
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] buckmarble:
Well I will give it a try. I have everything else set up in my build environment.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
Used the freshly released kernel source to update recovery and get rid of the remaining bugs. 3.0.2-4 now available from the official TWRP download site.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] chazall1:
Damn Fast,

Downloading now.

Thanks
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] buckmarble:
You got a link to the source?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] chazall1:
https://twrp.me/devices/htc10.html

Missed your looking for the kernel source sorry.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
Are you talking about my source? If so, that's here. I think I linked the HTC Dev source already (and I'm sure you already have it).

I had to disable some stuff that was causing build errors (nothing I needed for recovery, thankfully, lol).
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] buckmarble:
Will you hit me up on hangouts?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
Sent you an invite. My Hangouts is captainthrowback.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Prinz069:
DOWNLOAD:

Most devices can be updated quickly and easily within TWRP if you already have version 2.8.4.0 or higher installed

1) Download the latest version from our website on your device

2) Reboot to TWRP

3) Hit Install and tap the "Install Image" button in the lower right

4) Browse to the location of the TWRP image on your device and select it

5) Select recovery from the partition list and swipe to flash

What exactly does that mean?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
Have you tried it? It should be self-explanatory once you try it.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Prinz069:
Hi Cap,

just want to be safe as the whole root is way different to the M8.

Had trouble when flashing one custom rom over another as at the beginning we didn't had the chance to do a full wipe in Aroma.

Will give a try now, flashing recovery in recovery :)

---------- Post added at 05:10 PM ---------- Previous post was at 05:00 PM ----------

ok, got it, self explaining ;)

New feature, or has that already been before?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
Been there since TWRP 2.8.4.0.

P.S. It says that in the OP: "Most devices can be updated quickly and easily within TWRP if you already have version 2.8.4.0 or higher installed"
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Prinz069:
Pretty cool feature....thank you very much!!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] razrlover:
[MENTION=2967322]buckmarble[/MENTION] in Da house with HTC 10! Sweet.

[MENTION=4684315]flar2[/MENTION] also how sweet this 10 will be.

[MENTION=6093703]Captain T[/MENTION]hrowback, thanks for putting in the work!!

After the n6 and 5x I am very please work this device. So glad dev is starting
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] 10rdan:
Easy and self-explanatory, just flashed 3.0.2-4 from 3.0.2-3
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Prinz069:
Yeah, seen it. Never tried that before and it very nice to have as Im not that familiar with ADB.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Light1984:
Is it a bug that the reboot options don't work for me, or do I have to modify something to get them to work? Just flashed the latest image over my previous version of TWRP and wanted to reboot back into recovery and it just rebooted to main OS. Same thing happens with every option. Shutdown does shutdown however.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
Sounds like you're not on the latest version.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Light1984:
Maybe something with the previous version 3.0.2-2. All options work like they should now. Thanks for the update!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Stephen:
I just tested all reboot options on my 10 using twrp 3.0.2.-4 and all are working as expected.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] rajuabju:
I flashed recovery in recovery :)

3.0.2-4 looking good, thx!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] mobilecj:
im having trouble with the adb sideload commands on the latest twrp to load SuperSU telling me to update to the newest adb and i already have the latest 1.0.32 any suggestions
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] pablo11:
This is crazy ...

Flashed ruu wwe from Telstra 1.21 to 1.30xxx and set up . All working fine with TWRP 3.0.2-4.

Flashed LeeDroid rom and was happily using it for several hours after installing updates and transferring files using MTP etc etc..

Last thing I did was to copy am Obb file onto internal storage

The strangest thing happened - when I rebooted the phone in recovery with the USB cable connected - it immediately tells me that I need to enter password to de-crypt.

I enter the password (a four digit pin) it then tells me that it could not access storage in red letters in recovery.

Then when I reboot there is no signal available :(

Any ideas people?

It was absolutely fine until now. Maybe delete the lock files mentioned earlier? It was all good until reboot with USB connected in recovery...
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] mayday2:
Please read FAQ 2 in post 2. You may need to flash from stock rom again. Hope this help:)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] pablo11:
Thanks mate.

I am aware of this and have been happily using the set up before now and have used this phone and flashed roms for a couple of weeks.

I thought I would mention this because it has never happened before - I know exactly how to get out of the situation - more interested in what caused it.

I've just gone back to the phone OS before I wipe again and I notice that my "use a pin for accessing the phone" settings are set back to "swipe".

Anyways - not asking for help - just thought it was weird :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
Try updating to a newer adb version. I tested adb sideload yesterday with adb version 1.0.36 and it worked fine.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] peteri8706:
[MENTION=1162986]Captain_Throwback[/MENTION]

Now that TWRP can decrypt data, will backing up app/user data now work properly?

If so, and I wanted to backup my current 'whole' install for good measure; When choosing backup - you backup everything in the list that TWRP brings up? So if I mess something up e.g. when modding etc, and want to full restore to the way the phone was beforehand, with my assumption on the context of 'app/user data being decrypted/saved' properly now, the backup is properly restorable and won't have any errors on restore?

Basically, want to know if I backup all with the current ver of TWRP 3.0.2-4 that the backup will restore when needed, without error and phone is as it was prior to any mods etc.

Cheers and appreciate any feedback on the above :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ahac85:
Backup and restore works fine, just backup system, data, and boot
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] cwalker0906:
How do you update?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
With the SDK Manager.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] pablo11:
Just an update on this:

It is caused by setting up the phone after clean RUU - install recovery - install LeeDroid rom and then set a pin.

When you reboot you are asked to enter pin to de-crypt data but will get no signal and no prompt to enter a pin after boot.

Remove pin and no prompt to de-crypt and signal back .....

For some reason I get no prompt to enter pin after boot into Android and therefore signal is locked. Doesn't seem to matter what you do - it will not ask for your pin ????

I don't think it's a recovery issue but I wasn't getting this issue previously.....
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
Not sure how TWRP could be causing this....you could roll back to 3.0.2-2 and see if it still happens. If it does, it can't be TWRP since that version doesn't touch data or encryption. Even if it doesn't, I'm not sure how TWRP could be the problem since TWRP uses stock files to decrypt.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Viper4713:
I don't know how this happened but I had my 64GB Sandisk SD Card as adoptive storage and everything was working fine, I decided to try out Viper10, once I wiped "System, Data, Cache, Dalvik" and that's it, I selected nothing else, it wiped fine but with an error at the end of the log "Can not mount storage" so I reboot TWRP to see that internal works but my SD Card is now 0MB, I am thinking what the heck....

I flashed Viper10, didn't like it to much, SD Card was still screwed and wouldn't format, I then restored my system backup and the phone would not unlock, kept telling me my pass code was wrong, so I get super pissed and realize I must flash a RUU to fix all this disaster.

I took the SD card out and tried to format it in Windows, it will format but it now says its only a 16GB SD Card!, this card is ruined now, it decided to die while I was in TWRP, not saying its TWRP's fault but its strange how it was working fine, I reboot into TWRP, wipe system and boom SD card is ruined.

I am now restoring my apps and such from Google Play. this is a disaster, there is nothing left what so ever, its like I bought a brand new phone again.