yashsingh1/xdaforums huggingface dataset:
[One (M8) Original Android Development] m0han:
well, i just wanted to know whether twrp v3.1.0-0 for m8 now supports 'all decryption methods' - including (those for) stock Sense.
[One (M8) Original Android Development] nkk71:
Yes, HTC Stock Sense ROMs tested successfully Kitkat through Marshmallow.
[One (M8) Original Android Development] Leon:
Thanks for the update! :o
[One (M8) Original Android Development] xdagee:
any update plans for MultiROM support yet?
[One (M8) Original Android Development] Captain_Throwback:
1) Wrong thread.

2) Guess you'll have to wait and see. This release was a lot of work, and even though your question wasn't technically an ETA request, it has a "yet" in it implying that you'd like to know if something is happening sooner rather than later.

P.S. I'm already running a 3.1.0-based MultiROM TWRP on my M8...
[One (M8) Original Android Development] m0han:
have you posted it anywhere? a quick search didn't fetch anything.
[One (M8) Original Android Development] Captain_Throwback:
Nope.
[One (M8) Original Android Development] xdagee:
Sorry, i wanted to directly "quote" you. :)

As you've made us aware: hopes are high: we just waiting for that good news.
[One (M8) Original Android Development] ftck4:
hello, can I install on my smartphone Gionee elife e7 ?

thanks
[One (M8) Original Android Development] Black-FR:
This TWRP recovery here, is for the HTC One M8.

And you can't flash it on a different device.

You will have to search for the matching sub forum here on xda, for your device and then search in there, for the twrp thread.
[One (M8) Original Android Development] skudr:
Please help. This is applicable to 3.1.0 and 3.1.1.

I can't install any zips after device is encrypted. I tried it with and without decryption of data. TWTP tells "zip is corrupt". I tried to place zip in internal and external storage or to USB-OTG. Doesn't matter.

But I'm able to flash any zips before the encryption is enabled for the device.
[One (M8) Original Android Development] nkk71:
Upload your recovery.log
[One (M8) Original Android Development] skudr:
Here it is.
[One (M8) Original Android Development] nkk71:
Check your zip, it looks empty or corrupt:

Installing zip file '/external_sd/Flash/Xposed/xposed-v87-sdk21-arm.zip'
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
minzip: Not a Zip archive ([B][COLOR="Red"]found 0x00000000[/COLOR][/B])

0x00000000 should be the zip identifier which is 0x04034b50, so something is wrong with your file.
[One (M8) Original Android Development] gazzacbr:
Lol :) the carrot is dangling ;)
[One (M8) Original Android Development] Gundul91:
twrp on recovery

Hi, i have an htc one m8 with viperonem8 and twrp, yesterday for error i flash boot.img on recovery and now i don't know how to go on the twrp screen. I have to reinstall it or there is a simple way to solve my problem?

Thx
[One (M8) Original Android Development] Captain_Throwback:
If you flashed boot.img to the recovery partition, to get TWRP back, just flash TWRP again to recovery.
[One (M8) Original Android Development] Gundul91:
But i flash boot.img on the twrp screen, the other way are only by pc? After installing Android SDK and all the necessary driver?
[One (M8) Original Android Development] Captain_Throwback:
Yes, use fastboot to flash TWRP.
[One (M8) Original Android Development] Blupine:
Stock One M8 Can't Be Flashed?

Hi there. First off, I've done a bunch of googling and searching with this thread, and have been unable to find the info necessary to overcome the issue I'm having. That said, here we go...

I've got a stock HTC One M8 (T-Mo) that I'm trying to get root on. I don't care about loading ROMs or anything like that. I've unlocked the bootloader through the htcdev.com method, and I've tried flashing the latest TWRP for this device, which as of writing, is 3.1.1.0. However, flashing that using 'fastboot flash recovery twrp.img' fails with the following error: "FAILED (remote: image update error)".

I've tried using 'fastboot erase cache' before flashing, and it doesn't make a difference.

