Root for Moto G4 Plus with Android Nougat? - Moto G4 Plus Questions & Answers

Hey there, I hope someone answer to this thread and my doubt is about the Android Nougat root becuase I've installed the athene_oem_user_7.0_NPJ25.93-11_12_release stock firmware via fastboot and I've tried to root it by installing SuperSU in the TWRP recovery but the device gets bricked becuase the SuperSU installer modifies the system and doesn't use the systemless mode, so if there any other way to root the phone ? I really need it

There's no permanent root method devised yet. Here's a temporary one though created by Shreps (your device will get unrooted after a reboot)
https://forum.xda-developers.com/showthread.php?t=3532556
You can use it for uninstalling system apps or quickly restoring some TB backups.
Note: Will work only on XT-1643 model
Sent from my Moto G (4) using Tapatalk

1chrome said:
There's no permanent root method devised yet. Here's a temporary one though created by Shreps (your device will get unrooted after a reboot)
https://forum.xda-developers.com/showthread.php?t=3532556
You can use it for uninstalling system apps or quickly restoring some TB backups.
Note: Will work only on XT-1643 model
Sent from my Moto G (4) using Tapatalk
Click to expand...
Click to collapse
FYI, I can confirm it works on XT1622 as well

What if I have the XT1641? Ok, I'll try with mine

siredux said:
FYI, I can confirm it works on XT1622 as well
Click to expand...
Click to collapse
FYI, I can confirm it works on XT1626 as well

Related

TWRP Freezes when attempting to install Supersu

Hi guys I just unlocked my A7 and Im not able to flash the latest Supersu zip. When I begin flashing it freezes on "Extracting Files" then the phone reboots and stays off. Anyone had this issue before?
perez6991 said:
Hi guys I just unlocked my A7 and Im not able to flash the latest Supersu zip. When I begin flashing it freezes on "Extracting Files" then the phone reboots and stays off. Anyone had this issue before?
Click to expand...
Click to collapse
Try this version 2.65 I think this is the only working one, after flashing it you can update the su bin through the app.
I flashed this version via twrp but after a brief boot to zte screen it goes back to black, it's been sitting over 5 minutes and hasn't rebooted... Anybody have any ideas? On b20 currently
On unlocked b27 and I'm wondering if it will work flashing supers 2.65 to get root
Sent from my ZTE A2017U using XDA-Developers mobile app
troy5890 said:
On unlocked b27 and I'm wondering if it will work flashing supers 2.65 to get root
Sent from my ZTE A2017U using XDA-Developers mobile app
Click to expand...
Click to collapse
I did this last night on unlocked B27 - flash SuperSU 2.65 - it works
tabletalker7 said:
I did this last night on unlocked B27 - flash SuperSU 2.65 - it works
Click to expand...
Click to collapse
Thank you very much, I'll try it after I make a twrp backup.
Sent from my ZTE A2017U using XDA-Developers mobile app
Unfortunately it's not "true" root. Xposed works (latest version), but trying to debloat the ROM via Titanium backup doesn't work. So editing system apps isn't doable yet. And updating busybox doesn't seem to work either.
perez6991 said:
Unfortunately it's not "true" root. Xposed works (latest version), but trying to debloat the ROM via Titanium backup doesn't work. So editing system apps isn't doable yet. And updating busybox doesn't seem to work either.
Click to expand...
Click to collapse
That seems a little disappointing at the moment. I'm just glad I can run Ubuntu and other distributions now.
Sent from my ZTE A2017U using XDA-Developers mobile app
perez6991 said:
Unfortunately it's not "true" root. Xposed works (latest version), but trying to debloat the ROM via Titanium backup doesn't work. So editing system apps isn't doable yet. And updating busybox doesn't seem to work either.
Click to expand...
Click to collapse
If you mean SuperSU 2.65, yes it is a true root. /system is write-protected even if you unlock your bootloader and root. Once you disable write protection, you can do TiBu fine, AdAway fine, etc. Just a one-liner: http://forum.xda-developers.com/axo...to-persist-t3440276/post68206618#post68206618
perez6991 said:
Unfortunately it's not "true" root. Xposed works (latest version), but trying to debloat the ROM via Titanium backup doesn't work. So editing system apps isn't doable yet. And updating busybox doesn't seem to work either.
Click to expand...
Click to collapse
That's because of ZTE's write protection. You have to do 'adb shell reboot disemmcwp' to disable it. I had the same problem but after I did this everything worked flawlessly

system mode root

