yashsingh1/xdaforums huggingface dataset:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nuts77:
Oh OK. That's why...

Well thanks for clearing things. I assumed since the apks appeared in the priv-app folder, the system partition was mounted correctly.

If I update the scripts with the commands you give in post #3 will it work then ?

Or should I just forget it ?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
Well, it does appear the apps are there...but if you're not rooted, then that's why they're not showing up. The signature of those apps won't match the signature of the other system apps. So your issue actually has nothing to do with the updater-scripts at all, and is actually related to SELinux. You'll have to root of you want them to work, because root patches sepolicy.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] GROOVYJOSHCLARK:
Yes that exact same thing happened to me when I was running unencrypted. I could reproduce the issue without fail by trying with encryption and then without. As soon as I tried a ROM that enforced encryption, all was good.

sent from my HTC 10 running AOSP
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nuts77:
Thanks for that ! I was thinking it had to deal with encryption but couldn't figure out why the apks appeared in /system/priv-app anyhow...

I flashed supersu, rebooted and boom, there were the apps, all fresh & new.

Now I guess there must be a way (adb command?) to decrypt the stock ROM without having to flash superSU. Gonna take a look at that !
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] GROOVYJOSHCLARK:
Welcome, and I cant give you the exact reason why this happens as I dont know myself but I can say that once I encrypted my OS and left it encrypted, everything worked out perfectly so I would say to think about leaving encryption in place. You are so far the only other user that has had this issue the same as me so I am glad you posted this, I thought I was going crazy when I reported this a few weeks ago and no one else replied to confirm it was happening to them. I though I was the oddball out.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] sergos1221:
Good afternoon. Please tell me twrp for HTC 10 lifestyle is not expected for Android 7.0 ?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] sergos1221:
Sorry. I use a translator. Do not understand what You said ((
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
Your question should not be posted here. It is unrelated to TWRP for the HTC 10.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Ariac Konrel:
extractTarFork() process ended with ERROR: 255

I've had the "extractTarFork() process ended with ERROR: 255" error for sometime now, it seems to happen randomly on the data partition only.

This has happened on two 128GB SD cards and across two formats (exFAT and FAT32, respectively). The backups rarely work, but when they do it's usually RIGHT after I make them without rebooting.

I looked it up, but the only thing I found was a free space issue. I have over 80GB free on my external (where the backup is) and 13GB free on my internal.

I was hoping someone could shed some light on it.

Recovery.log attached in the ZIP file (the .log was too long by itself).
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] grega_slo:
Same here. Found some files preventing restore, deleted them and then it went fine...
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
Try repairing your Data partition and/or SD Card while in TWRP. You may have some corruption that's breaking tar.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Eliminater74:
I have the same issue as well.. if I restore an old backup from a previoud TWRP Recovery it works.. but when I try restoring from the newer ones, it fails...................
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] JochenP:
Without log, what should captain do?

Gesendet von meinem HTC 10 mit Tapatalk
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Eliminater74:
First, I was agreeing with the others, not complaining..

I fixed the problem my self already..................

So why would I need to go get a log to say I had the same issue as what others had.,
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] gsw5700:
I've given up on restores due to this error, hopefully next version will work, using titanium backup for now ?

---------- Post added at 04:39 PM ---------- Previous post was at 04:38 PM ----------

What files did you have to delete? How did you find them?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ali nz:
Are you teaching a recognized developer what to do?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] JochenP:
Shure [emoji1]
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] GROOVYJOSHCLARK:
This is exactly WHY I only use MM baseband (Sprint) with the older version of TWRP that is official for MM (last official available before N). No issues whatsoever using this setup and I Nandroid alot, but I will have the restore issues if i upgrade to the latest and use N baseband.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Kisakuku:
Wait, what do radios have to do with being able to restore a Nandroid?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] gsw5700:
Nandroid Restore Fails

I did a fresh install a couple of weeks ago, so decided to try again to perform a nandroid restore to see if it works after a fresh install.

Did a hard reset

Performed a full nandroid - all worked

Performed restore - Failed with the usual error, "extractTarFork() process ended with ERROR: 255" at approx 81% (normally fails at 50-60%)

Here is the tail of recovery.log

==> extracting: //data/dalvik-cache/arm64/system@priv-app@Default_IME_Provider@Default_IME_Provider.apk@classes.dex (file size 155032 bytes)

==> extracting: //data/dalvik-cache/arm64/system@priv-app@Telecomm@Telecomm.apk@classes.dex (file size 15818648 bytes)

==> extracting: //data/dalvik-cache/arm64/system@app@RCSBootstraputil@RCSBootstraputil.apk@classes.dex (file size 163360 bytes)

