yashsingh1/xdaforums huggingface dataset:
[One (M8) Original Android Development] cpgifford:
I know but cannot confirm that if the phone has a 100% stock room with only a recovery and root that the stock kernel WILL NOT let you touch /system in any way. There is a fix for this inside of [android Dev] somewhere.

Anyways thats my thought
[One (M8) Original Android Development] nory82688:
I have the same issue you do . I haven't been able to successfully restore a backup yet. (And no, I don't compress my backups ) . Also, my backups are on internal SD (since my phone doesn't see my 32gb SD card)

As far as I've seen , there are a lot of people having the same issue we are with all recoveries .
[One (M8) Original Android Development] Captain_Throwback:
Just wait a week or two and it'll work fine. Or, use my version until the next version (2.8.6.0) is released.
[One (M8) Original Android Development] dasx86:
Sure enough, I borked my phone (recovery, everything) between posting that and now. I had to flash your recovery since I can't get to the normal TWRP website from my current location. Your recovery works great!
[One (M8) Original Android Development] Mezot:
Possible to get settings to stick? For some reason I have to disable screen timeout over and over again (currently using 2.8.5.0). Not a huge problem but annoying :)

Also thanks for this awesome recovery
[One (M8) Original Android Development] mbnaeem:
Can someone please tell me is it normal for my TWRP backups to look like this. It looks like the data.ext4 file has been duplicating over time.

Go easy on me if this is a noobish thing to post ??.
[One (M8) Original Android Development] stathis95194:
Its not duplicating. Its splitting the archive into 2GB parts (win001, win002, etc)
[One (M8) Original Android Development] MJPollard:
The reason for this, if I recall correctly, is that files in the FAT32 file system can be no larger than 2GB in size. With FAT32 being the "lowest common denominator" across devices supported by TWRP, backup files have to be split in order to store them properly. Even on systems which use file systems that don't have this limitation, keeping the 2GB limit makes the code simple and easier to maintain.

(Disclaimer: this is strictly my assumption, all sales final, void where prohibited by law.)
[One (M8) Original Android Development] c5satellite2:
4GB is the file size limit for 32 bit addressing and FAT32. 2 to the 32 power.

You are thinking of the 2TB max native volume size for FAT32.
[One (M8) Original Android Development] MJPollard:
No, I was thinking of the file size limit. I just misremembered the size (2 instead of 4). The volume size limit never even entered my mind.

Still, I'm willing to bet that there's some file system limitation somewhere in the dim prehistory of custom recoveries that's the reason for the 2GB split...
[One (M8) Original Android Development] cimbom:
Usb otg dont work
[One (M8) Original Android Development] Captain_Throwback:
Works fine here. Even the screenshot saved to my OTG drive.
[One (M8) Original Android Development] starseb:
Hi,

i ve just intalled TWRP 2.8.5.0 on my stock M8.

but i have a problem : "can't data decrypt".

so i can't be rooted on my device.

Is there someone who have the solution ?
[One (M8) Original Android Development] Captain_Throwback:
Format Data in TWRP to remove decryption and don't encrypt again.
[One (M8) Original Android Development] starseb:
i have no choice with it's my work phone.

if i format it will erase all data. if i make a backup before can i reload it after rooting ?
[One (M8) Original Android Development] Captain_Throwback:
If you have no choice, then it doesn't matter what you do. TWRP won't be able to decrypt it if you re-encrypt it. You might as well just leave it.
[One (M8) Original Android Development] jkolner:
Just try flashing the latest 2.8.6.0, but i get this:

writing 'recovery'...

FAILED (remote: image error! (BootMagic check fail))

finished. total time: 1.228s

I have downloadet twice but same result booth times.

Any idea what's wrong?

---EDIT---

I tried to flash a .zip and not the image...

I must be a total noob...

--- 2. EDIT ---

2.8.6.0 works fine.

