yashsingh1/xdaforums huggingface dataset:
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] Yair Bahena:
i have this problem

hab check failed for boot

failed to verify hab image boot

failed to validate boot image

Error: failed to pass validation, backup to fastboot

fastboot reason: fall through from normal boot mode.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] kenoni:
Just run these in a console when connected with adb to the phone :

pm disable com.amazon.phoenix

rm /data/data/com.android.systemui/files/boot.ad*

pm disable com.gotv.nflgamecenter.us.lite

pm disable com.vznavigator.Generic

pm disable com.amazon.widgets

pm disable com.amazon.clouddrive.photos

pm disable com.amazon.kindle

pm disable com.amazon.dee.app

pm disable com.amazon.drive

pm disable com.imdb.mobile

pm disable com.goodreads

pm disable com.audible.application

It is mentioned in the first comment of this thread.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] DuringSummer:
At this point, your best option is SunShine. Unless you can survive on temp root, then that's fine as well.

You won't get free bootloader unlocked or permanent root. Why? Because developers are not interested in this device anymore.

The exploit exists, the CVE paper has detailed information on how to make it work. The exploit for Bootloader unlock exists. The developers of sunshine made it public a while back.

And to be honest, if there was going to be a permanent root tool, we would have it by now. Auroprime could've done it quite easily by simply modifying the current autoinit root. It's not difficult if you know what you're doing.

But he didn't. Because he simply has no interest in it.

So the chances of us getting permanent root or bootloader unlock are close to zero. So don't hold your breath. It won't happen. Unless a known developer picks the project up, which seems unlikely since SunShine already exists.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] tgw1993:
touch screen unresponsive

touch screen unresponsive after i run script. Any suggestions?
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] DAAH•HACK247:
That really sucks but all take is few us who r truly ready step up get few together put work in an piss everybody off add few R own tweaks an run it
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] Voltz100999:
This may not be what you want to hear right now, according to [MENTION=7961519]DuringSummer[/MENTION], but I have left it. I'm tired, I'm annoyed, and quite frankly, almost to the point of insanity. It pisses me off that I have to say this, but I'm done with working on this. Trying to juggle this and real life is quite literally impossible. I'll tell you what I have managed to figure out in the month I have been absent, the bootloader is unlockable, it just requires modifications to the aboot file, which won't work, the bootloader will see this and reject it. I have also figured out that root for the other devices could be possible by taking their respective boot images and compressing them with magisk injected. I never claimed to be a Linux developer, I just know a bit. So, if anyone else is interested in continuing this, go ahead. I'm tired, I'm annoyed, I'm quite literally insane. It hurts me to type this, it hurts me to admit that I couldn't be helpful, and most of all, it hurts me that I failed all of you on this thread. Say what you will, but just know I actually tried. Maybe someone else will get lucky and get it. But as for me, I'm done working on this, I've been at it since either August or September. Sorry to everyone who believed in me. And most of all, I'm sorry to myself. I hope you will understand my situation and be rational people about it. Goodbye, moto, Voltz100999 signing off.

---------- Post added at 11:53 AM ---------- Previous post was at 11:52 AM ----------

I'm truly sorry, and it's not because I lost interest, it's simply because I'm tired of juggling life and this.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] xblaz3x:
Don't you dare be sorry for anything! I've been watching this thread from the beginning and you are one of the biggest contributors that has done a lot! You're the one that brought temp root and this whole new system with initroot to my attention. You've gotten me interested in systemless anything really. For all of your work I am TRULY grateful for your dedication and hard work! You deserve every last bit of praise that's coming your way.

