yashsingh1/xdaforums huggingface dataset:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nobrain3000:
Sorry for stupid question but had this problems never before. Is it necessary to mount partitions again and again and which partitions to mount. Thanks.

Gesendet von meinem SM-G935F mit Tapatalk
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Zoandroid:
How much is your data partition increasing every day? Mine is currently 4.38GB. I make a nandroid including it every week. The entire nandroid backups usually do get a tiny bit bigger each time, but not by a lot.

Did you verify the MD5 hash on your copy of TWRP when you downloaded it? Just wondering if it might be corrupt?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] roirraW "edor" ehT:
No.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] vegetaleb:
TWRP showed 5.8gb even with compression but after it's done I checked in root explorer and it was in fact 2.9gb, so perhaps TWRP doesn't show the compressed size?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nkk71:
TWRP will show the uncompressed size of your files, it cannot "predict" the compressed size.

I'm running a cool 10GB of /data (excluding /data/media aka virtual sdcard)

And of course it will increase, since some apps (including photos) have their cache in there:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Zoandroid:
Also, if you are running any apps that create or record data, the total file size will climb - text messages, email, hangouts, web browser history, anything that keeps records (weather apps), etc.

The file sizes I've been telling you are those seen by looking at the file properties in a file manager, after the backups are created.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] veer10:
Can you take OTA if you leave the ROM stock? I'm currently on Nougat 2.38.617.6 with a pending update to 2.41.617.3

I just plan on running some xPosed modules
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nkk71:
Take a look at the FAQs (in post #2 under FAQ 7)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] veer10:
Another question, the install failed due to S-ON. From what I gather I need to S-OFF with sunshine, but the instructions for sunshine say you need TWRP already installed to wipe encryption from the device after it performs S-OFF. Can the stock recovery wipe encryption after S-OFF, or do you need TWRP to do this?

Are there specific install instructions for Nougat somewhere?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
What install failed due to S-ON?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Behold_this:
Unlock your boatloader and you can install twrp with s-on. Or, if SS temproot works on your device, run it, then boot into download mode, flash twrp and go from there.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] veer10:
Your latest version of TWRP for Nougat, twrp-3.0.3-6_UNOFFICIAL-pme.img; it says: FAILED (remote: cannot flash this partition in s-on state)

I didn't see instructions on this page so I followed the instructions on TWRP's HTC 10 page here under Fastboot Install Method (No Root Required)

My bootloader is unlocked, when I run adb reboot bootloader it says UNLOCKED and S-ON at the top of the white screen.

EDIT: nevermind, dd Install Method at the above link worked.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
You have to flash it while in Download mode on this device.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] veer10:
Gotcha, I was able to get it working using the dd Install Method. Thanks!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ordeniz:
Hi Captain! Can I format my exfat formatted 64gb external card to fat32 in TWRP? If I can,can you tell me which menu it is under? Thanks.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
Why would you do that? SDXC should all be formatted exFAT by default because that works the most efficiently and allows large file transfers.

But since you didn't ask my opinion, I'll still answer your question, even if I disapprove:

Wipe -> Advanced Wipe -> Repair or Change File System
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ordeniz:
It is for the EAS Nebula kernel. exfat gives headache. thanks a lot.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
Sounds like the kernel dev should add exfat support, not force you to reduce the efficiency of your SD card...but whatever, it's your device, lol
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] goldalex98:
He does have it, but it's quirky at times. I actually ran into an issue last night where my SDCard kept reading as corrupt. I finally had to reflormat my SDCard to FAT. He Devs mostly using FAT file-system but does support exfat via the kernel.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] alex_up:
Hi Captain - please your help,

I have S-ON, unlocked device, I flashed recovery , but then I enter recovery mode twrp can't run and after few time device boot to android
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] 2WildFirE:
Twrp version? What Android you are running?

Powered by the 10
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] alex_up:
3.02-6, Android 7,
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] sdamark:
Try 3.0.3-6 UNOFFICIAL
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] alex_up:
Thank you!!! It's ok
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] 2WildFirE:
Maybe bad download

