yashsingh1/xdaforums huggingface dataset:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nkk71:
No offence intended, but those two posts are of as little help as can be.

Just to make it a bit clearer (all times are local my time):

at 9:25 [MENTION=2543015]cajunflavoredbob[/MENTION] posted a

full log

with a problem

around noon I was able to look through the logs, and see where the problem was

at 22:42 [MENTION=3359646]munkyvirus[/MENTION] confirmed it was a problem

at 22:56 Captain_Throwback, confirmed that there's already a build in progress

etc.

Seriously, can we stop with those "it doesn't work" posts :rolleyes:

If you want to report a problem / issue / bug, please have the courtesy of doing so properly.

Personally, I think we've shown quite a lot of commitment to solving problems, so repay in kind, and provide the needed information.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] cajunflavoredbob:
I don't know about that. I mean, 12 hours for a solution is a pretty long time for free software, man. /s
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nkk71:
Well, it was more like 24 hours, but without your initial log, it may not have happened at all ;)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] cajunflavoredbob:
Yea, and I actually dropped the ball there. I noticed it originally with 3.0.3-3, but I was swamped with work, so I just stayed with 3.0.3-0. I tried 3.0.3-6 when that was released too, with the same issue, so I still wasn't able to grab a log and spend time troubleshooting. Last night was my first bit of free time, and I was surprised that no one had mentioned it yet.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nobrain3000:
Had the same problem last week. I think it happens when you have an old SDcard. Changed my SDcard to a new one and the error 255 was gone. Now it works without problems backup and restore.

Gesendet von meinem HTC 10 mit Tapatalk
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] mlodykaras:
Damn guys I need some help. I mean maybe just a hint if this is reversible. I was still on twrp 3.0.3-0 . I was curious to try LineageOS build so I created a backup then wiped and formated data. Then after an hour of trying things with LinOS 14.1 I decided to go back to Viper but.... while restoring I get that extract error 255 or 250 ... dont remember now correctly. Is there any way to get out of this or do I have to do clean install now? :(((

Update:

updated twrp to the 3.0.3-9 and restoring data works!!! Will let You know later if everything will be ok :) Thank You :)

Update 2

Yeah! Everything works! Well after formatting data phone feels even faster than before! Nice! Haha
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Zoandroid:
Thanks for the nicely detailed explanation. :)

I have never gotten into the advanced calling features like wifi calling and such. Out here we are lucky just to get 3G. :D However, as I am about to explain, I like things that give me more advantage in recovering from problems. So I guess I'll just keep the system images from those older nandroids.

Weekly backups. Well, it's like this. I may seem crazy, but in the past, going back very far beyond the birth of Android OS, through Windows Mobile and Palm OS, (and even back to Windows 3.1) I got totally sick and tired of having a fully working PC or PDA (later, smartphone) one minute, and a brick the next, simply because some crappy SD card decided to throw a hissy on a portable device, or because Windows would.........well..........be Windows, after all. I've seen countless SD cards just suddenly die.

So, after spending FAR too many whole weekends over the decades, having to totally rebuild my technology over and over and over again, I concocted a master plan. It began with a nifty utility called Drive Image, and later, when Android came along and freed me from the utter hell of Palm OS and Windows Mobile, came the ability to root my Android devices so I can make nandroid backups, and use TIBU.