Flashed Xposed, did a backup and a restor with no problems.
[One (M8) Original Android Development] Krocko:
[MENTION=1162986]Captain_Throwback[/MENTION] can you update your recovery to 2.8.6.0 for the M8?
[One (M8) Original Android Development] Captain_Throwback:
What's wrong with this one?
[One (M8) Original Android Development] Krocko:
With this one the repack option from [MENTION=2719389]z31s1g[/MENTION]'s theme don't work.
[One (M8) Original Android Development] Captain_Throwback:
Has anyone investigated why? I can't maintain the official, MultiROM AND another standard build. It's too much. I haven't seen a recovery.log about this issue?
[One (M8) Original Android Development] prbassplayer:
[MENTION=1162986]Captain_Throwback[/MENTION] actually there is f2fs support for kernel and rom. I'm running it currently with the older twrp (.1 I believe?). CM12 kernel (and I assume CM12 rom as well, haven't tested) supports it and works quite well (Using it on SlimRoms). Haven't messed with encryption though. It would be great if you add back the suppor for twrp.
[One (M8) Original Android Development] Captain_Throwback:
Sorry, maybe someone else can do it, but I can't.
[One (M8) Original Android Development] prbassplayer:
Thanks, maybe [MENTION=912474]Dees_Troy[/MENTION] can?
[One (M8) Original Android Development] Krocko:
Here is the recovery.log --> https://www.dropbox.com/s/mq2fpp3df5nmbhk/recovery.log?dl=0
[One (M8) Original Android Development] Captain_Throwback:
[MENTION=912474]Dees_Troy[/MENTION] doesn't even have this device.

---------- Post added at 02:43 PM ---------- Previous post was at 02:41 PM ----------

In that log, it appears that AIK Mobile hasn't been installed. That has nothing to do with recovery.
[One (M8) Original Android Development] Krocko:
This is installed. And with your versions this works.
[One (M8) Original Android Development] Captain_Throwback:
Please get me log of it working so I can compare.

Since Flashify and the theme are additional components unrelated to TWRP itself, I can't see building a separate version for that. If we can figure out why it works on my custom build and not in the official, great. Otherwise, you're going to have to live without it, I think.
[One (M8) Original Android Development] prbassplayer:
Sorry I don't understand. Twrp supported it in build 2.8.1.0 for m8 then it was removed. Can't it be easily readded? I'm a newb at compiling twrp lol.
[One (M8) Original Android Development] Krocko:
Sure. Will flash your latest build.
[One (M8) Original Android Development] Captain_Throwback:
No. It's a kernel thing. Source has changed and the existing f2fs patches no longer work. It may be possible to add it back, but it will likely compromise the kernel and may prevent decryption from working.

If I have time, I'll look into it further, but expect nothing.
[One (M8) Original Android Development] MacFett:
I just received my replacement M8 and obtained S-Off and am trying to install recovery. I downloaded the latest version and get this error when installing via fastboot:

Z:\Users\Fremen\Downloads\android>fastboot flash reovery twrp-2.8.6.0-m8.img

target reported max download size of 1826418688 bytes

sending 'reovery' (17034 KB)...

OKAY [ 1.716s]

writing 'reovery'...

FAILED (remote: not allowed)

finished. total time: 1.716s

What am I doing wrong?
[One (M8) Original Android Development] Krocko:
Have flashed the newest aik and now it works. Thanks for your patience.
[One (M8) Original Android Development] Captain_Throwback:
Is your bootloader unlocked?

(it could also be your misspelling)

---------- Post added at 03:36 PM ---------- Previous post was at 03:34 PM ----------

So, to clarify . . . there's nothing I need to fix, right?
[One (M8) Original Android Development] Krocko:
Right [emoji16]
[One (M8) Original Android Development] MacFett:
Yeah, misspelling. Thanks.
[One (M8) Original Android Development] DROITURK182:
Can't find the newest download. Where can I get it.

