Hiding root for Banking App - Nexus 5X Q&A, Help & Troubleshooting

Hi Everyone,
I'm currently looking for a way to hide SU so that i can use my banking app, but with so many threads i'm reading, i can't find a reliable source and procedure. I'm currently studying how magisk work but some says that it doesn't work.
If i missed out a good and updated thread on hiding root, please do let me know.

You can use root switch
https://www.asus.com/zentalk/tw/thread-173542-1-1.html

Back when I was trying to get PokemeonGo to work, I tried a couple of different apps and hacks, and very few of them work, and even fewer of them work well. That was before I switched to Magisk, which I was skeptical about at first (I've been using SuperSu for years), but it really does work quite nicely.
I use Magisk, with no SuperSU. IIRC, Magisk is a systemless root, meaning it doesn't touch your /system, it flashes into your /boot. I flashed my ROM, Kernel, Magisk zip, and then downloaded the app from the play store. Inside the Magisk settings, there's a toggle for "Magisk Hide". Simply switch that on, and everything works! Your SafetyNet checks work, your banking apps work, your PokemonGo/MarioRun work, etc. Apps that already have root will continue to work, but any new apps will not be able to obtain root unless you unhide.

crazyates said:
Back when I was trying to get PokemeonGo to work, I tried a couple of different apps and hacks, and very few of them work, and even fewer of them work well. That was before I switched to Magisk, which I was skeptical about at first (I've been using SuperSu for years), but it really does work quite nicely.
I use Magisk, with no SuperSU. IIRC, Magisk is a systemless root, meaning it doesn't touch your /system, it flashes into your /boot. I flashed my ROM, Kernel, Magisk zip, and then downloaded the app from the play store. Inside the Magisk settings, there's a toggle for "Magisk Hide". Simply switch that on, and everything works! Your SafetyNet checks work, your banking apps work, your PokemonGo/MarioRun work, etc. Apps that already have root will continue to work, but any new apps will not be able to obtain root unless you unhide.
Click to expand...
Click to collapse
Thank you for sharing you experience with Magisk! i'm also skeptical with this but i will try it later, see if it will works with me. Thanks!

crazyates said:
Back when I was trying to get PokemeonGo to work, I tried a couple of different apps and hacks, and very few of them work, and even fewer of them work well. That was before I switched to Magisk, which I was skeptical about at first (I've been using SuperSu for years), but it really does work quite nicely.
I use Magisk, with no SuperSU. IIRC, Magisk is a systemless root, meaning it doesn't touch your /system, it flashes into your /boot. I flashed my ROM, Kernel, Magisk zip, and then downloaded the app from the play store. Inside the Magisk settings, there's a toggle for "Magisk Hide". Simply switch that on, and everything works! Your SafetyNet checks work, your banking apps work, your PokemonGo/MarioRun work, etc. Apps that already have root will continue to work, but any new apps will not be able to obtain root unless you unhide.
Click to expand...
Click to collapse
Just a quick question, did you just restore your boot image then flashed the magisk zip? then downloaded the app manager from play store?

yoorie016 said:
Just a quick question, did you just restore your boot image then flashed the magisk zip? then downloaded the app manager from play store?
Click to expand...
Click to collapse
I switched to Magisk at the same time I was switching ROMs, so I did a complete wipe and flash. You could do a dirty flash, but I would reflash your /system and /boot withOUT wiping cache or dalvik or anything. I don't know what (if) your previous root installed anything into /system, in which case it probably won't like it.
So what I would do If I were you is boot into recovery, re-flash your ROM/Gapps (no need to wipe cache), reflash your kernel (optional), flash the magisk zip, reboot, install magisk manager from Store, and you're good to go!

crazyates said:
I switched to Magisk at the same time I was switching ROMs, so I did a complete wipe and flash. You could do a dirty flash, but I would reflash your /system and /boot withOUT wiping cache or dalvik or anything. I don't know what (if) your previous root installed anything into /system, in which case it probably won't like it.
So what I would do If I were you is boot into recovery, re-flash your ROM/Gapps (no need to wipe cache), reflash your kernel (optional), flash the magisk zip, reboot, install magisk manager from Store, and you're good to go!
Click to expand...
Click to collapse
Thanks! i'll try it later, hopefully i dont brick my phone. LoL.

I use PureNexus with Magisk, AndroidPay, snapchat or pokemon go works but not my banking app(ANZ GoMoney Wallet), I have yet to find a solution, give magisk a try and see if it works for you. The producure is basiclly wipe system in twrp - flash purenexus - flash magisk zip - boot and install magiskmanager from play store

P.Fan said:
but not my banking app(ANZ GoMoney Wallet), I have yet to find a solution
Click to expand...
Click to collapse
Did you manage to get this working?
I'm using latest Magisk, and I always fail/error when it's performing the encryption for the wallet functionality.

mouth said:
Did you manage to get this working?
I'm using latest Magisk, and I always fail/error when it's performing the encryption for the wallet functionality.
Click to expand...
Click to collapse
No, PureNexus will not bypass the root check in the banking app despite passing safetynet for some reason. However, since then I have switched back to official stock ROM with magisk installed and haven't had a problem so far.

I use a star Finanz banking app that fails with Magisk.
The solution I found is to uninstall Magisk manager when I need to use the push TAN app and then reinstall it(Magisk manager) from my internal storage when I'm done. Seems to work for me now.

Dumb question, but you guys are using Magisk Hide for the app bank's app right? Your device is showing up as certified in the play store settings correct?

OhioYJ said:
Dumb question, but you guys are using Magisk Hide for the app bank's app right? Your device is showing up as certified in the play store settings correct?
Click to expand...
Click to collapse
Yeah, it used to not work at all. Now on latest Magisk it hides it successfully 50% of the time.
Found it easier to just uninstall the manager and reload it after. Since I only need the push TAN for online transfers.
Android pay works without a problem for me.

Related

Can you safely replace SuperSU with Magisk on the HTC10?

I recall that installing SuperSU on the HTC10 was originally a special case. Due to the encryption it used, originally flashing SuperSU onto the HTC10 would break the cellular radio, eventually SuperSU was updated to fix this.
I want to know if Magisk is in the same boat, or it could break your radio too like SuperSU used to, or if the way it works does not cause this issue on the HTC10.
And if so, can it be installed in place of SuperSU without having to wipe/reset your data?
I haven't used Magisk so I can't speak from experience.
However:
1) I know in the ICE Rom thread, that users have recently asked for an aroma option not to have SU installed (or PHH SU installed rather than SuperSU) so they can more easily get Magisk working.
2) Secondly, the original developer of Magisk has a HTC 10.
It's a pretty safe bet to say Magisk works if you follow the instructions...
Nearly all the instructions recommend wiping your data though, and that's not an option for me.
the Dev from Magisk has a HTC10 as main device ^^
so Magisk works flawless (except maybe sprint/verizon).
Super Su is not recommended anyway, as you can read on post Nr 2.
i've been using phh's SU for a while now and havent had a single issue.
AFAIK you dont have to wipe data but restore Stock System (Image) and kernel.
stock boot.img is important to wipe the Ramdisk.
I am already on the stock rom, all I originally did was unlock the bootloader then flash SuperSU, I never flashed a custom rom.
Works fine for me!
Works great for me on Leedroid.
1) Full unroot with SuperSU (don't restore anything)
2) Flash Magisk
3) Flash PHH root
4) Install Magisk Manager
5) Install PHH SuperUser
How is Magisk better than systemless SuperSU ?
CroCop18 said:
How is Magisk better than systemless SuperSU ?
Click to expand...
Click to collapse
Its not to say one is better than the either.....
To put it in VERY simple terms (There is much more to it)
Magisk is a utility for rooted related mounts and SElinux permissive status. It allows all mods to be truly systemless. It also allows rooted users to still have the ability to utilize Android Pay. You can read MUCH more at http://forum.xda-developers.com/android/software/mod-magisk-v1-universal-systemless-t3432382
To use Magisk effectively at this point, you need PHH SuperSU.
Magisk, systemless xposed, phh supersu are all under the same umbrella and are designed to be used together.
It works perfect for me on the HTC 10 with the multiple ROMS, including stock, that I have tested. I have used SUPERSU for as long as I remember, but in this case, the modified chainfire supersu did not work smoothly for me in the systemless magisk envionrment. Gotta give thanks to both topjohnwu, PHH and chainfire alike!
Does anyone know if you use magisk will that allow you to take ota updates from HTC or will the ota updates not work using magisk either ? Another question if anyone knows I have an Unlocked HTC 10 but may get the new Marlin due out being made by Htc so I am also wondering if magisk will work and you still get your updates from Google using magisk. I just thought maybe someone one here might know rather than try to go through tons of pages on that thread itself. I am hoping so as that would rock if you could still get your ota updates and have root too using magisk.
By the way, why did you say I might have problems if I am on Sprint?
Cyber Akuma said:
Nearly all the instructions recommend wiping your data though, and that's not an option for me.
Click to expand...
Click to collapse
they say it's recommended.
this is my experience ce seting up Magisk on a LG g4 (h811) running Resurrection Remix, and super su. I have an unlocked bootloader.
my main concern was maintaining viper4android (originally installed with arise (I don't remember the version))
I downloaded all the files for magisk plus the rom (resurrection remix official, just in case I needed to start clean)
I booted into twrp, made a complete backup (system would have been enough, but safety first)
I then rebooted into Android and backed up viper4android from /system/priv-app/. removed the following, super su binary, super su app, busybox/app, Viper driver then the app, and a few other root apps installed to system (I simply deleted the apk from /system/app and /system/priv-app)
now I rebooted back into Android, once booted I rebooted into recovery
and installed all Magisk requirements, and then Magisk viper4android mod.
and finally wiped cache and dalvik/art
now I shut down for about 30 minutes (phone got too hot) stupid snapdragon 808
booted back into Android, opened play and installed the Super user needed for Magisk.
now I open kernel adiutor and allow su access (need to turn off cpus 3-6)
Now I open play and install Google pay and safetynet playground.
now I open Magisk manager, and disable root.
Open play I add my cards fine.
I exit play, and open safetynet playground and check, it passes.
now I enable root again.
I install the Viper I backed up earlier as a user app, and try and use it. Nope it's trying to Install the driver. I cancel and remove it and install the official Viper.
it works fine (remember I already installed the Viper Magisk mod earlier)
Now I'm golden.
Now I never cleared my data, but I did clear dalvik/art and cache.
the only part of arise that I changed was the Viper version, I removed arise version of viper from /system/priv-app and installed the official Viper as a user app)
in all I'm just saying make a backup and try without wiping data.
I chose to wipe dalvik/art and cache because of the major change on the device.
This may or may not work for hboot lock devices. (I'm using a LG g4 (h811))
the release thread does say you need an unlocked bootloader

Magisk on Verizon Note 4

Hello everyone,
As I'm sure everyone knows, Niantic has blocked rooted phones from playing with the most current update 0.37. I'm wondering if anyone has been able to find a ROM that will work on our phones and we can install magisk to be able to play with the latest update. If not, is there any other possible solution to play with the use of magisk or without giving up root completely. I'm currently running PaulPizz and have not tried any of the possible methods I have found from fear of losing root permanently. I'm open to any suggestions or ideas.
Thank you.
Try going to the Samsung Note 4 international section.. I just flashed a Note 7 port to my wife's phone and it rocks..
Could you possibly link to which one? Is it this one? Xerrum525 N7 FullFramework PortedRom for SM-N910C / SM-N910H
Also did you use magisk with it to use pokemon go?
Tricil said:
Hello everyone,
As I'm sure everyone knows, Niantic has blocked rooted phones from playing with the most current update 0.37. I'm wondering if anyone has been able to find a ROM that will work on our phones and we can install magisk to be able to play with the latest update. If not, is there any other possible solution to play with the use of magisk or without giving up root completely. I'm currently running PaulPizz and have not tried any of the possible methods I have found from fear of losing root permanently. I'm open to any suggestions or ideas.
Thank you.
Click to expand...
Click to collapse
I'd like to know too.
What I did was install PaulPizz. Once it finished I deleted the SuperSU folder via TWRP.
It booted up fine, I still had the SU app in my drawer, I did full unroot via SU. I then flashed the uninstall for Xposed and now I can play pogo.
I Haven't been able to get Magisk to work... I get unable to detect boot image. I'm unrooted for now on PaulPizz and can play PoGo 0.37
Tricil said:
Hello everyone,
As I'm sure everyone knows, Niantic has blocked rooted phones from playing with the most current update 0.37. I'm wondering if anyone has been able to find a ROM that will work on our phones and we can install magisk to be able to play with the latest update. If not, is there any other possible solution to play with the use of magisk or without giving up root completely. I'm currently running PaulPizz and have not tried any of the possible methods I have found from fear of losing root permanently. I'm open to any suggestions or ideas.
Thank you.
Click to expand...
Click to collapse
I downloaded an older version of the app from http://www.apkmirror.com/apk/niantic-inc/pokemon-go/.
I uninstalled the new version. Reinstalled the older. Ran fine. I've heard they'll force an update sooner or later but its good for now.
I also made sure to turn off auto app updated in settings.
I did find a solution using PaulPizz and magisk. It relatively follows most other tutorials. Plus I found a way to toggle magisk with tasker, if anyone is interested. I'll post a step by step tomorrow or possibly later tonight. Sorry to make everyone wait.
So this is how I got it work with PaulPizz ROM for Verizon Note 4 retail converted to Dev edition.
I take no credit for the creation of the files required for this install, but I kind of muttled my way through this installation and got the files from different posts so credit is to go to the creators of these files, I am just redistributing. If someone feels the need to take credit for these please feel free to let me know.
Make sure to download all apks and zips before and place on sd card before hand to save time. I have also included the uninstaller for magisk version of xposed if you would like, do not use this one during the installation of magisk to remove xposed though.
Only flash xposed and install apk if you still want xposed, if not you can skip those files.
1. Do a full backup of phone using TWRP
2. Go into SuperSU settings and do full unroot
3. Reboot into recovery and mount system partion
4. Go to advanced in recovery and select File explorer
5. Navigate to system and delete .supersu file
6. Flash xposed-uninstaller-20150831-arm.zip and reboot system
7. Install pokemon go 0.37 and make sure it works at this point
8. Reboot into recovery again and flash Magisk-v6.zip, 1473968610260_phh-superuser-17-magisk.zip, and 1473980489208_xposed-v86.5-arm-alt-sdk23-topjohnwu.zip
9. Clear dalvik and cache and reboot system
10. After apps optimize install Magisk manager and Xposed Installer
11. Reboot and enjoy playing the new update. Just use Magisk Manager to turn root on/off at will before or after playing.
I'm going to create the tasker profile tomorrow and post instruction on that once completed to automatically activate Magisk when opening pokemon go.
If there are any questions, I will do my best to answer.
Tricil said:
So this is how I got it work with PaulPizz ROM for Verizon Note 4 retail converted to Dev edition.
I take no credit for the creation of the files required for this install, but I kind of muttled my way through this installation and got the files from different posts so credit is to go to the creators of these files, I am just redistributing. If someone feels the need to take credit for these please feel free to let me know.
Make sure to download all apks and zips before and place on sd card before hand to save time. I have also included the uninstaller for magisk version of xposed if you would like, do not use this one during the installation of magisk to remove xposed though.
Only flash xposed and install apk if you still want xposed, if not you can skip those files.
1. Do a full backup of phone using TWRP
2. Go into SuperSU settings and do full unroot
3. Reboot into recovery and mount system partion
4. Go to advanced in recovery and select File explorer
5. Navigate to system and delete .supersu file
6. Flash xposed-uninstaller-20150831-arm.zip and reboot system
7. Install pokemon go 0.37 and make sure it works at this point
8. Reboot into recovery again and flash Magisk-v6.zip, 1473968610260_phh-superuser-17-magisk.zip, and 1473980489208_xposed-v86.5-arm-alt-sdk23-topjohnwu.zip
9. Clear dalvik and cache and reboot system
10. After apps optimize install Magisk manager and Xposed Installer
11. Reboot and enjoy playing the new update. Just use Magisk Manager to turn root on/off at will before or after playing.
I'm going to create the tasker profile tomorrow and post instruction on that once completed to automatically activate Magisk when opening pokemon go.
If there are any questions, I will do my best to answer.
Click to expand...
Click to collapse
I still get unable to detect boot image :/
reggaeton1991 said:
I still get unable to detect boot image :/
Click to expand...
Click to collapse
When are you getting that, when you flash the zip or install the apk? I'm guessing that's when you flash the included Magisk_6.zip. You are rooted using the retail to dev on an N910V model? I would maybe backup your current system and restore from before you unrooted and try again possibly.
Tricil said:
When are you getting that, when you flash the zip or install the apk? I'm guessing that's when you flash the included Magisk_6.zip. You are rooted using the retail to dev on an N910V model? I would maybe backup your current system and restore from before you unrooted and try again possibly.
Click to expand...
Click to collapse
Yes rooted from retaill to dev on a N910V and yea, I get that when flashing Magisk_6.zip.
I'm factory resetting the rom. Going to ensure I have root from PaulPizz. and then try again. Thank you.
reggaeton1991 said:
Yes rooted from retaill to dev on a N910V and yea, I get that when flashing Magisk_6.zip.
I'm factory resetting the rom. Going to ensure I have root from PaulPizz. and then try again. Thank you.
Click to expand...
Click to collapse
After clean install (wipe data, cache, system)
It says after mounting system
Mounting /system(ro), /cache, data
Device platform arm
unable to detect boot image
error 1
idk what to do
reggaeton1991 said:
I still get unable to detect boot image :/
Click to expand...
Click to collapse
reggaeton1991 said:
Yes rooted from retaill to dev on a N910V and yea, I get that when flashing Magisk_6.zip.
I'm factory resetting the rom. Going to ensure I have root from PaulPizz. and then try again. Thank you.
Click to expand...
Click to collapse
Also, this is my setup, if it helps at all. Please let me know if any of this helps, or if you find another way that works for you. Thank you.
Tricil said:
Also, this is my setup, if it helps at all. Please let me know if any of this helps, or if you find another way that works for you. Thank you.
Click to expand...
Click to collapse
Thanks again, it looks like the only difference was that I was on CPF3.r-2.
I tried going back to CPD1 and still no luck.
I appreciate you letting me know.
I used the Kyubi rom and uninstalled root with supersu and installed all of the magisk stuff and it works like a charm. All of the xposed modules work good too with the system less xposed. It takes a while to boot up after flashing magisk and clearing cache but worth it. The buddy system is pretty cool lol
Anyone else only able to MAYBE play on WiFi?
Tricil said:
So this is how I got it work with PaulPizz ROM for Verizon Note 4 retail converted to Dev edition.
I take no credit for the creation of the files required for this install, but I kind of muttled my way through this installation and got the files from different posts so credit is to go to the creators of these files, I am just redistributing. If someone feels the need to take credit for these please feel free to let me know.
Make sure to download all apks and zips before and place on sd card before hand to save time. I have also included the uninstaller for magisk version of xposed if you would like, do not use this one during the installation of magisk to remove xposed though.
Only flash xposed and install apk if you still want xposed, if not you can skip those files.
1. Do a full backup of phone using TWRP
2. Go into SuperSU settings and do full unroot
3. Reboot into recovery and mount system partion
4. Go to advanced in recovery and select File explorer
5. Navigate to system and delete .supersu file
6. Flash xposed-uninstaller-20150831-arm.zip and reboot system
7. Install pokemon go 0.37 and make sure it works at this point
8. Reboot into recovery again and flash Magisk-v6.zip, 1473968610260_phh-superuser-17-magisk.zip, and 1473980489208_xposed-v86.5-arm-alt-sdk23-topjohnwu.zip
9. Clear dalvik and cache and reboot system
10. After apps optimize install Magisk manager and Xposed Installer
11. Reboot and enjoy playing the new update. Just use Magisk Manager to turn root on/off at will before or after playing.
I'm going to create the tasker profile tomorrow and post instruction on that once completed to automatically activate Magisk when opening pokemon go.
If there are any questions, I will do my best to answer.
Click to expand...
Click to collapse
Well I have magisk installed but I dont know if the xposed went through entirely it says it flashed ok but according to the installer I don't have xposed installed? What's going on did I do something wrong
Did you remove the old xposed app after the flag and install the new xposed apk also? I think mine did the same, because I forgot to also install the xposed app after flashing the systemless xposed framework.
I was able to full unroot, delete the super su file in twrp. when I flash the Xposed uninstaller it removes the framework but leaves the APk in a form that I can't delete.
If I flash magisk and all the other stuff it goes through fine, but when I try to toggle root off in magisk it turns itself back on within a few seconds. I'm assuming this is because i didn't get Xposed all the way off?
Any ideas? Thanks in advance for the help.
Magisk will refuse to unroot while xposed is still there in the system form. Even a piece of it.
Well now I got Xposed off using tibu before I unroot. Everything installed, systemless Xposed registered as being active, but when I try to toggle root in magisk I get the same thing with it turning itself back on. If I try to request root privileges from an app I am told i have no root.
Ideas?

Still confused about how to install Magisk/Automagisk on my HTC 10

I have been trying to Google this but am a little confused on all the steps I need to (and don't need to) take at this point, especially since I am a little behind. So I wanted to ask for help on forums, if anyone is willing to give some advice on this.
First of all, I have a Sprint version of the HTC 10. I don't know if that matters or not (I recall back when I was trying to figure out the original Magisk, someone mentioned that a Sprint model HTC 10 could be an issue, but I am not sure why).
Also, so far all I have done in terms of rooting it is:
- Use the HTC Bootloader unlock
- Install TWRP Touch Recovery with the option of not modifying the system partition (From what I understand, this would cause it to be a temporary install that would go away after a reboot, but it seems to have stayed installed)
- Perform backups with TWRP
- Flash the SuperSU zip with TWRP
And... that's it, still on stock ROM and everything, didn't install anything else that depends on root like Xposed or whatever (That wasn't automatically installed by TWRP or SuperSU or something was it?). I am pretty sure root access is working because two of my apps (Titanium Backup and Chase) tried to request it, and I can see those requests in SuperSU, but other apps don't seem to act like I am rooted. Namely, Google Pay.
From what I understand, Google Pay is not supposed to work if you have root due to that SafetyNet API. However, when I start Google Pay, I see no error message or anything, it seems to work. Granted, I haven't added a credit card to it yet, does the error only happen when you try to make a payment or try to add a card or something? Or should I see it on starting the app? Did I somehow inadvertently setup my phone in a way where root is not being detected?
I also seem to be getting conflicting information on how I should install everything. The guide I followed for rooting my phone said to install SuperSU by flashing the zip, not through the app store.... but the guide for Magisk seems to claim to uninstall SuperSU and install phh's Superuser from the app store. Is there a reason I should do this one way, or another?
Also, all the guides for Magisk say that it is heavily recommended that I reset my phone to stock system, and I really can't reset the data on my phone. Can it be done without erasing anything? I am unclear what resetting to "stock system" would do exactly.
It sounds a little too simple: Uninstall SuperSU and install Superuser (though the method I should do it through is not clear), flash Magisk through TWRP, and then flash AutoMagisk through TWRP. I feel like I am definitely forgetting steps. That, and if somehow I am getting past SafetyNet with Android Pay I don't want to mess with something that might break however I managed to pull it off.
Another worry is breaking my cellular radio. I remember that SuperSU for a while did something (or rather, didn't do something with encryption that the HTC 10 needed which resulted in the cellular radio not working once it was flashed, and that for a while there was a special fork of SuperSU for HTC 10 phones to fix this until the main SuperSU app implemented it. I have no idea if Superuser or Magisk also could cause this issue. Does anyone have any idea?
Oh, and finally, my phone is complaining that an update is available, has been complaining for a while, update 1.80.651.6. Can I safely install this OTA update while rooted? Will it remove or break root if I do? And would it be recommended to install it now before I mess with Superuser and Magisk, or after?
Ummm, anyone?
Cyber Akuma said:
Ummm, anyone?
Click to expand...
Click to collapse
Its all there in the op of the magisk thread.
I read that thread, as I said, I still don't understand some parts.
Cyber Akuma said:
Ummm, anyone?
Click to expand...
Click to collapse
Have you tried posting in the dedicated Magisk thread?
Try installing leedroid nightly latest it has magisk available when you install rom
i did not try it, till now. I read something a few weeks ago.
But in the magisk thread the op said something that SuperSu is not the supported SU method? only phh superuser?!
I would ask the question in magisk thread.
Firstly: You ask a lot of semi-related questions, a lot of these are already answered, out there, in the appropriate threads.
Let me systematically try to answer your questions
What you have done:
- Use the HTC Bootloader unlock
- Install TWRP Touch Recovery with the option of not modifying the system partition (From what I understand, this would cause it to be a temporary install that would go away after a reboot, but it seems to have stayed installed)
- Perform backups with TWRP
- Flash the SuperSU zip with TWRP
Click to expand...
Click to collapse
When you install the TWRP recovery, you actually install it to the recovery partition of your device.
the option the "not modify system" has nothing to do with installing TWRP, but with installing other mods/roms
It's there so you can make a backup without modifying the system partition, that way you can go back to a working isntall if you do happen to mess something up.
And... that's it, still on stock ROM and everything, didn't install anything else that depends on root like Xposed or whatever (That wasn't automatically installed by TWRP or SuperSU or something was it?). I am pretty sure root access is working because two of my apps (Titanium Backup and Chase) tried to request it, and I can see those requests in SuperSU, but other apps don't seem to act like I am rooted. Namely, Google Pay.
From what I understand, Google Pay is not supposed to work if you have root due to that SafetyNet API. However, when I start Google Pay, I see no error message or anything, it seems to work. Granted, I haven't added a credit card to it yet, does the error only happen when you try to make a payment or try to add a card or something? Or should I see it on starting the app? Did I somehow inadvertently setup my phone in a way where root is not being detected?
Click to expand...
Click to collapse
SuperSu *should* break safetney and thus should break android pay, as Chainfire says in the following thread: http://forum.xda-developers.com/apps/supersu/supersu-safetynet-android-pay-t3298115
"In case any SuperSU-rooted device passes SafetyNet, that is a bug in SafetyNet, not a feature of SuperSU."
I also seem to be getting conflicting information on how I should install everything. The guide I followed for rooting my phone said to install SuperSU by flashing the zip, not through the app store.... but the guide for Magisk seems to claim to uninstall SuperSU and install phh's Superuser from the app store. Is there a reason I should do this one way, or another?
Click to expand...
Click to collapse
Installing SuperSu trough TWRP installs the dependencies (the actual root) and the application (which just manages the root access), the magisk guide tells you to first flash the preferred root (SuperSu or SuperUser phh's) trough recovery and then install the correct manager app trough the playstore.
This is probably so John doesn't have to keep on updating his zips everytime the makers of the manager apps update their apps, users can just download the latest version.
Also, all the guides for Magisk say that it is heavily recommended that I reset my phone to stock system, and I really can't reset the data on my phone. Can it be done without erasing anything? I am unclear what resetting to "stock system" would do exactly.
Click to expand...
Click to collapse
Resetting to stock is important for 2 reasons:
1. it cleans out all "old" root apps and methods
2. it cleans up a patched boot.img (kernel)
Then again, if you haven't flashed any other mods, you would probably be safe to install magisk on your rom.
One important thing everyone will always tell you: make a backup! (make a nandroid)
To do this, boot to TWRP and choose "backup" make sure to select: Boot, System and Data
It sounds a little too simple: Uninstall SuperSU and install Superuser (though the method I should do it through is not clear), flash Magisk through TWRP, and then flash AutoMagisk through TWRP. I feel like I am definitely forgetting steps. That, and if somehow I am getting past SafetyNet with Android Pay I don't want to mess with something that might break however I managed to pull it off.
Click to expand...
Click to collapse
The proper steps would be:
0. Make a nandroid backup in TWRP!!
1. Open SuperSU and choose to completly unroot (somewhere near the bottom of the settings menu)
2. Boot to TWRP and flash Magisk
3. Flash the phhh superuser zip file (from the magisk thread)
4. boot android and install the superuser app from the playstore
5. boot twrp and install AutoMagisk
That's it!
Another worry is breaking my cellular radio. I remember that SuperSU for a while did something (or rather, didn't do something with encryption that the HTC 10 needed which resulted in the cellular radio not working once it was flashed, and that for a while there was a special fork of SuperSU for HTC 10 phones to fix this until the main SuperSU app implemented it. I have no idea if Superuser or Magisk also could cause this issue. Does anyone have any idea?
Click to expand...
Click to collapse
Radio shouldn't be broken unless you flash very old zips, don't worry about it
Oh, and finally, my phone is complaining that an update is available, has been complaining for a while, update 1.80.651.6. Can I safely install this OTA update while rooted? Will it remove or break root if I do? And would it be recommended to install it now before I mess with Superuser and Magisk, or after?
Click to expand...
Click to collapse
I allmost enver use official OTA's so I can't say for certain buttttt as you used SuperSU, the root should be systemless so it should accept OTA updates..
What I would do:
1. make a nandroid
2. install OTA
3. See if everything works as expected
4. restore backup if something doesnt work properly =D
I would install the OTA before trying Magisk
Thank you, that was very helpful. I did try Googling all this, but couldn't find clear answers, which is why I am asking here.
And yes, I am definitely going to make a backup before messing with it. Is there any reason to make a Titanium backup too, or will the nandroid one be enough?
As for removing SuperSU, what would that system/boot stock reset delete? Would it delete any installed applications or application settings? Or undo updates to pre-installed system apps? Or reinstall apps that came with the phone that I uninstalled?
Got it working, thanks. (Though, AutoMagisk seems to only be available as an APK, not as a zip that can be installed from TWRP).
Seems like a few configuration settings got wiped due to the system partition being reset, but other than that most of my data seems perfectly intact.

Uninstall Root on Cm13?

I want to use the system less root so I can play Pokémon Go. Is there a way to remove root or do I have to be running a stock rom? I'm using the latest nightly of the regular Cyanogen Cm13.
Thanks
Isn't root enabled via settings? Maybe turn it off in the settings or reflash and don't enable root?
I tried that but the system is still seen as rooted
Sent from my SGH-T999 using XDA-Developers mobile app
Shack70 said:
I want to use the system less root so I can play Pokémon Go. Is there a way to remove root or do I have to be running a stock rom? I'm using the latest nightly of the regular Cyanogen Cm13.
Thanks
Click to expand...
Click to collapse
in superSU app , under settings is a clickable box for "full unroot". tried that?
"err on the side of kindness"
mrrocketdog said:
in superSU app , under settings is a clickable box for "full unroot". tried that?
"err on the side of kindness"
Click to expand...
Click to collapse
I can't get the supersu app to work. It wants to update and fails update. Updating through twrp creates a boot loop. Good idea though, thanks.
Sent from my SGH-T999 using XDA-Developers mobile app
Shack70 said:
I can't get the supersu app to work. It wants to update and fails update. Updating through twrp creates a boot loop. Good idea though, thanks.
Sent from my SGH-T999 using XDA-Developers mobile app
Click to expand...
Click to collapse
hmmmmm well just for something to try , how about reflasing superSU then see if it will open. idk. just something to try
"err on the side of kindness"
CM13 has it's own baked-in implementation of ClockWorkMod's SuperUser, not SuperSU. You can install SuperSU, but it will conflict. You'll first need to delete /system/bin/su and /system/xbin/su, then you can "try" installing SuperSU, SUHide, etc..
1. install the latest version of TWRP for your device
2. boot into recovery and install SuperSU v2.78 SR1
-reboot system. open SuperSU and setup as normal
3. boot into recovery and install SUHide v0.54
-reboot system. open an app that require root to make sure your root is functioning
-try Pokemon Go. It should work fine
Do you need some sort of GPS spoof? You'll need Systemless XPosed and a good module
4. boot into recovery and install Xposed v86.2 - Universal Systemless (make sure you select 86.2 - you DO NOT need Magisk)
reboot system.
5. install Material Design Xposed Installer APK
-run XPosed Installer. it should show you are using 86.2 systemless
-click top left button and select download. search for a module called "Snorlax" and install the most recent version.
-this will hide your mock locations setting as well as show IV's, movesets, etc. of any Pokemon you encounter. it's all client side so no worries about bans!
-reboot system
-Test Pokemon Go. You should have no problems!
6. Need a GPS spoofing app? I use Fake GPS (well worth the $2.99). It allows you to pin favorite locations (I bounce quickly between spots where I can hit multiple lured PokeStops at once), and has settings to randomly move within a radius at whatever intervals and speed. They also have a GPS Joystick and Routes app that I have not yet tested since they don't offer a trial or free version. I'll update on that if they do offer a trial.
I have fresh installed CM13 on a Nexus 5, following the instructions above for systemless root + xposed. Pokemon Go v39.1 works without issue while spoofing GPS.
**UPDATE 10/7/2016 ** - edited to use updated suhide v0.54
FuNKSioN said:
CM13 has it's own baked-in implementation of ClockWorkMod's SuperUser, not SuperSU. You can install SuperSU, but it will conflict. You'll first need to delete /system/bin/su and /system/xbin/su, then you can "try" installing SuperSU, SUHide, etc..
1. install the latest version of TWRP for your device
2. boot into recovery and install SuperSU v2.78 SR1
-reboot system. open SuperSU and setup as normal
3. boot into recovery and install suhide v0.53
-reboot system. open an app that require root to make sure your root is functioning
-try Pokemon Go. It should work fine
Do you need some sort of GPS spoof? You'll need Systemless XPosed and a good module
4. boot into recovery and install Xposed v86.2 - Universal Systemless (make sure you select 86.2 - you DO NOT need Magisk)
reboot system.
5. install Material Design Xposed Installer APK
-run XPosed Installer. it should show you are using 86.2 systemless
-click top left button and select download. search for a module called "Snorlax" and install the most recent version.
-this will spoof your mock locations setting as well as show IV's, movesets, etc. of any Pokemon you encounter. it's all client side so no worries about bans!
-reboot system
Test Pokemon Go. You should have no problems!
***UPDATE***
I have just fresh installed CM13 on a Nexus 5, following the instructions above for systemless root + xposed. Pokemon Go v39.1 works without issue while spoofing GPS.
Click to expand...
Click to collapse
I deleted all the support files but Pokémon ends telling it's unable to log me in. Many users are reporting this error. It might just be my phone, the s3 is kinda old.
Shack70 said:
I deleted all the support files but Pokémon ends telling it's unable to log me in. Many users are reporting this error. It might just be my phone, the s3 is kinda old.
Click to expand...
Click to collapse
Hmm.. For ****s and giggles, I'll pull out an old S3 and give it a go. Will report back soon.
FuNKSioN said:
Hmm.. For ****s and giggles, I'll pull out an old S3 and give it a go. Will report back soon.
Click to expand...
Click to collapse
Wow! Thanks I appreciate it.
Shack70 said:
Wow! Thanks I appreciate it.
Click to expand...
Click to collapse
Sorry took so long. This phone is slow as ballz! Everything appears to be working correctly though. I have Pokemon Go 39.1 installed (had to use apkmirror to install since it wouldn't let me from the Play Store on the S3), and am using Snorlax module to hide mock locations. I'm also using Fake Gps to spoof location.
I'd say it should work for you as well. What modules are you using? If you don't care about anything on your phone, wipe everything from recovery. Then under advanced, adb sideload CM13 and GApps Nano from opengapps.org (ARM/6.0/nano). Restart system and follow all the steps from there after you have the initial phone setup done.
FuNKSioN said:
Sorry took so long. This phone is slow as ballz! Everything appears to be working correctly though. I have Pokemon Go 39.1 installed (had to use apkmirror to install since it wouldn't let me from the Play Store on the S3), and am using Snorlax module to hide mock locations. I'm also using Fake Gps to spoof location.
I'd say it should work for you as well. What modules are you using? If you don't care about anything on your phone, wipe everything from recovery. Then under advanced, adb sideload CM13 and GApps Nano from opengapps.org (ARM/6.0/nano). Restart system and follow all the steps from there after you have the initial phone setup done.
Click to expand...
Click to collapse
Thanks for your help. I updated yo the newest nightly build, did a full factory reset and deleted the 2 su files. After rebooting i re-downloaded the newest version of Pokémon and installed it. Game is working fine.
I don't use root much so I'll see how it goes without root and if I need root i can put the su files back(I made copies and put them in Dropbox) or try superSU/hideSU.
I know the s3 is slow but I'm putting off an upgrade until i have to upgrade. Until i upgrade I won't really realize how slow my phone is
Sent from my SGH-T999 using XDA-Developers mobile app
Going forward, I don't think the CM baked-in SuperUser is going to cut it. At least not the version in CM13. The specific versions of SuperSU + suhide I linked seem to pass all current checks though. So if you want root, go ahead and use them.
FuNKSioN said:
Going forward, I don't think the CM baked-in SuperUser is going to cut it. At least not the version in CM13. The specific versions of SuperSU + suhide I linked seem to pass all current checks though. So if you want root, go ahead and use them.
Click to expand...
Click to collapse
Yeah i get this is a temporary solution. Thanks for all your help. You've really gone above and beyond
Sent from my SGH-T999 using XDA-Developers mobile app
no problem man!
Thanks!
FuNKSioN said:
no problem man!
Click to expand...
Click to collapse
just wanted to chime in and say my own SGH-T999 is now running PG again, thanks to you FuNKSioN - so, thank you sir!!! wasted a LOT of time trying other solutions (mainly Magisk) with no luck, so i was pretty damned happy when your steps worked. first time i forgot to rename/delete the two su files, second time i did it immediately after flashing CM13 & GApps using ADB and then everything was fine. you rock!!! :victory:
and also, yeah - until Shack70 and i get a new phone, we have no idea what "slow as ballz" is! i will say, the S3 may be relatively slow but i have two backup batteries that take up very little space and are very easy to swap in and out.
romehu2 said:
just wanted to chime in and say my own SGH-T999 is now running PG again, thanks to you FuNKSioN - so, thank you sir!!! wasted a LOT of time trying other solutions (mainly Magisk) with no luck, so i was pretty damned happy when your steps worked. first time i forgot to rename/delete the two su files, second time i did it immediately after flashing CM13 & GApps using ADB and then everything was fine. you rock!!! :victory:
and also, yeah - until Shack70 and i get a new phone, we have no idea what "slow as ballz" is! i will say, the S3 may be relatively slow but i have two backup batteries that take up very little space and are very easy to swap in and out.
Click to expand...
Click to collapse
Glad to help. I was in the same boat: so much info in all directions and none of it seemed to work. I keep up with ChainFire's G+ account. He had a few posts linked directly back to XDA. Those few posts had everything needed. I just put it in simple steps. All thanks to him really
Sigh
And now SafetyNet is failing and PoGo won't log me in. Is this really worth it?
romehu2 said:
And now SafetyNet is failing and PoGo won't log me in. Is this really worth it?
Click to expand...
Click to collapse
reflashed CM13 + GApps, used ADB to rename system/xbin/su & system/bin/su to /su-off, and SafetyNet is happy (and thus, so is PoGo). but now, of course, phone isn't rooted.
---------- Post added at 05:18 AM ---------- Previous post was at 05:05 AM ----------
on the plus side, CM13 comes with File Manager which allowed me, without root, to install the v39.1 PoGo apk that I downloaded last week.
Sit back and wait for an SU update... It's only been a hot minute.

Snapchat login fail on rooted device

Hi guys,
I bought a HTC One M9 from my friend but I discovered that it's rooted. That's not a big issue but I can't use Snapchat because the device has been rooted. I only know it's rooted with SuperSU.
I don't know anything about roots and ROMs so can anyone help me with this problem? I red some other threads but they didn't work out... The apps hidemyroot and Root Cloaker also didn't help me.
Thanks a lot!
You'd be best off either unrooting or flashing a fresh rom without any root, and using something like Titanium Backup to backup Snapchat, and whenever you re-root, restore from that backup. You won't have to login again. (Correct me if I'm wrong, as this process had worked in the past, however I am unsure if this is the case now.)
Andranoxi said:
You'd be best off either unrooting or flashing a fresh rom without any root, and using something like Titanium Backup to backup Snapchat, and whenever you re-root, restore from that backup. You won't have to login again. (Correct me if I'm wrong, as this process had worked in the past, however I am unsure if this is the case now.)
Click to expand...
Click to collapse
Thanks for your answer! I just don't know how you do everything with roots etc. Is it possible to get the root away? Would be the best solution for me because I never use it. Is there already a good thread which tells you how to unroot your HTC? My phone is S-On so they told me it was not possible...
If you desperately need snapchat that much then you'll have to flash the phone back to its stock state. There is a thread, by flippy, in the general section stickies that explains how to do that.
Beamed in by telepathy.
Don't listen to these guys, you can download a few things and be on your merry Snapchat. What you'll need (all can be found on XDA):
UnSU-signed.zip
SuperSU 2.79 SR3 zip
suhide zip
RootSwitch 1.3.3.2
xposed framework [optional] (I recommend version 86.2 by topjohnwu)
First reboot to recovery, flash UnSU zip, then reboot to system. Download SafetyNet Helper Test and check if you pass just without root, if it's green we're good to proceed. If it doesn't pass, blue or red, you'll want to flash a ROM and start fresh.
Reboot to recovery again, flash SuperSU zip, it should install as systemless automatically. After that you can install the suhide zip and if you want xposed, then wipe Dalvik and cache and reboot.
Once you're rebooted back in the system you'll want to install the RootSwitch apk and suhide GUI from the playstore. Once they are installed, open RootSwitch and select the options for Disable USB debugging and Stop all su daemons (I also have notification showing so I always know whether it's enabled or not). Open suhide GUI and make sure these items are checked off: Android Pay, Pokemon Go, SnapChat and SystemUI. Once those options are checked, go back to RootSwitch and hit Disable Root. Open SN Helper and test again; it should be green.
You now have a device with systemless root and xposed that can be disabled at any time without a reboot and used as a stock device, working with Android Pay and other apps that block rooted phones, including SnapChat. ?
Of course, if you don't want any of this and just want a stock HTC M9, I recommend downloading the RUU for your model direct from HTC and doing a full restore on it.
Hope this helps.

Categories

Resources