yashsingh1/xdaforums huggingface dataset:
[One (M8) Original Android Development] mattman83:
Try using flashify app to flash it again.

M.
[One (M8) Original Android Development] fifedogg:
Awesome it worked thanks!
[One (M8) Original Android Development] lilhaiti:
I tried to install this using the TWRP Manager app on my AT&T M8 and it wouldn't go into recovery so I flashed it manually and same thing, so I went back to the unofficial recovery (Viper themed) and now it work, problem is after I tried all that now my Navigation Bar is no longer transparent on the home screen...any ideas or tips to fix that?
[One (M8) Original Android Development] ggeralds:
Curious, am I the only one (Tmo M8 and TWRP 2.7.0.2) that back ups are reaaaaaaaalllly slow? It has been almost 40 minutes and I am at about 45-50%. No errors, just hanging on backing up data.

Thanks
[One (M8) Original Android Development] GSLEON3:
Try restoring one.... (don't) Maybe it's just going from GPe to Sense, but backups fail during restore in TWRP (2.7.0.2). So far, Philz CWM is the only recovery that seems to restore correctly for everyone. No offense to CWM or Koush, but CWM is ugly & outdated, it does work seamlessly thus far.
[One (M8) Original Android Development] bitwiser:
Backups won't restore

Installed TWRP 2.7 just fine, did a nandroid backup of my stock rom, completed successful, then installed Revolution ROM, all good. Did a nandroid backup of that. Then installed Viper rom and it did not install correct so I was going to restore stock however it fails. Tried to restore Revolution and it fails. Seems like the nandroid backups that TWRP did are not valid. It gets a critical error restoring the system and data partitions. Any ideas? I was able to just reinstall Revolution rom from scratch but I'd like to have my stock backup as well. I have an M8 Dev edition with cidnum: BS_US002
[One (M8) Original Android Development] BDHela:
Backups restore for me but don't work. I end up having to reflash the ROM to get the phone to boot. This comes even after advance wiping system, davlik, cache, data.

Had to switch to Philz.
[One (M8) Original Android Development] mattman83:
Backups work fine for me and restore just fine. Some have commented on encrypted backups being super slow, possibly you have that turned on?

M.
[One (M8) Original Android Development] bitwiser:
Yes, they are compressed but no md5. It does not take too long...It fails with critical error.

Can I uncompress them on pc or Aimee other utility to try again? Amy way to confirm they are legit? Suggestions?

---------- Post added at 08:24 PM ---------- Previous post was at 08:23 PM ----------

I need to spell check better! Lol
[One (M8) Original Android Development] jmz:
That's because they are using format command. If they used the command I provided it would work
[One (M8) Original Android Development] bitwiser:
So, is there a way I can restore the backups??? I really would like to know I could revert back to stock.
[One (M8) Original Android Development] jmz:
I can't really say. Every backup I have done works when restored. So I can't really look into the issue when I can't replicate the issue. If you are able, make a backup and restore it. Then run adb pull /tmp/recovery.log and see if it boots. If it doesn't provide that recovery.log file

By chance did you do the GPe conversion?
[One (M8) Original Android Development] bitwiser:
No GPe ROMS, I know I would not be able to go back to Sense after doing that until RUU. I flashed Revolution HD, then Viper ROM, then went to restore stock and realized neither my stock nor my revolution nandroid backup restored. Both would error out on data and system partitions (tried doing them individually...boot restores fine)

I have a recovery log for the current backup, is that ok? I know if I try to restore now I'll have to spend hours setting it all back up again...just did that twice in 2 days :( wife is getting tired of me glued to my phone this week! LOL "flash crack"
[One (M8) Original Android Development] jmz:
The most important part is seeing why it failed to restore. But yeah post the backup log

If someone else is having this issue please post as suggested before and it will be looked into
[One (M8) Original Android Development] bitwiser:
Thanks...hope there is an easy solution...or at least "a" solutions :P
[One (M8) Original Android Development] tct08:
It also takes me about obscenely long time. I'm on the same exact setup and I've sat there for over 4 hours trying this two separate times. Granted, I am backing up almost 3.5 gigs worth of data using compression but at some point it seems that it just stalls.
[One (M8) Original Android Development] jmz:
Don't use compression for now
[One (M8) Original Android Development] Turge:
running "cat /proc/emmc" returns:

Is this something you can look into?
[One (M8) Original Android Development] Nekromantik:
My backup freezes at like 60%. Taking way too long here.

Il try without compression.
[One (M8) Original Android Development] Frausbite77:
I have the verizon model, but i figured it out last night. the reason it wasnt changing was because I forgot to reboot the HBoot.
[One (M8) Original Android Development] HC4Life:
I'm glad u solve the problem. :)
[One (M8) Original Android Development] 412070391:
MTP doesn't work on M8_UL both 2.8.0.0 and 2.8.0.1
[One (M8) Original Android Development] ckpv5:
[MENTION=1162986]Captain_Throwback[/MENTION]

Don't know whether you are aware of this ... your latest 2.8.0.0 recovery, MTP works when I fastboot boot it. Maybe something about this will help you ... and sorry as I don't post this in the other site.
[One (M8) Original Android Development] Captain_Throwback:
It's a lead. I'll play around today and see if it helps. Thanks for the report.
[One (M8) Original Android Development] JEANRIVERA:
Don't understand how did you make it work? I know how to adb and fastboot but I don't understand what you are saying could you please elaborate a little bit more?
[One (M8) Original Android Development] Captain_Throwback:
fastboot boot recovery.img (instead of flashing it)
[One (M8) Original Android Development] ckpv5:
As we know, fasboot boot the official TWRP won't work but it work with Captain's recovery.

So fastboot boot recovery.img

View attachment 2939578

it boots to recovery

View attachment 2939579

and MTP works

View attachment 2939580

I put full size screenshots so you can see the time the screenshots taken ;)
[One (M8) Original Android Development] RedBullet:
Oooo... So, I am running the official 2.8.0.1 and when I connect it to my computer I don't see those drives. You saying the the Captain's recovery does that properly? So, I should flash that instead of official TWRP?
[One (M8) Original Android Development] Captain_Throwback:
Boot. It only works when you fastboot boot the recovery.
[One (M8) Original Android Development] RedBullet:
Interesting... Why does it only work if it is fastboot booted to the image?
[One (M8) Original Android Development] donmarkoni:
Do you want him to find out, or answer your questions? ;)
[One (M8) Original Android Development] JEANRIVERA:
are you sure you are able to browse them cuz i tried the fastboot way and it did not work on my pc im running windows 8.1
[One (M8) Original Android Development] Captain_Throwback:
Probably a driver issue. I noticed that MTP behavior is inconsistent in recovery across my computers and OSes.
[One (M8) Original Android Development] ckpv5:
Yes... tested - delete/add files on both internal and sdcard, all ok

