yashsingh1/xdaforums huggingface dataset:
[One (M8) Original Android Development] Captain_Throwback:
This doesn't sound like a TWRP issue. If you see weird encryption errors when you boot into TWRP, first try rebooting back into system, and then back into recovery. It seems that the unexpected reboot left /data in an unstable state, which confuses TWRP into thinking it's encrypted. Usually rebooting back into system after this happens allows /data to normalize. If that doesn't work, doing a "Format Data" from within TWRP should fix the problem. No need to RUU.

---------- Post added at 12:14 PM ---------- Previous post was at 12:12 PM ----------

As long as it's working, I wouldn't worry too much about this.
[One (M8) Original Android Development] tuxattack80:
Tried to format data, along with formatting cache, dalvik,system,data,and internal storage under advanced settings. All would refuse to format saying that those partitions were unable to be mounted or crypto errors. Tried to mount them under the mount menu and wouldn't mount either. Wasn't a big deal as I keep an ruu close at all times just got me off guard because it happened out of nowhere, who knows I may have pocket encrypted my phone through cyanogenmod lol.
[One (M8) Original Android Development] Captain_Throwback:
So under Wipe, you tried the Format Data option where you have to type "yes" to confirm, and that wouldn't even work? Would've been nice to have a recovery log of that.
[One (M8) Original Android Development] tuxattack80:
Yeah tried that and I agree if it didn't happen at 1am and I was already procrastinating sleep on a night that had to be up at 5am I probably would of thought about getting one lol.
[One (M8) Original Android Development] hova1888:
Hi help me,I don't see link download twrp 2.8.7.0.
[One (M8) Original Android Development] dragontology:
Just go to their site, link is in the OP. Should be a download link there for TWRP 2.8.7.0. It'll be an IMG file, but you can flash that in TWRP as long as you have one of the last few versions. Just go to install, browse to where it is, then tap Image in the lower right, to switch from zips to images.
[One (M8) Original Android Development] Economistaterry:
Blank OS in HBOOT after USB Connection Error Flashing RUU

Guys, I was flashing RUU.exe to my M8 and I suddenly got USB Error after some few seconds the process started. HBOOT booted without a blank HBOOT and afterwards, RUU now returns with an error that I should flash the correct RUU. I didn't have any backup of the OS but I had a TWRP backup which I downloaded and it was on the phone so I tried recovering but still OS is blank. Phone also doesn't boot pass HBOOT, even after restoring. Please help.
[One (M8) Original Android Development] :
Resize system?

What's the downside/risk to running resize2fs on /system?
[One (M8) Original Android Development] GCbard:
Quick question. I cannot get twrp to mount my external sd card. Any advice?
[One (M8) Original Android Development] Captain_Throwback:
Device info? TWRP version? Log?

TWRP mounts my SD card just fine (and I'd think if this was a common issue, someone else would've reported it).
[One (M8) Original Android Development] YTHero:
I'm assuming that when you install a TWRP IMG through TWRP you flash it to the recovery. Is this correct? I'm having an issue trying to update my TWRP from 2.8.5.0 to 2.8.7.0, it just says "flash failed".

For context - I screwed up my build.prop and I'm trying to fix it with TWRP. But I'm having the issue where my device is encrypted and TWRP can't decrypt it. So, I don't know if the issue with flashing TWRP is related to the encryption.

Edit - I redownloaded TWRP 2.8.7.0 and tried flashing it again and it worked. So, I'm not sure what was going on earlier.

Also, I can now decrypt my phone. I tried "fix permissions" to repair my build.prop, but it didnt work. I guess I'm just going to update my rom. It was way out of date anyway.
[One (M8) Original Android Development] tim_h:
Hi all, in particular Captain_Throwback,

TRWP recovery seems to have stopped working on my HTC One M8 after the latest update. More info here: http://xdaforums.com/htc-one-m8/help/help-longer-enter-twrp-recovery-one-m8-t3186208

I don't think that I am doing anything wrong. Any advice?

Cheers,

Tim
[One (M8) Original Android Development] HC4Life:
Is there any TWRP 2.8.7.1 beta version for HTC One M8? :p
[One (M8) Original Android Development] TDoric:
I'm having trouble flashing the latest twrp! I was running it earlier, but then restored the stock recovery to take on an OTA, and now I can't flash anything above 2.8.0.0. HELP....
[One (M8) Original Android Development] Squida:
I am having that exact same problem one method that made me go from 2.8.0.3 to 2.8.1.0 was I did an erase cache right after i installed the recovery using adb command i think is fastboot erase cache and it should erase all cache then do a reboot out of bootloader making sure you don't load the recovery straight away, then load boot loader then recovery.

