yashsingh1/xdaforums huggingface dataset:
[One (M9) Original Android Development] HC4Life:
What??? Don't get me wrong...i'm only saying which version i'm running...:cool:

Edit: twrp-2.9.1.1-hima-DEBUG.img, is the last Beta version?
[One (M9) Original Android Development] weinberk:
Sorry, real world got in the way...

I didn't mean to sound antsy about the password removal thing - it was just a suggestion and I hadn't heard back on it, so I mentioned it again. If I'm anything, it's patient.

Is the log you have sufficient, or do you still want one from me?
[One (M9) Original Android Development] Captain_Throwback:
What log I have?

I don't have a log from anyone trying to decrypt. And make sure you use the latest version I posted, please.
[One (M9) Original Android Development] Captain_Throwback:
It's the last version I posted, yes. Beta is a relative term (notice it doesn't say beta in the title anywhere).
[One (M9) Original Android Development] HC4Life:
Ok cool...i will try it...let's see with this version doesn't show "install root" before reboot system.

Thx Cap :D
[One (M9) Original Android Development] Adromir:
Sorry, I havent been able to test it yet. I will right now

---------- Post added at 03:11 AM ---------- Previous post was at 03:07 AM ----------

@Captain_Throwback: Confirmed working. btw. Is there a way to include a language Translation? I would do a german one..
[One (M9) Original Android Development] Captain_Throwback:
Excellent. Glad that fixed it. And as far as the German translation, that's already being taken care of ;).

Now we just need to see what the verdict is on decryption from [MENTION=360274]weinberk[/MENTION]....
[One (M9) Original Android Development] Adromir:
+Captain_Throwback I might try it again tomorrow
[One (M9) Original Android Development] weinberk:
Newest version installed, but decryption still doesn't work.

Log attached.
[One (M9) Original Android Development] Captain_Throwback:
Yeah, I'm going to need some help debugging this to get it working. There's one more thing I can try before needing someone to get down and dirty with step-by-step decryption routines and attaching strace to the decryption module. Hopefully my next attempt works....but that won't be until tomorrow.

Thanks for the log, though.
[One (M9) Original Android Development] weinberk:
Thank YOU. I can try another flash when you're ready, but I won't have real time until mid next week to commit real time to this if the next version doesn't work.

Despite the m8 and m9 being 32 vs 64 bit, shouldn't AOSP encryption be the same, or at least similar enough to base decryption off of what's been done for the m8 already?
[One (M9) Original Android Development] Captain_Throwback:
I'm sure you're trying to help. But if it was that simple, it would be working already. I have done this before, as you've mentioned, so why don't you just let me work on it? I'll make other arrangements for testing.
[One (M9) Original Android Development] sgt. slaughter:
Yup it's just that simple. You cracked the riddle!! Dunno why Captain has been slacking this whole time...

Sometimes y'all just need to have some more patience and let these guys do their thing... you know the very thing that they have been doing for years and years.
[One (M9) Original Android Development] Gandalforce:
Confirmed for battery level issue. Always at 66% or around 33%
[One (M9) Original Android Development] blueberry60:
2.9.1.0 has never been installed file size is less than 36-37 MB.
[One (M9) Original Android Development] donmarkoni:
What do you mean by "never been installed" So what if it's different size? It has been installed and working.

Please don't post wrong and useless comments all around... You know what I'm talking about...
[One (M9) Original Android Development] blueberry60:
I have flashed it over 2.9.0.1 with "fastboot erase cache" command and I couldn't boot into recovery,so I'll try again over 2.9.0.2.
[One (M9) Original Android Development] Adromir:
Okay, i reported the decryption Problem to my rom Developers, maybe they can work it out fast, because it already worked on the Rom.

Other Things I can Report about twrp-2.9.1.1-hima-DEBUG.img :

Battery Issue seems to be fixed

F2FS is fixed

I also had a Problem with compressed Backups, that is gone too

Its kinda freezing when the lockscreen is of. Well it's still doing stuff, but it reacts very slow to Screen unlock

All in all already a very smooth and nice working Recovery. Great work :)
[One (M9) Original Android Development] weinberk:
I hear you both loud and clear. Of course I was trying to be helpful, both selfishly and for the community as a whole.

You won't get any more

unprompted

discussion / suggestions from me on this thread. Do your thing Cap'n if you have the time. If you want comment from me, please ask direct questions, and I'll do my best to promptly give you a detailed answer.
[One (M9) Original Android Development] Captain_Throwback:
Try this one please, and provide a recovery.log. Thanks!
[One (M9) Original Android Development] HC4Life:
TWRP 2.9.1.1 works great...but i saw now another version...gonna flash it!