Not tested, copying a ROM.zip as I don't have one on my PC but I got some on my external HD, will test tomorrow ... sleeping time ;)

View attachment 2939667 View attachment 2939668

Edit : Unable to copy a ROM.zip ... error : file size is larger than the device limit
[One (M8) Original Android Development] spinninbsod:
weird i cant boot it through fastboot hope i can get a recovery on my phone i might try philz but i will boot it first
[One (M8) Original Android Development] Captain_Throwback:
Are you getting an error? Make sure your SDK is up to date.
[One (M8) Original Android Development] spinninbsod:
no just acts like its going to boot the recovery then reboots to android i got philz working though and i now have cm this phone has been quite a learning experience never had an htc always had moto or nexus devices it wasnt that difficult though
[One (M8) Original Android Development] Nino031382:
anyone else having issues with mounting data after flashing newest update? I was running 2.7.1.0 and never had any issues. I flashed the latest 2.8.0.1 and first noticed that some settings wouldn't stick then I noticed that it was hit or miss when rebooting into recovery as far as it reading the internal. Sometimes data would mount sometimes it wouldn't. I have to reboot quite a few times for it to eventually mount. Tried to mount in TWRP itself but when I clicked on data it does nothing. I even went back to 2.7.1.0 but still having the same problems. I was eventually able to push a stock back up to data/media and restored stock and flashed the RUU NUMEROUS times but it still wont fix it. May have to turn it in for a replacement lol. Time will tell. Was just wondering if I am the only one.
[One (M8) Original Android Development] ckpv5:
[MENTION=1162986]Captain_Throwback[/MENTION]

