[Q] About Unlocking Bootlader and flashing ROMs - Moto G Q&A, Help & Troubleshooting

Hi, my question is whether it is really necessary to unlock bootloader (because i will avoid the warranty from motorola, 1 week from purchase) to flash via fastboot XT1040_PEREGRINE_RETBR_5.1_LPB23.13-8_cid12_CFC.xml (posted in the thread for stock firmwares), I have XT1040 from Argentina. I read that there is no need to unlock bootloader if we are flashing ROMs from the same region, is that true? Thank you and sorry for my bad english.

neodarklink said:
Hi, my question is whether it is really necessary to unlock bootloader (because i will avoid the warranty from motorola, 1 week from purchase) to flash via fastboot XT1040_PEREGRINE_RETBR_5.1_LPB23.13-8_cid12_CFC.xml (posted in the thread for stock firmwares), I have XT1040 from Argentina. I read that there is no need to unlock bootloader if we are flashing ROMs from the same region, is that true? Thank you and sorry for my bad english.
Click to expand...
Click to collapse
You do not need a unlocked bootloader to flash stock firmware.
Sent from my XT1031

One more question, the commands to flash will be:
Code:
mfastboot flash partition gpt.bin
mfastboot flash motoboot motoboot.img
mfastboot flash logo logo.bin
mfastboot flash boot boot.img
mfastboot flash recovery recovery.img
mfastboot flash system system.img_sparsechunk.0
mfastboot flash system system.img_sparsechunk.1
mfastboot flash system system.img_sparsechunk.2
mfastboot flash system system.img_sparsechunk.3
mfastboot flash modem NON-HLOS.bin
mfastboot erase modemst1
mfastboot erase modemst2
mfastboot flash fsg fsg.mbn
mfastboot erase cache
mfastboot erase userdata
mfastboot reboot
The content of the zip file is in the attachment. Thanks again.

neodarklink said:
One more question, the commands to flash will be:
Code:
mfastboot flash partition gpt.bin
mfastboot flash motoboot motoboot.img
mfastboot flash logo logo.bin
mfastboot flash boot boot.img
mfastboot flash recovery recovery.img
mfastboot flash system system.img_sparsechunk.0
mfastboot flash system system.img_sparsechunk.1
mfastboot flash system system.img_sparsechunk.2
mfastboot flash system system.img_sparsechunk.3
mfastboot flash modem NON-HLOS.bin
mfastboot erase modemst1
mfastboot erase modemst2
mfastboot flash fsg fsg.mbn
mfastboot erase cache
mfastboot erase userdata
mfastboot reboot
The content of the zip file is in the attachment. Thanks again.
Click to expand...
Click to collapse
Make sure you backup your data as running 'mfastboot erase userdata' will delete all your personal files (photos, videos, etc.)

ryanch94 said:
Make sure you backup your data as running 'mfastboot erase userdata' will delete all your personal files (photos, videos, etc.)
Click to expand...
Click to collapse
In Internal Storage. External SD will not be touch, right? This step (mfastboot erase userdata) can be skiped?

neodarklink said:
In Internal Storage. External SD will not be touch, right? This step (mfastboot erase userdata) can be skiped?
Click to expand...
Click to collapse
Correct, it does not touch the external SD. (I always remove mine anyway just in case)
You can skip 'mfastboot erase userdata', although this is known to sometimes cause problems.

Related

5.1 Asian Retail Help

I Dont Know IF this Is dumb or Anything but can anyone please give me instructions to install 5.1 asian retail image onto my XT1033 moto G falcon please Donot post the links for other threats cuz i already checked them out and got confused
Read the FAQ in this section. Get fastboot working. The Firmware Image Index thread in 'General' includes a link to the tutorial on how to flash Firmware images.
lost101 said:
Read the FAQ in this section. Get fastboot working. The Firmware Image Index thread in 'General' includes a link to the tutorial on how to flash Firmware images.
Click to expand...
Click to collapse
bro i need commands can you forward me the command list i am confused which one to follow otherwise
mfastboot flash partition gpt.bin
mfastboot flash motoboot motoboot.img
mfastboot flash logo logo.bin
mfastboot flash boot boot.img
mfastboot flash recovery recovery.img
mfastboot flash system system.img_sparsechunk.0 (CHANGE TO MATCH ACTUAL FILENAME)
mfastboot flash system system.img_sparsechunk.1 (CHANGE TO MATCH ACTUAL FILENAME)
mfastboot flash system system.img_sparsechunk.2 (CHANGE TO MATCH ACTUAL FILENAME)
mfastboot flash system system.img_sparsechunk.3 (CHANGE TO MATCH ACTUAL FILENAME)
mfastboot flash modem NON-HLOS.bin
mfastboot erase modemst1
mfastboot erase modemst2
mfastboot flash fsg fsg.mbn
mfastboot erase cache
mfastboot erase userdata
mfastboot reboot​
If you're confused, then better stay away from the "commands" , since your next thread you open will be about how your phone stopped to work.

