Hide root to app on Pure Nexus (Nougat 7.1.2) - Nexus 6P Q&A, Help & Troubleshooting

I have an app on my phone (Airwatch), that is required in order to receive my "work email." Well, in order for that to work, i need to basically hide my root access to that app. Doing so will make the app thinks the device is not compromised, and allow the authorization to complete.
I've researched quite of view sites and videos, but all seem be for older android versions or not for SuperSU.
Anyone had any luck hiding root to an app on Pure Nexus Rom 7.1.2 ?
Thank you!

Try this when naugat was fresh I couldn't get it to work for Android pay but I'm seeing more success on the forum now
https://www.google.com/amp/s/amp.re...ts/5llqrc/root_help_magisk_and_phh_superuser/
Sent from my Nexus 6P using Tapatalk

gjkrisa said:
Try this when naugat was fresh I couldn't get it to work for Android pay but I'm seeing more success on the forum now
https://www.google.com/amp/s/amp.re...ts/5llqrc/root_help_magisk_and_phh_superuser/
Sent from my Nexus 6P using Tapatalk
Click to expand...
Click to collapse
That's a doozy of a thread. Looks like i have a lot of reading to do.
I sure hope something works. I sold my old phone and bought this Nexus 6P in order to root (for free tethering) and add a custom rom. I absolutely need my work email, so i hope i can figure something out without going to back to a stock phone.

You can use Google's tether for free without root
Oops guess not that was a long time ago when I needed that guess you did need root
Sent from my Nexus 6P using Tapatalk

Guess it depends on the carrier for tethering. I have the pain of AT&T.

JTOUPS1214 said:
I have an app on my phone (Airwatch), that is required in order to receive my "work email." Well, in order for that to work, i need to basically hide my root access to that app. Doing so will make the app thinks the device is not compromised, and allow the authorization to complete.
I've researched quite of view sites and videos, but all seem be for older android versions or not for SuperSU.
Anyone had any luck hiding root to an app on Pure Nexus Rom 7.1.2 ?
Thank you!
Click to expand...
Click to collapse
I use Nine and use the software base security when setting up my work email. No issue with root.
As for hiding root, I use Magisk but I can't get safetynet to pass. Oh well.

therock3181 said:
I use Nine and use the software base security when setting up my work email. No issue with root.
As for hiding root, I use Magisk but I can't get safetynet to pass. Oh well.
Click to expand...
Click to collapse
I know Magisk has the "hide root" feature. But is it worth changing from SuperSU to Magisk? It sounds like I still won't pass safety net since I'm running a custom Rom.

Well, i figured a work-around to avoid installing Airwatch. I just added a shortcut to my office360 email, right on my homescreen. It doesn't notify me of new work emails, but at least i can go check them.
But i still would like to add my Snapchat. Is there anything floating around which allows you to use snapchat with Pure Nexus?

Magisk is the way to root and hide it. -> https://forum.xda-developers.com/apps/magisk
it's supported and on the stock ROM, Android Pay and SafetyNet passes with an unlocked bootloader and root.

Related

Disadvantages of rooting?