Powered by the 10
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
Alright everybody, I revamped the OP a bit to correspond more closely to the DevDB template guidelines, and tried to emphasize the need to read the FAQ before installing/downloading anything. Hopefully this helps to ameliorate the redundant questions I'm seeing in the thread, so people understand what version of TWRP they should be flashing.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Light1984:
If someone could maybe give me some pointers, I'm not sure what I'm doing wrong, but i cannot get TWRP to mount system correctly. I've tried -0, -3, and -6 unofficial. And although i swipe right on first boot to allow modifications it never sticks. Neither do settings. So the problem when i try to flash a ROM (Santod's 2.41 N with aroma installer specifically) it does flash the rom, so it is mounting system somehow i guess, but none of the aroma options i choose end up being completed, specifically magisk and phhSU for root. I gave Santod an aroma install log and he said the problem was system not being mounted. So.... My recovery log is here, please help if any one has some insight or has experienced a similar issue in the past. Running US unlocked handset converted to VZW (CID change), 2.41 N firmware, TWRP 3.0.3-6.

https://paste.tinyw.in/index.php/view/22632386

Some additional problems persist after rom install. Magisk crashes when trying to install a module and the AdAway option to install hosts systemlessly if greyed out. I feel the are all related. Any thoughts [MENTION=1162986]Captain_Throwback[/MENTION] ?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Brutale1090!:
Which is the last unofficial version, which is compatible with MM? Need it cause the last official seems to be incompatible with a asspecific AROMA istaller
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] gstanke:
3.0.3-6unofficial. Still on mm firmware here (sprint) and tested before release. Works fine
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
RUU, then start over.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Haldi4803:
There is no issue...

Working perfectly fine for everyone else.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Light1984:
Done it 3 times... But I'll try again.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Eliminater74:
Are you offering to help, or you just criticizing ?

and I am not forcing anyone to do anything. I am not obligated to meet everyones needs.. I do what I can and when i can... But your more then welcome to help if you feel that everyone should have it.

Peace Bro..........
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
If it's working for some and not for others, then the issue isn't missing support - so my comment is irrelevant.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
Are you booting up after you RUU? Making sure the device is working properly after RUU?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Light1984:
Negative ghost rider.. The pattern is full. Could that be the problem you think?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Light1984:
Wow, well at least it's a simple solution. Thanks Captain, sorry for being a moron.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] darkenedpath:
Came back from a way old version. 1.8x.xxx to be almost exact. No issues I've found on the latest unofficial. Except the is that red text again. Just to be clear, to have a working twrp and rom of my choice, Idc anymore. I can modify that all I want, I won't ever again though. So other than that, thank Capt and nkk71. I'm fully updated with all the rom needs and themes I want. Thanks. And actually glad to see the red text again knowing I'm safe, and you guys got things working correctly a while back.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Light1984:
Well... I booted into 1.85 after RUU. Everything was working as it should. Then, I completed the following

Rebooted to download

flashed VZW N 2.41 firmware

flash 3.0.3-6 recovery

booted to recovery

swiped to allow modifications

mounted system in mount tab (it wasn't checked after swiping)

typed 'yes' for data format

installed [MENTION=1331268]santod040[/MENTION] 2.41 VZW N ROM with aroma options for debloat (system modifications), magisk, phh su, etc

Still no dice. ROM installs as full stock ROM with none of the Aroma options I chose, magisk is not installed, no Root installed, and AdAway systemless checkbox is greyed out after installing the app from xda labs. I believe these are all due to TWRP and/or ROM. Maybe user error, but I've tried everything and I just don't under stand what I am doing wrong.

Info below:

getvar all:

(bootloader) kernel: lk

(bootloader) product: htc_pmewl

(bootloader) version: 1.0

(bootloader) max-download-size: 1579200000

(bootloader) serialno: HT653BN00208

(bootloader) current-slot:

(bootloader) imei: 12345678910

(bootloader) version-main: 2.41.605.6

(bootloader) boot-mode: download

(bootloader) version-baseband: 1.0.C010252@61117

(bootloader) version-bootloader: 1.0.0.0000

(bootloader) mid: 2PS650000

(bootloader) cid: VZW__001

recovery log:

https://paste.tinyw.in/index.php/view/13161694

aroma log:

https://paste.tinyw.in/index.php/view/32904616
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
I think you're having issues because you don't have a Nougat RUU to flash. Typically, after a format data, you need to boot the device so that the data partition gets properly initialized by Android. Since you're coming straight from Marshmallow and then flashing the firmware, you don't have that option. So that means you shouldn't be formatting data until after you've flashed the ROM and booted up once. Also, there's no need to mount system manually in TWRP before flashing a ROM - the ROM updater-script takes care of that.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Light1984:
Ok, so now that I have 2.41 installed, I can format data in TWRP by typing 'yes' then immediately reflash the ROM and it should work? Hopefully an RUU will be available soon. Thanks for the guidance Captain.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
Why would you need to format data again? And have you already tried reflashing the ROM? Can you post the updater-script from the ROM? I want to confirm that system is being unmounted (or is never being mounted) before the image is flashed.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Light1984:
in the process of reflashing the ROM after initial boot following first flash.

Updater Script:

https://paste.tinyw.in/index.php/view/23539404
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
Script looks good. Everything looks fine, besides Magisk not being able to mount system read only. Did you try leaving system read-only in TWRP and see if that worked?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Light1984:
I thought that was the entire problem I was having, that system was staying in RO and not allowing the modifications per the updater script? I will try that option as well and see if it works. Just finished re-flashing ROM after booting into ROM after initial flash. Magisk still failed, but I am going to manually flash prior to booting into the ROM for the second time. If that doesn't work, Ill try leaving system read-only by checking that box off in the mount tab prior to flashing again. If that doesn't work I am going to give it a rest for the night. Thanks Captain for walking me through some scenarios. 6-pack on the way (0626398098817051)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] sdamark:
Deleted

