yashsingh1/xdaforums huggingface dataset:
[One (M8) Q&A, Help & Troubleshooting] Forau:
Had the same problem

I just wanted to share my experience. I had the same problem.

So I downloaded a twrp-backup of my version, since I failed to do proper backups myself. Then I unpacked it. The system.ext4.win### can be unpacked with tar.

Then I did a: (on my linux, but should work with cygwin for windows. It gives a list of the checksum of all files under the current directory)

find . -type f -exec md5sum {} \; > stock.md5

Uploaded the stock.m5 and compared to my phones files. md5sum -c stock.md5 works if you have it installed, if not, can make a script that uses the md5-command.

What I found in this OTA for me, was that my /system/bin/app_process32 was softlinked to /system/xbin/daemonsu, and thus had the wrong md5sum.

The original was saved, so I booted twrp and adb in to restore the file.

After that the OTA would run, and all looked good, until it rebooted, and got stuck at the boot-screen. Did the hold volume-up and power to reboot into bootloader. (Did it a few times before I read online that you must unplug the usb for it to work)

My OS was the new version (6.12.709.4), so it seemed as the important parts were updated right. I searched for a backup in the recovery-thread, but there was none yet.

After that fastboot boot twrp.img, to start it without flashing. And then did a full backup of phone again, and now unpacked my backup. Just looking through to see if any other softlink was wrong, I found that /system/bin/app_process had changed to also softlink to /system/xbin/daemonsu. (It was softlinked to app_process32 before...)

So I cd /system/xbin/ && rm app_process && ln -s app_process32 app_process

Then I rebooted, and now my phone is working great with android version 6.0.

Im not saying anyone should do like this. I just telling this for those who want to look around before flashing a binary downloaded from somewhere. So as per usual, dont blame me. :cowboy:
[One (M8) Q&A, Help & Troubleshooting] mushfiq20:
I did as u said. from the backup thread i downloaded twrp backup of matching CID, restored it and flashed stock recovery and thn tried updating via OTA. but still no luck. is it happening because i career unlocked my phone?
[One (M8) Q&A, Help & Troubleshooting] Einwod:
Carrier unlocking has nothing to do with the OTA. As long as the firmware, ROM and stock recovery all match, there's no reason why you cannot take OTA updates. If you are rooted, however, you cannot take the updates, they will fail to install.
[One (M8) Q&A, Help & Troubleshooting] mushfiq20:
all the roms of the backup thread are non-rooted stock roms right? so it should have worked i guess.. but it didn't. is there any way to directly flash marshmallow sense stock rom? i found thread for GPE edition but didnt find any for sense edition. my CID is BM____001 btw...
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Have you solved your problem ? If not yet ... you can ask in my thread - http://xdaforums.com/htc-one-m8/help/tutorial-how-to-stock-stock-twrp-t3086860

I'll help you because all your needed files are there.

I just checked all your 9 posts, seems like you not yet solve your problem

---------- Post added at 12:24 AM ---------- Previous post was at 12:21 AM ----------

Which backup that you restored ? You need 4.20.666.2 and I don't see anywhere that backup is posted.
[One (M8) Q&A, Help & Troubleshooting] mushfiq20:
i restored this one.. https://www.androidfilehost.com/?fid=23578570567722629

i know this is not 4.20.666.2. but i thought if i could climb my way up to marshmallow from 1.55.666.4 by updating again and again.
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
You can try. But I think the OTA will detect that the ROM number doesn't match your firmware number, and fail.
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
That's too low version.

Have a look the thread linked in my signature. There's a non-rooted backup 3.34.666.4. Give me 5 minutes, I put up link for 4.20.666.1 so you do only 2 OTAs to Marshmallow - 4.20.666.1 --> 4.20.666.2 --> 6.13.666.7

If you're willing to wait, I can upload 4.20.666.2 tomorrow night as it is already late here and I need to go to bed soon. Make request in my thread so I don't forget (if this is needed)