Sent from my HTC Space Banana
[One (M8) Original Android Development] Clark Joseph Kent:
Did you check the OP....
[One (M8) Original Android Development] MacFett:
Is it possible to make a nandroid on one device (cracked screen) and restore it on my replacement? Both are S-Off and unlocked with TWRP installed, replacement has a newer TWRP than the cracked screen. I made a backup to my OTG-USB drive and the replacement doesn't find any.
[One (M8) Original Android Development] Captain_Throwback:
Backups are in a folder by Device ID (serial number). You'd have to copy the backups from the old device folder to the new one for the recovery to see them. I don't necessarily recommend restoring this way, though, as some things are tied to the specific device ID. If anything is broken, you'll just need to clean flash.
[One (M8) Original Android Development] Captain_Throwback:
[MENTION=3877985]prbassplayer[/MENTION]

I looked into this further, and I believe I've been able to add f2fs back into the kernel without losing the ability to decrypt. While I was at it, I also added exfat-nofuse into the kernel for more universal exFAT support. I had previously tried to add it, but it caused permission problems. It seems that since then, the source has matured and I haven't experienced any issues (yet).

I might release a test version in my thread on theMikMik (tomorrow, at the earliest), so if you'd like to help out with testing it, that's where to look.
[One (M8) Original Android Development] calebcabob:
Is TWRP 2.8.6.0 for M8 really officially compatible with the M8_wlv (Verizon HTC One M8)? I just wanna be 100% sure before flashing.

There use to be a different version for Verizon & Sprint. I see Sprint still has their own.

Thanks!
[One (M8) Original Android Development] Captain_Throwback:
There has been 1 TWRP version for the M8 since 2.8.0.3.

There is no separate version for Sprint (not sure where you're seeing that?).
[One (M8) Original Android Development] mrrocketdog:
"one twrp to flash them all"

"all i can really do , is stay out of my own way and let the will of heaven be done"
[One (M8) Original Android Development] calebcabob:
OK nice, thanks! Yeah, I guess I was just confused cuz there are 3 separate links on the twrp site (see pic). And when u click on Sprint, you get this.
[One (M8) Original Android Development] Captain_Throwback:
Those are just the links to the Carrier threads on XDA. There's only one TWRP page, as you see, labeled "All Variants". I thought it was pretty straightforward. I don't know how I could've made it any clearer, honestly.
[One (M8) Original Android Development] Captain_Throwback:
[MENTION=3877985]prbassplayer[/MENTION]

http://themikmik.com/showthread.php...d-TWRP-2-8-6-0&p=301377&viewfull=1#post301377

Here's an excerpt from my recovery log ;)

/ # cat proc/filesystems
I:Actual command is: 'cd "/" && cat proc/filesystems 2>&1'
nodev	sysfs
nodev	rootfs
nodev	bdev
nodev	proc
nodev	cgroup
nodev	tmpfs
nodev	debugfs
nodev	sockfs
nodev	pipefs
nodev	anon_inodefs
nodev	devpts
ext3
ext2
ext4
nodev	ramfs
vfat
nodev	ecryptfs
nodev	cifs
ntfs
[B]	exfat[/B]
fuseblk
nodev	fuse
nodev	fusectl
[B]	f2fs[/B]
nodev	selinuxfs
[One (M8) Original Android Development] :
Will any of your versions of twrp work on 4.4.2? On the official, it stops working after 2.8.0.0.

Yes, I went back to 4.4.2 just because :)
[One (M8) Original Android Development] Captain_Throwback:
2.8.1.0 doesn't work?

If you're on the latest firmware, the latest version should work. You should be able to run 4.4.2 on the latest firmware.
[One (M8) Original Android Development] :
I'm on 1.12.401.17 firmware stock at the moment.

Haven't tried any of yours yet but when I reroot I will.
[One (M8) Original Android Development] Captain_Throwback:
Wasn't talking about mine. I was talking about the official. Mine is no different.
[One (M8) Original Android Development] :
Oh ok. I'll give it a whirl soon. Thank you.
[One (M8) Original Android Development] calebcabob:
OK.