Sorry
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] EtherealRemnant:
Nevermind, I figured it out.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] cajunflavoredbob:
I attempted updating from 3.0.3-0 to 3.0.3-6 tonight via TWRP image flash. 3.0.3-6 is unable to decrypt data with my password. I flashed back to 3.0.3-0, and it works fine. I tried multiple attempts to make sure that I was inputting it correctly. Decrypt fails every time on 3.0.3-6.

I'm running the 14 Feb 2017 AICP nightly build. Logs for both versions are attached. Dmsg for 3.0.3-6 is also included.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nkk71:
Thanks for the logs, especially the dmesg :good:... very interesting. I'll have to give this some thought :eek:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] munkyvirus:
Can confirm same issue with Lineage. I can post logs if need be.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
No need. There's a test build on the way shortly.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Zoandroid:
I have a question about restoring TWRP nandroid backups:

Before I recently learned that it wasn't necessary to do so, I used to also include the System Image when I make my weekly nandroid backup for my HTC10. As you may imagine, saving these backups with the System Image included takes up a considerably larger amount of disc space, compared to not having the System Image included.

So, my question is, if I go back to each one of these previously made nandroid backups, drill into the folder where all its files reside, and remove the files named "system_image.emmc.win" and "system_image.emmc.MD5", whether that would prevent me from ever being able to restore that nandroid backup if I wanted to do so? If this wouldn't be a problem, I could regain a lot of disc space, and as I understand it I would never actually need that System Image unless I were restoring an original, stock, nandroid anyway.

Also, if having updated TWRP several times over the course of these backups would have any bearing on the above question.

I appreciate anyone's thoughts on this. :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nkk71:
We're aware of the situation...

:p
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
Please try the 3.0.3-7_UNOFFICIAL build and post recovery log (successful decryption or not). Thanks!

EDIT: Link removed, as build doesn't work properly.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] munkyvirus:
Didn't decrypt for me.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nkk71:
okay I need to change something

EDIT: download link temporarily removed.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] munkyvirus:
Hang on, a setting may not have stuck while my system was booted, give me 2 seconds

EDIT: Ignore, had a different password set than the one I tried, but the correct password failed to decrypt as well.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] cajunflavoredbob:
Log attached. Decrypt failed.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nkk71:
Thanks guys, we've made some changes, not sure if those will be up tonight, though. Getting late for me :o
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
Test 2.

https://xdaforums.com/devdb/project/dl/?id=23179
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] mattie_49:
I bricked my first HTC 10 somehow with Santos nougat build. Got to the same part of twrp, nothing would mount ,nothing would wipe, and tried numerous versions or twrp also. Other issue is fastboot or PC would no longer recognize. Be very careful when you run Ruu from SD card to get right again. Mine failed at that point never to turn on again. Make sure you have a backup of at least system image and boot. These 10's are super sensitive.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] munkyvirus:
Decrypted /Data successfully but can't mount /system
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] cajunflavoredbob:
Same issue as above. Decrypt successful. Mount /system failed.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] t123yh:
Oh yes, but I did a stupid attempt to flash supersu to stock system. Now I cannot boot. How do I recover?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] 5m4r7ph0n36uru:
Hope you made a backup of stock boot and system as image!? If so just go to the specific thread that explains how to get back to stock. In general just restoring boot and system image in TWRP, format data, reboot
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Rohaq:
Is there any reason MTP is so slow via TWRP? I'm currently waiting for my MicroSD card to list its files before I can copy a file into it. The same issue doesn't appear in the OS though.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
I don't have that problem. Anyone else?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Rohaq:
I'm happy to get any logs or debugging info if you need it; just tell me what to do :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] buckmarble:
Well my 10 is enroute to jcase for soff. Hopefully we will see some kernel source soon. I've been harassing them on Twitter.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] t123yh:
I didn't made any backups but there's other's backup available. Can I restore it?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] 5m4r7ph0n36uru:
If there is an update available for your CID and MID then yes.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Jump1ng:
OMG after having to use Apple's iPhone recovery on one of the works phones, it just cements my belief that we are so spoilt having a dev community that makes actually usable and functional programs like TWRP!