I tried going back a few versions, and it looks like the highest version number I can flash and get an 'OK' status message from, is 2.8.4. The other versions I've tried (2.8.7, 3.0.0, 3.1.0) all fail with the same error above.

I figured that was fine, I'd just use the older 2.8.4 version... but it hangs when trying to enter recovery. So now I do not have a working recovery, and no idea how to fix this so that I can get TWRP successfully flashed and usable.

Any thoughts?
[One (M8) Original Android Development] ljjehl:
TWRP 3.1.1-1 update

Here's an update to make TWRP recovery compatible with flashing Oreo based AOSP roms and fix errors with assert scripts. Just unzip and flash via fastboot or TWRP image install.

Many thanks to:
[MENTION=1162986]Captain_Throwback[/MENTION] for building this :)

Also to [MENTION=912474]Dees_Troy[/MENTION] and especially [MENTION=2605798]nkk71[/MENTION] for his patience and deep thought into getting this done.
[One (M8) Original Android Development] Kisakuku:
TWRP 3.2.0.0

Download

Changelog
[One (M8) Original Android Development] high_voltage:
Recovery 3.2.1 is up:

https://eu.dl.twrp.me/m8/

Strongly recommended for any oreo rom. Cheers! :)
[One (M8) Original Android Development] xdagee:
This was released weeks ago. I guess you're now noticing it. ?
[One (M8) Original Android Development] Arcanjo45:
Hey help please

