yashsingh1/xdaforums huggingface dataset:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
Well clearly something is going on with your device? Did I miss your recovery log?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] remix92:
i don't rooted my phone.

is maybe this the problem ?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
I'm not replying to anymore of your posts until you post a recovery log.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
Next time, please just attach the file, or use a paste website. At the very least, use code & hide tags as I did above.

Just from looking at the first line of the log, I see the problem - update your TWRP to the latest.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] remix92:
3.0.2-1 is not the latest ?

i twrp Homepage there is shown as letest version 3.0.2-0
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
The FAQ tells you what version you should be using. The OP also explains what the last digit in the version number means. Please read these things, and then go to the Download page on the TWRP website and install the latest version of TWRP for this device. That will solve your issue. I will not be replying further to you about this.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nkk71:
There's even an announcement at the top of every page of the thread ;)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] remix92:
thank you very much :)

everything worked fine :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] guyverzero:
You're right, in my head it related due to twrp flashing due to the faq in second post dealing with with such questions, sorry. Will ask in more appropriate places
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] TomF1979:
[MENTION=1162986]Captain_Throwback[/MENTION]

One question for better understanding.

When I now change my system from read only to read and write to change some system files what I have to do to come back to original to receive OTA?

Is the right way to backup system_image and boot and stock recovery or other things to become again read only?

Best Regards

Tom
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Gandalforce:
Changelog for 3.0.2-4 ?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Stephen:
You cant backup stock recovery, that would have to be pulled from an RUU or ota image. You can install TWRP then backup stock system and boot image.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
http://xdaforums.com/htc-10/development/recovery-twrp-touch-recovery-t3358139/post66946485
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nkk71:
in other words (sounds much better :P ) :

Changelog:

Updated to newly released kernel source code

get rid of the remaining bugs

mouse cursor

reboot to recovery (from within TWRP)

[*]other minor blarfs to blarps

Working HTC Decryption

"3.0.2-4 now available from the official TWRP download site". enjoy,

and thank Captain_Throwback for putting so much effort into all these HTC devices!! :good::good:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
<something else> = reboot recovery not working ;)

Thanks for the "proper" changelog :). I probably should add one somewhere
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nkk71:
updated :)

had to add my "friends": blarp and his cousin blarf in there :p
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] CrazyCypher:
Hello, could anyone point me in the right direction.. I have TWRP installed and I backed up everything up with it. Now when new update comes and I want to install it, do I have to restore system or system image or both?

Also may I ask if there is any way for me to extract my stock recovery from the backup so I can flash the img before the OTA?

Thank you very much for answers, I appreciate it.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] yldlj:
Read faq on 1st page
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] CrazyCypher:
Thanks. So if I understan correctly I cannot get my stock recovery .img file, but I can rename the stock recovery.img file found on the forum to recovery.emmc.win and also restore it with system image?

And after that perform ota?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
How do you have a backup of stock recovery? Did you flash TWRP to your boot partition?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] CrazyCypher:
I dont have a backup of stock recovery, but there are stock .img files here in xda forums of the stock recoveries... It will be less problems if I just restore system image and then cmd flash stock recovery img file I downloaded correct? :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
It would probably be easier, yes.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Jaytronics95:
I can't unlock my phone after restoring a TWRP backup.

I am using TWRP 3.0.2-4 on an HTC 10 with an SD card installed and formatted as internal storage. I have the phone security set to require a pin at boot up and a fingerprint any other time it is locked.

I booted into TWRP and created a backup. To verify that the backup would work, while still in TWRP, I performed a standard wipe and then restored the backup I had just made. The restore process went through without a hitch. All MD5 checks passed and the restore completed successfully. I then selected reboot system. The phone rebooted, everything looked fine, it came up to the lock screen requiring my pin. Every time I enter my pin it says incorrect pin try again. It would appear that the pin has been scrambled.

Please help.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Behold_this:
Post 2, #10
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jollywhitefoot:
Sometimes I wonder why [MENTION=1162986]Captain_Throwback[/MENTION] even bothers to maintain this comprehensive and incredibly useful FAQ
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Jaytronics95:
Thank you [MENTION=4174733]Behold_this[/MENTION] for the helpful response. I had read the FAQ early last month when I first got my HTC 10. I did not realize it had been updated with new information.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
Always

check the FAQ before asking a question, for this very reason. I don't maintain it for my health :rolleyes:.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
3.0.2-5 now available for download on twrp.me.

Device-specific change log added to the bottom of the FAQ Post #2.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jollywhitefoot:
What's new in this version?

