yashsingh1/xdaforums huggingface dataset:
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] autoprime:
August 6, 2017 Update:

Added support for all Windows versions

Added "pause" to Windows file.. now easier to read output

-Supports Win95 - Win10.

-Double-click auto#initroot file to INSTALL

-Double-click auto#initroot and follow on-screen prompt to UNINSTALL
​

Uninstall Notes:

If you have already downloaded auto#initroot.. redownload the files to get the newest updates.

Windows: double-click auto#initroot windows file to start... press nothing to INSTALL or press "0" to UNINSTALL

Linux: double-click auto#initroot linux file to start... press nothing to INSTALL or press <ANY> key to UNINSTALL

Mac: double-click auto#initroot mac file to start... press nothing to INSTALL or press <ANY> key to UNINSTALL

To add the UNINSTALL option into the Windows file I decided to make use of "choice.exe". This allows you to UNINSTALL auto#initroot if you press the 0 key or if no key is pressed after 3 seconds it will INSTALL auto#initroot.

choice.exe is found in most Windows builds but was removed in NT4/XP/2K/ME. If choice.exe is not found on the system the auto#initroot file will fallback into manual mode where you can press 1 to install or 0 to uninstall. If you wish to install choice.exe onto your NT4/XP/2K/ME system see HERE.

To uninstall auto#initroot without the auto#initroot script simply enter the following command while your phone is in bootloader/fastboot mode:

fastboot oem config fsg-id ""
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] DuringSummer:
Is there any possibility of installing custom fonts systemlessly?
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] onesun43:
I can't get this to work on my XT1687 AMZ with NPN25.137-35, 1-1-17 patch level. After I run the script, I get the red M logo for about 10 seconds, then black screen with 1 LED flash, then loops back to red M logo for 10 seconds, and repeat. I was trying the Aug 3rd script until I saw the Aug 6th version came out. The new script did not fix the problem. I do believe that injection exploit is working because I get this when I run the fsg-id command:

C:\Mfastboot>fastboot oem config fsg-id "a initrd=0x91000000,3437208"
...
(bootloader) <UTAG name="fsg-id" type="str" protected="false">
(bootloader) <value>
(bootloader) a initrd=0x91000000,3437208
(bootloader) </value>
(bootloader) <description>
(bootloader) FSG IDs, see http://goo.gl/gPmhU
(bootloader) </description>
(bootloader) </UTAG>
OKAY [ 0.011s]
finished. total time: 0.012s

When I try to run the flash command I get this:

C:\Mfastboot>fastboot flash initroot xt1687_potter_amz_npn25.137-35.initroot
target reported max download size of 536870912 bytes
sending 'initroot' (24414 KB)...
OKAY [ 0.531s]
writing 'initroot'...
(bootloader) Invalid partition name initroot
FAILED (remote failure)
finished. total time: 0.554s

but from what I can tell a failure is normal??

Anyone else got this working on a G5+ Amazon 64/4?
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] autoprime:
yes that error is normal. i had the wrong fsg-id offset in the xt1687 scripts. i have uploaded new ones.

if your phone has a removable battery, pull the battery to clear the memory. then boot into fastboot and run the new script/commands. if the new offsets don't work then I'm not sure.. hard to test without phone in hand.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] onesun43:
So far I've tried

0xA1100000,3437208 from 8-6

0x91000000,3437208 from 8-3

and

0xA0100000,3437208 - scratch_addr from aleph github user report and your offset

0xA0100000,1601123 - both scratch_addr and offset from github user report

Nothing has worked. I'm going to try to dig in a little further and see if I can figure out those values for myself.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] autoprime:
8-6 should be correct if using my initroot file.

the non-removable battery may complicate things. a battery pull helps clear the ram.

power the phone off and unplug the usb cable for like 5-10 min. then boot into bootloader and run the newest xt1687 auto#initroot and hopefully that should do it. the scratch_addr should be good.

and for the issue in post below.. just flash stock system and boot imgs in fastboot to restore things.. shouldnt touch data.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] ruffle.s:
Hey, your program worked amazing for my G5 Plus, but I have a problem now... it's all my fault tho :( .