With drive image, I could FORMAT a hard drive, and have a fully operational Windows OS restored, WITH APPLICATIONS INSTALLED, up and running again in 12 minutes. Ah, the good old days when a fresh Windows entire installed file set was like 420MB and fit on a CD. Sadly, Drive Image died in a hostile takeover, by those smarmy fatherless demons whose name I shall not utter here. But with Android I have my trusty backups. I've never embraced any kind of "backup" program. Tried tons of them. They all suck. Even had a tape drive on my PC once, back in the day. Lord what an exasperating nightmare that was, to try to access some file in the middle of a backup! And I won't use the cloud for serious backups. I also don't like to have to pick and choose which files to back up "this time". When I make a backup now, it's whole hog. Easy peasy. An entire PC disc partition. Or all of my smartphone. I do a nandroid, copy the internal storage (with the exception of a few folders known to have insanely long path names which will simply STOP the USB file copy process), and the full content of the SD. Once a week, for my phone. That way, I am only a few minutes away from getting my files back up and running , having never lost more than a week of data. And I don't have to be frustrated by having my files stored in some crappy proprietary compressed format that only ONE app can use. With USB3, the files transfer to my PC in a reasonable amount of time. And I can find any file within the set, simply looking for it on my PC.

Is this

total overkill

redundancy? You BETCHA! But I'll NEVER have to worry I can't restore the files quickly. And hard drive space is getting cheaper by the minute. So, that's the gist of it. I'm probably the only one doing such a crazy thing.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] wetxxx:
Hi Did you cut off booting screen with red warnings?

Send by HTC 10
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] mirok:
It have nothing to do with recovery.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] wetxxx:
Ok, but this screen appear when I flash twrp in nougat. In marshmallow 6.0 twrp doesn't do that. Maybe this screen was associated with system status: modified?

Send by HTC 10
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] BodhiBrock:
I went back to. 6
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
Please don't make useless posts in my thread.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] :
I got the same red Text since nougat+twrp its not a problem for me. But yhea it would be great to remove this without s-off.

Htc is change something since 7.0.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Bob in Northern NJ:
Me too! I'm right there with ya! Weekly backups are a norm for me. What with all the rapid fire updates to the Viper ROM, followed by the HUB updates, followed by the Playstore updates, it's just good sense to me to backup weekly. I even have a calendar reminder same day and time every week so I don't forget to do it!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Zoandroid:
Me too. At this stage of retired life, it provides my late Saturday Night activity. :D
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] cajunflavoredbob:
You can schedule TiBu to do backups. I have a "master" backup, and I also have it backing up changes to that every night, and uploading it to cloud storage. I only keep the last two backups locally. It does this all while I sleep. I only bother with a TWRP backup when I'm actually changing out ROMs, so I can simply restore. TiBu is an excellent option for automated backups if you're sticking with the same ROM for a while.

