yashsingh1/xdaforums huggingface dataset:
[One (M8) Q&A, Help & Troubleshooting] xunholyx:
It shouldn't bootloop, but maybe it will work. Since the ROM is a port from the HTC 10, the GApps/trusted face might be tied to that and incompatible with the M8? Actually, I think trusted face was never an option on the M8, but I could be wrong.

I just tried it on my M8 running ViperOneM8 6.2.0 (Beta test ROM ~ don't go looking for it because it doesn't exist anymore) and it FC'd trying to set it up.
[One (M8) Q&A, Help & Troubleshooting] justinchao740:
apk doesn't work all the time because the app need to be installed as a system app with specific name and everything. Not every apk can just be installed and works. for trusted face to work with apk, try using es file manager, go under device, system/app, go to the top right with three dot and create a new folder name it "FaceLock" note the capitalization and download FaceLock.apk from online and put the apk in that folder, set permission rwx r-x r-x and restart. It will most likely not work because it also requires google smartlock's trusted agent but you can give it a shot. if it doesn't work, just flash the stock GAPPS and it should work. ( i recommend you do a system wipe before flashing gapps if you did the apk suggestion but not required just recommended)

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

actually face unlock is compatible with m8 because when i had my m8 stock, it had trusted face included. It also worked quite well until i decided to flash cm 14.1 with google version of trusted face which is slightly different but not much.
[One (M8) Q&A, Help & Troubleshooting] wasim9283:
Can I remove bloatware without root or custom roms? Already having twrp recovery, s-on.
[One (M8) Q&A, Help & Troubleshooting] Einwod:
Flash supersu, remove bloatware, then use supersu to uninstall itself. Bingo.
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Yeah you can when you have TWRP installed.

In TWRP menu select mount menu - mount system & data

In Advance menu - File Manager then browse to system - app or priv-app then delete what you don't need.

Same goes with data - app - then delete any system app that you recently updated thru Play Store. Or uninstall system app update before you boot to recovery then you don't need to delete anything in data-app

But this is a tedious job to delete one by one .... you can do this with PC.

Install any ADB file explorer on PC .. I'm using this one - https://qtadb.wordpress.com/download/

In TWRP menu select mount menu - mount system & data

Open QtADB after phone is connected to PC

Left is what you have on PC, right is what you have on phone

First - apps to be removed can be backup first so we can copy back to system when needed

Second - we can select multiple apps at one go to copy or delete

Third - of course it is easier to delete things when on PC .. select and delete
[One (M8) Q&A, Help & Troubleshooting] Mcshanksy:
Telstra M8 unexpected contents error

Hi guys, hope i'm not butting in the middle of fixing someone else's phone problems.

I have a Telstra Version of the M8. Non-rooted & until today, Bootloader locked, S-on etc. Completely stock.

