yashsingh1/xdaforums huggingface dataset:
[One (M9) Original Android Development] nkk71:
My apologies for asking for logs (again :confused:)

Next time just link me the previous ones, seems I must have missed them.

Won't need them your previous statement is enough for me.

Thanks for the bug report though.
[One (M9) Original Android Development] bigbiff:
Can you restore it from adb restore from your PC? What partitions are inside the backup?
[One (M9) Original Android Development] BiOMeX:
/data (exl.storage), /system, /boot - it was here: https://xdaforums.com/showpost.php?p=74755792&postcount=1296

---------- Post added at 11:41 AM ---------- Previous post was at 11:15 AM ----------

I can restore that backup (made, btw, in TWRP 3.2.0.0) by TWRP 3.1.1.0, not 3.2.0.0.
[One (M9) Original Android Development] nkk71:
TWRP 3.2.0-1 (unofficial) has been uploaded to the Downloads Tab

Should fix your restore issue.

Thanks to jason (not sure what your xda nick is) for uploading a patch. It works for me :)

The build is by the Captain_Throwback in case anyone is wondering. Though he may have decided to retire from actively posting on xda, he is still contributing to this community.

Go give him a thanks ;)

UPDATE 2017-12-09: Official TWRP 3.2.1-0 which be found on https://dl.twrp.me
[One (M9) Original Android Development] phpbb3:
Reverted to 3.1.1, couldn't convince 3.2 to restore a backup.

EDIT: The post above mine appears to contain the fix. Thanks [MENTION=1162986]Captain_Throwback[/MENTION] and [MENTION=2605798]nkk71[/MENTION]
[One (M9) Original Android Development] BiOMeX:
Yep, it works fine! 10x you very much! :)
[One (M9) Original Android Development] nkk71:
Official TWRP 3.2.1-0 is out, you can download it from https://dl.twrp.me​

That is the most up to date version, includes the restore bugfix, and is the recommended version. Enjoy
[One (M9) Original Android Development] doomscooter:
Any one have link new twrp 3.2.1-1?
[One (M9) Original Android Development] Fain11:
There is no official twrp 3.2.1.1 released for now.

Sorry
[One (M9) Original Android Development] sgtslaughter64:
I hope someone can help. I used TWRP to flash a new rom for my M9. When I went to reboot, I got an error message that no ROM was installed. I tried flashing the rom and the firmware again, not I can only get into bootloader and download modes. I tried flashing the rom in RUU mode to no avail. Any help or suggestions is appreciated. I have flashed TWRP in fastboot. I get a message saying that it was successful but I still cant boot into recovery.
[One (M9) Original Android Development] fire_angel:
You have a backup of you old ROM?
[One (M9) Original Android Development] roobre:
/data decryption seems to be broken on latest version (3.2.1-0) if using Oreo or higher.
[One (M9) Original Android Development] The_Walking_Playground:
Hi,

When was Oreo released for the M9? I thought the last release was Nougat? I'm sure if there was an official Oreo release, then TWRP would be updated.

TWP
[One (M9) Original Android Development] phpbb3:
Well, there is an official AICP release.

dwnld.aicp-rom.com/?device=himaul
[One (M9) Original Android Development] The_Walking_Playground:
Hi,

That's not an official HTC release though. However, it does appear that [MENTION=1162986]Captain_Throwback[/MENTION] is aware and will update TWRP at some point.

TWP
[One (M9) Original Android Development] The_Walking_Playground:
Hi,

It looks like [MENTION=1162986]Captain_Throwback[/MENTION] is looking for a tester for a TWRP which may have Oreo AOSP decryption support. Any takers want to try and post in the Github issue if it works?

TWP
[One (M9) Original Android Development] The_Walking_Playground:
Hi,

Has anyone tried the TWRP [MENTION=1162986]Captain_Throwback[/MENTION] posted on Github? He says it fixes the AOSP decryption issue.

TWP
[One (M9) Original Android Development] The_Walking_Playground:
Hi,

It appears that the official TWRP has been updated! Thanks, [MENTION=1162986]Captain_Throwback[/MENTION]!

TWP
[One (M9) Original Android Development] Selorm611:
Battery drain