Thx Cap for your great work and support! :D
[One (M9) Original Android Development] Captain_Throwback:
The only updates in the new version is an attempt to support decryption. No reason for you to update unless you're going to help me test.
[One (M9) Original Android Development] weinberk:
Same non-decryption experience as the previous build.

Recovery attached.

Thanks.
[One (M9) Original Android Development] Captain_Throwback:
Yeah. I need to have a device in-hand to properly troubleshoot. Thanks for the feedback.
[One (M9) Original Android Development] weinberk:
Do you have a source or should I start digging?
[One (M9) Original Android Development] Captain_Throwback:
I found someone willing to let me borrow theirs. That won't be for another couple of weeks though, so in the meantime, you'll just be stuck as you have been.
[One (M9) Original Android Development] Adromir:
Just asking for Understanding. I already had that trouble with my M7 on CM. Why does encryption differs so much on Devices? So that even if you use the same based rom the decryption on one Works and the other not?
[One (M9) Original Android Development] Gandalforce:
Grabbing 3.0.0-0, anyone else?
[One (M9) Original Android Development] weinberk:
I've been wondering the same thing, and I tried asking, but apparently this is the wrong place for that. If you find another pleace that's more appropriate (or if anyone has any suggestions), please PM me. I'm very interested.

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

This is great news. I have confidence that you'll get to the bottom of this.

In the meantime, is there any chance, assuming that it's not too difficult (And would work) for you to release a version that doesn't prompt for the PW so that remote wipe would work?
[One (M9) Original Android Development] qriozum:
Maybe this:

https://twrp.me/site/update/2016/02/05/twrp-3.0.0-0-released.html

--

wysłane z HTCOne (m9) przez Tapatalk v5.6.1
[One (M9) Original Android Development] Aldo101t:
well, there is no 3.0.0.0 for the M9, you better look again.
[One (M9) Original Android Development] Gandalforce:
Links will hopefully be updated soon
[One (M9) Original Android Development] Aldo101t:
OK
[One (M9) Original Android Development] xlx890121:
Hello, will you add Chinese translation in the next release version ?

Because I saw the description here: https://twrp.me/site/update/2016/02/05/twrp-3.0.0-0-released.html
[One (M9) Original Android Development] Electronic Punk:
Should you want to help with that, you can submit changes to OmniROM’s Gerrit according to the page you linked.
[One (M9) Original Android Development] xlx890121:
It has already been submitted by other guys.

https://gerrit.omnirom.org/16721

Just want to confirm whether it will add on M9's TWRP ...
[One (M9) Original Android Development] Captain_Throwback:
https://dl.twrp.me/hima/
[One (M9) Original Android Development] computerslayer:
Flashed successfully! I'm not encrypted, but I'd love to help test something. Any requests?
[One (M9) Original Android Development] fichl:
...made some themes in the meantime:

http://xdaforums.com/android/themes/theme-twrp-3-0-0-0-dark-stock-colors-t3310235

hope i did it right ;)
[One (M9) Original Android Development] OSIRIS2010:
TWRP 3.0.0 theme

tested the "blue" one.

Everything OK

:good:
[One (M9) Original Android Development] weinberk:
HURRAY!! It's no longer prompting me for the pin for my encrypted device. GREAT WORK. Thank you
[One (M9) Original Android Development] MAX 404:
Hi mates

Working good so far and is not asking me if I want to root device on reboot.

Also skins are working great.

Keep up the good work
[One (M9) Original Android Development] Aldo101t:
Anyone else on twrp3.0.0 get a error after selecting advance wipe then select wipe (full) error:cannot find translation something or other en.xml.but it wipes ok I have the blue theme installed.
[One (M9) Original Android Development] m03sizlak:
Anyone have a clue on which supersu we should be installing after the marshmallow update? I'm S-OFF. I've tried pretty much all of them and they either:

1.) Do not boot at all (hang at the white htc screen). This is the case with v2.48, and v2.65 IF I deliberately set SYSTEMLESS=false

2.) Boot, and act as if I have root, but any changes I make to /system (like uninstalling system bloatware apps) do not persist a reboot (the uninstalled apps all return after rebooting). This is the case with v2.65 (systemless).

I also ran this command from an adb root shell, and I still cant remove system apps without them reappearing after a reboot:

echo -ne '\x04' | dd of=/dev/block/mmcblk0p32 bs=1 seek=4126

