yashsingh1/xdaforums huggingface dataset:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
So now you must Format Data in TWRP. Might as well stay unencrypted, then.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] santod040:
Delete...
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Terraalpha:
Hi Captain

Work this Version twrp 3.0.2-7-pme-Debug on Android N, HTC 10(Stockrom)?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] VolcanicSkunk:
[MENTION=2605798]nkk71[/MENTION] - 3WE21676JH751750N

&

[MENTION=1162986]Captain_Throwback[/MENTION] - 0XB99152KT740553S

Thanks so much!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
Wow guys.

So many donations. They're very much appreciated! I was going to take a break today, but because everyone is being so generous, I have the build box running and am working on decryption right now. I'll report back with a status once I've completed some test builds. Thanks again for all the support! :D
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] twinnfamous:
Can I request xda add a dislike button for questions like this. :laugh::laugh::laugh:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nkk71:
Thank you! Very much appreciated :o
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] chrisftlse:
Maybe I am blind but even refreshed the page do not show the 3.0.2-7...

Different browser tested...

Am I missing something ?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] :
Have a look at post #878.

http://xdaforums.com/showpost.php?p=70013643&postcount=878
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nkk71:
It's an unofficial test/debug build, and as mentioned is in the download tab
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] badkitty795:
Yay!

It was the superSU version. :o I thought it might be and kept looking for a newer one and couldn't find it. lordmago's suggestion to another user helped me find the right one. I am now rooted and restored and tired! :victory: I truly appreciate everyone's help. I will now say to myself repeatedly: "I will not hit buttons like a drunken monkey when I am tired. I will not try to update and/or root my phone when I am tired. I will read the directions!"
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
So, I'm currently exploring using vold to decrypt storage rather than TWRP's built-in decryption. That *should* work for devices encrypted using the default password, but is more involved if a custom password/PIN/pattern on boot is used. Right now I can manually decrypt via the command line using a mounted system. Screenshot of decrypted /data is attached. Now I just have to work on automating it. And of course the goal is to update the TWRP code so this method won't be necessary. But it's still a valid proof of concept.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
Alright, last post for the night.

Just added a new, very raw TEST version to the Downloads tab. This version of TWRP uses the method I mentioned previously of mounting /system and using vold from the ROM directly to decrypt /data. Because TWRP itself doesn't know /data is encrypted, it throws some errors during the bootup processes, and right now those can't be avoided with this very hacky workaround. Also, Internal Storage shows as 0MB until you go into the Backup tab and use the "Refresh Sizes" button. Then it should show up correctly.

The limitation of this method is that, since TWRP technically has decryption disabled, there's no GUI to process password/PIN/Pattern input, so any password other than the default (i.e. if you have a password set on boot) cannot be decrypted automatically. If you want TWRP to be able to decrypt your device, for now, you'll have to remove your password/PIN/pattern on boot. You can also try inputting the password directly by mounting /system in the mount menu, and using the TWRP Terminal or adb shell with the command:

vdc cryptfs checkpw [password/PIN]

(I have no idea if that actually works, or if /data will mount itself if the password is input correctly. I also don't know how a pattern is translated to characters, so you're on your own there.)

So I think that's enough work on that today. Hopefully tomorrow [MENTION=2605798]nkk71[/MENTION] can take a look at what I've done and make it all nice and pretty :).

P.S. I also just noticed that /sdcard isn't getting symlinked from /data/media, so you'll have to navigate there manually if you want to install something from Internal Storage. Maybe just one more build, lol...

P.P.S. Tried and failed. You'll just have to live with it for now, lol. Past my bedtime, almost midnight...

P.P.P.S. Well it was bothering me, so I found a workaround for the symlink issue and now Internal Storage will at least show up at /sdcard when you go to install a zip. It still shows 0MB, but I'm not bothering with that right now. Seriously, going to bed now. Updated the link in my post and removed the old download.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jollywhitefoot:
Thanks! I hate to be this guy, but how much longer do you think we'll have to wait for this to actually be working? ?

PS - don't flame me guys. I'm only kidding. Great work as usual.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
Posted an update here (see the last P.S.). If you already installed the TEST version I posted, you may want to install the one I just uploaded over it. Nothing big, but a minor annoyance I couldn't sleep until I fixed. Good night all!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] xunholyx:
COOL! Downloading and flashing immediately!

EDIT: 404 not found on all links
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] 2WildFirE:
Link working fine here. The problem is at your site

Powered by HTC 10
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] xunholyx:
Cool! I'll try again when I get back home
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] gotAndroid10:
[MENTION=2605798]nkk71[/MENTION]