I installed initroot correctly, but didn't read the no /system/ warning, and I replaced a couple of files, I also added the anti-bootloop script (with chmod +x) to my phone. When I rebooted it got stuck on the motorola logo, no bootloop or anything. I ran the Windows script again and nothing changed, so I tried uninstalling but it didn't work.

Now every time I try to boot I get a screen that says "Your device has failed verification and may not work properly.", and it starts to bootloop that message.

Is there any way to recover from this without losing my files? If only I could use adb I would be saved, but I can't find a way to do that. Help pls :crying:
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] thrasher194com:
Successful ota pull

Sent from my rooted Motorola XT1609
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] TurnaboutSavage:
I have a Moto G4 Play (XT1609) is there a custom recovery for rooting this way (TWRP or Philz)?
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] thrasher194com:
http://xdaforums.com/showthread.php?t=3453888

[TWRP][harpia] TWRP for Moto G Play

Not advised to flash any custom recovery right now. You'll be stuck in boot loop hell.

Sent from my rooted Motorola XT1609
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] mbairaq:
Hi

I have :

Phone model: motorola XT1609

Android 6.0.1; Firmware: MPIS24.241-2.35-1-3; Date: Sun Oct 16 23:02:56 CDT 2016

Version: MPIS24.241-2.35-1-3

Baseband Firmware: M8916_20250106.08.05.23R HARPIA_VZW_CUST

After install the root i have a root access but i cant reboot the device and when i need to reboot the device on BP TOOLS, the device not boot only reboot until uninstall the root.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] DuringSummer:
That's because temporary root. You'll lose root after the reboot. If you want to keep root, don't reboot. Or if you want permanent root, get your bootloader unlocked via SunShine.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] thrasher194com:
I tried Sunshine, it failed.

Sent from my rooted Motorola XT1609
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] thrasher194com:
Sent from my rooted Motorola XT1609
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] PhatP:
I've also got the Amazon G5+ 64/4 but my version is 137-33 and no system updates available, any advice to get this working on mine or how to flash a 137-35 update?
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] DuringSummer:
That's weird. Try uninstalling the root, format your phone. Don't install xposed or anything.

Also make sure you have latest version of SunShine.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] thrasher194com:
Ran that permissive script got modules for viper4androd to work now..

Many thanks!!!

Sent from my rooted Motorola XT1609
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] Alpha7d:
Anyone know how to get this working on the Amazon Moto G5 XT1687 npn25.137-33 version?

Any help is appreciated.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] sn0b0ard:
We need the initramfs image from the firmware dump of NPN25.137-33. Know where a download link is for it?
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] Alpha7d:
So I updated the Amazon Moto G5 to the correct firmware, npn25.137-35, but when I run the tool, it bootloop the phone. Am I forgetting a step? I'm using Windows
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] PhatP:
How were you able to update?
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] Alpha7d:
I downloaded the stock Amazon Moto G5 firmware from the site getdroidtips. Google it. (I would post the link but xda prevents me from doing so). Make sure it's the Amazon package, not the regular Moto G5 plus firmware.

I then extracted the files and flash them in fastboot. There should be an xml in the package that says in what order and partition to flash each firmware file in.

That's how I updated from npn25-137-33 to npn25-137-35.

But I get a bootloop when I run the auto initroot tool. I followed the steps provided but I can't get past the M logo.

Any help is appreciated.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] BillsBoy:
If I do this, will I be able to edit a system file?
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] onesun43:
I haven't been able to get it to work on my G5+ with 137.35 either. Same as you, bootloop. OP suggested turning the phone off for a while to try to clear RAM, but I haven't had time to try that yet.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] Voltz100999:
You are very welcome, sir.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] The-Marker:
Someone know how to use/install the anti-bootloop script in xt1609?
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] thrasher194com:
If you look at post#2 on the top this thread.

Sent from my rooted Motorola XT1609
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] The-Marker:
I see, thanks.

Did you know how to install systemless xposed? I already tried installing it (sdk23 v87.1 & v87.0, also both Xposed Installers, Official and Unofficial), but I only get a blackscreen after bootanimation ends
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] thrasher194com:
https://xdaforums.com/showpost.php?p=73208823&postcount=70

