yashsingh1/xdaforums huggingface dataset:
[One (M8) Android Development] Derepinar:
https://mega.nz/#!yMwA3QyA!cPWLizFAiPL4MBGQb6aR2QBLdhQMiUi00MO25MhN7Vo
[One (M8) Android Development] linar10:
Mirror

https://www.androidfilehost.com/?fid=24438995911971545

HtcOneM8 | Tapatalk
[One (M8) Android Development] Rooks:
Ok, guys after 4 years i'm on an htc

HTC One M8 (Unlocked & S-Off)

Tried different recoveries including this one too.

When in hboot menu press power on Recovery, it's stuck on "Entering recovery..."

Any ideas...........................
[One (M8) Android Development] SubatomicGenome:
Did you already flash the recovery? Or is this your first time flashing ANY recovery???
[One (M8) Android Development] Rooks:
Well, not kind of just a noob, been usin HTC Desire HD in old times but after DHD it's my first HTC device, so technically not new one to HTC family.

But i must admit M8 is little different and complicated than DHD.
[One (M8) Android Development] euphoriapt:
Is this compatible with m8 Verizon ??
[One (M8) Android Development] DeeZZ_NuuZZ:
yes custom recovery not related to carrier branded phones.
[One (M8) Android Development] HolyAngel:
ok, yes definitely working fine now.

3.5GB backup to internal storage took about 3:30 minutes

same backup to Class 10 SDCard(that i benchmarked at ~18mb write) took about 16 minutes

i cant see anything in the sdcard in aroma file manager..

OFFline charging is working perfectly ^^
[One (M8) Android Development] Phil3759:
latest version I uploaded on goo.im will give you much faster backup to sdcard if it is in exfat. It will also let Aroma see your files

Thank you for the tests :good:

Added you and [MENTION=5608267]v1rk[/MENTION] to OP as credit

Your kernel dmesg was of a great help
[One (M8) Android Development] HolyAngel:
Awesome, will try that out now too!

Thank you, again, *VERY* much for making this <3

---------- Post added at 03:12 PM ---------- Previous post was at 03:09 PM ----------

And yep! can definitely see sdcard in aroma fm now, THANKS!
[One (M8) Android Development] beanbean50:
all working perfectly fine now, well done for doing it 'blind' :D :good:
[One (M8) Android Development] LittleH79:
What about wipe? Factory resetting I mean. Does it work ok?
[One (M8) Android Development] v1rk:
No problem just got home updated to the latest version as of now flashed and works flawlessly, also sent you a little donation for all the work

Thank you :good::good::D:D
[One (M8) Android Development] HolyAngel:
Working perfect here :good:
[One (M8) Android Development] HolyAngel:
oh, one thing i've found.. when it backs up data, it's backing up literally the entire data partition, not just userdata(data/app) dunno if thats intended or not but wanted to mention it ^^
[One (M8) Android Development] Phil3759:
Big thanks for your generosity and help. It happened thanks to all the feedback and logs i got

Yes, it is how twrp/cwm backups are done
[One (M8) Android Development] techenthusiast:
Trying to flash ARHD 3.4 but get a Symlink Failed error each time.
[One (M8) Android Development] Electronic Punk:
Hello Phil3759,

The typical fix for this has been to wipe system in recovery prior to installation, but I have been told you do not yet have this option - I sadly haven't checked out your recovery yet but can you confirm if this is possible?
[One (M8) Android Development] Phil3759:
Log, probably a bad rom script, but cannot say without a log

Sure there is
[One (M8) Android Development] Electronic Punk:
Got a free moment so will flash it and check :)

Yeah there it is, just under mount and storage, if they use twrp they might be unfamiliar.

Only used regular CWM, this is very pretty :D

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

Do you know why this command doesn't return the expected partitions?

~ # cat /proc/emmc

cat /proc/emmc

dev: size erasesize name

~ #