Confirmation: 0SX80568XD937320U

[MENTION=1162986]Captain_Throwback[/MENTION]

Confirmation: 79852206CR292663X

Just a little something to say thanks for all the time you two devote into this device and for putting up with all the noobs like me lol.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] misterk267:
I can confirm the 404 not found as well. It doesn't happen until you click the actual download button for the test version. Debug downloads fine.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] p50kombi:
Same here, 404 not found. .
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] JEANRIVERA:
Could anyone who was able to download from xda the test version could share it with me by pm please? All I got is 404
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] grega_slo:
http://xdaforums.com/devdb/project/dl/?id=21983
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] xchang168:
it is the old one.

the same 404 for me.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] kewlpanda:
I'm having same problem using 2 different Internets when I click on file and try to download it it gives 404 error
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Pizzo78:
Same here, 404 not found.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] lordmago:
Same here, 404 not found; tried with last firefox beta both on laptop and smartphone, edge on laptop and xda app last beta on smartphone...
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
Sorry about that everybody. Link should be fixed now.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nkk71:
Nice going Cap, I'm out all day with the family... But will try my best to take a good look tonight :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Terraalpha:
Sorry for this question.

I should have read correctly before.[emoji44]
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] btonetbone:
Thanks!! Just successfully used the latest test version. I have been on the latest Nougat LeeDroid ROMs, and had left my Data encrypted. With the new TWRP, I was able to reflash and successfully wipe my Dalvik/Art Cache partition. The one catch was that, likely due to how you mapped the storages, I had to re-select all my settings in Aroma (I believe it was looking for my previous settings in another location). Great job!!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
That's actually not how I mapped the storages - I think that's an update to how TWRP handles them from upstream (probably due to Android tree updates and changes to support the Pixel devices).

P.S. I could be wrong though. Unfortunately this and the Bolt TWRP are the only ones I've built on the new tree.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] bigcid10:
in order for twrp to decrypt the system and data ,it's required to remove the logon pin ?

and also backup is still not working ? as it still shows data as 0

Thank you
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
:mad:

Come on, man. Read the release post. I didn't type it all up for my own edification.

P.S. System is not and has not ever been encrypted. And Backup works fine.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] bigcid10:
the reason why I asked is

I flashed the test(newest) twrp and when I booted into recovery ,it didn't ask me for a pin

so I assumed that in was working properly

but I went to backup to my external SD it errored out and system showed the correct size

but data showed 0

and yes I read the release post

Thank you
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
Clearly you didn't. I can't do this today after working so hard on this yesterday. Can someone else please enlighten this guy?

I'm taking a break today; no more replies from me.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] linar10:
@up

Mount system to make a backup of the system - for me it was a mistake. After installing the system partition, all ok

refresh size data several times

HTC_10 & Tapatalk
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Terraalpha:
Hi Captain

I enlighten him [emoji92] [emoji93] [emoji298] [emoji298] [emoji295] lol!!!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] bigcid10:
it won't let me mount system

that's part of my problem,and I removed the logon pin

I refreshed size and the sizes came back

but it still doesn't let me mount the system partition

it says device or resource busy(it is checked off though in the list)

Thank you
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Black-FR:
Read this posting again:

http://xdaforums.com/htc-10/development/recovery-twrp-touch-recovery-t3358139/post70030720

There it's pretty well explained, how you could decrypt, if you don't use the default pin. (Via terminal / adb shell)

And it's also explained how you see the size of data and that you need to navigate manually to it, if you wanna flash some from the internal storage.

BTW.

Thanks to [MENTION=2605798]nkk71[/MENTION] and [MENTION=1162986]Captain_Throwback[/MENTION]

The current twrp works pretty well, on the N firmware.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] linar10:
overlap Mount

Bottom - Mount system only read

Check system - on top

Go back to the backup, and everything should work

HTC_10 & Tapatalk
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] bigcid10:
I understand that ,I got the sizes straight

when I checked off "mount system read only " it started the backup

but I understand that I must enter the default password

thank you

I didn't mean to blow Mr. Throwback's head off,Sorry
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] i$tickitinyour$u$hi:
also mentioned that this is a "very raw TEST version" ;)

BIG THX to Captain_Throwback and Team :highfive:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Alarand:
I'm not certain if this has been covered specifically but I remember back at release there were issues with cell data when running unencrypted, something along those lines.

Could formatting data and running unencrypted potentially affect wifi calling/volte? I was assuming it's something completely separate, but I figured I'd ask incase it's a possibility. Apologies for being so naive.