Hi there, I'm no new to development, but haven't played with a phone in a while.
Can someone please tell me what the disadvantages of rooting the Nexus 6p are?
My plan is to get root access only to use specific apps (eg greenify) but not to install a new ROM, i.e. I'll stay with stock.
Does this affect:
-Applicability of OTA updates from Google
-ability to use the fingerprint reader
-warranty claims
-speed/stability of the device?
Thanks in advance!
qwertyuiop89 said:
Hi there, I'm no new to development, but haven't played with a phone in a while.
Can someone please tell me what the disadvantages of rooting the Nexus 6p are?
My plan is to get root access only to use specific apps (eg greenify) but not to install a new ROM, i.e. I'll stay with stock.
Does this affect:
-Applicability of OTA updates from Google
-ability to use the fingerprint reader
-warranty claims
-speed/stability of the device?
Thanks in advance!
Click to expand...
Click to collapse
-OTA are not possible when rooted. You have to flash back stock boot.img and recovery.img to accept an OTA.
-It does not interfere with Nexus Imprint (Fingerprint reader.)
-Does not affect speed or stability
-Warranty is not affected because you can flash stock imgs and relock bootloader.
You can take OTA's if you do the systemless-root. I believe you would have to flash the recovery back to stock, though.
I think you have to flash boot as well since it's modified.
the biggest disadvantage is your device become instantly awesome, so if you are used to being annoyed about the stock OS missing features this is hard to deal with
But honestly the best thing about owning a nexus is you can root and easily go back to stock if you change your mind. The flash images are also easily available for updates (even before the OTA is out). So play with it, and worst case you can always restore back to stock.
currently my only disadvantage to me is loosing android pay...
yea i know i can make it work if i delete /su/xbin... but i feel like its there for a reason and i shouldnt be deleting it.
chaco81 said:
currently my only disadvantage to me is loosing android pay...
yea i know i can make it work if i delete /su/xbin... but i feel like its there for a reason and i shouldnt be deleting it.
Click to expand...
Click to collapse
Supersu 2.61 does systemless root ootb. No need to delete anything. Systemless root will just work and Android Pay will just work.
83097markcynt said:
Supersu 2.61 does systemless root ootb. No need to delete anything. Systemless root will just work and Android Pay will just work.
Click to expand...
Click to collapse
i have been using systemless root since v 2.61... im using 2.66 now
and android pay didnt work, and even wont pass safetynet test
delete the /su/xbin folder and it passes safetynet and android pay works...
so yes, for me it sucks that i have delete that to make AP to work... which is why for now i am giving up AP since i dont feel comfortable deleting xbin and breaking stuff
Mine passes safetynet test and is just systemless with nothing deleted. No Android Pay in the UK to test it with though.
Not being awesome.
Not living in the exciting XDA fast lane!
Can I use Xposed with systemless root?
Thanks for the replies everyone - that was very helpful. I've gone ahead and installed three sustemless root, and installed xposed too, leaving the rom itself untouched as stock.
However, my system is disappointingly buggy. Apps keep crashing. Is this common? I thought this was supposed to be a stable/safe thing to do!
dimiboy said:
Can I use Xposed with systemless root?
Click to expand...
Click to collapse
Yes mate you can works perfectly well
Sent from my Nexus 6P using Tapatalk
qwertyuiop89 said:
Thanks for the replies everyone - that was very helpful. I've gone ahead and installed three sustemless root, and installed xposed too, leaving the rom itself untouched as stock.
However, my system is disappointingly buggy. Apps keep crashing. Is this common? I thought this was supposed to be a stable/safe thing to do!
Click to expand...
Click to collapse
lol this seems to happen when you root and install Xposed or pretty much modify anything. Usually I see a decrease in stability and battery life but an increase in performance, and you get to play with new features early.
I'm contemplating rooting just to use the new launcher.
qwertyuiop89 said:
Thanks for the replies everyone - that was very helpful. I've gone ahead and installed three sustemless root, and installed xposed too, leaving the rom itself untouched as stock.
However, my system is disappointingly buggy. Apps keep crashing. Is this common? I thought this was supposed to be a stable/safe thing to do!
Click to expand...
Click to collapse
You have a couple of things going on.
First root IS as safe as you let it be. If you haven't installed any root applications it should not be any more buggy than stock.
You have installed Xposed. You have not mentioned what modules you have.
I don't have any issues you describe but I don't have a lot of modules installed.
I am stock with Xposed and root.
None
Sent from my angler using XDA Labs

Is there any reason not to root my new 6p?