:)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] SacredDeviL666:
hehe its there in post 2 towards the end of FAQ as he'd mentioned :p

3.0.2-5:

-Update recovery kernel to 1.80.617.1 HTC Dev source

-Remove unnecessary dtbs to reduce recovery image size by more than half
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jollywhitefoot:
Thanks. I was joking.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] thenags:
I'm unable to make a backup since updating to the brand new one. Attaching an image and log.

https://docs.google.com/document/d/1hoVaNaYFu7Jl1Aw2-O4Gml2ekV570gxbt17dSt8cZGI/edit?usp=drive_web
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] afuller42:
nice work on new version. half the size great
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] mrshades812:
I just tested the new version out. Backed up everything in 270 seconds. All good here for me.

I'm on the latest firmware, s-off and have encryption disabled.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] michaelbsheldon:
new TWRP for HTC 10 (June) supports decryption

..
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
:confused:

Why are you repeating what's in the OP?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] thenags:
Is it safe to flash the previous version from the latest version?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] PG101:
Backups from 3.0.2.4 can be restored on the new one?

______________

PG101

RC-RT Liaison / Senior Moderator
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
Not sure why it would matter which version you're flashing....I see no reason it shouldn't work. Best bet is to try it and see what happens.

There was no change to the TWRP base, just a couple a device-specific changes. If there's a change that makes previous backups incompatible, be assured that it will be mentioned somewhere.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] thenags:
Just cause I'm unable to perform a backup in .5. I did a full backup in .4, I then flashed .5. I rebooted into recovery and then tried to do another backup in .5 and now it fails. Only thing that changed in that 10 minute period was flashing .5.

---------- Post added at 09:01 AM ---------- Previous post was at 08:58 AM ----------

Whoops, didn't see this yesterday. I just looked and don't have that directory it mentions at all - '/system/app/CalendarGoogle'
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Giblet-dono:
[MENTION=1162986]Captain_Throwback[/MENTION] [MENTION=2605798]nkk71[/MENTION]

Loved using Multirom on my M8, is there a multirom in the works for the HTC 10?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
Wrong thread. You should probably start a thread about this topic if you want to discuss it, but there won't be anything MultiROM related posted in this thread.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Giblet-dono:
Not really trying to discuss anything.. Just a simple question with probably a simple answer (yes or no) that you could have also replied instead of "open a topic"

I mean.. really? I should open a topic to ask you and nkk71 if you are working on it? that's going to be a silly thread..

smh..
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nkk71:
Not

yet

:o
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
Hey! Keep it on topic.....:p
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] DarkRazorZ:
I have a Japanese HTC 10 and I get the error "failed to boot to recovery". Is this model not supported by TWRP? (HTV32 CID KDDI_801). I was told it would via the guys who made the S-OFF method I am trying.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
I have no idea.

Does version -4 work?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] DarkRazorZ:
Just gave it a shot and it actually does, thank you! -5, 3.0.1 and 3.0.2 were the ones I tried. Those do not work.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
Looks like I need to add those missing dtbs back to the build after all....:rolleyes:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] DarkRazorZ:
I do have a question though, maybe you can help. I made the mistake of making a backup but S-OFFing without saving that backup. Now I get the "Encyption/data corrupted" error. AFAIK, there's no OTA's or RUU's for this device. Is there any way around this?

Edit: Do you suppose converting it to WWE with a RUU would fix it without posing any issues?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] pablo11:
Nvm
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] frank93:
So .. using a HTC 10, international (german) version, unlocked & S-Off, and had TWRP 3.0.2-4 installed from the beginning as described in the HTC 10 thread. Working just fine.

I updated my firmware today using the NoWipe-ZIP, now TWRP tells me that it had "Failed to mount '/preload' (Invalid argument)" when doing a full backup. The backup itself seems to run just fine afterwards (except maybe the displayed filesize, see below), it’s just that I’m a bit irritated by those (5x) red warning messages. I updated to TWRP 3.0.2-5 then, no difference here.

Data successfully decrypted, new block device: '/dev/block/dm-0'

Updating partition details...

Failed to mount '/preload' (Invalid argument)

...done

Successfully decrypted with default password.

Updating partition details...

Failed to mount '/preload' (Invalid argument)

...done

Full SELinux support ist present.

MTP enabled

Updating partition details...

Failed to mount '/preload' (Invalid argument)

...done

Updating partition details...

Failed to mount '/preload' (Invalid argument)

...done

Updating partition details...

Failed to mount '/preload' (Invalid argument)

...done

