yashsingh1/xdaforums huggingface dataset:
[Moto G6 Guides, News, & Discussion] CorpChAoS:
Latests FW as of 7/24/2020

I have been able to capture the latest FW from Lenovo for the xt1925-6. I don't know where is the best place to upload this FW. I am considering making a post that guides a user on how to restore the Moto G6 back to stock. If you need the latest FW shoot me a PM and we can figure out a place I can upload the full ROM.

BUILD REQUEST INFO:
SW Version: ali-user 9 PPS29.118-15-11-16 3afd9 release-keysM450_23.31.10.89R
Modem Version: M450_23.31.10.89R
FSG Version: FSG-8953-16.128
MBM Version: MBM-2.1-ali_retail-5e077487fa-200423
Build Fingerprint: motorola/ali/ali:9/PPS29.118-15-11-16/3afd9:user/release-keys

VERSION INFO FOUND UNDER 'ABOUT PHONE' SCREEN:
System Version: 29.281.4.ali.retail.en.US
Model Number: moto g(6)
Android Version: 9
Build Id: PPS29.118-15-11-16
SW Display Build ID: PPS29.118-15-11-16
Build Date: Thu Apr 23 11:45:33 CDT 2020

OTHER MISC VERSION INFO:
Subsidy Lock Config: slcf_rev_d_default_v1.0.nvm
Regulatory Info (eLabel): regulatory_info_default.png
Blur Version: Blur_Version.29.281.4.ali.retail.en.US
Version when read from CPV: ali-user 9 PPS29.118-15-11-16 3afd9 release-keys

AB Update Enabled: False
Full Treble Enabled: True
[Moto G6 Guides, News, & Discussion] WoKoschekk:
https://play.google.com/store/apps/details?id=mega.privacy.android.app

https://androidfilehost.com/

https://sourceforge.net/

https://drive.google.com/drive/u/0/my-drive
[Moto G6 Guides, News, & Discussion] CorpChAoS:
Give me a few hours to get back to the machine. I know Mega has strict quotas. I suppose Android File Host will be my best bet.
[Moto G6 Guides, News, & Discussion] WoKoschekk:
No need to hurry now... I don't need the firmware.

Just wanted to give you a few options for your upload. ;)
[Moto G6 Guides, News, & Discussion] nabril15:
Is PPS29.118-15-11-16 still the latest firmware?
[Moto G6 Guides, News, & Discussion] WoKoschekk:
Which carrier/software channel?

If you would like to check for updates then visit this site: https://motoota.lolinet.com/guid.php

1. line: open terminal app and type

getprop ro.mot.build.guid

or open the file under /oem/oem.prop and copy the hash under ro.mot.build.guid and paste it.

2. line: your carrier/channel, e.g. retus, retin, ...

3. line: left blank

Shouldn't there be any OTA for your build you'll get an error message.
[Moto G6 Guides, News, & Discussion] CorpChAoS:
Two days ago, LMSA was still providing PPS29.118-15-11-16
[Moto G6 Guides, News, & Discussion] nabril15:
Thanks

I'm using it on simple mobile, I bought it from Tracfone, so I'm not sure what carrier to enter in that website.
[Moto G6 Guides, News, & Discussion] WoKoschekk:
Open settings > system > about phone > software channel
[Moto G6 Guides, News, & Discussion] nabril15:
Gutten afternoon Woko

I can download a terminal app to execute those commands on the UNROOTED phone, right? Or do I have to adb into it from a pc?
[Moto G6 Guides, News, & Discussion] WoKoschekk:
You need root permission to execute the command via terminal app. But it's possible...

1. ...to execute the command via ADB

adb shell getprop ro.mot.build.guid

- or -

2. ...to install a root fileexplorer, e.g. https://play.google.com/store/apps/details?id=nextapp.fx and open the mentioned file with it. It's read only and should be no problem.
[Moto G6 Guides, News, & Discussion] nabril15:
After all that, there is no update. Oh well, at least i know where to look thanks to you. I don't suspect that this phone will get many more..