Like the title says, is there any reason not to root my new 6p?
Sent from my SM-T320 using Tapatalk
Android pay won't work but other than that I love mine rooted
Sent from my Nexus 6P using Tapatalk
funnel71 said:
Android pay won't work but other than that I love mine rooted
Sent from my Nexus 6P using Tapatalk
Click to expand...
Click to collapse
Android Pay works with system-less root.
Sent from my Nexus 6P using Tapatalk
That's what I have or so I thought but I can't seem to add any cards to it. It tells me my Android device isn't recognized. Do you know how to get around that
Sent from my Nexus 6P using Tapatalk
I tried with systemless root and AP worked fine, but my company dinged me for having email installed and they detected root.
Sucks too because EX kernel plus stock seemed awesome. But having access to corporate email is more a daily must, and I don't want to carry two phones.
jpeg42 said:
I tried with systemless root and AP worked fine, but my company dinged me for having email installed and they detected root.
Sucks too because EX kernel plus stock seemed awesome. But having access to corporate email is more a daily must, and I don't want to carry two phones.
Click to expand...
Click to collapse
I know what you mean, my company uses good for email access and it will shut down if root is detected. So, I just carry two phones
Sent from my Nexus 6P using Tapatalk
funnel71 said:
I know what you mean, my company uses good for email access and it will shut down if root is detected. So, I just carry two phones
Sent from my Nexus 6P using Tapatalk
Click to expand...
Click to collapse
I was reading over an Xposed module the other day that can hide root detection. I personally have no experience with this as I have no need to hide root. Have you tried using root masking apps or modules before?
And to the OP, no. I bought this phone specifically because its a nexus.... It was built to be rooted. Some will argue that point saying that android is so well optimized now that root isn't necessary, stock ROMs are no longer better than stock blah blah blah. Root still have amazing advantages. I say root all the way. Heisenberg wrote an amazing guide in the general section that will answer 99% of your questions about this phone when it comes to rooting and flashing. Anything else he and community will answer in the Q&A section.
Pain-N-Panic said:
I was reading over an Xposed module the other day that can hide root detection. I personally have no experience with this as I have no need to hide root. Have you tried using root masking apps or modules before?
Click to expand...
Click to collapse
Some apps *cought* Snapchat *cough* don't work even with the root hiding xposed module. For some reason, I could still use snapchat even with root, but no xposed. On my Note 4, I couldn't use snapchat unless the thing is completely stock.
funnel71 said:
That's what I have or so I thought but I can't seem to add any cards to it. It tells me my Android device isn't recognized. Do you know how to get around that
Sent from my Nexus 6P using Tapatalk
Click to expand...
Click to collapse
Once you've installed system-less root you have to remove xbin_bin folder in /su/bin if you forgot to do it when installing system-less. You also have to change the permissions of the /su/bin folder to 0751 from 0755. You can change the permissions through terminal on the phone, or with adb on the computer; you can also change the permissions with a file manager such as Root Explorer. I suggest you reboot the phone just as a precaution after making the changes.
Once you've done that you can check with one of the SafetyNet checking apps from the Play Store.
Pain-N-Panic said:
I was reading over an Xposed module the other day that can hide root detection. I personally have no experience with this as I have no need to hide root. Have you tried using root masking apps or modules before?
And to the OP, no. I bought this phone specifically because its a nexus.... It was built to be rooted. Some will argue that point saying that android is so well optimized now that root isn't necessary, stock ROMs are no longer better than stock blah blah blah. Root still have amazing advantages. I say root all the way. Heisenberg wrote an amazing guide in the general section that will answer 99% of your questions about this phone when it comes to rooting and flashing. Anything else he and community will answer in the Q&A section.
Click to expand...
Click to collapse
Xposed automatically breaks AP...no way around that.
The two reasons I don't root it are android pay and updates. I know AP is possible but it's a cat and mouse game. Updates seem easier now than in previous versions but not nearly as convenient as they are unrooted.
NCguy said:
The two reasons I don't root it are android pay and updates. I know AP is possible but it's a cat and mouse game. Updates seem easier now than in previous versions but not nearly as convenient as they are unrooted.
Click to expand...
Click to collapse
Most custom ROMs are usually updated before you get the official OTA from Google...
slaydog said:
Most custom ROMs are usually updated before you get the official OTA from Google...
Click to expand...
Click to collapse
This. Plus updating via fastboot really isnt very difficult at all. A little time consuming but that's it.
slaydog said:
Most custom ROMs are usually updated before you get the official OTA from Google...
Click to expand...
Click to collapse
The OP said root not ROM.
NCguy said:
The OP said root not ROM.
Click to expand...
Click to collapse
Yeah, I was just pointing out that if you don't like to root because it's more difficult to get updates, you may want to try a custom ROM, then you can have the benefits of root and easy updates.
Of course you'll still have the same cat and mouse game with Google in regards to Android Pay, so if you find yourself shopping without your wallet allot, you might just wanna forget the whole thing...

