Unlock bootloader and root... or something alternative? - HTC 10 Questions & Answers

Hi guys,
In few days i'm gonna get 10 in my hands!
To get my level of user experience from m7 and m8 i would need a few things including:
- some modules from xposed,
- recovery from titatnium backup.
Normally on m7 and m8 i would go s-off ( got a sunshine for m8), root and flash some custom rom,
but seeing all this mumbo jumbo with 10 i would like to stick for a while to stock rom and just
include some modules from xposed and recover my data from Titanium Backup.
So unlocking bootloader and getting at least a systemless root is the only way? or perhaps you hav some other insight to get it done?
Thanks in advance.

Related

Before Rooting Question

I just got this phone. Android 4.2.2. I was wondering if rooting is still possible. I know that there are issues with unlocking the bootloader like, we can't. So can I still root and have the rooting goodies? If so, can you direct me to the correct method of rooting? All the methods I can find include unlocking the bootloader first and I don't know if I can just skip that step or not.
Thank you for your time.
Time To Shine said:
I just got this phone. Android 4.2.2. I was wondering if rooting is still possible. I know that there are issues with unlocking the bootloader like, we can't. So can I still root and have the rooting goodies? If so, can you direct me to the correct method of rooting? All the methods I can find include unlocking the bootloader first and I don't know if I can just skip that step or not.
Thank you for your time.
Click to expand...
Click to collapse
To answer your question you need to unlock/s-off your phone to root it, I would recommend running the rumrunner tool, installing a customer recovery and then install a custom rom. The reason I say install a custom rom even if you want to remain stock is because you can get a stock rom without any bloat. Most of the bloat apps on the HTC One and pretty much any phone, run in the background as soon as your phone starts, this eats battery life and performance. For a stock rom check out Santod040, he has a good stock rom released, personally I like NuSense and ViperOne they are both very solid roms.
Read this thread - http://forum.xda-developers.com/showthread.php?t=2473644 it is the Rumrunner tool. I believe as long as you DO NOT UPGRADE to 4.3 you can still root/unlock/s-off, after you unlock/s-off you can install whichever rom you like without worrying about losing the ability to have root access.
You will want to get into the bootloader to check which OS version you have and then download the corresponding version of Rumrunner.
Edit:
Be sure to backup your whole phone as soon as you install a customer recovery. After the backup is complete, save a copy on your computer. There will be times when you are tinkering with your phone that you will need to get your phone back to a factory state, you can use a RUU but in my opinion that is more complicated process and you have a higher risk of something going wrong compared to simply restoring a backup.
Okay. Thank you. I will look into this.

Just got an HTC 10 -systemless everything