On another note, I've been messing around with my Arduino and jtag/uart. I almost have my jtag rig completed and a serial rig will not be hard at all. I recently dropped my xt1609 so when I get another phone, I'll be tearing this one apart and playing with this phone on the chip side. I can't promise anything soon but if/when I do find anything out, I'll be sure to PM you and update this thread for sure!
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] DB126:
Hey, you learned a lot and left a trail of useful information that others will benefit from. Unlocking the bootloader via exploit is nearly impossible for all the reasons that you discovered. Yes, there are occasional (rare) successes when manufactures punt on due diligence and get sloppy. Leveno/Moto has been burned before (hello, Sunshine!) and likely won't make the same mistake again.

You failed no one, especially yourself. Learning is an excise in failure. Think about everything you have accomplished in life and how many tries it took to get there. Recognize you were going up against a global team of engineers with expertise cryptology. The David and Goliath fairy tale rarely plays out in real life.

So now it's time to take care of yourself, regain confidence and apply everything that you learned over the past 6 months to the next challenge. That may be a private affair or one you choose to publicly share. It may or may not have anything to do with phones, Android or technology in general. Learning, failing and picking yourself up to fight another day are what make us all a little stronger, a little wiser and ultimately a whole lot happier.

Enjoy some time off.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] Voltz100999:
Thanks for the kind words. I hope I can enjoy some time off. But there's a guy jackhammering the road because it's frozen over right now.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] DuringSummer:
The fact that you tried is what matters. And sorry? What are you sorry for?

Hey I tried too early on, but left it because it wasn't something I could do. But you kept on going for quite some time, which is something I admire.

So Good Job :)
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] fischerms:
SUNSHINE app cannot root the XT1609 variant, SUNSHINE did work on the Verizon HTC Desire 626 I have but what ever encryption used by Verizon/Lenovo overlords on the XT1609 blocks the SUNSHINE app from rooting. I have have tried every few weeks with a new version of SUNSHINE with the same failure message. With XT1609 you do not "own" the phone. Also with the XT1609 you will not see Android 7.1 from Verizon...
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] Voltz100999:
Thanks for that man. It really did get quite vexing working on it for so long. But I'm honestly glad I at least tried to do it.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] motolio:
Need help. I rooted and got carried away. I tried editing the stock YouTube and bricked my xt1609. After reinstalling and flashing all stock firmware (also tried Verizon repair software), it refuses to ask for Sim Unlock code (for my straight talk Sim).

Could this be something I disabled via adb before? Any help is appreciated.

Update: Turns out the MEID/ IMEI got zeroed out. Is there anyway to repair it? I found aguide using MTK Engineering mode, but I beleive I have snapdragon.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] TurnaboutSavage:
I've been gone for about 6 months now. How has progress been. Do we have root for XT1609, a custom recovery, SuperSU?
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] fischerms:
No ROOT for XT1609 Verizon. SUNSHINE and KINGROOT have been a NO go. Also no Android 7.1 from Verizon.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] Voltz100999:
No, sadly. I had too much going on and had to stop my research.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] mdanishas:
[IMG="please help me"]https://ton.twitter.com/1.1/ton/data/dm/955164735711965188/955164502361890816/0X4fFHZW.jpg[/IMG]
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] bobturismo:
I flashed a stock img and then re-ran the auto#initroot
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] bobturismo:
I just cannot figure this out, I've spent two whole days screwing with this.

I run the autoroot, install magisk, then I made the sh file as per

but I moved the file first to service.d, and then instead of chmod boot.sh +x (which gave me errors), I did chmod +x boot.sh, but it didn't give any sort of response.

It'll boot into the bootloader with several errors about hap and boot image I think.

I flash a stock img and it then boot loops on the logo, the first time, I reran the autoroot and it booted, the second time I rant the autoroot and then uninstalled it and it booted

*Sigh* so much time wasted

EIDT Now I cant make or receive calls, just ends the call immediately, data and text work
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] tayyabshah:
Yes
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] LevanG:
hello,

I have installed #initroot successfully on my XT1254 but then I decided to uninstall it but when I rebooted my phone into the Fastboot mode it failed with the uninstallation process. I also tried to disable #initroot with this Code: fastboot oem confirm fsg-id “” , but I have received this error:

https://prnt.sc/ib3571

then I tried to reinstall #initroot but without success.

now I'm stuck in the Fastboot mode, I can't boot or factory reset my phone.

Please Help! how can I repair my phone? can I reinstall the stock rom somehow?

thanks in advance for your answer!
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] QWZR:
Have you tried flashing boot img from stock firmware?
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] LevanG:
I think I found an error in the instruction which is located in the second post end it was the main reason that I have almost bricked my phone:

it must be: fastboot oem config fsg-id ""

yes, I have managed to flash the stock firmware but it was stuck in bootloop and was rebooting continuously, so I have installed #initroot from Fastboot which helped me to boot my phone but I couldn't complete the setup because of the Wi-Fi error, then I went to Fastboot mode and disabled #initroot and at last I flashed the Stock firmware again. now my phone works fine.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] QWZR:
If anyone is still trying for unlock I'm beginning work. I have some experience but if anyone knows what tools to unpack boot imgs that would help.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] kenoni:
Intrested in unlocking amaxon xt1625

Here http://bits-please.blogspot.md/2016/02/unlocking-motorola-bootloader.html is a script that does that but i think it needs to be adjusted.

https://github.com/laginimaineb/unpack_motoboot/blob/master/unpack_motoboot.py

that should extract the boot image.

OR

http://newandroidbook.com/tools/imgtool.html
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] ABN85:
Can anyone tell me how to undo the OTA block command since I'm unrooted and this device is getting 7.1.1 now?
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] jam0688:
does this not work for the XT1609 verizon variant because it has the initroot for it but i cannot get the script to work. when i double click on it and start it it never boots into initroot or whatever its suppose to do
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] azureliar:
if you are using Mac OS high sierra, the fastboot in OP's package (under Darwin folder) needs to be replaced with one downloaded from Google Official (updated to solve this bug).

developer.android.com/studio/releases/platform-tools.html

26.0.1 (September 2017)

Fixed fastboot problems on macOS 10.13 High Sierra (bug 64292422).

Otherwise the script stuck at the 1st fastboot command

-send fastboot oem config fsg-id a initrd=0x91000000,206419

I did not search the thread to make sure no one has posted yet; so sorry if it's duplicate.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] Axesboy:
Does this work with Verizon moto g4 play ? Sorry if this ques already been asked..
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] TurnaboutSavage:
Well, the Moto G4 Play has gotten android 7.1.1, does that affect our chances of getting root on this device?
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] Salik Iqbal:
By updating too 7.1.1 you have lost all hope for root, even temporary root is now history.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] Ubi Irfan:
How i root my moto g4 play without unlocking bootloader?
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] ConfluxReality:
I've been searching for a way as well, I haven't come across anything that works. What security patch and OS version are you running? (March 1st 2018, Nougat here)
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] thalwegz:
Is there or will there be a version of autoinit for Moto G4 Play (XT1609) running Android 7.1.1? I tried the Aug 17 version and it won't flash.

2102d sudo ./auto#initroot.linux.sh

#initroot and cve-2016-10277 by https://twitter.com/roeehay

magisk by https://twitter.com/topjohnwu

auto#initroot by https://twitter.com/@utoprime

.

..

...

....to uninstall auto#initroot, press <any> key within 3 seconds

...

..

.

-start auto#initroot

-send fastboot oem config fsg-id a initrd=0x91000000,2064196

...

FAILED (remote failure)

finished. total time: 0.017s

-send fastboot flash initroot xt1609_harpia_vzw_mpis24.241-2.35-1-17.initroot

target max-download-size: 256MB

sending 'initroot' (19531 KB)...

OKAY [ 24.421s]

writing 'initroot'...

(bootloader) Permission denied

FAILED (remote failure)

finished. total time: 24.431s

-send fastboot continue

resuming boot...

OKAY [ 0.097s]