I still can not get it passed 2.8.1.0 and I am missing OS- after I did a firmware update, so now I think I may have stuffed something up.
[One (M8) Original Android Development] mrrocketdog:
you can also use the RUU method of renaming twrp to 0P6BIMG.zip(thats a zero , not an o) put it on your extsd , boot into bootloader , wait for it to recognize it , follow the prompts. i've used this method with twrp and superSU.

"all i can really do , is stay out of my own way and let the will of heaven be done"

---------- Post added at 03:26 PM ---------- Previous post was at 03:21 PM ----------

delete afterwards or each time you go to bootloader it will want to reinstall it. :)

"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] TDoric:
TWRP is a .img file... Is it okay to simply rename it to a .zip or do i need to find a .zip TWRP file?
[One (M8) Original Android Development] Squida:
yeah was gonna ask if you could please link us to the RUU that can be used.
[One (M8) Original Android Development] mrrocketdog:
yes , find a twrp.zip or need an app such zipme ,

https://www.dropbox.com/s/9sj4bgujndudoni/zip.me-20150723-161148.TiBkp?dl=0

to make into a .zip and then rename. i believe some rooted file explorers can also create .zips.

"all i can really do , is stay out of my own way and let the will of heaven be done"

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

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

heres twrp 2.8.7.0 already renamed if want to give it a shot.

https://www.dropbox.com/s/6wfnj414rlh3f7w/0P6BIMG.zip?dl=0

"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] ckvisme:
Now I use the 0P6BIMG zip to flash recovery as well... I don't know if it's needed but I always zip the recovery.img with an android-info.txt ...(soild explorer) .

When flashing superSU via bootloader is there an android-info.txt that's to be added... Or do you just rename a superSU update zip to 0P6BIMG.zip?
[One (M8) Original Android Development] mrrocketdog:
i just renamed and it worked fine.

by the way , credit for this (for me at least. because i didnt know about it) goes to [MENTION=4987085]xunholyx[/MENTION] for guinea pigging the idea.:thumbup:
[One (M8) Original Android Development] Squida:
I tried doing it with the zip file you supplied and I then put it on my EXTSD, Loaded Bootloader then went Hboot and then it loaded then green font then stopped and told me to press power button to restart I waited for it to restart back to ROM, then from the ROM, I loaded recovery and it was still only set to 2.8.1.0. So I don't think the zip file worked, if it is a higher version then 2.8.1.0.

Any ideas on why this is happening, also if it has anything to do with my OS- not displaying the firmware version. because that has hap-pend as well.
[One (M8) Original Android Development] mrrocketdog:
no , i'm sorry. i dont know why it didnt work. yes its twrp2.8.7.0. like i said it worked for me. hopefully someone more knowledgeable will chyme in.

when i did it , after the green text i had two options ; to start update or cancel , which restarted the phone.:what:

"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] TDoric:
Didn't work for me either. 2.8.0.1 is the latest TWRP I can flash. And that's strange because I had 2.8.7.0 before the 4.16.401.13 OTA. That's why I will try to flash the 4.16.401.10 RUU and start fresh to see if that works.
[One (M8) Original Android Development] tim_h:
Same for me, I had 2.8.5.0 before the OTA and it worked. After the OTA the newest version that works is 2.8.1.0. As far as I know that version is still based on KitKat, everything afterwards is on LolliPop base. Can you please report back if everything works again after the 4.16.401.10 RUU? Thanks!
[One (M8) Original Android Development] Squida:
Okay, I have manage to fix the problem, with Not being able to upgrade.

For those who have tried upgrading firmware through adb, make sure you type (fastboot oem RUU) before flashing the firmware.

I tried and it flashed the firmware but OS version went missing and also Anything higher then 2.8.1.0 would not install.

After updating the firmware again and then flashing the img file using a M8 Toolkit app, when I launched the recovery there, was no delay, in fact it was as quick as when I had 2.8.1.0 on there and now I can confirm, I am now on 2.8.7.0

Hope this helps those who have issues.
[One (M8) Original Android Development] tim_h:
Hmmm, strange, I went through a normal (successful) OTA and TWRP stopped working. Maybe I should try to reflash the firmware.zip just to be sure it is not related to some kind of incomplete update.
[One (M8) Original Android Development] TDoric:
The 4.16.401.10 is based on Lollipop 5.0.1.

That's what I was thinking but i don't have time to do it today. Probably over the weekend. I will report back if it works.
[One (M8) Original Android Development] whiperhack:
Just did it and no resolution. I take only the firmware, rename it 0P6BIMG.zip put it on SD card, all went well on flash and twrp 2.8.7.0 still don't boot.

