yashsingh1/xdaforums huggingface dataset:
[Google Pixel XL Guides, News, & Discussion] mims1979:
It's not actually magisk. I started fresh and had it just freeze at white screen after SuperSU flash so I decided to just run it stock for a bit mainly because I'm sick of messing it it today, but I have latest TWRP and Franco kernel and it's still doing it. Maybe I'll try another kernel or go back to stock kernel for a bit to see if it's still freezing up. Judging by the filesizes, I believe the old files are exactly the same so I'm going to assume they will work fine if when I get back to it. Sorry about your pixel!

---------- Post added at 11:06 PM ---------- Previous post was at 10:23 PM ----------

I think you might have nailed it. I jumped over to the franco thread, I'm not the only one, looks like most people with latest kernels are experiencing the same issue. Gonna jump over to ElementalX and see how it goes there. Thanks for the hint!
[Google Pixel XL Guides, News, & Discussion] pcriz:
Part of the problem is the app on the S3 itself. You pretty much have to factory reset and side load an older version. Then prevent it from updating before you add your cards and use it once. Pain in the arse
[Google Pixel XL Guides, News, & Discussion] Amaze209:
I searched the thread and didn't see it anywhere. Has anyone tried the patched files on 7.1.2? Or are there any patched files?
[Google Pixel XL Guides, News, & Discussion] pcriz:
Do you mean for magisk hide?
[Google Pixel XL Guides, News, & Discussion] Amaze209:
Sorry should have elaborated more. I am asking about the patched lib files that the op creates.
[Google Pixel XL Guides, News, & Discussion] stippLe:
Do u happen to have the older version link
[Google Pixel XL Guides, News, & Discussion] coolhandz:
Check out this thread here.
[Google Pixel XL Guides, News, & Discussion] mims1979:
Files seem to be the same, you should be able to use what is already created. Just back to old files first.
[Google Pixel XL Guides, News, & Discussion] anuraj1:
I don't know why I waited so long to try Magisk on my Pixel XL. It is awesome and I had forgotten how nice it was to use the apps that are blocked by root. In fact, the day after I started using Magisk, I went to pick dinner up for my wife and I and I forgot my wallet. Android Pay saved the day.

I was on 7.1.2 stock, rooted with TWRP.

