[Completed] how to lock bootloader of moto g4 plus after nougat update. - XDA Assist

hello XDA i just flashed moto g4 plus with latest firmware with android version 7.0 security patch level 1 nov 2016 baseband version M8952_70030.25.03.60R ATHENE_INDIA_DSDS_CUST built number NPJ25.93-11 but my bootloader is unlocked so i just want to know is there any way to lock bootloader and also i want to know since my bootloader is unlocked will i get further OTA updates or not..... please help me friends regarding this thanks in advance.....

XDA Visitor said:
hello XDA i just flashed moto g4 plus with latest firmware with android version 7.0 security patch level 1 nov 2016 baseband version M8952_70030.25.03.60R ATHENE_INDIA_DSDS_CUST built number NPJ25.93-11 but my bootloader is unlocked so i just want to know is there any way to lock bootloader and also i want to know since my bootloader is unlocked will i get further OTA updates or not..... please help me friends regarding this thanks in advance.....
Click to expand...
Click to collapse
Hello,
You'll have to reflash the latest stock firmware of your device and end it up with oem unlock command.
Full reflash sequence:
Code:
mfastboot oem fb_mode_set
mfastboot flash partition gpt.bin
mfastboot flash bootloader bootloader.img
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
mfastboot oem lock
You do get OTA updates after unlocking the bootloader but it is not recommended to install OTA updates.
You can fastboot newest firmware,
Also please register for XDA account to post and reply in the forum.
Regards
Vatsal,
Forum Moderator.

Related

[Q] About Unlocking Bootlader and flashing ROMs

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.