I've recently rooted my device but have found out that I used a systemless SuperSU , I need a classic system-mode superSU to be able to access and change system files. Is this possible yet with the sm-g935f yet? I've found 1 but it just put my phone into a bootloot
The file I used was called SR1-SuperSU-v2.78-SR1-20160915123031...
AFAIK every root method available for S7 is systemless and you can access system files with these root systemless or not.
Systemless root doesn't mean you can't access system files, it's mean that root files doesn't install in system partition but somewhere else.
And what's the point of root if you can't access system files. (LOL!)
Sent from my SM-G935F using Tapatalk
NonXtreme said:
AFAIK every root method available for S7 is systemless and you can access system files with these root systemless or not.
Systemless root doesn't mean you can't access system files, it's mean that root files doesn't install in system partition but somewhere else.
And what's the point of root if you can't access system files. (LOL!)
Click to expand...
Click to collapse
Maybe I came across wrong.. my device is in enforcing mode and I tried using selinux mode changer which wouldn't work I posted something the other day on here and was told the reason was down to being rooted via systemless root but I would need to ask people with the same device as me. All this falls back on an issue with xmod games..
Edit: I'm using a systemless SuperSU.... And apparently I need a different 1.
lynchyy89 said:
I've recently rooted my device but have found out that I used a systemless SuperSU , I need a classic system-mode superSU to be able to access and change system files. Is this possible yet with the sm-g935f yet? I've found 1 but it just put my phone into a bootloot
The file I used was called SR1-SuperSU-v2.78-SR1-20160915123031...
Click to expand...
Click to collapse
hello, I have same problem as you. have you discovered a way to make system mode root on g935f? (I have 6.0.1)
thanks
polhallen said:
hello, I have same problem as you. have you discovered a way to make system mode root on g935f? (I have 6.0.1)
thanks
Click to expand...
Click to collapse
It's been a while since I done it and have unrooted since but from what I can remember I just used the normal rooting method but replaced the systemless root file with BETA-SuperSU-v2.68 and it worked fine
lynchyy89 said:
It's been a while since I done it and have unrooted since but from what I can remember I just used the normal rooting method but replaced the systemless root file with BETA-SuperSU-v2.68 and it worked fine
Click to expand...
Click to collapse
thanks for reply, I tried many versions of supersu but almost all causes boot-loop :/
maybe I tested also 2.68beta.
which normal rooting method you tried?
thanks for help!
Used this method to install twrp and followed the root method but changed the su to the one I mentioned, will look for the link
https://forum.xda-developers.com/s7...overy-official-twrp-hero2lte-3-0-0-0-t3334084
thanks, exactly method I used. Then, I replaced existent supersu with version you mentioned but S7 doesn't start... blue led + samsung word and nothing :-/
---------- Post added at 21:04 ---------- Previous post was at 21:00 ----------
polhallen said:
thanks, exactly method I used. Then, I replaced existent supersu with version you mentioned but S7 doesn't start... blue led + samsung word and nothing :-/
Click to expand...
Click to collapse
Only version of supersu that worked is file attached in that howto (also try after flash stock rom)
you discovered any solution?

Any root method for the Moto G4 yet?