Sorry......

Just thought I'd make sure, that's all. Just didn't wanna brick my sh!t over worrying about asking a dumb question. And no, you did...you did amazing.
[One (M8) Original Android Development] prbassplayer:
Thank you very much, I'll give it a go tonight/tomorrow.

Edit: So far so good. Formated back to ext4 then back to f2fs all good. Haven't tested encryption.

Cheers
[One (M8) Original Android Development] adiel91:
Thank you for the version update!

FYI:

2.8.6.0 for some reason doesn't appear on the recovery list in "TWRP Manager" app.

latest available there is 2.8.5.0 (i've used .img file to flash directly)

:)
[One (M8) Original Android Development] azazel71:
Noticed the same here, flashify does list the latest version though so will update from there.
[One (M8) Original Android Development] adiel91:
Hey,

after updating to latest 2.8.6.0 having trouble installing zips.

when selecting the zip file to install, and then swiping to confirm -

TWRP seems to be "rebooting" itslef or something - the TWRP blue splash screen pops up then it starts the process of installing the zip, and then the splash screen pops again and this is repeating itself.

anyone encountered this ?

how can i solve it?

thanks
[One (M8) Original Android Development] Captain_Throwback:
log?

Sounds like a bad zip.
[One (M8) Original Android Development] adiel91:
Im sorry for the lack of info

Where can i find the log file my friend?

Thanks
[One (M8) Original Android Development] Captain_Throwback:
Advanced -> Copy Log to SD or adb pull /tmp/recovery.log

Make sure you have a good download of whatever you're trying to flash. I think that's likely your problem.
[One (M8) Original Android Development] adiel91:
Sorry for troubling you.

you were absolutely right - the zip was corrupted and i didn't noticed

Thanks for your help
[One (M8) Original Android Development] Op3a:
Guys, at this moment I have Philz Recovery flashed in my M8. Can I install TWRP from the Play Store app, or I will break my device?
[One (M8) Original Android Development] donmarkoni:
Take latest and flash via PC using following command: fastboot flash recovery twrp-2.8.6.0-m8.img ;)
[One (M8) Original Android Development] Mezot:
After upgrading to 2.8.6.0, settings now stick. Thanks :)
[One (M8) Original Android Development] yatindroid:
[MENTION=912474]Dees_Troy[/MENTION] 2.8.6.0 usb otg not mounting

Same usb mounted with 2.8.5.0
[One (M8) Original Android Development] Captain_Throwback:
Nothing related to USB-OTG was changed. And it's working fine for me. Is there an error? Do you have a log?
[One (M8) Original Android Development] Da Baron:
Ha! +1 :laugh:
[One (M8) Original Android Development] drumz0rz:
I've been absolutely unable to get ADB working on my computer, and don't have another computer to try. I'm looking for other ways to get TWRP on my phone. I just ran sunshine and am S-OFF. I used WeakSauce to get temp ROOT and am now trying to get TWRP on the phone (after that I'll install a new ROM).

I should be able to flash the recovery from within the phone right? I tried flashify which downloads the latest 'TWRP 2.8.5.0-m8_whl' and asks if I want to flash to the location "/storage/emulated/0/flashify/recoveries/twrp" is this correct? How would I know that? I'm hesitant to continue without knowing.

I also tried the TWRP Manager which again downloads 'openrecovery-TWRP-2.8.5.0-m8.img' and asks if I want to flash the location "/dev/block/platform/msm_sdcc.1/by-name/recovery". I said yes but flashing was unsuccessful. I think it's because I'm still on stock and therefore the 'SD Card patch' wasn't actually applied.

Is there any other way to get TWRP and thus a custom ROM without ADB or am I stuck until I can get ADB working?
[One (M8) Original Android Development] Captain_Throwback:
You need fastboot to flash TWRP, not adb. And you're not even trying to install the latest TWRP.
[One (M8) Original Android Development] mr.gonzoo:
Any progress in decrypting GPE and Sense roms?
[One (M8) Original Android Development] Captain_Throwback:
What do you mean, progress? Was someone working on this?
[One (M8) Original Android Development] donmarkoni:
EDIT: BEWARE! READ FEW POSTS AFTER THIS!