Had been holding off installing it on my 10 but think it will go on now as it just so great.

Thanks for all your work, and sorry for going a bit OT.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ssojyeti2:
is it possible to access my internal storage in this version of TWRP? the storage options only show sd card and usb OTG...
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
Internal storage is encrypted, so no, there's no way to access it.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ssojyeti2:
Thanks, I read that a bunch of times in the OP and finally understand what it means lol [emoji3]
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jeanxx:
So after ?unlocking my bootloader and flashing the teamwin recovery, my phone will not update OTA.

Any way to fix this so I can be on the latest software?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] gotAndroid10:
Step 8 in the second post of this thread will tell you how to restore your stock system, so that you can receive OTAs.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] papi92:
Read the OP.....
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ssojyeti2:
Read up a few posts...
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jeanxx:
What exactly would it take to be able to access the data of internal storage or decrypt it without losing mobile data?

Is there a password that HTC would need to give us or would we need a special software to decrypt the data?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Rohaq:
HTC uses some kind of proprietary encryption that TWRP can't handle, unfortunately. Unless HTC released details about how to decrypt it, it's unlikely to ever happen.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Prinz069:
Good morning,

after everything went fine I have an issue when wiping Dalvik & Cache.

Dalvik can't be deleted/formatted/erased. What could that be?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] topjohnwu:
Dalvik is part of data.

TWRP cannot read anything from data partition when encrypted. That's the reason.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
Thanks for testing. One more from me, and if it has the same issue, I'll leave it for [MENTION=2605798]nkk71[/MENTION] to look at tomorrow.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] munkyvirus:
Atta Cap! /Data and /System decrypted and mounted respectively, logs just in case. Thanks!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] cajunflavoredbob:
Decrypt success. /system mount success.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fuzziion:
Thanks for the quick update everything looks good now!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
Alright, thanks to all of [MENTION=2605798]nkk71[/MENTION]'s fixes, the 3.0.3-9_UNOFFICIAL version should now properly decrypt all the setups (again). Removed the debugging and it should be good to go for everyone now. That will now be the recommended version to use going forward (until something else breaks).
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] buddahj:
[MENTION=1162986]Captain_Throwback[/MENTION]

I noticed the circled part while doing a backup only after upgrading to the Verizon nougat firmware and rom. Is it anything to be concerned about? Is there a reason the data partition excludes pictures and such?

TIA

The first time was on 3.0.3-6. I'm now using 3.0.3-9.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
TWRP Data backups have never included the files in /data/media, which gets mounted at /sdcard in Android and TWRP. The new message is just informational - no behavior has changed.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Zoandroid:
With the recent TWRP version crisis now resolved, could someone take a look at my post # 1658 above, and let me know if my idea is OK?

Thanks. :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
Depending on what version of TWRP you used to creat the backups, the "System Image" might actually be more useful than "System," as versions prior to 3.0.3-3 wouldn't have backed up any file capabilities. This means that if you use any advanced calling features on your device, these wouldn't work after restoring the "System" nandroid. Only "System" backups made and subsequently restored with a TWRP version >= 3.0.3-3 would restore properly. "System Image" backups, however, preserve all of the file capabilities information, so even on a backup made with an older TWRP version, these would give you a valid restore.

Deleting any partition from the nandroid in the backup folder is fine. TWRP will only try to restore what's there if you deleted something from the folder.

P.S. Weekly backups? Do you even need to backup system at all? How often are you actually changing something on /system?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Hopie:
i had twrp -6 and want restore a nandroid, but restore data, i become a extract error 255? backup was successful

sent from my HTC 10 powered by Viper10
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Hopie:
dont have a log, sorry.. must reflash my rom new.

try at next nandroid -9

sent from my HTC 10 powered by Viper10