finished. total time: 0.097s

-finish moto boot

Thanks
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] kanaan360:
would this work on the verizon or at&t models of the moto E 2015?
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] Pi r Silva:
Xt1603 2016
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] Fourcus:
nevermind I'm a dumbass
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] elandaetam:
The root works for me at the first start, but when restarting it causes boot-loop, so what I did is delete the app's that I did not like, and activate certain configurations and remove the root, does anyone else get this?
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] MotoJunkie01:
[MENTION=2684188]autoprime[/MENTION], this is a badass guide. Thank you for your hard work and contributions on this. Flawless on my xt1609.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] Hero2457:
Did you do this on the April security patch of the device?
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] MotoJunkie01:
No, I haven't downloaded and installed that OTA package, for fear that it may patch up the exploit provided in this thread, and thus prevent temp root. Perhaps another member who has tried this on the April security patch build can chime in and verify whether or not the exploit works on that build.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] alcamus06:
Is it safe for me to try it on my XT1650-05 Moto Z ?
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] AndroidNazi:
Has anyone tried flashing the xt1607 bootloader onto an xt1609 using flash fire and temporary root? Would that allow us to use other methods to root?
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] Skyline3499:
auto initroot won't do anything on xt1254 mcg24.251-5-5

HI, I'm following your instructions exactly and when i go into fastboot and run the .bat file it just says

-start auto#initroot

-send fastboot oem config fsg-id "a initrd=0x110BEE50,2483340"

and nothing happens.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] klabit87:
Did you get anywhere with this?

I've started looking into it and have found the unlock functions in the aboot.mbn.

Just need to find the proper qfuse address for the unlock and edit the alohomora exploit. I think it will work with the right addresses.

Nevermind, just read the entire thread.

I will look at this in my spare time but no promises.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] Sajid jamali:
Why update in error
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] Sajid jamali:
Root Moto G4 play
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] alex 1032:
me sirvió al principio, pero cuando el celular se apagaba no queria volver a encender normalmente, tenia que volver hacer el procedimiento del "root" mediante el cmd, para que volviera a encender, pero llego en un momento en que no encendio normalmente, ahora solo se queda en modo fastboot, ya he descargado muchas roms para corregir el dispositivo pero no ha funcionado, marca (Start up failed) (version downgrade for boot) (failed to validate boot image) (ERROR: failed to pass validaton, backup to fastboot)

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

me sirvió al principio, pero cuando el celular se apagaba no queria volver a encender normalmente, tenia que volver hacer el procedimiento del "root" mediante el cmd, para que volviera a encender, pero llego en un momento en que no encendio normalmente, ahora solo se queda en modo fastboot, ya he descargado muchas roms para corregir el dispositivo pero no ha funcionado, marca (Start up failed) (version downgrade for boot) (failed to validate boot image) (ERROR: failed to pass validaton, backup to fastboot)
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] Faateh:
#anti-bootloop -- allow harpia to reboot without computer

printf '\x31' | dd of=/dev/block/platform/msm_sdcc.1/by-name/utags bs=1 seek=90

These scripts only work if you echo them in /service.d. Maybe some encoding error if you put it from text editor or windows. Learnt the hard way.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] ivantyr:
after trying the scripts and installing the magisk manager app I get working root access but my Magisk Manager doesn't show any modules I can install, I'm trying out older and slightly more updated versions of the apk but nothing shows up

There's an option to clear the repo cache to display all modules again but that doesn't solve my issue
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] QuantumXDA:
MagiskManager v18.0

Has anyone gotten this to work on Magisk v18.0? I installed Magisk before initroot and could launch the app, download the file, etc. But after booting with initroot the app crashes with the generic 'Magisk Manager has stopped' error. Do I need to downgrade to v5.1.0 as listed in the instructions?

Edit: Magisk v18.0 contains Magisk Manager v6.1.0
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] newocelot2005:
is it possible use INITROOT fo rooting XT1609 NPIS26.48-43-2 ?

