yashsingh1/xdaforums huggingface dataset:
[Moto G6 Guides, News, & Discussion] epicgollum1499:
I'm on linux. I tried running the first command:

fastboot flash partition gpt.bin

and I got this error:

fastboot: core/libsparse/sparse.cpp:131: int write_all_blocks(struct sparse_file *, struct output_file *): Assertion `pad >= 0' failed.

My bootloader is unlocked. What did I do wrong?
[Moto G6 Guides, News, & Discussion] relic626:
I'm getting:

PS C:\adb> fastboot flash partition gpt.bin

target reported max download size of 534773760 bytes

sending 'partition' (45 KB)...

OKAY [ 0.001s]

writing 'partition'...

(bootloader) Validating 'gpt.default.xml'

(bootloader) Security version downgrade

(bootloader) Image primary_gpt failed validation

(bootloader) Preflash validation failed

(bootloader) Cancelling 'gpt.default.xml'

FAILED (remote failure)

finished. total time: 0.058s

Can anyone help?
[Moto G6 Guides, News, & Discussion] Jleeblanch:
You're possibly flashing a firmware with a lower version than what your device is currently on. You can skip it and keep flashing the firmware usually.
[Moto G6 Guides, News, & Discussion] relic626:
I had similar thought and continued flashing. Now i'm soft bricked.

I'm now being sent straight to bootloader.

I do have twrp recovery installed, but i'm at a loss for what i can do.

Any assistance will be greatly appreciated.
[Moto G6 Guides, News, & Discussion] Jleeblanch:
What are you using for instructions to flash the firmware?
[Moto G6 Guides, News, & Discussion] relic626:
Errr this guide?
[Moto G6 Guides, News, & Discussion] Jleeblanch:
Sorry, I guess I meant are you manually typing the commands or using the zip? Not sure what's in the zip.

Did you get any other errors when flashing? I would try flashing the firmware again. If that doesn't get you booting, link the firmware you're trying to flash and post the output of

fastboot getvar all

That will tell us what firmware your device thinks it's on.
[Moto G6 Guides, News, & Discussion] Jleeblanch:
I see the problem. You're trying to downgrade from Pie firmware to an Oreo firmware. Downgrading from one major version to another major version is usually potentially dangerous. This is how many lose their IMEI info due to permission changes on /persist partition.

If I was you, I would stay on Pie for now. Or update to the latest release for retus, which is Pie. This will most likely get you back up and running without any issues.
[Moto G6 Guides, News, & Discussion] relic626:
Ahh i see, can you point me in the right direction to a guide that can help?
[Moto G6 Guides, News, & Discussion] Jleeblanch:
To flash Pie?
[Moto G6 Guides, News, & Discussion] relic626:
Oh, i'll look up a guide on flashing pie and see what i get then.Appreciate the help dude :Thumbs Up:
[Moto G6 Guides, News, & Discussion] Jleeblanch:
Looks like this is the latest available full firmware for Ali at the moment

XT1925-6_ALI_RETUS_9.0_PPS29.118-15-11_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip

And you can use the same instructions from the OP to flash using fastboot
[Moto G6 Guides, News, & Discussion] relic626:
Awesome! I'll give it a try and see/ :|
[Moto G6 Guides, News, & Discussion] Jleeblanch:
Lemme know how it goes!
[Moto G6 Guides, News, & Discussion] relic626:
YAY! It worked!

But now i'm faced with my initial problem.

No audio!

It does not detect headphones.

When i open the sound settings it often goes unresponsive and most other aps don't work well especially if it requires sound.

The mic also does not work.

But i know the speakers work because sometimes on start up i hear the "Hello Moto" Sound.
[Moto G6 Guides, News, & Discussion] Skippy12359:
Deleted
[Moto G6 Guides, News, & Discussion] josno:
my device has troubles after flashing the stock firmware, please I beg help me

Hi, I've read this thread after I had tried to unlock and root the device, after some tweaking and wiggling I ended up with bringing some life to the phone but it is messed up and unusable, 3/4 times it goes bootloop, 1 time it starts but it lasts no more than 30 seconds before rebooting and restarting the bootloop. I am really panicking, I don't know what to do so I am quite desperate, I really beg someone has an advice and/or solution to this... I love Motorola, I have had it for years without having to regret and I would like not to trash-bin the phone. Forgive me for the "pathetic" tone, but I am clueless and harmless! Help me, please! Thanks
[Moto G6 Guides, News, & Discussion] mingkee:
Flash full ROM again, and TWRP after that

At this time, make sure you install Magisk 19.3 in TWRP.

After boot into system, open Magisk Manager and update to 20.1 from where
[Moto G6 Guides, News, & Discussion] lohanbarth:
Add new firmware un OP.

Firmware completa : moto g6 (ali)

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)
_____________________________
Créditos da postagem Google drive:
Leonardo Bueno
________________________

Download: [url]https://drive.google.com/open?id=1I-HCkbm-05YMFDc5V2QhBulIfskKHkKR[/url]
[Moto G6 Guides, News, & Discussion] stifmaster81:
Is it for the Spanish version? Android 8.0 or 8.1? And security patch of what month?

Enviado desde mi moto g(6) mediante Tapatalk

---------- Post added at 08:23 PM ---------- Previous post was at 08:18 PM ----------

What is the acronym AFH?

Enviado desde mi moto g(6) mediante Tapatalk

---------- Post added at 08:25 PM ---------- Previous post was at 08:23 PM ----------

Excuse my ignorance and ask so many questions, does the bootloader have to be unlocked to install the stock? Thank you

Enviado desde mi moto g(6) mediante Tapatalk
[Moto G6 Guides, News, & Discussion] lohanbarth:
it's a global version

AFH = Android files host
[Moto G6 Guides, News, & Discussion] stifmaster81:
clean means without bootloader, or with the operator's app that we have? Is the factory firmware installed with the bootloader open? or closed?

Enviado desde mi moto g(6) mediante Tapatalk
[Moto G6 Guides, News, & Discussion] Mvtxk1:
It asks for a password, tried MotoFirmwaresLB but it didn't work...

Forget, it worked
[Moto G6 Guides, News, & Discussion] lohanbarth:
MotorolaFirmwaresLB
[Moto G6 Guides, News, & Discussion] stifmaster81:
please someone confirm if you need to unlock the bootloader to install the rom?

Enviado desde mi moto g(6) mediante Tapatalk
[Moto G6 Guides, News, & Discussion] Mvtxk1:
No, you don't need unlock the bootloader to install the stock firmware
[Moto G6 Guides, News, & Discussion] kemoti:
I have a question because I never had Motorola before. Why are not these updates provided by OTA? Why are not they available for download by ordinary user? Will I always have to download updates from unofficial sources to have an up-to-date system?
[Moto G6 Guides, News, & Discussion] Dadud:
We need a US retail firmware dump. Both of these are for the Brazilian phones. They'll flash fine on the us phones but it probably won't take OTAs. Now that TWRP sort of works it should be fairly easy.
[Moto G6 Guides, News, & Discussion] TheLoonyRebel:
If I felt more confident in the current TWRP build that is semi working I would be more than glad to get the US firmware (OPS27.104-15-10) dumped for everyone. Unless is there another say to do a pull of the firmware like say through ADB or Fastboot perhaps?
[Moto G6 Guides, News, & Discussion] Dadud:
You can boot (not flash) twrp test 2 and use adb though that. Just cancel any decryption prompt. But I don't know exactly how OP is getting those official looking firmware's with the sparsefiles and stuff. Maybe he can help?
[Moto G6 Guides, News, & Discussion] :
Quick question

Newb question.

Will this process remove the Verizon bloat off my g6? I move my phone to another carrier and Verizon bloat ware will not go away.

Thanks in advanced
[Moto G6 Guides, News, & Discussion] trollingwhovian:
What do you mean it sorta works?
[Moto G6 Guides, News, & Discussion] Dadud:
it'll get your phone up and working again after a bootloop, but you'll probably never get OTA's to install until you get the correct firmware
[Moto G6 Guides, News, & Discussion] kemoti:
Can someone tell me what is the difference between the firmware ?

ALI_OPS27.82-41_cid50_subsidy-XT1925-5_8.0.0_regulatory-DEFAULT_CFC_SVC.xml.zip

ALI_OPS27.82-41_cid50_XT1925-5-DS5_8.0.0_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip

Suorce:

https://easy-firmware.com/home/browse/category/id/34535/
[Moto G6 Guides, News, & Discussion] Dadud:
disregard
[Moto G6 Guides, News, & Discussion] stehaworth:
Best way is to download them and then diff them... Check the update script etc (can't remember the exact name of the script)
[Moto G6 Guides, News, & Discussion] kaw202:
Can anyone get xt1925-6 Software Channel fi
[Moto G6 Guides, News, & Discussion] Bluemgt06:
I need this too. Works better than current backup firmware.
[Moto G6 Guides, News, & Discussion] nate1975:
Man, I feel for you. This phone is a pain.

I'd already tried everything recommended in these threads myself, and every time I tried flashing magisk, I'd just get boot loops. Restoring from a backup in twrp, then flashing the stock bootloader and recovery back seemed to get the phone working again. Without root.

I decided to try one last time doing things that weren't recommended instead, so with stock everything and unlocked, I booted twrp instead of installing it, from there flashed magisk-19.4 (because why not?) and wiped data.

And now it works. Maybe I'll still be able to get updates, if there ever are anymore. More importantly, I have root finally.

Highly recommend backing up the phone from twrp before doing anything else. Back it up to the microsd for that matter.
[Moto G6 Guides, News, & Discussion] josno:
Thanks very much I fixed It but I still can't flash magisk, if I follow the guide I should push the zip file via adb but It says no storage/emulated...

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

Hey thanks for supporting me! So you Say that if I boot twrp and I flash magisk I will finally get root? I'm honest, I am taking a breath now after some serious threatening, so I don't want to repeat again that same routine (reflashing stock again and again)

But I think I'm going to try. But the rooting tutorial says that I should flash the no-encryption zip before magisk, did you skip that? Now let's put It hypothetical: I put magisk.zip in some folder in sdcard, I reboot to bootloader, I boot twrp from adb, then I flash magisk, I wipe data before rebooting ti system and that's It? It would be great! At worst, I reflash stock and I'm done trying to rooting this damn phone :''D

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

Hey thanks for supporting me! So you Say that if I boot twrp and I flash magisk I will finally get root? I'm honest, I am taking a breath now after some serious threatening, so I don't want to repeat again that same routine (reflashing stock again and again)

But I think I'm going to try. But the rooting tutorial says that I should flash the no-encryption zip before magisk, did you skip that? Now let's put It hypothetical: I put magisk.zip in some folder in sdcard, I reboot to bootloader, I boot twrp from adb, then I flash magisk, I wipe data before rebooting ti system and that's It? It would be great! At worst, I reflash stock and I'm done trying to rooting this damn phone :''D

EDIT

Nevermind, I've made it, in the end! It was that simple... just flashed magisk from sdcard and rebooted... I feel soooo relieved now, thank you all
[Moto G6 Guides, News, & Discussion] nate1975:
Glad you got it working!

I had backed up the phone in TWRP so that I wouldn't have to screw around flashing the rom from all the image files, and I'm glad I did. It made rolling back a lot easier.

Also, the upgrade from magisk 19.4 -> 20.1 went without a hitch, so I'm happy enough for now with the phone.
[Moto G6 Guides, News, & Discussion] Jonny_Bandana:
Why are there commands like "fastboot flash dsp dspso.bin" if dspso.bin doesn't even exist in the files provided?
[Moto G6 Guides, News, & Discussion] DessertArbiter:
if i recall correctly, its adspso.bin, dunno why theres an "a" at the beginning though
[Moto G6 Guides, News, & Discussion] sam10000:
Hi

I have a dual-sim Moto 1s (Chinese Moto G6) with firmware XT1925-10_ALI_CTCN_8.0.0_OCN27.79-28-38_cid11_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip

I would like to flash a US or international ROM in place of the Chinese one.

The bootloader has been unlocked.

I am concerned that, if a RETAIL or RETUS ROM (Oreo) is flashed directly on this phone, the OEM partition (including basebands) will be messed up. Is this understanding correct?

Should I try flashing a RETAIL or RETUS ROM (Oreo) (with a different cid from mine) supporting dual-sim (and, ideally, LTE bands 1, 3, 7, 8 and 40) on the Moto 1s? Any suggestions welcome!

Is it true that it would still be possible to recover a bricked phone later, if need be, using Lenovo MOTO Smart Assistant? Hopefully, the IMEI numbers will not be lost as I won't be downgrading from Pie to Oreo.

Thanks in advance for any pointers!
[Moto G6 Guides, News, & Discussion] iamraikamran:
I have moto g6

Have changed IMEI due to Block in country

Flashing stock firmware pie

Replace original imei?????
[Moto G6 Guides, News, & Discussion] WoKoschekk:
Where are you living in?

RETAIL = non US

RETUS = US

RETAIL is a kind of universal FW that can always be installed on your device.

You will mess up your mobile/wifi connectivity if you downgrade from Pie to Oreo. But you won't loose your IMEI.

IMPORTANT!!!

Backup your /persist, /modemst1, /modemst2 partitions!!!

If you mess up these partitions you will corrupt your IMEI and your baseband!!!

BTW: The /oem partition doesn't contain any files that are related to your IMEI and baseband. They are stored on your /persist. Modemst1+2 store content which is mainly created by the /persist partition. So it's always good to have a backup of them, too.

IT'S ALWAYS GOOD TO BACKUP EVERYTHING!!!
[Moto G6 Guides, News, & Discussion] sd_shadow:
[MENTION=4554317]lohanbarth[/MENTION]

It's

fastboot flash dsp adspso.bin

Not

fastboot flash dsp dspso.bin
[Moto G6 Guides, News, & Discussion] sd_shadow:
The flash_rom.bat

Is wrong also
[Moto G6 Guides, News, & Discussion] adrianogoes:
Guys,

try to install Chrome Beta and use it as default WebView provider (settings in Developer Options).

For me was a silver bullet: stopped a lot of force closing and random boots.

Good luck!
[Moto G6 Guides, News, & Discussion] lohanbarth:
modification made the zip file and also modify.
[Moto G6 Guides, News, & Discussion] CHKLEX:
Google Drive said file don't exist,

Please can you upload this file to "Google Drive" again ?

if possible send me link on my email :

amanichambu48@gmail.com

thanks

---------- Post added at 02:06 PM ---------- Previous post was at 02:01 PM ----------

Google Drive said file don't exist,

Please can you upload this file to "Google Drive" again ?

If possible send me,please, link on my email :

amanichambu48@gmail.com

Thanks
[Moto G6 Guides, News, & Discussion] bhati2710:
Soft bricked and need your assistance please

I originally had xt1925-13 indian model which i successfully rooted and installed custom rom but afterwards it was hard bricked by mistake.

I realized it little late but then i took it to the Jtag service and the guy doesn't have the same model so i had to provide the mmcblk0 available in xda by someone and it was for xt1925-2 brazil model i guess.

Now my phone model has changed to xt1925-2 which seems illogical and soft bricked. Jtag person couldn't restore it and but it is stuck in soft brick loop (bootloader). Additionally, it also shows oem locked and when i try to flash any stock rom, it gives an error pre validation failed. Please help.

Is there any way i can restore it and get my imei numbers back? It is stuck in boot loop now.

I can run fastboot flash Partition gpt.bin as well as fastboot flash bootloader bootloader.img but boot, recovery and system don't flash and gives an error boot validation failed.

Also, when i try to get the oem get_unlock_data, it gives an header error : 55 with the whole unlock code.

When I provided this code to motorola they didn't provide the unlock key to me. waiting some miracle here. Please help.

Thank you in advance.
[Moto G6 Guides, News, & Discussion] sharkie405:
Can someone post a link to where they've downloaded PPS29.118.15.11-2?

I don't see it HERE anywhere. I've gone to the root of the ALI folder as well. It's got to be somewhere, but my Google foo must be weak today.

Edit: Nevermind. My Google foo is strengthening. Must be the coffee. The most recent builds for xt1925-6 can be found here: https://mirrors.lolinet.com/firmware/moto/ali/official/RETAIL/

ALI_RETAIL_9.0_PPSS29.118-15-11-5_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip is the one that finally shows up as the latest available update on my phone (XT1925-6/Ali bought from Google), and it can be directly downloaded HERE .
[Moto G6 Guides, News, & Discussion] bhati2710:
I have received the unlock key today but couldn't unlock it becoz it shows permission failed.

Also, does anyone know how to put moto g6 into edl mode because i have tried fastboot reboot-edl as well as adb reboot edl but it doesn't boot into edl.

It shows cid: 0xdead and doesn't boot twrp.img.

Tell me if someone knows how to put edl by other means.

Thanks,

Jagdish Bhati
[Moto G6 Guides, News, & Discussion] sd_shadow:
Try

fastboot oem blankflash
[Moto G6 Guides, News, & Discussion] bhati2710:
Help

Thank you but it would be appreciated if you can share the steps to do it. Should I need a singleimage.bin, blankflash.bat etc. and copied in adb folder to initiate this command. I don't want to miss anything this time.

I have the unlock key but it doesn't unlock the bootloader as well as not moving to edl mode due to which unable to write partition. However, I will try this code as you mentioned but it would be more help if you can share the steps. Thank you.

---------- Post added at 06:51 PM ---------- Previous post was at 06:46 PM ----------

To better under the situation, you can also check this forum https://xdaforums.com/z2-...brick-t3710744 as I am going through with the same issue/erros, he was having.

I don't know if he got the solution as never responded/mentioned anywhere.
[Moto G6 Guides, News, & Discussion] ravennwon:
Can't downgrade from Pie to Oreo XT1925-13

Hello there ,I am searching the solution for this problem over 5 days but can't helped me.

Problem is Can't root my Pie version(no networks with root)

So therefore I went for a downgrading to Oreo so that I can root easily and will be there networks.

And again what happen I can't downgrade oreo with networks also...(I excluded the file got.bin and bootloader.bin that's why I know but can't downgrade with these files when flashing.)

Please provide me solution.

don't give links of XDA forum I actually read and done all things which I could.:crying::crying:

"I just want rooted OS whether it is Oreo or pie I don't care but it should be stock ROM.":silly:

Thanks in advance
[Moto G6 Guides, News, & Discussion] WoKoschekk:
You can't downgrade from Pie to Oreo! That's it.
[Moto G6 Guides, News, & Discussion] ravennwon:
What about Rooting the XT1925-13 pie

PPSS29.55-37-7-6 Security patch 1 Feb 2020.
[Moto G6 Guides, News, & Discussion] WoKoschekk:
https://xdaforums.com/moto-g6/how-to/guide-twrp-root-magisk-installation-t3816569
[Moto G6 Guides, News, & Discussion] ravennwon:
I tried that method 5(changing magisk) times,everytime I stuck with no networks.

I'm crying right now
[Moto G6 Guides, News, & Discussion] Baronstragen:
This is what I did, because the newest magisk kept giving my phone a bootloop. I did this exactly: (I am assuming you've already flashed TWRP to your recovery)

When I did this I was on PPSS29.55-37-7-6 security update Feb 1, 2020

1. Boot into recovery. If it asks for a password hit cancel, go to wipe, data wipe and confirm it with yes. Then reboot again into recovery.

2. Repeat the wiping and reboot another time into recovery.

3. Connect your phone to your Computer while in recovery and copy magisk and dm-verity disabler to your phone.

4. Go to Install and flash dm-verity disabler first, then magisk.

I used Disable_Dm-Verity_ForceEncrypt_08.18.2019 and magisk v19.3. After doing this it worked great, then I updated magisk through the magisk manager app. Have network and everything. Give it a try.
[Moto G6 Guides, News, & Discussion] gutek85:
Moto G6 XT1915-5 PPSS29.55-37-7-10 ROM

Direct download link to Lenovo Motorola Moto G6 XT1915-5 ROM (Pulled from LMSA).

ALI_PPSS29.55-37-7-10_cid50_subsidy-DEFAULT_regulatory-XT1925-5_CFC.xml.zip

ROM Details:

BUILD REQUEST INFO:

SW Version: ali-user 9 PPSS29.55-37-7-10 c25e release-keysM450_23.31.10.89R

Modem Version: M450_23.31.10.89R

FSG Version: FSG-8953-16.127

MBM Version: MBM-2.1-ali_retail-0d2031d6b9-200416

Build Fingerprint: motorola/ali/ali:9/PPSS29.55-37-7-10/c25e:user/release-keys

VERSION INFO FOUND UNDER 'ABOUT PHONE' SCREEN:

System Version: 29.311.13.ali.retail.en.US

Model Number: moto g(6)

Android Version: 9

Build Id: PPSS29.55-37-7-10

SW Display Build ID: PPSS29.55-37-7-10

Build Date: Thu Apr 16 04:44:16 CDT 2020

OTHER MISC VERSION INFO:

Subsidy Lock Config: slcf_rev_d_default_v1.0.nvm

Regulatory Info (eLabel): regulatory_info_xt1925_5.png

Blur Version: Blur_Version.29.311.13.ali.retail.en.US

Version when read from CPV: ali-user 9 PPSS29.55-37-7-10 c25e release-keys

AB Update Enabled: False

Full Treble Enabled: True

File Checksum:

==================================================

Filename : ALI_PPSS29.55-37-7-10_cid50_subsidy-DEFAULT_regulatory-XT1925-5_CFC.xml.zip

MD5 : 1fe0e30b8791a133c8f4607b95049486

SHA1 : 06b83028fc6da4cbdb8f3c4262914e79dbf2161f

CRC32 : 50b80dcf

SHA-256 : 2f3a0e45451053fc6970b18db22c080c2a7da677dbcc328fa0b2f8926f357fc1

SHA-512 : 4a5423bedd13e3d7c3cee621a1514a9b9307a4ad07d6e88393f78751717b6dae0d79bfff71f1d34e3f23960affec16a9d6069e231b300536baff14031ab73677

SHA-384 : e4c594ba01b6b8ed7cd712e9b67b6e091cf72efc0d03135c3c765f45f5c6f743ec3bc634dea367fc16ca131fd3a98121

Modified Time : 27.05.2020 05:01:56

File Size : 1*911*960*208

==================================================
[Moto G6 Guides, News, & Discussion] B2Pi:
Unfortunately, Access Denied
[Moto G6 Guides, News, & Discussion] WoKoschekk:
Wait a few days to get it on mirrors.lolinet.com
[Moto G6 Guides, News, & Discussion] gutek85:
Uploaded to AndroidFileHost and updated download link ;)
[Moto G6 Guides, News, & Discussion] WoKoschekk:
"Security version downgrade"

You should try to flash the latest firmware for your device.

---------- Post added at 11:18 AM ---------- Previous post was at 11:13 AM ----------

/vendor => FAILED!

/oem => FAILED!

/system => FAILED!

/boot => FAILED!

It is almost a miracle that your device is booting!! These partitions are the most important ones for a running system.

.
[Moto G6 Guides, News, & Discussion] CorpChAoS:
You are using the incorrect firmware for your bootloader. Be sure to use the correct firmware for your bootloader and device to prevent error messages.

I flashed the RETAIL bootloader to my device and I am supposed to have the RETUS bootloader. Now, I always get errors when flashing stock ROMs.

Side question. Does anyone know how to downgrade the bootloader?