Edit : Link for 4.20.666.1 updated
[One (M8) Q&A, Help & Troubleshooting] mushfiq20:
thank you so much. .:) i will have to flash it tomorrow anyway. but i guess 4.20.666.1 will be good enough. i dont have a problem with doing 2 OTA's
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Sure can .. but will be late night here after I come home from work (also my internet is not fast enough .. to upload a nandroid takes about 2-3 hrs)
[One (M8) Q&A, Help & Troubleshooting] mushfiq20:
you dont have to go through the hassle. this version will do.. i just hope it works.
[One (M8) Q&A, Help & Troubleshooting] mushfiq20:
now this is weird.. i flashed 4.20.666.1 .. and when i check for software updates i get "There are no updates available for your phone." :/
[One (M8) Q&A, Help & Troubleshooting] Einwod:
Keep your hair on and wait a while. It takes time sometimes for the updates to come through. You did flash the stock recovery as well?
[One (M8) Q&A, Help & Troubleshooting] Mr Hofs:
As additional info :

The stock recovery (or custom) doesn't influence the possibility to detect and download the new ota's. It's only needed to install the ota

:)
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Damn .. this is the one .... can't remember which 1 of the 6 MM released that you cannot do OTA from a lower version. Now I can take note this is the one ...

Usually a lower version can do OTA as it grabs the next OTA but for this particular version after 4.20.666.1 it grabs the 3 MM preparation update files instead of next OTA .. in one of the xml in data/data will show that you need to do OTA to 4.20.666.2 first then only can grab OTA 6.13.666.7

That xml even give the URL for OTA but being S-On you can't manually installed OTA.

Wait for tonight, I'll upload 4.20.666.2 then you should be able to OTA
[One (M8) Q&A, Help & Troubleshooting] mushfiq20:
yes..

okay.. waiting...
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
It's available on my thread
[One (M8) Q&A, Help & Troubleshooting] mushfiq20:
finally it worked! i am on 6.13.666.7 now.. thanks a ton! :)
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
So I take it from this that Sense Marshmallow is now rolling out to other variants? I've only seen it on the Dev Edition so far.
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Dev Edition - 6.12.1540.4

Taiwan - 6.12.709.4

Bell Canada - 6.13.666.7

Rogers Canada - 6.13.631.7

America Latin (LA_SPA) - 6.14.599.1

Vodafone Australia - 6.12.710.4

Optus Australia - 6.12.980.5
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
Thanks for the info.

Interesting, the Canadian versions are usually one of the last to get updates.
[One (M8) Q&A, Help & Troubleshooting] JimmySoo:
hey man, i'm having the same issue as well, unable to run the OTA update to marshmallow. I tried installing TWRP using Fastboot Install Method (No Root Required): but I hit an error

C:\Android>fastboot flash recovery twrp.img

target reported max download size of 1826283520 bytes

sending 'recovery' (17020 KB)...

OKAY [ 1.550s]

writing 'recovery'...

(bootloader) signature checking...

FAILED (remote: signature verify fail)

finished. total time: 2.166s

The last time I ran the RUU (RUU_M8_UL_L50_SENSE60_MR_hTC_Asia_WWE_4.19.707.2_Radio_1.25.21331147A1.06G_20.69.4196.01_F_release_414204_signed) without fixing this and now I can't update to the latest version again.

CID: HTC__044

MID: 0P6B11000

4.19.707.4

Do I need to unlock the bootloader first before I could do anything?

Appreciate if you can help me out.
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
You can't install TWRP on a LOCKED device. And you don't need TWRP for OTA installation, it needs stock recovery.

So.. why can't you do OTA this time ? What's the error this time ?
[One (M8) Q&A, Help & Troubleshooting] JimmySoo:
I'm getting this error.

E:unknown command [set_err_msg]

"/system/app/Music2/Music2.apk" has unexpected contents.
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Last time was SystemUI.apk ....

What you can try ...

