yashsingh1/xdaforums huggingface dataset:
[One (M8) Android Development] KasperHermansen:
Xposed

Will installing xposed and sense 6 toolbox disable OTA if i have done this? :)

Edit: And what about installing adaway? :)
[One (M8) Android Development] mike1986.:
You can't run xposed on odexed rom. Adaway will replace the hosts file and that is enough to stop OTA.
[One (M8) Android Development] KasperHermansen:
Okay, so it also needs to be an odexed Rom? :)

I actually ran xposed on the factory Rom and it worked fine :)
[One (M8) Android Development] enewman17:
The black screen with the triangle and exclamation, that is the stock recovery.
[One (M8) Android Development] enewman17:
Xposed worked just fine on stock odexed ROM....

On the latest ATT update we got last week the update script check the sha1 of all the stock apps in the app, priv-app, framework. It also checked customize, ACC/CID/MNS> default.xml's. It checked a few bin files a few lib files and kernel modules. It did not check for superuser or the su binary. It did not check the app_process.bin so if you have Xposed installed the OTA should still take. It also did not check the host files so if you do install adaway should be fine.

Updater-script for latest 1.58.502.1 AT&T update.

attached.
[One (M8) Android Development] KasperHermansen:
I'm running a Nordic unbranded and I want my phone stock(stability and reliability). I just don't want all those ads and want sense 6 toolbox :)

But if that interferes with OTA, i'll just have to install the updates myself :)
[One (M8) Android Development] krihoum:
thanks, i thought something was wrong there. so in that case, is there some buttons combination to display the options in the recovery? Because apart from the icon with the triangle i don't see anything else

thanks
[One (M8) Android Development] CrazyCypher:
What are the steps if I have already ARHD 6.1 installed?
[One (M8) Android Development] sean.trinidade:
1) Revert to stock

2) Follow the instructions in the OP
[One (M8) Android Development] dsmpampis:
So guys correct me if I'm wrong.

If you have a brand new device the first thing to do is : unlock the bootloader

Then flash a custom recovery(ex TWPR)

Then flash root method

Then the boot.img

Reboot

And at the end s-off the device.

Am I right?

Did this root method is permanent? Are we still having superSU?

Thanks in advance!

Tapatalked with my refrigerator look HTC one M8
[One (M8) Android Development] sean.trinidade:
I would personally do the following:

1) Unlock the bootloader

2) Flash custom recovery from fastboot

3) Flash boot.img from fastboot

4) Fastboot erase cache

5) Boot into custom recovery and flash root and busybox

6) reboot into bootloader

7) flash stock recovery

8) reboot device

Less having to hope from one screen to another!
[One (M8) Android Development] djjet:
OTA update

Hi. i rooted my Europe HTC One M8 with this method. I have firmware 1.54.401.5. Yesterday my phone check OTA updates and offer me to download new update 1.54.401.10. If i want to install this OTA update, after installing i lost root? rw protecton will be enabled? And my phone stay unlocked? Also i modify permission.xml for disable write protection to SD card - for enablig backup to sd card with titanium backup.

thx
[One (M8) Android Development] neilmcd:
Do we need an updated boot.img for 1.54.401.10 or will the one in the OP still be ok?
[One (M8) Android Development] BerndM14:
lol...First time I saw that I thought it best to sell the phone as soon as possible, thought I messed up somewhere :silly:

It's some type of security measure I think, just press and hold volume up key and then tap power button to go into recovery options.

IF you haven't figured it out by now, I see that this post of yours is more than a week old now so... :eek:
[One (M8) Android Development] krihoum:
well it wasn't obvious and yes i was in shock hehe

thanks for replying to me, i really appreciate it
[One (M8) Android Development] v_superuser:
The file link's broken. Could you check? :)
[One (M8) Android Development] SouthBayBruin:
Hello,