Sent from my HTC One_M8
[One (M8) Original Android Development] Squida:
Nah you don't rename the firmware to OP6BIMG.zip, you flash firmware through fastboot on bootloader and you do the TWRP, either through ROM. Or flash it through adb or fastboot, can not remember which one it is.
[One (M8) Original Android Development] stathis95194:
You flash firmware in RUU mode

fastboot oem rebootRuu

I don't believe the 0P6BIMG method works for firmwares. I might try it later though just for the heck of it
[One (M8) Original Android Development] whiperhack:
Still no go. I tried even flashing only hboot and same issue.

The strange thing is that on 4.16.401.10 2.8.7.0 works.
[One (M8) Original Android Development] stathis95194:
Its very strange. Whats the current status of the phone? Firmware installed and recovery version? Are you s-off?
[One (M8) Original Android Development] whiperhack:
(bootloader) version: 0.5

(bootloader) version-bootloader: 3.19.0.0000

(bootloader) version-baseband: 1.25.214500021.06

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 4.16.401.13

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

(bootloader) serialno: hidden

(bootloader) imei: hidden

(bootloader) imei2: Not Support

(bootloader) meid: 00000000000000

(bootloader) product: m8_ul

(bootloader) platform: hTCBmsm8974

(bootloader) modelid: 0P6B10000

(bootloader) cidnum: HTC__032

(bootloader) battery-status: good

(bootloader) battery-voltage: 0mV

(bootloader) partition-layout: Generic

(bootloader) security: off

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT

(bootloader) commitno-bootloader: f063fb42

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

Recovery that boots and works is 2.8.1.0 and nothing above it.
[One (M8) Original Android Development] stathis95194:
I have the exact same configuration as you except I am supercid and TWRP 2.8.7.0 is working fine.

Did you fastboot flash recovery recovery.img

Or

fastboot boot recovery.img?
[One (M8) Original Android Development] shorty1483:
Loving TWRP, but this issue made me change it to Philz ATM.

Gesendet von meinem HTC One_M8 mit Tapatalk
[One (M8) Original Android Development] jcrompton:
Stop Backup

May have been pointed out already but I just found out that once a backup is started there appears to be NO way to cancel it.

I held the power button down for like 20 seconds and no joy.

Thanks
[One (M8) Original Android Development] auslander2012:
Thanks -- I can confirm S-OFF on mine. Just to be clear, here's what I've got from the boot loader:

*** UNLOCKED ***

M8_WLV PVT SHIP S-OFF

CID-VZW__001

HBOOT-3.16.0.0000

RADIO-0.89.20.0321

OpenDSP-v38.2.2-00542-M8974.0311

OS-

eMMC-boot 2048MB

Apr 1 2014,00:26:53.0

​

I have tried this with and without an external SD card.

EDIT: I flashed PhilZ Touch 6.27.5 using Flashify and it just did a backup without issue.
[One (M8) Original Android Development] 2015Ducatimulti:
yeah I have S-off and, when I get my phone all set-up the way I like it, I do a back-up, but it wont boot all the way with that back up restored, but I have a back-up that just the stock rom with root that`s it, no frozen apps or anything and it boots fine. has me puzzled why this acting this way.:confused:
[One (M8) Original Android Development] DeeZZ_NuuZZ:
If you had read the last few pages you would know some ppl have problems with back ups that they are corrupted or also restoring always fails...try another recovery

Gesendet von meinem HTC One_M8 mit Tapatalk
[One (M8) Original Android Development] KnifeFed:
+1 for the same issue a lot of others seem to be having. After trying to restore my first, stock rooted backup it would not boot past the HTC logo. I'm s-off, used external SD, no compression.
[One (M8) Original Android Development] 2015Ducatimulti:
yes I did read the last few pages, I was basically let people know that I had the same problem too, but yes I did switch to Philz recovery all`s good :D
[One (M8) Original Android Development] renn9420:
Will upload 2.7.0.4 later today when I get home from work. All backups restore fine and have had no known issues.

Phone: T-Mobile HTC M8 Rooted/SuperCID/S-Off

ROM: Latest Cyanogen

Recovery: Lates TWRP
[One (M8) Original Android Development] yatindroid:
Please make file manager text size some big so choosing file some more accurate

Sent from HTC One S
[One (M8) Original Android Development] Ch4m3l30n:
The latest available from the TWRP site is still 2.7.0.2.

Are you sure you're not actually running JMZ's unofficial build which is actually 2.7.0.2?

