[GUIDE] How to add root access & and keep official OTA updates | 4.16.401.10

Search This thread

kukubau

Senior Member
May 24, 2015
115
25
Hamburg
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.
 

CyrilBritto

Senior Member
Jul 31, 2012
252
40
Chennai
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

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..
 

ckpv5

Inactive Recognized Contributor
Feb 11, 2008
14,354
18,301
Kuala Lumpur
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..

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 @xunholyx can advise you better on ViperOne matter
 
  • Like
Reactions: CyrilBritto

CyrilBritto

Senior Member
Jul 31, 2012
252
40
Chennai
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???
 

ckpv5

Inactive Recognized Contributor
Feb 11, 2008
14,354
18,301
Kuala Lumpur
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???

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.
 
  • Like
Reactions: CyrilBritto

CyrilBritto

Senior Member
Jul 31, 2012
252
40
Chennai
This seems to be a bit more complicated for me.
So what other rom can I flash? Skydragon? ARHD?
I'm sorry I don't understand when you spoke about the gsm thing.
My device is gsm right.. I'm using it in india now with my older sim card.
 

ckpv5

Inactive Recognized Contributor
Feb 11, 2008
14,354
18,301
Kuala Lumpur
This seems to be a bit more complicated for me.
So what other rom can I flash? Skydragon? ARHD?
I'm sorry I don't understand when you spoke about the gsm thing.
My device is gsm right.. I'm using it in india now with my older sim card.

I'm talking about your 3.31.512.2 device. This one is a CDMA but with GSM capability (has SIM card slot)

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

Your other M8 (the one that you first talked about how to root it) is I believe a GSM, you should be able to install any ROM that you like as long as your device firmware is 4.x.xxx.x or above.

can someone please suggest me a link on how to root htc one m8 running marshmallow? the international version. thank you.

Am I wrongly understand here .. you do have two M8 right ?
 
Last edited:

CyrilBritto

Senior Member
Jul 31, 2012
252
40
Chennai
Yes mate.... Correct.. I have 2 m8s.
One is international version.. The firmware for that is 6.x
The other one is Verizon unlocked one. The cdma one with gsm capability as you said.
That's where I needed help..
There is a 3rd m8 for which the motherboard must be replaced.. I don't get international version motherboard here.. Trying to get it.. It's perfect otherwise.. It's just lying down.
 

gaddy-

Member
May 2, 2011
30
1
It's not clear (for me, at last) a thing..

If I perform ROOT & S-OFF through SunShine and then follow the instructions in OP, I'll be able to receive OTA from HTC? (ATM I'm 4.16.401.13 stock)
In this very moment I need to stay STOCK (with root access), that's why I'm asking.

Thanks

G
 
Last edited:

wetxxx

Senior Member
Oct 14, 2007
590
35
Mike how are You. Could you hear some rumors about rooting tools part 3.2? I try to use supersu 2.66 version and root/sdcard works great but still has rw issue. Please make some noise for Us ;)
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 40
    sep2.png


    Some users like to keep their phones running the most official and stock system. Sadly, current Superuser installation process is a little bit more complicated then it was in the past (f.g. su binary needs to be running as a daemon). Flashing official SuperSu package makes OTA updates for the particular device impossible to be installed, because every OTA package during the installation process checks the integrity (with SHA-1) of each file on the system partition. Current SuperUser packages are modifying at least one file on the system partition: system/etc/install_recovery.sh. With that modified file, OTA installation will fail and you won't be able to update your device with the latest software. Additionally, SuperUser access is not always enough. It's good to have adb secure disabled and this can be done in the ramdisk inside boot.img.

    Device rooted with the above method should have no problems installing latest official OTA update because:
    a) OTA update checks for files integrity, but it doesn't check if any extra files were added to the system partition
    b) OTA update doesn't check the integrity of the boot.img, so you can even flash a custom kernel if you want

    Keep in mind that once you change or remove any file from the system partition you won't be able to receive OTA updates. You can only add new files, but you can't modify/remove existing ones.


    Details:
    • boot.img source: 4.16.401.10
    • Target device: HTC One M8 (0P6B10000)
    • Target device OS version: 4.16.401.10

    Included in the package:
    • Latest SuperSu app (Superuser.apk) and binaries (su, daemonsu)
    • Proper init.d script to run daemonsu binary as a daemon
    • Special wp_mod.ko kernel module to disable HTC system RW protection
    • Proper init.d script to insert the wp_mod.ko module into the kernel
    • Busybox
    • Sysrw/sysro binaries

    Custom boot image:
    • Disabled ro.adb.secure and ro.secure
    • Disabled USB debugging icon on statusbar
    • Enabled USB debugging by default
    • Init.d support
    • Removed trigger command to execute install_recovery.sh to prevent stock recovery from being re-installed after each system reboot

    Installation guide (bootloader has to be unlocked)
    1. Extract the downloaded .rar package (boot.img, stock_recovery.img, Root_and_BusyBox.zip and Read_Me.txt)
    2. Flash custom recovery of your choice
    3. Flash boot.img using fastboot flash boot boot.img command in the fastboot mode
    4. Flash Root_and_BusyBox.zip package in the custom recovery
    5. Flash stock_recovery.img using fastboot flash recovery stock_recovery.img command in the fastboot mode
    6. Reboot the device



    Downloads.png




    Credits:
    Chainfire for the SuperSu
    flar2 for the wp_mod.ko module


    XDA:DevDB Information
    [GUIDE] How to add root access & and keep official OTA updates | 4.16.401.10, Tool/Utility for the HTC One (M8)

    Contributors
    mike1986.

    Version Information
    Status: Stable

    Created 2014-05-18
    Last Updated 2015-02-28
    5
    Rooting tools updated for the 3.28.401.7 base :)
    4
    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:
    3
    Cheers for this Mike but which file is it in your downloads section?

    Will be there very soon! :)
    3
    I was under the impression this would be an all in one tool but looks like I still need to do a few things in preparation of this.

    I am currently completely stock. What are the exact steps I should take to install this?

    Could this be any simpler? :)

    Installation guide (bootloader needs to be relocked)
    1. Extract downloaded .rar package
    2. Flash boot.img using fastboot flash boot boot.img command in the fastboot mode
    3. Flash Android_Revolution_HD_Root_and_BusyBox.zip package in the custom recovery of your choice
    4. Reboot the device