Rooting Safetynet and Banking apps - Moto G4 Plus Questions & Answers

Hi,
Phone: Moto G4 Plus(32GB)
TWRP + Magisk + Xposed + Elementalx : Is this a gud idea?
Is Magisk Hide effective enough to use Banking apps in rooted phones?
Whats safetynet exactly. What does it mean that its pass?
Its expected that Moto G4 Plus will get Oreo Update.
Will the Update be available if device is rooted with Magisk?
Is there a blog that any body has used to do this on their Moto G4 plus and has successfully worked with everything working without any issues?
can you give me the link to that step by step blog/forum which you used?
There were too many blogs/forums about this and there is a reply in each one them saying that their phone is bricked now. Dont want to take that risk.
Does anybody have a perfect/absolutely amazing blog with step by step guide.
This is my primary phone.
Your help will be much appreciated.

eighty9sid said:
TWRP + Magisk + Xposed + Elementalx : Is this a gud idea?
Click to expand...
Click to collapse
Not good idea,
Correct order,
TWRP > Custom kernel > Magisk . (Done.)
Don't flash Xposed if you want to use banking apps, it will break safetynet.
Is Magisk Hide effective enough to use Banking apps in rooted phones?
Click to expand...
Click to collapse
Personally, i don't use banking apps, but Magisk Hide works fine on other similar apps. So, it will be fine there..
Whats safetynet exactly. What does it mean that its pass?
Click to expand...
Click to collapse
Safetynet is term that is related to safety,
If your device passes safetynet then it's secure, banking apps and others will work fine,
But if safetynet fails, then your device is unsecured, banking and related apps may not work..
Its expected that Moto G4 Plus will get Oreo Update.
Will the Update be available if device is rooted with Magisk?
Click to expand...
Click to collapse
Even Lenovo/Motorola don't know when OREO will be there for Moto G4 Plus. No other comments
EDIT: If update available in future, you will have to be on stock unmodified ROM, that meams it will fail if magisk or any mod installed..
can you give me the link to that step by step blog/forum which you used?
Click to expand...
Click to collapse
Check Guides section for Unlocking and flashing TWRP,
And follow LATEST guide for rooting (older thread/information for rooting can brick your device)
And if you are finding XPOSED + Safetynet Pass + Banking apps, then not possible..

Hello there,
I too am using Moto G4 32GB Dual SIM (XT1643) as a daily driver and I am using a Custom ROM i.e. HAVOC which is an Android 8.1.0 Oreo based ROM. I am using Magisk and TWRP and banking apps like SBI anywhere, Kotak App are working flawlessly. I have not tested Google Tez though.
Even when I had the stock ROM, I rooted it using Magisk and Installed ElementalX Kernel via TWRP. I followed steps from XDA itself, used this link:
https://forum.xda-developers.com/moto-g4-plus/themes/g4-g4-plus-how-to-install-magisk-pass-t3551896
And as per your question on SafetyNet, it is basically a security check for android developers so that they can verify that the phone is not rigged or rooted or modified. In order for every developer to write their own code to go through various checks to check the integrity of the phone, google provided SafetyNet an easy to implement feature for developers. For more on SafetyNet, visit this website.:
https://www.nowsecure.com/blog/2017/08/03/android-apps-google-safetynet-attestation-api/
And as far as Magisk is concerned, I personally prefer Magisk over any other rooting solution, there are more than one reasons for that. Mainly I that I play Pokemon Go, so Magisk does it's job very well hiding my device status from Pokemon Go.
For difference between Magisk and SuperSu, here is the link:
https://www.xda-developers.com/magisk-vs-supersu/
You can install OTA updates with MAGISK easily, just need to install STOCK kernel and Uninstall Magisk.
I've never used XPOSED on my device, so I cannot help you with that.
And you may know this already, but I will tell you just in case you don't, In order to root your phone or install custom recovery, you need to unlock bootloader and then install custom recovery like TWRP.
To unlock your bootloader, visit:
Motorola - Unlock Bootloader
And Finally, I hope you know what you're doing. Follow the steps carefully and always read comments and user reviews before doing anything at all.
Happy Rooting