Are you a fan of the band Rammstein, by chance?
[Moto G6 Guides, News, & Discussion] WoKoschekk:
Definitely not!! :D
[Moto G6 Guides, News, & Discussion] mlalahoi:
Hi, did you get this uploaded anywhere? I am trying to fix the "no signal" problem with a reflash to recovery and need the latest firmware to get around "security downgrade" issue as I had already (stupidly) upgraded via wifi. THanks so much in advance!!
[Moto G6 Guides, News, & Discussion] nabril15:
Noone downloaded anything because we didn't find an update to download.
[Moto G6 Guides, News, & Discussion] CorpChAoS:
Use the Lenovo Recovery and Smart Assistant tool if you can't get these files to work. Look in the 'tools' folder for proper ADB and Fastboot.

https://androidfilehost.com/?w=files&flid=316531
[Moto G6 Guides, News, & Discussion] WoKoschekk:
Your software channel is »reteu«.

Your latest build: XT1925-5_ALI_RETEU_9.0_PPSS29.55-37-7-10_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip

---------- Post added at 09:47 PM ---------- Previous post was at 09:08 PM ----------

Do you need a script with all commands to lock your device?
[Moto G6 Guides, News, & Discussion] meiousei:
Hi, I'd like to know if this method works with Moto G6 model XT1925-1, updated to Android 9 (PPSS29.55-37-7-10). I have a lot of stutters and hanging while using the phone and doing some research I've found out it might be the update to Android 9. So I'd like to go back to stock (Android 8).

Thanks in advance
[Moto G6 Guides, News, & Discussion] WoKoschekk:
It's not recommended to downgrade your device to Android 8 since you will lost your wifi connection.
[Moto G6 Guides, News, & Discussion] meiousei:
Dang, that's not good news. However, this guy seemed to do it: https://xdaforums.com/t/downgrade-from-pie-to-oreo.3920715/#post-79323138

If it's not recommended, do you know any method to avoid hanging and stutter in Moto G6? It's driving me nuts by now...

https://www.reddit.com/r/MotoG/comments/cr9k5u

English Community-Lenovo Community
[Moto G6 Guides, News, & Discussion] WoKoschekk:
After Pie was released a lot of people downgraded their devices back to Oreo. But at this time they all got problems with their wifi connection. Just try it, maybe things have changed in the past months.

Otherwise you could try a custom ROM??
[Moto G6 Guides, News, & Discussion] meiousei:
It seems I have two options in front of me: Custom ROM and a workaround with the stock ROM I have right now. Thanks for your input and sorry if I break the topic for the thread!
[Moto G6 Guides, News, & Discussion] ludespeedny:
So I was able to get twrp and pixel experience installed and liked, but it wouldn't work on my carrier, so I need to go back to stock. I did the info here: https://xdaforums.com/t/...e-to-root-magisk-and-return-to-stock.3914228/ and got the stock image and recovery installed, but cannot get the device back locked. Can anyone help?

FWIW: I got the latest stock rom from here: https://mirrors.lolinet.com/firmware/moto/ali/official/RETAIL/

and think my device is the 1925-6

And my phone is this model: https://www.bestbuy.com/site/motoro...-phone-unlocked-black/6305589.p?skuId=6305589
[Moto G6 Guides, News, & Discussion] WoKoschekk:
Why do you want to relock the bootloader? You have to flash the complete current stock firmware for YOUR SOFTWARE CHANNEL! Do not use a RETAIL version or sth like that.

When flashing is complete enter

fastboot oem lock

and follow the instructions given by your bootloader.

You'll get some errors like "still signed XY image required". That means you have to flash the requested single image again > enter oem lock command > "still another signed image required" > and so on...