Sorry if someone has already asked this question here (I can't find anything on it). I noticed that anytime I flash TWRP as my recovery, my battery drains much faster than when I'm using the stock recovery. I'm using the Sprint variant with the latest firmware. Can anyone help me out? I really need it so I can install a custom ROM
[One (M9) Original Android Development] The_Walking_Playground:
Hi,

Flashing TWRP will not affect your battery life in Android. TWRP isn't operational while in Android. It's on a completely separate partition, just like stock recovery. It's impossible for it to have any effect on your battery in Android. Your issue is undoubtedly caused by something else, probably a rogue app.

TWP
[One (M9) Original Android Development] dragonsacred:
i need help, i'm trying to install twrp in one m9 with nougat:

open CMD:

type adb reboot bootloader

after this step my android enter in bootloader mode

type in cmd:

fastboot flash recovery twrp.img

after that i see in cmd < waiting for device > but don't do anything

i tried the same in download and recovery mode, and obtain same result

i have one m9 dev edition, no root, stock recovery, usb debugging enabled
[One (M9) Original Android Development] The_Walking_Playground:
Hi,

Have you installed HTC Sync Manager, to make sure the necessary drivers are installed on your PC? What you're describing sounds like a driver issue.

TWP
[One (M9) Original Android Development] Selorm611:
Maybe it shouldn't affect anything in theory, but this is the reality where it seems to affect my device. I literally did not install anything else after flashing TWRP. I noticed this problem on two different stock ROMS (Marshmallow and Nougat) and on an AICP Oreo ROM as well. Looking through old and new posts on XDA for other devices, I noticed that others had the exact same problem as me. Please help me out, because I used to get about 3:40 SoT with data on all the time, but I barely get 2 hours now. And the problem disappears when I go back to the stock recovery from hTC. I tried GSam and BBS but they didn't show anything different when I had the stock recovery vs TWRP
[One (M9) Original Android Development] The_Walking_Playground:
Hi,

There's nothing for anyone to do here. The reality is that recovery is a completely separate partition from anything related to booted Android. I'm sorry but that's a fact. If you find some quantifiable proof to the contrary, I will digress, but ask any developer here on XDA and they will tell you the same thing.

TWP
[One (M9) Original Android Development] mikeataol:
If you think twrp is a culprit ( Im pretty sure it isn't)

you can flash twrp, flash your ROM, then flash stock recovery
[One (M9) Original Android Development] Selorm611:
w

That's what I originally planned to do if nothing else worked. I went back to stock recovery and the drain went away. I was hoping there was a fix for it without having to get rid of TWRP. Thanks anyway
[One (M9) Original Android Development] h8isgr8:
Anyone else having trouble mounting USB-OTG on the current 3.2.2-0 build? Stock ROM sees it fine and TWRP on my M8 can also see it. Just got this M9 and I'm trying to make a backup before I do anything.
[One (M9) Original Android Development] Unoath:
Yup same and also happens with newest version "3.2.3-0". Had to downgrade TWRP to 3.2.1-0 version for it to recognize the OTG and storage device. If you wanted to use the newest and flash a ROM you can use the push command to send it to your internal storage.
[One (M9) Original Android Development] The_Walking_Playground:
Hi,

I just tried USB-OTG on my M9 on 3.2.3-0 and it's working fine. However, I have to use my adapter that also has a charging port built in. It seems the unpowered adapter no longer works. The new kernel that is being used to allow AOSP decryption must not have USB HOST mode enabled. I'm sure if someone rebuilds the kernel with that mode enabled and submits an update to TWRP Gerrit, they can merge the fix.

TWP

[MENTION=1882695]h8isgr8[/MENTION] [MENTION=5250340]Unoath[/MENTION]

Can one of you try this version of 3.2.3-0 and see if OTG works? It seems to work properly for me with this version, without my powered adapter. If it does, I'll try to get the updated kernel merged.

https://www.dropbox.com/s/3bm3fm8ddmpz12c/twrp-3.2.3-0-hima-REPACK-TWP.img?dl=0
[One (M9) Original Android Development] Unoath:
I just flashed it and still doesn't let me select it. My USB sticks' light is flashing on and off and that didn't happen with the official 3.2.3-0 version of TWRP. So its getting seen by the recovery just doesn't let me select it and still says (0MB). Reflashed 3.2.1-0 and works just fine.
[One (M9) Original Android Development] The_Walking_Playground:
Hi,

Is your USB storage formatted as exFAT? If so, that's probably the issue. I think exFAT support is missing from the last two versions of TWRP. So the problem is apparently twofold.

TWP
[One (M9) Original Android Development] Unoath:
Never used exFAT. It is NTFS and tried another USB that was FAT32 that didn't work either. Both USB's work on 3.2.1-0.
[One (M9) Original Android Development] The_Walking_Playground:
Hi,

Did anybody else see [MENTION=1162986]Captain_Throwback[/MENTION]'s update for M9 TWRP?

https://twitter.com/Cpt_Throwback/status/1091131830877720577

Looks like right now he needs some testers for the latest version. I would help but my old M9 is MIA :(. Anybody else up to the challenge?

TWP
[One (M9) Original Android Development] Fain11:
Anyone booted 3.3.1.0?

I'm on last Leedroid with last 401 firmware, and was unable to boot.

Had to flash 3.3.0.0 back.
[One (M9) Original Android Development] Pimpi18:
Feedback:

Hello,

i have yesterday update my HTC One M9 TWRP. I have installed 3.2.1 from 2017 and install the 3.3.1. After update TWRP i reboot and my android was booting fine. Then i would change the rom so i restart the phone and go into the bootloader and now the problem starts that the dowload modus and recovery do not more work and i have no access to this.

The bootloader is unlocked wit S-On. So i have installed with fastboot and htc download modus 3.3.0, 3.2.3 and stop at 3.2.1 from 2017 that works normaly.

Can i do somethink to support you with more information to fix the problems?

Thanks Pimpi
[One (M9) Original Android Development] jmac052002:
I never have been able to get the 3 3.1.0 to boot on my HTC one m9, even when I'm on stock ROM or custom ROM, I have to stay on 3.3.0.0 as well.
[One (M9) Original Android Development] The_Walking_Playground:
Hi,

Did you try 3.3.1-1?

TWP
[One (M9) Original Android Development] jmac052002:
Nope just seeing that was put there what today that's awesome, I'll be trying it now, have you it booting up okay?
[One (M9) Original Android Development] The_Walking_Playground:
Hi,

It looks like it's gone now, but there's an updated 3.3.1-0 build. And I can confirm the new 3.3.1-0 build boots.

TWP
[One (M9) Original Android Development] Cường Hồ:
I also could not install 3.3.1.3.2.3 still more stable

Gửi từ SM-G930F của tôi bằng cách sử dụng Tapatalk
[One (M9) Original Android Development] The_Walking_Playground:
Hi,

Did you see my note above? There's an updated version of 3.3.1-0. Please try it and confirm before saying the older version is better, especially since the OP says to use the latest version (if you're not on stock Nougat or older, at least). What makes it "more stable" to you?

TWP
[One (M9) Original Android Development] Cường Hồ:
I installed version 3.3.0 but it did not install htc home zip, and version 3.3.1 did not work

Gửi từ SM-G930F của tôi bằng cách sử dụng Tapatalk
[One (M9) Original Android Development] The_Walking_Playground:
Hi,

Again, there's an updated 3.3.1-0 image (as of a few hours ago). And the issue you're describing about something not installing isn't a TWRP issue - it's an issue with poorly scripted zips. It's been mentioned in a few places already and apparently [MENTION=1162986]Captain_Throwback[/MENTION] has been telling ROM devs and zip makers to update their zips for several years (see the 2nd post of this thread). But if 3.2.3 works better for you, I guess you can use whatever version you want. Just understand that TWRP itself is fine, and that you should inform whoever made your zip to update it so it's generally compatible with all TWRP versions.

TWP
[One (M9) Original Android Development] jmac052002:
I can confirm the 3.3.1.1 is working and booting up great , just flashed it to my M9!
[One (M9) Original Android Development] jmac052002:
Thanks for pointing that out to me I actually had already downloaded the 3.3.1.1 you told me about and flashed it before it was taken down so I really appreciate that because luckily I had made a couple copies already and so that's my recovery now even though it's not there anymore..lol..
[One (M9) Original Android Development] drfarmkid:
I'm trying to install a new ROM, but it doesn't work right. When I do it, TWRP says something about "failed to umount /system (device or resource busy)". (the wording may not be 100% accurate, but that's the message). It goes ahead and installs the ROM, but then it won't boot into the new ROM. It gets stuck at the animated logo and won't go on, even after hours. This happens with any ROM I've tried.
[One (M9) Original Android Development] The_Walking_Playground:
Hi,

What ROM are you trying to install, and have you tried the latest unofficial TWRP?

TWP

P.S. It's also customary to provide a recovery log as detailed in the OP when reporting an issue. Then the answers to the above questions I ask would already be answered ;)
[One (M9) Original Android Development] drfarmkid:
I apologize for not including the log. I didn't save it at the time, and it takes a while to go through the whole process to recreate it. Anyway, I've attached it to this post.

This behavior seems to be independent of the ROM. I've gotten the same result with 4 different ROMs: Lineage OS 16, AICP 13.1, crDroidAndroid 8.1, and the stock ROM. It all started when I tried to go from the stock ROM to Lineage OS and that failed (using TWRP 3.2.2) and then couldn't restore my backup when that failed (seems to be due to the same inability to unmount /system.) Eventually, I installed TWRP 2.8.7 and was able to wipe /system and then installed TWRP 3.3.1 and was able to get Lineage OS 16 installed.

Phone is unlocked and S-OFF. CID is 11111111. Firmware is 4.27.531.6
[One (M9) Original Android Development] kayyappan:
[MENTION=1162986]Captain_Throwback[/MENTION], Hi, is it possible to provide a separate vendor partition for LineageOS 16.0 like it is on 17.1? Wanted to try GSIs including that of Halium 9. Thank you.
[One (M9) Original Android Development] Claymore1297:
This is a thread about twrp not the Rom. But this device is not treble compatible, so it will not work.
[One (M9) Original Android Development] kayyappan:
Thank you for your prompt reply. I was under the impression that since you have created a vendor partition for LineageOS 17.1, I could try GSIs on 16.0 on M9 if possible. I could successfully try GSIs on another device(LeEco X2) which did not proceed beyond M from the manufacturer until a dev created a vendor partition for that device. I could successfully boot Halium 9 too.

Sorry for posting my query under TWRP thread instead of ROM thread.
[One (M9) Original Android Development] SunEater:
I am just confused what is difference between in official and unofficial version of twrp which is recommended for android 10 rom as they use sar.
[One (M9) Original Android Development] Captain_Throwback:
Use the official TWRP.
[One (M9) Original Android Development] SunEater:
Okk thank you sir?
[One (M9) Original Android Development] mmortal03:
I was getting stuck on the TWRP splash screen after trying to restore a TWRP backup -- possibly after Magisk had been installed, but not 100% sure.

This is what I did to fix it. *The following deletes what's on your phone*, but I was restoring a backup, so it didn't matter.

Removed SD card

Booted to the download menu and tried:

fastboot erase userdata

fastboot erase cache

fastboot erase system

fastboot format data

I was getting the error, "Formatting is not supported for file system with type ' ' "

I tried booting back into TWRP, and when it got stuck at the splash screen, I was still able to connect with:

adb shell

I ran: cat /etc/fstab

I copied the /dev/block/mmcblkXXXX item that corresponded to the /data partition

My data partition was ext4, so I ran: make_ext4fs /dev/block/mmcblkXXXX

Then I tried to reboot the phone into TWRP again, and this time it worked!

Once successful, I clean installed the OS corresponding with the backup, rebooted, let it load fresh, and then rebooted to TWRP again and was able to restore the backup of boot, system, and data.
[One (M9) Original Android Development] salvaggente:
Salve, gentilmente dovrei installare la TWRP versione 2.8.4.0 ma non la trovo da nessuna parte, ho un telefono M9 di serie e se non sbaglio dovrei flashare la versione scritta sopra, dove cercarla? Mille grazie

@Captain_Throwback

avresti qualche consiglio?

PROBLEM SOLVED!!!
[One (M9) Original Android Development] Captain_Throwback:
I haven't actually tested USB-OTG. Not sure why it wouldn't be working.

You don't mount system to back it up - you have to back it up FIRST, before mounting it. If you have a system backup that is anything other than an image file, it won't work.
[One (M9) Original Android Development] liam_davenport:
OTG Working great here :D
[One (M9) Original Android Development] Captain_Throwback:
[MENTION=5254980]MCube74[/MENTION]

I just tested USB-OTG and it is also working fine for me. Do you have a recovery log of when you try to connect/mount the OTG drive? Do you see a light on the drive that indicates it's being accessed at all, or does nothing happen?
[One (M9) Original Android Development] MCube74:
There is no light on he drive. Actually my usb drive has no light.

How to get this recovery log?

You mean you just plugged USB-OTG and it works withou having to set anything?

I have test 2 different OTG devices and both don't work in TWRP. It works fine otherwise in normal use.
[One (M9) Original Android Development] Captain_Throwback:
Once you plug it in, you just mount it in the "Mount" menu. Recovery log option is under Advanced options.
[One (M9) Original Android Development] Azerox:
So the way i should do it is:

Download and flash 2.8.6.3 > Backup system etc > Install SU or Custom ROM.

And if i want OTA i just go flash system img (from backup) and flash original recovery > boot > OTA > repeat?
[One (M9) Original Android Development] MCube74:
I did try that. When I plugged in my device and clicked "mount" and then Clicked mount USB Stotrage.

It then says "USB Storage Mounted" and then I can't exit from that screen. There is only one button at the bottom which says "unmount".
[One (M9) Original Android Development] Captain_Throwback:
You mount USB-OTG by pressing the check box next to "USB-OTG" in the list. The storage options at the bottom are for the external SD card.
[One (M9) Original Android Development] Captain_Throwback:
I believe that's correct!
[One (M9) Original Android Development] Captain_Throwback:
Uploaded 2.8.6.4 Beta. Changelog at the bottom of post #2.

Happy to see kernel source so early - it makes me appreciate HTC a little bit more.
[One (M9) Original Android Development] Rydah:
Great addition! Thanks.

Sent From My HTC One (M9)
[One (M9) Original Android Development] liam_davenport:
Awesome thanks bro :D
[One (M9) Original Android Development] MCube74:
Thanks.

So we just flash this the same way we flashed the TWRP 2.8.6.3 recovery.
[One (M9) Original Android Development] xploitnt:
Your recovery is hawt. Thanks for the updates :cyclops: you are the man!
[One (M9) Original Android Development] Captain_Throwback:
I don't know how you flashed it before, but probably. I either update via fastboot or flash the update from within TWRP.
[One (M9) Original Android Development] angasreid:
Hey guys - I'm having a little difficulty, would love some help.

I have an unlocked bootloader. Made a Backup. Now I'm trying to flash a custom ROM. Do I need to revert my recovery as this point to an earlier version? When I try to flash a ROM I get an Error at the end, then gets hung-up on the white HTC screen. Can anyone give me a little light into what am I doing wrong?

--Update--

After doing this (below) I flashed custom ROM all perfect!

Under Advanced, choose Terminal, press the select button to start it in the root folder, and then type this command:

Code:

mount -t ext4 /dev/block/bootdevice/by-name/system /system

Then run the SuperSU installer zip.
[One (M9) Original Android Development] MCube74:
I flashed via fastboot before. So I have to flash the same way again or can I just flash through TWRP which is easier and I can update TWRP without a computer?
[One (M9) Original Android Development] blackknightavalon:
I have the Developer Edition M9 and I'm getting this error:

And the guys who claim to have gained s-off aren't sharing right now.

-----------------------------------------------------------------------------------------------------------------

Never mind. I found my answer.
[One (M9) Original Android Development] Captain_Throwback:
You can update however you'd like ;).
[One (M9) Original Android Development] baddevil2:
Is screenshot capability still broken?

I'm still on stock rom, but I take screenshots very often, so I should wait, till fixed?
[One (M9) Original Android Development] MCube74:
Thanks.

By the way, can we also use the app "Flashify" from google play to update?
[One (M9) Original Android Development] 030575753:
Please help

I Accidently wiped internal storage in TWRP

now boot in the OS, system UI failed, dot view fail

then the back home button and status bar all gone.

what can i do
[One (M9) Original Android Development] Captain_Throwback:
I'd start by reading Post #2.
[One (M9) Original Android Development] jcase:
We are not sharing at this point because its not user friendly, it will be soon. If any doubts exist to our claims, please who has written most of the HTC exploits in the last few years, you will more than likely see one or both of our names attached to most of them.
[One (M9) Original Android Development] xploitnt:
Just wait for this man, his **** is always fire and worth the wait/donation. Looking forward to s-off [MENTION=2376614]jcase[/MENTION] , keep rippin' up HTCs! :silly:
[One (M9) Original Android Development] il Duce:
I ready post 2, now my pone teh broxen! You frix!

Do you have any tacos?
[One (M9) Original Android Development] 030575753:
I try to use adb by computer but it cant connect to the device..

then use the TWRP "Terminal" and just type the command "restorecon -FR /data/media/0"

seems nth happen. (need to locate any folder to type this command?)

It's only showing:

/ # restorecon -FR /data/media/0.

then nth else, i reboot also the same thing system UI failed.....
[One (M9) Original Android Development] Captain_Throwback:
I can only recommend that you format data in TWRP and try again.
[One (M9) Original Android Development] 030575753:
finally format data and reboot it works!!!

thanks a lot:good:
[One (M9) Original Android Development] p50kombi:
I'll have some of what you're smokin' :D
[One (M9) Original Android Development] damotif:
Pardon me for the NOOB questions. I flashed TWRP 2.8.6.0 and then took a backup after which I flashed superSU. Question is I didn't take any other backups before going rooting. So after reading your #2 post, is my backup useless in terms of reflashing via fastboot to obtain an OTA as I didn't use any of the beta versions. Once again I apologise if this has been answered already.
[One (M9) Original Android Development] Captain_Throwback:
Your question is answered in the post to which you're referring. As long as you never flashed 2.8.5.0, and took a backup with 2.8.6.0+ before rooting, your backup should be fine.
[One (M9) Original Android Development] damotif:
Thanks Capt. Much appreciated.