Run that RUU again .. don't setup google accounts, only connect to wifi then do OTA to 4.19.707.4 then OTA to 6.14.707.1

If after setup 4.19.707.2 you got that 3 MM preparation updates, select restart later then continue checking OTA for 4.19.707.4

If all these fail, you need to unlock bootloader then follow the tutorial here : http://xdaforums.com/htc-one-m8/help/tutorial-how-to-stock-stock-twrp-t3086860
[One (M8) Q&A, Help & Troubleshooting] JimmySoo:
I can't run the RUU that I have, ERROR [155]: UNKNOWN ERROR

The ROM Update Utility cannot update your Android phone.

Please get the correct ROM Update Utility and try again.

Why is that happening lol? What I have done is to unlock the bootloader and nothing else.
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Your bootloader now is unlocked ? no more LOCKED ?

You cannot run RUU on an unlocked bootloader.

If it is unlocked then why you can't install TWRP as you mentioned earlier.

Tell which one now ... bootloader is unlocked, relocked or locked ?
[One (M8) Q&A, Help & Troubleshooting] JimmySoo:
I have it unlocked after I tried installing the TWRP (failed obviously since it needs to be unlocked), so now its unlocked. And phone is reset to factory default settings, running on 4.19.707.4.
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
So you have two options :

1. relock the bootloader with command fastboot oem lock then reboot bootloader then run RUU and follow what I said earlier.

or

2. Go to my thread and read the tutorial on post #1

Install TWRP 2.8.7.0

Download and restore 4.19.707.4 backup (don't use yours one as the music2 is problematic)

Install stock recovery 4.19.707.4

Reboot, setup then OTA to Marshmallow
[One (M8) Q&A, Help & Troubleshooting] JimmySoo:
Okay, I will try method #2.

Thank you very much! Will update you the outcome.

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

*UPDATE*

Finally got it working and managed to update Marshmallow successfully, thank you very much sir!
[One (M8) Q&A, Help & Troubleshooting] JimmySoo:
Hey CK, I have encountered another problem after 1 - 2 weeks of usage. The sim was unable to read and I couldn't turn on the WiFi at all. So I tried factory reset but an error popped up and said failed to load driver unknown error 19. And everything related to android stopped working error comes up during the configuration screen.

What should I do now? Appreciate if you can help me out :) Thanks!

**

I suspect battery could be the issue, let me replace the battery and see how it goes.

**

Okay, after the battery replacement, the same issue still persists. I noticed the IMEI is invalid too :(

**

So I proceeded to get back on stock with TWRP Stock Nandroid Backups using the latest backup and recovery 6.14.707.1, but still getting the same error (failed to load driver unknown error 19).

Regards,

Jimmy
[One (M8) Q&A, Help & Troubleshooting] wahyoe90:
help me

hello friends

i have the same this problem i can't install OTA update in my htc m8 telstra. . .before i unlock bootloader then im root this phone. . .and i want to back to stock rom and install OTA update. . .i see thread in youtube restore to stock recovery, unroot and i try to install stock recovery already try then i relocked bootloader use "fastboot oem lock" but still same i can;t install OTA update. ..my htc now position in stock recovery 4.12.841.9 (Telstra) and relocked bootloader. . .if there solution please help me to get back to stock like new so that i can install OTA update step by step. . .thanks
[One (M8) Q&A, Help & Troubleshooting] Dhanikondabalu:
I got HTC ONE M8 SPRINT UNLOCKED and it's showing that my mobile is rooted using SUPERSU , and in settings it shows full unroot. If I unroot it does it get locked again? Really need some help here. Thank you.
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
No, the unroot option will not lock the bootloader.

But it also won't help you OTA update (stock

never rooted

Sprint ROM is needed).

---------- Post added at 10:33 AM ---------- Previous post was at 10:28 AM ----------

You need stock recovery

and

stock ROM (unrooting is not enough, it has to be a

never rooted

ROM).

You do

not