[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

Latest X4 Firmware

Latest full firmware have posted from the Motorola Firmware Team. For fi at least it is inclusive of the Sept 2018 security patch.
Google FI
Amazon Prime Edition
Updated 10/9
Hi. Could someone tell me please is the opws28.46-21-9 on oreo 8.0 or 8.1? What's the difference between opw and opws software?
It's 8.1.
ptn107 said:
Latest full firmwares have posted from the Motorola Firmware Team.
https://androidfilehost.com/?w=files&flid=229118&sort_by=date&sort_dir=DESC
Click to expand...
Click to collapse
Please, anyone can explain the name files?
brunopio said:
Please, anyone can explain the name files?
Click to expand...
Click to collapse
payton is moto retail
payton_amz is the amazon prime edition
payton_fi is the Android One version
ptn107 said:
payton is moto retail
payton_amz is the amazon prime edition
payton_fi is the Android One version
Click to expand...
Click to collapse
from your experience do you think the android one version is better than retail?
From the info file inside the Android One archive. This is the August 1 security update.
BUILD REQUEST INFO:
SW Version: payton_fi-user 8.1.0 OPWS28.46-21-8 7116 release-keysM660_7042.27.01.74R
MBM Version: MBM-3.0-uefi-455afa3-180726
Modem Version: M660_7042.27.01.74R
FSG Version: FSG-660-01.87
Build Fingerprint: motorola/payton_fi/payton_sprout:8.1.0/OPWS28.46-21-8/7116:user/release-keys
CQATest App Version: 6.0.3
VERSION INFO FOUND UNDER 'ABOUT PHONE' SCREEN:
System Version: 28.241.11.payton_fi.google_fi.en.US
Model Number: moto x4
Android Version: 8.1.0
Baseband Version: M660_7042.27.01.74R
Build Id: OPWS28.46-21-8
SW Display Build ID: OPWS28.3.2
Build Date: Thu Jul 26 14:26:54 CDT 2018
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.28.241.11.payton_fi.google_fi.en.US
Version when read from CPV: payton_fi-user 8.1.0 OPWS28.46-21-8 7116 release-keys
AB Update Enabled: True
Full Treble Enabled: False
bluedragon12 said:
from your experience do you think the android one version is better than retail?
Click to expand...
Click to collapse
The AndroidOne version lacks the gesture navigation using the fingerprint reader and one or two features in the Moto app. Other than that they are basically the same close to stock android. I only used the A1 version never saw the need to switch. A1 has a better update cycle though and it's on 8.1.
I got the xt1900-4 openCL channel with OPWS27.2.3 (android 8.0)... ¿Can i install the PAYTON_OPWS28.46-21-9_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zi version?
i didn't unlock my bootloader... i wanna flash the rom but i don't wanna unlock my bootloader...
RodBonzai said:
I got the xt1900-4 openCL channel with OPWS27.2.3 (android 8.0)... ¿Can i install the PAYTON_OPWS28.46-21-9_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zi version?
i didn't unlock my bootloader... i wanna flash the rom but i don't wanna unlock my bootloader...
Click to expand...
Click to collapse
You can, but you'll lose OTA because of the different software channel.
abrfilho said:
You can, but you'll lose OTA because of the different software channel.
Click to expand...
Click to collapse
How do you flash without unlocking the bootloader?
TeamRainless said:
How do you flash without unlocking the bootloader?
Click to expand...
Click to collapse
Using fastboot commands, but not every rom will flash, I succeed flashing Android One over my X4 without unlocking, you just need the same security patch, if it's older will soft brick with locked bootloader.
You can follow the tutorial here for returning to stock rom, the latest available ROMs for Retail and Android One have August security patch.
abrfilho said:
Using fastboot commands, but not every rom will flash, I succeed flashing Android One over my X4 without unlocking, you just need the same security patch, if it's older will soft brick with locked bootloader.
You can follow the tutorial here for returning to stock rom, the latest available ROMs for Retail and Android One have August security patch.
Click to expand...
Click to collapse
Actually i flash the firmware via fastboot (the file flashfile.xml have the linecodes) ... i got Oreo 8.1 without issues (for the moment :angel
I'll let you know if I notice something strange in the next days
these are the lines of code that I use:
Code:
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 system.img_sparsechunk.7
mfastboot flash system_b system_other.img
mfastboot flash oem oem.img
mfastboot erase carrier
mfastboot erase userdata
mfastboot erase ddr
abrfilho said:
Using fastboot commands, but not every rom will flash, I succeed flashing Android One over my X4 without unlocking, you just need the same security patch, if it's older will soft brick with locked bootloader.
You can follow the tutorial here for returning to stock rom, the latest available ROMs for Retail and Android One have August security patch.
Click to expand...
Click to collapse
What software channel are you on now? Are people getting OTA updates on the new channel? (Can't quite understand why they wouldn't...)
RodBonzai said:
Actually i flash the firmware via fastboot (the file flashfile.xml have the linecodes) ... i got Oreo 8.1 without issues (for the moment :angel
I'll let you know if I notice something strange in the next days
these are the lines of code that I use:
Code:
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 system.img_sparsechunk.7
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
Where did you get the download? And were you already on the August update on 8.0?
RodBonzai said:
Actually i flash the firmware via fastboot (the file flashfile.xml have the linecodes) ... i got Oreo 8.1 without issues (for the moment :angel
I'll let you know if I notice something strange in the next days
these are the lines of code that I use:
Code:
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 system.img_sparsechunk.7
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
Yes, the tutorial to return to stock have a script with the necessary commands, it's all through fastboot.
TeamRainless said:
What software channel are you on now? Are people getting OTA updates on the new channel? (Can't quite understand why they wouldn't...)
Where did you get the download? And were you already on the August update on 8.0?
Click to expand...
Click to collapse
Now I'm using LineageOS 16, but the software channel is hardware dependent, I'll try to explain to you why people with different software channels don't receive OTA, each software channel is like a server, they provide the software to the clients, the phones, each server act independent, retbr have one software, retus have other, reteu other and so on... If you put a ROM on your phone that your software channel don't have, like flashing Android One, a ROM that only retus have, on a retbr phone, the phone will lose OTA, because the software channel don't support Android One, even if you flash Android One, the software channel will remain the same and you can't change it.
You can find the Android One 8.1 and Retail 8.1 with August at AndroidFileHost, I have Android 8 with only June patch, retbr support this ROM and I think the others software channels, except retus and amz, support it too, and because of that.
You can find the file here, it's my folder: https://drive.google.com/open?id=1TLzouN4KKdxysxkMaBKEzlfg9-ptEiO_
If anyone was wondering, Xposed continues to cause bootloop on latest firmware
(deleted)
September 2018 OTA for Android One (Oreo 8.1):
Blur_Version.28.251.17.payton_fi.google_fi.en.US
September 2018 OTA for Retail (retus sw channel) (Oreo 8.1):
Blur_Version.28.251.20.payton.retail.en.US
Click to "Download" and save as ZIP file.
Edit:
edited links
Comby_sk said:
Both files save as ZIP file.
Click to expand...
Click to collapse
Tried both and get "Access to dlmgr.gtm.svcmot.com was denied - You don't have authorization to view this page. - HTTP ERROR 403" (with Chrome)
Can you provide an alternative link?
Nevermind - Worked from a different PC.
Comby_sk said:
September 2018 OTA for Android One (Oreo 8.1):
Blur_Version.28.251.17.payton_fi.google_fi.en.US
September 2018 OTA for Retail (retus sw channel) (Oreo 8.1):
Blur_Version.28.251.20.payton.retail.en.US
Click to "Download" and save as ZIP file.
Edit:
edited links
Click to expand...
Click to collapse
How can I apply this update with unlocked bootloader and magisk rooted X4?

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