What a great 2.8.0.4 test recovery ... MTP and UMS worked on first try. No problem to copy a ROM.zip ;)

View attachment 2943124

Stock ROM 2.22.707.4 - GSM M8x - OS: Win 8.1 pro 64-bit

Will report if there any problem after further test tomorrow... no report means all good :D
[One (M8) Original Android Development] smeejaytee:
Could someone please tell me the name of the app you use to flash recoveries from the phone is it called flashify thanks
[One (M8) Original Android Development] old.splatterhand:
Flashify is one solution, also this sounds good :good:

---------- Post added at 10:15 PM ---------- Previous post was at 09:55 PM ----------

Gave 2.8.0.4 a first look and i'm very, very impressed (!) that we now have UMS back working! No problem with that on Win7 x64.

Congrats [MENTION=1162986]Captain_Throwback[/MENTION], well done, dude :good:

Did i get it right, that my sdcard needs to be in exFAT for MTP?
[One (M8) Original Android Development] Captain_Throwback:
Why would your card need to be exFAT for MTP to work?
[One (M8) Original Android Development] old.splatterhand:
I thought so, as i read the thread at mikmik. Did i get it wrong, because MTP did not pop up on my pc?
[One (M8) Original Android Development] Captain_Throwback:
It's probably just a driver issue. It shouldn't matter how your card is formatted, as long as the card works.
[One (M8) Original Android Development] old.splatterhand:
Yup, that was my second thought. Last time i updated my driver is really some time ago.

But working UMS is more that i need in recovery.

Again, thanks a lot for that!
[One (M8) Original Android Development] smeejaytee:
Flashify worked fine thanks and thanks captain for the update question can you flash anything with flashify I've never used it before looks interesting
[One (M8) Original Android Development] old.splatterhand:
Never used it, too. I prefer the bootloader way more.
[One (M8) Original Android Development] smeejaytee:
I've never tried that either but flashify was super easy just locate the recovery.img and hit flash job done
[One (M8) Original Android Development] migascalp:
Tested quickly [MENTION=1162986]Captain_Throwback[/MENTION] build 2.8.0.4 on Se7en x64.

-UMS Work

-MTP Work but I had to refresh the list of devices on my pc to see the M8.

Unable to copy a zip file in MTP.I had to rename in .txt.

Great job
[One (M8) Original Android Development] HC4Life:
Captain Throwback 3 words for u:

U ARE AWESOME! :D

Edit: Everything works fine, MTP, UMS...the only thing is the glitch when recovery boots but is not a big deal...but if u can fix it i'll appreciate that...thx again.
[One (M8) Original Android Development] joyrida12:
Just installed 2.8.0.1 via twrp manager, everything running smooth so far.
[One (M8) Original Android Development] Captain_Throwback:
Really? Are you seriously complaining about that glitch? I'm not going to fix it. I'm going to leave it there just because it bothers you.
[One (M8) Original Android Development] Johnny424:
Great job dude. I also appreciate your work. Also not my business but I think hc4life was expressing more gratitude then anything else bud. But Anyhow great work man [emoji2]
[One (M8) Original Android Development] smeejaytee:
I'm pretty sure he meant that as a joke
[One (M8) Original Android Development] Johnny424:
Writing on the internet could obviously be taken several ways. Doesn't matter but nothing indicated a joke. Lets stay on topic though
[One (M8) Original Android Development] HC4Life:
I'm not complaining...that glitch don't bothers me at all...sorry if i said something wrong...
[One (M8) Original Android Development] DROITURK182:
Does you newest twrp 2.8.0.4 have the OS fix or does it still come up as 2.00.000.0