need to relock the bootloader to OTA (only to RUU). This was a wasted effort, and now you have to unlock it again in order to restore the stock ROM.

All you need should be on ckpv5's thread: http://xdaforums.com/htc-one-m8/help/tutorial-how-to-stock-stock-twrp-t3086860

Briefly, what you need to do is:

1) Unlock the bootloader again by HTCDev.com

2) Install TWRP again

3) Restore proper stock ROM from ckpv5's thread

4) Restore stock recovery from same thread

5) OTA update

Although the OS number you stated does not match what is on the thread (4.19.841.0). Did you possibly type it wrong?
[Galaxy S6 Edge+ Q&A, Help & Troubleshooting] s8freak:
Does anyone happen to have stock G928C firmware or the link to it???

"All we know is he's called the Stig!"

Sent from my G928C Rockin AUDAX Plus Rom
[Galaxy S6 Edge+ Q&A, Help & Troubleshooting] s8freak:
Mods please close I found what I was looking for

"All we know is he's called the Stig!"

Sent from my G928C Rockin AUDAX Plus Rom
[General Topics] tboy2000:
On my homescreen I have the battery icon and I want it to show the clock instead. How do I change this? A registry tweak? I tried SKTools option but it did not work. I know you can choose to show the clock in all programs from the MORE option in Clock setting but I want to show it on the Today page.

Thanks so much!
[General Topics] Bulldog:
What Device? WHAT OS? Look in WIKI under Registry tweaks
[General Topics] tboy2000:
Sorry. I have Asus P525 with Windows Mobile 6 Beta 2. I looked in the wiki. Asus phones are not listed and looked at some basic reg tweaks to enable the clock only but the reg key is not in my registry and the hide battery key is not in my registry either. Any help appreciated.

Thanks!
[General Topics] WIRO:
i got an p3300 with mobile 6 and to do the trick i did this reg tweak.

advised by tom codon,so all credit to him.

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shell]

"ShowTitleBarClock"=dword:00000001

think it could just as well work on your device ;-)
[General Topics] cktlcmd:
Try this, free and has a small footprint: http://xdaforums.com/showthread.php?t=260441

---
[General Topics] tboy2000:
Thanks. I tried LVM time. It works - sort of. Sometimes I get graphical glitches. Also cant change the font size even though I am given the option to.

The registry tweak works great so uninstalling LVM time.

Thanks so much!
[XDA Assist] _XblackshadowX_:
Hi everyone, to make a long story short.......

Just recently while am using System app remover to remove unwanted system apps (after successfully rooting my phone) i accidently removed "Google Services Framework", after accidently removing it, i cant use my Google account on this phone anymore, it even doesnt show any options to log it in (or something similar)

When Google Store says that i have to log in my account on the phone, whenever i tap ok nothing happens...

Any fixes or recommendations? Hope you guys help me :'(

What i did so far:

I tried installing the Google Services Framework with the apks i got on the web, but they dont work, some apks i got gives me problem parsing package while "one apk" gives me that "application not installed"
[XDA Assist] Primokorn:
Thread closed / Answer given there
[Xiaomi Redmi 1S] Rahulraj943472:
TWRP recovery does not open.

When i flashed cm12.1 r21 build and again go back to cm11 after 1day when i opening the recovery it does not open.It stay on teamwin logo for long time then i flashed it again and again twrp 2.8.7 , 2.8.6 and also 2.8.4 but problem not solved.All other recovery are working just fine.

Please help i am not satisfy with other recovery.
[Xiaomi Redmi 1S] aldirudianto:
Did u use f2fs format?
[Xiaomi Redmi 1S] Rahulraj943472:
No.

After getting back to cm11 when i open recovery some times later it does not open.
[Xiaomi Redmi 1S] aldirudianto:
Well i had got "cannot enter twrp" issue when using f2fs format, solved by revert twrp back to 2.8.6.0. I dont know, but try to delete twrp folder in internal and ext storage, then flash twrp 2860. Hope it helps.
[Xiaomi Redmi 1S] Rahulraj943472:
Thanks i will try it.
[Xiaomi Redmi 1S] Rahulraj943472:
Not work bro.
[Xiaomi Redmi 1S] khairulez:
Flash twrp via fastboot with this commands (rename as recovery.img first);

