Rooting a Moto G4 Android 6.0.1 - Moto G4 Questions & Answers

Hi,
I originally posted this over at android central where I was told it is not possible to root a Moto G4, so I am trying here hoping for a different answer = )
I am attempting to install Cyanogenmod on my handset using the below guide:
Install_CM_for_peregrine (looks like I can't post link but that is the name of the page on he Cyanogenmod site)
I have unlocked the handset, copied the Cyanogenmod zip file to my sdcard, booted in recovery mode and attempted to install the zip package. At this point I get an error "E:failed to verify whole-file signature". I have tried both the stable and nightly build with the same result. Also when I have attempted to install SuperSU using the same process have received the same error so I suspect it is not a corrupted file.
I believe this is being caused by the signature check and to get around this have been following the below guide to disable signature check:
tutorial-how-to-disable-signature-check.html (name of the tutorial as can't post links)
When it comes to the step "Then find a option Called "Patch To Android", I don't see this option, and from what I understand this may be due to not having my phone rooted.
I have installed Kingo ROOT to resolve this but it failed to root the handset (error 0x1C5C33 if that means anything to anybody), checking the list of phones which Kingo ROOT can root, Moto is not one of them. What are the other options?
Any advice greatly appreciated. Thanks in advance.

Get rid of kingo. Look up android doctor on YouTube for unlock, root, twrp instructions. CM has a lot of bugs and isn't ready for daily use on this device. Slim roms has released their rom, it's CM based. I've been using it for a few days, and it's running smooth. There's a thread about it with the link on here. The only problem I've had was a boot loop when I try and flash xposed and supersu. There's a built in super user access in the settings, so supersu isn't necessary.

hooks024 said:
Get rid of kingo. Look up android doctor on YouTube for unlock, root, twrp instructions. CM has a lot of bugs and isn't ready for daily use on this device. Slim roms has released their rom, it's CM based. I've been using it for a few days, and it's running smooth. There's a thread about it with the link on here. The only problem I've had was a boot loop when I try and flash xposed and supersu. There's a built in super user access in the settings, so supersu isn't necessary.
Click to expand...
Click to collapse
Phone rooted, thanks!
Now to install SlimRoms

Strange, after rooting gained the below options in Lucky Patcher:
Signature Verification Status always True
Disable .apk Signature Verification
Disable signature verification in the package manager
Patch applied for all three, but then when I restart in recovery mode and attempt to install the SlimRoms zip still getting error "E:failed to verify whole-file signature".

I didn't patch anything. Just root, installed twrp, and flashed slim rom and gapps

hooks024 said:
I didn't patch anything. Just root, installed twrp, and flashed slim rom and gapps
Click to expand...
Click to collapse
Ah I see, did not realise you install the rom via twrp. It's installed now, awesome, thanks.

Related

Galaxy S4 i9505- Not Rooting Through Any Apps

S4 i9505 not rooting through any apps
Hi, I recently flashed cm12.1 on my S4 i9505 and its working fine.
I need a working GApps package, I tried flashing 2 PA GApps(mini and micro), updated version which is TK GApps(mini), and also cleared calvik cache before and after flashing them as some forums suggested, but none of them worked and all Google apps keep crashing as soon as I boot in CM even the keyboard.
The 2nd issue: My phone is not rooted anymore and I tried a couple of rooting android and windows apps but none seem to root my phone, fails everytime. The errors which I faced are below.
Framaroot: "Your device seems not vulnerable to exploit included in Framaroot"
iRoot (android): "GT- i9505 No Root Permission"
iRoot (windows): "Device is connecting
eRoot (windows): Stuff written in chinese and no root button available as mentioned in different forums"
KingoRoot: "Root Strategy unavailable, just try it"
TowelRoot: Stuck on make it ra1n and after a while "towelroot stopped responding"
Root Checker: "Root checker has stopped working"
3rd Issue: I tried installing playstore apk till I get my GApps working, but it crashes everytime I open it, any solutions?
Thanks
AAF1994 said:
Hi, I recently flashed cm12.1 on my S4 i9505 and its working fine.
I need a working GApps package, I tried flashing 2 PA GApps(mini and micro), updated version which is TK GApps(mini), and also cleared calvik cache before and after flashing them as some forums suggested, but none of them worked and all Google apps keep crashing as soon as I boot in CM even the keyboard.
The 2nd issue: My phone is not rooted anymore and I tried a couple of rooting android and windows apps but none seem to root my phone, fails everytime. The errors which I faced are below.
Framaroot: "Your device seems not vulnerable to exploit included in Framaroot"
iRoot (android): "GT- i9505 No Root Permission"
iRoot (windows): "Device is connecting
eRoot (windows): Stuff written in chinese and no root button available as mentioned in different forums"
KingoRoot: "Root Strategy unavailable, just try it"
TowelRoot: Stuck on make it ra1n and after a while "towelroot stopped responding"
Root Checker: "Root checker has stopped working"
3rd Issue: I tried installing playstore apk till I get my GApps working, but it crashes everytime I open it, any solutions?
Thanks
Click to expand...
Click to collapse
1. Gapps: http://opengapps.org/
2. You cannot loose root acces on CM. It's impossible. You just need to activate it in developer settings and after that flash Supersu (optional). All the apps etc you tried is completely obsolete.
3. See post number 1.
Lennyz1988 said:
1. Gapps: http://opengapps.org/
2. You cannot loose root acces on CM. It's impossible. You just need to activate it in developer settings and after that flash Supersu (optional). All the apps etc you tried is completely obsolete.
3. See post number 1.
Click to expand...
Click to collapse
I already have root access set to "apps and ADB" in developer options. is this what you're referring to?
AAF1994 said:
I already have root access set to "apps and ADB" in developer options. is this what you're referring to?
Click to expand...
Click to collapse
Yes.
I would suggest performing a full wipe then flash CM and then the Gapps.
or you can try to just flash Supersu and your root will probably be back.
http://forum.xda-developers.com/showthread.php?t=1538053
Lennyz1988 said:
Yes.
I would suggest performing a full wipe then flash CM and then the Gapps.
or you can try to just flash Supersu and your root will probably be back.
http://forum.xda-developers.com/showthread.php?t=1538053
Click to expand...
Click to collapse
I tried your suggestion, did a full wipe and flashed CM successfully through TWRP, the flashed GApps successfully, and SuperSU also, but just before rebbot, TWRP asked for "fix root" and when i swiped for yes, the reboot brought me back to Samsung logo and never rebooted CM... waited for about 15 mins before pulling the battery out...
I tried to flash CM and a stock firmware through odin then and now it says "Firmware upgrade failed, try KIES...... " odin fails to flash anything and gives error "No PIT Partition", even if I try to flash PIT files (tries 4 different files for i9505), all failed....
now I can only access download mode and lost TWRP too...
help please!
Install a stock ROM through Download Mode. This will get you back to a working state. From there get TWRP and then install CM12.1. And this time around, follow instructions! At no point were you EVER told you had to fix root, and as you found out, fixing root removes root access.
Honestly mate I was on CM for a while with my i9505 intl before deciding to try something else. I recommend this rom http://forum.xda-developers.com/showthread.php?t=2557353 . either the latest 5.1 or previous 5.0.1 release, they are both rock solid and there's great support for it too. They've even packaged cm addons as optional flash files.
Sent from my GT-I9505G using Tapatalk
---------- Post added at 04:15 AM ---------- Previous post was at 04:11 AM ----------
Sorry forgot to mention it's a Google play edition so rest assured your gapps come included.
Sent from my GT-I9505G using Tapatalk

[SOLVED] HELP with : SuperSU, Root Access, PARROT_MOD flash for new flashing

Hi guys,
thank you very much for the wonderful job everybody is doing here.
I have been using cyanogenmod 12.1 with parrotmod for a while now, with extreme pleasure.
I now would like to try out the new 12.1 compiled with uber toolkit and I was reading the PARROTMOD thread that advised to have the latest supersu installed first.
REQUIRES LATEST SUPERSU INSTALLED FIRST http://download.chainfire.eu/supersu-stable
EVEN IF YOUR ROM HAS BUILT IN ROOT LIKE CYANOGENMOD, TURN IT OFF IN SETTINGS, THEN FLASH SUPERSU!!
Click to expand...
Click to collapse
How can i do that? Where do I "turn it off"?
Do I have to
* flash cm 12.1 plus gapps
* initialize everything
* "turn off root"
* reboot to recovery
* flash SuperSU (I suppose in systemless mode, but I don't know, the installer should know what to do)
* flash PARROTMOD
Is it correct?
I have had difficulties to undertand the workings of this new "built-in" root access. Do I have to simply flash SuperSU over the freshly flased ROM? And why so? Isn't root "built-in"?
I already tried this on a Droid4, but the installer always spat out "failed" as last message. In any case installing SuperSU via Google Play always yelded a "you have to update the SuperSU binary" message.
Help. thanks
I think that "turn off root" in CM is in developer option (7-8 tap on build number). Procedure ordering is OK.
Sent from my Nexus 7 using Tapatalk
I found out what the author was talking about. Most cyanogen mod Roma have built-in SuperSU. In order to have Parrot Mod working you have to start the ROM, go to apps, settings, DISABLE SuperSU, restart to recovery, flash SuperSU, flash Parrot Mod and you're good to go. I'm going to put SOLVED on the post

Rooting OREO (41.3.A.2.24)

I was waiting for a root enabler for oreo (41.3.A.2.24), and I could find https://forum.xda-developers.com/xperia-x-performance/how-to/guide-stock-kernel-root-twrp-drm-fix-41-t3711837.
But this link is for version 41.3.A.0.401 and it does not work for everybody including me.
Since androplus still didn't bring out a new version of his kernel I tried the method from the above link.
But I'm using newer versions than in the description, I use TWRP 3.2.0, Magisk manager 5.2.2 and Magisk 15.2.
I can install the new version, twrp, the new boor image and Magisk 15.2.
I can boot and Magisk runs but the Safetynet control failes and Magisk does not enable root.
On the installation of the boot image, twrp and magisk I got some messages (marked in red)
unable to mount storage
failed to mount
Before I tried with magisk manager 5.5.1 and magisk 15.1 but then I got stuck at boot time at the sony logo.
Does anybody have a way to root Oreo (the latest version), enable DRM and enable root?
Ok I started all over again and I noticed I didn't follow the procedure first time.
So I excluded the FOTA kernel but whatever else I check no full wipe is done, I can always see the previous installed apps, it does not matter if I check Cust-reset, master-reset or reset-wipe-reason, the system is not wiped.
So that's my first problem, how to wipe the previous install.
Flashing the rom seems to be OK, same thing for flashing boot_oreo.img and twrp-3.1.1-0-dora.img.
I'm not sure about twrp 3.2.0.0 because this version is off-line now, so I tried with TWRP 3.1.1.0 and 3.2.1.0 but they all gave me the same result.
Problems start when I have to flash drmfix.zip, safety-net cleaner or magisk 15.2. The procedure tells me the flash is ok but have a look at thet attached images, I get errors while flashing. One picture for drmfix, one for safety-net-cleaner and one for magisk 15.2
After flashing all of this I can boot successfully but when I try to get root in ES File Explorer pro, it does not work. When I go into Magisk and try the afety-net check I get ctsProfile false and basicIntegrity False.
So the rom does work but I do not get root.
I tried all of this with the Italian rom 41.3.A.2.24.R1E ? I can start all over again with the UK version 41.3.A.2.24.R2E but I do not know if this makes any sense.
So can anybody tell me what to do to get it all going?
deboopi2 said:
I was waiting for a root enabler for oreo (41.3.A.2.24), and...
Click to expand...
Click to collapse
1 - Do use always Adrian DC latest fully working TWRP build for dora.
2 - You don't need a 3rd party kernel to achieve that, instead, you can easily create your own one, based always on stock kernel!
Thats the SELinux's problem.
Flash this first then flash magisk
https://forum.xda-developers.com/xp...ment/mod-sony-stock-patcher-xperia-x-t3528148

Lg g3 D855TR, custom rom

Could someone please help me to put a custom rom on my Lg G3 D855TR, 2 gb ram / 32 storage?
My version is: Android 5, v20n-global-si
Kernel stock: 3.4.0
What guide do I have to read to do that?
Thanks
Olofaiolo said:
Could someone please help me to put a custom rom on my Lg G3 D855TR, 2 gb ram / 32 storage?
My version is: Android 5, v20n-global-si
Kernel stock: 3.4.0
What guide do I have to read to do that?
Thanks
Click to expand...
Click to collapse
Hi there, I happen to own the same phone (d855TR, Android 5, v20n-global-si, Kernel stock: 3.4.0) and I've been trying for some days... But today, I have succeeded.
That's how I've got it done, finally:
1.) Root your phone using KingRoot
(I've used version 5.3.8, but the app will anyway update automatically, if you are connected to Wifi)
(I've tried a lot of other rooting strategies, too: LG One Click Root, Towelroot, Stumproot, but for this specific phone, they all failed.)
2.) Install "AutoRec"
(Initially, I left away this step, but this resulted in a "Secure Boot Error" while rebooting and the following steps failed, then. Installing TWRP manually, via official app or via ADB failed at this step, too. But after installing "AutoRec" everything went fine.)
3.) "AutoRec" automatically installs TWRP, but it is an older version (2.8.7.), so you should update TWRP to the latest version.
4.) Having done this, you should be able to install any CustomROM. I've installed LineageOS 16.0 and up to now, everything seems to be O.K.
Basically, I followed this guide:
https://forum.xda-developers.com/showpost.php?p=67602605&postcount=749
(Here you will also find a download link for "AutoRec".)
I applied this guide successfully to the d855TR variant, inspite of the warning in the disclaimer not to use it for any other phone than d855. According to this guide, it was designed for 30b-firmware, but my version was 20n and it worked.
Good luck!
Zymomonas said:
Hi there, I happen to own the same phone (d855TR, Android 5, v20n-global-si, Kernel stock: 3.4.0) and I've been trying for some days... But today, I have succeeded.
That's how I've got it done, finally:
1.) Root your phone using KingRoot
(I've used version 5.3.8, but the app will anyway update automatically, if you are connected to Wifi)
(I've tried a lot of other rooting strategies, too: LG One Click Root, Towelroot, Stumproot, but for this specific phone, they all failed.)
2.) Install "AutoRec"
(Initially, I left away this step, but this resulted in a "Secure Boot Error" while rebooting and the following steps failed, then. Installing TWRP manually, via official app or via ADB failed at this step, too. But after installing "AutoRec" everything went fine.)
3.) "AutoRec" automatically installs TWRP, but it is an older version (2.8.7.), so you should update TWRP to the latest version.
4.) Having done this, you should be able to install any CustomROM. I've installed LineageOS 16.0 and up to now, everything seems to be O.K.
Basically, I followed this guide:
https://forum.xda-developers.com/showpost.php?p=67602605&postcount=749
(Here you will also find a download link for "AutoRec".)
I applied this guide successfully to the d855TR variant, inspite of the warning in the disclaimer not to use it for any other phone than d855. According to this guide, it was designed for 30b-firmware, but my version was 20n and it worked.
Good luck!
Click to expand...
Click to collapse
Thank you very much, I will try this.
Initially, I've installed TWRP without the official TWRP App and I managed to install LineageOS 16 as CustomROM. But as I installed the official TWRP App later, strange things happened: Suddenly, I wasn't able any more to boot the system, and only the start of the CustomROM showed up, but then the phone automatically rebooted into recovery (TWRP).
So maybe, it will be safer not to install the TWRP App on the d855TR. TWRP without the "Official TWRP App" is doing fine (after re-installation).
Zymomonas said:
Hi there, I happen to own the same phone (d855TR, Android 5, v20n-global-si, Kernel stock: 3.4.0) and I've been trying for some days... But today, I have succeeded.
That's how I've got it done, finally:
1.) Root your phone using KingRoot
(I've used version 5.3.8, but the app will anyway update automatically, if you are connected to Wifi)
(I've tried a lot of other rooting strategies, too: LG One Click Root, Towelroot, Stumproot, but for this specific phone, they all failed.)
2.) Install "AutoRec"
(Initially, I left away this step, but this resulted in a "Secure Boot Error" while rebooting and the following steps failed, then. Installing TWRP manually, via official app or via ADB failed at this step, too. But after installing "AutoRec" everything went fine.)
3.) "AutoRec" automatically installs TWRP, but it is an older version (2.8.7.), so you should update TWRP to the latest version.
4.) Having done this, you should be able to install any CustomROM. I've installed LineageOS 16.0 and up to now, everything seems to be O.K.
Basically, I followed this guide:
https://forum.xda-developers.com/showpost.php?p=67602605&postcount=749
(Here you will also find a download link for "AutoRec".)
I applied this guide successfully to the d855TR variant, inspite of the warning in the disclaimer not to use it for any other phone than d855. According to this guide, it was designed for 30b-firmware, but my version was 20n and it worked.
Good luck!
Click to expand...
Click to collapse
I can confirm this works with no problems. Already updated to 3.5.1