ps: Huge thanks [MENTION=1162986]Captain_Throwback[/MENTION] and [MENTION=2605798]nkk71[/MENTION] for your hard work.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] bigcid10:
thank you ,I figured that out next
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jollywhitefoot:
I'm running Ice nougat unencrypted and volte works fine. I don't have Wi-Fi calling so I can't test that.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] buckmarble:
What carrier are you on?

Sent from my Nexus 6p
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jollywhitefoot:
AT&T
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Pauls57:
Can the new test build be used on new and old firmware? Or is it nougat only.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jollywhitefoot:
See attached
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
And you can do that with TWRP - encryption doesn't matter. adb sideload should work fine, as would copying the zip file to the external SD card and flashing it from there.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] BartLuke94:
Ok I'll try tomorrow!

Thank you

Inviato dal mio HTC 10 utilizzando Tapatalk
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Spegeli:
I flashed TWRP successful, now i try to do a factory reset.

But all he do is to boot into Recovery and then i get:

what should i do then? click on abort?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
Just an FYI for anyone getting the US variant and expecting to be able to flash TWRP to it - I don't believe the version currently posted here will boot on the US variant.

Don't be surprised if you try go flash it and it just reboots your device. I'll work on posting a working build to the Downloads tab in the next few hours, since many people will be getting their device today (not me, though).

Please stay tuned.

EDIT: Turns out the existing version works fine. No worries, nothing to see here :).
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
Alright, posted a version that should be compatible with the US version to the Downloads tab.

UPDATE: Removed as it's not needed and was slightly broken, lol

If someone could confirm that 1) the uhl version DOESN'T work on the US variant, and 2) that the wl version DOES work on it but not on the uhl version.

UPDATE: Confirmed that official/existing version boots on US Unlocked variant - thanks [MENTION=5957136]jollywhitefoot[/MENTION]

I'd prefer to have a unified build, but it's likely that I won't be able to do that until kernel source is available. EDIT: I'll probably still have this problem with the Sprint variant.

Once a booting version is confirmed for the US variant, I'd like to suggest a couple of things:

Someone fastboot flash twrp and immediately make a backup of boot and upload it to XDA. - DONE

Once the above is available, someone else download that boot.img to their device (SD card, preferably), and fastboot flash twrp to the BOOT partition of their device.

Once the above is done, reboot the device, which will bring up TWRP, and then backup stock RECOVERY in TWRP, and upload to XDA.

Then, from within TWRP, use the Image install feature in TWRP to flash the stock boot.img.

That will give the entire community access to these files, since this device is very different, and being able to restore those files may be very important as things progress and we continue learning together.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] TRLOS:
Im having the exact same issue.

Can't factory reset my device. It just reboots straight into TWRP.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jollywhitefoot:
You don't factory reset from the bootloader screen once TWRP is installed. Go into TWRP and go to Wipe and there's an option for wipe data/factory reset in there.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Superguy:
I'm with you man. No notifications here either, but I didn't order until the 20th. :(
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jollywhitefoot:
twrp-3.0.2-2-pmeuhl.img DOES boot on the US Unlocked device

twrp-3.0.2-2-pmewl.img DOES boot on the US Unlocked device
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
Well then, guess I didn't need to build a new one after all :).

So I'll update the OP to keep pointing to the official build, since that one will work fine on all the currently available variants.

When the Sprint variant is available, that one will definitely require some updates, and probably a separate version (until source is released).

EDIT: Now we just need some people to pull the stock boot and recovery images for the unlocked version.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jollywhitefoot:
I attached the boot image backup to my post above. Note, that I was unable to backup the boot image immediately after I entered TWRP as i received unable to mount storage and unable to mount /data errors in the log. I had to factory reset data, then take the backup.

Let me know if you need anything else. I'm going to be around for about another 30 minutes then we're off to the in-laws for Mother's Day weekend.

Also, wanted to report the date and time on my device is off, too.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
Thanks for posting the backup!

I'll be able to do much more once I have the device.

EDIT: What's the software version? Can you upload a copy of the build.prop?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jollywhitefoot:
No problem. Thanks for supporting blindly.

1.21.617.3 - no update available ATM (maybe 1.30 is wwe only so far?)

Yeah. I'll upload build.prop shortly.

Edit: build.prop attached. Enjoy [MENTION=1162986]Captain_Throwback[/MENTION]
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] FreydNot:
Just for clarification, [MENTION=5957136]jollywhitefoot[/MENTION], is your device a USA unlocked version or a Verison version?