Hello everyone,
It's been a while since I've posted here, and I'm very very late to the party since HTC took its sweet time to bring the 10 to my country. Now I've finally got the phone (for entirely free through a corporate discount), and I'd like to do this properly, now. The key thing is that throughout all these steps, I want to maintain functionality of Android Pay. I have a few questions as well.
First, I'd like to S-OFF/unlock the bootloader. I tried entering bootloader mode (volume down + power keys) and noticed that there are a few new modes on this phone compared to my old M8, like Download Mode. What is it?
Next, I'd like to achieve systemless root - I understand this is entirely possible through the latest SuperSU.
Then, I would like systemless Xposed functionality. While searching around, I noticed a few new words thrown around like Magisk. What is it, and how do I get 'systemless Xposed'?
I'd like Adaway on my phone, and I believe it modifies the hosts file once again located in /system. Any way to work around this? Not to mention another couple of ad-blocking Xposed modules.
Next up, I'd like to install the AcoustiX audio mod. Not sure if that doesn't modify system files, once again.
Finally, I hope to remove some of the gapps like Play Music and Play Movies, and install the older HTC bundled apps.
Would any of the above conflict with Android Pay? How do I go about starting, and where do I look for more information for my questions (answers welcome too)?
Thanks in advance.
1. S-off, SunShine app or hardware solution like xtc2clip; why do you need S-off?
2. My SuperSU said systemless when it installed
3. http://forum.xda-developers.com/xposed/unofficial-systemless-xposed-t3388268
4. Good question; I'm curious also
5. I never messed with audio stuff; sure that's better than what htc provides?
6. Titanium Backup
Okay, so first of all I have a Verizon variant. I unlocked the bootloader/s-off with sunshine. Apparently you don't need to unlock the bootloader when you have s-off. I don't know why or how that works... I unlocked the BL anyways. You'll have to wipe your data if you do that. Just read up on that bit.
After that, you can install TWRP and do a full backup. Make sure you save that somewhere.
If you screw something up I think you can just RUU back to a working state. I think...
As far as Magisk... It's amazing. It's essentially a way for developers to make any flashable zip type mod systemless. To the end user it works similar to Xposed. You flash the framework in recovery (it won't modify the system, that's the whole point) and then you have an app to manage the framework and all your mods.
For example I have a Magisk mod that replaces my HTC dialer and contacts with Google's dialer and contacts (like a nexus). If I want to go back I just uncheck the mod in the app and reboot. HTC apps are back.
If you don't need SuperSU specifically, root can be achieved directly through Magisk with phh's superuser mod for Magisk. So the process would be:
1) download Magisk zip
2) download Magisk manager app
3) download phh's superuser for Magisk (Magisk manager won't function without some type of su)
**All of these can be found through the Magisk XDA thread
4) reboot to recovery and flash Magisk zip THEN flash phh's superuser mod for Magisk
5) reboot to system and install the phh's superuser app from the play store
6)install the Magisk manager apk from earlier
7)from within the Magisk app you can install Xposed as a Magisk mod. It's in the repository. Just install it and reboot. Boom, Xposed. If you want to disable it just uncheck it and reboot. Magisk mods work like Xposed mods so you can disable the entirety of Xposed in the same way you could enable/disable individual Xposed mods before (this is really useful if you have apps like Snapchat that won't work if you have Xposed installed). Another note is that you need to use the material Xposed installer. The old Xposed installer don't support systemless i don't think.
But yeah, good luck. I've found that systemless is a better way to go. For me I just like it because it's more organized. I can disable and enable whatever I want. I will mention though, don't expect Android pay to work. Magisk used to be used to make Android pay work on rooted and Xposed phones. It's moved away from that. It can still be done but it's a constant battle and it's not worth it. I'm not sure if I answered all the questions because I'm on mobile and I can't see the rest of the thread while km typing but yeah.. good luck man. Magisk is a great tool.
Sent from my HTC 10 using XDA Labs
Update: you can use SuperSU with Magisk but be careful with how it installs. I don't know how to force it to install systemlessly.
Sent from my HTC 10 using XDA Labs
elite001mm said:
Apparently you don't need to unlock the bootloader when you have s-off. I don't know why or how that works...
Click to expand...
Click to collapse
S-off unlocks the same partitions as unlocking the bootloader does...and then some (all?).
http://www.htcdev.com/bootloader/about_unlock_process
and
http://www.htcdev.com/bootloader/faq
Your device is shipped with Security on (S-ON) to protect your system software configuration (such as the bootloader, radio, boot, recovery, system and others). After you have unlocked the bootloader, however, you will have lifted the restrictions on boot, recovery and system. This means you can customize boot, recovery and system images on your phone as you desire. ... Security is left on to protect things like the radio, and SIM lock.
Security is on by default for good reasons. There are partitions such as hboot which controls access to all other partitions which if made fully accessible could compromise security and very possibly allow for irreversible changes that could render your device inoperable.
Click to expand...
Click to collapse
Rolo42 said:
S-off unlocks the same partitions as unlocking the bootloader does...and then some (all?).
Click to expand...
Click to collapse
S-off + BL unlock means you can do whatever the hell you want (hboot, radios, CID, etc). So you need to know what you're doing before you flash something.
A simple bootloader unlock allows you to flash ROMs and kernels and recoveries.
These two things I understand... But...
------------------
What I don't understand is this (there's a post by jcase about it but I can't find it): When sunshine first came out for this phone, everyone was recommending to just perform s-off locked instead of s-off unlocked. I forget what the benefit was (I think it may have been avoiding the encryption corruption thing) but essentially from what I understood there was no downside to the locked bootloader.
Perhaps s-off just overrides everything but I didn't think that's how it worked. I've been away from HTC for a while and I'm not the most knowledgeable person anyways. I know enough not to break my phones but I remember back from the M8 days everyone wanted/needed s-off and the BL unlocked so I just went ahead and did that. I flash firmwares and radios and stuff so I didn't want to run into a roadblock in the future.
Sent from my HTC 10 using XDA Labs
elite001mm said:
S-off + BL unlock means you can do whatever the hell you want (hboot, radios, CID, etc). So you need to know what you're doing before you flash something.
A simple bootloader unlock allows you to flash ROMs and kernels and recoveries.
These two things I understand... But...
------------------
What I don't understand is this (there's a post by jcase about it but I can't find it): When sunshine first came out for this phone, everyone was recommending to just perform s-off locked instead of s-off unlocked. I forget what the benefit was (I think it may have been avoiding the encryption corruption thing) but essentially from what I understood there was no downside to the locked bootloader.
Perhaps s-off just overrides everything but I didn't think that's how it worked. I've been away from HTC for a while and I'm not the most knowledgeable person anyways. I know enough not to break my phones but I remember back from the M8 days everyone wanted/needed s-off and the BL unlocked so I just went ahead and did that. I flash firmwares and radios and stuff so I didn't want to run into a roadblock in the future.
Sent from my HTC 10 using XDA Labs
Click to expand...
Click to collapse
S-Off Unlocked = more restrictions.
S-Off Locked = less restrictions.
I know it's very backwards, but I believe that's the biggest advantage.
Personally, I changed my splash screen and flashed another hboot without the stupid red text on boot.
What about the newest Android Safety net issues around Unlocked bootloaders. If we setup our phone as S-off Locked, will it pass the safety net test? Ive read that the newest update is starting to fail on phones that aren't even rooted but have unlocked bootloader.
Sent from my HTC One_M8 using Tapatalk
SRSR333 said:
Would any of the above conflict with Android Pay? How do I go about starting, and where do I look for more information for my questions (answers welcome too)?
Click to expand...
Click to collapse
I've got a brand new unlocked HTC 10 with unlocked bootloader, TWRP, S-OFF, root (through flashing the latest SuperSU), and xposed also. Android Pay no worky :/

