yashsingh1/xdaforums huggingface dataset:
[One (M8) Original Android Development] Toxicology:
This is indeed strange.... I copied the link manually in a new browser window and it worked well! Thx!

Sent from my Nuclear Assault Weapon
[One (M8) Original Android Development] bill3508:
Having a restore problem. Started today with 2.803 and I updated to your posted 2.810 and it continues. Can't restore on internal or external mem.

View attachment 3001235

This is what I get. Tried partition fixer which is not made for this problem I guess. I'm lost at why this is occurring. Running Rkdn 3.21 .

Thanks

Sent from my HTC6525LVW using Xparent BlueTapatalk 2
[One (M8) Original Android Development] Captain_Throwback:
According to the console you're trying to restore backups that don't exist, or you didn't select any partitions to restore.
[One (M8) Original Android Development] bill3508:
Good catch, that backup is indeed empty. Not sure what happened there.

Thanks

Sent from my HTC6525LVW using Xparent BlueTapatalk 2
[One (M8) Original Android Development] captainreynolds:
Getting an error when trying to do an ordinary nandroid backup to my external 64gb sdcard.

Unable to create folder /sdcard2/TWRP/BACKUPS

The external sd card mounts just fine - in fact I created the folder myself to just see what would happen and still got the error. Any ideas?
[One (M8) Original Android Development] azazel71:
I seem to remember reading on the Twrp site that the formatting and size of SD card are important and that once over a certain size the formatting changes and the recovery can't support it....best check there site for a more detailed explanation. Not saying that's your problem but might be worth checking.
[One (M8) Original Android Development] Captain_Throwback:
Don't create the folder yourself - let TWRP create it. Permissions are probably messed up.

And sdcard2 shouldn't be the correct folder name, I don't think . . . is that the name everyone else has? I thought it was "external_sd" in recovery?
[One (M8) Original Android Development] .Ryker:
Mine is sd-ext. Maybe it also matters the type and brand of SD?
[One (M8) Original Android Development] captainreynolds:
Yeah it depends on where I am reading it from. If I'm accessing it (like in root explorer, or a shell or adb shell) from /storage/ext-sd/ then it's that, but if I go through the root folder it's just /sdcard2/ - I honestly don't recall which name it used in recovery when I got the error.

I'm going to change the SD card permissions when I can find my stupid SD card reader. As far as I can tell Android will not let me change permissions of the SD card while it is mounted the phone.

The only thing I HATE about this phone is the stupid HTC Sync software. I wish it would just give me the option to mount the damn thing directly to the computer to both read/write to the card. If anyone knows a way to change this let me know.
[One (M8) Original Android Development] Captain_Throwback:
No. SD-Ext is NOT the main (vfat) partition on your external sd card. That partition represents a secondary partition on the SD card, formatted as ext4, and is almost never present unless you previously partitioned your SD card.

The Micro SD Card should be showing up at external_sd in the File Manager.

EDIT: Maybe I'm confused - this is a recovery thread - are you not talking about recovery?
[One (M8) Original Android Development] captainreynolds:
In my most recent post - the one you are responding to - I was referring to how I access the SDCard on my root explorer (file manager app) or through a terminal. There are two ways to access it - on the root directory of my phone, there is a /sdcard2/ symbolic link to /storage/ext-sd. This is my external SD card with only one 64 GB partition formatted as ExFAt. I just found my SD card reader and verified on my computer - there is only one partition that takes up all the space - my exFat partition.

I am not sure what the recovery tries to access - if I recall it says E: - I have no reason to assume this isn't the sdcard. I'll check real quick to see if the recovery can access it at all.
[One (M8) Original Android Development] Captain_Throwback:
I'm only referring to recovery. That's where the apparent issue is, correct? How/where it shows up in Android isn't relevant to recovery. If there's an error in recovery, please provide a log.
[One (M8) Original Android Development] captainreynolds:
Oh, okay! In recovery it is referred to as /external_sd - sorry for all the confusion!

I did provide a log earlier - I think you even replied to the comment. You suggested I check/change permissions and I've actually been doing that as we've been talking.