I'm not sure but I think you need to flash system.img, boot.img and vendor.img a second time after you flashed the complete stock ROM. But you must take care not to enter any other commands than the requested ones! Otherwise you have to start a new relock attempt.
[Moto G6 Guides, News, & Discussion] ludespeedny:
Yeah, I just tried the RETUS latest from here: https://mirrors.lolinet.com/firmware/moto/ali/official/RETUS/ and the flash oem lock bat from here: https://xdaforums.com/t/cant-relock-bootloader.3825696/ and didn't work. Attached is my output.
[Moto G6 Guides, News, & Discussion] WoKoschekk:
Try to start by flashing your full ROM first! Then flash the single requested images. This is the way I was able to relock my G6.
[Moto G6 Guides, News, & Discussion] WoKoschekk:
use this script
[Moto G6 Guides, News, & Discussion] ludespeedny:
Yeah, that is what I used when I got that output. How do you do the single requested images?
[Moto G6 Guides, News, & Discussion] WoKoschekk:
I switched commands in the right order for you. Use that script above.
[Moto G6 Guides, News, & Discussion] ludespeedny:
Ok. I'll try that. This is what I have been running first to get a fresh install, then reboot to bootloader and then run the flash_oem_lock.bat. Is this correct.
[Moto G6 Guides, News, & Discussion] WoKoschekk:
Only use the script I attached above. You don't need any other commands, it's all included in my script.
[Moto G6 Guides, News, & Discussion] ludespeedny:
Ok thanks. I'll give it a go.
[Moto G6 Guides, News, & Discussion] ludespeedny:
No luck. Says: Still require signed system.img and/or oem.img
[Moto G6 Guides, News, & Discussion] ludespeedny:
I am not rooted, but that shouldn't matter since we are flashing stock images correct?
[Moto G6 Guides, News, & Discussion] WoKoschekk:
Your ROM includes

11 parts of system.img

(0-10) but the script is flashing 10 (0-9).

Add the line

fastboot flash system system.img_sparsechunk.10
[Moto G6 Guides, News, & Discussion] ludespeedny:
That did it!!!! Thanks so much!!! Here is the bat I used with the added lines you recommended.
[Moto G6 Guides, News, & Discussion] WoKoschekk:
It's a little bit complicated for that device but now you got an oem_locked bootloader - almost brand new. :-D
[Moto G6 Guides, News, & Discussion] ludespeedny:
Yeah, I wished I could have stayed on the pixel experience, the phone was better and faster on it, but doesn't matter if my carrier doesn't support it.
[Moto G6 Guides, News, & Discussion] WoKoschekk:
But a Pixel ROM and a Moto stock ROM are both almost pure Android. Not like the EMUI or MIUI stuff with their own "Android" environment.
[Moto G6 Guides, News, & Discussion] ludespeedny:
Yeah, that is why I thought it would work, but they only allow certain phones so maybe I would have to "spoof" it or something.
[Moto G6 Guides, News, & Discussion] RogalDDL:
Can you upload .img file for this model? Can you make patched for root?
[Moto G6 Guides, News, & Discussion] refes:
I lloked everywhere without find it ... Here it is! Thank yooooouuuu !!!!
[Moto G6 Guides, News, & Discussion] WoKoschekk:
And here you'll find all. ;-)

lolinet mirrors - firmware, software, iso etc.

lolinet mirrors - powered by h5ai

mirrors.lolinet.com
[Moto G6 Guides, News, & Discussion] UserBrulate:
In 2022, after Christ, you continue to besiege the official releases, AOSP, after all, there are already 12 versions, so you probably even know how to make them yourself, although the reason for this freedom is not pleasant at least to me.
[Moto G6 Guides, News, & Discussion] bird412:
is there a way to pull firmware using adb/fastboot? if so i will do that for the US xt1925-6 and upload somewhere
[Moto G6 Guides, News, & Discussion] Bluemgt06:
I think I read there is a way to pull it from TWRP via adb. I'm going to be getting another Moto G6 with the Project Fi variant firmware and see if I can pull it for my current G6 that I had to downgrade because I bootlooped it.
[Moto G6 Guides, News, & Discussion] TheLoonyRebel:
Just pulled aboot, boot, cache, modem, oem, recovery, system, and vendor this morning. This is from OPS27.104-15-10 RetUS. If there's anything else needed I can pull as well and upload to AFH later today.
[Moto G6 Guides, News, & Discussion] skarloey28:
Waiting on this to see if I can root my US unlocked variant with magisk manager. Thank you!
[Moto G6 Guides, News, & Discussion] TheLoonyRebel:
Uploading the files right now. I'll post the link in a few hours as I'll be away from my PC on errands.
[Moto G6 Guides, News, & Discussion] stifmaster81:
con root ????