M8s on Marshmallow - systemless root - how?

Hi,
I recently had to return my phone back to stock because of a warranty issue. (battery dying between 25% and 40%)
So chances are high that I will get the phone back with Marshmallow instead of Lollipop.
is there a guide or can anyone give some pointers how to root this device? After a bit of reading I still have a few specific questions, so maybe someone here can help.
A) What TWRP version will I need for the M8s on Marsmallow?
B) Will Magisk systemless root work on this device?
C) If the rooting has succeeded and I remove some bloatware apps from /system/vendor and /privapp and such. Will this trip the Google safety net? Or is safety net not yet applied to our M8s devices?
Thanks!
I don't personally have the M8s version specifically. But as the device forum sections for all the M8 versions in general are becoming pretty quiet; I'll try to help you to the best of my knowledge.
A) The TWRP recovery posted in this (M8s) forum section should work fine on Marshmallow. Looks like it's only updated to 2.8.6
B) Should work, yes. I would suggest the current stable Magisk version, which is 14.0
Backup your stock (unrooted) ROM before trying to root (as you always should - this is best practice and just good common sense). Then if anything goes wrong, you can easily restore to stock.
C) Not sure. But I can tell you on my current device (OnePlus 3T) that removing system (bloat) apps does not trip safety net.
Hi @redpoint73,
Thanks. That takes away some worries and gives me some confidence for giving it a third shot . Nandroid's don't work on the M8s unfortunately, I've tried this once since I botched something up during my first root attempt, put back the Nandroid and my Bluetooth was dead. (and probably more, but I didn't investigate it further back then.)
As in regards of removing bloat, since HTC has the S-on I was only able to remove the pre-installed apps from within TWRP (or else the apps were back after a reboot), so I guess this process remains the same?
Thanks so far and I'll report back my results in this topic. Now I first have to wait to see if they give me my warranty, since the bootloader said relocked and the firm I had to send it to is notorious for blaming factory faults on rooting of the phone. Fingers crossed!
Thijs_Rallye said:
As in regards of removing bloat, since HTC has the S-on I was only able to remove the pre-installed apps from within TWRP (or else the apps were back after a reboot), so I guess this process remains the same?
Click to expand...
Click to collapse
Should be the same, yes.
The reason for this, is that the system is write-protected, even with root. On the M8, there is a kernel mod which disables the write protection (allows you to modify system while booted to OS), but I don't know if there is such a mod for the M8s. But if you were able to do it in TWRP, the same should apply on Marshmallow.
So I finally got my phone back, or well, to be accurate, I got another phone (albeit another M8s) back under warranty. I guess they f'd it up during repairs or something. And as expected my phone was upgraded to Marshmallow.
Anyhow, the more I read about Magisk and systemless rooting the more lost I seem to get lost. Is there somewhere a step by step guide for obtaining root on this phone?
Let me recap from what I've understood so far (SOURCE 1, SOURCE 2 and SOURCE 3)
1) Backup my boot partition, I am still searching how to accomplish this without rooting the phone first. Booting to TWRP without installing resulted in mangling some data in the boot partition, so unfortunately that is not an option. (blanks the OS version)
2) Boot to TWRP and flash the Magisk zip file. There should be an option somewhere in TWRP to enable systemless rooting.
3) ?
So if anyone knows if I am on the right (or wrong) track please let me know .
Thijs
Edit: I can't seem to get the phone boot TWRP for some reason (from my harddrive htc_fastboot boot twrp.img). This used to be possible on my old M8s which I had send in for repairs. Do I really have to flash it because I have no way of backing up the old original recovery .
Okay, since it is kinda dead in here let me bump this for anyone in the same situation. I've managed to install Magisk successfully. The steps involved
1) unlock bootloader
2) flash twrp (htc_fastboot flash recovery twrp.img) I've used the latest version from Captain Throwback which I've found in the OP of the Void_Zero Lineage OS thread.
3) boot the phone and copy magisk systemless root zip and the apk file to your internal storage Grab the uninstaller as well in the topic.
4) reboot to recovery (adb reboot bootloader)
5) flash the zip from within recovery
6) reboot the phone and install the Magisk app.
7) done
Use this guide on your own risk. It worked flawlessly for me but no guarantees .