---------- Post added at 02:27 PM ---------- Previous post was at 02:23 PM ----------

First, you're in the thread for the HTC One M8, not the One S that you have.

Next, the correct place to post such requests is on the TWRP GitHub Issues log.

Finally, you may want to watch this enhancement specifically: Add FreeType font support #142.
[One (M8) Original Android Development] renn9420:
I'm pretty sure it's TWRP 2.7.0.4 and its in another thread for HTC M8.

Phone: T-Mobile HTC M8 Rooted/SuperCID/S-Off

ROM: Latest Cyanogen

Recovery: Latest TWRP

---------- Post added at 02:31 PM ---------- Previous post was at 02:28 PM ----------

http://xdaforums.com/showthread.php?t=2698134
[One (M8) Original Android Development] Ch4m3l30n:
Yeah, that's the one I'm referring to which is actually functionally identical to the 2.7.0.2 here as explained in the 2nd link I gave which is a post earlier in this very thread.
[One (M8) Original Android Development] DeathmonkeyGTX:
Chameleon is correct, renn9420. Just in case you still don't believe him.
[One (M8) Original Android Development] BenPope:
2.7.1.0 is up. Haven't tried it yet.
[One (M8) Original Android Development] c5satellite2:
Deathmonkey and chameleon are correct. 2.7.0.2 official is the same as 2.7.0.4 unofficial.
[One (M8) Original Android Development] s--c:
Do you have a flashable zip via recovery?
[One (M8) Original Android Development] MrMarkEdward:
Get flashify from market run program select recovery then download recovery the twrp then choose 2.7.1.0 and then flash after it downloads.

FLASHIFY
[One (M8) Original Android Development] starbase64:
Hi,

someone has a changelog for the new version?

regards

starbase64
[One (M8) Original Android Development] NYCHitman1:
It's common courtesy to not ask. Especially when it's already been said.

When DT updates the OP, it will be there. However, if you're feeling impatient - here you go.
[One (M8) Original Android Development] shorty1483:
Kinda dumbass attitude in talking with others imho...
[One (M8) Original Android Development] whiperhack:
C:\Program Files (x86)\HTC\HTC Sync Manager\HTC Sync>fastboot flash recovery twrp-2.8.7.0-m8.img

sending 'recovery' (17020 KB)... OKAY

writing 'recovery'... OKAY

C:\Program Files (x86)\HTC\HTC Sync Manager\HTC Sync>fastboot boot twrp-2.8.7.0-m8.img

downloading 'boot.img'... OKAY

booting... OKAY

C:\Program Files (x86)\HTC\HTC Sync Manager\HTC Sync>

Still the same issue. I will downgrade to 4.16.401.10 if 2.8.1.0 will not be compatible in the future.
[One (M8) Original Android Development] stathis95194:
[MENTION=3710150]whiperhack[/MENTION]

Don't flash boot I think it's not working after 2.8.1.0

fastboot flash recovery recovery.img
[One (M8) Original Android Development] ckvisme:
Not sure if everyone understood what was said previously...

.. But you guys that are trying to flash recovery via bootloader (s-off only) name it:

0P6BIMG.zip

*the first character is a zero NOT the letter o

and just FYI I flash recovery and firmware ruu's via bootloader using 0P6BIMG.zip

...there are threads here on xda that have the bootloader flashable firmware zips already set up
[One (M8) Original Android Development] TDoric:
Okay, I just flashed the RUU and everything works flawlessly. I am currently on TWRP 2.8.7.0.

The exact procedure I followed was:

1) restore the stock nandroid backup found on XDA

2) since the latest working link was for the 3.29.401.6, I also restored the 3.29.401.6 stock recovery

3) preform OTA update to the version 4.16.401.10 and ignore the latest one.

4) flash the 4.16.401.10 RUU using the 0P6BIMG.zip on root of SD card method

5) boot the OS and update all the apps (probably not relevant but did it anyway)

6) flash the latest TWRP using adb/fastboot

7)enjoy and have a beer!

Hopefully everybody else with the same problem resolves it the same way. Good luck guys!
[One (M8) Original Android Development] Cremnomaniac:
First off, I'm new to the M8 and a noob. I bought a used Verizon M8 with KK 4.4.2.

I ran sunshine and got S-off, bootloader unlocked.

I fastboot flashed the latest version of TWRP 2.8.7.0, but it stuck at "entering Recovery". I re-flashed it doing "erase cache". Same thing, and retried it a 3rd time. No success.

Some older threads suggested trying previous versions of TWRP so I flashed TWRP 2.8.3.0, same problem.