* Total number of partitions to back up: 5

* Total size of all data: 10326MB

* Available space: 43263MB

[BACKUP STARTED]

(...)

[5321 MB TOTAL BACKED UP]

Updating partition details...

Failed to mount '/preload' (Invalid argument)

...done

What exactly does that mean, what did I do wrong, how can I fix this, should I even care about fixing this as everything at least seems to be working just as before? :)

Thanks in advance everyone!!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
Just ignore it if everything is working fine.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] frank93:
thanks, will do.

(apparently this is caused by flashing the firmware indeed, as i found out .. afterwards.)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
[MENTION=4548746]DarkRazorZ[/MENTION]

Please try this version and let me know if it works for you. If it does, I'll push a new version with support for your variant. Apparently there's no kernel source released on HTC Dev for the Japan version, and the dtbs for it aren't included in any of the other source :confused:. Good job, HTC :eek:.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] DarkRazorZ:
You'll have to give me about a week as I made some fatal mistakes and bricked the download mode on my phone. No RUUs available so I decided to send it in for repairs. My provider didn't seem to mind the bootloader was unlocked or the phone was S-OFF and did it for free as it's a new phone. So I'll get back to you then. I'll remember to be more careful next time, haha.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] JEANRIVERA:
i remember we had the issue on M8 abou taking to long to load TWRP from splash, and it looks like the issue is back on the HTC 10 if I remember correctly you were the one who fix it on M8, i can't speak about M9 cuz I never got one of those but my TWRP takes more than 5 seconds to actually load TWRP from TWRP splash is it normal?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
There is no issue. It's decrypting the phone while you see the splash, so yes, it's normal.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] vettejock99:
Just wanted to follow to on my posts about temps a few weeks ago. Running 3.02-5 and 1.80 now my recovery runs WAY cooler when backing up or restoring. It's usually around 45 vs 55+ prior.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] vettejock99:
So I've started doing encrypted backups and I did one with Venom that failed at 99% but it worked on the second try. I've since installed LeeDroid and I've tried twice and it's hanging at 99% (of MB, though % of files shows 104%). Anyone know why it is hanging and how to fix it (besides not doing password-protected backups)?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Robert's PDA:
Hey Captain, was wondering if you could explain to me what the different areas contain, what exactly are in those areas? What I mean is, in TWRP backup there are 6 areas: System, System Image, Cache, Data, Boot, & Recovery. Can you give me breakdown of exactly what is being backed up when I choose a particular area. Also I think I read somewhere that since the Data area is encrypted we can't back it up or restore it, if this is true then how would a full backup of the phone work?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nkk71:
You'll need to provide/look at the logs for more detailed information. Otherwise it's just going to be guessing.

Though after the backup (with progress info) there is a moment when it calculates MD5 (no progress there, until it finishes calculating the hash) which could seem as hung, but it's not.

System vs System Image is covered in the FAQs.

Cache is the cache partition.

Boot is the boot.img (kernel and stuff).

Recovery is the recovery partition (in your case probably TWRP).

Data is "a part of Internal Storage" (ie downloaded apps, settings, etc. less /data/media/ aka your virtual sdcard)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Robert's PDA:
Thanks nkk. Then I guess I won't be using "System Image". So basically when I do a backup all I REALLY need is System & Data? What I'm doing right now is I want to do a fresh install of Viper10, set up all the Venom Tweaks & set the basic system up like I want then back it up so I can come back to a "Starting Point" if something goes wrong (or just do a full wipe & clean flash the ROM then do a restore of "Data". In a scenario like that I'm thinking just "System & Data", & when I have the phone fully set up with all my apps & stuff then do a "Full" backup of everything. How does that sound to you?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
I've actually seen this bug, and the log is completely unhelpful :(.

P.S. Congrats on the fancy new title!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jollywhitefoot:
If you're looking to keep your backup light, you can really get by with only backing up data. For system and boot, you can just re-flash the rom. The only downside here is that you will need to re-select any system tweaks that aren't set in Aroma
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Lurien:
How do I go from TWRP 3.0.2-4 to 3.0.2-5 correctly?? Thanks...
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] SacredDeviL666:
its in OP.... http://xdaforums.com/showpost.php?p=66347156&postcount=1
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] vettejock99:
Good info. I'm 90% sure I disabled md5 generation. I gave it 20 minutes or more, too, so it was definitely hung. Works fine when I disabled encryption. I'll look at trying again after my faster card arrives.

Sent from my HTC 10
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nkk71:
Restoring data is just a dirty flash, because it also restores system settings. If you need to restore user apps+settings after a clean flash use something like Titanium Backup.