I plugged the SD card directly into my computer (because the M8 and kitkat are dumb and won't let me mount it directly from the phone over USB) and just ran chmod 777 (probably stupid, I know) on the root sdcard directory, and all the folders under TWRP. Plugged the card back in and booted recovery and wa-la! The backup ran just fine.

If you are curious, this is the text of the original error that led us down the rabbit hole. It has now been fixed as indicated in the text above. Thanks for all your help!

---------- Post added at 11:35 PM ---------- Previous post was at 11:20 PM ----------

@[MENTION]Captain_Throwback[/MENTION] Unrelated, does your M8 rom still allow you to mount the SD card directly as writeable USB mass storage onto a computer? I see TWRP lets you do this. But on T-Mobile latest 4.4.4 stock I can't do it. At least I am unsure as to how. Don't want to do MTP with Android file transfer or anything weird, just want to mount the SD card from the normal android system.
[One (M8) Original Android Development] Captain_Throwback:
Yes, apparently only Sprint allows UMS in Android. But at least it's available in recovery for everyone.
[One (M8) Original Android Development] andywright1982:
When I try and update mine on the app it says it has passed but I am still on TWRP v 2.7 and trying to update to the latest. I am on international HTC M8 - how else can I flash the new version as im having issues with creating nandroids at the moment

Thanks
[One (M8) Original Android Development] Asselalf:
Flash it via Fastboot.
[One (M8) Original Android Development] PieceKeepr:
OK, I know these are noobish questions but for some dumb reason I never really messed with nandroid backups on my previous phones. So my questions are..

If I want to have a good backup in case something goes wrong and I can't boot, bootloop, etc. do I need to backup just boot and system or data also? I restored all my apps from a nand backup but noticed it restored some system data/settings as well so I'm not quite sure about these.

When I do have to use the backup to restore the phone do I wipe system, cache and dalvik first or simply restore over the top? I tried to restore the system but got an error that basically said no system existed and I'm not sure if it was because I wiped everything first or if I had a bad backup.

I haven't found specific answers to my questions so I appreciate the help.

My M8 has the newest version if it matters.
[One (M8) Original Android Development] kalel77:
Can I wipe correctly internalSD with twrp 2.8.1.0?
[One (M8) Original Android Development] Captain_Throwback:
I don't see why not.
[One (M8) Original Android Development] kalel77:
thanks I don't never wipe InternalSD , I asked for securely:D
[One (M8) Original Android Development] MotoTurbo:
I always wipe system data cache and dalvik before restoring a backup..I like to treat it like a ROM flash
[One (M8) Original Android Development] Iscin:
The current version of TWRP doesn't wipe a 5.0 encrypted data partition at the moment. Do you know if there is a fix or when they will add support for 5.0 encryption? Kind of screwed myself over at the moment and stuck with a 5.0 ROM until I can wipe the data partition.
[One (M8) Original Android Development] BlackAlien92:
Just flash twrp from fastboot again. That's what I did and got it to wipe data partition.
[One (M8) Original Android Development] Iscin:
For 5.0 though?

Also: I already tried that AND tried Philz Touch CWM too. I don't think they support Android 5.0 encrypted partitions.
[One (M8) Original Android Development] BlackAlien92:
it worked for me. Flashed the latest 2.8.0.1 Booted back in to recovery and was able to wipe data again. Also check if data is checked on partitions in recovery settings.
[One (M8) Original Android Development] Iscin:
I'll take another look.

Edit: Still can't mount the data partition at all. It's the same error everytime.

Edit 2: I GOT IT! So apparently the MTP is the reason why it wasn't working. If you encrypt your data partition in order to wipe it in TWRP you need to choose "format data". Specifically. No other option like a standard wipe, nor repair options etc. do a proper formatting.
[One (M8) Original Android Development] Captain_Throwback:
There is a new decryption routine based on Lollipop available as a build flag on new TWRP versions based on the 5.0 tree for Lollipop devices. The older device trees have to be migrated to the new one and built with that flag for it to be supported. And it will only support AOSP decryption, so if you're using a ROM like GPE or Lollipop Sense when it emerges, you still won't be able to decrypt in recovery.
[One (M8) Original Android Development] skulldreamz:
In fastboot type "fastboot erase userdata" and hit enter, without the quotes. Haven't tried it but it might take off the encryption on lolly
[One (M8) Original Android Development] Iscin:
It's alright, I finally used the "FORMAT DATA" command in TWRP and it worked. Apparently normal wipe nor custom wipe work properly. Nor did the fix partition command etc. I basically tried everything before learning that TWRP does perform a proper reformat with that one command, but only that command.
[One (M8) Original Android Development] Captain_Throwback:
Yeah, the newest version of TWRP (built with the Android 5.0 tree) actually tells you that you'll likely need to use the "format data" command if decryption doesn't work.

Bad news is, at least so far, I haven't been able to decrypt a Lollipop encrypted device using TWRP's decryption. This is the same issue we had with KitKat. So, at least as of now, the device can't be encrypted if you want to use custom recovery.

I'm not sure if that'll change or how.
[One (M8) Original Android Development] Captain_Throwback:
UPDATE: I have figured out how to get standard AOSP decryption working. However GPE and Sense still won't work because HTC is using non-standard encryption for them. So at least there's progress :rolleyes:, though I think this may be the extent of it.

But if you want to use CM or any of the other AOSP ROMs, decryption will work once this fix is integrated, at least on Lollipop.
[One (M8) Original Android Development] Captain_Throwback:
http://themikmik.com/showthread.php...-2-8-2-0-(L-decrypt-test)&p=301010#post301010
[One (M8) Original Android Development] smeejaytee:
This is ok with kk I presume I thought I can install it now and be ready for lollipop when it arrives on sense or if I convert? thanks in advance.
[One (M8) Original Android Development] Captain_Throwback:
Can you make your question a bit clearer, please? I don't understand what you're trying to ask. Using complete sentences, words and punctuation would also be appreciated. Thanks!
[One (M8) Original Android Development] smeejaytee:
Sorry I was rushing, I was basically asking if it's ok to use this with kk sense or is it just for lollipop, I just like to be on the latest version lol. Thanks for your work.
[One (M8) Original Android Development] Captain_Throwback:
Sure, it'll work as a regular recovery. It'll just only decrypt Lollipop AOSP ROMs. But it can wipe and flash whatever just like all the previous versions.
[One (M8) Original Android Development] smeejaytee:
Great I like your recoveries their always spot on and apart from the time you told us not to I mainly only use your version, thanks for your time and efforts you do a lot for the m8 community.
[One (M8) Original Android Development] Tamil15:
I can't able to download TWRP 2.8.1.0 my download fails at 99.9 i tried all browsers

it will be helpful if anyone give me a alternate links!

thanks
[One (M8) Original Android Development] Captain_Throwback:
Update - Looks like [MENTION=912474]Dees_Troy[/MENTION] has made an update that will allow decryption to work on previous versions as well. So when 2.8.2.0 drops, it should work universally to decrypt and be unified for all M8 variants :).
[One (M8) Original Android Development] naja_return:
Is there anyone here can boot this on M8 GPe 5.0.1 device?
[One (M8) Original Android Development] Captain_Throwback:
Are you flashing it, or just trying to fastboot boot? The latter likely won't work.
[One (M8) Original Android Development] naja_return:
I just boot it like this