Your Phone Is Locked Because The Payment Service Was Uninstalled

I've checked the .xml file and the lines which is described in the guides to fix this error does not exist, there is not kgagent.
I've installed a custom rom and opengapps, magisk, microg, supersu, all these flashed through twrp.
https://forum.xda-developers.com/android/general/phone-locked-payment-service-uninstalled-t4018177
SM-J530F D/S
Tartarus v.2 rom android 9.0
3.3 Twrp
Whilst waiting for help I'm going to try installing a samsung pay.apk through adb sideload. Going to try on different pc as here I get the closed error as I try to push or do adb usb, adb root or whatever.
As a side note I've noticed that I'm having issues with installing magisk, which seemingly requires to be reinstalled if installing multiple things like microg, patcher, which throws error about android pie not being supported, etc. It says that the boot image incompatible or something. Also had issue with supersu saying that the binaries are or occupied by something else whilst inside the os. Trying to copy files in file manager (twrp) throws error 1.
Edit: no success.
ClownWorld said:
I've checked the .xml file and the lines which is described in the guides to fix this error does not exist, there is not kgagent.
I've installed a custom rom and opengapps, magisk, microg, supersu, all these flashed through twrp.
https://forum.xda-developers.com/android/general/phone-locked-payment-service-uninstalled-t4018177
SM-J530F D/S
Tartarus v.2 rom android 9.0
3.3 Twrp
Whilst waiting for help I'm going to try installing a samsung pay.apk through adb sideload. Going to try on different pc as here I get the closed error as I try to push or do adb usb, adb root or whatever.
As a side note I've noticed that I'm having issues with installing magisk, which seemingly requires to be reinstalled if installing multiple things like microg, patcher, which throws error about android pie not being supported, etc. It says that the boot image incompatible or something. Also had issue with supersu saying that the binaries are or occupied by something else whilst inside the os. Trying to copy files in file manager (twrp) throws error 1.
Edit: no success.
Click to expand...
Click to collapse
1. Samsung apps wont work on AOSP.
2. Try flashing the base ROM with a base firmware that doesnt have any carrier like vodafone etc.
NecromancerViper said:
1. Samsung apps wont work on AOSP.
2. Try flashing the base ROM with a base firmware that doesnt have any carrier like vodafone etc.
Click to expand...
Click to collapse
Are you saying that tartarus v.2 is a carrier dependant rom? Any suggestions of stable / bugless rom?
I've tried several, some sound issues, others soft brick/crash, and others thread topic.

Categories

Resources