---------- Post added at 11:59 AM ---------- Previous post was at 11:52 AM ----------

Its down to the rom having issues with /system/ - formatting it manually first resolves it, still no idea why.
[One (M8) Android Development] techenthusiast:
Thanks guys, got it all working.
[One (M8) Android Development] jody04c:
Working 100% and love the display of the Recovery.. Look FAB!! :good:
[One (M8) Android Development] Forsaked:
I cant get the "Mount USB Storage" to work, my M8 gets recognized as "My HTC" in the Device Manager and as Mass Storage, but in the Storage Manager it shows up as CD/DVD-Drive instead of a USB-Storage!

Anyone got an idea? :confused:
[One (M8) Android Development] Phil3759:
it will probably need editing kernel sources
[One (M8) Android Development] mildlydisturbed:
Got an odd one - downloaded, executed: C:\android-sdk\platform-tools>fastboot flash recovery philz_touch_6.25.5-m8.img it seemed to accept it.

Chose to boot recovery, white screen for a second, and right back to the bootloader

back into fastboot, flashed it again, same issue

tried one of the other recoveries you'd posted - fix3, same issue.

Downloaded twrp 2.7 same flash command, works fine.

Running Captain_Throwback's unsecured modified boot.img for the kernel, Sprint version of the device if either of those might be the issue.
[One (M8) Android Development] tiho5:
Did you try "fastboot erase cache"?

Edit: Ah, Sprint device...
[One (M8) Android Development] Phil3759:
This is not the sprint version

Sprint release is here: http://xdaforums.com/showthread.php?t=2706086
[One (M8) Android Development] mildlydisturbed:
I do not know how I missed that... I really don't...

desk meet head...

yes, that works much better... freakin too many M8 forums I got confused and wandered into the wrong place...
[One (M8) Android Development] Forsaked:
Changing the backup saving path to SDCard1 (microSD) doesnt work correct, a CWM-Folder gets created in the root path instead on the microSD.
[One (M8) Android Development] nugzo:
Is it possible yet to store roms on external SD (microSD) and install from there? Will recovery see external SD card i guess is what i'm asking. I've had to clean my internal sd card 4 times in a week lol. never did it once on M7.,, i need my 64gb back! lol

Here's a few 12 packs. Confirmation number: 5LR82054KP8730521

Edit: Yes it is possible, just tried it. Thanks Philz! Now i'll try to save a nandroid to micro SD. Just moved my existing nandroid to micro SD to see if i can recover from there. hope so! I now have 18GB free!!
[One (M8) Android Development] Phil3759:
I appreciate your generosity

Thanks :good:
[One (M8) Android Development] nugzo:
Just tested that and it worked great for me. 64GB san disk exFAT. I'm more excited about this recovery being able to install from/backup to SD than anything recently lol. Took 9 minutes for a 4GB nandroid to SD. Not as fast as internal of course, but i can certainly deal with that.

Thanks again Philz and you're most definitely welcome, great work!
[One (M8) Android Development] Forsaked:
Anyone got ADB Sideload working?
[One (M8) Android Development] ekinnee:
That's exactly how I flashed the GPe.zip, via sideload.
[One (M8) Android Development] phonetechkid:
Sorry for the stupid question but does this recovery work with AT&T too? Thanks in advance.
[One (M8) Android Development] Jarheadflip:
Yes im using it on my phone
[One (M8) Android Development] phonetechkid:
Ok thanks for the quick response
[One (M8) Android Development] Jarheadflip:
No problem
[One (M8) Android Development] cc999:
Need Help Please

I used Phils recovery to root, now when I try to put back the stock recovery everything goes fine, it loads

and says ok. I reboot the phone and enter recovery and it goes back to Phils recovery!

No matter what I do it still boots to the Phil recovery, Please help.

fastboot flash recovery recovery.img is the command I am using

CC
[One (M8) Android Development] Electronic Punk:
And what is the response to that command?
[One (M8) Android Development] cc999:
response