I have rooted my device by booting into TWRP using fastboot commands and flashing the UPDATE-SuperSU-v1.99r3.zip file. Everything was working perfectly using a rooted stock ROM until I tried to save my Titanium backups to my external sd card. Apparently the system RW protection is preventing me from changing the platform.xml file.

Which of your files do I need to flash in order to disable RW protection? Both the Boot.img and the Root_and_BusyBox.zip? After I flashing the necessary file do I just need to edit platform.xml and add media_rw to WRITE_EXTERNAL_STORAGE in order to write to my external SD card?

Will flashing these files affect anything on my current system and stock ROM?

Thanks for the help
[One (M8) Android Development] wetxxx:
Please answer what can i do to fix te problem with my stock update Rom. I have 1.54.401.10 version cid_032

I dont have s_off.

Send from HTC device.
[One (M8) Android Development] mike1986.:
Package for the 1.54.401.10 update in the first post :)
[One (M8) Android Development] wetxxx:
Mike is this procedure of fastboot hboot, su and busy box from rat archive still actual? In download link was only New Roms and firmware.

Send from HTC device.
[One (M8) Android Development] mike1986.:
Sorry I don't understand the question...
[One (M8) Android Development] wetxxx:
Sorry, in First post on the last part you wrote some instruction about fastbooted hboot, recovery, su and busy box from some kind of rat files. Where can I find it?

Send from HTC device.
[One (M8) Android Development] rorm2010:
i just click on the Downloads Rooting tools for the HTC One M8

and it is not working

This filename doesn't exist!

Please use a link with a correct filename!
[One (M8) Android Development] mike1986.:
fixed
[One (M8) Android Development] wetxxx:
Mike my root works like charm :) i try this some operation and this action doesnt crash a Phone :)))

I try tomorrow make a some test and I will write a few words

Send from HTC device.
[One (M8) Android Development] Dolphin87:
Thats helpful thanks
[One (M8) Android Development] chrisnz1947:
HTC one M8 developer and system rw

I have a developer edition of the M8 currently at 1.54.1540.9 software level.

I have been looking at various methods to get system mounted rw and non of the ones I have tried have worked.

I an interested in using your method, not for the possibility of future OTA updates but to get system rw and thus solve a few problems I am having with apps attempting to create files within the system directory structure.

My cid is BS_US002 and I can see no reason that flashing your boot image would be a problem. would you agree with this?
[One (M8) Android Development] fBx:
So this will keep me stock and allow official OTA updates but grant me root access and nothing more?
[One (M8) Android Development] mike1986.:
Rooting tools 0.3 uploaded.
[One (M8) Android Development] V_N:
On Firmware 1.54.841.8...

Hi Guys,

I just got my M8 with firmware 1.54.841.8 and wanted to check if it would be safe to flash the boot.img to it. Any ideas if it would work? I have already unlocked the bootloader via HTC Dev.
[One (M8) Android Development] Henz77:
hi there

hi guys, i just got my silver m8 today, and my friend accidentally upgarde via ota to software version 1.60.708.2.

can i still root my phone becoz at tutorial it said targeted for device with 1.5?

thanx before :)
[One (M8) Android Development] StuMcBill:
So, I flashed mikes stock odexed package from here: http://www.androidrevolution.org/downloader/download.php?file=One_M8_1.54.401.10_odexed.zip

And flashed the files from this thread, so will I be able to get OTA's?

My cid is HTC__001

Is there anyway I can replace the bootanimation with no sound and still retain OTA capability?
[One (M8) Android Development] hughfollett:
Hi everyone! If I install the module to disable the rw protection, will I be able to move files from internal SD to external SD?
[One (M8) Android Development] mike1986.:
Rooting tools for 2.22.401.4 updated!

Just a reminder - rooting tools do the following:

- root the device with latest SuperSU

- disable system R/W protection

- add busybox

- add sysrw/sysro binaries

- keep the possibility to receive official OTA update from the HTC