A way to dual boot S7 Edge to run Good for Enterprise?

Here's my situation. I have a stock rooted S7 Edge but I need to use Good for Enterprise and my employer does not allow root on their Good policy. I have toyed with trying to hide it but it doesn't seem that there is a reliable way. My only option appears to be to load another stock rom via dual boot and to run good from that.
Does anyone know if this is possible - I have searched a lot.
Also does anyone know if there's a reliable way to hide root from Good. That would really save me some hassle.
Well im not if it will work but look for old gfe version that support the xposed module that hide root from gfe. There is a thread here in xda on this.
Sent from my SM-G935F using Tapatalk
I work IT for a company that uses the new Good Work. I have tried for weeks and lost tons of sleep trying to get that crap to work. I couldn't crack it on my jailbroken iPhone and now the same for this. If you find out a way please let me know...
There may be a way to Dual boot, But it depends if the Dev adds support for our S7.
I used this on my other Galaxy series including the Note 3.
http://forum.xda-developers.com/showthread.php?t=2447534
Comedy- said:
Here's my situation. I have a stock rooted S7 Edge but I need to use Good for Enterprise and my employer does not allow root on their Good policy. I have toyed with trying to hide it but it doesn't seem that there is a reliable way. My only option appears to be to load another stock rom via dual boot and to run good from that.
Does anyone know if this is possible - I have searched a lot.
Also does anyone know if there's a reliable way to hide root from Good. That would really save me some hassle.
Click to expand...
Click to collapse
use hide my root mods and apps (especially Xposed Versions)....no app can find you are root...google it
i'm using RootCloak
I'm in a similar boat. My corporation uses Outlook 365 and an app from Microsoft called Company Portal. This app scans for root and other alterations of the system.
I'm also using RootCloak and systemless root and xposed which keeps the Company Portal app happy.
Another option that has worked for me was using systemless root and renaming the "su" binary to something else (and also uninstalling the SuperSu apk). This allows root access from the adb for things like debloating but doesn't allow root apps to work so it's more limiting.

Nexus 6P Android Pay and MODs