fastboot boot image.img

I would try flash it then. Thx!

----Update

Worked now! Thx 4 ur advice!! :))
[One (M8) Original Android Development] treIII:
I have T-Mobile US version m8. Just got it. It has android 4.4.4 and we'll not keep root. Each time I reboot it loses root. What recovery should I install on this version of android? Meaning which twrp numerically? Is there a certain twrp that when I install it and use to flash su that will keep root? Thanks

Sent from my HTC One_M8 using Xparent Blue Tapatalk 2
[One (M8) Original Android Development] gazzacbr:
[MENTION=1162986]Captain_Throwback[/MENTION]: fyi, your updated v2.8.1 is working great on M8 Dual Sim.

red font warning has gone and temperature is working.

another fine job :D
[One (M8) Original Android Development] Dave O:
Hey all, I've been using TWRP for at least 4 months now and I'm constantly doing Nandroids as I tend to flash different ROMs and just like to have multiple backups.

For the last week I found that sometimes the backups don't take, everything goes well in recovery there are to errors the calculated size makes sense but when I reboot system and check using ES the Nandroid folder shows 0 files and 0 bytes. Like I said this only started in the past week... now I read on this thread yesterday something about Lollipop and encryption, I have been running Sky Dragon Lollipop for about 2 weeks then decided to switch back to sense for now. Could it be due to that?

I am currently running stock Sense ROM and some Nands for the lollipop ROM show 0 too.

I am S-off running TWRP 2.8.1

hope you can help, thanks!