http://xdaforums.com/showthread.php?t=3388268

[UNOFFICIAL][Magisk][Nov 28] Xposed v87.0 - Universal Systemless Compatibility

1) Flash the permissive script in magisk

2) Flash xposed framework (sdk23) in magisk

3) install the xposed 87 apk

profit!
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] The-Marker:
I don't know what is wrong but I cannot flash the Permissive script, Magisk refuse to installing it and then suddenly crash
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] DuringSummer:
I don't think permissive script is necessary for xposed module, I installed the script for Viper4Android.

As for your problem. Try after doing a factory reset, backup your data with Titanium Backup. Do a factory reset, root, install Magisk, install xposed, reboot, install permissive script and flash Viper4Droid. Reboot.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] thrasher194com:
That script seems to have broke safe net.. but I'm fine I don't use Android pay.

Sent from my rooted Motorola XT1609
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] thrasher194com:
https://xdaforums.com/attachment.php?attachmentid=4085036&d=1490216913

Sent from my rooted Motorola XT1609
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] thrasher194com:
Xposed seems to be working on my end.

Sent from my rooted Motorola XT1609
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] The-Marker:
Wich firmware version did you have? Maybe because that I can't install the selinux script/xposed
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] thrasher194com:
im on build MPIS24.241-2.35-1-17,
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] The-Marker:
We are on the same build.

I managed to get it work and flash the permissive script, It seems that Magisk can't handle very well zips with underscores on its name

Thanks for your help :)
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] thrasher194com:
Your welcome! :thumbup:

Sent from my rooted Motorola XT1609
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] cell2011:
Tried this on my xt1609 lost WiFi and tried to reflash firmware I get bootloader slot suffixes not found throughout whole reflash of MM firmware. Think my phone is toast
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] thrasher194com:
Are you able to get back into fastboot restart bootloader? And use the rsd/Moto recovery?

Sent from my rooted Motorola XT1609
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] cell2011:
I tried rsd lite and I uncompress and flash but when it's ready it says don't have permission to flash the file. What is Moto recovery? That another tool. What version of RSD lite should i use? I have 6.1.5
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] thrasher194com:
http://xdaforums.com/showthread.php?p=73270435

Sent from my rooted Motorola XT1609
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] cell2011:
Are you talking about this? https://www.verizonwireless.com/supp...09211/#windows. Im on locked BL will this assistant still work?
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] thrasher194com:
Yes it worked from my locked bootloader .

Sent from my rooted Motorola XT1609
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] cell2011:
It could not be repaired it said after it installed and eveything. I was in fastboot. Any ideas? I keep getting Moto screen bootlooping. i think i need to unroot but how you suppose to do that in 3 secs? I pressed 0. I think the cache needs to be erased etc. Im back on i pushed all kinds of things to the phone from Moto tool AIO and even pushed su and boot logo and then i did this method again and i was factory reset. Thanks for your help Thrasher
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] thrasher194com:
Unroot -

fastboot oem config fsg-id ""

Fastboot reboot bootloader

Factory reset

?

Sent from my rooted Motorola XT1609
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] Voltz100999:
I am working on a BL unlock with DuringSummer, basically, I may be able to use the TrustedZone exploit. If I could just make it a one-click method. aboot is unflashable, I have tried editing it, trust me. So if I could somehow blow the QFuse that corresponds the the BL it may be unlocked this way. But compiling it into a one-click solution is the hard part. Let me know if you can help with this project. If you happen to read this, anyone at all, let me know if you can offer some kind of higher knowledge of bootloaders. I know some of the basics. Any help will be greatly appreciated.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] thrasher194com:
Your very welcome!

Sent from my rooted Motorola XT1609
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] cell2011:
I saw this fastboot oem config fsg-id "" but it still would say slot-suffixes not found. I just messed with the AIO tool and different things and the root for locked bootloader. It factory reset and my screen and apps were all back. UPDATE !! If you turn phone off go to fastboot in phone and redo do with this one again auto#initroot_xt1609_harpia_vzw_mpis24.241-2.35-1-17
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] MFKilla:
this root can modify /system files?
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] MrStee97:
no, please go back to the beginning of the post and actually read, everyone is saying NOT to modify /system.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] Voltz100999:
For the love of everything holy, DO NOT TOUCH THE SYSTEM PARTITION. Read the beginning of the post to see that. READ, people, READ.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] krison01:
well if the SCRATCH_ADDR for the g5 plus is good maybe its the initramfs, it looks the same in IDA