Maybe Wait till OREO OTA comes
I asked this because these two links kind of suggested that it was possible.
https://www.reddit.com/r/nexus5x/comments/5wdb27/does_elementalx_kernel_break_safety_net/
https://www.xda-developers.com/systemless-xposed-android-oreo-available-pass-safetynet/
I may be wrong.
Maybe i should wait for Oreo OTA to come and then decide.

Magisk Xposed is not working, I tried both the version of Xposed but phone doesn't boot at all. So in short, Root with Magisk + banking apps is possible, but root with Magisk+Xposed (even Magisk xposed)+banking apps is not possible as of now.
I tried Sandhook and Yahfa, both are not working.

Related

Magisk support for Droid Turbo (and maybe other Quarks) coming soon, probably

I sent the developer of Magisk (topjohnwu) a copy of our boot.img on github, and he closed the issue indicating that it was resolved. The version with the new changes that he made hasn't been released yet, but keep on the lookout for it! Maybe we'll get our stock rom + safetynet + root after all.
Github link to issue: https://github.com/topjohnwu/Magisk/issues/71
Magisk: https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
UPDATE: It's here! Go to the Magisk forum and get it.
Thank you for doing this! When this happens it means we can even have custom ROMs with Magisk.
MAGISK with custom ROM
http://zukfans.eu/community/index.php?threads/2485/
No prob. I tried to build the current version with the changes from source, but I failed. There seem to be some files missing from the repo.
Deleted
This is great to hear! I'm really looking forward to some nougat roms to play around with. My main concern is snapchat. I know that it checks at login, but will I be able to log back in if I have magisk installed? I have a droid turbo XT1254 on MCG24.251-5 (marshmallow with september security patch).
Also, will using sunshine to unlock my bootloader trip safetynet is magisk doesn't trip it?
Thanks.
SecretPotatoChip said:
This is great to hear! I'm really looking forward to some nougat roms to play around with. My main concern is snapchat. I know that it checks at login, but will I be able to log back in if I have magisk installed? I have a droid turbo XT1254 on MCG24.251-5 (marshmallow with september security patch).
Also, will using sunshine to unlock my bootloader trip safetynet is magisk doesn't trip it?
Thanks.
Click to expand...
Click to collapse
1) Magisk is already here. This thread is now outdated. Here's the update:
Magisk v11.6 compatible with Droid Turbo Stock ROM
https://forum.xda-developers.com/droid-turbo/general/magisk-v11-5-compatible-droid-turbo-t3576368
2) You will have to use Sunshine to unlock your bootloader of your Droid Turbo XT1254. There's no other way. (Of course, other Quarks don't need Sunshine. Only Verizon's model does.)
Magisk and other stuff like iSu are just used to camouflage the changes you have made.
ChazzMatt said:
1) Magisk is already here. This thread is now outdated. Here's the update:
Magisk v11.6 compatible with Droid Turbo Stock ROM
https://forum.xda-developers.com/droid-turbo/general/magisk-v11-5-compatible-droid-turbo-t3576368
2) You will have to use Sunshine to unlock your bootloader. There's no other way. Magisk and other stuff like iSu are just used to camouflage the changes you have made.
Click to expand...
Click to collapse
OK cool.
What is the purpose of magisk? I am running RR7.1 does this add anything to my experience like Xposed? Or is there no real reason to install it since I have bhb's iSu?

Guide to root and rom