[MENTION=1162986]Captain_Throwback[/MENTION]
[One (M8) Original Android Development] Captain_Throwback:
My only suggestion is to use my TWRP.
[One (M8) Original Android Development] Dave O:
Ok I'll give it a try.
[One (M8) Original Android Development] Captain_Throwback:
Anyone using (or not using, for that matter) the Materialised theme for TWRP needs to see this and help test. This is BOSS stuff right here: http://xdaforums.com/android/themes/theme-twrp-materialised-dark-light-play-t2915584/post57381828
[One (M8) Original Android Development] PollyValance:
Just saw a release of 2.8.2.0, don't know where to dl it. Someone?
[One (M8) Original Android Development] riaan0010:
http://techerrata.com/browse/twrp2/m8

Nothin here yet
[One (M8) Original Android Development] Captain_Throwback:
Saw where? The only 2.8.2.0 I know of is the one I built.

Feel free to use it ;).
[One (M8) Original Android Development] daffie:
Thought I'd do just that :) Flashed v2.8.2.1 and went well. I have latest Lollipop FW, s-off and Sinless GPE Android 5.0.1 rom.

However in recovery I can't backup to SD card (shows up but 0Mb?), only to internal memory. Any idea's?
[One (M8) Original Android Development] Captain_Throwback:
Yeah, because I borked the build :eek: I'm fixing it now and I'll let you know when it's updated.
[One (M8) Original Android Development] daffie:
Ah I see ;) Too quick for my own good haha :) I'll check back a bit later on...thanks.
[One (M8) Original Android Development] Captain_Throwback:
My 2.8.2.1 build is updated, and should be working properly now.
[One (M8) Original Android Development] daffie:
Terrific...cheers for the heads-up, I'll get cracking right away :)

Edit : recovery seems to work fine now...thanks!
[One (M8) Original Android Development] maarawoe:
Does the encryption works while using twrp?
[One (M8) Original Android Development] Captain_Throwback:
What encryption?

The TWRP build I posted supports AOSP decryption ONLY, meaning it can't decrypt Sense or GPE ROMs.
[One (M8) Original Android Development] maarawoe:
The sense encryption (stock or arhd rom etc..).
[One (M8) Original Android Development] Forsaked:
I finally switched to TWRP since not even the unoffical CWM gets updated anymore.

Backup & restore works fine, so far so good, just the UI (even with a custom skin) is a bit big, but i will figure out how to shrink this! ;)
[One (M8) Original Android Development] jkolner:
I use this TWRP theme.
[One (M8) Original Android Development] Forsaked:
And ATM i use this! ;)
[One (M8) Original Android Development] Thermaltake868:
Question.

If I did nandroid backup of my stock ROM with 2.8.0.3 version of recovery, can I restore it from 2.8.1.0 or I need to install 2.8.0.3 again to restore it ?
[One (M8) Original Android Development] Mr Hofs:
that's not very difficult for yourself to find out right ? flashy flash restore and the answer will be there in seconds :)
[One (M8) Original Android Development] Johnny424:
Has anyone else noticed when you turn the phone off and then plug it in somehow the twrp menu pops up?
[One (M8) Original Android Development] francki:
Yep it happens to me too and just after it charges as normal with black screen

Envoyé de mon HTC One_M8 en utilisant Tapatalk
[One (M8) Original Android Development] benbailey84:
I have see it too. I believe it has something to do with the power off charging animation. If im correct it uses recovery to use charging animation.
[One (M8) Original Android Development] thekalby:
This is my first phone with an external sd card in a while and I have a question. On the TWRP website HERE it says that hitting wipe, wipes external sd card. Does this mean it really wipes out the whole external sd card? Why would this be? Why would flashing a new rom require wiping your external sd?

This just doesnt make any sense to me, who would want to wipe all their data on their external sd? So I would like some clarification.

Thanks!
[One (M8) Original Android Development] Captain_Throwback:
sd-ext != external sd. I think that's where your confusion is. You don't have sd-ext, so there's no need to worry about it. Your external sd won't get wiped.
[One (M8) Original Android Development] :
All the people complaining about the screen go off after flashing a ROM, try to do this:

reboot your device into twrp > setting > screen > uncheck screen time out