Is there a working root method for the Moto G4 (Running Android 7.0) yet?
And I'm not talking about the G4 plus...
I desperately want to break my phone free.
There must be one by now.
TheTechnoToast said:
Is there a working root method for the Moto G4 (Running Android 7.0) yet?
And I'm not talking about the G4 plus...
I desperately want to break my phone free.
There must be one by now.
Click to expand...
Click to collapse
G4 and G4 plus use the same method, flash TWRP then elemental x kernel and then you can root it With super su or magisk.
Enviado desde mi Moto G⁴ #StayUnbeaten
syverman said:
G4 and G4 plus use the same method, flash TWRP then elemental x kernel and then you can root it With super su or magisk.
Enviado desde mi Moto G⁴ #StayUnbeaten
Click to expand...
Click to collapse
Thanks for the reply! Is there a guide to do this?
TheTechnoToast said:
Thanks for the reply! Is there a guide to do this?
Click to expand...
Click to collapse
I wanted to try it but I have a problem with the bootloader that I can not unlock because my computer is the amazon version that no one could remove said ads in the latest security update NPJ25.93.14.5, if anyone knows of any solution I will be grateful .
TheTechnoToast said:
Thanks for the reply! Is there a guide to do this?
Click to expand...
Click to collapse
This guide shows you how to root with SuperSU https://forum.xda-developers.com/mo...de-root-moto-g4-plus-supersu-android-t3587918
Ensure you've flashed a custom kernel such as ElementalX before rooting, else you'll trip anti-rooting protections built into the stock kernel, which may necessitate a re-flash of your stock ROM. You may wish to use newer versions of SuperSU. Alternatively, if you wish to use magisk for rooting, you can have a look at this guide I've written based on the above link: https://forum.xda-developers.com/showpost.php?p=72496111&postcount=270
I've used this method to root a G4 Plus running NPJS25.93-14-8 (June 2017 stock ROM) with magisk 13.3 and have EX Kernel Manager, Amaze and other root utilities running okay. Furthermore, with the built-in root hiding abilities of magisk, SafetyNet dependent apps appear to run okay. I believe SuperSU has a similar addon to hide root from various detection methods too.
Something I've run into with using the stock ROM with TWRP is that Google Play Store may show an error 0 when attempting to download apps or updating. Seems this is related to permissions issues on the data partition and you may be able to correct them with this post: https://forum.xda-developers.com/showpost.php?p=73604008&postcount=19
As mentioned above, the same steps should apply to G4 devices (and has been tested on G4 devices). As usual, unlocking your bootloader will wipe your device (as a security measure) so back up your data and move it off your device. You may wish to back up your SD card if adopted as internal storage (or find a way to save your encryption key). Also, requesting the unlock key from Motorola, regardless of whether you use it, appears to void your remaining service warranty.
Futhermore, once rooted, you will not be able to accept OTA updates, and attempts to do so will soft-bootloop your device unless you boot to bootloader and select 'Start' to boot to system. To accept OTA updates, you'll have to revert back to a clean stock ROM (and of the same build or newer - attempts to revert back to older stock ROMs than what you had, especially if you were previously on the March/June 2017 patch level, have a nasty habit of hard bricking if you took OTA updates).
If you're okay with all that, then good luck rooting
echo92 said:
This guide shows you how to root with SuperSU https://forum.xda-developers.com/mo...de-root-moto-g4-plus-supersu-android-t3587918
Ensure you've flashed a custom kernel such as ElementalX before rooting, else you'll trip anti-rooting protections built into the stock kernel, which may necessitate a re-flash of your stock ROM. You may wish to use newer versions of SuperSU. Alternatively, if you wish to use magisk for rooting, you can have a look at this guide I've written based on the above link: https://forum.xda-developers.com/showpost.php?p=72496111&postcount=270
I've used this method to root a G4 Plus running NPJS25.93-14-8 (June 2017 stock ROM) with magisk 13.3 and have EX Kernel Manager, Amaze and other root utilities running okay. Furthermore, with the built-in root hiding abilities of magisk, SafetyNet dependent apps appear to run okay. I believe SuperSU has a similar addon to hide root from various detection methods too.
Something I've run into with using the stock ROM with TWRP is that Google Play Store may show an error 0 when attempting to download apps or updating. Seems this is related to permissions issues on the data partition and you may be able to correct them with this post: https://forum.xda-developers.com/showpost.php?p=73604008&postcount=19
As mentioned above, the same steps should apply to G4 devices (and has been tested on G4 devices). As usual, unlocking your bootloader will wipe your device (as a security measure) so back up your data and move it off your device. You may wish to back up your SD card if adopted as internal storage (or find a way to save your encryption key). Also, requesting the unlock key from Motorola, regardless of whether you use it, appears to void your remaining service warranty.
Futhermore, once rooted, you will not be able to accept OTA updates, and attempts to do so will soft-bootloop your device unless you boot to bootloader and select 'Start' to boot to system. To accept OTA updates, you'll have to revert back to a clean stock ROM (and of the same build or newer - attempts to revert back to older stock ROMs than what you had, especially if you were previously on the March/June 2017 patch level, have a nasty habit of hard bricking if you took OTA updates).
If you're okay with all that, then good luck rooting
Click to expand...
Click to collapse
Thanks for this. Yes, I'm okay with all of this (I've rooted my previous phones), I'm aware of the risks and stuff. I'll give this a try ?
flako72 said:
I wanted to try it but I have a problem with the bootloader that I can not unlock because my computer is the amazon version that no one could remove said ads in the latest security update NPJ25.93.14.5, if anyone knows of any solution I will be grateful .
Click to expand...
Click to collapse
Um... Could you ask questions in your own forum please? This forum is for rooting help for the Moto G4.
TheTechnoToast said:
Um... Could you ask questions in your own forum please? This forum is for rooting help for the Moto G4.
Click to expand...
Click to collapse
I think he is asking about the Moto G4 Amazon version. So he is in the right forum.
Caxref said:
I think he is asking about the Moto G4 Amazon version. So he is in the right forum.
Click to expand...
Click to collapse
Oh, okay. But even still - I think he should be asking the question individually. Not only would he get more help from people but it wouldn't detract from my post.
echo92 said:
This guide shows you how to root with SuperSU https://forum.xda-developers.com/mo...de-root-moto-g4-plus-supersu-android-t3587918
Ensure you've flashed a custom kernel such as ElementalX before rooting, else you'll trip anti-rooting protections built into the stock kernel, which may necessitate a re-flash of your stock ROM. You may wish to use newer versions of SuperSU. Alternatively, if you wish to use magisk for rooting, you can have a look at this guide I've written based on the above link: https://forum.xda-developers.com/showpost.php?p=72496111&postcount=270
I've used this method to root a G4 Plus running NPJS25.93-14-8 (June 2017 stock ROM) with magisk 13.3 and have EX Kernel Manager, Amaze and other root utilities running okay. Furthermore, with the built-in root hiding abilities of magisk, SafetyNet dependent apps appear to run okay. I believe SuperSU has a similar addon to hide root from various detection methods too.
Something I've run into with using the stock ROM with TWRP is that Google Play Store may show an error 0 when attempting to download apps or updating. Seems this is related to permissions issues on the data partition and you may be able to correct them with this post: https://forum.xda-developers.com/showpost.php?p=73604008&postcount=19
As mentioned above, the same steps should apply to G4 devices (and has been tested on G4 devices). As usual, unlocking your bootloader will wipe your device (as a security measure) so back up your data and move it off your device. You may wish to back up your SD card if adopted as internal storage (or find a way to save your encryption key). Also, requesting the unlock key from Motorola, regardless of whether you use it, appears to void your remaining service warranty.
Futhermore, once rooted, you will not be able to accept OTA updates, and attempts to do so will soft-bootloop your device unless you boot to bootloader and select 'Start' to boot to system. To accept OTA updates, you'll have to revert back to a clean stock ROM (and of the same build or newer - attempts to revert back to older stock ROMs than what you had, especially if you were previously on the March/June 2017 patch level, have a nasty habit of hard bricking if you took OTA updates).
If you're okay with all that, then good luck rooting
Click to expand...
Click to collapse
Thanks so much! Worked perfectly on the Moto G4.
Consider the question closed