here is the POTTER_AMZ_NPN25.137-35_cid18 boot.img

https://drive.google.com/file/d/0B2fKBL2i8nKrVzBTZUhlaUVfVE0/view?usp=sharing
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] RandoCardrissian:
I cannot get my Amazon G5+ to work to with this jailbreak, and im on NPN25.137-35 and using the august 6th jailbreak. I get bootlooping until i uninstall initroot. I see you guys are figuring out how to fix this jailbreak, good luck!
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] lnzf:
why my amazon g5 plus was not success

Always on "M" Boot interface repeatedly

I had install the 5.1.1 apk vesion 13.3 but magisk is display "notinstall magisk" and "not root"

Vesion NPN25 137 35

and start the Bat and reboot in "M" repeatedly:angel::angel::angel:

did I anyting error

someone can help me
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] vibraniumdroid:
What would happen if you used the twrp app to flash twrp?
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] Voltz100999:
Then you would have twrp, but wont be able to boot into it, assuming you have a locked BL. I have tried, trust me.

Also, side note, anyone know how to echo statements into aboot to unlock the bootloader manually?

Remember i am working on that.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] GNAzi:
It is not root! It isn't working! Also, bootloop haven't fixed.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] thrasher194com:
What device??

Sent from my rooted Motorola XT1609
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] GNAzi:
XT1254
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] thrasher194com:
Are you stuck in boot loop?

Pull battery

Adb reboot bootloader

Fastboot oem config fsg ""

Fastboot reboot bootloader

Factory reset from recovery or Moto recovery app

Profit!

Sent from my rooted Motorola XT1609
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] DuringSummer:
If he has XT1254, he can't pull out the battery.

[MENTION=7516091]GNAzi[/MENTION], can you get into bootloader menu? You can do that by pressing and holding Power+Volume Down at boot.

Once you're in bootloader, connect your phone to your PC, and open initroot file. Then just press 0 to uninstall.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] GNAzi:
bull sh1t! I know how to Uninstall that sh1t. I know how to get into bootloader. Root does not work for XT1254. Bootloop did not fix.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] seri0099:
can i install root with this script on moto g5 plus xt1687 amazon NPN25.137-33?
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] DuringSummer:
If you ran the script and booted into phone normally then root did work. Did you install Magisk?

What bootloop did not fix? This root does not survive a reboot.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] TurnaboutSavage:
Has anyone managed to unlock the bootloader of this device yet (XT1609), root is great and all, but I would really like it if the bootloader was unlocked do we can get a custom recovery (TWRP/Philz/CWM) I'd prefer TWRP, but bill take what I can get.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] DuringSummer:
Have you tried SunShine? I'm not sure whether it supports your device or not, but as of now it's the only way to unlock BL for some Moto
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] seri0099:
today i update my moto g5 plus from NPN25.137-33 to NPN25.137-35 and try to install root, but after i click auto#initroot.windows.bat my phone stuck on M logo and after 10 seconds it again reboot to M logo...after that i uninstall it and it booted...what is the problem? how can i root my phone please help me :( sorry for my bad english...
[OnePlus 5 Questions & Answers] Ascertion:
I'll be driving and sometimes Android Auto just stops...says device not connected to my car. I think it is a bug with RAM management. Is anyone else getting this issue? Only occurs sometimes, not every time and my drive everyday can vary from 30-45 mins from and to work!
[ZenFone 2 Q&A, Help & Troubleshooting] Iamsoda:
I screwed up and restarted the phone when it erasing cache. Got stuck into booting into error screen with either recovery or regular boot. Tried a dozen methods to unbrick phone and now I am stuck rebooting into fastboot only. The recovery doesn't work either anymore. I also tried the method with Xfstk and the device wasn't recognized even though windows sees it in CMD. I'm out of options and I really need to fix this phone tonight. Any help?
[ZenFone 2 Q&A, Help & Troubleshooting] kenbo111:
Try "fastboot erase cache" then reboot
[ZenFone 2 Q&A, Help & Troubleshooting] Iamsoda:
Ok now after doing that and reinstalling the recovering.img if I try to boot recovery, it starts installing updates, stops and says error.
[Lenovo Vibe K4 Note Questions & Answers] tchapa:
Hello please that can help me I am totally lost ... my phone lenovo vibe k4 note after 4 months of normal use ... suddenly I notice that the charge percentage thinks and descends quickly like a crazy Then it loads itself ... and again the pc can not detect it in normal mode or the mode of download (by the method of flash tool) ...