Have fun :cowboy:
[One (M8) Android Development] wetxxx:
Mike: Should I install new version of rooting tolls before instal new OTA ? I install before rooting tools from version 0.3 (1.54.401.10) or older.
[One (M8) Android Development] mike1986.:
After OTA.
[One (M8) Android Development] wetxxx:
when I try install new OTA in a few second I see Phone with red triangle. I have 1.54.401.10 version with aplication.
[One (M8) Android Development] mike1986.:
With what aplication?
[One (M8) Android Development] wetxxx:
My aplication. Some maybe was changed for me.
[One (M8) Android Development] mike1986.:
Well... to apply ota you need to be on stock recovery and stock system partition. It's only possible to add files but you can't remove or change anything.
[One (M8) Android Development] wetxxx:
Ok. I suppose that a change some file in future. Maybe I try backup my aplication and than install fresh 1.54.401.10 from recovery and than OTA.
[One (M8) Android Development] mike1986.:
Rooting tools updated to 0.5.
[One (M8) Android Development] wetxxx:
I manually update missing files from Your Mike rom 1.54.401.10. This operation was difficult but it was a success :)

Now I have a brand, new 2.22.401.4 ROM.

Mike: whats new in 0.5 ? I install 0.4 version.
[One (M8) Android Development] mike1986.:
Disabled system r/w protection.
[One (M8) Android Development] JEZ69:
Hi Mike really really thanks....:D

For people who want less vibrate on haptic feedback you can put this file in unit.d using file explorer.

You can change the value inside if you want... the stock value is 3100...

Don t forget to reboot...

Can you maybe make a flashable zip Mike?..

And thank s again for this post...

https://drive.google.com/file/d/0B9TIsMSs4KWKRW1FbUM1SWp5LUU/edit?usp=sharing
[One (M8) Android Development] Glue:
So, I got my HTC One M8, unlocked bootloader, installed TWRP, Rooted using SuperSu then I used Sunshine to S-Off and unlock my phone.

Now, I want to install the new OTA update to 4.4.3.

I want to use your method so I can receive the official OTA.

A few questions:

1. If I apply your method, after doin all the steps, will my phone keep the S-Off and still be unlocked?! Or I'd have to use Sunshine again, pay another 25$ and S-Off and unlock it?

2. If I try your method, install the OTA update to 4.4.3, I understand that I loose the root and have to root it again and the reuse Sunshine to S-Off and unlock it. Am I right?
[One (M8) Android Development] boe323:
Once your phone is s-off ...it will stay s-off. only way you loose it is if you turn s-on back yourself.
[One (M8) Android Development] fightinfilipino:
i assume doing a system/cache wipe and then flashing this (Revolution or the Stock) will solve any problems with lingering files that might stop a OTA update?
[One (M8) Android Development] chrisjasper:
New OTA - fails in CWM

So, I got a notification of an OTA (1.70.61.3) on my device (original rom just opened up using this thread) but after download the phone reboots and recovery states it cannot mount the internal sd to install the file.

Can I copy it off to the external and install it safely through recovery myself, know it sounds like a stupid question but it's a brand new phone and I'm still not flash happy on it yet.

EDIT: my bad "flash stock recovery", I forgot and I put cwm on.

I get the Scooby Doo award for today
[One (M8) Android Development] Sn8kbordin:
Which file do I download from http://android-revolution-hd.blogspot.com/p/android-revolution-hd-mirror-site-var.html for my HTC One M8 from T-Mobile?

It is android 4.4.2, sense 6.0, software # 1.57.531.7
[One (M8) Android Development] wetxxx:
Mike: From 15 of September it's avaliable new ota update 2.22.401.5. Did you check compatibility of yours 0.5 update? It' will be working with this version?

Update:

I try install supersu and busybox and all looks good. Root working great. Should I flash boot.img from 0.5 version? Actually install only Root_and_BusyBox.zip from TWRP.

Update 2:

First time I have a reboot when write to host file. I don't change boot.img file.
[One (M8) Android Development] navid0308:
concerned

im a little shaky about my new htc m8. i did a lot of android flashing/modding on the xperia arc s before. i have a few questions

1. by default my phone is s-off is that a problem? (successfully upgraded to 4.4.2 build: 1.70.61.3 via OTA)

2. if i unlock bootloader but keep stock recovery+kernel will i get the android L ota when it comes out?

3. what i mainly wanna do is flash stock build 2.22.401.4 and root to remove some useless apps like play music, chrome(because htc already has apps for these) and other bloatware

provided i do no.3, will i get OTA?
[One (M8) Android Development] Hammerz:
Root_and_BusyBox question

I have a HTC STOCK WWW (2.22.401.5) with TWRP Cid HTC__001 rooted with (One_M8_All-In-One_Kit_v) but I can not install busybox because of write protection is active. Can I just flash the package (Root_and_BusyBox.zip) on the device rooted or do I have to install (boot.img) to remove the write protection.

Thank you
[One (M8) Android Development] DeeZZ_NuuZZ:
you Need the boot.img with removed protection .then it should work.
[One (M8) Android Development] wetxxx:
Ok but where I can find boot.img in version 2.22.401.5 ?
[One (M8) Android Development] DeeZZ_NuuZZ:
In 2.22.401.5 there is no updated boot.img so using the one from .4 should work too
[One (M8) Android Development] wetxxx:
I compare boot.img fro, .4 and .5 and this is a not same file.
[One (M8) Android Development] DeeZZ_NuuZZ:
yea just a few kb difference...there is nothing Special so just take t he .4 and if it really doesnt ´works find a Rom based on 2.22.401.5 download it and extract the boot.img.. the stock boot.img in each Rom is already unsecured and has the protection removed
[One (M8) Android Development] wetxxx:
Ok, I install elementalX a few days ago and works great. So I don't try install stock with remove rw protection

Send from HTC device.
[One (M8) Android Development] klyzon:
can i skip installing a custom recovery and just proceed with flashing boot.img, followed by Root_and_BusyBox.zip and lastly stock recovery?
[One (M8) Android Development] DeeZZ_NuuZZ:
You need a custom recovery to flash the root binaries so no way to skip !
[One (M8) Android Development] SouthBayBruin:
Hello,

I have a t-mobile m8 which I just applied the OTA to bring the phone to android 4.4.3 and software number 2.22.531.5. When I applied the OTA I removed SuperSU and lost root access during the OTA upgrade.

Can I use the files from the OP to reinstall SuperSU, regain root access and one day receive the 4.4.4 upgrade and keep root access during the OTA?

Thank you
[One (M8) Android Development] ryanyz10:
2.22.531.6

Guessing this won't work on T-Mobile HTC One M8 2.22.531.6?
[One (M8) Android Development] JellyTooth:
Well this work on my htc one m8 Dual Sim ?
[One (M8) Android Development] mike1986.:
Rooting tools updated for the 3.28.401.7 base :)
[One (M8) Android Development] pifa_k1:
3.28.401.6

Ok,my software number is 3.28.401.6 and android version 4.4.4 , can I flash 3.28.401.7 boot.img and root package
[One (M8) Android Development] james0908:
Hi Mike, I'm running a rooted stock M8 with 3.28.709.5.

I posted some questions in QA section. Please help me out. Thanks!
[One (M8) Android Development] rbrandser:
So, if I changed my build.prop, ota will fail, right? Will it still fail if I replace build.prop with a copy of the original?
[One (M8) Android Development] james0908:
Hi guys,

I am currently running stock rom and software version 3.28.709.5. I rooted with hassoon AIO Toolkit.

My questions are these :

1) should I unroot my device and follow the instructions to have access to OTA updates?

2) since my device version seems to be newer than recommended one by Mike, will Mikes method work with my version?