The response is OK so it looks like it goes fine.

Then when I reboot into recovery it goes back to the Phiz recovery!

CC
[One (M8) Android Development] Electronic Punk:
Ok daft question, are you sure that recovery.img is the stock one?
[One (M8) Android Development] v1rk:
No philz custom recovery to flash rom etc and make nand backup/restore
[One (M8) Android Development] Electronic Punk:
So just to check, you have Philz recovery, you flash Philz recovery and then are suprised when you reboot and have Philz recovery.
[One (M8) Android Development] mchief298:
With S-off achieved, will we be seeing this ported to the Verizon variant? :)

M8, nuff said.
[One (M8) Android Development] cc999:
really need your help

I used Phils recovery to root, now when I try to put back the stock recovery everything goes fine, it loads

and says ok. I reboot the phone and enter recovery and it goes back to Phils recovery!

No matter what I do it still boots to the Phil recovery, Please help.

fastboot flash recovery recovery.img is the command I am using, says OK

when I reboot to recovery Philz recovery comes bck.

CC
[One (M8) Android Development] GermanGuy:
Is recovery.img that you are flashing truly the stock recovery? Sounds to me you keep reflashing Phils recovery.
[One (M8) Android Development] cc999:
yes

You are correct.....

CC
[One (M8) Android Development] wera750:
Anyone else see something about updating binary files while in recovery?
[One (M8) Android Development] mchief298:
Any chance we can see this on Verizon? ;)

M8, nuff said.
[One (M8) Android Development] :
Thanks for this recovery Phil, works a treat. TWRP didn't work for me.
[One (M8) Android Development] Sans143:
Recovery for GPe HTC M8

Can we get support for the GPe HTC M8? Or does this recovery work for it?
[One (M8) Android Development] ks2332:
Can I use flashify to flash this or only fastboot
[One (M8) Android Development] Tikerz:
Flashify works.

---------- Post added at 08:44 PM ---------- Previous post was at 08:44 PM ----------

Yes, it works for it.
[One (M8) Android Development] Sans143:
Is there steps on how to fastboot flash this recovery?
[One (M8) Android Development] p50kombi:
Open up your CMD on your computer.

Go into the directory that contains the fastboot and the recovery .img

fastboot erase cache

fastboot flash recovery recovery_name.img <= Insert recovery name here

fastboot erase cache

all done :)
[One (M8) Android Development] Electronic Punk:
You seem to dislike your cache :(
[One (M8) Android Development] Chronei:
Impressed, no bugs so far!

Feature request: Add the popular HOLD BACK BUTTON TO KILL feature option. Please :))
[One (M8) Android Development] HolyAngel:
If you see this, the maker of the rom you're trying to flash is using old binary files that are outdated and need to be updated.
[One (M8) Android Development] MoNsTeReNeRgY22:
Does this work with the Verizon variant?
[One (M8) Android Development] farms:
PhilZ Touch

Will this work on the VZW M8
[One (M8) Android Development] mchief298:
No, this will not work on the Verizon variant.
[One (M8) Android Development] Hawkysoft:
Really impressed normally using twrp but you made me switch over 100% hope to see new updates coming!
[One (M8) Android Development] BACARDILIMON:
Great work as always
[One (M8) Android Development] Electronic Punk:
Why does this recovery keep mounting cache?

I can unmount it and it shows as unmoutm back out and then it is mounted again.

Means I can't unmount and then format (using mke2fs) during aroma installation (still need to use delete_recursive)
[One (M8) Android Development] kuailan:
Just a feedback...great recovery..but I just find an issue....when u try to flash Rom from micro sd...it failed ...I can only flash ok if they are in I internal memory. Other than that so far so good.
[One (M8) Android Development] Forsaked:
You could use Format Cache function direct in the main Menu! ;)
[One (M8) Android Development] tiho5:
Yeah, I can confirm that this was reported a few times in the Viper thread.