Just put this on external SD, rename it to 0P6BIMG.zip, reboot to bootloader and follow instructions.

EDIT: Oh, and don't worry, it contains [MENTION=1162986]Captain_Throwback[/MENTION]'s version of TWRP, meaning it's universal for all M8's.
[One (M8) Original Android Development] Captain_Throwback:
I no longer have a separate version of TWRP, though (besides MultiROM). The one from here is the most up-to-date. Is that the one you included in the zip?
[One (M8) Original Android Development] donmarkoni:
This one.
[One (M8) Original Android Development] Captain_Throwback:
That one caused me to lose data on my SD card and corrupt my backups, so . . . I wouldn't use it.
[One (M8) Original Android Development] donmarkoni:
Hahaha... I would say "you're kidding, right?", but I guess it's too serious...

There was zero downloads when you posted it and I clicked it, so I guess I was the first to flash it. Since then, I never ever had any hiccups or bug, nor serious problems... IDK...
[One (M8) Original Android Development] Captain_Throwback:
I didn't have an issue until I made a couple of backups, viewed the folders in Android, then booted back into recovery and tried to restore them. One of the backups folder was completely empty, and the other one was corrupted and wouldn't restore. I had just formatted my storage too, so I lost may daily ROMs. I wouldn't want that to happen to anyone else.

That's why I'm sticking with the "official" from here on out.
[One (M8) Original Android Development] donmarkoni:
Of course. Thanks for the warning. Edited my post accordingly.
[One (M8) Original Android Development] drumz0rz:
Thanks for the suggestions. I was able to get adb working on my Surface. I originally tried to flash 2.8.6.0 or 2.8.5.0 running the original stock 4.4.2 but when I attempted to reboot to recovery, I would get stuck at a pink 'entering recovery' screen that wouldn't ever enter TWRP. So I flashed the stock 5.0.1 RUU which gave restored the default recovery. (then it was 4am and I had to go to bed...)

My next plan is to try flashing 2.8.6.0 again now that I've got the latest firmware, and hopefully that works.

Edit: Works now. :)
[One (M8) Original Android Development] Captain_Throwback:
It will. The latest versions require updated firmware.
[One (M8) Original Android Development] David 617:
Hey, little off topic here...

Is your m8 f2fs formatted? Do you know if any good kernels/ roms that support this?

Thanks
[One (M8) Original Android Development] Captain_Throwback:
All of the AOSP ROMs support it, I believe. I know [MENTION=3400685]digitalhigh[/MENTION] is working on adding support to his GPE ROM, but that's the only one I know of. I don't really read the forums enough to know, tbh.
[One (M8) Original Android Development] RedBullet:
Sorry, can't seem to flash this. Currently running 2.8.5.0.

I tried using the TWRP manager, but it only finds 2.8.5.0 as latest.

I downloaded 2.8.6.0 but when I try to fastboot flash it I get the following error:

target reported max download size of 1826418688 bytes
sending 'recovery' (5 KB)...
OKAY [ 0.147s]
writing 'recovery'...
FAILED (remote: image error! (BootMagic check fail))
finished. total time: 0.157s
[One (M8) Original Android Development] azazel71:
Have you tried flashify from play store?
[One (M8) Original Android Development] Captain_Throwback:
That's a bad download (5 KB).
[One (M8) Original Android Development] RedBullet:
Oh wow. didn't notice that. Odd, I tried re-downloading with download manager and always got the same size. Trying a different method.

Thanks! Worked like a champ. Sorry for not noticing...
[One (M8) Original Android Development] metaphz:
Looking for some help on this.