Root Without Unlocking Bootloader

Hi. I am about to purchase a Huawei Mate SE and wanted to know if there is a way to root without unlocking the bootloader. It looks like Kingroot and/or Kingoroot might be an option. I'm not new to rooting phones so I understand most of the basics. From what I read, I won't be able to install a custom recovery and therefore can't install custom ROMs which is fine. I mainly want root for apps like Titanium Backup and Greenify. I don't want to lose the ability to OTA. Is this possible? Thanks in advance for the help.
Kingroot and kingoroot are hot piles of garbage on oreo, and nougat. Pretty sure it only works up to lollipop.
Only way to root is to flash Magisk, and that requires an unlocked bootloader.
Dang. That sucks. Thanks for the response though
no need to install a custom recovery to get root. unlockbootloder densest effect ota. after u unlock ur bootloader you can flash a patch kernel that has Magisk
ReppinTheSouth said:
Dang. That sucks. Thanks for the response though
Click to expand...
Click to collapse
I just ordered this phone also. You should be able to get your bootloader unlocked with a service. See threads.
I sure hope so. Cause i plan on doing some stuff with this device.
Unlocking the bootloader is not difficult, but then there is a stupid bootloader unlocked warning that comes every time the phone restarts. And supposedly there is no way to turn it off for Huawei phones

Need to Backup Current HTC one M8 - Before unlock bootloader

my device is locked & not rooted before
all i'm looking for Is way to root without unlocking the bootloader? I just want root apps, no custom ROMs.
I need to take backup for HTC one M8 before proceed in unlock boot loader , to describe the problem more
the problem is that to take a backup for the whole device , as far as i know i should install custom recovery APP "CWM Recovery , TWRP Recovery ,.........."
which need unlock bootloader in which all data on mobile will be formatted due to unlock bootloader
so is there a solution to backup the current device status to restore them back after unlock the bootloader .
First of all, you posted to the forum section for the M8s variant, not the M8. This is an easy mistake to make, and pretty common. In any case, see my responses below in red font:
Wael-HTC said:
all i'm looking for Is way to root without unlocking the bootloader? I just want root apps, no custom ROMs.
Simple answer, you need to unlock the bootloader to root.
Long answer, some folks have rooted with an app called kingroot. But results are very inconsistent. I've seen a good number of folks who ended up with kingroot unsuccessful, having no root, and also no way to unlock the bootloader! So not a good place to be.
And in any case, in my opinion, any root attempt should be preceded by backing up your data anyway, in case anything goes wrong. So if your intent (in not unlocking the bootloader) is to bypass the data wipe (and skip backing up your data), then we are basically defeating the purpose.
Moral of the story, I would strongly recommend to just bite the bullet, and stick with the "standard" process to unlock the bootloader in order to root.
I need to take backup for HTC one M8 before proceed in unlock boot loader , to describe the problem more
the problem is that to take a backup for the whole device , as far as i know i should install custom recovery APP "CWM Recovery , TWRP Recovery ,.........."
which need unlock bootloader in which all data on mobile will be formatted due to unlock bootloader You are correct, in that you have a "chicken and egg" problem. You can't install custom recovery (TWRP) until you unlock the bootloader. And you can't make a TWRP backup, until you install TWRP.
Side note, CMW never officially supported the M8. There are some unofficial CMW ports for the M8, all very old. Which will almost certainly cause problems. I strongly recommend sticking with latest TWRP for the M8.
so is there a solution to backup the current device status to restore them back after unlock the bootloader .
"Current device status" is a little vague. It depends on what you want to backup:
- For things like contacts, I would suggest just backing up to Google (may already be the case)
- Things like photos, music: use a cloud solution, or simply backup (copy and paste) to your computer
- Stock ROM: You can back this up once you have TWRP installed. There are also stock backup collections, as well as official HTC RUUs for some M8 versions.
- App data: This one is a little tougher. One option is the app "Helium" from the Google Play Store. This is supposed to be able to backup app data, settings, etc. without root. I personally haven't used it (one of the first things I do with a new phone is root, lol). But other folks on XDA seem to have some success with Helium. It is developed by the CWM team.
Click to expand...
Click to collapse

Categories

Resources