==> extracting: //data/dalvik-cache/arm64/system@priv-app@GooglePackageInstaller@GooglePackageInstaller.apk@classes.dex (file size 5298448 bytes)

==> extracting: //data/dalvik-cache/arm64/system@priv-app@ProxyHandler@ProxyHandler.apk@classes.dex (file size 55248 bytes)

I:Unable to extract tar archive '/external_sd/TWRP/BACKUPS/FA64TBN00140/12apr2017/data.ext4.win002'

Error during restore process.

I:Error extracting '/external_sd/TWRP/BACKUPS/FA64TBN00140/12apr2017/data.ext4.win002' in thread ID 0

I:Error extracting split archive.

Error during restore process.

extractTarFork() process ended with ERROR: 255

I:Set page: 'action_complete'

I have the recovery.log for both the backup and restore operations

Please let me know if you need these and if I need to do any data masking (for security)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] GROOVYJOSHCLARK:
Doesn't at all, not one bit. I was saying BASE as in kernel OS base (official RUU using MM --NOT-- Nougat with the last official MM TWRP available before N) not baseBAND as in modemst1/2 modems/radios. Sorry, I should have clarified that better. Wasn't my best posting etiquette, sorry about that.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tabp0le:
Try doing this:

Restore system/boot ONLY

Boot your device one time fully

Go back to TWRP and restore data ONLY

I've had this work for that issue before.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] GROOVYJOSHCLARK:
Tabp0le, I tried that as well but still failed on data with the fork error even if I wiped and formatted /data prior to restoring. It happens either way with formatting /data and not formatting /data when I was using the latest official TWRP on N using your RR. It would backup fine, but always fail on restoring the data in the Nandroid.

It works fine for me using MM and the older TWRP, I only use your RR AOSP so I have no complaints but trying to help with this issue. I am not reporting bugs or issues, just user experience with N and this exact issue. I have a fully working workaround so not complaining at all, using the older version of TWRP MM versions works flawlessly for me.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] yldlj:
Yep had the same error trying to restore a nandroid last night. Had to clean install ROM.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Eliminater74:
What I did to fix the problem, is what this man here said to do.. but remember, I formatted data as well as wipe and I did what Capt said to do, try repair file system..

I tried to reboot recovery and it booted the rom instead, I let it go all the way to setup screen, then reboot into recovery, I think I wiped data a few more times, maybe even formatted it again,

but restoring worked..

This is the problem I see, When I was on my LG, LG is well known for destroying data when you goto recovery... long story, anyhow, it doesnt seem to fix it self till you reboot fully and it formats or creates or what data..

you cant seem to do crap into data till you reboot.. once the device gets data working, then you can use twrp and restore and whatever back with no issues..

It looks like the same issue here.......... I can live with it.. its not like everyday I restore a backup.. I rather reboot and get data back in order then to reinstall whole rom.. So

its no biggie for me.............

I am well used to LG's BS in recovery, so HTC's is still a walk in the park compared to LG...............

I also, do not run anything encrypted, which I have no need for ,,,,,,,
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] gsw5700:
Think I've wasted lots of time setting phone up from scratch. Couldn't I have just restored system from TWRP then used Titanium Backup to restore from the data partition backup?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Eliminater74:
yes you can do that.. you can also boot after that restore then reboot to recovery and then restore data.. that should work.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] GROOVYJOSHCLARK:
Wait, are you saying/asking if you can use TiB to restore from the /data backup contained IN a Nandroid (with no previous TiB backup taken and stored separately) or are you saying you will restore the /system from the Nandroid THEN use TiB to restore FROM previously backed up apps WHILE in a running OS? If you are doing the former, good luck with that, not even sure how that would be possible so please share the details, the latter will work but it wont be perfect. I restore data from TiB all the time but not for apps that are SSO (single sign on) from the system as it is actually integrated into the /data /system partitions as its configured so it gets funky.

Please elaborate as either I am mistaken and misunderstood the question or you are trying to do something really interesting and I would like more info.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] juan234:
TWRP not PIN Pattern