Sent from my HTC One_M8 Space Banana.
[One (M8) Original Android Development] DROITURK182:
Deleted

Sent from my HTC One_M8 Space Banana.
[One (M8) Original Android Development] Captain_Throwback:
I don't think you understand what the OS fix is . . . read my thread all the answers are there.
[One (M8) Original Android Development] HC4Life:
Yes it does, the new recovery has all fixed. The best!!! :)
[One (M8) Original Android Development] Rouz.:
I have a really weird issue. As soon as I select to flash a rom, the phone reboots into recovery again. I tried over and over again, every single time it reboots and loads the recovery again. I tried to re-flash the recovery and wiping the cache from fastboot but it was all to no avail.
[One (M8) Original Android Development] Captain_Throwback:
Are you S-ON?
[One (M8) Original Android Development] joni2012:
Perfect new recovery
[One (M8) Original Android Development] leebsammy:
Should I use official or 2.8.0.4?
[One (M8) Original Android Development] Rouz.:
Yes, as it turned out, it was because of my Micro-SD. I moved the file to the internal storage, and it flashed just fine.
[One (M8) Original Android Development] Black-FR:
Both work fine.

But I prefer 2.8.0.4 as it's very nice to have mtp and usm working.

And also some other fixes, which had been included.
[One (M8) Original Android Development] leebsammy:
I flashed 2.8.0.1 to try first, what's mtp and usm?
[One (M8) Original Android Development] snebojsa:
Actually, when I used 0P6BIMG.zip method, had OS version 2.00.000.0 in bootloader, I changed "mainver: 2.00.000.0" in android-info.txt to mainver: 2.22.401.5, now it's all ok.

Because I'm not supercid, had to add my cid "cidnum: HTC__032" too in android-info.txt.
[One (M8) Original Android Development] HC4Life:
MTP=Media Transfer Protocol (that allows media files to be transferred to and from portable devices)

UMS=USB Mass Storage (USB device accessible to a host computing device and enables file transfers between the host and the USB device. To a host the USB device acts an external hard drive, enabling drag-and-drop file transfers).
[One (M8) Original Android Development] RedBullet:
Where can I download 2.8.0.4?
[One (M8) Original Android Development] Galaxysm:
Can I flash your twrp files with flashify?
[One (M8) Original Android Development] lotzakritters:
Yes, but just the recovery.img file. Works good
[One (M8) Original Android Development] kentilo:
Dees_Troy

You couldn't add HTC One M8 Dual Sim support?

I am ready to provide the necessary information and the necessary files.
[One (M8) Original Android Development] Captain_Throwback:
What is necessary to add support?
[One (M8) Original Android Development] kentilo:
Recovery: TWRP
[One (M8) Original Android Development] HC4Life:
Look at Captain Throwback's signature...
[One (M8) Original Android Development] Captain_Throwback:
Um, this wasn't a helpful answer. I was asking what files/information is necessary to add Dual SIM support to TWRP.

At any rate, I believe the key lies in the dts files in the kernel source, as I see that the ones for the Dual SIM M8 are missing from the source I have. I've downloaded and added these files to my kernel source and will be building my next TWRP with them. This should enable support for your device on my TWRP build only. The official version will still need to be updated to support it.
[One (M8) Original Android Development] kentilo:
In advance I apologize for very bad English, I use an online translator.

But I already have a port from your TWRP, but in it no MOUNT Cache. It would be desirable to correct at least this problem. Also can do it to you will help to add HTC One M8 Dual Sim support.

https://yadi.sk/d/0TFlhRCebbpf5
[One (M8) Original Android Development] Captain_Throwback:
Read the rest of my post.
[One (M8) Original Android Development] kentilo:
OK I understood, excuse.
[One (M8) Original Android Development] Captain_Throwback:
Follow the TWRP link in my sig and try my latest test version. It should be compatible with your device.
[One (M8) Original Android Development] kentilo:
"Alternate Fastboot Method (S-ON compatible)