ro.aa.project=PERFUME_WL_M60_SENSE80GP_VZW

makes it seem like a Verizon version?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jollywhitefoot:
Yeah, I noticed that, too. This is USA unlocked.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
Well then it looks like Verizon compatibility for the Unlocked model is going to come down to whether Verizon allows them on their network. Hard to say either way.

Thanks for posting the boot backup and build.prop. Once I have mine I'll backup the stock 1.21.617.3 recovery and upload it (unless someone beats me to it).
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
Well then it looks like Verizon compatibility for the Unlocked model is going to come down to whether Verizon allows them on their network. Hard to say either way.

Thanks for posting the boot backup and build.prop. Once I have my 10 (who knows when) I'll backup the stock 1.21.617.3 recovery and upload it (unless someone beats me to it).
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] MNoisy:
Thank you! I need the 1.21.617.3 recovery asap!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jollywhitefoot:
Just discovered the with the wl version I can't mount externalSD in TWRP. uhl still working perfectly on the US unlocked variant.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
Yeah I was playing around with some flags in fstab and broke it. Oops. I removed that build for now anyway.

I am going to throw together one more test build with some additional dtbs and will need someone to see if it boots (my guess is that it won't). That's the first step toward a unified build (when the Sprint variant is released).
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] CharliesTheMan:
It would probably work with both, but if you're on Marshmallow firmware, I would run the regular official build. And the way I updated my firmware to go to Nougat was to flash the firmware and then flash the new twrp recovery build. So I think you'll either need to flash nougat firmware with the TWRP debug build inside, or flash the nougat s off no wipe firmware followed by the TWRP build.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Pauls57:
Thanks!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
There's no reason to use it if you're still on Marshmallow firmware. Why would you want to use a hacky test version over a fully functional one?

P.S. Sorry I couldn't stay away from my own thread...:eek:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] 2WildFirE:
I see no need for the test build on MM firmware

Ahh cpt was faster the me

Powered by HTC 10
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nkk71:
go away!! :p

time to chill a bit ;)

As for all of you that have replied, supported, thanked, etc.

I'm extremely grateful !!, I haven't seen a development thread so active, in a nice way, in quite a long time.

Nice to see, so many people helping, voicing their opinions, their thanks, even the many donations - I'm wowed, and very much appreciate it.

Enjoy the rest of the weekend everyone, I'm gonna go chill out, had a lovely day with the family today, so I'd like to take it easy tonight.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] lordmago:
I think you both deserve at least to see written thanks or the button hit, 'cause you're sharing knowledge and patience with us! :highfive::good:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] krassermensch:
For those of you who want to decrypt though they used a pattern to encrypt the storage I have an answer.

Following the sources of Android, to be more precise the sources of com.android.internal.widget, that's the layout of the pattern in numbers:

0 1 2

3 4 5

6 7 8

So if your pattern is from bottom left to the middle left, then to the bottom middle and then to the center your password would be 6374. I hope it helps some of you. Good night ;)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] darkenedpath:
Here is a little something from me captain. 3H705400007456055 isn't much, but I appreciate I can now use twrp on my phone. Sorry some of us are noobs at one point. And still are with as much experience as we have. Just glad we have a hero like you around. Next week I'll hit up [MENTION=2605798]nkk71[/MENTION] with something. Just short payed with three kids to take care of. I'm not able to do what you guys do, so this is my gratitude. And don't buy crappy beer either lol. Thanks guys, envy what you and every other dev on these forums do for us users.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
Added a TEST2 version to the Downloads tab. I adjusted the link to /sdcard to reflect as it did previously. That should fix any issues people were having with AROMA not seeing settings and the like. No other updates besides that. Still only works automatically with the default password, and still requires a "Refresh Sizes" for Internal Storage and Data to show to proper sizes. So now we all must wait for [MENTION=2605798]nkk71[/MENTION] to do his magic :).
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Antny6:
[MENTION=5957136]jollywhitefoot[/MENTION] you may want to remove your phone #[emoji117] [emoji108]
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jollywhitefoot:
Thanks. That's not my phone number though.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Antny6:
Weird, so ur VM just calls some random #? I thought the "actual" att # was 888 something...

I mean my VM calls my Google Voice #...but that's still my number
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] xunholyx:
Voicemail goes to a different number than your own. If someone called it all they would get is a prompt to enter the password
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jollywhitefoot:
This ^

And the number actually changes from time to time. I guess the network feeds it to the phone. Mine used to be a 225 number, now it's 253.