hey i dont know why but my download always gets stuck on 99.9% and asks for login, help please. :(
[One (M8) Original Android Development] santhanak:
Hi,

i was following the steps properly on this link to install latest twrp.

https://twrp.me/leeco/leecole2.html

But, while wipe --> Advanced wipe --> i wiped all including system. Now i can see the storage space but when i mount, not able to see anything on my system.

In Twrp it says

Full Selinux support is present.

MTP Enabled

unable to locate storage device.

Now i wiped everything, nothing in this phone. could someone please help me to mount the device to system or any way i can load the ROM zip files into device to install.

My device is LE2 X526.

i tried changing the file system under advance wipe for Boot/Cache/System/data to FAT (i'm not sure which one was default one for LE2), i need help here too. I can see 6 file system Ext2, ext3, ext4, fat, exfat and fsfs. please let me know which one should i use and should i change to all 4 partition?

thanks for your help

---------- Post added at 02:14 PM ---------- Previous post was at 02:04 PM ----------

Hi,

i was following the steps properly on this link to install latest twrp.

https://twrp.me/leeco/leecole2.html

But, while wipe --> Advanced wipe --> i wiped all including system. Now i can see the storage space but when i mount, not able to see anything on my system.

In Twrp it says

Full Selinux support is present.

MTP Enabled

unable to locate storage device.

Now i wiped everything, nothing in this phone. could someone please help me to mount the device to system or any way i can load the ROM zip files into device to install.

My device is LE2 X526.

thanks for your help

---------- Post added at 02:15 PM ---------- Previous post was at 02:14 PM ----------

Hi,

i was following the steps properly on this link to install latest twrp.

https://twrp.me/leeco/leecole2.html

But, while wipe --> Advanced wipe --> i wiped all including system. Now i can see the storage space but when i mount, not able to see anything on my system.

In Twrp it says

Full Selinux support is present.

MTP Enabled

unable to locate storage device.

Now i wiped everything, nothing in this phone. could someone please help me to mount the device to system or any way i can load the ROM zip files into device to install.

My device is LE2 X526.

thanks for your help

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

Hi,

i was following the steps properly on this link to install latest twrp.

https://twrp.me/leeco/leecole2.html

But, while wipe --> Advanced wipe --> i wiped all including system. Now i can see the storage space but when i mount, not able to see anything on my system.

In Twrp it says

Full Selinux support is present.

MTP Enabled

unable to locate storage device.

Now i wiped everything, nothing in this phone. could someone please help me to mount the device to system or any way i can load the ROM zip files into device to install.

My device is LE2 X526.

thanks for your help
[One (M8) Original Android Development] Brachogan:
I have added a G-suit account which requires me to encrypt my data partition, but unfortunately now twrp cant mount my partition, so is anything i can do about this, as now i cant flash anything on my phone.

Using unofficial LOS 15.1, and latest twrp img
[One (M8) Original Android Development] old.splatterhand:
Has anybody seen that Twrp 3.2.2.0 is out?
[One (M8) Original Android Development] x000x:
I saw that twrp 3.2.2 was released but not sure if this version supports sprint htc one m8 devices.

I downloaded the .img file, put it on my sd card, booted up twrp, and the .img file is not 'seen' on the sd card... I'm running twrp 3.2.1 so not sure what the problem is
[One (M8) Original Android Development] The_Walking_Playground:
Hi,

TWRP for the M8 is unified for all variants (including Sprint). It has been for years. The issue you're having is unrelated to compatibility.

TWP
[One (M8) Original Android Development] Andrei_IW:
Prompt, after installing TvRP every 10 seconds reboots. How can this be remedied?
[One (M8) Original Android Development] The_Walking_Playground:
Hi,

Try downloading the image again, verifying the md5, and flash via fastboot.

TWP
[One (M8) Original Android Development] WTF!?:
Select install image before installin
[One (M8) Original Android Development] sayad1:
Have you solved your problem I have same problem please reply
[One (M8) Original Android Development] Blupine:
No, I never did solve it because there's only one known way to do it, and that's through a $25 app. I'm not going to pay $25 to root a phone I could probably buy for $25 at this point.
[One (M8) Original Android Development] fagouma:
Hello guys. I have the following problem regarding ERROR: 255 .

I decided to install a custom rom to my m8, as i am still using it. When i am trying to flash RR i get the error "Updater process ended with ERROR: 255 etc." I had flashed the 3.2.3-1 version. After the error i flashed 3.2.3-0 with no results. Ι have the .zip files(rom + gapps) on my sdcard. I read online about mounting SD-EXT but i can't check it on the MOUNT menu. I don't know if that matters. Currently my phone is wiped. I do have an adb full backup file but i want the custom rom.

Any suggestions?

Edit: After i posted i flashed versions 3.1.1-0 and 3.0.0-1 with the same error.
[One (M8) Original Android Development] xdagee:
flash the latest version of twrp as you have did. check the downloaded rom md5 there might have been a download mismatch.

be sure to download from the right source of the rom and check with the md5. and flash again. btw you should have reported to the app thread.
[One (M8) Original Android Development] fagouma:
Thank you for your answer. I restored the phone temporary with the adb nandroid backup but I will do the procedure again for sure cuz i don't plan on buying a new phone.

Can you provide me the link to the app thread in case the problem remains? I posted here cuz the "Support thread on xda-developers" link on the official website, prompted me here.
[One (M8) Original Android Development] erlange:
I accidentally hit the Factory Reset on the Bootloader then it rebooted into TWRP (v3.2.1) and wiped the data and Dalvik (this was normal procedure as Factory Reset actually should only wipe the Data and Cache, but not the internal storage), but to my shock, not only did it wipe the ROM but also formatted my external SD Card. but left the internal storage intact! The ROM still booted up normally (with the factory settings, off course) but the SD Card is now unreadable. It won't even mount to the phone saying the card is unformatted and asking if I wanted to format it then I followed the instruction but still the phone won't read the card and kept asking to format the card. I upgraded to TWRP 3.2.3 and installed Lineage Pie to see if that helped. I tried many recovery software on PC but to no avail.

This drove me mad as until now my SD Card is still useless and beyond recover.
[One (M8) Original Android Development] The_Walking_Playground:
Hi,

TWRP was updated to 3.2.3-1 to fix the issue you're referring to. That's why it's always important to have the latest version installed.

TWP
[One (M8) Original Android Development] Luciendal:
cant instal SUser/root the 3rd option

this its the log i have, im stuck in installing TWRP and Root my Htc M8 AT&T cell phone, help please:crying::crying:.

System.Net.WebException: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. ---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure.

at System.Net.TlsStream.EndWrite(IAsyncResult asyncResult)

at System.Net.ConnectStream.WriteHeadersCallback(IAsyncResult ar)

--- End of inner exception stack trace ---

at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)

at System.Net.WebClient.GetWebResponse(WebRequest request, IAsyncResult result)

at System.Net.WebClient.DownloadBitsResponseCallback(IAsyncResult result)

--- End of stack trace from previous location where exception was thrown ---

at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

at WinDroid_Toolkit.MainWindow.<DownloadFile>d__17.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

at WinDroid_Toolkit.MainWindow.<gainRootButton_Click>d__32.MoveNext()

1:46:37 PM[INFO]:Microsoft Windows NT 6.2.9200.0 64Bit

1:46:37 PM[INFO]:WinDroid Toolkit 3.1.0.0

1:46:37 PM[INFO]:mscorlib 4.0.0.0

1:46:37 PM[INFO]:PresentationFramework 4.0.0.0

1:46:37 PM[INFO]:System.Xaml 4.0.0.0

1:46:37 PM[INFO]:System 4.0.0.0

1:46:37 PM[INFO]:MahApps.Metro 1.2.4.0

1:46:37 PM[INFO]:AndroidLib 1.5.2.0

1:46:37 PM[INFO]:WindowsBase 4.0.0.0

1:46:37 PM[INFO]:PresentationCore 4.0.0.0

1:46:37 PM[INFO]:AutoUpdater.NET 1.3.2.0

1:46:37 PM[INFO]:System.IO.Compression.FileSystem 4.0.0.0

1:46:37 PM[UPDATE]:AutoUpdater started.

1:47:10 PM[DOWNLOAD]:Recovery download queued.

1:47:10 PM[DOWNLOAD]:Recovery download started.

1:47:14 PM[DEVICE]:Device changed to HTC One M8.

1:47:15 PM[DOWNLOAD]:Third ecovery download completed.

1:47:18 PM[DEVICE]:Refresh button clicked.

1:47:24 PM[DEVICE]:Detecting Device...

1:47:26 PM[DEVICE]:Connected: Unknown.

1:47:35 PM[DEVICE]:Refresh button clicked.

1:47:40 PM[DEVICE]:Detecting Device...

1:47:42 PM[DEVICE]:Connected: Unknown.

1:48:55 PM[DEVICE]:Refresh button clicked.

1:49:01 PM[DEVICE]:Detecting Device...

1:49:03 PM[DEVICE]:Connected: Online.

1:49:05 PM[ROOT]:SuperSU root command started.

1:49:12 PM[DEVICE]:Detecting Device...

1:49:13 PM[ROOT]:Connected: Online.

1:49:13 PM[DOWNLOAD]:Download of SuperSU started.

1:49:14 PM[DEVICE]:Connected: Online.
[One (M8) Original Android Development] ashyx:
What are you trying to do, install via the windroid tool kit?

Just use fastboot to flash the recovery image.
[One (M8) Original Android Development] sphenoid12:
can't fastboot TWRP, wrong img file?

Hello,

Ran into problems fastbooting TWRP img file on my m8. I have S-OFF and unlocked bootloader from Sunshine, but when I try to fastboot recovery .img file it gives me the BootMagic error.

PS C:\Program Files (x86)\Minimal ADB and Fastboot> ./fastboot flash recovery twrp.img
target reported max download size of 1826418688 bytes
sending 'recovery' (6746 KB)...
OKAY [ 0.896s]
writing 'recovery'...
FAILED (remote: image error! (BootMagic check fail))
finished. total time: 0.923s

I downloaded this img file:

github.com/TeamWin/android_device_htc_m8/blob/android-6.0/recovery/dt.img

I tried downloading previous versions of the 6.0 img but the result was the same.

Here is the result of getvar all:

PS C:\Program Files (x86)\Minimal ADB and Fastboot> ./fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 3.19.0.0000
(bootloader) version-baseband: 1.14.20.0930
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 6.21.605.3
(bootloader) version-misc: PVT SHIP S-OFF
(bootloader) serialno:
(bootloader) imei:
(bootloader) imei2: Not Support
(bootloader) meid:
(bootloader) product: m8_wlv
(bootloader) platform: hTCBmsm8974
(bootloader) modelid: 0P6B20000
(bootloader) cidnum: VZW__001
(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: 205bdca3
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.038s

What did I do wrong?

Thank you.
[One (M8) Original Android Development] DeeZZ_NuuZZ:
You have to get the TWRp.img not dt.img... dt.img is something else....

https://eu.dl.twrp.me/m8/ get it from there....
[One (M8) Original Android Development] sphenoid12:
Thank you!
[One (M8) Original Android Development] wd9895:
Release 3.4.0.1 is out

https://twrp.me/htc/htconem8gsm.html
[One (M8) Original Android Development] Murmel2k:
For some reason my M8 reboots when trying to get into the recovery. this started after i flashed and set up LineageOS 18. Also reflashing the recovery via fastboot doesn't work. any idea how to fix this?
[One (M8) Original Android Development] czerwinski76:
Hi !

I want to update my old M8 recovery but when I tried with lastest images files after 10 minutes it's always stay on "sending recovery image".

Edit : I used a smaller USB cable.
[One (M8) Original Android Development] jmz:
What is the issue? I don't quite understand what the fix is for
[One (M8) Original Android Development] old.splatterhand:
Look at this picture:
[One (M8) Original Android Development] jmz:
Hmm... what was the trigger for that? I don't have that issue.
[One (M8) Original Android Development] old.splatterhand:
Can't really tell you (because of my limited knowledge about bootloader/recovery things). One day it was there.

This pic is not from my phone, it's from another german guy, asking for solution in german forum.

My M8 is "only" missing OS-Version, rest is fine.

But it seems to happen many M8 users (at least here in germany). When i remember right, here at xda is also a thread about that.

Maybe this post is really a/the reason for that.
[One (M8) Original Android Development] ckpv5:
The OS info is missing after we reboot from Recovery.

I tried this :

Reflashed hboot - the OS info is there again

Boot to recovery then boot to bootloader - the OS info is missing again and gone until we reflash hboot
[One (M8) Original Android Development] jmz:
On Sense or AOSP rom?
[One (M8) Original Android Development] ckpv5:
Mine is Sense, no idea about AOSP
[One (M8) Original Android Development] old.splatterhand:
Sense here too. Never used Aosp on M8 or another recovery.
[One (M8) Original Android Development] Galaen:
I used an aosp rom a while back, and the OS info was missing on there as well.

Sent from my AT&T HTC One M8
[One (M8) Original Android Development] Brds7t7:
I'm using TWRP and I'm also getting the version-main info missing and OS entry comes up blank in bootloader.

Sent from My Calculator!
[One (M8) Original Android Development] woodydog:
Just checked and my os line is blank to. Very strange phone runs fine
[One (M8) Original Android Development] Brds7t7:
I've been told to switch back to Philz and re-flash the firmware to correct it.

Sent from My Calculator!
[One (M8) Original Android Development] skulldreamz:
Yeah I confirm as well mine does that but it doesn't seem to effect anything negative in the way the phone runs or the way twrp works
[One (M8) Original Android Development] old.splatterhand:
To use another recovery can't be a practical solution (at least for me).

Also it is only a "cosmetical" bug.

But i believe, the dev's around TWRP can fix this. It seems they simply did not know about this bug
[One (M8) Original Android Development] c5satellite2:
Problem lies with TWRP. Stock recovery does not exhibit the problem. Problem/fix is outlined in the link I posted on the last page. Hopefully it helps TWRP team fix the issue.

Same issue happening on M7 devices as well.
[One (M8) Original Android Development] tonokeemon:
PhilZ also does not exhibit this problem. I see there is an m7 build of 2.7.1 with your fix.. hopefully someone does the same for the M8
[One (M8) Original Android Development] migascalp:
I modified ramdisk/etc/recovery.fstab like this:

# Android fstab file.
#<src> <mnt_point> <type> <mnt_flags> <fs_mgr_flags>
# The filesystem that contains the filesystem checker binary (typically /system) cannot
# specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK

# Internal Storage
/boot emmc /dev/block/mmcblk0p42 flags=backup=1
/system ext4 /dev/block/mmcblk0p45 flags=backup=1;wipeingui;
/cache ext4 /dev/block/mmcblk0p46 flags=backup=1;wipeingui;wipeduringfactoryreset;canencryptbackup=1
/data ext4 /dev/block/mmcblk0p47 flags=backup=1;wipeingui;wipeduringfactoryreset;canencryptbackup=1;userdataencryptbackup=1

# because /proc/emmc is blank in recovery, we should add this here. Set backup to 0
[COLOR="Blue"]#/misc emmc /dev/block/mmcblk0p24 flags=backup=0[/COLOR]

# External Storage
/external_sd vfat /dev/block/mmcblk1p1 /dev/block/mmcblk1 flags=display="Micro SDcard";storage;wipeingui;removable
/usb-otg vfat /dev/block/sda1 /dev/block/sda flags=display="USB-OTG";storage;wipeingui;removable

I confirm that OS version no longer disappears in hboot.

Test_TWRP-2.7.1.0-m8_OS_Version_Fix.img

for testing only. i ' m not a dev ;)
[One (M8) Original Android Development] maidiopt:
Dear all,

So i am using TWRP for about 2 Months now. Im on 2.7.0.2.

Now i thought about to update it to 2.7.1.0. but im not sure about one thing.

My steps:

Downloaded TWRP Manager ROOT

Started app and clicked Install TWRP

Now i must chose my Device. There are 3 diffrent Models M8, M8tlh and M8wlv or something. I got a GSM Device.

EDIT: Chosed "M8" and it worked fine.
[One (M8) Original Android Development] Tower1972:
so has anyone used Migascalp's redone 2.7.1.0? If so...any issues. I really dislike not having the mainver info in my getvar and if this works I will be a happy camper
[One (M8) Original Android Development] migascalp:
I have not had any problems yet.

To replace version OS in bootloader you need to flash a firmware.
[One (M8) Original Android Development] omar302:
Thanks. Working fine & no disappearing OS in bootloader.
[One (M8) Original Android Development] migascalp:
thank for your feedback
[One (M8) Original Android Development] v0dKa.mL:
[MENTION=333497]migascalp[/MENTION] nice upload works fine thx
[One (M8) Original Android Development] starbase64:
Hi,

works fine. My OS version is Starbase64 :D

regards

starbase64
[One (M8) Original Android Development] Johnny424:
Are you guys reflashing firmware and then flashing the moded twrp or just flashing twrp?
[One (M8) Original Android Development] migascalp:
firmware for restoring OS Version then modded twrp .
[One (M8) Original Android Development] Brds7t7:
Modded version working great thanks. Hopefully this fix will be incorporated into the next release by the team.

Sent from My Calculator!
[One (M8) Original Android Development] guyd:
I can also confirm that this works. Thank you for posting it!
[One (M8) Original Android Development] DJ_Casper:
Guys,

Anyone know why I can't mount microSD card in TWRP Mount section?

It says like 121Gb there (I haven't formatted it yet through Android) > Just cleared Android and wanted to flash it from my new microSD card. Am I doing something wrong?

Best Regards,

Igor B.