Enviado desde mi moto g(6) mediante Tapatalk

---------- Post added at 08:42 PM ---------- Previous post was at 08:00 PM ----------

retail US, will it come with Spanish? or would something happen if I flash this on a Spanish mobile?

Enviado desde mi moto g(6) mediante Tapatalk
[Moto G6 Guides, News, & Discussion] TheLoonyRebel:
OPS27.104-15-10 RetUS files I pulled including recovery, boot, and system.

https://www.androidfilehost.com/?w=files&flid=278624

You are better off trying to pull the files from your G6 than use the retail USA ones.
[Moto G6 Guides, News, & Discussion] stifmaster81:
So it does not work for me? By the way, will you compile ll go root preinstalled?

Enviado desde mi moto g(6) mediante Tapatalk
[Moto G6 Guides, News, & Discussion] skarloey28:
What does not work? How are you trying to use it?
[Moto G6 Guides, News, & Discussion] Dadud:
Aboot isnt nessisary, we need a bootloader though. i have no idea how to actually get it off the phone.
[Moto G6 Guides, News, & Discussion] stifmaster81:
It said, that if this served for the rom of the first post that I have installed

Enviado desde mi moto g(6) mediante Tapatalk

---------- Post added at 10:07 PM ---------- Previous post was at 10:03 PM ----------

Modelo XT1925

Região US

Idioma Multi Linguagem

Android Oreo

Patch Maio

Notas Melhorias na estabilidade e desempenho

Número da versão OPS27.82-72

Operadora Limpa, Retail (sem logo, apps de operadora)

Tamanho 1,5G

Fonte Motorola (rsdsecure-cloud)

I have this ROM on, is it compatible with what you have done? If so, which is flaming by adb? Carries magik installed? Thank you

Enviado desde mi moto g(6) mediante Tapatalk
[Moto G6 Guides, News, & Discussion] TheLoonyRebel:
I did post a picture showing everything I can pull from the G6. Perhaps it's in there but I am missing it.... :eek:
[Moto G6 Guides, News, & Discussion] Causical:
Just build a custom bootloader, then all our problems will be solved ?
[Moto G6 Guides, News, & Discussion] Dadud:
when you flash bootloader.img from one of the retbr sources it'll show this during flash

sending 'bootloader' (7419 KB)... OKAY [ 0.271s]

writing 'bootloader'... INFOValidating 'bootloader.default.xml'

INFOCommitting 'bootloader.default.xml'

INFO- flashing 'emmc_appsboot.mbn' to 'aboot'

INFO- flashing 'rpm.mbn' to 'rpm'

INFO- flashing 'tz.mbn' to 'tz'

INFO- flashing 'devcfg.mbn' to 'devcfg'

INFO- flashing 'cmnlib.mbn' to 'cmnlib'

INFO- flashing 'cmnlib64.mbn' to 'cmnlib64'

INFO- flashing 'keymaster.mbn' to 'keymaster'

INFO- flashing 'prov.mbn' to 'prov'

INFO- flashing 'sbl1.mbn' to 'sbl1'

OKAY [ 0.666s]

i'd assume if you unpacked a bootloader.img and repacked with those files, and somehow signed it correctly it'll flash. im not sure if it'll flash otherwise.
[Moto G6 Guides, News, & Discussion] skarloey28:
I'm not sure if the boot.img from AngryMan is good. I tried patching the boot.img with Magisk so I could root without TWRP. When I flashed the patched boot.img I got "Image not signed or corrupt" and now phone is bootlooped. I tried to flash the boot.img file that wasn't patched and got this error "Image signed with key bad key".

EDIT: I have a Moto G6 US Variant that is now rooted! I do not have TWRP but currently only wanted root to remove some system apps. I'm sure TWRP will be worked on soon.
[Moto G6 Guides, News, & Discussion] TheLoonyRebel:
Did you get it rooted with my boot.img or was it a different one? And have you tried Xposed Framework along with modules such as Gravity Box?
[Moto G6 Guides, News, & Discussion] skarloey28:
Your boot.img