Hi, sorry if this is the wrong spot for this. I received my HTC 10 did an OTA update to 2.41.401.3, then I unlocked the bootloader thur the HTC website. I installed TWRP to the lastest version worked fine. Then installed Leedroid lastest version that worked fine. I decided I wanted to try the newest version of LineageOS. Everything seemed to install fine. When I rebooted the phone boots to TWRP recovery and asks for a PIN PATTERN. I never set one now I am unable to mount wipe or install anything else just a locked phone. Anyone have ideas about this?? Brand new phone. Thanks in advance
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
Guess you didn't read this before installing Lineage: https://wiki.lineageos.org/devices/pme/install
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] juan234:
No I didn't...Thank you for the information!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] gsw5700:
What I'm asking is, armed with a full nandroid backup and TB backups, if i need to restore, would it be quicker to restore the system partition, then restore all apps using TB... I think this would mean far less time needed to get the phone setup as i wouldn't have to manually setup everything from scratch. Hoping that this is a temporary workaround until TWRP is fixed
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] GROOVYJOSHCLARK:
You could but I still think you will run into issues and would be better off just going through the settings of a fresh build/install than restoring the /system partition then restoring TiB for all apps. This is how I build a new device, I fresh install then configure the system then restore my game progress, this is how I save my progress through multiple OS's, I use TiB all the time for games. This is the cleanest method and the least amount of risk for FC's which I can almost assure you will have as the /system restored and not freshly installed. It should technically work but again, I wouldn't recommend it when it will only take maybe 30 minutes tops to install and configure a fresh system (at least that is the most it takes me and I go through and configure almost every setting in the system app to the exact way I like it). This is quicker in my opinion then restoring /system and more time to restore TiB apps. This is all of course my preferences and all my personal opinions so you may have better luck but I can say without doubt that I have been doing this and Android development since ICS so I have tried basically all scenarios over the years.

What I do instead of dealing with the headaches you are having is to still use MM with the last official TWRP released for MM. This works 100% of the time and without fail, every time. There is never an issue and I Nandroid and restore at least once a day (sometimes multiple times a day). I test all aspects of everything Android (AOSP development) so I am constantly breaking my devices so I always have a good, solid Nandroid of my daily runner to revert to at any given time. I do this so I can learn what will work and what will not work and how to fix it if it happens to other users, this is why I was so curious of your question. If what I understood you were trying to do was impossible as far as I know but I was really curious to see if there was something out there I didnt know, like what you were saying.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] new_disaster:
HELP

My htc 10 is US Unlocked with latest software 2.46.617.2 (S-OFF)

I just installed twrp 3.1.0-1, i wanna flash latest viperRom but after flash i press reboot and stuck there. It won't reboot, i'm waiting 30 minutes but it's still stuck.

I tried 4 times with different rom but still the same.

What's the problem?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Black-FR:
Please try twrp 3.1.0-0, and if possible, grab first the logs, according to posting 1/2 of the thread, while using twrp 3.1.0-1 so that the Devs could take a look at them.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] :
Hey, I've used this with no problem for a while, but I did a clean install of my rom, but TWRP wants a passwrod to decrpyt data, no passwords work, and I even formatted my data to remove encryption but it still wants that password. Not sure what to do
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] sdamark:
Maybe start with the Frequently Asked Questions in the second post :good:

Specifically #10
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] :
not exactly the issue i had since i didn't restore anything, unless i've misunderstood what I read, or misrepresented my issue in my first post, regardless of that

ive managed to fix the issue though by other means
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fullydeveloped:
After installing the latest RUU and restoring my Viper rom nandroid with the latest TWRP, the phone displays a "Your phone is encrypted." screen at boot. I'm able to use my lockscreen password just fine, but any ideas as to why this just started showing up? My sdcard has always supposedly been encrypted, but I never used to get this screen.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fullydeveloped:
I didn't wipe system, data, and boot partitions before the restore, or clear the cache after. I wonder if either of these made a difference?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Debizzle:
Guys please dont grill me because its probably simple!!! Ok so right now im S-on, bootloader unlocked, rooted and phone is saying I can upgrade via OTA. What are the proper procedures for upgrading, being I currently have TWRP as my recovery of course. Now im not a total noob it just when when I tried to flash a stock recovery, then try and upgrade it would get through to like 24% and then the red exclamation. This last upgrade i ended up doing the RUU but i dont dont want to do that this time with this update.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] xunholyx:
This isn't the place to post a question like this. Go to this forum and search for a solution, and if you don't find one start a new thread there.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Pori12:
Hi,

I'm on HTC 10 S-ON, bootloader open, Nougat.

I fastboot flash latest TWRP img, seems everything all right. Then I jump to bootloader, select to enter recovery, and TWRP doesn't start, I get back to bootloader. Tried to flash TWRP again 2x, no success. I can not start TWRP at all.

Edit: Digging this forum I found hint to use "unofficial" for Nougat. I flashed 3.0.3-11_UNOFFICIAL but it also didn't work.

Anyone could help me please? Thanks in advance!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Zoandroid:
Did you check the MD5 of the TWRP installer when you downloaded it? Might have been a bad download.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jocarog:
You can flash the "Official" TWRP thru the app, maybe that will work if you can boot normally...
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] bluedimensional123:
hey,

i hope this is a good place for this. let me know. I posted in Viper thread but I also am here because of I'm having trouble restoring to system image. Read on below...