Flashing the ROM from the internal sdcard is OK, but when the external sdcard was used, there are issues.

Completely agree for the "great recovery" part. My favorite for many devices :)
[One (M8) Android Development] Phil3759:
Post a log on failure

Probably a rom script issue. But no log, no way to help
[One (M8) Android Development] tiho5:
Very well possible, as some reported failure and others only Aroma error and ROM problems after.

But .. I still haven't received my m8 (that's why I only said that it was reported) and wasn't yet able to check this myself.

May be others will post the log. I am expecting my device in a few days.
[One (M8) Android Development] Electronic Punk:
I could recommend that to all custom rom users yes, but atm delete_recursive is needed as mke2fs fails with this recovery but not TWRP, trying to standardise.
[One (M8) Android Development] Phil3759:
This version doesn't support f2fs

I do not plan to enable it any soon

I only enable it on devices that require it like some Motorola's

If you need f2fs, you should compile the recovery yourself and patch kernel to add f2fs or use other alternatives
[One (M8) Android Development] HolyAngel:
I just want to add that i've been only flashing SkyDragon roms from external SD Card and it's been working absolutely perfectly.
[One (M8) Android Development] Phil3759:
Thanks

Good chances it is a script ignoring cwm mount points

Many rom cookers seem ignoring new vold moint points

Again, without a log, i cannot confirm any assumption
[One (M8) Android Development] Electronic Punk:
Yeah all good, I am not looking to compile my own only support what is officially out there for ARHD as well as I can - while trying to automate as much as possible.

It seems that using anything but this on the system can cause wipes:

run_program("/sbin/mke2fs", "-t", "ext4", "-m", "0", "/dev/block/mmcblk0p45");

(others randomly cause all kinds problems and the fastest solution has been to tell folks to manually format system)

This works great on yours and for example TWRP which can also do cache.