:rolleyes:

:eek:

:(

:confused::(:crying:
[Tilt, TyTN II, MDA Vario III General] DaveShaw:
Hi,

[RANT]

I like many of you, love to upgrade my phone. New apps/Roms every other day. But I am having trouble with this process and I was wondering if any of you have experienced the same.

I live in an area with poor Coverage and O2 gives my about 2 bars at home where as my girlfriends network (Orange) has zero coverage.

She often borrows my phone when at home (or when out and about, if hers is on charge / left in the car etc. etc.)

The problem I am having is that every time I add a new app or flash a Rom (recently Dutty V4, PocketCm and S2u2) I get nagged with, "what have you done that for?", "you've changed you phone and now I can't use it".

Any problem with my phone, no matter how little or unrelated to the software it is always my fault for filling the phone full of crap. "Why can I leave it alone?" she asks. - She just doesn't get it.

My current solution is http://www.hackaday.com/2007/10/23/cell-phone-taser/ . Does anyone else suffer from similar problems. If so can you please post you less violent suggestions here...

[/RANT]

:D:D

P.S. I am not sexist, anyone who complains about what you do to your phone counts.
[Tilt, TyTN II, MDA Vario III General] FloatingFatMan:
Oh man, my missus ALWAYS moans when I change even so much as a plugin on my today screen! Really annoys me! :p
[Tilt, TyTN II, MDA Vario III General] yzf750:
Simple solution. Tell them (spouses and girlfriends) to buy there "own" phone. I kind of like mine all customized, once someone asks if they can make a quick call, they never ask again cause they cant figure out how to use it most of the time.
[Samsung Galaxy SL i9003] Achachin:


I tried to install cynaegonmod12 on my samsung gt i9003...and the zip file is signed and certified trusted so android recovery mode wont have issues installing this zip file but it failed but whats more weird is this

First....

Verifying

Signature passed

E:signature verification error

Can someone help me with this ??
[Samsung Galaxy SL i9003] smsry:
From where did u get the CM12 file in the frst place???

There is'nt any CM 12 for the gt i9003.......I dont think so that there is one......

Link it...... I will check it on my i9003.....
[LG V10 Q&A, Help & Troubleshooting] Faridgh98:
Hello Guy !

Magisk 13.3 its compatible with LG v10 nougat please ?
[General Questions and Answers] n357w:
Hello everybody, about 6 hours ago I attempted to flash my first ROM and I believe I am experiencing a bootloop or something similar.

The device (alcatel idol 3 5.5) starts to boot up but never finished booting

the ROM I installed is BlissPop (not exactly sure which version but I believe it is the latest one) but If i remember correctly the build is "unofficial" so I am not exactly surprised I am experiencing this.

Is there a way to fix this, and if so, how? At the moment I only have access to a quite outdated mac machine and I already tried sideloading a different ROM but I get a strange error that my adb's version is too old (it requires something above 1.0 while mine is something above 3.0). I've tried using a few different download locations for it but they all seem to do the same.

I have also done a TWRP backup before flashing but I have no idea how to recover it since I cannot "boot"/flash the TWRP recovery program without adb :(

Any help or idea how to solve this would be greatly appreciated
[General Questions and Answers] mewilson66:
I rooted, unlocked, and loaded a ROM on my last Note 3 (Verizon) and need to do it again. I have just one problem. I am old and have sometimers disease and I forgot how I did. LOL. Would someone mind telling me the best ROM and a step by step on how to root, unlock, and install ROM. I would be forever grateful.