3) when people say that you can't process OTA updates when rooted and running a custom recovery, does that mean you literally cannot see any available updates under the HTC software update section? Or that you can see the update but cannot install it?

Thanks all especially Mike!

I am running TWRP btw and using unlocked international One M8
[One (M8) Android Development] nuts77:
Same question! Apparently some got 3.28.401.6 and some got 3.28.401.7. Any clue on the content's difference, Mike1986?
[One (M8) Android Development] tim_h:
Hi Mike,

I have an HTC M8 with Vodafone Branding (version numbers x.x.161.x) and so probably should not just install your boot.img. Other people with branded phones have the same problem that they can (at least should) not use the modified boot.img you provided, as there could be differences between the unbranded and branded versions.

So I was wondering, would it be possible for you to make a script that you feed the original boot.img and it makes the modifications? That way everybody could profit from your approach, not just people with unbranded phones. If making a script is too much to ask, could you maybe list the modifications you made so that we could try to take the boot.img and modify it ourselves?

Cheers,

Tim
[One (M8) Android Development] mr.alawi:
so i just bought my device ..coming from HTC one M7 ...i unlocked bootloader and added TWARP recovery with root i did all that while my phone still on 1.54.401.5 and i keep receiving OTA message ..

so i went and followed this method the only problem is that after trying both way (flashing Boot.img then restart to system) and ( flashing Boot.img and then went to recovery and flashed root&busybox.zip)

it won't pass first HTC logo even though i can hear the boot sound for the second HTC logo and my phone will work normally cause i can press Nav bar without seeing it cause my screen would be stuck on

first boot logo screen ..

so could anyone help me on this?

i just want to be able to update my phone to latest software and firmware since i couldn't S-off my phone and i'm not welling to pay 25$ on sunshine method -__-"
[One (M8) Android Development] mike1986.:
Rooting Tools 1.0 for the 3.28.401.9 update ready for download.
[One (M8) Android Development] wetxxx:
Mike: This update works great better than before version. No automatic reboot and root looks great.

Good work!

Send from HTC device.
[One (M8) Android Development] pifa_k1:
Just got OTA 3.28.401.9 and now will flash this mod :) Tnx Mike
[One (M8) Android Development] ronald_delgeano:
Question for Noob

Hello Chef,

I want to ask you about these :

1. since i am now on version : 3.32.707.9, is it working on this version?

2. IF i can use on my version, so when there's an update version , i can get the update right? if yes should i rerun your methodes on page 1 ?

Thanks,

Ronald
[One (M8) Android Development] sahmeds:
Screen stuck of boot screen

i got i problem

after i Flash boot.img using fastboot flash boot boot.img and reboot the screen stuck on the boot screen even after i hear a sound of the rom load up ?? :crying:

any help !!!

should i make a factory rest and lose all my data ??? or the is any other solution

