These are the steps that I took to finally get systemless root and xposed. Android pay works now. I thought I would share this. It took me over 5 days of many many wipes and restores. I will also discuss some of my phone quirks in here. The reason why I am discussing these quirks is to explain that every phone is very very unique and if people do not have enough experience, they will end up with very different results
Standard disclaimer: Not responsible for anything that goes wrong with your phone
I also would consider this to be moderate difficulty, its not really for beginners due to multiple pre reqs and terminology
I would consider this very early beta at best, sometimes xposed does not stick, so far I think I finally figured out how to make it stick with every reboot.
I- My phone:
I have V10_H901_V20J_Stock_Custom_2e-signed , so obviously I had to go through the pain of understanding that thread. If your phone is already on that rom , then you must have TWRP in place by now. That of course is a prerequisite.
II- Visit the following threads, Credit goes to all the developers there, I am merely putting it as a write up.
A- This is the main thread, honestly, didn't love the instructions there, hence why I am doing this.
http://forum.xda-developers.com/android/software/mod-magisk-v1-universal-systemless-t3432382
you will need to download the following from that thread ( but I put in the links to the right files)
There is no need to place in any specific folder, I usually put every thing on my external SD
1- Magisk: http://forum.xda-developers.com/devdb/project/dl/?id=19960&task=get
Place it anywhere you can easily access it.
Edit added 09/11/11: magisk controller app : http://forum.xda-developers.com/devdb/project/dl/?id=19924&task=get
2- PHH systemless SU: http://forum.xda-developers.com/attachment.php?attachmentid=3847928&stc=1&d=1471642336
PHH super user app to work with systemless root :
https://play.google.com/store/apps/details?id=me.phh.superuser
B: Xposed systemless thread: here is the main thread
http://forum.xda-developers.com/xposed/unofficial-systemless-xposed-t3388268
1- Download Systemless xposed: xposed-v86.5-sdk23-topjohnwu.zip form : http://forum.xda-developers.com/attachment.php?attachmentid=3847909&d=1471640756
2- download the xposed material design app to control xposed:
http://forum.xda-developers.com/devdb/project/dl/?id=19668&task=get
Steps - This is what worked best for me, I have heard numerous times on the v10 stock rom thread that our roms come in with systemless root. I can never get that to work systemless. If you know a better way, feel free to share the knowledge.
1- Back up ! use TWRP, Here is quirk number one from my very special phone: TWRP restores fail if the phone is hot. They do not restore properly. Do what you need to do to keep your phone cool if you need to restore. I have tested this about 5-8 times in the past 3 days. If my phone is pre-cooled ( use your imagination ), it restores 100 % without missing apps or errors. If it gets hot, then I get app crashes, errors, and all sorts of corruption.
2- Uninstall xposed if you have it running on your device - THIS IS A MUST make sure you use the official uninstaller that came with your xposed version
3- unroot your phone. use SuperSU app to unroot your phone: Do restore the system boot when prompted, do NOT restore original recovery, you need twrp obviously.
4- Boot into recovery manually: Now I feel like this is most confusing part about LG phones, and its never really well written:
Power down the phone
hold the volume down
with the volume down being held ( do not let go) , press the power button, until the LG logo appears, as soon as that happens, let go for 1/2 second then press the power button again ( this whole time the volume down button should be pressed ). You will get two prompts of warning, if you are successful, about the device being erased, it will not get erased You will simply just boot into TWRP
5- Flash the following in order , do not queue, TWRP is finicky at best for our phones , never queue
- Magisk from step A - 1
-phh super user A - 2
6- reboot phone. Your phone is now systemless rooted, the root can be turned on/off on demand.
You will find magisk app on your phone, do not start , it will simply crash
you will need to install the PHH super user app from step A- 2 , this is a simple apk from the play store.
then you can mess with magisk if you would like, I will explain it's options later
7- Uninstall whatever xposed controlled app you used to have, install the material design xposed app controller from B-2
8- now that you have root, reboot to recovery, using whatever app you use to simple reboot into recovery (quirk alert: I can never find a way to include reboot to recovery from the power menu, no matter what mods I have)
9- flash systemless xposed from B -1 . wipe dalvik/cache 3 x , wait for your phone for 500 years to boot up
10- you are now systemless. go into the xposed app and check all the modules to re-enable them
11- VERY VERY IMPORTANT: xposed does NOT stick with simple reboots, soft reboot, or recovery reboot.
09/25/16 : update. Xposed now trips safety net. Even if it's systemless. Some reports also say Magisk will trip it. Sorry but this guide is now obsolete.
Great guide works perfect!!!
I'm running this systemless train [powered by magisk] really smooth. I'm running rooted stock MM with no issues at all. I can reboot with G4tweakbox mod, Xposed sticks every time and is very stable.
This probably has been asked and answered a thousand times, but since we can unlock the bootloader can't we just flash TWRP after that and than do these Step?
No
johnwayne007 said:
This probably has been asked and answered a thousand times, but since we can unlock the bootloader can't we just flash TWRP after that and than do these Step?
Click to expand...
Click to collapse
Not really
Here are the problems we faced with MM onwards
1- LG disabled the flash commands with MM, even though its is an unlocked bootloader. Hence why you have other threads with instructions on how to circumvent the good old fastboot flash commands.
2- TWRP needs compatibility with the v20J update. I am not sure if we have any devs working on that
So we are in an appleisk like situation with the newest update. No dev = no further progress, unless you want to loose root and recovery . You have the wonderful people here at XDA to thank for that, who constantly b**** at developers for that.
I Have tons of bugs on marshmallow , but I refuse to update until this situation is fixed. Next phone is nexus. I am so tired of all this BS with all the other manufacturers.
jmichaels1982 said:
11- VERY VERY IMPORTANT: xposed does NOT stick with simple reboots, soft reboot, or recovery reboot.
You need to power down your phone fully. Then power up . That is my personal experience. and I have tried it over 5 times and now it sticks with every boot.
Click to expand...
Click to collapse
just wondering if you could elaborate on Xposed not "sticking"?
dimm0k said:
just wondering if you could elaborate on Xposed not "sticking"?
Click to expand...
Click to collapse
It will say in the xposed app that xposed is installed but not active.
Sent from my LG-H901 using Tapatalk
jmichaels1982 said:
It will say in the xposed app that xposed is installed but not active.
Click to expand...
Click to collapse
Are you using the layers app with hydra installed? Removing it might help you out. Once I did that I had no issues keeping Xposed to stick and may be a bug with v3
This was very well written and easy to follow. Systemless root and xposed are running perfectly! Thank you
Can someone provide me an alternative link for PHH systemless su? OP link not working for me
apologies
Sippi4x4man said:
Can someone provide me an alternative link for PHH systemless su? OP link not working for me
Click to expand...
Click to collapse
Sorry man , I fixed all the links.
I feel like an idiot....I've been trying this for 2 days and no success. Used KDZ to get to bone stock J build, then used the .tot updrade to get TWRP and rebooted, now I have an unrooted stock rom with twrp. I adb reboot into recovery and successfully flash magisk and then successfully flash phh superuser but after I reboot I don't have root.....Can anyone assist?
EDIT: Nevermind.....apparently I was flashing Magisk v3 and not v6...not sure how that happened. I rebooted into TWRP, flashed magisk v6 and then phh superuser and I now have root.
Thank you for the guide.
Sippi4x4man said:
Can someone provide me an alternative link for PHH systemless su? OP link not working for me
Click to expand...
Click to collapse
Trying opening the link outside of xda labs app. I loaded the link in Firefox and now it downloads properly
Can some one provide me an explanation of what it means to have a systemless setup and the benefits of that!?
I installed as you instructed and It mostly works great. Thank you. May I ask what settings you use for Viper4Android (External Speakers)? I am not sure on how to get it working. I installed the systemless version you posted. I am also using the same ROM you are. However when I enable Viper4Android, I notice no difference whatsoever in the sound of my external speakers... Just playing an mp3 via Google play music. Any info would be greatly appreciated. Thank you.
Blur
For the life of me I can not get this working with the systemless xposed installed. With just root everything is fine. As soon as I install xposed it immediately fails. I tried the newest version and the version linked in the directions. Viper also works fine. Just not xposed.
nookie1916 said:
For the life of me I can not get this working with the systemless xposed installed. With just root everything is fine. As soon as I install xposed it immediately fails. I tried the newest version and the version linked in the directions. Viper also works fine. Just not xposed.
Click to expand...
Click to collapse
OK so this is redundant,so I apologize in advance. But
1- you can not install xposed over the same version without creating problems. You can only go up in versions when installing. Not sure why but this is my personal experience.
2- when all else fails, uninstalling magisk and xposed and re install. If still fails then delete your system partition and restore an older back up (hopefully you did back up). From there repeat the process. Always start with fresh files if it pertains to your problem. Meaning, Re-download xposed systemless.
Good luck
Sent from my LG-H901 using Tapatalk
jmichaels1982 said:
OK so this is redundant,so I apologize in advance. But
1- you can not install xposed over the same version without creating problems. You can only go up in versions when installing. Not sure why but this is my personal experience.
2- when all else fails, uninstalling magisk and xposed and re install. If still fails then delete your system partition and restore an older back up (hopefully you did back up). From there repeat the process. Always start with fresh files if it pertains to your problem. Meaning, Re-download xposed systemless.
Good luck
Sent from my LG-H901 using Tapatalk
Click to expand...
Click to collapse
Actually found out Google updated safenet the other night where it stopped working with xposed installed with magisk. Without xposed everything still passes. Had to use the other method of not using magisk and using suhide and that method still works with everything.
jmichaels1982 said:
I Have tons of bugs on marshmallow , but I refuse to update until this situation is fixed. Next phone is nexus. I am so tired of all this BS with all the other manufacturers.
Click to expand...
Click to collapse
It'll have to be a Nexus 6p, or older because the Pixel phones will supposedly have locked bootloader.
Thanks for the great step-by-step directions!!! Had been reading all of these related threads trying to make sure I knew what order to do everything. Followed the steps as written. Checked when I got root, before installing xposed, and SafetyNet showed green. Installed xposed and rebooted - only issue I had here was when it finished updating apps and got back to my home screen - all of my app shortcuts on all screens were gone, including the bottom line. The widgets I had previously were still there. So it just took a few minutes to re-do all my screens - not that big a deal to get all this done!
But then I had the same problem as nookie1916, SafetyNet and Android Pay would not work now. So I tried turning off the xposed framework and rebooting, and that worked - SafetyNet showed green again and I was able to load my Chase Visa onto Android Pay. Then turned xposed back on and rebooted.
So it's not quite the way I wanted it - but I use xposed features much more than I need Android Pay.
Thanks for your help!!!!!
Snapchat doesn't work with rootcloak and rooted phones anymore.
Does anyone know how to get snapchat working with a rooted phone. I have already tried removing XDA Framework and using rootcloack and it didn't.
I refuse to remove root.
racing121 said:
Snapchat doesn't work with rootcloak and rooted phones anymore.
Does anyone know how to get snapchat working with a rooted phone. I have already tried removing XDA Framework and using rootcloack and it didn't.
I refuse to remove root.
Click to expand...
Click to collapse
Hello and welcome to xda-assist,
we actually don't do technical support, we're here to guide you to the most suitable board on xda
So and ask here again
http://forum.xda-developers.com/android/help
I don't use snapchat myself but know from other people that it's working on rooted devices when
A) you install snapchat and login on a unrooted device and then apply root, it seems to work fine when you root a device when snapchat is already running
OR
B) use magisk su, you can download magisk manager from Playstore and depending on your set-up you can flash the necessary files from within the app or flash a zip from recovery in addition to the app from Playstore, magisk has a hide option and is able to make rooted devices pass safetynet, therfore snapchat is working, see here:
https://forum.xda-developers.com/apps/magisk/mod-magisk-v1-universal-systemless-t3432382
Hi guys. First of all sorry if i'm writing in the wrong section. I have a problem with my Honor 8 (FRD-L09) updated to Nougat. Today i've decided to unlock the bootloader and root it. I managed to unlock the phone via Huawei official unlock bootloader method, then i've pushed the latest twrp (3.1.0-1-frd) by cmd. All was going fine. After that i've probably downloaded an old version of Superuser, the phh SuperUser r275 and installed it. I've downloaded Phh's Supersu application from playstore, installed busybox (by Jrummy) and i was able to use various apps that required supersu just fine. But i faced a lot of problems when trying to uninstall system apps. For example, i wished to uninstall "Maps" with System app remover and it shows me that the app was correctly uninstalled and in fact it disappeared from the list, then i rebooted and the app was still there! Tried again with System app remover with the same app and this time even if the app showed "successfully uninstalled" it was still there. Then i tried Root Essentials, Titanium Backup, Root Explorer, SD Maid but i was unlucky with them all. Always problems and errors. In particular, Root Explorer, after mounted the system for r/w, shows "unable to delete the file". These problems appears with all the system apps. I don't know what's going on, i've never had this problems with my old S2 plus. Hope some of you can help me. What i have to do? Uninstall phh's superuser? If yes how can i do it? Can't find any uninstaller zip around the web. Or i need to install "SuperSU-v2.79-201612051815-EMUI5.0" attached in the TWRP post? Can i overwrite phh's superuser script with this? Is safe? Will it work? I'm very desperate, please help me.
P.S. I basically followed this guide: "http://www.theandroidsoul.com/root-honor-8-nougat-twrp-phh-superuser/" but using the new twrp. Don't ask me why...i can't explain why i did this stupid thing.
Rooting the honor 8 just sucks. It's pretty much a crapshoot.
Try the TWRP and special SuperSU from this thread, and let me know if it works.
https://forum.xda-developers.com/honor-8/development/twrp-t3566563
I'm in the same boat, I rooted nougat before but didn't actually have r/w permissions. So I've been waiting to re-root until huawei patched their bugs, but it doesn't seem like that will happen.
Best of luck.
SolarisSixth said:
Rooting the honor 8 just sucks. It's pretty much a crapshoot.
Try the TWRP and special SuperSU from this thread, and let me know if it works.
https://forum.xda-developers.com/honor-8/development/twrp-t3566563
I'm in the same boat, I rooted nougat before but didn't actually have r/w permissions. So I've been waiting to re-root until huawei patched their bugs, but it doesn't seem like that will happen.
Best of luck.
Click to expand...
Click to collapse
It worked! With this version of supersu i was able to unistall all those useless system apps! I just flashed it by twrp overwriting the previous one and it uninstalled phh'supersu app and installed chainfire's one. Everything seems to work flawlessy thank you. Just wondering if there's a way to remove the annoyng screen at startup that advise that the device can't be trusted. . .
Giuskiller said:
It worked! With this version of supersu i was able to unistall all those useless system apps! I just flashed it by twrp overwriting the previous one and it uninstalled phh'supersu app and installed chainfire's one. Everything seems to work flawlessy thank you. Just wondering if there's a way to remove the annoyng screen at startup that advise that the device can't be trusted. . .
Click to expand...
Click to collapse
That is a product of unlocked bootloader and happens on every phone no matter the brand. It can't be removed
Hi,
I bought an X3 pro with a global rom, but as I really need a call recorder I have installed the xiaomi 12.5.1 rom. I'm really not an expert on phones but somehow I managed to do it. Also for whatever reasons I had the magisk manager installed as well which I have never really wanted to use.
I was pretty happy with the phone when on one day (ironically a day after I have just checked if my phone is rooted) my phone said I can't use NFC payments anymore. So I have decided to try some magic and fix the problem myself. Again, I'm not an expert but as far as I understood I have a problem with safety-net which I have managed to solve by installing magisk and setting up modules as I have seen on youtube.
Now my phone passes the safety-net check and my phone in the play app says its certified but I still can't pay with NFC and some of the banking apps are not working anymore which is pretty bad for me.
So the question I have in escence: how can I really restore my phone to the factory default 12.5.1 eu rom? I mean I dont need TWRP or anything unlocked, I'd just like to be a regular joe without superuser rights.
Thanks a lot for your help.
ps: not sure if that matters, but if I hit the update button or I'd like to perform a factory reset on my phone then it boots into TWRP.
Uninstall Magisk or Use Magiskhide also your Banking app hide it on the Magiskhide and playstore,
Just MiFlash stock ROM.
Thanks for responding. I have tried hiding Magisk, but that didnt help me with my banking apps. Then I have uninstalled it which made things even worse cause some other programs started to complain. As the phone was not rooted anymore (I guess) I thought it can't be anything except the unlocked bootloader so I had the genius idea to type something like 'adb oem lock' which immediately bricked my phone saying 'the system is destroyed'.
I was very lucky that I remembered that xiaomi unlocker tool which opened the bootloader and that magically still worked and my phone booted to TWRP. From there I just installed an EU ROM and now everything works perfectly fine.
So overall I spent about 20h with unlocking, intalling a new ROM, rooting etc and then another 10 with reinstalling the original ROM plus reinstalling my apps again! Kudos to me going back to square one
First off, props to all developers working on the device. Fantastic developments in this subforum!
Secondly, would it be possible to spoof the device info on any rom to mimick the stock factory image? Reason I ask is I have an app, a type of banking app used locally, that does not seem to be working on this rom or any other.
It does work on stock rom. While currently i dont have root, i have tried magisk (with magisk app hidden) and magiskhide props, universal safetynet fix wth zygisk and lsposed etc.. nothing seems to work. I dont think it detects root as currently i am not even rooted on evolution rom. However, I think it detects a custom rom. Therefore, if it is possible to spoof either the rom or the app to show it that the phone is running the stock rom it might work.
If anyone knows a way to do this or some other way to try to access the app while being on a custom rom, please let me know.
Thanks.
Just a thought, detecting a custom ROM would mean the app would recognize ALL official ROMs? Kinda hard, so probably something else... When rooted, did you try whitelist instead of hide?
Thanks for the response.
I didn't whitelist at the time, I just added the app to the "denylist" of zygisk. That said, as mentioned above, I am not rooted and did a fresh install of Evolution ROM. App doesn't work.
I have previously done a clean install of the stock ROM and the app works perfectly there.
Hmm so it's not detecting the unlocked bootloader... That's really weird. Sorry I can't help
if you aren't rooted, magisk isn't going to work. the magisk forum is likely a better place to look for an answer
So I figured out why my banking app wasn't letting me use my fingerprint. You apparently have to turn off developer options to get the app to work properly.
Ah was thinking about that yesterday! Actually there's a Magisk module that could help, IAmNotADev I think it's called, it hides dev status from selected apps.
erispimp said:
So I figured out why my banking app wasn't letting me use my fingerprint. You apparently have to turn off developer options to get the app to work properly.
Click to expand...
Click to collapse
krakout said:
Ah was thinking about that yesterday! Actually there's a Magisk module that could help, IAmNotADev I think it's called, it hides dev status from selected apps.
Click to expand...
Click to collapse
Also after I registered my fingerprint with the app. I turned developer options back on and it was fine.
Haha so it only checks only until activated? Stupid...
krakout said:
Haha so it only checks only until activated? Stupid...
Click to expand...
Click to collapse
I'm guessing so.