After I flashed TWRP 2.7.1.0 and I can now boot TWRP. I had some problem flashing superSU, but now have root also. It would be helpful to note any compatibility problems with new versions of TWRP.

Anyway -

The problem I'm left with is, I can't do a backup. I keep getting "unable to mount /system", and backup fails.

Any suggestions?

Thank you
[One (M8) Original Android Development] nhoc_maruko9x:
How can I root my M8 using this recovery but keep receiving OTA updates?
[One (M8) Original Android Development] JensL76:
Root does not destroy OTA updates, but they are diffs, that means you need the original files plus the OTA-difference to get the new files. If you change original files, the update will stop with a failure.

TWRP is not OTA script compatible, so just boot it, don't flash it, or: Reflash the original recovery by unzipping the OTA update, there you find the latest recovery.img to flash the original OTA update. You don't need to be S-OFF for OTA updates.

---------- Post added at 11:48 AM ---------- Previous post was at 11:33 AM ----------

The cache is just relevant for apps, not for the recovery.

I guess your issue has to do with the fact that you did not upgrade to LP before.

See above. I'm not sure which partition needs to be updated before or if the original upgrade repartitions the system.

I guess you are unable to mount it as it is not compatible with your partitions.

You could use the nandroid online backup in the Google Play store, flash your system with the latest ruu update and start from scratch.
[One (M8) Original Android Development] Cremnomaniac:
Thank you for the reply. I'll try the Google app.
[One (M8) Original Android Development] Captain_Throwback:
You need version 2.8.1.0.
[One (M8) Original Android Development] Beukhof1:
So I have soff via sunshine now (thanks for that ). Flashed stock European firmware then Flashed twrp 2.8.7.0 and changed the cid to 11111111 (supercid) (was euro tmobile) then Flashed cm12.1 again and still it's not booting im getting stuck on boot logo.

I can flash and boot sense based roms (like insertcoin etc.) just fine but when i try cm12.1 for example i get stuck a bootloop i have tryed cm12.1/candy5/euphoria with and witout diferent gapps. Also tried to wipe with advanced setting and just a factory reset.

I also see this while flashing cm12.1: "detected filesystem ext4 for /dev/block/platform/msm_sdcc.1/by-name/system" and "patching system image unconditionally"

What am I doing wrong? It feels like I'm missing something.
[One (M8) Original Android Development] tim_h:
Any luck? I still have no clue what actually causes the problem with TWRP newer than 2.8.1.0. If you downgrade (using an RUU, I guess), it would be very good to hear from you whether the problem went away. Thanks!
[One (M8) Original Android Development] whiperhack:
Hi, I already stated that it works on previous firmware after downgrade. I searched google and it seems that the issue is generic. On other forums is the same topic. So until new one (twrp or firmware) I stay on 2.8.1.0.

Sent from my HTC One_M8
[One (M8) Original Android Development] tim_h:
So what you say is you "downgraded" to the version before the StageFright OTA and now TWRP 2.8.7.0 is working again? Two questions:

1) Aren't your steps 1 to 3 redundant? Doesn't the RUU ZIP overwrite everything anyway?

2) Is your software marked as "official" or "tampered"? We are trying to find out what causes the TWRP issue, and it is really puzzling, see here: http://xdaforums.com/showpost.php?p=62622042&postcount=52

---------- Post added at 11:13 PM ---------- Previous post was at 11:09 PM ----------

Ok, sorry, I missed that TWRP started working for you again after downgrading. Can you point me to other forums where this is being discussed? I really want to find out what causes this ...
[One (M8) Original Android Development] whiperhack:
It's Russian 4pda. And read the last posts from m8. I found it today.

Sent from my HTC One_M8
[One (M8) Original Android Development] Leon:
after making s-off i cant log in into recovery ? any ideas why?..
[One (M8) Original Android Development] Cremnomaniac:
Thanx for the feedback. Looks like TWRP 2.8.1.0 not only boots okay, but it will mount /system and do the backup without fail. :good:
[One (M8) Original Android Development] TDoric:
1) probably yes, but i wanted to be all stock and on 4.16.401.10 before flashing the RUU, and the only version that was available to download was an older one so I updated it to the same as the RUU. Probably fully redundant but it worked.

2) The software status is official.
[One (M8) Original Android Development] -Duir-:
Yeah, completely redundant/unnecessary. RUU returns everything to stock (according to the version of the RUU). Because of how it does it, it also resets the flag to official.

Come to think of it, I don't think I've noticed mine say modified. Maybe it's because I always use Sense ROMs. Flashing TWRP, custom kernel, and/or custom Sense ROM never changed the flag.