Magisk and rooted HTC One M8 - One (M8) Q&A, Help & Troubleshooting

Question: Magisk says "You are not forced to a single root solution for Magic Mount and other features. However, only two choices are provided: systemless SuperSU and MagiskSU. It will attempt to remove any other root, and install MagiskSU by default"
If my M8 is already rooted with S-ON, having SuperSU root access manager, what changed are required and are to be expected by going on with Magisk?

Not sure. But my thought would be make a TWRP backup of your current (rooted) setup (which you should always do before rooting) then try Magisk. If it doesn't work, restore your backup.
Or flash full stock (unrooted) ROM, then Magisk, if you want to be sure it installs without a hitch.

Related

Update oxygen 3.2.6 removed my root. Please help. Also just joined xda.

My oneplus 3 was rooted (oxygen 3.2.5 maybe) but I installed the update 3.2.6 today from phone by going into settings. When the phone got updated my root does not work anymore. Please help.
I forgot how I rooted my phone before but it was still on android 6 when I rooted.
When I reboot I still get the black screen saying the device can't be trusted because xxxxxxxxxx Is unlocked, dont remember what.
Usb debugging is on as well as oem unlocked ( these options are still showing unlocked when i went to settings but don't know if they are ACTUALLY unlocked.
Xposed luck patcher, etc not working
Root checker says root not installed properly
Used twrp before.
Also is there any way that I can re-root my phone again without data loss?
Its my first post ever in any form so dont know about posting much.
You can mail me too at [email protected].
Thanks
Try flashing Super su manually from Recovery
Flash latest SuperSU (I think it is 2.78) in twrp. Flash xposed module in twrp too
If you did the official update from Settings > System Updates, then you are most likely back to stock recovery as well. You're going to have to re flash twrp before you can flash root and xposed. You will not lose data by performing any of these steps as your bootloader is still unlocked.
http://forum.xda-developers.com/oneplus-3/development/toolkit-oneplus-3-toolkit-unlock-t3398799
Download twrp
Boot to fastboot
fastboot boot sometwrp.img
Flash supersu from temporary twrp
Hw4ng3r said:
If you did the official update from Settings > System Updates, then you are most likely back to stock recovery as well. You're going to have to re flash twrp before you can flash root and xposed. You will not lose data by performing any of these steps as your bootloader is still unlocked.
Click to expand...
Click to collapse
If you had root and custom recovery (TWRP) then you couldn't have updated by this method as it wouldn't have worked. You need to reflash SuperSU in TWRP as others have stated.
Much simple: from recovery (hope you're having TWRP installed) flash latest SuperSU and Xposed zip file.
Then Wipe Cache/Dalvik, then reboot in System.
If you won't to lose root, you should consider a custom rom like FreedomOS, that provides SuperSU binary by itself (even Xposed, if I'm not wrong).

Android Pay and unlocked bootloader

I finally decided to get everything backed up so I could unlock my bootloader. Everything went as described that it would. Unfortunately Android now has their app check for not just root but also for unlocked bootloader and/or any custom recovery?? So essentially if you want android pay, your phone has to be completely stock? That's beyond ridiculous as our phones are not any less secure just because of these things we like to do. Are there any current flashable workarounds? I didn't even flash TWRP yet nor do I have SU installed... Just bootloader and that's enough to trip the app to say sorry you can't use.
Thanks all
DroidJay123 said:
I finally decided to get everything backed up so I could unlock my bootloader. Everything went as described that it would. Unfortunately Android now has their app check for not just root but also for unlocked bootloader and/or any custom recovery?? So essentially if you want android pay, your phone has to be completely stock? That's beyond ridiculous as our phones are not any less secure just because of these things we like to do. Are there any current flashable workarounds? I didn't even flash TWRP yet nor do I have SU installed... Just bootloader and that's enough to trip the app to say sorry you can't use.
Thanks all
Click to expand...
Click to collapse
This is the only solution at this moment. I'm using it and I can pay by phone withouth problems...
https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
@BolintsMiki had a solution in a different thread:
You can use Android Pay with the latest Magisk. I think Xposed breaks Android Pay although.
The process to get Android Pay working with root is:
1. Flash the stock ROM again (or any custom ROM that doesn't come with root by default eg: LineageOS)
2. Flash your favorite kernel if you want to. (Any kernel, or none if you don't want to)
3. Delete /data/magisk.img and /data/su.img if you have them. (Just to give it a fresh start)
3. Flash Magisk. It will automatically install MagiskSU, which is the default (and recommended) root for Magisk.
4. Reboot.
5. Install Magisk Manager from the play store.
6. Go into the settings in Magisk Manager and enable Magisk Hide.
7. Reboot.
8. Android Pay should work.
AlvieOP said:
@BolintsMiki had a solution in a different thread:
You can use Android Pay with the latest Magisk. I think Xposed breaks Android Pay although.
The process to get Android Pay working with root is:
1. Flash the stock ROM again (or any custom ROM that doesn't come with root by default eg: LineageOS)
2. Flash your favorite kernel if you want to. (Any kernel, or none if you don't want to)
3. Delete /data/magisk.img and /data/su.img if you have them. (Just to give it a fresh start)
3. Flash Magisk. It will automatically install MagiskSU, which is the default (and recommended) root for Magisk.
4. Reboot.
5. Install Magisk Manager from the play store.
6. Go into the settings in Magisk Manager and enable Magisk Hide.
7. Reboot.
8. Android Pay should work.
Click to expand...
Click to collapse
May I ask how to flash Magisk without unlock bootloader?
It was failed to flash Magisk when I used stock recovery and I could not boot into TWRP without unlock bootloader
Thanks
You need an unlocked bootloader. Magisk just tricks SafetyNet (Android Pay) to think you have a locked bootloader and no root.
It does trick the Bootloader state? ORLY? For that to work I installed a custom kernel. My sig always shows the recent status of my phone. ^^
I had SuperSU + Magisk + ElementalX. Migrated to Magisk with MagiskSU + ElementalX. It's easy:
1. Download unSU script and flash it in TWRP.
2. Reflash OxygenOS ROM (to remove SuperSU from boot image).
3. Flash Magisk.
4.. Reboot system.
5. Flash ElementalX (it didn't work, when I flashed it just after Magisk) if desired.
In Magisk Manager settings you have to enable Magisk Hide and make sure that Android Pay and other apps, which require no root/locked bootloader, are selected. Reboot after that. Of course in really you have root and bootloader unlocked. Android Pay is working very well with such configuration.

Magisk/TWRP Recovery and Upgrading

It's been awhile since I've used a custom recovery. Since I've had this phone I've used systemless root and flashfire to install OTA's and that has worked fairly well. Recently my phone bootlooped and google sent me a new one.
I just unlocked it, installed TWRP and Magisk, but was wondering what the best way to upgrade the phone would be.
1I've heard flashfire works with Magisk, but I never had much luck with custom recovery's and updating with flashfire.
If flashfire doesn't work, what would be the best way to update?
When 7.1.2 is released, could I just flash the system, radios, etc. from fastboot and then reflash magisk from TWRP and be upgraded?
I had to uninstall magisk, reboot, download the ota via the system menu and install it, then re-flash twrp, then boot recovery and flash magisk, then re-add my modules and re-enable systemless adblock

How do you install Magisk on Oneplus 3 OOS 4.1.3

I tried to install magisk v12 zip but it always fails but says to install supersu soon after. I did that but when i installed magisk manager it said there's no MagiskSU installed and Safety net did not pass as well! Then i tried to uninstall supersu and magisk and flash magisk v12 again but same result again. I tried find how to install MagiskSU online but i can't find any thread about this issue. My aim of installing Magisk is to use MagiskHide for snapchat. Can someone help me pls.:crying:
Are you on SuperSU at the moment?
You will need to unroot using the SuperSU app (That's what I did) before flashing magisk zip.
Secondly, I had trouble with SuperSU + Magisk so I used phh superuser to get it working. I also needed magisk to hide root from snapchat and another banking app and I am able to do so easily.
So, in short,
1. Uninstall SuperSU
2. Flash magisk zip in recovery
3. Flash phh superuser in recovery (People say its optional but I do it anyway)
4. Reboot and benefit
Can you send me a link to download the phh superuser file you used please. When you say uninstall do you mean full unroot? What did you use to uninstall supersu? https://forum.xda-developers.com/showpost.php?p=63615067&postcount=2459
Magisk v12 will auto install root when no root is detected, so u can just clean flash ur rom and install magisk v12 after it, it will auto root
@mharis05 nowadays Phh's Superuser is not "optional": it's unsupported and replaced by the integrated MagiskSU since Magisk v10: look at the official thread, it's declared obsolete.
It would get device in trouble, even if MagiskSU is disabled.
 @Bradl79 neither the clean flash is a right way, because:
1) If you're intending a system wipe, it's not resolutive because Magisk is OTA-survival.
2) If you're intending a data wipe, it's an useless waste of time... and data!
You have to run the following zip files: Magisk official uninstaller and UnSU to be sure you've not rooted device in any way.
Then to stay quiet, do a Cache and Dalvik/ART wipe.
At this point, try to reflash Magisk.
I tried that but time and time again when i try to uninstall that SUPERSU it says to flash default boot.img to complete the process. AND Installation "FAILED" Flash Supersu immediately. I did that but still no magiskSU.
At this point try to wipe system and cache/ART, then reflash OOS.
After doing that, go with Magisk.

Can't unroot, Supersu reappears after reboot

I want to unroot the phone in order to update (as I haven't for a very long time), already flashed the stock recovery back but when opening SuperSu and using the full unroot option (which seems to work) till rebooted and SuperSu returns as does root access preventing me from doing the updates. I have unchecked superuser in the settings then full unroot etc, even tried deleting busybox / su from bin and xbin then superuser.apk via guides and still root returns the moment it's restarted. Any ideas how to get rid?
In most cases for this device, you can NOT unroot in order to OTA update. You need a stock never rooted ROM. Either restore the stock ROM (TWRP backup) you made before you rooted (and you should always make a TWRP backup before root, custom ROM, etc.); or otherwise restore a stock TWRP backup from the collection, following the instructions here:
https://forum.xda-developers.com/htc-one-m8/help/tutorial-how-to-stock-stock-twrp-t3086860

Categories

Resources