And in general, the minimum would be system + boot.img... Incompatible boot.img for the system (ROM) will likely lead to non booting ROM.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nkk71:
Thank you :)

I've only seen the backup (non encrypted) go past, the "correct" MB count, so can't really say.

But iirc there was a certain part of the code, which was using

"backup size = size of storage - free space"

Which isn't entirely accurate ;)

Not sure that's the issue, but *could* be
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] DarkRazorZ:
Sorry for the late reply, was waiting on my phone to get back, but this version does in fact work. Thank you!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] atuladhikari:
Created 2016-04-13

Last Updated 2016-06-22[/QUOTE]

Getting an error

"Failed to boot to recovery mode

Please volume up or down to back to menu

---------- Post added at 01:00 PM ---------- Previous post was at 12:47 PM ----------

Having the same error on the Indian Version. The twrp-3.0.1-0 doesn't work too :(
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
I don't think the Indian version is the same device. This recovery only applies to the HTC 10, not the HTC 10 Lifestyle.

Please post the output of "fastboot getvar all" from download mode.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] atuladhikari:
C:\Users\Administrator\Desktop\HTC 10\fastboot-win>fastboot getvar all

(bootloader) kernel: lk

(bootloader) product: htc_pmec2tuhl

(bootloader) version: 1.0

(bootloader) imei: MOD EDIT

(bootloader) version-main: 1.16.400.3

(bootloader) boot-mode: download

(bootloader) version-baseband: 1.0.U130.1@60325G

(bootloader) version-bootloader: 1.0.0.0000

(bootloader) mid: 2PS630000

(bootloader) cid: HTC__060
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
Just as I suspected. This recovery won't work for you, as your device is different.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] atuladhikari:
So basically i'm screwed
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] raimondomartire:
[MENTION=1162986]Captain_Throwback[/MENTION] Dude I've build twrp for zuk z2 pro. Also this device have problem with mouse on center on screen. CAn you explain me how you have solved in HTC recovery. I don't find commit where you solve this problem. Thanks in advance
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Behold_this:
He would give you the details, but if I may, he fixed it once HTC released the kernel source perhaps you have incompatible or incomplete source that you built your recovery off of.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
https://github.com/CaptainThrowback...mmit/883934147586dcc76f0b669f3d33312471dae1f2
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] guidogsbn:
This excellent developer is really helping wherever/whenever he can ( for example: HTC M8 dugl). I noticed that for years but I´m surprised again each time he does it again. Great man:good::good::good::good:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Stephen:
Moderator information,

I have edited and removed the IMEI from your post. It's is not a good idea to post this as it is personal information and should not be shared online
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] max4wdc:
i bought htc 10 and it's coming to me tomorrow i hope so before i had nexus 6p anyway with latest twrp 3.0.2-5 i can enter my password for decryption in twrp ? before in the some video u guys advise we must cancel it ... , and with this update now i can backup my device to my internal storage or still i need sd card for backup ?! of cousre i'll test it my self when my device arrive .

thank u .
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nkk71:
Well, yes and no.

TWRP is now able to decrypt HTC based encryption,

but

anytime your "phone state" changes (ie from locked bootloader to unlocked and vice versa, or from S-ON to S-OFF and vice versa), it will mess with the decryption hash, and you will have to format data in twrp and let the device reencrypt

you can read those, they should give you an idea:

http://xdaforums.com/htc-10/how-to/guide-root-optionally-s-off-radio-t3373025

http://xdaforums.com/showpost.php?p=66837323&postcount=189

http://xdaforums.com/showpost.php?p=66852807&postcount=202
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] max4wdc:
okay good it's not a problem for me so by decryption data my signal not broken at this time right ?

thank you for great replay :x
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nkk71:
depends on the ROM, I believe most custom ROMs now allow you to run unencrypted, but after changing your phone state (unlocked bootloader, s-off, etc), you can format data in twrp, then boot up your ROM (and provided force-encrypt flag is still set), it will re-encrypt your data partition properly, which TWRP can now handle
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] max4wdc:
my device is in my hand now and i tested my self on stock rom and it's okay and work without any problem (now rooted and xposed installed (signal works too))

thanks
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] lordmago:
Number 6 version working good since 28/06! :good:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] dilipsreshta:
HTC 10

Hi,

I am getting error after i updated to 1.90.401.3.

TWRP says can not mount reload partition

Dilip
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
Ignore it.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] dilipsreshta:
Can I ask should I ignore?

I am curious

Dilip