i have Viper10 4.4.0, and i have a 128gb MicroSD card as internal storage. Well this card just bit the dust, i lost everything on it. That's ok cus it was backed up, but I am still having problems, so i am guessing the Viper ROM / system doesnt like that the card is gone. it's corrupted i suppose.*

Before i bought a replacement card, i tried using my camera. "please insert an SD card" - so it couldnt adapt to the card being gone? there were other similar things but thats a good example. So i bought another card, class 3, so its fast. i formatted it as internal storage, and still got the same message in the camera!

So i thought it must be time to restore TWRP that system image i made while back. i pasted my backup onto the SD card, went to TWRP to restore, and TWRP didn't even see any files on the card. So, i reformatted to removable storage, pasted, went to TWRP. did restore > my system backup. It said "select partition" but it didnt allow me to select anything, nor did it initially show anything selected. so the backup initiates but stops and complains "no partition selected."

can you advise me at all? is the system image restore what i need to do, and if so, what do i do about the partition selection?

thanks!

ben

---------- Post added at 05:38 PM ---------- Previous post was at 05:35 PM ----------

Another example of what's happening since this microSD card went bad: I can't download anything from Chrome - whether I have no card in, my new card as internal storage, or my new card as removable storage.

Maybe that helps shed any light.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Pori12:
Sure, I did check. It matched!

Additional info of the phone:

kernel: lk

product: htc_pmec2tuhl

version: 1.0

max-download-size: 1151200000

version-main: 2.22.401.3

version-baseband: 1.0.U20015.2@61110G

version-bootloader: 1.0.0.0000

mid: 2PS630000

cid: HTC__J15

---------- Post added at 04:58 PM ---------- Previous post was at 04:42 PM ----------

Thx, but I have no root ATM. App flash requires root as I know.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Kisakuku:
You're not in the right forum. This recovery is for HTC 10, you have an HTC 10 Lifestyle, a different device.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Pori12:
Are you sure? In this case I have a brick now! :mad:

No recovery works and I can not boot to system either.....
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Kisakuku:
Yes, I'm sure:

You're not bricked. If you want TWRP for HTC 10 Lifestlye or an RUU to get you back to full stock, post in Q&A and tag me.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Pori12:
Thank you! I started over HERE.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Apollonit:
Hi, I flashed twrp but when I boot into my recovery it just shows the HTC logo with red font under it and it reboots like normal. How do I fix this?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Debizzle:
Try flashing it again. Boot to recovery while in the bootloader menu.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Kongtoast:
I got the same problem, flashed multiple times but still won't boot into twrp.. What could cause this?

---------- Post added at 02:29 PM ---------- Previous post was at 01:44 PM ----------

I fixed by using unofficial twrp.. :D https://xdaforums.com/devdb/project/?id=14825#downloads
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
That's not a solution. Need more details to help troubleshoot. There's no reason anyone should still be using an "UNOFFICIAL" version. They're all built from the exact same source.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Zoandroid:
Make sure to verify your TWRP download using its MD5 file. You may have a corrupt download, which likely won't ever install correctly.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] mybnr34:
I have a problem with my TWRP. I installed it succesfully load it after the HTC logo and red warning. But the screen menu did not recognize my touch, the screen is simply unresponsive. It doesn't hang, but I can't click or slide to anything. What could be wrong? I tried 2,3 versions of TWRP and the results is the same. I'm on Nougat. Thank you.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] EVOuser94:
Did you use Captain's unofficial twrp for HTC 10 which is located in the download section of this post. If you can't see it open this post in browser
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Magnum_Enforcer:
No need to use the unofficial versions any more. The latest official builds work fine.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] mybnr34:
I tried both version. Unofficial and the latest builds, but still no luck.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] sdamark:
Log...
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] cnat:
Quick question: my phone's running twrp 3.0.2-6 and whenever I try to update my rom it asks me for a password to decrypt (I didn't set a password). If I flash the newest twrp (3.1.0) from my pc, it should solve this problem, right? I haven't updated in a while because I'm just too paranoid about wiping/ bricking my phone, and this encryption thing is spooking me.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Magnum_Enforcer:
You should update to the latest official TWRP. The FAQ at the beginning of this thread should answer the rest of your questions, however.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] cnat:
Thanks! When I flash the latest TWRP, it won't wipe my memory, right?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Magnum_Enforcer:
No.
[About XDA developers] v:
Hi,

from my own statistics on my webpage I know that more than 50% of the visitors of my websites have a screen width of 1024 pixels.

It's very annoying to have to scroll to the very right in order to log in

after having landed on www.xda-developers.com.

I think many people w/ "last years" Notebooks would appreciate

a 1024 screen or at least a login-box on the left.

No big deal for the admin. But very convenient for the "1024"-bunch out there.

Thanks for considering ;-)

v