plzzzz help :confused::(

thx
[One (M8) Android Development] caiejay:
Wait, so how do i root my phone again without losing ota updates?
[One (M8) Android Development] punisher195:
After ota root will be untouched?
[One (M8) Android Development] Debizzle:
Anyone having issues with the boot.img file?? Every time i flash it my m8 wont boot. I am s off unlocked all the good stuff. Mike can u maybe shed some light thanks!!!
[One (M8) Android Development] mike1986.:
Rooting tools for the HTC One M8 updated to 1.1 (updated SuperSU and some fixed in the updater-script).

http://android-revolution-hd.blogspot.com/p/android-revolution-hd-mirror-site-var.html
[One (M8) Android Development] erik07:
Will this method work on 3.28.1540.5 dev edition?
[One (M8) Android Development] Tirania_br:
can i use this method with cidnum: HTC__621 and baseband: 1.21.2133114?
[One (M8) Android Development] anttaz:
Will this work on l 5.0.1 Build???
[One (M8) Android Development] wetxxx:
Hi Mike,

Did You work on root tools to android 4.16.401.10?
[One (M8) Android Development] wetxxx:
I found new version of yours root apz. It's final?

Send from HTC device.
[One (M8) Android Development] wetxxx:
I`m waiting for this update since new version was developed :) Thx for good work!!! I gave you donation.
[One (M8) Android Development] 2dogs16:
Can I use the stock recovery for T-Mobile?
[One (M8) Android Development] kseventy:
4.19.61.2

Hi Mike,

Will this work on the M8 with the following software spec?

Android 5.0.1

Sense 6.0

Software 4.19.61.2

Thanks
[One (M8) Android Development] ryanyz10:
After this is done, should the splash screen still have the red text?
[One (M8) Android Development] kkaranjkar:
Htc one m8 ver - 4.16.401.10

With s-off enabled and cid- 11111111 (no root and bootloader is locked) will I receive OTA update??? Pls help
[One (M8) Android Development] YounGMessiah:
<snip>
[One (M8) Android Development] alex6600:
I've unlock bootloader, and install supersu only.

And want to keep original rom (4.16.401.10) for a while (previous 4 htc's have been rooted and flash custom rom's in first-second day :) )

In rooting tools I see module for disable write protection, and busybox.This module supported in 5.0.1? Is stock kernel support init.d?

If I have supersu installed, what I must do, for install only write protect module and busybox?

Thanks!
[One (M8) Android Development] CyrilBritto:
can someone please suggest me a link on how to root htc one m8 running marshmallow? the international version. thank you.
[One (M8) Android Development] ckpv5:
Hi old mate.....

Follow this thread for the traditional method : http://xdaforums.com/htc-one-m8/development/kernel-unlocked-developer-edition-t3262823

And for the systemless root - install the latest SuperSU-v2.62-3-20151211162651.zip and let it do its magic ... remember never select install SuperSU when prompted by TWRP

Link: http://xdaforums.com/showpost.php?p=64161125&postcount=3
[One (M8) Android Development] King_root:
That's the new SuperSU beta right? Doesn't it also require to flash a modified boot.img?
[One (M8) Android Development] ckpv5:
No .. only stock boot.img
[One (M8) Android Development] King_root:
So no flashing any imgs? Just the SuperSU zip and nothing else??
[One (M8) Android Development] wetxxx:
1. What happens in new version of yours patch ver. 3.1. I had install ver. 3.0 in september. Thx

2. How check instaled version of patch?
[One (M8) Android Development] kukubau:
One question to the OP. If I flash SuperSU.zip from TWRP recovery, will I lose the OTA update function? I think not, OTA works just fine.

I've just re-flashed my phone due to your troublesome solution.
[One (M8) Android Development] CyrilBritto:
Thank you so much mate... :)

I have another question. I have another M8. Unlocked one. its god supercid and its s-off as well. but the firmware is 3.31.512.2.

what must i do to flash ViperOne Rom.. i gotta upgrade the firmware right? can u please tell me in simple language how do i go about this please? Thank you so much mate..
[One (M8) Android Development] ckpv5:
What you have 3.31.512.2 is a Verizon variant but with GSM. The actual name is LRA. You need to update it to the latest 4.21.512.4 then only "maybe" you can run a custom ROM. Only "maybe" because this is a rare version device and it is not easy to update its firmware.

I have no idea whether a Verizon based device but running on GSM can run ViperOne ROM as I don't follow that ROM development.

Maybe [MENTION=4987085]xunholyx[/MENTION] can advise you better on ViperOne matter
[One (M8) Android Development] CyrilBritto:
Thank you

Ok I will try getting in touch with him then.. But they say you can flash any firmware if the device is s-off and has supercid right???
[One (M8) Android Development] ckpv5:
True for gsm firmware on gsm device. But not your LRA device. You'll brick the radio if you flash a gsm firmware on it.

This is OT for this thread, search for LRA in Q&A section, you'll see what I am talking about.