You other comments reminded me of the glory days with my old Wizard and Sable... I still kind of miss WM.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Zoandroid:
I'll look into TIBU's backup abilities. (I already use it for backing up apps and settings, but I've not looked further to see what else it can do). Thanks!

WinMobile was a bit more manageable if I avoided ActiveStync. That utility was a complete nightmare. Coupled with Outlook, those 2 things drove me screaming into the night and I was ecstatic to jump on Android when it came out, and never look back.

With all the features TWRP has, it is kind of surprising they don't offer scheduled nandroid backups. Maybe if their TWRP app catches on. But since it doesn't reference the "unofficial" TWRP releases we use, I removed it as soon as I saw that.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Chezbel:
The red text comes from the firmware and as others have said it has nothing to do with TWRP.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fthiery:
If i'm not mistaken Twrp is a framebuffer app that is run from a dedicated kernel initrd, so timely nandroid backups would imply automatic reboots of your phone, which you might not be happy about when it happens. Moreover since data is encrypted you'd have to enter the password anyway. The reason it can do a proper backup in the first place is also because everything is shut down clean (what you are asking for is a bit like generating a live Norton ghost; you will inevitably have files that are state-related that changed during the backup, rendering it potentially corrupt ).

What sounds possible (but I don't know the specifics) would be some kind of reboot to backup script that would have twrp read some actions from a file somewhere, including decryption password -- on an unencrypted partition obviously -- but that doesn't sound very secure does it :p)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Zoandroid:
Thanks for the interesting description that seems to tell me it is very possible for TWRP to do this. I don't know a lot about programming, so some of your description is above my level of understanding. However, scheduled rebooting is something I already do on my notebook, every night. If I don't do that, I have connection issues with Bluetooth the following day, which only a reboot would fix. So I use a utility to reboot it nighty, when it is not in use. I could do the same with my phone, while I am sleeping.

As far as how to do it in a secure manner, that is beyond me. But an interesting concept. It seems to me, though, since I reboot to recovery from the main home screen anyway, when making my backups, that it ought to be able to be scheduled. TWRP already has the option to generate a backup filename with the date and time embedded. All it would really need from there is some kind of countdown timer. If not interrupted, it would automatically make a backup using previous settings, as it does now, after x minutes from when it started. And I think it also can auto-reboot when the backup is done, but I don't use that feature.

Something for the "unoffical" TWRP chefs to consider. :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Black-FR:
Seems as you didn't understand many parts of the previous posting.

If data is encrypted and secure boot is enabled, then you need to manually enter your pin, so that twrp is able to decrypt data.

Same applies, if you then boot back to system.

There you also need to enter the pin manually, before the boot would complete.

Then there is the pin for the sim card, which needs to be entered and afterwards the unlock pin/pattern of the device.

If you e.g. use the device, for your alarm, then it won't ring in the morning, after it tried to boot to twrp, even if there would be a workaround, to decrypt with custom password, within twrp, as the boot to system won't be completed, until you manually entered the pin....

As suggested by others already... Do your backups manually, as you currently do.

Or use apps like titanium backup, to create scheduled backups of your apps and app data.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Zoandroid:
I did say that some of what you had said was above my level of understanding. But thanks for the details.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] xunholyx:
There was an app (that is still on the Play Store even though it hasn't been updated since 2014) that would make a nandroid while your phone stayed booted. Online Nandroid it is called. It didn't backup to the cloud (as "online" might suggest) but updated while your phone was online/booted. You could schedule auto-backups with it. But like I said, it hasn't been updated since 2014, so I wouldn't even try to use it on Nougat.

It would be nice to get an app that would do that again I guess, but as suggested before, TiBu auto backups is all that you really need.

EDIT: Here's the XDA thread for Online Nandroid: http://xdaforums.com/showthread.php?t=1620255
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Zoandroid:
Interesting that someone was doing that for awhile. Too bad they gave up on it. :) Thanks!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] 5m4r7ph0n36uru:
There's still an App on PlayStore doing updates while booger. I know its a paid feature of the up, but it worked on my devices in the past, and has been updated lately: TWRP Manager

Maybe this is what you're looking for.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Huigie:
Strange, can't get into recovery/TWRP. Unlocked bootloader, installed TWRP, reboot into bootloader, select boot into recovery mode, then I get the htc logo and the red text "this build...blabla and then it boots. What am I doing wrong? Am on Nougat firmware and used twrp-3.0.3-9_UNOFFICIAL-pme.img
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] bluedimensional123:
hey guys,

hope this is a good place for this, its involves TWRP and Viper but primarily TWRP. Viper10 4.4.0

So before any of this, i have the system backup i made with twrp when i first rooted (saved on laptop.) and a few other backups since. What i did recently was update TWRP and i did it either from the TWRP app or from ROM toolbox app. Either way i didn't flash like i normally would. The update is 3.0.2-6. Before i don't remember the version but that it was from april 2016.

What's happened after that is:

i get Mount - decrypt data - enter password upon booting recovery. i didn't get this before, and don't have / don't know password. i hit cancel, then allow system modifications. Then, restore and nothing is there. i have verified via laptop that i still have some backups exactly proper as before. Install is empty as well. If i do keep read only i get the same results.

Why can't i see them? I wanted to update viper, but now i'm unsure what to do so asking for help. i wanna be extra safe. What should my next steps be? what methods?

i'd like to update my viper and be able to see my backups - including if i made one right now - as opposed to restore the system image, but if i can see one i can see them all i suppose. but now , i see none.

thanks

ben
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Black-FR:
Which twrp version did you use and what's your current firmware?