Happy to keep doing delete_recursive on cache (although why this needs wiping all the time I don't know) so it works for everyone.
[One (M8) Android Development] Rudolpht:
This worked great. Finally able to update to AR HD 5.0 . Much easier to flashify for noobs like me.
[One (M8) Android Development] 09Ram:
This recovery is working perfectly on my M8. Backups, Restores, to internal and external memory perfectly. Copying nands to PC with no errors. Started using Philz on my M7, and have never had a problem since.:good::good::good:
[One (M8) Android Development] kuailan:
Hi Phil, sorry for the late respond....here is the log for failing to flash the ROM from external SD card.
[One (M8) Android Development] Phil3759:
It looks like a bug with aroma script

Ask rom cooker to fix the script

The log is very clear. He is looking for files in wrong place
[One (M8) Android Development] Electronic Punk:
Was data mounted ?

If you mount manually first does it still show that issue?
[One (M8) Android Development] Phil3759:
Can you post a link to that zip file?
[One (M8) Android Development] Phil3759:
I downloaded the ROM. A huge 1.2 GB to just confirm what I said: It is again, a malformed script

package_extract_dir("VenomTools", "/sdcard/Venom/Tools");

- /sdcard doesn't figure in fstab since a few years now. It is a symlink to /data/media

- thus you cannot mount it directly

- you cannot perform copy operations to it like it it was a folder or you just overwrite the symlink

- you must mount /data to use it

- to copy/extract to it, you must either understand what is a symlink, a mount point and fstab file or just use /data/media/0 path if it exists or /data/media if needed

Your ROM dev should fix the script by mounting /data as it was stated above

I did not look further to see if there are other broken risky parts in the script, mainly using /sdcard path without understanding it is just a symlink, not a folder. Your ROM maker should do

Rule of thumb: If a ROM cooker says "YOU MUST USE A GIVEN RECOVERY", be sure there are bugs in his work

A properly formatted updater-script, shell child scripts or aroma scripts should be able to run on any recovery as it should call real blk device paths and not "pre-defined" mount points

Mount points WILL vary from recovery to another and maybe from a version to another. Relying on them is a bad idea
[One (M8) Android Development] exocetdj:
Nice, solid, colourful and damn fast recovery Phil!

Cheers :good::good:
[One (M8) Android Development] kuailan:
Yup I tried...both data and the Sd card...still fail :confused:

Anyway, I have already contacted Jan, and pass Philz respond to him.....:good:

---------- Post added at 08:42 PM ---------- Previous post was at 08:40 PM ----------

No worries Phil, already notified the developer of the ROM....I am sure he will look into it...thanks. :good:
[One (M8) Android Development] Phil3759:
try to create this folder:

/sdcard/Venom/Tools

package_extract_dir must have the path created I suspect

https://github.com/CyanogenMod/android_bootable_recovery/blob/cm-11.0/updater/install.c#L398

which calls:

https://github.com/CyanogenMod/android_bootable_recovery/blob/cm-11.0/minzip/Zip.c#L912

As you see, the folder MUST exist

At the end, at least 2 bugs here:

- /data is not mounted before calling /sdcard operations

- the path is not created before trying to extract things to it

I am going to add a FAQ on such repetitive issues so that users are aware
[One (M8) Android Development] Onem8:
When i want to install Ultra Kleaner De-Bloater.. It's says please upgrade to latest binary ( status 6). What must i do ?
[One (M8) Android Development] Phil3759:
Hammer kernel dev to not use 2 years old update-binary
[One (M8) Android Development] peoples_flip:
Noob question... How do I install Philz Recovery?

Do I adb this through? Is there a way to flash this using TWRP? (Which is my current recovery)
[One (M8) Android Development] Forsaked:
Flashing a recovery by recovery.... recoveryception or still nope! :silly:

Your way is still: "fastboot flash recovery recovery.img"
[One (M8) Android Development] the1stSecond:
Love it. AT&T M8
[One (M8) Android Development] blacklistedcard:
With the screenshot above this message. You can see the hard work involved with this recovery. Well done...
[One (M8) Android Development] tidal25w:
I'm having an issue where my preferences will reset occasionally. Like when I change the clock time zone and background. It did happen after I flashed a ROM, so I don't know if that has something to do with it. Is this a known issue? Thanks
[One (M8) Android Development] Phil3759:
if you wipe data, settings are reset. They are saved in /data

In "PhilZ Settings" save your config to sdcard

After that, whenever you wipe, there will be a prompt on recovery exit to restore your saved settings
[One (M8) Android Development] tidal25w:
Wow thanks. Will do
[One (M8) Android Development] WESBAR:
i cant get this to restore backups from memory card. Fails when restoring system every time.
[One (M8) Android Development] tiho5:
Do you mean the external SD card?

I just restored from it and didn't have a problem.
[One (M8) Android Development] WESBAR:
yeah, i performed a nandroid to external sd card of android revolution and then a gpe rom. went to go back to android revolution and it failed on restoring /system. tried the gpe backup and that did the same. both appeared to back up fine with no errors. weird.
[One (M8) Android Development] CrazyCypher:
can I ask for the cangelog to the latest version? :)

what problems are you guys experiencing?
[One (M8) Android Development] Phil3759:
most gpe roms use f2fs instead of ext4

To enable f2fs, the recovery must have it enabled on compile time + modify the kernel to support f2fs

Currently this mod is not f2fs friendly, or let's say, it is not enabled for the m8 since m8 doesn't need it

Can you provide a stock recovery image from your GPE m8?
[One (M8) Android Development] WESBAR:
Sorry I've flashed ARHD back now.
[One (M8) Android Development] hipsh0t:
[MENTION=4666971]Phil3759[/MENTION] i was a huge fan of this recovery on my VZW HTC DNA and I was wondering if you plan on supporting the VZW variant of the m8. I believe I read somewhere in the thread it just isnt supported yet. Any good news :) :D