Hi all, I recently bought this device and am in love with it.
I really want to get into rooting and customize the heck out of it but I also really love Android Pay. I've heard of the Magisk way to root, but I was wondering how much of an effect it would have on the mods I'd want to try out.
For example, I want to somehow get DT2W working on this device, but obviously that requires root and maybe a custom recovery.
My question is, if I use Magisk will that somehow mess with my DT2W mod (or any of my other mods for that matter) when I try to use Android Pay?
TIA!
Okaham said:
Hi all, I recently bought this device and am in love with it.
I really want to get into rooting and customize the heck out of it but I also really love Android Pay. I've heard of the Magisk way to root, but I was wondering how much of an effect it would have on the mods I'd want to try out.
For example, I want to somehow get DT2W working on this device, but obviously that requires root and maybe a custom recovery.
My question is, if I use Magisk will that somehow mess with my DT2W mod (or any of my other mods for that matter) when I try to use Android Pay?
TIA!
Click to expand...
Click to collapse
Magisk is literally the flock of a switch so it should matter much about going from root to unroot. Just keep rooted and then when pay is needed, flock the switch in magisk. You can even program an NFC tag to do it for you using Tasker or other program.
Sent from my Nexus 6P using Tapatalk
Jammol said:
Magisk is literally the flock of a switch so it should matter much about going from root to unroot. Just keep rooted and then when pay is needed, flock the switch in magisk. You can even program an NFC tag to do it for you using Tasker or other program.
Sent from my Nexus 6P using Tapatalk
Click to expand...
Click to collapse
Awesome thanks! But if I installed a custom kernel, would that be able to pass through Google's SafetyNet checks?
Okaham said:
Awesome thanks! But if I installed a custom kernel, would that be able to pass through Google's SafetyNet checks?
Click to expand...
Click to collapse
Works for me with the ElementalX kernel. Obviously YMMV but it seems like it should work.
smartgid said:
Works for me with the ElementalX kernel. Obviously YMMV but it seems like it should work.
Click to expand...
Click to collapse
Thanks! So this is probably a very basic question but does this mean that SafetyNet will not be tripped if I have an unlocked boot loader?
Do you have a MasterCard? If so see if you can just use Master Pass. Im Rooted with Xposed and it works on there.
krolla03 said:
Do you have a MasterCard? If so see if you can just use Master Pass. Im Rooted with Xposed and it works on there.
Click to expand...
Click to collapse
Just checked out master pass. Unfortunately it only supports a few banks and none of the major ones.
Sent from my Nexus 6P using XDA-Developers mobile app
Okaham said:
Thanks! So this is probably a very basic question but does this mean that SafetyNet will not be tripped if I have an unlocked boot loader?
Click to expand...
Click to collapse
It shouldn't as long as you turn off root using Magisk before using Android Pay. I've opened Android Pay a couple times by accident while root enabled and it would automatically delete my credit card.

Brand new Mate 9 not even switched on...what tips/things to do first and then rooting