Modifying Host File Without Root

I just ordered a Moto G5 Plus and expect delivery next week. I am not sure if I really want to root. I would be happy if I could just modify the host file to prevent ads. Is it possible to change the host file without root and still accept OTA updates? Any guidance in doing so is appreciated.
This is not possible as the hosts file lives in somewhere in the root folder or in /su
Your best bet would be to just root which is really no big deal, or use your home wifi router to block ads somehow.
MrTooPhone said:
I just ordered a Moto G5 Plus and expect delivery next week. I am not sure if I really want to root. I would be happy if I could just modify the host file to prevent ads. Is it possible to change the host file without root and still accept OTA updates? Any guidance in doing so is appreciated.
Click to expand...
Click to collapse
Or root and still apply OTA using FlashFire
GopalKaul said:
Or root and still apply OTA using FlashFire
Click to expand...
Click to collapse
I did not know it was possible to flash an update to a rooted stock ROM. With my Moto G3 I was restoring pre-root ROM, accept OTA, re-root, then re-flash rooted ROM data. Modifying the host file is my primary reason to root. I will search the G5 forum for FlashFire instructions.
MrTooPhone said:
I did not know it was possible to flash an update to a rooted stock ROM. With my Moto G3 I was restoring pre-root ROM, accept OTA, re-root, then re-flash rooted ROM data. Modifying the host file is my primary reason to root. I will search the G5 forum for FlashFire instructions.
Click to expand...
Click to collapse
It is hit and miss using Flashfire on Moto devices... sometimes it works and sometimes it doesn't, depends on what you had changed with root. Some people used it with the G 2015, but it often failed. I can't speak to the viability of it on this device though.
There is no way to modify the host file without root, period... You can use something like Adblock Browser or another browser with build in ad blocking though.
You can import host files without root with Netguard: https://github.com/M66B/NetGuard/blob/master/FAQ.md
Dunno if it can accomplish what you want though.
MrTooPhone said:
I did not know it was possible to flash an update to a rooted stock ROM. With my Moto G3 I was restoring pre-root ROM, accept OTA, re-root, then re-flash rooted ROM data. Modifying the host file is my primary reason to root. I will search the G5 forum for FlashFire instructions.
Click to expand...
Click to collapse
If you only get Adblock, fine... But if you remove system apps , then it surely wouldn't work
acejavelin said:
It is hit and miss using Flashfire on Moto devices... sometimes it works and sometimes it doesn't, depends on what you had changed with root. Some people used it with the G 2015, but it often failed. I can't speak to the viability of it on this device though.
There is no way to modify the host file without root, period... You can use something like Adblock Browser or another browser with build in ad blocking though.
Click to expand...
Click to collapse
Can TWRP be booted (not flashed) on the G5 like the G3?
MrTooPhone said:
Can TWRP be booted (not flashed) on the G5 like the G3?
Click to expand...
Click to collapse
Yes. If you have twrp.img it's just
Code:
fastboot boot twrp.img
while you are booted into the bootloader.
Excellent news. Looking forward to my new phone.
MrTooPhone said:
Can TWRP be booted (not flashed) on the G5 like the G3?
Click to expand...
Click to collapse
Yes, but as with the G3 the Bootloader must be unlocked. Remember, that simply unlocking the Bootloader will cause SafetyNet API checks to fail in Nougat without rooting with Magisk, thus breaking OTAs as well.
acejavelin said:
Yes, but as with the G3 the Bootloader must be unlocked. Remember, that simply unlocking the Bootloader will cause SafetyNet API checks to fail in Nougat without rooting with Magisk, thus breaking OTAs as well.
Click to expand...
Click to collapse
If SafetyNet API check fails, understand no OTAs, what about playstore access and updates? With the G3, even though an unlocked bootlader makes the device uncertified, the device still has full access to the playstore. I am thinking some day Google will be shutting down playstore to uncertified devices and those that fail SafetyNet API checks.
MrTooPhone said:
If SafetyNet API check fails, understand no OTAs, what about playstore access and updates? With the G3, even though an unlocked bootlader makes the device uncertified, the device still has full access to the playstore. I am thinking some day Google will be shutting down playstore to uncertified devices and those that fail SafetyNet API checks.
Click to expand...
Click to collapse
SafetyNet failure itself won't stop OTAs, but just about any modifications to boot, system, or recovery will cause a failure.
Apps will install and update, however, some apps check SafetyNet and will not function if it fails... Pokemon Go, Netflix, Android Pay, Snapchat, and most most banking and financial apps come to mind, but there are plenty of others.
I am in agreement that eventually devices that are not certified will not be allowed Play Store access, someday... But SafetyNet is only part of device certification.
I can not find a way to do it.
Overwriting the hosts file on the system with twrp does not work.
Install a zip using twrp with the hosts file, either.
There really is no way to do it without having to root?
Did you try Netguard?
Knutselmaaster said:
Did you try Netguard?
Click to expand...
Click to collapse
Using PIA with Mace enabled works as well.

