[HTC 10 Guides, News, & Discussion] Sneakyghost:
I updated the batch tool in Post #4 - everything appears to be working for me, except Screenrecord and Screenshot - still need to fix those.

[UPDATE]

Still fighting with encryption. It breaks with my NoWipe I made for testing. Trying to figure out how to make a NoWipe. Sorry for the wait. Unfortunately I am lazy and not in the loop anymore with all this. So much to catch up with and figure out a-new...

[UPDATE 2]

Ok there is a first NoWipe version for WWE in the sheet. I tested this while Viper was fully installed and setup and the phone rebooted into Viper fine with the way the zip is now set up. It --should-- theoretically work. No guarantee though. Make sure you have a TWRP backup before using this!

FullStock: after the FullStock zip, everything is broken. You will NOT be able to just boot after you had a custom ROM installed. Not even with a factory reset in stock recovery. It will just NOT boot. You will need to reflash the ROM. I say this since 3 years in my firmware threads but this time its for real. On past devices, sometimes a factory reset allowed to boot a buggy ROM (missing data stuff) at least but this time, no dice.

Furthermore, if you run this scenario: FullStock and a restore of a TWRP Backup afterwards, you will get an error in TWRP saying it wasn't able to mount the /carrier partition, but otherwise restore fine. Once you boot up, you will be greeted with the "New SIM" dialogue and run through the provisioning again. This is normal because the FullStock zip has the switch "eraseonflash:1" set and that erases carrier and leaves it without file system. Hence TWRP can't mount it. On boot, it will be reformatted but be empty. That's why the reprovisioning when you restore an already set up backup.

[UPDATE 3]

As it happens, I re-tested the NoWipe and up came the "New SIM - please reboot" dialogue after flashing NoWipe and booting.

Dunno why /carrier gets messed up on NoWipe. The command in android-info wasn't even set. Bit of a mystery. But since its not a big deal I am not gonna stress about this. Just don't report it. I know already.

[UPDATE 4]

Oh and just for the fun of it - we had a little debate over at Team Venom's home chat, on how to forcibly reboot the HTC 10 and someone called out: "Video or it didn't happen!" when I said its just Power+VolDown and it will reboot....

[YOUTUBE]B4G5Jj1y720[/YOUTUBE]

[UPDATE 5]

After much back and forth with all those involved with this, I have decided to remove the "FullStock" option.

This is in respect of latest changes to Android Security.

It appears now, that a valid and clean strategy for erasing the entire phone would be to run a RUU from HTC.

I am aware that other then the US carriers, the global customers have no official way to obtain RUU's. So to some extent, HTC and Google have closed yet another alternative path to achieve certain things.

To me, this feels like giving up a little bit, but on the other hand, we can also applaud Google for implementing better device security and HTC for accepting this.

So, during the coming weeks, I will re-think my approach and rewrite parts of this Guide to reflect this change. For now, please heed the warnings regarding verity. If you absolutely need a full stock wipe zip, you can flash the existing but remove boot.img before you do. Or find the corresponding stock systemimage and flash that before using the FullStock.

Thanks for understanding.