Thanks !
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] autoprime:
nope, the public initroot exploit used in this thread has been patched.

this is answered in the second post of the thread...

see screenshot below

not saying the phone is no longer hackable... but no longer possible with this method.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] Pinshooter:
I have been trying to make this work, but no luck. I have Magisk Manager loaded but it tells me that Magisk is not installed. I can not seem to get Magisk installed

on my Droid Turbo XT1254. It's an older phone running the MCG24.251-5-5 build. I really would like to get it unlocked and rooted for some ap experimentation

and just can't get past loading Magisk. Can anyone help? Thanks.

Edward
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] Hckymstr19:
Same thing for me and whenever i reboot in fastboot and then double click autoinitroot it never goes past the "send fastboot oemconfig...." doesnt seem to do anything. Any tips?
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] The-Marker:
It is possible to update Magisk to v18.1?
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] swamee:
Since I'm rooted in unlocked why then can I not flash a custom recovery? I find it hard to believe that with this phone which is my seventh Droid turbo to unlock and customize all of the TWRP downloads are corrupted. I also wonder why this phone has to boot loop when no other one has. Yeah I've got nothing but questions how then am I supposed to boot into recovery if it only boots in the boot loop or reboots unrooted? The only way to reboot the phone is with the computer using the script and that boots into nothing but system. If you can answer one of these questions I'd be a little happier about this
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] krzee:
C:\Users\k\Downloads>fastboot oem config fsg-id "a androidboot.bar=1"

...

FAILED (remote failure)

finished. total time: 0.007s

confirmed failure, unfortunately
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] Guryamp:
Hello!

I was hoping to use this method in order to use an app that requires root (Link2SD) so I can turn another app (GPS Joystick) into a system app and then go back to normal. Problem is, after I reboot, the app that was supposed to be a system app is now disappeared. Trying to play PoGo from a remote part of the country is no fun without some extra tools.

Any suggestions on if there is a way around this?

Thanks
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] Taimoor0544:
The Magisk Boot loop Fix Script you given Is not working on My Motorola Xt1254 it has the Latest Patch, my Moto Goes bootloop ,, Am I missing something???
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] Formingus:
It will not work on 7.1.1 XT1609
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] autoprime:
as stated in post#2 of this thread, auto#initroot works on xt1609 build "MPIS24.241-2.35-1-17" and earlier.

if you've updated your phone to anything after MPIS24.241-2.35-1-17 then you won't be able to use this method. Android 7.1.1 seems to be one of these newer software builds that has patched this method.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] autoprime:
I know this response is many months old but just seeing it and wanted to get the answer out there should it come up again (it's possible it already has earlier in the thread)...

the bootloop fix uses a specific offset in the utags partition that the harpia (moto g4) devices were using.. it's likely that the offset address for the XT1254 does not match and therefore why the script isn't working for you.

XT1254 support was mainly added as a very temporary (1-time use) method for turbo users so that they could unlock their phone with Sunshine. There was never any focus on Turbo users continuing to use the temp root. I do not own a Turbo so was never able to confirm what offset would be needed. If you want to dump your utags partition and send it to me in PM I could possibly note the offset that Turbo users would need to avoid the bootloop when they reboot their device.

Also, my entire response is assuming that the temp root is working properly for you and you're just running into a bootloop when you try to reboot your device later on (to normally fix this the phone needs to be connected to a computer to send a fastboot command to clear the temp root settings). The "bootloop fix script" is a replacement for needing to send the fastboot command to get out of the bootloop when you reboot your phone.

If you're getting bootloops because auto#initroot isn't even working... then your phone is either not on the specific needed build "MCG24.251-5-5" or you're doing something wrong and I'd suggest reading over post #2 and the rest of this thread.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] Zulkarneyn34:
please share pictures for installation. my phone is xt1254 droid turbo...