Root without reseting?

I´ve recently updated my Moto G5 Plus to 8.1 and I´d like to root it to be able to install the NX Camera APK. I was wondering if is there a way to root the phone without deleting everything on it.
rawfa said:
I´ve recently updated my Moto G5 Plus to 8.1 and I´d like to root it to be able to install the NX Camera APK. I was wondering if is there a way to root the phone without deleting everything on it.
Click to expand...
Click to collapse
Rooting doesn't reset your phone. Just flash magisk through TWRP. If you mean the process of unlocking the bootloader which is the prerequisite for rooting: No way to unlock without losing you data from internal storage. Back it up before.
Sent from my Moto G5 Plus using XDA Labs
Wolfcity said:
Rooting doesn't reset your phone. Just flash magisk through TWRP. If you mean the process of unlocking the bootloader which is the prerequisite for rooting: No way to unlock without losing you data from internal storage. Back it up before.
Sent from my Moto G5 Plus using XDA Labs
Click to expand...
Click to collapse
If I need to unlock the bootloader to be able to root and if unlocking the bootloader wipes everything out, then it´s the same as saying that rooting wipes everything out
rawfa said:
I´ve recently updated my Moto G5 Plus to 8.1 and I´d like to root it to be able to install the NX Camera APK. I was wondering if is there a way to root the phone without deleting everything on it.
Click to expand...
Click to collapse
You need to unlock the bootloader of your device in order to root your phone and unlocking bootloader erases all your data.
So keep a backup before proceeding.

Resources