I have been getting OTA 'google security enhancements update' software update 6.24.841.1 (300.27 MB). I select download and it does then when it prompts to install, it gets to around 25% then freezes with a red triangular error icon. (same as if i was going into recovery mode) After a while, it just reboots as normal and after a time the whole thing repeats. I talked to HTC support (and Telstra too) via instant chat and they said that the system has been modified. Now I'm pretty sure I haven't done anything that might have changed the system at all. (no disabled apps or deleting stuff i don't know what it is or anything). I heard about installing OTA updates from SD card so I tried it using this file:

OTA_M8_UL_M60_SENSE70_MR_Telstra_WWE_6.24.841.1-6.12.841.4_release_4784327awp2y6kue807jme.zip

Doing this produces error 7 (unexpected contents) system/priv-app/worldclock/worldclock.apk (or something like that.) Now i haven't changed it. I rebooted it disabled&reenabled the clock app, reinstalled updates and anything i could think of to restore it to original form. Nothing's worked (obviously or I wouldn't be here asking for help :( )

So i have a couple of options AFAIK:

1. unlock bootloader and attempt rooting it then replacing the worldclock.apk with the correct "uncorrupted??" .apk

OR

2. just deal with it. It's a pain and wants to keep downloading 300MB all the time. I can survive it if i must.

I'd like a solution if possible so i unlocked the bootloader but unsure how best to root the device or how to proceed further. Any ideas? Thanks for your time.

(bootloader) version: 0.5

(bootloader) version-bootloader: 3.19.0.0000

(bootloader) version-baseband: 1.29.214500021.12G

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 6.12.841.4

(bootloader) version-misc: PVT SHIP S-ON

(bootloader) serialno: HT469WM05458

(bootloader) imei: ************

(bootloader) imei2: Not Support

(bootloader) meid: 00000000000000

(bootloader) product: m8_ul

(bootloader) platform: hTCBmsm8974

(bootloader) modelid: 0P6B11000

(bootloader) cidnum: TELST001

(bootloader) battery-status: good

(bootloader) battery-voltage: 0mV

(bootloader) partition-layout: Generic

(bootloader) security: on

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT

(bootloader) commitno-bootloader: 76df2b54

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

all: Done!

finished. total time: 0.033s
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
So the bootloader is unlocked now ?

You don't need to root it (OTA won't install on rooted device),

just install TWRP then restore 6.12.841.4 stock non-rooted backup,

reinstall stock recovery 6.12.841.4, you're good to OTA.

To replace only one apk also possible but this will take more things to do.

You can get the 6.12.841.4 stock non-rooted backup & stock recovery here :

http://xdaforums.com/htc-one-m8/help/tutorial-how-to-stock-stock-twrp-t3086860

Post #1 - How-To

Post #3 - stock backup

Post #4 - stock recovery
[One (M8) Q&A, Help & Troubleshooting] Mcshanksy:
Worked a charm (at least so far). I did all of the steps and the only hiccup i came across was the TWRP mounting the system partition as read-only. only noticed when it refused to restore backup. a quick google search sorted it though. :) Just waiting for the main OS to boot up now.

Kudos to ckpv5. thanks for the help. I'll post back here if i have any furthur issues but at this stage, all looks good.

Cheers!
[One (M8) Q&A, Help & Troubleshooting] kjreisman:
Trusted Face worked on stock M8.

I'm having some trouble flashing the stock GAPPS. I downloaded from Open Gapps and tried to flash through TWRP. It failed with Error 70 saying stock apps were already installed. Is there a different source? There are many variants, but Open GAPPS application said I should use ARM/6.0/Full.

I'm running a Titanium full backup right now in case I do have to wipe the whole system.
[One (M8) Q&A, Help & Troubleshooting] ahmed.ismael:
i don't know if this will work ( i mean Gapps on sense rom )

but you can try the aroma package and choose only your desired app and leave all the options unchecked