Just purchased a brand new Mate 9 from Best Buy in the USA. First Huawei device.
Held the Mate 9, Galaxy 8 and Galaxy 8+ in my hands and didn't like the feel of the Galaxy 8 handsets.
Before I even switch it on, I wanted to ask the regulars here what they suggest are the first things to do beforehand as I want to root it and install TWRP and Magisk.
After reading in the Mate 9 forum there are different posts about rooting, patching and other things (e.g. people bricking their device) in regards to tweaking this device, so I wanted to know for sure what the correct procedure is to root, install TWRP and Magisk.
I have watched the two videos shown here for tips so anything else that is helpful would be appreciated.
I would honestly not root for a while so that you can get a proper feel of the device as it was meant to be experienced. Just my 2 cents.
:good:
Sent from my MHA-L29 using XDA Labs
Governa said:
I would honestly not root for a while so that you can get a proper feel of the device as it was meant to be experienced. Just my 2 cents.
:good:
Sent from my MHA-L29 using XDA Labs
Click to expand...
Click to collapse
Gotta agree with this. I've had mine for almost two months and it's so good I've never felt the need to root. But I'd say do lots of reading around first and get a feel for the stock is in the mean time.
Sent from my MHA-L29 using Tapatalk
Thank you for the suggestions. I don't want to set up the phone and then find I have to do a factory-reset when I can get it all done in one go.
I really hate all the ads (using AdAway on current Nexus 6) and like the ability to restrict apps usage e.g. stop location or mobile identification, so use LBE, thus the reason wanting to root and install TWRP. Having image backups has been amazingly helpful over the years.
and now that Magisk is doing an amazing job, I can have all the rooted tweaks and still have Android Pay working.
Root - yes
Adaway and other system tweaks - yes (with extra experience - to get system read/write)
Magisk - no
5[Strogino] said:
Root - yes
Adaway and other system tweaks - yes (with extra experience - to get system read/write)
Magisk - no
Click to expand...
Click to collapse
Are you meaning I can have AdAway or some other ad blocking without needing root or do I need root for any successful blocking of ads...?
One other reason for rooting is Titanium Backup...my go-to app for keeping older copies of apps so I can revert to them when needed.
IconBoy said:
Are you meaning I can have AdAway or some other ad blocking without needing root or do I need root for any successful blocking of ads...?
One other reason for rooting is Titanium Backup...my go-to app for keeping older copies of apps so I can revert to them when needed.
Click to expand...
Click to collapse
No.
I told that if you want to customize system (Some functions in TB and Adaway do it), so you must have root and additionally turn dm-verity off.
Just root = simple functional.
P.s. One of Adaway can work without root
I have an ad blocker and I'm not rooted.
Search xda for netpatch firewall. Working for me here.
Only ads it doesn't block for me is YouTube but I can live with that
Bit late to the conversation but I have to say I've rooted every phone I've had except this one, and I have to say I'm pleasantly surprised. I'm in favour of leaving this phone as it is.
Sent from my MHA-L29 using XDA-Developers Legacy app
I don't think Magisk works on the Mate 9.
https://forum.xda-developers.com/apps/magisk/install-magisk-huawei-mate-9-t3540310
With all these newer options of getting root e.g. systemless root, is it possible to do this on the HM9?
I'm new to Huawei and would like the OTA updates.
IconBoy said:
With all these newer options of getting root e.g. systemless root, is it possible to do this on the HM9?
I'm new to Huawei and would like the OTA updates.
Click to expand...
Click to collapse
Systemless root works fine but you have to flash the stock recovery each time you want to OTA.
Sent from my MHA-L29 using Tapatalk
Thanks very much for the update.
Am I understanding this correctly, that systemless root is better than the SuperSU and other old-school/typical root options...?
Also, if I go with systemless root, then Android Pay and other banking apps (here's looking at you Barclays!) won't work because they would need Magisk to get them working...? (Weighing up my options here about whether I root or not as I really like the convenience of Android Pay and using banking apps but truly dislike the ads and how apps connect to internet when not needed to. Also, some of the users here have said they're enjoying not being rooted. Sigh...first-world problems).
IconBoy said:
Thanks very much for the update.
Am I understanding this correctly, that systemless root is better than the SuperSU and other old-school/typical root options...?
Also, if I go with systemless root, then Android Pay and other banking apps (here's looking at you Barclays!) won't work because they would need Magisk to get them working...? (Weighing up my options here about whether I root or not as I really like the convenience of Android Pay and using banking apps but truly dislike the ads and how apps connect to internet when not needed to. Also, some of the users here have said they're enjoying not being rooted. Sigh...first-world problems).
Click to expand...
Click to collapse
Yeah, if you root you won't be able to use Android Pay or anything that calls SafetyNet. Actually, it won't work either if you unlock bootloader.
I'll chime in here too
I've rooted and modded every phone I have had in my life, (more than 20 years) and this is the first phone I have had NO DESIRE at all to root..
Like the others here have said, this phone is fantastic stock, and I cant see ever wanting to root it
Another one to add. This is the first android phone i have no desire to root. Love it as it is. Really great.
are we all getting old that's why we don't wanna root anymore for cheats/sixaxis, etc...? this is also my first android phone (mate 9 pro) that i didn't root.
well, yeah, we are all getting old, but I dont think thats why we dont want to root this thing; I think that it already does most of the things as stock that we usually root a phone to get..
Mate 9 pro here too, and its truly an awesum phone...too bad its not "officially" sold in the USA, as it would be super popular..
Tuffcheez said:
Bit late to the conversation but I have to say I've rooted every phone I've had except this one, and I have to say I'm pleasantly surprised. I'm in favour of leaving this phone as it is.
Sent from my MHA-L29 using XDA-Developers Legacy app
Click to expand...
Click to collapse
Same here and Happy....
+ root M9 is really challenging depending on your firmware

Categories

Resources