I am running official GPE 5.1 was rooted and had TWRP 2.8.6.0 installed. I decided to encrypt the device today. Everything as far as the device is working just splendid. However when attempting to boot in to recovery (TWRP) it asks me for my pattern. I enter it, and it says pattern is incorrect and fails to decrypt the data partition. Any ideas or suggestions? I feel as if I need to tread lightly to not lock myself out of the device. I don't care about losing data on the device, just would like to be able to have TWRP and be encrypted.
[One (M8) Original Android Development] forster:
Hi all,

3 days ago i went to stock nandrod beckup for ota upadate, and after i want to return to custom rom flashing i both wit the official twrp and captains_throwbacks edition i have e: unable to recreate and-sec folder, i also have, when wanting to make factory reset whipe, formating cash partition failed. and sonmetimes i have a error that "your device is not rooted" especially when whiping... Im currently runnung SD 7.0 rom which installs despite of errors.

What have i done to make this errors, and what should i do to fix them? I tried to get help in several topics, but no bodz heleped, as i already did what helper sugested. Please anybody? When i try fo install permanent root it said failed but rooted any way. Before going back to stock with stock recovery i had no problems at all.

one thing i didnt try is to go back to stcock lock boot loader and go with installing RUU, and then whole proces of unlocking again...

---------- Post added at 05:25 PM ---------- Previous post was at 05:15 PM ----------

is and-sec folder kernel related, if so flasjhing boot.img and instaling kernel would fix it?
[One (M8) Original Android Development] Royyx:
When I use 2.8.6.0 It will only backup data and then fail. It works on 2.8.5.0. tmobile m8
[One (M8) Original Android Development] amirfida:
with twrp manager it says recovery install failed but when i rebooted into recovery it had 2.8.6.0 installed weird :/ after reboot in app also it says 2.8.6.0 installed please fix that :)
[One (M8) Original Android Development] rraaka:
with 2860 got a failed nan restore

should i try the TWRP_Recovery_2.8.6.0_M8_CPTB ? how is the CPTB edition different from the original twrp please ?

dont have much experience in this area so asking.......
[One (M8) Original Android Development] Captain_Throwback:
No, you shouldn't. You should post a log.
[One (M8) Original Android Development] itsallwright:
Running CM12 with TWRP 2.8.6.0, I am able to decrypt with my PIN. Now that CM has moved to 12.1, decryption no longer works.

Is decryption supposed to work with CM 12.1, or is this a known limitation?

I had this problem when I first flashed CM 12 also. I ended up finding a one off 2.8.2.0 build by [MENTION=1162986]Captain_Throwback[/MENTION] on theMikMik site that worked.

CM 12.1 M8 on T-Mobile

Thanks
[One (M8) Original Android Development] Captain_Throwback:
Well, I know it's a limitation now, since CM12.1 introduced this: https://github.com/CyanogenMod/android_device_htc_m8/commit/3e26d6cd896fc61a365c65247feddb778ead45a2
[One (M8) Original Android Development] Bubbadogg14:
I had the same issue with CPTB version. I'm scared to change Roms now because my back ups don't restore lol. I'm far from a recovery ace so I was hoping it wasn't just me. I was going to play around a bit but it became a nag having to set everything up after a full wipe again and again. I've been itching to try out a different ROM so I may be able to post up a log for you if I do so.
[One (M8) Original Android Development] Captain_Throwback:
You try disabling MD5 verification?
[One (M8) Original Android Development] itsallwright:
Is the inclusion of this keystore a minor nuisance that can be overcome. Or is this a major setback for TWRP decryption on CM 12.1?

If this is something you have time to look into, I can certainly help you test it out if needed.

Thanks
[One (M8) Original Android Development] Captain_Throwback:
I honestly don't know. I looked into it as much as I plan to today with zero success. I am now resuming my "break."

Maybe [MENTION=912474]Dees_Troy[/MENTION] wool know how to fix it when he gets a chance.
[One (M8) Original Android Development] Bubbadogg14:
I did it was still a no go. ?. Didn't get a chance to try again last night but probably will tonight.