Hi. is there any basic step by step guides for getting f the latest also extended ROM on my stock oneplus 3t.
Use to do it may y years ago and have lost / forgot everything lol. Also wondered if possible is it able to be rooted and still have access to banking apps using that ROM.
Cheers and apologies in advance
Best guide I've found
https://www.xda-developers.com/unlock-twrp-and-root-the-oneplus-3/
Used this earlier this evening. Simplest guide I've found and works fine for op3t, even though it's written for op3. Also replaced supersu with magisk zip with no difficulties.
Thanks for that. I will look at it tomorrow and attempt it. Did you replace SuperSU during the rooting or after? Read a few ways to do it so just wondered. Is it true that magisk is the way to get android pay and back king aps to still function with root?
Cheers
luke.douthwaite said:
Thanks for that. I will look at it tomorrow and attempt it. Did you replace SuperSU during the rooting or after? Read a few ways to do it so just wondered. Is it true that magisk is the way to get android pay and back king aps to still function with root?
Cheers
Click to expand...
Click to collapse
Didn't flash SuperSU at all. Tried installing magisk at the same time as new rom (vertex - recommended!), but ended up having to uninstall then reinstall later. Magisk v12 wasn't passing safetynet for me, but the Beta v13 magisk seems to be doing the trick for now.

Un-Rooted Roms

This maybe a dumb questions, but are any of the roms in the development area, unrooted? or do they all come prerooted? I am not confident in my abilities with Magisk and have some apps that check for root.
MPow1 said:
This maybe a dumb questions, but are any of the roms in the development area, unrooted? or do they all come prerooted? I am not confident in my abilities with Magisk and have some apps that check for root.
Click to expand...
Click to collapse
All the ROMs r rooted
But if u what to unroot u can do this from superuser app.
In order to remove apps like magisk etc
Download system app remover from play store
MPow1 said:
This maybe a dumb questions, but are any of the roms in the development area, unrooted? or do they all come prerooted? I am not confident in my abilities with Magisk and have some apps that check for root.
Click to expand...
Click to collapse
Los by daniel is unrooted, thats for sure and I think carbon is as well. Regarding magisk, basic use is to check if you passed safetynet then clear playstore data in settings>apps and reboot, you'll get certified status. You don't even need to use it's root if don't want to and I'm pretty sure those apps won't register the root. I recommend xpe because its the smoothest.
My steps are:
Install rom and gapps (i use aroma bcs of pixel launcher)
Boot, setup
Update rom (more or less just installing again, to pass safetynet - something is bugged)
Clear playstore, reboot and your good to go

Simple root method with SuperSU.