Here is what I did (there are small things like enable usb debugging, etc I am not detailing because I'm assuming you know these things):

1. Unlock bootloader (fresh factory reset after this, do not sign into google account or anything) Make sure phone is on wifi!

2. Install Magisk Manager (I used adb "adb install xxx.apk")

3. Copy your boot.img to your internal storage.

4. Open Magisk Manager then select install, then patch boot image file, navigate to the boot img file you have on your internal storage and select it. Now a screen will pop up that says flashing. Wait until it is finished. It will tell you where it put the patched boot img.

5. Plug your phone into your computer and copy that patched boot img to your computer so you can flash it.

6. Boot phone into fastboot and install the patched boot img. (fastboot flash boot xxxx.img)

You will get an error most likely.

7. Using the volume up/down navigate to the bootloader menu and select power off.

8. Power the phone back on and you should be rooted.

Link below is for the patched boot img. It is for the US variant only!

https://www.dropbox.com/s/cbvgh4q6k9m7e4k/patched_boot.img?dl=0

EDIT: I have not tested and modules. I run my phone pretty much stock AOSP. I just like to remove certain system apps, install modified apps and adblockers.
[Moto G6 Guides, News, & Discussion] Dadud:
this is a known method. doesnt allow xposed or adblocking software to properly work. probably other things that wont work without forceencrypt and dm-verity disabled.
[Moto G6 Guides, News, & Discussion] skarloey28:
No one mentioned it for the G6. People just kept posting that TWRP wasn't working properly.

Probably works enough for what I need to do. I could care less about xposed.
[Moto G6 Guides, News, & Discussion] Causical:
So what needs to happen for dm-verity to be disabled and encryption?
[Moto G6 Guides, News, & Discussion] Dadud:
No idea, a couple of guys (one with the phone and one without) and I have been trying on a private discord for a couple of weeks but its basically just beating heads against a wall because i cant seem to replicate methods. finally got back on RETUS software (minus bootloader) so that should help. basically moved there to avoid the the "how i root?" posts.
[Moto G6 Guides, News, & Discussion] Causical:
Ahhh, I gotcha... Well it's awesome that you're making attempts.
[Moto G6 Guides, News, & Discussion] stifmaster81:
What file here https://www.androidfilehost.com/?w=files&flid=278624, should flash to get the root ??

Enviado desde mi moto g(6) mediante Tapatalk
[Moto G6 Guides, News, & Discussion] TheLoonyRebel:
If you are willing to walk me through on what to do I could pull the bootloader files from my OPS27.104-15-10 so you could get back to that yourself.
[Moto G6 Guides, News, & Discussion] Dadud:
ive already laid it out, you have to pull all those files i mentioned earlier, unpack a bootloader, and repack it with those files replaced. even then it might not flash.
[Moto G6 Guides, News, & Discussion] TheLoonyRebel:
Whoops I didn't even notice that in the previous post.

https://www.androidfilehost.com/?fid=5862345805528043354

Let me know if that works.
[Moto G6 Guides, News, & Discussion] stifmaster81:
can someone tell me if I can flase this in the global rom that I have installed

Enviado desde mi moto g(6) mediante Tapatalk
[Moto G6 Guides, News, & Discussion] TheLoonyRebel:
The bootloader files I just posted are NOT for flashing. It's for developer use only.
[Moto G6 Guides, News, & Discussion] TheLoonyRebel:
Also new Magisk 16.6 beta is out. It might solve some of the issues we are having or it might not.....
[Moto G6 Guides, News, & Discussion] timelessxiii:
I understand and I apologize
[Moto G6 Guides, News, & Discussion] RICHIE@FLICKER:
stock frimware for xt-1925-13 plzzz helpppp
[Moto G6 Guides, News, & Discussion] lohanbarth:
sorry, I share the firmware that Motorola provided firmware.
[Moto G6 Guides, News, & Discussion] RICHIE@FLICKER:
For me it's telling bad signed boot IMG
[Moto G6 Guides, News, & Discussion] Dadud:
can you signify that this is RETBR/RETLA/Whatever firmware somewhere in the OP? it works on RETUS, but its not proper and i doubt OTAs will work.
[Moto G6 Guides, News, & Discussion] timelessxiii:
I'm going to tell you why it's saying bad bootloader because these are not full the G6 play
[Moto G6 Guides, News, & Discussion] Kevanness:
I'm on the Fi software channel, I can't unlock the bootloader. "Your device does not qualify for bootloader unlocking." Not sure if I'll be able too.
[Moto G6 Guides, News, & Discussion] kaw202:
Looks like the site was down try again. I have the FI version and was able to unlock.

https://motorola-global-portal.custhelp.com/app/standalone/bootloader/unlock-your-device-a
[Moto G6 Guides, News, & Discussion] kemoti:
The official firmware can be boldly downloaded at full speed from here:

https://mirrors.lolinet.com/firmware/moto/ali/official/RETAIL/

The archive is not password protected. Before installing, I advise to unpack and read the text file inside which contains information about the release date because the higher version number does not always mean a newer system.

For example:

OPS27.104-15-10: released in March - security patches 1 March 2018

OPS27.82-72: released in May - security patches 1 May 2018

I checked both versions on my Moto G6 XT1925-5 (reteu), installation without any problems.
[Moto G6 Guides, News, & Discussion] Agodbout87:
Yeah...im stuck in the fastboot menu loop. It will not reboot and I kept getting verification failures during the process. I have a Verizon model G6. going to try some of the other firmware versions

Any way if getting past the verification failures?
[Moto G6 Guides, News, & Discussion] bird412:
thank you, ive been looking for the stock RetUS firmware for a while

edit: having trouble flashing this using my chromebook, i have fastboot and adb for chromeos installed, and its giving me an error saying something along the lines of downgrade not allowed, anyone have an idea of whats wrong? im on the RetBR firmware installed currently
[Moto G6 Guides, News, & Discussion] kemoti:
I have no idea what may be the reason. On Windows 7 it was enough to install the Motorola USB Driver and the minimum ADB driver and restart the PC. I used the script "flash_rom.bat" and everything went quickly without errors. Try to do it on Windows.
[Moto G6 Guides, News, & Discussion] bird412:
i was able to use the chromebook to install the RetBR firmware just fine, it ended up bootlooping with the US files so i just reflashed the retbr files again. it has a newer security patch and it works just fine so i dont really mind either way
[Moto G6 Guides, News, & Discussion] rdgfusco:
Some issue after flashboot

Hi,

First of all thanks for the file and guide.

I did the procedures and it seems to work well, but after the reboot I have two issues:

1. The phone recognizes the carrier chip but I´m not able to do call. Android say it is flight mode

2. I cann´t open the Camera.

Someone had the same issue? What can I do to solve it?

Regards,

Rdgfusco
[Moto G6 Guides, News, & Discussion] ashwanik70308:
Can I install this stock firmware on my Moto G6 India variant (retin)
[Moto G6 Guides, News, & Discussion] RICHIE@FLICKER:
Yaaaay you can
[Moto G6 Guides, News, & Discussion] baikal0912:
The user data are erased in the course of installation?
[Moto G6 Guides, News, & Discussion] kemoti:
Yes
[Moto G6 Guides, News, & Discussion] baikal0912:
And if not to do fastboot erase userdata?
[Moto G6 Guides, News, & Discussion] kemoti:
There is an error in the command statement.

is: fastboot flash dsp dspso.bin

should be: fastboot flash dsp adspso.bin
[Moto G6 Guides, News, & Discussion] kemoti:
After unpacking the system you have two files:

flashfile.xml - it will delete everything

servicefile.xml - will not delete your Data

These files contain all valid commands for flashing the system.

You can use "RSD_Lite_Motorola_XML_To_Batch_Script" to prepare the file for automatic installation (".bat") depending on your needs (delete or not delete data). The file can be downloaded here:

http://rootjunkysdl.com/files/?dir=Android%20Programs