[Completed] i Downgrade Moto G4 plus without Unlock bootloader so phone lost wifi detection

i updated my moto G4 plus to Android N using Blur.zip file after that i realze that is not offical so i try to downgrade back to Andriod M
1. I downloaded the Marshmallow firmware from xda
2.i downloaded ADB folder and moto device manager .
3.after these step i forgot to unlock my device and i forgot to toggle OEM in Developer > OEM Allow
4.i just directly copy the firmware into adb and run below commands directly from run.bat it contains follows
mfastboot oem fb_mode_set
mfastboot flash logo logo.bin
mfastboot flash boot boot.img
mfastboot flash recovery recovery.img
mfastboot flash dsp adspso.bin
mfastboot flash oem oem.img
mfastboot flash system system.img_sparsechunk.0
mfastboot flash system system.img_sparsechunk.1
mfastboot flash system system.img_sparsechunk.2
mfastboot flash system system.img_sparsechunk.3
mfastboot flash system system.img_sparsechunk.4
mfastboot flash system system.img_sparsechunk.5
mfastboot flash system system.img_sparsechunk.6
mfastboot flash system system.img_sparsechunk.7
mfastboot flash modem NON-HLOS.bin
mfastboot erase modemst1
mfastboot erase modemst2
mfastboot flash fsg fsg.mbn
mfastboot erase cache
mfastboot erase userdata
mfastboot erase customize
mfastboot erase clogo
mfastboot oem fb_mode_clear
some commands executed and some commands failed because i am not unlocked the my device (error like sign verification fail) i directly runned thesecommands so my phone will not downgarded but it will just flash the phone .
after that i just switch on the device and every thing erased it asking 2 option for enter
1. to set it up? Restore a backup or copy from a device
2. Set up as new
if i select any these 2 option
wifi will not detecting so i need your help wifi
1. how to repair wifi
or
2.how to bypass these step
or
3.In bootloader loop using cmd how to make allow OEM turn on
help me ..........please
[email protected]
Hi there,
I see you already founded the right forum for your device here:
http://forum.xda-developers.com/moto-g4-plus/help/how-to-allow-oem-unlock-using-cmd-t3521550
Please wait an answer from experts/owners there.
Good luck

RSD flashing fail and rebooting to TWRP