Wild guess, you flashed the official twrp, but are on the N firmware...

You need to flash the latest unofficial twrp 3.0.3-9 from this thread here.

---------- Post added at 06:12 PM ---------- Previous post was at 06:10 PM ----------

You also have to flash the latest unofficial twrp.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Huigie:
Am on Nougat firmware and used twrp-3.0.3-9_UNOFFICIAL-pme.img
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
What device variant? Need all the details to have a chance to help.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Huigie:
I don't know what info to give you. It's a _034...

edit variant:Surf eMMC
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
Please post the output of "fastboot getvar all" and leave out your IMEI & SN. Those are the details I need to see.

P.S. Did you confirm you got a good download?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Huigie:
I did.

C:\HTC\android>fastboot getvar all

(bootloader) version:0.5

(bootloader) ramdump-mode:false

(bootloader) variant:Surf eMMC

(bootloader) secure:yes

(bootloader) version-baseband:

(bootloader) version-bootloader:

(bootloader) max-download-size: 0x20000000

(bootloader) partition-type:cache:ext4

(bootloader) partition-size:cache: 0xe000000

(bootloader) partition-type:userdata:ext4

(bootloader) partition-size:userdata: 0x61e000000

(bootloader) partition-type:system:ext4

(bootloader) partition-size:system: 0xef000000

(bootloader) serialno:

all:

finished. total time: 0.398s
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
From Download mode, please. So you confirmed the MD5 of the image file before flashing?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] bluedimensional123:
i am trying that. when i go install image, it doesnt show any files whatsoever to select. totally empty. zip or image, no files. If i go up a level i can see my folders, but NONE of them show any files, including external_sd, sdcard. if i select storage , theyre all 0MB. this is 3.0.2-6. any ideas?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Huigie:
C:\HTC\android>fastboot getvar all

(bootloader) kernel: lk

(bootloader) product: htc_pmeuhl

(bootloader) version: 1.0

(bootloader) max-download-size: 1579200000

(bootloader) serialno:

(bootloader) current-slot:

(bootloader) imei:

(bootloader) version-main: 2.41.401.4

(bootloader) boot-mode: download

(bootloader) version-baseband: 1.0.U010241a@61226

(bootloader) version-bootloader: 1.0.0.0000

(bootloader) mid: 2PS620000

(bootloader) cid: HTC__034

all:

finished. total time: 0.011s
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] 5m4r7ph0n36uru:
As [MENTION=4637027]Black-FR[/MENTION] said you need the latest unofficial TWRP from download tab of this thread. Reboot the device to download mode and flash TWRP using fastboot commands. You'll be out of look flashing it with 3.2.0-6 as long as the situation is as you described.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
No reason that TWRP shouldn't be working on your device. Try an older version and see if it works. Or try downloading the -9 version and flashing again.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] bluedimensional123:
thank you, that worked!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tcnineteen:
Hi, I can't dirty flash Viper 5.4.0 and 5.5.0 magisk version with 3.0.3-9, but 3.0.3-3 worked perfectly. Not sure what's the problem, so l copied the log below. Thanks!

https://www.dropbox.com/s/f0lzqua9xfesr3k/recovery.log?dl=0
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nkk71:
Doesn't look TWRP related

/data/magisk.img: Duplicate or bad block in use!
/data/magisk.img: Multiply-claimed block(s) in inode 11: 1670
/data/magisk.img: Multiply-claimed block(s) in inode 40: 1670
/data/magisk.img: (There are 2 inodes containing multiply-claimed blocks.)