- fastboot flash recovery recovery.img

- fastboot erase cache

- fastboot reboot

After phone boot up,turn off the phone and enter recovery.
[Xiaomi Redmi 1S] Rahulraj943472:
So its the last option i will try it.
[Xiaomi Redmi 1S] Jarrod01:
i encountered the same problem, my data and cache format is f2fs. and i think it's the problem. I installed twrp 2.8.6.0 using the twrp manager in the play store and reformated these two partitions to ext4. then everything is fine
[Xiaomi Redmi 1S] Rahulraj943472:
My problem is solve it comes from my memory card
[Galaxy S II Q&A, Help & Troubleshooting] ananchu_:
Hello, I'm new here..

and new too for using any custom rom..

Week ago tried the whole instructions for installation using

Latest build : RR ROM 5.5.8

Gapps-L-4-21-15.zip

Everything's working fine and great, thank you for developer..

But the thing is, why my SGS2 get OVERHEAT often every time there's application running?

Is it normal? Or did i do something wrong?

Thks.

ps: sorry if i don't get this post right.

GT-I9100 Lollipop
[Galaxy S II Q&A, Help & Troubleshooting] keithross39:
A lot of Lollipop custom roms have this issue......They tend to require a lot of power to run.....as these custom roms become more 'polished' battery usage should decrease, which will lead to the phone running cooler.....

In the long term, having a battery overheat, is not going to do it much good, and micro-electronics tend to dislike regular overheating too......

If you are worried about it, I'd suggest rolling back to a JB or KK based custom rom.....They do run cooler.....

http://i.imgur.com/rVnFwJM.jpg
[Galaxy S II Q&A, Help & Troubleshooting] Bapsu:
I9100 tends to heat from back cover. As long your fingers arent burning, you are ok.
[Galaxy S II Q&A, Help & Troubleshooting] keithross39:
Sorry fella.....gonna disagree there.....

I had an S2 for 3 years, and it never suffered from overheating.

And to re affirm one of my other points.....

(Speaking as someone who knows/has experience in this field) Longterm overheating WILL damage batteries and micro electronics..........

(That is why an Xbox/PS4/PC/Laptop has a cooling fan)

http://i.imgur.com/rVnFwJM.jpg
[Galaxy S II Q&A, Help & Troubleshooting] Bapsu:
We cant know what does OP mean with overheating, so its hard to say is his/her phone overheating or not. At least mine works on normal temperatures with CM12.1.
[Galaxy S II Q&A, Help & Troubleshooting] keithross39:
If OP says phone is overheating, we have to take him at his word and advise him accordingly......

We're not here to 'second guess' what is happening, we're here to provide advice/solutions......

http://i.imgur.com/rVnFwJM.jpg
[Galaxy S II Q&A, Help & Troubleshooting] ananchu_:
Thank you sir [MENTION=4806698]keithross39[/MENTION] & [MENTION=7039315]Bapsu[/MENTION], both of you for explaining to me. Its not my battery that overheat.

Around the camera (top of the back of my sgs2) that quite often to get overheat everytime some apps/browser is running. Is it normal?

Thank you.
[Galaxy S II Q&A, Help & Troubleshooting] keithross39:
If I remember correctly, the location you are describing is pretty much where the CPU is.....If it's running hot, it's because you are asking it to work at the limits of what it was designed to handle.....

As I said in my earlier comment, my phone was fine for the 3 years I had it.....no heating at that location that I can remember. My current device (S5) sometimes gets too hot for my liking, but never my S2......

My advice......

Treat the heating as an 'early warning' sign, and rather than let it continue like that, do something to stop it happening.....

It'll be better for your device in the long term....