DISCLAIMER --- I know there are several threads with methods to root the Moto G5+, but I searched for almost 2 hours trying to find one that didn't require Magisk, didn't require another app, didn't require modified kernels or that didn't have several posts from people who were having issues. I finally gave up and went to another source. It was very simple, accomplished in 5 steps from TWRP (once unlocked of course), and mirrored the method used back on my old Moto G2. If this method is somewhere in these forums already I apologize, but searching did not turn it up for me.
I am not going to regurgitate the process since the site covers it well. I did use "twrp-3.2.1-1-potter_persist.img" so as to be able to backup the Persist partition but if that doesn't matter to you the standard TWRP Potter will work just fine. . Here is the link to rooting: https://technewswith.me/unlock-root-moto-g5/
Here is a link to the last version of SuperSU to be released. I already had it in my collection so didn't consider that the link I provided referred to an much older version. https://download.chainfire.eu/1220/S...1001224502.zip.
And once again, I would like to say that I have had absolutely no issues after following this procedure. If you prefer Magisk, that's fine. But this was the fastest and simplest way I found to root my phone.
TBH, I would STONGLY recommend against anyone else doing this from the tutorial linked... This is literally a tutorial from a Moto G2 with the 2 replaced with a 5. Since it is linking SuperSU 1.94 it shouldn't even work on Nougat (2.78 is the minimum I believe). This is a common rehash technique to generate clicks for sites of... ummm... let's just call it "less than exceptional" reputation.
This also has other issues, but they don't effect everyone... You can't hide that the bootloader is unlocked which effects Play Store certification, you can't hide root easily which effects LOTS of financial and gaming apps, and last but not least, ChainFire has left this project, or rather sold it, and it hasn't been updated in well over a year and won't be updated again (ie. it's an abandoned project).
That is why people are using Magisk, because SuperSU is dead, there is no real alternative since SuperUser was abandoned years ago, but besides that it works and works very well. Most people who have issues are not having an issue with Magisk, but with add-ons to it.
Oh, and by the way... SuperSU is still modifying your boot image (kernel) and system partition even though it says it is "systemless" since that is a misnomer.
pastorbob62 said:
DISCLAIMER --- I know there are several threads with methods to root the Moto G5+, but I searched for almost 2 hours trying to find one that didn't require Magisk, didn't require another app, didn't require modified kernels or that didn't have several posts from people who were having issues. I finally gave up and went to another source. It was very simple, accomplished in 5 steps from TWRP (once unlocked of course), and mirrored the method used back on my old Moto G2. If this method is somewhere in these forums already I apologize, but searching did not turn it up for me.
I am not going to regurgitate the process since the site covers it well. I did use "twrp-3.2.1-1-potter_persist.img" so as to be able to backup the Persist partition but if that doesn't matter to you the standard TWRP Potter will work just fine. . Here is the link to rooting: https://technewswith.me/unlock-root-moto-g5/
Click to expand...
Click to collapse
Hmmm. I still use the latest version of supersu to root my G5+, but I also flash the ElementalX kernel. Without the kernel, I just got bootloops.
pastorbob62 said:
DISCLAIMER --- I know there are several threads with methods to root the Moto G5+, but I searched for almost 2 hours trying to find one that didn't require Magisk, didn't require another app, didn't require modified kernels or that didn't have several posts from people who were having issues. I finally gave up and went to another source. It was very simple, accomplished in 5 steps from TWRP (once unlocked of course), and mirrored the method used back on my old Moto G2. If this method is somewhere in these forums already I apologize, but searching did not turn it up for me.
I am not going to regurgitate the process since the site covers it well. I did use "twrp-3.2.1-1-potter_persist.img" so as to be able to backup the Persist partition but if that doesn't matter to you the standard TWRP Potter will work just fine. . Here is the link to rooting: https://technewswith.me/unlock-root-moto-g5/
Click to expand...
Click to collapse
There is in fact a thread about rooting the Moto G5+ with SuperSU here on XDA in the Moto G5+ section: https://forum.xda-developers.com/g5-plus/how-to/how-to-how-to-supersu-moto-g5-plus-t3587684
Even this one is outdated like the one you posted, as explained above by @acejavelin is it even more.
Beside the fact that superSU has been sold to some obscure chinese company and isn't supported in any way the linked version is way to old, SuperSU SR5 2.79 is the last fully working build. Also that guide doesn't care about the encryption of the data partition of the Moto G5+ (huge difference to the Moto G2) and the need of something like a no-verity.zip or, better solution magisk which does that job.
I don't know why you think that magisk is a bad solution but it's the actual method (with a lot of features also mentioned above) and it's in active development.
You don't even need a custom kernel.
Because of a kernel bug in some Moto devices the Moto G5+ isn't able to mount images r/w and in combination with the F2FS formatted data partition the effect is you can't use modules with magisk, but root isn't affected.
That's a Moto bug, not a magisk bug.
But even for that there's a easy solution, just flash the F2FS loopback bug module https://forum.xda-developers.com/ap...icial-version-including-t3577875/post71554247 through TWRP and forget it. From now on everything is working well.
So the steps are:
-flash TWRP
-reformat data
-flash magisk 16
-flash F2FS loopback bug module
Easy enough. You're rooted systemless with a root solution which is actively supported.
I owned a Moto G2 too rooted with latest SuperSU and now I'm rooted with the above method on my Moto G5+ and have zero problems.
Sometimes the easiest looking solution isn't the easiest and also not the best.
Sent from my Moto G5 Plus using XDA Labs
Wolfcity said:
There is in fact a thread about rooting the Moto G5+ with SuperSU here on XDA in the Moto G5+ section: https://forum.xda-developers.com/g5-plus/how-to/how-to-how-to-supersu-moto-g5-plus-t3587684
Even this one is outdated like the one you posted, as explained above by @acejavelin is it even more.
Beside the fact that superSU has been sold to some obscure chinese company and isn't supported in any way the linked version is way to old, SuperSU SR5 2.79 is the last fully working build. Also that guide doesn't care about the encryption of the data partition of the Moto G5+ (huge difference to the Moto G2) and the need of something like a no-verity.zip or, better solution magisk which does that job.
I don't know why you think that magisk is a bad solution but it's the actual method (with a lot of features also mentioned above) and it's in active development.
You don't even need a custom kernel.
Because of a kernel bug in some Moto devices the Moto G5+ isn't able to mount images r/w and in combination with the F2FS formatted data partition the effect is you can't use modules with magisk, but root isn't affected.
That's a Moto bug, not a magisk bug.
But even for that there's a easy solution, just flash the F2FS loopback bug module https://forum.xda-developers.com/ap...icial-version-including-t3577875/post71554247 through TWRP and forget it. From now on everything is working well.
So the steps are:
-flash TWRP
-reformat data
-flash magisk 16
-flash F2FS loopback bug module
Easy enough. You're rooted systemless with a root solution which is actively supported.
I owned a Moto G2 too rooted with latest SuperSU and now I'm rooted with the above method on my Moto G5+ and have zero problems.
Sometimes the easiest looking solution isn't the easiest and also not the best.
Sent from my Moto G5 Plus using XDA Labs
Click to expand...
Click to collapse
I didn't say Magisk is a bad solution. It's just not my preferred method and it never has been. And actually you are incorrect. The latest version of SuperSU is 2.82 and I use it on both my tablet and my phones without any issues and have since it was released. My mistake was not sharing that info in my post since the link is to an old version. I don't care if it is supported or not - it works and that is all I need. Also I did not have to format my data to get root with the method I shared, nor did I have to install a custom kernel . And as far as being outdated, my 2010 Hyundai is outdated but it still serves my needs, is paid for and gets great mileage so I don't need a different car with a lot of bells and whistles I will never use. The same logic applies for me here. Also the link you provided calls for a modified kernel, a modified TWRP, and a WIFI fix so it is totally different than the method I shared.
If my post is not useful to you, then don't use it. But I thought there might be others who would be interested in the method since it is MUCH simpler with fewer steps and works. The "best" solution is subjective and depends on the users needs and desires. What is "best" for you may not be 'best" for somebody else. FYI - I too am having "zero" problems.
pastorbob62 said:
I didn't say Magisk is a bad solution. It's just not my preferred method and it never has been. And actually you are incorrect. The latest version of SuperSU is 2.82 and I use it on both my tablet and my phones without any issues and have since it was released. My mistake was not sharing that info in my post since the link is to an old version. I don't care if it is supported or not - it works and that is all I need. Also I did not have to format my data to get root with the method I shared, nor did I have to install a custom kernel . And as far as being outdated, my 2010 Hyundai is outdated but it still serves my needs, is paid for and gets great mileage so I don't need a different car with a lot of bells and whistles I will never use. The same logic applies for me here. Also the link you provided calls for a modified kernel, a modified TWRP, and a WIFI fix so it is totally different than the method I shared.
If my post is not useful to you, then don't use it. But I thought there might be others who would be interested in the method since it is MUCH simpler with fewer steps and works. The "best" solution is subjective and depends on the users needs and desires. What is "best" for you may not be 'best" for somebody else. FYI - I too am having "zero" problems.
Click to expand...
Click to collapse
You're right, the last SuperSU version is 2.82 and the latest beta is 2.82 SR5, I apologize for that.
As you wrote the problem is the outdated version of SuperSU in the link you posted.
For sure anyone is free to use SuperSU, it's still a working solution for a lot of devices. I just wanted to explain that there is no more development or support and most probably never will be again, so for future OS it may not work.
Also I wanted to make clear that you don't need a custom kernel or any special zips, as mentioned in the also outdated thread about rooting with SuperSU here on XDA.
Imo, a really good guide is this one:
https://forum.xda-developers.com/g5-plus/how-to/how-to-root-moto-g5-plus-t3579659/post76810574
As posted above, you're good to go with magisk and the loopback bug module and I don't see where this way is more complicated in any way than the one you posted.
Both ways need a custom recovery and for just rooting a flashable zip, magisk or SuperSU. The loopback bug module is only needed if you want to use magisk modules.
I mentioned encryption and the loopback bug as it isn't present in the guide you posted but both things may cause problems for some users, for example you can't backup/restore an encrypted data partition.
But no harm, the guide you posted is usable when it links to an actual version of superSU.
Sent from my Moto G5 Plus using XDA Labs
Wolfcity said:
You're right, the last SuperSU version is 2.82 and the latest beta is 2.82 SR5, I apologize for that.
As you wrote the problem is the outdated version of SuperSU in the link you posted.
For sure anyone is free to use SuperSU, it's still a working solution for a lot of devices. I just wanted to explain that there is no more development or support and most probably never will be again, so for future OS it may not work.
Also I wanted to make clear that you don't need a custom kernel or any special zips, as mentioned in the also outdated thread about rooting with SuperSU here on XDA.
Imo, a really good guide is this one:
https://forum.xda-developers.com/g5-plus/how-to/how-to-root-moto-g5-plus-t3579659/post76810574
As posted above, you're good to go with magisk and the loopback bug module and I don't see where this way is more complicated in any way than the one you posted.
Both ways need a custom recovery and for just rooting a flashable zip, magisk or SuperSU. The loopback bug module is only needed if you want to use magisk modules.
I mentioned encryption and the loopback bug as it isn't present in the guide you posted but both things may cause problems for some users, for example you can't backup/restore an encrypted data partition.
But no harm, the guide you posted is usable when it links to an actual version of superSU.
Sent from my Moto G5 Plus using XDA Labs
Click to expand...
Click to collapse
All good points! I will see if I can find a link with the later version of SuperSU If not, I will put a link to my Google Drive and make it available there. :good:

The quest to get Snapchat working on Weta Rom US996

Im currently unable to use snapchat because they block all root users for no good reason other than being d*ckheads.
Im running on Weta Rom 5.0.7 on the LGV20 US99610h varient with a android security patch of April the 1st 2017.
Ive tried to get Magisk installed because its hide feature seems to be the only known way of getting past Snapchats rootblock,
however when i go to remove SuperSu it fails to uninstall and Magisk cannot be installed without SuperSu being removed.
I have heard of a method of going into twrp removing supersu with a zip, reflashing the stock boot.img and installing magisk, however im no confident right now
on how to find the correct boot.img as i dont want to brick my device.
Does anyone know any work arounds to replace supersu with magisk or block snapchat from detecting root? or do i have to use broken lineage OS with its broken camera drivers to install magisk?
Please help guys, im literally starting to tear my hair out over this, i just want to use a social media app!!!
Use Alpha or Super V20 ROMs and choose Magisk on install .. problem solved.
-- Brian
runningnak3d said:
Use Alpha or Super V20 ROMs and choose Magisk on install .. problem solved.
-- Brian
Click to expand...
Click to collapse
Or search for osmosis unsu zip
Sent from my LG-H910 using XDA Labs
I try to steer people away from running outdated, unsupported ROMs. A good way to blow up your EFS is to flash Lineage (even an older version) while on old firmware.
-- Brian
runningnak3d said:
I try to steer people away from running outdated, unsupported ROMs. A good way to blow up your EFS is to flash Lineage (even an older version) while on old firmware.
-- Brian
Click to expand...
Click to collapse
To much instant satisfaction in society today, sad state of affairs. If they brick their phone its on them, should have taken the time to read and research before flashing stuff
Sent from my LG-H910 using XDA Labs

Categories

Resources