/data/magisk.img: File /.core/magiskhide/hidelist (inode #11, mod time Mon Feb 20 18:58:34 2017)
has 1 multiply-claimed block(s), shared with 1 file(s):
/data/magisk.img:	... (inode #40, mod time Sun Feb 12 11:13:00 2017)
/data/magisk.img:

/data/magisk.img: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
(i.e., without -a or -p options)
/tmp/updater: line 249: arithmetic syntax error
Updater process ended with ERROR: 2

Might wanna check with [MENTION=4470081]topjohnwu[/MENTION]
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tcnineteen:
Got it, thanks!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] afuller42:
Did you disable and delete viper module in Magisk settings, reboot to recovery, reinstall new module and then reboot to system?

Or did you just flash new module into of old one.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tcnineteen:
I just flash the new version on top of it, but like I said, TWRP 3.0.3-3 worked, so I thought it was the cause at first.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] afuller42:
I disable and delete in Magisk settings, reboot to recovery, install new one, then reboot to system, works perfectly everytime and viper setup will stick and won't have to setup again.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tcnineteen:
OK, I'll try it the next update, thanks!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] RogerF81:
[MENTION=1162986]Captain_Throwback[/MENTION] Is there any "default encryption password" in TWRP? I ran decrpyted and suddenly, after a dirty flash of my Rom, it was encrypted:confused:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
TWRP doesn't encrypt anything. It only decrypts what Android has encrypted (if it can). The ROM you flashed must have had forced encryption enabled by default (or something similar) or your data got corrupted somehow leading Android to be unable to read it. Format Data in TWRP is usually the only way to recover from such an issue.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] RogerF81:
Ok, thanks for quick answer.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Pulian:
hi sr, it s possible port twrp for this htc 10. i tried twrp pme and that but no work problem partitions.

https://nl1.androidfilehost.com/dl/...203/312978532265364311/twrp-3.0.2-0-a56dj.img

D:\PHONES\HTC>fastboot getvar all

(bootloader) version: 0.5

(bootloader) version-bootloader: 3.19.0.00

(bootloader) version-baseband: 3.0.U205591

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main:

(bootloader) version-misc: PVT SHIP S-ON

(bootloader) serialno: HT6AJBZ00078

(bootloader) imei: 3515630xxxxxx

(bootloader) imei2: Not Support

(bootloader) meid: 00000000000000

(bootloader) product: a56dj_ul

(bootloader) platform: hTCBmsm8226

(bootloader) modelid: 2PUK22001

(bootloader) cidnum: HTC__332

(bootloader) battery-status: good

(bootloader) battery-voltage: 0mV

(bootloader) partition-layout: Generic

(bootloader) security: on

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT

(bootloader) commitno-bootloader: 862e002a

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

all: Done!

finished. total time: 0.016s
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
That's not an HTC 10.

EDIT: Based on a quick Google Search, your device is a Desire 10 Lifestyle. I don't believe TWRP exists for that, but it definitely isn't supported in this thread.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
I didn't notice that you already tried to repack the image. The HTC 10 has WAY different specs the the Desire 10 Lifestyle, so there's no way that would work. However if you start a thread on this topic in an appropriate forum and mention me (like this [MENTION=1214806]Pulian[/MENTION]), I'll respond there regarding a TWRP for your device to test. It's off-topic in this thread.

I say again - do NOT post about this any further in this thread!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Zoandroid:
Somehow I had missed this April 2016 post, but noticed it in a recent post that quoted it. So I went there for the first time, tonight, to check it out. Just wondered if you know that it doesn't show the latest version (which currently is -9)?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Black-FR:
The twrp page, displays the latest official builds.

All the versions for Android N, are unofficial builds.

So you won't find them on the twrp webpage...
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
Have you read the OP?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Zoandroid:
More than once, but I'll read it again....

I had not noticed the inconspicuous mention that -9 was BETA, mostly because the file isn't marked as BETA on the download tab, and because of the posts I've seen telling people running any earlier version that they aren't running the latest version, and to always install the latest version, such as post # 1459.

But thank you for pointing that out. We need to re-read the OP before updating any version of TWRP.

---------- Post added at 11:50 AM ---------- Previous post was at 11:49 AM ----------

I was referring to the new, as of April 2016, TWRP for HTC10 page link mentioned in the post I quoted.