I simply reflashed 7.1.2 with the "-w" removed from flash-all in order to unroot, and then followed the instructions here (Modified version of 420SYN's instructions):

Fastboot boot TWRP RC1 img

Flashed TRWP RC2

Reboot Recovery

Flash ElementalX kernel (a custom kernel is required for Magisk to work, and EX works)

Flash TWRP RC2

Reboot System

Reboot Recovery

Flash Magisk (version 12.0 for Pixel, located here: https://drive.google.com/file/d/0B1xZ4VKT4JKZUFhVUlk0enhBVFk/view)

Flash TWRP RC2

Reboot System

Enabled Magisk Hide

Reboot System

Tested and Passed root check and Safetynet
[Google Pixel XL Guides, News, & Discussion] xocomaox:
It is very nice.

Just a point of information. You don't have to flash TWRP after flashing a kernel. Just whenever you flash a custom firmware or Magisk, because these break the recovery. It doesn't hurt, but it's also not needed.
[Google Pixel XL Guides, News, & Discussion] Fenny:
It is my understanding that TWRP patched the kernel binary to ignore the boot flag in order to allow the init binary to handle it instead, and some kernel devs just handle this case in their install script. Technically, if you overwrite the kernel binary after flashing TWRP, you will end up with a kernel that boots the system image directly instead of the initramfs in the boot image. In most cases you won't notice it unless something is relying on the initramfs to start at boot (I.E. Root).

But, also, you're right since he flashes TWRP again after magisk, so the kernel image gets patched either way.
[Google Pixel XL Guides, News, & Discussion] Salithox:
Hi everyone.

I have a quick question. I saw it was mentioned a few pages back (about using ADB or the recovery terminal), but setting R/W permissions for folders files etc.... How can we do this with making it stick? I have not tried with ADB yet, but I was under the impression that it would reset on reboot (I might be misunderstanding it) and i'd have to redo the permissions again.

My overall goal is to make an app i use (Freps) work correctly again. I worked fine with just SuperSU flashed. Once I flashed Magisk i noticed everything was good for all my other apps, things passed the SN and ROOT checks etc. Then I went to record a Macro and no screenshots were taken. The only thing I came up with is its a permissions problem.

I'm sorry if this is incorrect to be in this thread and if you'd like me to remove the post I gladly will. Thanks in advance for all the help and amazing product.
[Google Pixel XL Guides, News, & Discussion] hippy dave:
Just saying thanks for the guide in the op, I managed to follow it to patch the lib for my Yotaphone 2 (first patch was easy to find, second was a little harder to pin down as it was split into two places with a jump). Got Xposed & SafetyNet/Android Pay all working in harmony.
[Google Pixel XL Guides, News, & Discussion] DodoGTA:
Without RootSwitch?

Edit: What did you do to pass SafetyNet with Xposed?
[Google Pixel XL Guides, News, & Discussion] hippy dave:
Yes without RootSwitch. I just patched the library as in the op, and used suhide v0.55 and systemless xposed version 86.2 from the suhide thread. Yotaphone 2 is still on Marshmallow, that might make a difference?
[Google Pixel XL Guides, News, & Discussion] DIXES:
Thanks a lot.

I tried it on Asus Zenfone 3 Deluxe / ASUS_Z016D running stock firmware Android 7.0.

I use suhide 0.55 for hiding Xposed Framework.
[Google Pixel XL Guides, News, & Discussion] SimplyCity:
:( it seems that is not my time this time... Thank you anyway

Echoe™ team member / S7E
[Google Pixel XL Guides, News, & Discussion] docluv01:
Has anyone gotten this to work with Android Pay on the XL?
[Google Pixel XL Guides, News, & Discussion] JAYNO20:
Since I have not a clue how to use that application to check these files, would you be able to patch my stock files if I upload them and send them to you?
[Google Pixel XL Guides, News, & Discussion] sd_matto:
Tried doing this manually per the "Basic process is: Replace modded files in system, fix permissions, flash suhide" instructions, and could not get it to work (there was a soft reboot bootloop).

I love your TetherMod, so I am looking forward to reading your write-up on how to get this done.

Thanks for your great work!
[Google Pixel XL Guides, News, & Discussion] Zavon:
Yes. I have the patched files and rootswitch installed and android pay works for me.
[Google Pixel XL Guides, News, & Discussion] psychatog64:
Can't wait for the write up currently unrooted because of pogo lol wanted to play again after recent update so Def can't wait to get this up and running but just not confident without a write up lol

---------- Post added at 11:08 PM ---------- Previous post was at 11:06 PM ----------

Since 0 build is one of the files in the OP what do I have to do to get this working?
[Google Pixel XL Guides, News, & Discussion] yearn2burn:
I tried Android pay fully stock except unlocked bootloader and that alone was enough to cause Android Pay to fail. Did you lock the bootloader? Or can that be hidden too?
[Google Pixel XL Guides, News, & Discussion] JAYNO20:
Modified kernels hide an unlocked bootloader (assuming it patches safetynet)
[Google Pixel XL Guides, News, & Discussion] docluv01:
Forgive me....I know you are workign on the write up....

But to get started, is it safe to assume all you need to do is replace the lib files, and flash suhide in TWRP? Is there a particular version?

TIA!!!!
[Google Pixel XL Guides, News, & Discussion] funkydude101:
Great! Looking forward to the write-up. I'm rooted currently on stock with twrp (non-systemless). I would love to get Android Pay working again.
[Google Pixel XL Guides, News, & Discussion] Fenny:
Writeup is half done.

Replace lib files, make sure they are rw-r--r-- (644).

Latest suhide is fine as of this writing.

You need a patched kernel to hide bootloader flags to be able to use android pay.

You will need to use rootswitch or similar to move su files outside of path.

Don't forget to add the apps you intend to use to suhide. (You can use the unofficial GUI for this)
[Google Pixel XL Guides, News, & Discussion] Ker~Man:
A couple questions...

Do you know if Dirty Unicorns built-in kernel is patched, as needed? And...

What settings is RootSwitch need to be toggled?

Thanks again, bud...
[Google Pixel XL Guides, News, & Discussion] Ker~Man:
Any response? Anybody?
[Google Pixel XL Guides, News, & Discussion] joey827:
So just to get this straight through my thick skull, the implications of this are Android pay with root and other modifications?
[Google Pixel XL Guides, News, & Discussion] Fenny:
I don't know if it is or not.

The only setting required is the main hide root toggle.

Noop.

Yep, and various other things that try to detect root.
[Google Pixel XL Guides, News, & Discussion] Souler19:
Can anyone who has this working confirm that they have root and pokemon go co-existing?
[Google Pixel XL Guides, News, & Discussion] Fenny:
I can confirm it. Rootswitch is required, though it is interesting that PoGo doesn't seem to care about the bootloader flag.
[Google Pixel XL Guides, News, & Discussion] Juzman:
So, I can just download: libandroid_runtime_pixelxl_NMF26Q.tar then use adb to push them to the phone and set perms on stock 7.1.1 rooted?
[Google Pixel XL Guides, News, & Discussion] Juzman:
I get the same, tried suhide 0.55 - stuck on dots.

Flashed suhide-rm and boots back up fine.
[Google Pixel XL Guides, News, & Discussion] Fenny:
That Is the version I am on right now. Try the attached.
[Google Pixel XL Guides, News, & Discussion] Juzman:
Is this different than the one in the OP? The phone boots fine when I replace the files and set permissions.

Just soon as I flash suhide it just gets stuck on the dots animation.
[Google Pixel XL Guides, News, & Discussion] Fenny:
I grabbed the files that I had live and working on my device. I reuploaded them directly from my phone on the off chance that the version I uploaded before was not properly patched.

If those files don't work, grab a log from chainfire's liveboot, and I can take a look.
[Google Pixel XL Guides, News, & Discussion] sd_matto:
What is the version of su-hide we are supposed to be using? Right now, "latest" I see is 0.55. Thanks
[Google Pixel XL Guides, News, & Discussion] Fenny:
That is what I am using.
[Google Pixel XL Guides, News, & Discussion] psychatog64:
So I download the files for o build since that's what I'm on how do I change them after that? Or swap them out
[Google Pixel XL Guides, News, & Discussion] Fenny:
You can download the patched files and use them to replace your stock versions. Eventually I will create a release thread in the correct forum for this mod with a flashable installer, but for now I want to document the actual patches so I am not the only one who can do it in the future.
[Google Pixel XL Guides, News, & Discussion] psychatog64:
OK so I just download them and move them around with like a root explorer app?
[Google Pixel XL Guides, News, & Discussion] Fenny:
I would not suggest replacing them while booted. It would be best to do it in TWRP.

Don't forget to make a backup.
[Google Pixel XL Guides, News, & Discussion] Fenny:
You can use ADB, the built-in file manager, or the TWRP command line to replace the files. If you do it while booted in normal mode, you will likely crash halfway through the process, and have to fix it in recovery anyway.

If that sounds like too much to you, you can wait until I get a flashable zip made up.
[Google Pixel XL Guides, News, & Discussion] psychatog64:
I've used adb alot recently especially with the pixel I just don't know all the commands for adb if I know what I have to type in adb then that will be fine like what command then the line of code that I'm pushing

---------- Post added 21st December 2016 at 12:18 AM ---------- Previous post was 20th December 2016 at 11:48 PM ----------

So I guess it's not adb push libandroid_runtime.so /system/lib ?
[Google Pixel XL Guides, News, & Discussion] Fenny:
Easiest way is to boot to recovery and mount system as r/w using the menus.

Then:

adb push lib64\libandroid_runtime.so /system/system/lib64/libandroid_runtime.so
adb push lib\libandroid_runtime.so /system/system/lib/libandroid_runtime.so

After that, just double check that both files are owned by root, and mode 644 rw-r--r--
[Google Pixel XL Guides, News, & Discussion] psychatog64:
do i have to extract the files after i download them onto the phone any where or just leave as is

---------- Post added at 07:31 PM ---------- Previous post was at 07:19 PM ----------

idk whats wrong starting to piss me off im in recovery hit mount option selected system then back out to advanced then terminal meanwhile download of your files is in my download folder on phone so that saide i try adb push and the files says adb not found so idk
[Google Pixel XL Guides, News, & Discussion] psychatog64:
OK my head was all over the place earlier with this and the TWRP steps so where you basically saying to mount the system then run those commands from adb on the computer which if that's the case I would download the file in the OP extract it and place them in my adb directory then after they push use the file manage in TWRP to set permissions?
[Google Pixel XL Guides, News, & Discussion] Juzman:
Extracted these, booting into TWRP RC1. Used ADB to push the files to appropriate folders. Then used TWRP file manager to chmod 644 the files.

After this, flashed suhide, and it booted!
[Google Pixel XL Guides, News, & Discussion] psychatog64:
yea figured it out but forgot i unrooted again earlier and then figured it out but wasnt rooted and now cant get root so gotta start all over but at least i know what to do now lol also do you have a link to a rootswitcher app?
[Google Pixel XL Guides, News, & Discussion] Fenny:
Yes

Thanks, link in OP updated.
[Google Pixel XL Guides, News, & Discussion] JAYNO20:
Anyone tried this yet with the 5" Pixel?
[Google Pixel XL Guides, News, & Discussion] Drashnar:
Ok, please forgive a newb's ignorance. I've never used suhide before. I'm currently on an bootloader unlocked and rooted Verizon Pixel XL. I do not currently have TWRP loaded. I have not flashed a different kernel or anything else. Strait stock root.

1) Is TWRP required for suhide to work?

2) Do I need a different kernel for suhide to work?

3) Is there a clearly defined, step by step on how I would take my phone and get suhide setup?