Boot device into FASTBOOT mode (device should show FASTBOOT USB)

Extract recovery.img from the zip file and place recovery file to be flashed into folder with fastboot.

Open a command prompt from the folder where fastboot resides.

Run the following command:

fastboot flash recovery recovery.img"

Phone was loaded into Stock Recovery!

How to receive

TWRP Recovery (UNOFFICIAL) v2.8.0.0 (2.8.0.5 Test)?
[One (M8) Original Android Development] Captain_Throwback:
Did you follow the instructions? It sounds like you flashed stock recovery. I assume you have that in your fastboot folder, and didn't replace it with the recovery.img you downloaded and extracted from the zip. Try it again.
[One (M8) Original Android Development] kentilo:
You are right. I was mistaken.

Your recovery was loaded and works!

But no MOUNT Cache. It is a problem.
[One (M8) Original Android Development] Captain_Throwback:
Recovery log?

Also, if you can provide the output of 'cat proc/emmc' from adb shell (without the quotes) it would be helpful.
[One (M8) Original Android Development] kentilo:
C:\Android>adb shell

shell@htc_m8dug:/ $ cat /proc/emmc

cat /proc/emmc

dev: size erasesize name

mmcblk0p1: 00100000 00000200 "sbl1"

mmcblk0p2: 076f7c00 00000200 "pg1fs"

mmcblk0p3: 00004000 00000200 "board_info"

mmcblk0p4: 00800000 00000200 "reserve_1"

mmcblk0p5: 00040000 00000200 "mfg"

mmcblk0p6: 017afc00 00000200 "pg2fs"

mmcblk0p7: 00040000 00000200 "sbl1_update"

mmcblk0p8: 00040000 00000200 "rpm"

mmcblk0p9: 00200000 00000200 "tz"

mmcblk0p10: 00008000 00000200 "sdi"

mmcblk0p11: 00400000 00000200 "hboot"

mmcblk0p12: 00500000 00000200 "sp1"

mmcblk0p13: 00100000 00000200 "wifi"

mmcblk0p14: 00008000 00000200 "ddr"

mmcblk0p15: 00100000 00000200 "dsps"

mmcblk0p16: 03c00400 00000200 "adsp"

mmcblk0p17: 00500000 00000200 "wcnss"

mmcblk0p18: 00800000 00000200 "radio_config"

mmcblk0p19: 00180000 00000200 "fsg"

mmcblk0p20: 04b00400 00000200 "radio"

mmcblk0p21: 00400000 00000200 "tool_diag"

mmcblk0p22: 03200000 00000200 "custdata"

mmcblk0p23: 00effc00 00000200 "reserve_2"

mmcblk0p24: 00100000 00000200 "misc"

mmcblk0p25: 00180000 00000200 "modem_st1"

mmcblk0p26: 00180000 00000200 "modem_st2"

mmcblk0p27: 01400000 00000200 "fataldevlog"

mmcblk0p28: 00001000 00000200 "debug_config"

mmcblk0p29: 00040000 00000200 "pdata"

mmcblk0p30: 00004000 00000200 "control"

mmcblk0p31: 00140400 00000200 "local"

mmcblk0p32: 00010000 00000200 "extra"

mmcblk0p33: 00100000 00000200 "cdma_record"

mmcblk0p34: 00000400 00000200 "fsc"

mmcblk0p35: 00002000 00000200 "ssd"

mmcblk0p36: 00040000 00000200 "skylink"

mmcblk0p37: 01900000 00000200 "carrier"

mmcblk0p38: 00040000 00000200 "sensor_hub"

mmcblk0p39: 01e00000 00000200 "devlog"

mmcblk0p40: 00002800 00000200 "cir_img"

mmcblk0p41: 02de6000 00000200 "reserve"

mmcblk0p42: 01000000 00000200 "boot"

mmcblk0p43: 01800000 00000200 "recovery"

mmcblk0p44: 05800000 00000200 "reserve_3"

mmcblk0p45: b8000000 00000200 "system"