edit: AFAIK trusted face have been removed on stock marshmallow ( maybe i'm wrong )
[One (M8) Q&A, Help & Troubleshooting] kjreisman:
I'll try that once my backup is done.

Trusted Face was working on my fully-updated M8 as of Tuesday. I flashed ViperOneM8 on Wednesday and now it doesn't. :confused:

---------- Post added at 12:48 PM ---------- Previous post was at 12:25 PM ----------

Awesome. I used the Open GAPPS Aroma installer, selected only Face Detection for Media and Face Unlock. Now Trusted Face works! Thanks for your help, justinchao740 and ahmed.ismael.
[One (M8) Q&A, Help & Troubleshooting] IMeydey:
Hello

I just bought my htc one m8 and i want to update firmware but somehaw my phone says there is no update to my android and i have 4.4.4. So i decide to update it by myself but on that forum is so many posts and i can't find some tutorial how to do that, i did that once on my old sony z1 but that was long time ago and i dont know if that method will work on htc. So i want to ask if there is anybody who will tell me how to do that (best would be chat but i will be also gratefull if somebody will send a link to method (tutorial with one will work on that phone) what i need to do to do that). also i want to ask if someone can send me link to lastest firmware (orginal or custom) with one is stable (at least 6.0). I already download this one (https://xdaforums.com/showthread.php?t=2704539) but i dont know if i can instal it on my phone and how to do that.

Thanks for help
[One (M8) Q&A, Help & Troubleshooting] ahmed.ismael:
This is a rom not firmware ( the one you linked ) and maybe you will have issues with wifi if you installed it

So to identify the device we need some info about the device ( as there is a lot of variants )

Post the result of ( fastboot getvar all ) after removing serialno and imei

Someone will guide you
[One (M8) Q&A, Help & Troubleshooting] IMeydey:
So:

Android: 4.4.4

HTC Sence: 6.0

Software number: 3.28.401.6

HTC SDK API lvl: 6.25

Kernal version: 3.4.0-g222defb and@ABM102 #1 SMP PREEMPT

Baseband Version: 1.21.21331147A1.19_2G_20.63.4196.01L_F

Build Number:3.28.401.6 CL389838
[One (M8) Q&A, Help & Troubleshooting] ahmed.ismael:
well done but not enough

Reboot to bootloader and post a picture of it here as you don't know how to ( fastboot getvar all )
[One (M8) Q&A, Help & Troubleshooting] Dr_a7md89:
which is the right RUU for my M8x

(bootloader) version: 0.5

(bootloader) version-bootloader: 3.19.0.0000

(bootloader) version-baseband: 1.29.214500021.24_2G

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 6.20.709.2

(bootloader) version-misc: PVT SHIP S-ON

(bootloader) serialno: ****************

(bootloader) imei: ********************

(bootloader) imei2: Not Support

(bootloader) meid: 00000000000000

(bootloader) product: m8_ul

(bootloader) platform: hTCBmsm8974

(bootloader) modelid: 0P6B11000

(bootloader) cidnum: HTC__621

(bootloader) battery-status: good

(bootloader) battery-voltage: 0mV

(bootloader) partition-layout: Generic

(bootloader) security: on

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT

(bootloader) commitno-bootloader: 205bdca3

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

all: Done!

this >

0P6BIMG_M8_UL_M60_SENSE70_MR_hTC_Asia_TW_6.20.709. 2_Radio_1.29.214500021.24_2G_20.73.4196t.01_F_rele ase_467040_signed_2_4.zip

or this >

M8_UL_M60_SENSE70_MR_hTC_Asia_TW_6.20.709.2.zip

i'm s-on

thanks in advance .
[One (M8) Q&A, Help & Troubleshooting] ahmed.ismael:
Hi,nice to see you here doctor

With s-on device you should flash the signed RUU ( if it's not signed the flashing process will be aborted and nothing will be flashed )

and it's just the name is differnet ( version main is the same )
[One (M8) Q&A, Help & Troubleshooting] Dr_a7md89:
It's nice to see you again ðŸ˜ƒ

I wanted to make sure because in the forum which uploaded those RUU someone with the same phone and s-on asked for the right one for him and they pointed him to the one which not named as signed

Maybe it is signed but didn't mention in the file name but the 2 files have different size by about 600 mb.

Anyway... The file which mentioned as signed it completely suitable for mine according to the bootloader info. Right?
[One (M8) Q&A, Help & Troubleshooting] ahmed.ismael:
Yep it's the right RUU

About the different size ( i doubt the smaller one is signed )
[One (M8) Q&A, Help & Troubleshooting] IMeydey:
Lets try again:

(bootloader) version: 0.5

(bootloader) version-bootloader: 3.19.0.0000

(bootloader) version-baseband: 1.21.21331147A1.19_2G

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 3.28.401.6

(bootloader) version-misc: PVT SHIP S-OFF

(bootloader) serialno: xxx

(bootloader) imei: xxx

(bootloader) imei2: Not Support

(bootloader) meid: 00000000000000

(bootloader) product: m8_ul

(bootloader) platform: hTCBmsm8974

(bootloader) modelid: 0P6B10000

(bootloader) cidnum: 11111111

(bootloader) battery-status: good

(bootloader) battery-voltage: 0mV

(bootloader) partition-layout: Generic

(bootloader) security: off

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT

(bootloader) commitno-bootloader: df77f8b7

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

all: Done!

finished. total time: 0.018s
[One (M8) Q&A, Help & Troubleshooting] xunholyx:
Here's the firmware you need.

Flash it in fastboot:

fastboot oem rebootRUU

fastboot flash zip M8_6.12.401.4_WWE_TWRP2870.zip

Or rename the .zip to 0P6BIMG (that's a zero not the letter) and place it onto your extSD, then boot to bootloader and let the hboot do its magic.
[One (M8) Q&A, Help & Troubleshooting] IMeydey:
And that's it? I don't need any root or sth ?
[One (M8) Q&A, Help & Troubleshooting] xunholyx:
You're S-Off dude. That's all you need.

EDIT: If you want to remain unrooted with the stock recovery instead of TWRP, use this firmware instead and change the flash zip command to

fastboot flash zip M8_6.12.401.4_WWE_FullStock.zip
[One (M8) Q&A, Help & Troubleshooting] IMeydey:
I have one last question, where should i put that firmware file to do that with fastboot?
[One (M8) Q&A, Help & Troubleshooting] Einwod:
In the same folder as your fastboot/adb file. Makes it easier to use.
[One (M8) Q&A, Help & Troubleshooting] IMeydey:
When I'm typing

fastboot oem rebootRUU it says "<weiting for any devices>" and nothing happends next. how can i fix it? i can say also i type adb devices and it see my phone.
[One (M8) Q&A, Help & Troubleshooting] ahmed.ismael:
fastboot commands run while device booted into fastboot mode

adb commands run while device booted into OS

So to run fastboot commands you need to reboot to fastboot by using this command

adb reboot bootloader
[One (M8) Q&A, Help & Troubleshooting] Einwod:
You need to be on the bootloader screen for fastboot commands to work. ADB works in the OS or in twrp. From OS type adb reboot bootloader
[One (M8) Q&A, Help & Troubleshooting] IMeydey:
Now when i type fastboot flash zip M8_6.12.401.4_WWE_TWRP2870.zip it says "error: cannot load 'M8_6.12.401.4_WWE_TWRP2870.zip'
[One (M8) Q&A, Help & Troubleshooting] ahmed.ismael:
But the firmware.zip in adb&fastboot folder
[One (M8) Q&A, Help & Troubleshooting] IMeydey:
and that happend

>fastboot flash zip M8_6.12.401.4_WWE_TWRP2870.zip

target reported max download size of 1826418688 bytes

sending 'zip' (41749 KB)...

OKAY [ 3.378s]

writing 'zip'...

(bootloader) zip header checking...

(bootloader) zip info parsing...

(bootloader) checking model ID...

(bootloader) checking custom ID...

(bootloader) start image[hboot] unzipping for pre-update check...

(bootloader) total_image_number=8

(bootloader) start image[hboot] flushing...

(bootloader) [RUU]WP,hboot,0

(bootloader) [RUU]WP,hboot,99

(bootloader) [RUU]WP,hboot,100

(bootloader) ...... Successful

(bootloader) current_image_number=0

(bootloader) current_image_number=1

(bootloader) current_image_number=2

(bootloader) current_image_number=3

(bootloader) current_image_number=4

(bootloader) current_image_number=5

(bootloader) current_image_number=6

(bootloader) current_image_number=7

FAILED (remote: 90 hboot pre-update! please flush image again immediately)

finished. total time: 4.635s

its ok?
[One (M8) Q&A, Help & Troubleshooting] ahmed.ismael:
Flash it again as said in the error line
[One (M8) Q&A, Help & Troubleshooting] ahmed.ismael:
Yes the OS will not change as you flashed firmware only

Now flash the rom you desired

Or you wanted to be complete stock,what do you really need ?
[One (M8) Q&A, Help & Troubleshooting] IMeydey:
I want to have newest software (at least 6.0 custom or orginal but stabile) but I don't know where find file with it and tutorials how to do that
[One (M8) Q&A, Help & Troubleshooting] ahmed.ismael:
if you told us this first you would safe aome time

Anyway here is the latest RUU 6.12.401.4 and hoe to flash ( it's the same as firmware but using htc_fastboot ) all in this post

https://xdaforums.com/showpost.php?p=64926626&postcount=6
[One (M8) Q&A, Help & Troubleshooting] IMeydey:
i done it how it says and on command htc_fastboot flash zip RUU.zip stuck.

D:\Programy\Android\sdk\RUU>htc_fastboot flash zip RUU.zip

sending 'zip'... (53965 KB) OKAY

sending time = 3.445 secs

writing 'zip'... (bootloader) zip header checking...

(bootloader) shift signature_size for header checking...

(bootloader) zip info parsing...

(bootloader) checking model ID...

(bootloader) checking custom ID...

(bootloader) start image[hboot] unzipping for pre-update check...

(bootloader) total_image_number=8

(bootloader) start image[hboot] flushing...

(bootloader) [RUU]WP,hboot,0

(bootloader) [RUU]WP,hboot,99

(bootloader) [RUU]WP,hboot,100

(bootloader) ...... Successful

(bootloader) current_image_number=0

(bootloader) current_image_number=1

(bootloader) current_image_number=2

(bootloader) current_image_number=3

(bootloader) current_image_number=4

(bootloader) current_image_number=5

(bootloader) current_image_number=6

(bootloader) current_image_number=7

FAIL90 hboot pre-update! please flush image again immediately

FAILED (remote: 90 hboot pre-update! please flush image again immediately)

For "hboot-preupdate" response, restart the same procedure for device SH43LWM063

21...

sending 'zip'... (53965 KB)

it's "sending zip" for a 10-15 min and nothing happends
[One (M8) Q&A, Help & Troubleshooting] ahmed.ismael:
flash it again there is nothing to worry as it flashed only hboot now
[One (M8) Q&A, Help & Troubleshooting] IMeydey:
Thanks, everytking work, i wish i can buy you beer :)
[One (M8) Q&A, Help & Troubleshooting] ahmed.ismael:
Just the thanks button
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
To completely remove bloatware, you would need an unlocked bootloader, root, and kernel mod (disabling system write protection). Although I think some folks have had luck (after root) mounting system with a file manager like ES File Explorer, and deleting the apps with the file manager.

If you don't want to go through that process (unlock bootloader, root, etc.) than going to Settings>Apps, and disabling the apps may be enough for you.

Bloat apps take up space on the system partition, so they shouldn't significantly affect (once disabled) the user-accessible internal storage. So the "disable" option may be enough for you.
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
[MENTION=7973490]Bergsi[/MENTION]

First .. no point to S-Off your device if your intention is to SIM unlock, won't work.

You need the unlock code from the carrier.

Second .. your mistake is using an outdated TWRP version made in 2014 on your current Marshmallow firmware. Won't work, you get blank screen upon reboot.

Third .. read my thread thoroughly, it is recommended the lowest version TWRP is 2.8.7.0 and preferable the latest 3.0.2-0

So .. install TWRP 3.0.2-0 then restore Marshmallow backup 6.12.166.4 (on post #3), you should have a working phone.

Good luck & good night
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
Your hboot numbers don't matter. Those old s-off methods won't work on

any

hboot numbers. They all had an online server component, needed to make them work. Since the devs (same devs as sunshine) stopped supported that server (which happened way back in Dec 2014), the old s-off methods no longer work.

Get the SIM unlock code from the carrier. Or buy one form an online vendor for less than $10 US.

As far as getting stuck, your main problem is using old methods, and old files. Always make sure you use most updated info and files. The world of Android moves quickly, and using old resources will often get you stuck. For instance, every time a new Android version is released, root method will change; and therefore you will usually have to use a new version SuperSU to root. If you aren't sure of what has changed, or what hasn't; just come on here and ask.
[One (M8) Q&A, Help & Troubleshooting] Gargoyles:
Hi! I bought a m8 who wont boot properly. after boot apear an image who say:encrypt storage, to start android type pasword. i did factory data reset and wipe cache but nothing. i tried to unlock bootloader with htcdev but after unlock succesfuly, on the phone bootloader is still locked. i think usb debugging is not enabled. i cant install custom recovery, cant flash stock ruu...i dont know. ill try to put some pics with various info. i still think is posible back to life. So i can use fastboot and recovery.
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Is the device S-Off ? If yes, you still can try to install TWRP and format data (not wipe data) in TWRP that usually fix this encrypted data problem.

If it is S-On ... it's best to return it and get back your money, not worth to try anything as this usually means the data partition is corrupted. Factory reset won't fix it because factory reset just wipe data not formatting it. RUU most of the time won't be able to fix it too.
[One (M8) Q&A, Help & Troubleshooting] Gargoyles:
Is s-off, i tried format data and sayd that. wiping data...

backup necesary files in data partition

backup cw package

formating data. after that reboots and nothing new happend.... strange. thank you for reply.
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
You mean you boot to recovery where you already have TWRP installed and then you selected WIPE menu then you selected FORMAT DATA menu then you typed YES then you went back to MAIN MENU and then selected REBOOT menu then selected RECOVERY menu then you INSTALLED a ROM and booted and nothing happened ?

If yes .. nothing much you can do .. send it back to the seller.
[One (M8) Q&A, Help & Troubleshooting] Callliope:
Anybody had the problem with thumbnails data bug? I had 3 gb occupied, if i delete them i still dont get the space back, i see that space undrr "other" column in storage
[One (M8) Q&A, Help & Troubleshooting] sathyateja:
How to root HTC one m8 at&t pls
[One (M8) Q&A, Help & Troubleshooting] mrrocketdog:
might check here :

http://xdaforums.com/showthread.php?t=2800727

"err on the side of kindness"
[One (M8) Q&A, Help & Troubleshooting] hamouzje:
Hello, I got my HTC one m8 8 months ago. And now the problem is when i lock my phone after use, it turns off and i have to press the power button to get it awake again. However when i have the charger in the phone i have no problem. Usually turns off a few seconds after i lock it. running in official android marshmallow 6.0 with software number (6.13.661.9)

Any solutions please!
[One (M8) Q&A, Help & Troubleshooting] justinchao740:
Do you mean that I'd shuts down entirely?
[One (M8) Q&A, Help & Troubleshooting] hamouzje:
Yes exactly, and I should turn it on again
[One (M8) Q&A, Help & Troubleshooting] know.i.dee:
Hello , Its proving impossible to find anything regarding the update of Hboot v.318.0 to v.3.19.0: -

HBOOT (3.19.0.0000) for international / Euopean / England (Hutchinson 3G) variant is needed ; can anyone direct me please
[One (M8) Q&A, Help & Troubleshooting] Einwod:
Go here. All you need in first 5 posts but read carefully.

https://xdaforums.com/htc-one-m8/help/tutorial-how-to-stock-stock-twrp-t3086860/
[One (M8) Q&A, Help & Troubleshooting] know.i.dee:
cheers
[One (M8) Q&A, Help & Troubleshooting] justinchao740:
Any modifications of any kind?
[One (M8) Q&A, Help & Troubleshooting] hamouzje:
No I didn't play with phone's software, now it is running on Marshmallow 6.0 bootloader is locked and S-ON.

But now I'm thinking to unlock bootloader and try to install custom roms maybe it will work(I don't know how to do it yet I should learn first).

If you can give me source to unlock bootloader for 6.0 version I will be glad, because I think there is no solution for my phone.