I'm just trying to learn the full process at this point so I understand what needs to happen and I don't mess up my phone before I've had it for 2 weeks. Thanks!
[Google Pixel XL Guides, News, & Discussion] JAYNO20:
All of these questions have already been answered in this thread. Read through the whole thread.
[Google Pixel XL Guides, News, & Discussion] cam30era:
Glad you got it figured out. :svetius:
[Google Pixel XL Guides, News, & Discussion] psychatog64:
What root switcher app is everyone using ?
[Google Pixel XL Guides, News, & Discussion] Fenny:
https://www.asus.com/zentalk/tw/forum.php?mod=redirect&goto=findpost&pid=962740&ptid=173542
[Google Pixel XL Guides, News, & Discussion] Fenny:
Only with 7.1.1+

Problem:

UI prompts to allow new or updated root apps do not display when suhide is enabled.

Cause:

This appears to be a bug in the way suhide works on 7.1.1.

7.1 is not affected.

Workarounds:

Method 1 (reboot required):

Move the 05suhide script out of /su/su.d/ and reboot.

Run the root apps you want to grant permissions to, and grant access.

Reenable suhide by moving your 05suhide script back into /su/su.d/ and rebooting.

Method 2 (Not Secure, but works in a pinch):

Set the default mode to "Grant" in supersu.