will test and or grab logs if you need
[One (M8) Android Development] Phil3759:
you made a big mistake buying VZW

It is for Samsung stock lovers
[One (M8) Android Development] hipsh0t:
Nah I've tried a lot of providers and vzw is my favorite for where I live. I was just wondering man lol twrp suffices for me. And I'm running a pretty stock Rom anyways cause I like to run ART.

And I despise Samsung phones.... Love their tv's though
[One (M8) Android Development] Phil3759:
if you can flash twrp, there is no reason you cannot flash this

if your bootloader is locked, you won't flash any recovery
[One (M8) Android Development] hipsh0t:
Kicks me back to boot loader when I flash it
[One (M8) Android Development] Phil3759:
because your bootloader is locked and you cannot have a custom recovery
[One (M8) Android Development] hipsh0t:
Nope s-off and unlocked. Didn't have the phone for an hour before I used firewater. Been flashing viper and skyfall every update with twrp 2.7.0.2
[One (M8) Android Development] Phil3759:
can you provide these:
[One (M8) Android Development] hipsh0t:
Not at this moment but in awhile yea. Easter so busy for a bit.
[One (M8) Android Development] Phil3759:
M8 Verizon version released:

http://xdaforums.com/showthread.php?t=2725348
[One (M8) Android Development] hipsh0t:
well was about to start grabbing that stuff but it looks like i dont need to anymore. Works great thanks
[One (M8) Android Development] raimondomartire:
[MENTION=4666971]Phil3759[/MENTION] With international model I've problem to enter in your recovery. Here logcat

http://pastebin.com/MDcfP2bi

I see grey screen with vertical lines after 2/3 minutes I see recovery
[One (M8) Android Development] ANTHONY81L:
I am running twrp as of right now . do I need adb to change to philz or can I flash ? I didn't see any instructions on how to install . help anyone ? This will work with Verizon m8 yes ?
[One (M8) Android Development] mick2021:
I have AT&T but I used flashify app.

TWRP wasn't working for me.
[One (M8) Android Development] Hawkysoft:
Redownload and reflash you are missing files.
[One (M8) Android Development] benmcdonald:
Philzw

I tried to overwrite TWRP recovery with Philz using flashify. After this instead of booting to the ROM it booted to Philz. When I told Philz to boot to Recovery it booted to TWRP. I flashed Philz using One_M8_All-In-One_Kit and now I have a Philz recovery. The problem is that I can't boot to a ROM, I can only boot to Philz.

I tried sideloading Virtuous Six M8-Edition but it still loaded Philz. I tried to install a zip of Virtuous Six M8-Edition via Philz as well but it still just boots to Philz.

I'm S-off.

I know this probably isn't enough information. I've tried to what I can in the way of logs with the attached picture . If there's another log someplace else I'll be happy to post it, just tell me where I can find it. Any help is appreciated.
[One (M8) Android Development] stuart0001:
I'm guessing you selected flash boot image instead of recovery image in flashify. You'll need flash the original boot image back again.
[One (M8) Android Development] benmcdonald:
You were correct. Thanks a million!
[One (M8) Android Development] tiho5:
I have a few apps in /mnt/asec which don't get backed(restored).

This wasn't so on my m7 with this recovery. May be it needs a look

Cheers
[One (M8) Android Development] johnnyutah22:
Can we use Rom Manager with Philz recovery.
[One (M8) Android Development] Phil3759:
yes
[One (M8) Android Development] Yoyodude1124:
Won't install

Whenever I try to flash it, it says it works, but doesn't actually work. I've tried Flashify, and [fastboot flash recovery philz.img], and neither of those work. When I select recovery, it just boots into the stock HTC recovery. What could be the problem?

S-Off, Verizon HTC One M8, Weaksauce root

EDIT: I now see that VZW M8 has a different Philz image, and I feel stupid.