http://i.imgur.com/rVnFwJM.jpg
[Galaxy S II Q&A, Help & Troubleshooting] ananchu_:
Yess, i tend to give my s2 some time to cool down if that happen. Be cause i don't wanna overused it. Anw, thank you ?.

Hm, for my reference only. May i know what ROM+Gapps, PIT size your s2 currently using right now sir?
[Galaxy S II Q&A, Help & Troubleshooting] keithross39:
My S2 currently is running rooted, debloated stock......

I *never* changed the pit ratios, and the last custom rom it ran was Markox89's CM11 + the GApps recommended in that thread....

http://i.imgur.com/rVnFwJM.jpg
[Onetouch Idol 3 Q&A, Help & Troubleshooting] defcomg:
Could someone share the stock camera apk

as well as the entire /system/framework/ folder and

/system/lib/hw/camera.msm8xxx.so
[Onetouch Idol 3 Q&A, Help & Troubleshooting] famewolf:
Why can't you get that from the TWRP backups posted here: http://xdaforums.com/showpost.php?p=62006681&postcount=3
[Onetouch Idol 3 Q&A, Help & Troubleshooting] defcomg:
Could you test this apk see if manual exposure time and manual focus manual iso works http://xdaforums.com/showpost.php?p=63521943&postcount=58
[Onetouch Idol 3 Q&A, Help & Troubleshooting] Nikola Jovanovic:
Mine was also broken on stock, works fine until I play with manual stuff.. It could make great night photos just with setting shutter speed to 1/2

sent from Hell
[Onetouch Idol 3 Q&A, Help & Troubleshooting] defcomg:
use the apk from this post http://xdaforums.com/moto-x-style/general/howto-enable-camera2-manual-camera-t3238748

i think the manual stuff is mostly fixed just let me know what acts crazy so we can fix so far manual control + raw should work
[Onetouch Idol 3 Q&A, Help & Troubleshooting] Nikola Jovanovic:
I have problems with camera crashing immediately after I try to select exposure and shutter speed. It worked some time, got broken, worked and broken again. Funny behaviour.

sent from Hell
[Onetouch Idol 3 Q&A, Help & Troubleshooting] defcomg:
hmm must have been broken with addition of other device could you create a folder named DEBUG inside /DCIM/FreeDCam it will logcat this behaviour then after running camera look inside freedcam for a text file then share that file.

also check CCT and MF if they are working correct
[Onetouch Idol 3 Q&A, Help & Troubleshooting] Nikola Jovanovic:
It was misunderstanding. I was talking about official cam that comes with stock firmware. :)

sent from Hell
[Onetouch Idol 3 Q&A, Help & Troubleshooting] dapezzz:
Hello everyone

I installed CM12, but I'd like to port the stock Camera app form Alcatel.

Does someone know how to do this ?

Thanks
[Galaxy Note 3 Q&A, Help & Troubleshooting] joooshren01:
I am using CM12.1 now

And I am looking forward Android 6.0
[Galaxy Note 3 Q&A, Help & Troubleshooting] frequentc:
CM 13 is being worked on right now, so it should be available in a few months.
[Verizon HTC One (M8)] ibetheelmo:
And now I have no OS to install to.

I can go to boot menu, and I can go to the TWRP recovery menu and click 'install' and such on Roms.

I also have access to the phone through USB.

I downloaded "VZWm8LfirmwareTWRP.zip" and try to install it from the install section, however it fails every time.

Says everything files through fine, but the last lines are,

"Installing '/sdcard/Download/vzm8lfirmwareTWRP.zip..

Chiecking for MD5 file...

Skiping MD5 check: No MD5 file found

Error Flashing zip...

(exc)"

Please Help, I can't access anything on my phone now. I just wanted to go back to stock from GPE so I could do the proper updates through the phone.

:(

and now in trying to fix it, I can't even get into TWRP anymore. Stuck in the bootloader thing...

Why did I try going back to stock.... ****kkkkkk