After I did this I never experienced a blackout after flashing again.
[One (M8) Original Android Development] DeeZZ_NuuZZ:
okay f&ck even with compressed off restoring failed...backup was successful but not restoring -.- all is corrupted -.-
[One (M8) Original Android Development] guyd:
I don't know why you are having issues with TWRP. I'm using the official 2.7.0.2 release and it works fine. I don't compress the backups, and they restore just fine. I've done it a few times, and haven't had a lick of trouble.
[One (M8) Original Android Development] bitwiser:
Help needed

I know I've posted about this before but I really would like to get a nandroid backup working. I made a nandroid backup of my stock rom (M8 Dev Edition) before I did anything just in case I needed to return my phone or for whatever reason I want to go back to original. I had no idea that the default setting of "compress" the backup would make it so I could not restore the backup. So I have a backup that I can't restore :( I have made some progress. I was able to uncompress the files with untartool. So they were not corrupted. I have the system and data backups in a folder uncompressed and can see all the data. My question is how to I now prepare them back to a single uncompressed file that TWRP can read??? I would love to get my original nandroid backup working again. Of course now I have created successful backups unchecking the "compress" check-box. Any help or point me to a thread with this info would be appreciated...

---------- Post added at 10:32 PM ---------- Previous post was at 10:30 PM ----------

I feel your pain. I have my original stock nandroid backup that won't restore :( If I find a solution I'll post it here.
[One (M8) Original Android Development] nory82688:
I've been having the same issue with backups since day one with twrp. I lost my stock ROM (sense) backup because it wouldn't restore, and after that , every backup I've taken won't restore.

I'm using a T-Mobile variant , s-off , unlocked boot loader , etc..
[One (M8) Original Android Development] guyd:
Have you tried this thread ?

COLLECTION of Stock backup's
[One (M8) Original Android Development] bitwiser:
I did a while back but there was no backup for my CID...but I see someone recently put one. Thanks...might be easier to use someone else's backup than trying to restore mine.
[One (M8) Original Android Development] DeeZZ_NuuZZ:
Tried also to restore one backup from German forum and it also gave an error...even with philz recovery set mode to twrp...so it's an issue with twrp that the system partition and also maybe data got corrupted

Gesendet von meinem HTC One_M8 mit Tapatalk
[One (M8) Original Android Development] jody04c:
I have posted same issues on Philz thread too. Both TWRP and CWM unable to provide reliable restores for me at present. Looking forward to a fix soon.
[One (M8) Original Android Development] old.splatterhand:
Maybe a silly question, but how do you guys mount your (internal or external) sdcard to your pc to copy files straight from the pc to the phone while in recovery?

The TWRP from my previous HTC One SV had in the mount menu a (big) "Mount" button to push when connected to pc.

When i use this recovery and go to the mount menu this button is missing.

Here some pics, that you understand what i mean:

The first pic is from another device + older version , but the button i mean is there as well. And its only for example. The second pic is from my M8.

Please enlighten me somebody...:confused:
[One (M8) Original Android Development] Krocko:
This don´t work with the M8.

The M8 is an mtp device.
[One (M8) Original Android Development] old.splatterhand:
Thanks for the reply.

Thats really surprising me, because my previous HTC One SV (Android 4.2) and also my Asus TF 101 (Android 4.4.2) are MTP devices and still have this feature.
[One (M8) Original Android Development] Thermaltake868:
Yeah... that won't be possible at the moment thats why I asked. I can't turn off my phone these days got important things to do with it and calls to recieve. I know I couldn't do it on my previous phone One X+ I needed to install version of twrp that i did nandroid backup with to restore it. I know there were a lot of fixes and changes after that version till now when I have M8 but I was just wondering if it's the same now like it was before that you need that version of twrp that you did nandroid backup with to restore it or you can restore with newer version too now.
[One (M8) Original Android Development] donmarkoni:
Well, you can always forward your calls to another cell phone or land line, then do what [MENTION=4252827]Mr Hofs[/MENTION] said. ;)
[One (M8) Original Android Development] Thermaltake868:
Don't have other cell or a land line.
[One (M8) Original Android Development] Mr Hofs:
and i can't believe you can't do without a phone for max 7 minutes. what kind of life is that....even calling when dumping a #2 in the little boys room ?!

also wonder what you will do when the connection of your provider is lost ? and btw you seem to have enough time to post on the XDA forum boards and i do not think you are answering extremely important phone calls and typing a less important post at the same time.

learning things comes with setting priorities

etc ...... etc .....

;)