(http://xdaforums.com/one-m9/general...ning-write-t3171735/post62172563#post62172563)

This is actually quite infuriating because PeelSmart remote REALLLLY needs to be removed, with extreme predjudice, as it keeps placing a remote icon on to of the current app and if i click it my screen dims and stops accepting all user input until i hard boot the phone. Infuriating.
[One (M9) Original Android Development] Captain_Throwback:
Good thing too, because it looks like I won't be able to borrow that M9 after all. Trying to have someone remotely test is too difficult. Without a device for me to test on, I think figuring out decryption just isn't going to happen.

But it looks like you're satisfied for now, so I guess that's okay :rolleyes:.
[One (M9) Original Android Development] BR7fan:
Its only there if you have a theme installed. If you remove what ever color theme your using,it goes away. Far as I can tell it doesn't mess with twrp functions.
[One (M9) Original Android Development] Aldo101t:
yeah, I removed the theme and it's ok now, Thanks
[One (M9) Original Android Development] Captain_Throwback:
This isn't a TWRP issue. Please take it to Q&A.
[One (M9) Original Android Development] weinberk:
I'm quite satisfied, thank you again.

I'm trying to see if I can find your a Sprint M9.
[One (M9) Original Android Development] Adromir:
[MENTION=1162986]Captain_Throwback[/MENTION] : What if you could acess the device directly over something like Teamviever?
[One (M9) Original Android Development] mashk:
Flashing 3.0.0.0 via TWRP Manager gives the error "Unsuccessful" but booting into recovery confirms that it was actually successful.
[One (M9) Original Android Development] fichl:
i reuploaded all themes including the language files now...

so that error should be gone using the new version.

another thing is when i repack twrp 3.0.0.0 img with AIK after changing the 2 splash pngs and a color in splash xml TWRP refuses to load :(

does someone know what i am doing wrong ?
[One (M9) Original Android Development] Captain_Throwback:
Not the same. The amount of logs I need to take, review, and then rebuild recovery to test makes TeamViewer inefficient for this type of testing.

This is the reason I only build recovery for devices I have :rolleyes:. Guess I'll have to stop building recoveries.
[One (M9) Original Android Development] Adromir:
[MENTION=1162986]Captain_Throwback[/MENTION]: Awe dang, you are doing a great job here. I would provide you with every help i could though.. I mean i am a total newb and don't know a lot..
[One (M9) Original Android Development] blueberry60:
Same,i translated splash,ui and portrait xml files to Turkish language,it didn't change as Turkish when TWRP 3.0.0 reloaded but it easily changes with TWRP Theme Manager.
[One (M9) Original Android Development] deep005:
my phone wont turn on after a fixing permissions in twrp recovery canany one hlp?
[One (M9) Original Android Development] buttie:
You have to flash the ROM (and gapps) again. Never use permissions fix on modern ROM, it's a legacy function and it will soft-brick every device with ROM based on Lollipop or Marshmallow.
[One (M9) Original Android Development] Captain_Throwback:
This option doesn't even exist in the latest version of TWRP, so first thing you should do is update your TWRP.
[One (M9) Original Android Development] computerslayer:
This is most likely a SuperSU issue. Start a thread in Q&A and we can help there (I've got an idea, but don't want to clutter this thread).
[One (M9) Original Android Development] Captain_Throwback:
What guide?
[One (M9) Original Android Development] DeeZZ_NuuZZ:
Anyone else has the problem with twrp 3.0.0 that flashing a zip sometimes doesn't work? Flashed the dragon-fi audio MOD by zero infinity and it didn't worked, flashed back older twrp beta and it worked fine. System and all necessary partitions were mounted and there weren't any problems

Gesendet von meinem HTC One M9 mit Tapatalk
[One (M9) Original Android Development] donmarkoni:
Worked fine for me since first use. Notice that when you update TWRP, it tends to set system as read only. It did for me, 2.8.7.1 to 3.0.0-0, but I set it to RW right away.
[One (M9) Original Android Development] DeeZZ_NuuZZ:
Yes ghats what I did too, but after every reboot the settings are restored back to default. Something went wrong...will have to flash it again, because like I said after every reboot into recovery it showed me also the screen with system modification, if I want to keep it stock or modify it

Gesendet von meinem HTC One M9 mit Tapatalk
[One (M9) Original Android Development] Captain_Throwback:
So, BIG thanks to [MENTION=2687835]hgoldner[/MENTION], I temporarily have an M9 in my hands to try and work out this decryption issue. However, I'm not making any headway currently. I'd like to try building TWRP with Android 6.0 source, which may help, but unfortunately I can't do that until HTC releases some 6.0 kernel source.

If you're really interested in getting decryption working on this device, hit up HTC via social media and harass them for 6.0 kernel source. The Dev/Unlocked Edition source would be fine. Mo Versi and HTCDev on Twitter are usually responsive if you Tweet at them directly. I only have this device for a short period of time, so time is of the essence.
[One (M9) Original Android Development] jollywhitefoot:
They released it today I think
[One (M9) Original Android Development] Boostjunky:
That appears to be the case.

http://www.htcdev.com/devcenter/downloads
[One (M9) Original Android Development] computerslayer:
Was this the result of a Twitter campaign? It'd be cool if XDA requests helped prompt this. Awesome in any case.
[One (M9) Original Android Development] jbfountain:
They did release it before they had to. So who knows.

Using XDA to unleash the power of Android on my S6 Edge Plus & HTC One M9
[One (M9) Original Android Development] Captain_Throwback:
SUCCESS!!
[One (M9) Original Android Development] Adromir:
Wow Awesome! thanks very much!!!!
[One (M9) Original Android Development] nkk71:
Nice :good::good:

can you hit me with a recovery log (or just post it somewhere, no need for you to literally hit me :p )
[One (M9) Original Android Development] jollywhitefoot:
Nice. Congratulations.

AOSP only, right?
[One (M9) Original Android Development] Captain_Throwback:
Correct.
[One (M9) Original Android Development] Captain_Throwback:
3.0.0-1 now available that supports AOSP decryption. That means you should also be able to use adopted storage (though I'm not sure if TWRP can decrypt it if used on a stock Sense-based ROM).

Be aware, however, that TWRP doesn't currently support CM's larger-than-default pattern grids on CM13 (there is a patch in the works for that, however).

Thanks again to [MENTION=2687835]hgoldner[/MENTION] for graciously lending me a device, since his device isn't even encrypted and he didn't need the fix.
[One (M9) Original Android Development] computerslayer:
Wonderful - thank you!
[One (M9) Original Android Development] iElvis:
I updated from LP to MM today using 3.0 and had no issues at all.
[One (M9) Original Android Development] nkk71:
TWRP (v3.0.0-0 and higher) now support flashing of zips up to 4GB in size!

Updated binaries can be found in Post 2 which are needed for this.

ROM Devs, please use these binaries in your zip files as and when needed.

the zip file in post 2 contains two folders:

normal updater binary

this contains the normal non-aroma update-binary, please replace it with the one you're using. your

FLASHABLE.ZIP/META-INF/com/google/android

folder should now contain the updated update-binary and

your

updater-script

.

aroma binaries

update-binary

update-binary-installer

this contains the aroma-installer update-binary and update-binary-installer, please replace them with the ones you're using. your

FLASHABLE.ZIP/META-INF/com/google/android

folder should now contain the updated update-binary and update-binary-installer, as well as

your

aroma-config and updater-script

Don't mix the two, the updater for aroma-installer is enabled to report progress back to aroma-installer, the regular one is not.

Notes:

the 4GB limit is for the compressed size of the zip

.

make sure that when you pack your files, the format is a normal zip archive, not a zip64 archive (some programs tend to switch to zip64 format too soon, even it if can be packed into a normal zip archive)... zip64 format is still not supported

.

the limit of individual files within the zip itself still has to be less than 2GB

.

the binaries have been tested on the

HTC One M9 with a close to 4GB compressed file size

HTC One M8 with a limit of approx. 2.8GB compressed file size

Update:

* Build 20160219-2030: Aroma-Installer now properly reports minzip progress again
[One (M9) Original Android Development] daniel1823:
If anyone is using sdcard migration on 6.0 mm. You'll need to install 3.0.0-1 in order for twrp to see your storage. 3.0.0-0 didn't work for me. So happy flashing guys.
[One (M9) Original Android Development] jbfountain:
Strange it worked for me. I had no problem viewing the contents of my internal and external storage with 3.0.0-0.

Using XDA to unleash the power of Android on my HTC One M9 and Samsung Galaxy S6 Edge Plus

If anyone's post or work has helped you please, use the thanks button
[One (M9) Original Android Development] Captain_Throwback:
The previous poster was talking about when using the external SD as "internal" storage. That requires working decryption in TWRP, which is only available with 3.0.0-1.
[One (M9) Original Android Development] weinberk:
THANK YOU for your dedication to this community. I think you should call this version 3.0.0-1!!!!!!! to indicate it's awesomeness. And thank you [MENTION=2687835]hgoldner[/MENTION] for making this possible.

Now onto my problem....

I flashed 3.0.0-1 from 3.0.0 on my Verizon M9. I checked the MD5. If flashes successfully, but when I try to go back into recovery I get:

"Failed to boot to recovery mode.

Press volume up or down to back to menu"

(that's verbatim, doesn't say GO back to, just back to)

This is in red above the HTC logo on the white screen. I've also tried using htc fastboot and from a terminal using the dd method. Same results. If I flash back to 3.0.0, I get into recovery fine.

This is with the 3.0.0-1 version that I downloaded today from twrp.me. with an MD5 of ce370e18b22ade44d3f49e7ae11721c7

Could it matter that my phone is already encrypted (AOSP)? I'm using Candy5 which is based off of CM13. Is this what you mean when you said "M's larger-than-default pattern grids on CM13" (I haven't a clue as to what larger-than-default pattern grids are.) or am I doing something wrong? If is because my rom use's CM's encryption method, I can certainly wait for the patch you mentioned, but if it's something I'm doing wrong or some sort of incompatibility with the VZ version, I figured best to ask here.

Thanks again!
[One (M9) Original Android Development] Captain_Throwback:
Make sure you've updated to the M firmware, otherwise you *probably* can't use the latest version (I'm not sure if that has any detrimental affect on your AOSP ROM, though).
[One (M9) Original Android Development] weinberk:
Ah, definitely not on the M firmware yet.

Candy 5 is CM12 based (type-o above). There is candy6 which is CM13 and should work on M firmware, but encryption doesn't seem to work in that rom yet. Unfortunately, I just don't have many ROM options as a Verizon user. I have no idea if Candy5/CM12 would run with M firmware. Need to find the M firmware for the vz version or wait I guess.

Another thing would be for you to write some sort of module that would convince me to just dump encryption and be more trusting of others.... :)

Thanks for the quick response!
[One (M9) Original Android Development] daniel1823:
I'm not super sure because I don't have Verizon but would the UL firmware version work on Verizon?
[One (M9) Original Android Development] sidjohn:
http://xdaforums.com/verizon-one-m9/development/6-0-verizon-htc-one-m9-marshmallow-t3316279 if you're looking for Verizon MM Firmware
[One (M9) Original Android Development] donmarkoni:
[MENTION=1162986]Captain_Throwback[/MENTION], anything interesting to test in 3.0.0-2?
[One (M9) Original Android Development] fichl:
[MENTION=1162986]Captain_Throwback[/MENTION]

that blue tint over aroma themes is back since twrp 3...

im using a red theme for aroma, the same ive been using for years

now all images and colored fonts show blue instead of red :(

it was like that on some versions of twrp2, then it was fixed and now its back...

pretty sure nothing i messed up

or am i missing some changes somewhere ?

EDIT: never mind.. fixed it by adding

ini_set("force_colorspace","rgba");

to aroma-config.

now it only flashed with that blue tint for a second when canceling..

cheers
[One (M9) Original Android Development] weinberk:
Once I updated my VZW m9 to the MM firmware, TWRP 3.0.0-2 started up perfectly.

AND, drumroll please, DECRYPTION WORKS! THIS IS AWESOME. Thank you.

(It does say in red, "Unable to mount storage" which I suspects is happening before the decryption pin is entered. Seems to be purely cosmetic. )
[One (M9) Original Android Development] Rix70:
guys please,

I have to download latest version (3.0.2) from the opfficial site? and it is themed like op images?

because I do not found 3.0 version in the download section in this thread..

and if I read right....I can update directly from twrp?

Thanks in advanced :)
[One (M9) Original Android Development] Captain_Throwback:
Yes, download the official version.
[One (M9) Original Android Development] Rix70:
thank you...and it's themed!

Very nice.
[One (M9) Original Android Development] Roobwz:
Guys i tried moving my twrp backup to my SD card to make some room with es file explorer, but when I realised that the backup was 5gb, I canceled it. Now my Twrp backup is around 60mb with only boot images. Can I fix this stupid problem?
[One (M9) Original Android Development] donmarkoni:
I can't believe you're asking such basic stuff... :rolleyes:

Either move files back, or just make another nandroid backup.
[One (M9) Original Android Development] Roobwz:
the thing was that the backup completely dissapeared, and it was my stock unrooted one. I may be desperate, but i want to take an OTA some day