This method will NOT add the app to your allow list.
[Google Pixel XL Guides, News, & Discussion] JAYNO20:
I can get both patched lib files to flash and change them to 644 but when I flash suhide it won't boot. It WILL boot with the patched lib files flashed, just won't boot if suhide is flashed.
[Google Pixel XL Guides, News, & Discussion] Fenny:
Can you get a log from chainfire's liveboot?

If you are on Q, re-download from the OP.
[Google Pixel XL Guides, News, & Discussion] psychatog64:
is suhide a app by itself if so everytime i flash it the flash goes through but suhide is no where to be found im on 7.1.1 nmf260
[Google Pixel XL Guides, News, & Discussion] Fenny:
No, suhide is not an app. You can download a GUI interface for the command line tools from the playstore.
[Google Pixel XL Guides, News, & Discussion] psychatog64:
any app in particular that you would suggest

---------- Post added at 03:52 PM ---------- Previous post was at 03:38 PM ----------

downloaded suhide gui just sits at checking su and loading packages does nothing else sigh

---------- Post added at 04:01 PM ---------- Previous post was at 03:52 PM ----------

f it i give up gui app wont work and the rootswitch link you gave downloaded it went into twrp to flash twrp out puts failed wrong file type or something like that
[Google Pixel XL Guides, News, & Discussion] JAYNO20:
The rootswitch is an APK, it doesn't get flashed.
[Google Pixel XL Guides, News, & Discussion] psychatog64:
Sigh saw it say it was a .zip so figured it got flashed sigh
[Google Pixel XL Guides, News, & Discussion] johnhazelwood:
I'm assuming the files are the same across devices. Will this work on a Nexus 6p?
[Google Pixel XL Guides, News, & Discussion] psychatog64:
OK then so last issue I was having a GUI app the one I downloaded suhide GUI just sat there loading packages and checking sure never made it any further are you using something else?
[Google Pixel XL Guides, News, & Discussion] JAYNO20:
Mine did the same thing so I force closed it and reopened it then it was fine.

---------- Post added at 04:39 PM ---------- Previous post was at 04:38 PM ----------

This was it. Needed to redownload Q from OP then it booted with suhide flashed. Everything worked, but Android Pay is still not working... Is there any reason why? I have the elemental kernel installed as well to patch safetynet bootloader checks.
[Google Pixel XL Guides, News, & Discussion] Fenny:
You need to add both Android pay and the back end android services that Android pay relies on to the suhide PID list.
[Google Pixel XL Guides, News, & Discussion] JAYNO20:
Interesting. I opened root switcher and set it to "disabled" and now Android Pay is working.. :confused:

I thought enabled meant it was actively hiding root...?
[Google Pixel XL Guides, News, & Discussion] Fenny:
Oh, yes if su is in $PATH at all, safetynet fails.

RootSwitch disables root by remounting /data/su.img to another mount point that is not in path like /su/bin/su is.
[Google Pixel XL Guides, News, & Discussion] JAYNO20:
So Root Switcher should be set to "disabled" in order to work?
[Google Pixel XL Guides, News, & Discussion] Fenny:
Either set the default in SuperSU to "grant", or boot with suhide disabled at least once so that you can allow it in SuperSU.

Yes, think of it as root being disabled.
[Google Pixel XL Guides, News, & Discussion] JAYNO20:
Yeah I literally just got it after I made that post lol. With that being said I can confirm this works on the 5" Pixel device as well. This is NOT limited to just the XL.
[Google Pixel XL Guides, News, & Discussion] Fenny:
Thanks for reporting this problem. I've added that to the issues list. I'll be sure to try to break compatibility in the future. :svetius:
[Google Pixel XL Guides, News, & Discussion] JAYNO20:
:highfive:
[Google Pixel XL Guides, News, & Discussion] psychatog64:
finally got it all working and pogo does work all that is needed now is xposed and mock mock location and ill be super happy lol o wait since root has to be toggled off would gps spoofing even work any more since xposed and its modules need root?
[Google Pixel XL Guides, News, & Discussion] josephcsible:
Most Xposed modules don't actually need root to function once Xposed is installed, so you don't need to worry about that. There's two bigger issues that you do need to worry about, though: Xposed for Nougat doesn't exist at all yet (and the Pixels only have Nougat), and there's currently not a working way to have Xposed active and SafetyNet passing at the same time (though I still hope to get my solution for this fixed again).
[Google Pixel XL Guides, News, & Discussion] psychatog64:
Yea I know Xposed isn't available yet which sucks but for time being fly GPS is seeming to do the job just fine in Pokemon go and poke alert still works so 2 combined with disable service app to disable fused location for random warps on map works pretty good for now little glitchy but I was just in central park catching Pokemon lol
[Google Pixel XL Guides, News, & Discussion] Fenny:
Really want to cheat at Pokemon go? Just patch the location service to always report that mock locations are off.
[Google Pixel XL Guides, News, & Discussion] psychatog64:
How is this done and what does that actually do I always thought you need the mock mock location module cause when you select the mock location setting in android game would detect it but with this fly GPS app game doesn't detect anything about mock locations yet it works
[Google Pixel XL Guides, News, & Discussion] laxattack:
just wanted to say thank you, pretty easy to figure out after the download!
[Google Pixel XL Guides, News, & Discussion] psychatog64:
Issue moved this file to root folder main folder basically rebooted prompts worked went back into root explorer app to put it back and it was gone how can I get this back

---------- Post added at 04:21 AM ---------- Previous post was at 04:16 AM ----------

Nvm just flashed suhide again and it's back in su/su.d that was weird script file just vanished after the reboot scared me for a second
[Google Pixel XL Guides, News, & Discussion] Ker~Man:
Anybody using Dirty Unicorns and has this working?
[Google Pixel XL Guides, News, & Discussion] Fenny:
If dirty unicorns is source built, ask the dev to revert the commit in the OP.

With supersu, the root filesystem is an initramfs, meaning it is a volatile filesystem that only exists in ram. Normally, it is only used in recovery on the Pixel, but with supersu installed it is also used to boot normal mode. The filesystem contents are loaded from the initfs in your boot image on each boot. Things you put there go *poof* upon reboot.
[Google Pixel XL Guides, News, & Discussion] fw85:
I'm not as experienced in this as many of you guys, but I believe I understand how I'd go about applying this little patch.

Just one question though (sorry if someone has answered this before, I tried to read all pages, didn't find it) - is this workaround exclusive to Nexus phones, or are the binaries same across all devices?
[Google Pixel XL Guides, News, & Discussion] Fenny:
Other vendors can do whatever they want with their framework code. The patches should be mainly the same between them, but there is always the possibility of one or another customizing it beyond recognition (I'm looking at you Samsung).
[Google Pixel XL Guides, News, & Discussion] docluv01:
Hmm, can you tell me which services in addition to android pay?

I'm running EX kernel, I mounted system in twrp, updated lib files via adb, chmod 644 both files, rebooted, booted twrp, flashed suhide, reboted, installed the suhide gui, added android pay and android services library, rebooted, disabled root vit rotswitch, launched android pay, but when I add a card I get the root msg.

Thanks