I am facing two issues on XT1225. Currently I am on RR 7.x.x latest version. Earlier version I had India Stock 6.0.1.
1) It is getting booted to TWRP : (both normal reboot boot) When switched off and swtiched ON it goes directly to TWRP, from there I would need to START Android.
2) My stock RSD (Ver: 6.2.4) flashing is getting failed with error 3/22 gbt.bin
Could anyone help me with this.
Try omitting gpt.bin file.
mohangj said:
I am facing two issues on XT1225. Currently I am on RR 7.x.x latest version. Earlier version I had India Stock 6.0.1.
1) It is getting booted to TWRP : (both normal reboot boot) When switched off and swtiched ON it goes directly to TWRP, from there I would need to START Android.
2) My stock RSD (Ver: 6.2.4) flashing is getting failed with error 3/22 gbt.bin
Could anyone help me with this.
Click to expand...
Click to collapse
Wait. A few weeks ago you solved this issue with my help -- and now it's back?
mohangj said:
It worked Thanks brother !!!!
Here what I executed on bootloader
mfastboot oem fb_mode_set
mfastboot flash partition gpt.bin (didn't execute this command)
mfastboot flash motoboot bootloader.img
mfastboot flash radio radio.img
mfastboot flash logo logo.bin
mfastboot flash boot boot.img
mfastboot flash recovery recovery.img
mfastboot flash system system.img_sparsechunk.1
mfastboot flash system system.img_sparsechunk.2
mfastboot flash system system.img_sparsechunk.3
mfastboot flash system system.img_sparsechunk.4
mfastboot flash system system.img_sparsechunk.5
mfastboot flash system system.img_sparsechunk.6
mfastboot flash system system.img_sparsechunk.7
mfastboot flash system system.img_sparsechunk.8
mfastboot flash system system.img_sparsechunk.9
mfastboot erase cache
mfastboot erase userdata
mfastboot erase clogo
mfastboot oem fb_mode_clear
mfastboot reboot
Click to expand...
Click to collapse
mohangj said:
Currently I am using stock 6.0.1 below ROM, its a stock 6.0.1 ROM with best battery backup I could say. ROM : https://goo.gl/lV2WX4 from below thread
https://forum.xda-developers.com/moto-maxx/general/moto-turbo-indian-variant-marshmallow-t3422783
If you have struck with bootloader and your android is not booting after taking OTA since you had TWRP. Better option is to recover back to stock. Samething happened in my case and ChazzMatt guided me to recover it. There are two methods (which I know) to flash stock ROM, one is flash ZIP ROM (https://goo.gl/lV2WX4) with RSD and second option Unzip file and run below commands. you should have mfastboot ADB commands copied to same unzip folder. Once you boot to Stock android, you can take OTA backup and get installed before rooting and installing TWRP.
You would get two OTA updates if you are coming from 24.201.7, Currently my android system version is 24.211.7
mfastboot oem fb_mode_set
mfastboot flash partition gpt.bin (DONOT execute this command)
mfastboot flash motoboot bootloader.img
mfastboot flash radio radio.img
mfastboot flash logo logo.bin
mfastboot flash boot boot.img
mfastboot flash recovery recovery.img
mfastboot flash system system.img_sparsechunk.1
mfastboot flash system system.img_sparsechunk.2
mfastboot flash system system.img_sparsechunk.3
mfastboot flash system system.img_sparsechunk.4
mfastboot flash system system.img_sparsechunk.5
mfastboot flash system system.img_sparsechunk.6
mfastboot flash system system.img_sparsechunk.7
mfastboot flash system system.img_sparsechunk.8
mfastboot flash system system.img_sparsechunk.9
mfastboot erase cache
mfastboot erase userdata
mfastboot erase clogo
mfastboot oem fb_mode_clear
mfastboot reboot
Click to expand...
Click to collapse

X4 AndroidOne PPWS29.69-26-4 full firmware

Just posted!
XT1900-1_PAYTON_FI_9.0_PPWS29.69-26-4_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
Update: Just noticed the new version for x1900-2 RETIN also posted today.
XT1900-2_PAYTON_RETIN_9.0_PPWS29.69-26-4_subsidy-DEFAULT_regulatory-XT1900-2_CFC.xml.zip
Magisk and TWRP on X4 Android One Payton Fi
ptn107 said:
Just posted!
XT1900-1_PAYTON_FI_9.0_PPWS29.69-26-4_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
Great, pal! Really Thank you.
Does anyone know if the last TWRP is capable of unencrypt this 9.0 firmware?
I'm afraid updating to it loses magisk.
Click to expand...
Click to collapse
ptn107 said:
Just posted!
XT1900-1_PAYTON_FI_9.0_PPWS29.69-26-4_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
I have Lineage 16 on my phone. Am I able to just install this file in twrp to go back to stock?
Click to expand...
Click to collapse
gillyboatbruff said:
ptn107 said:
Just posted!
XT1900-1_PAYTON_FI_9.0_PPWS29.69-26-4_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
I have Lineage 16 on my phone. Am I able to just install this file in twrp to go back to stock?
Click to expand...
Click to collapse
correct firmware but must be done from fastboot mode not twrp
Click to expand...
Click to collapse
ptn107 said:
gillyboatbruff said:
correct firmware but must be done from fastboot mode not twrp
Click to expand...
Click to collapse
I would also recommend that after you flash this with flash all... once it comes up, skip any setup process and just check for / take updates until there are no more. Then do a factory reset from the phone UI after your last update has fully applied (post boot). that will clean you up pretty good. then do your normal setup process after that.
Click to expand...
Click to collapse
edufur said:
ptn107 said:
I would also recommend that after you flash this with flash all... once it comes up, skip any setup process and just check for / take updates until there are no more. Then do a factory reset from the phone UI after your last update has fully applied (post boot). that will clean you up pretty good. then do your normal setup process after that.
Click to expand...
Click to collapse
I'm rather new to the x4. Can you elaborate a little bit on flash all? I googled around a little bit and I if I understand it right, flash-all would be a script in the firmware zip file. I don't see one in there, just a flashfile.xml. Am I able to use that somehow? Or should I just use the steps listed at https://forum.xda-developers.com/moto-x4/how-to/flash-android-one-firmware-to-unlocked-t3744283 and do the following:
mfastboot flash partition gpt.bin
mfastboot flash bootloader bootloader.img
mfastboot reboot-bootloader
mfastboot flash modem NON-HLOS.bin
mfastboot flash fsg fsg.mbn
mfastboot erase modemst1
mfastboot erase modemst2
mfastboot flash bluetooth BTFM.bin
mfastboot flash dsp dspso.bin
mfastboot flash logo logo.bin
mfastboot flash boot boot.img
mfastboot flash system system.img_sparsechunk.0
mfastboot flash system system.img_sparsechunk.1
mfastboot flash system system.img_sparsechunk.2
mfastboot flash system system.img_sparsechunk.3
mfastboot flash system system.img_sparsechunk.4
mfastboot flash system system.img_sparsechunk.5
mfastboot flash system system.img_sparsechunk.6
mfastboot flash system_b system_other.img
mfastboot flash oem oem.img
mfastboot erase carrier
mfastboot erase userdata
mfastboot erase ddr​
Click to expand...
Click to collapse
gillyboatbruff said:
edufur said:
I'm rather new to the x4. Can you elaborate a little bit on flash all? I googled around a little bit and I if I understand it right, flash-all would be a script in the firmware zip file. I don't see one in there, just a flashfile.xml. Am I able to use that somehow? Or should I just use the steps listed at https://forum.xda-developers.com/moto-x4/how-to/flash-android-one-firmware-to-unlocked-t3744283 and do the following:
mfastboot flash partition gpt.bin
mfastboot flash bootloader bootloader.img
mfastboot reboot-bootloader
mfastboot flash modem NON-HLOS.bin
mfastboot flash fsg fsg.mbn
mfastboot erase modemst1
mfastboot erase modemst2
mfastboot flash bluetooth BTFM.bin
mfastboot flash dsp dspso.bin
mfastboot flash logo logo.bin
mfastboot flash boot boot.img
mfastboot flash system system.img_sparsechunk.0
mfastboot flash system system.img_sparsechunk.1
mfastboot flash system system.img_sparsechunk.2
mfastboot flash system system.img_sparsechunk.3
mfastboot flash system system.img_sparsechunk.4
mfastboot flash system system.img_sparsechunk.5
mfastboot flash system system.img_sparsechunk.6
mfastboot flash system_b system_other.img
mfastboot flash oem oem.img
mfastboot erase carrier
mfastboot erase userdata
mfastboot erase ddr​
Click to expand...
Click to collapse
Yeah, that looks like the one. You would have the script in the folder that you have unzipped your latest stock image to. Be sure that it is either in the tools path or that you have your platform tools as part of your path.
Click to expand...
Click to collapse
New Update: February Patch
PAYTON_FI_PPWS29.69-26-5_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
https://motox4custom.jimdofree.com/stock-roms/

Fix Wifi Wont Turn on

This was done on a XT1900-1 with an unlocked bootloader.
So I had flashed lineage worked good just couldn't get wifi calling working so I flashed AEX. The rom never booted and then when going back to lineage I had no wifi.
After spending hours trying to get wifi working again I finally found a solution.
I installed the latest stock rom for moto --> payton --> retail from here:
moto/payton/official/RETAIL/
I tried no erase modem first but that didn't work so I tried the other and it worked. Direct link:
PAYTON_RETAIL_9.0_PPWS29.69-39-2-1_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
You will also need mfastboot which can be found here.
I installed using the following script.
Code:
#!/bin/sh
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
mfastboot getvar max-sparse-size
mfastboot oem fb_mode_set
mfastboot flash partition gpt.bin
mfastboot flash bootloader bootloader.img
mfastboot flash modem NON-HLOS.bin
mfastboot flash fsg fsg.mbn
mfastboot erase modemst1
mfastboot erase modemst2
mfastboot flash bluetooth BTFM.bin
mfastboot flash dsp dspso.bin
mfastboot flash logo logo.bin
mfastboot flash boot boot.img
mfastboot flash system system.img_sparsechunk.0
mfastboot flash system system.img_sparsechunk.1
mfastboot flash system system.img_sparsechunk.2
mfastboot flash system system.img_sparsechunk.3
mfastboot flash system system.img_sparsechunk.4
mfastboot flash system system.img_sparsechunk.5
mfastboot flash system system.img_sparsechunk.6
mfastboot flash system_b system_other.img
mfastboot flash oem oem.img
mfastboot erase carrier
mfastboot erase userdata
mfastboot erase ddr
mfastboot oem fb_mode_clear
mfastboot reboot
I hope this helps.
Also if anyone who knows better than me has any warnings for people doing this please say something.
hi my friend! can you send my this rom please? PAYTON_RETAIL_9.0_PPWS29.69-39-2-1_sub
visionm45 said:
This was done on a XT1900-1 with an unlocked bootloader.
So I had flashed lineage worked good just couldn't get wifi calling working so I flashed AEX. The rom never booted and then when going back to lineage I had no wifi.
After spending hours trying to get wifi working again I finally found a solution.
I installed the latest stock rom for moto --> payton --> retail from here:
moto/payton/official/RETAIL/
I tried no erase modem first but that didn't work so I tried the other and it worked. Direct link:
PAYTON_RETAIL_9.0_PPWS29.69-39-2-1_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
You will also need mfastboot which can be found here.
I installed using the following script.
Code:
#!/bin/sh
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
mfastboot getvar max-sparse-size
mfastboot oem fb_mode_set
mfastboot flash partition gpt.bin
mfastboot flash bootloader bootloader.img
mfastboot flash modem NON-HLOS.bin
mfastboot flash fsg fsg.mbn
mfastboot erase modemst1
mfastboot erase modemst2
mfastboot flash bluetooth BTFM.bin
mfastboot flash dsp dspso.bin
mfastboot flash logo logo.bin
mfastboot flash boot boot.img
mfastboot flash system system.img_sparsechunk.0
mfastboot flash system system.img_sparsechunk.1
mfastboot flash system system.img_sparsechunk.2
mfastboot flash system system.img_sparsechunk.3
mfastboot flash system system.img_sparsechunk.4
mfastboot flash system system.img_sparsechunk.5
mfastboot flash system system.img_sparsechunk.6
mfastboot flash system_b system_other.img
mfastboot flash oem oem.img
mfastboot erase carrier
mfastboot erase userdata
mfastboot erase ddr
mfastboot oem fb_mode_clear
mfastboot reboot
I hope this helps.
Also if anyone who knows better than me has any warnings for people doing this please say something.
Click to expand...
Click to collapse
Everywhere I have looked for that ROM is no longer there, could you upload it to a server and share it please? Thanks a lot.
juliopons said:
This was done on a XT1900-1 with an unlocked bootloader.
So I had flashed lineage worked good just couldn't get wifi calling working so I flashed AEX. The rom never booted and then when going back to lineage I had no wifi.
After spending hours trying to get wifi working again I finally found a solution.
I installed the latest stock rom for moto --> payton --> retail from here:
moto/payton/official/RETAIL/
I tried no erase modem first but that didn't work so I tried the other and it worked. Direct link:
PAYTON_RETAIL_9.0_PPWS29.69-39-2-1_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
You will also need mfastboot which can be found here.
I installed using the following script.
Everywhere I have looked for that ROM is no longer there, could you upload it to a server and share it please? Thanks a lot.
Click to expand...
Click to collapse
Try LMSA'S Flash rescue option
https://forum.xda-developers.com/general/general/update-moto-lenovo-moto-smart-assistant-t3951714
Sent from my ali using XDA Labs

Categories

Resources