mmcblk0p46: 18000000 00000200 "cache"

mmcblk0p47: a8000000 00000200 "userdata"

shell@htc_m8dug:/ $

recovery.log https://yadi.sk/d/wqGoPYjObby6Q

It is very strange, but after Cache MOUNT reset! ! !

Many thanks! ! !
[One (M8) Original Android Development] Captain_Throwback:
Glad I could help :).
[One (M8) Original Android Development] treIII:
Captain I have a question. I've tried to install a couple of your newest variants of twrp. None will install. I think it says wrong device or os. Something like that. I'm T-Mobile US and I'm on stock rooted Rom. I have sense toolbox installed along with xposed and I have deodexed the Rom. Can u direct me to a link that should install? I'm trying to install a newer version of twrp so I can install the hk mod. Thanks

Sent from my HTC One_M8 using Xparent Blue Tapatalk 2

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

Captain I have a question. I've tried to install a couple of your newest variants of twrp. None will install. I think it says wrong device or os. Something like that. I'm T-Mobile US and I'm on stock rooted Rom. I have sense toolbox installed along with xposed and I have deodexed the Rom. Can u direct me to a link that should install? I'm trying to install a newer version of twrp so I can install the hk mod. Thanks

Sent from my HTC One_M8 using Xparent Blue Tapatalk 2
[One (M8) Original Android Development] Captain_Throwback:
Have you tried fastboot flashing the recovery image? There's no reason it shouldn't work.
[One (M8) Original Android Development] treIII:
No. I've only tried on external sd

Sent from my HTC One_M8 using Xparent Blue Tapatalk 2

---------- Post added at 09:23 PM ---------- Previous post was at 09:22 PM ----------

No. I've only tried on external sd

Sent from my HTC One_M8 using Xparent Blue Tapatalk 2

---------- Post added at 09:41 PM ---------- Previous post was at 09:23 PM ----------

I used flashify. I just pulled the recovery.img and flashed it. Thanks. Now how do I update adsp so I can flash hk

Sent from my HTC One_M8 using Xparent Blue Tapatalk 2
[One (M8) Original Android Development] snebojsa:
You probably miss your cid from android-info.txt from zip file.
[One (M8) Original Android Development] HC4Life:
Here:

http://xdaforums.com/showpost.php?p=55242227&postcount=741
[One (M8) Original Android Development] DROITURK182:
[MENTION=1162986]Captain_Throwback[/MENTION] sorry for the noob question earlier this week about the OS fix I downloaded your newest recovery from mikmik and open the zip and you must have setup for Universal flashing with the OS number set to 2.00.000.0 all I did was edit it in a text editor to my firmware and it shows up on boot loader has the correct firmware 2.22.531.6 for T-Mobile US. Now I know what to do when flashing your great recovery. Thanks

Sent from my HTC One_M8 Space Banana.
[One (M8) Original Android Development] leebsammy:
Flashed 2.8.0.6 w/ fastboot and it works perfectly. Thanks!
[One (M8) Original Android Development] joni2012:
You have link please? Thanks
[One (M8) Original Android Development] omar302:
You can find it here.
[One (M8) Original Android Development] Captain_Throwback:
Please link to the thread and not just a file. The thread is there for a reason (it has instructions and FAQ, etc.)
[One (M8) Original Android Development] DeathmonkeyGTX:
Captain, I downloaded your newest build from 9/22 from your site and flashed it in hboot. That went fine, booted into recovery fine, made a backup to 128GB sandisk exfat card, worked fine. Tried to reboot and bootlooped. Bootloop stopped when I removed the microSD card. I tried deleting the recovery .img from the card, but same result. Deleted the TWRP folder and same result. Formatted the SD card and now it works again. Card read and write fine in my PC usb3 card reader via both intel and asmedia ports. Perhaps something is up with your new exfat implementation?
[One (M8) Original Android Development] Captain_Throwback:
The latest version doesn't use the new exFAT implementation. But this thread isn't for my recovery. Please use my thread to discuss my recovery build.