Re-lock bootloader moto x4 possible? - Moto X4 Questions & Answers

Re-lock bootloader moto x4 possible
after Flash Official Frmware Moto X4 - PAYTON_OPW27.57-40
should i use this command ( fastboot oem lock) ?
Thanks for help

yes

Neffy27 said:
yes
Click to expand...
Click to collapse
When I use this command: fastboot oem lock.
You still receive the bootloader unlock message.

Try this:
Signed ROMs: https://androidfilehost.com/?w=files&flid=229118
Payton_ = Retail
Payton_Fi = Android ONE
Payton_AMZ = AMAZON
THIS WILL WIPE ALL YOUR DATA AND THE SECURITY PATCH MUST TO BE THE SAME AS YOU HAVE NOW OR ABOVE for example Retail 8.1 - 1 April Security Patch.
fastboot getvar max-sparse-size
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash boot boot.img
fastboot flash modem NON-HLOS.bin
fastboot flash fsg fsg.mbn
fastboot erase modemst1
fastboot erase modemst2
fastboot flash bluetooth BTFM.bin
fastboot flash dsp dspso.bin
fastboot flash logo logo.bin
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash system_b system_other.img
fastboot flash oem oem.img
fastboot erase cache
fastboot erase carrier
fastboot erase clogo
fastboot erase userdata
fastboot erase ddr
fastboot oem fb_mode_clear
fastboot oem lock
fastboot oem lock
fastboot flash oem oem.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash boot boot.img
fastboot oem lock

lucasbitencourt said:
Try this:
Signed ROMs: https://androidfilehost.com/?w=files&flid=229118
Payton_ = Retail
Payton_Fi = Android ONE
Payton_AMZ = AMAZON
THIS WILL WIPE ALL YOUR DATA AND THE SECURITY PATCH MUST TO BE THE SAME AS YOU HAVE NOW OR ABOVE for example Retail 8.1 - 1 April Security Patch.
fastboot getvar max-sparse-size
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash boot boot.img
fastboot flash modem NON-HLOS.bin
fastboot flash fsg fsg.mbn
fastboot erase modemst1
fastboot erase modemst2
fastboot flash bluetooth BTFM.bin
fastboot flash dsp dspso.bin
fastboot flash logo logo.bin
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash system_b system_other.img
fastboot flash oem oem.img
fastboot erase cache
fastboot erase carrier
fastboot erase clogo
fastboot erase userdata
fastboot erase ddr
fastboot oem fb_mode_clear
fastboot oem lock
fastboot oem lock
fastboot flash oem oem.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash boot boot.img
fastboot oem lock
Click to expand...
Click to collapse
Question, how reliable is this? I have to make the first commands then followed by the others that you leave below?

nykola5 said:
Question, how reliable is this? I have to make the first commands then followed by the others that you leave below?
Click to expand...
Click to collapse
Copy and paste on CMD with your phone in fastboot, press enter.
---------- Post added at 05:00 PM ---------- Previous post was at 04:59 PM ----------
lucasbitencourt said:
Copy and paste on CMD with your phone in fastboot, press enter.
Click to expand...
Click to collapse
Maybe you will need add this command at the end: fastboot reboot

lucasbitencourt said:
Copy and paste on CMD with your phone in fastboot, press enter.
---------- Post added at 05:00 PM ---------- Previous post was at 04:59 PM ----------
Maybe you will need add this command at the end: fastboot reboot
Click to expand...
Click to collapse
Thanks, I'll see if it works right now
---------- Post added at 09:16 PM ---------- Previous post was at 08:42 PM ----------
lucasbitencourt said:
Copy and paste on CMD with your phone in fastboot, press enter.
---------- Post added at 05:00 PM ---------- Previous post was at 04:59 PM ----------
Maybe you will need add this command at the end: fastboot reboot
Click to expand...
Click to collapse
Your method does not work, I get the following wrong command:
(bootloader) flash permission denied
FAILED (remote failure)
At least you tried to do it?

nykola5 said:
Thanks, I'll see if it works right now
---------- Post added at 09:16 PM ---------- Previous post was at 08:42 PM ----------
Your method does not work, I get the following wrong command:
(bootloader) flash permission denied
FAILED (remote failure)
At least you tried to do it?
Click to expand...
Click to collapse
Are you sure that your bootloader is unlocked? In what line did you received that message?

lucasbitencourt said:
Are you sure that your bootloader is unlocked? In what line did you received that message?
Click to expand...
Click to collapse
If I have it unlocked, it appeared when I entered the line: fastboot flash oem oem.img
After all the commands entered I get the same and did not lock and I kept appearing at the beginning the unlocked bootloader message

nykola5 said:
If I have it unlocked, it appeared when I entered the line: fastboot flash oem oem.img
After all the commands entered I get the same and did not lock and I kept appearing at the beginning the unlocked bootloader message
Click to expand...
Click to collapse
On developers settings check the option "OEM unlock" and deputation
---------- Post added at 11:04 PM ---------- Previous post was at 11:01 PM ----------
You can also try to changing the lock commands to:
fastboot flashing lock
Or
oem relock

lucasbitencourt said:
On developers settings check the option "OEM unlock" and deputation
---------- Post added at 11:04 PM ---------- Previous post was at 11:01 PM ----------
You can also try to changing the lock commands to:
fastboot flashing lock
Or
oem relock
Click to expand...
Click to collapse
What replacement command for the one you just gave me?

Instead of fastboot oem lock

lucasbitencourt said:
Instead of fastboot oem lock
Click to expand...
Click to collapse
And you did this same procedure?

nykola5 said:
And you did this same procedure?
Click to expand...
Click to collapse
For me fastboot oem lock works

This would be the first I've read of someone be able to relock bootloader and you're claiming to have official signed images. I follow these forums, Reddit sub, and Lenovo forums closely. I really want to believe you...
Only thing holding me back from unlocking again. I was able to get a warranty replacement via Fi when I bootlooped my first Moto X4 messing around with all these files.
And to be clear on what I mean by signed, exactly how Google offers monthly factory images to restore your phone to fully 100% stock. I'm willing to bet your images won't restore safety net and the phone doesn't untrip the modified flag. This is what you need to make clear when offering your images as"signed".
Edit - added more

Neffy27, you're dead right. Following this guide does restore you to stock and lock your bootloader, however the warning on boot still flags up - and subsequently you aren't able to use Google Pay etc.

This ever get figured out?

Nickdroid86 said:
This ever get figured out?
Click to expand...
Click to collapse
What are you asking?

Neffy27 said:
What are you asking?
Click to expand...
Click to collapse
of he got rid of the unlocked bootloader alert messages on boot up

There's another thread that explains it, you have to flash the logo file with another file of your choice in the right format. This thread just discusses relocking the bootloader which you can do just by flashing any stock firmware but keep in mind, SafetyNet will still not passed and modified flag is still tripped.

Related

Unable to Relock Bootloader and SIM card NOT READING error on MOTO X 2014 AT&T XT1097

Unable to Relock Bootloader and SIM card NOT READING error on MOTO X 2014 AT&T XT1097
i have unlocked bootloader on my moto X 2014 (canada variant) XT1097 and status code : 3
after flashing stock roms & many attempts to relock the bootloader but no luck to lock my phone bootloader
with this cmd in the fastboot mode.
{
fastboot oem lock
(bootloader) FAIL: Please run fastboot oem lock begin first!
(bootloader) sst lock failure!
} (this statment also shows to flash any signed img (i dont know what it means))
as well as while i am flashing rom i got this errors
{
hab check failed for recovery
hab check failed for boot
} in pink colour
my phone is unable to read sim card (NO Network)
can anyone suggest any solution.
maninder.email said:
i have unlocked bootloader on my moto X 2014 (canada variant) XT1097 and status code : 3
after flashing stock roms & many attempts to relock the bootloader but no luck to lock my phone bootloader
with this cmd in the fastboot mode.
{
fastboot oem lock
(bootloader) FAIL: Please run fastboot oem lock begin first!
(bootloader) sst lock failure!
} (this statment also shows to flash any signed img (i dont know what it means))
as well as while i am flashing rom i got this errors
{
hab check failed for recovery
hab check failed for boot
} in pink colour
my phone is unable to read sim card (NO Network)
can anyone suggest any solution.
Click to expand...
Click to collapse
If you're using your ATT XT1097 with a Canadian carrier, then you need to flash the VICTARA_RETCA_XT1097_6.0 firmware:
https://mega.nz/#F!ow8igZRL!Z7vmN8GOpez2bVMYDvEKkg!IkEVHRxS
fastboot getvar max-sparse-size
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash motoboot motoboot.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash system system.img_sparsechunk.8
fastboot flash system system.img_sparsechunk.9
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot erase customize
fastboot erase clogo
fastboot oem fb_mode_clear
Every single line, so that ALL files are stock. There's no advantage to relocking the bootloader, you won't get warranty back. But try relocking it after flashing the full factory firmware.
Gus Ghanem said:
If you're using your ATT XT1097 with a Canadian carrier, then you need to flash the VICTARA_RETCA_XT1097_6.0 firmware:
https://mega.nz/#F!ow8igZRL!Z7vmN8GOpez2bVMYDvEKkg!IkEVHRxS
fastboot getvar max-sparse-size
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash motoboot motoboot.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash system system.img_sparsechunk.8
fastboot flash system system.img_sparsechunk.9
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot erase customize
fastboot erase clogo
fastboot oem fb_mode_clear
Every single line, so that ALL files are stock. There's no advantage to relocking the bootloader, you won't get warranty back. But try relocking it after flashing the full factory firmware.
Click to expand...
Click to collapse
yahoo! Phone is able to read my Wind sim card and i am able to make phone calls.
Thanks Gus Ghanem
I really appreciate your help
i followed your instructions.
maninder.email said:
yahoo! Phone is able to read my Wind sim card and i am able to make phone calls.
Thanks Gus Ghanem
I really appreciate your help
i followed your instructions.
Click to expand...
Click to collapse
You're welcome! I'm glad it's working

[GUIDE][Harpia][Windows, macOS, & Linux] Flash to Stock Firmware and Recovery

Links:
ADB and Fastboot mini .zip
All Stock Firmware link: (Thanks to proudlytm for supplying) https://mirrors.lolinet.com/firmware/moto/harpia/official/
What you need:
A Windows/macOS/Linux computer
A USB cable
ADB and Fastboot files
Stock Firmware
Your phone
*Disclaimer* Your warranty is now void if you modify your phone. I'm not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed.
Let's get started! First, backup to your computer/Dropbox/etc. all the files you wish to save. This will wipe all data off your phone (Not all data saved on any cloud services, such as Google, OneDrive, Dropbox, etc.). You will also lose root if you have it.
Second, boot your phone into the bootloader. This can be done in certain ROM power menus, or with the ADB command "adb reboot bootloader" in Command Prompt/Terminal, or also by turning off your phone and then holding the power and volume down buttons. After booting into the bootloader, plug your phone into your computer.
Next open up Command Prompt if on Windows, Terminal if on macOS/Linux.
Navigate in CMD Prompt/Terminal to the directory you downloaded and extracted the stock firmware. Copy the Fastboot and ADB files into the same directory as the stock firmware files.
*Most Linux distributions have the same commands as Windows. I only have experience with Arch Linux and ElementaryOS (An Ubuntu variant), so I cannot confirm for other distributions.*
*I no longer am running macOS on my MacBook, I'm running Arch Linux and an Ubuntu variant, so I'm no longer able to troubleshoot with macOS*
For Windows and Linux users, enter the following commands in Command Prompt/Terminal (use sudo before each command in Linux, or use sudo -s beforehand):
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash oem oem.img
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot erase customize
fastboot erase clogo
fastboot erase DDR
fastboot oem fb_mode_clear
fastboot reboot
Click to expand...
Click to collapse
For macOS, enter the following in Terminal:
./fastboot oem fb_mode_set
./fastboot flash partition gpt.bin
./fastboot flash logo logo.bin
./fastboot flash boot boot.img
./fastboot flash recovery recovery.img
./fastboot flash system system.img_sparsechunk.0
./fastboot flash system system.img_sparsechunk.1
./fastboot flash system system.img_sparsechunk.2
./fastboot flash system system.img_sparsechunk.3
./fastboot flash system system.img_sparsechunk.4
./fastboot flash system system.img_sparsechunk.5
./fastboot flash system system.img_sparsechunk.6
./fastboot flash system system.img_sparsechunk.7
./fastboot flash modem NON-HLOS.bin
./fastboot flash oem oem.img
./fastboot erase modemst1
./fastboot erase modemst2
./fastboot flash fsg fsg.mbn
./fastboot erase cache
./fastboot erase userdata
./fastboot erase customize
./fastboot erase clogo
./fastboot erase DDR
./fastboot oem fb_mode_clear
./fastboot reboot
Click to expand...
Click to collapse
Hope it helps!
I think this link has the stock ROM for all variants of the phone!
proudlytm said:
I think this link has the stock ROM for all variants of the phone!
Click to expand...
Click to collapse
Much appreciated. Added to the post. Thank you!
Stock rom moto g4 play xt1600 brazil
Por favor alguém tem stock rom da variante xt1600 do Brasil
Very nice!
But to install the stock rom you don't need to unlock bootloader...
Thanks for the nice guide
Does it require an unlocked bootloader? Thanx anyways
jishujena2000 said:
Does it require an unlocked bootloader? Thanx anyways
Click to expand...
Click to collapse
Personally, I have no idea. I've seen guides from other various phones over the years in the Moto and also HTC families when I had their devices, that say you do and some say you don't. I would say to be safe, yes it should have an unlocked bootloader but again, I cannot 100% answer that
Thank you! Your tutorial helped me a lot! I was wanting to go back to the original firmware!
@fireball0093 By the way, are you sure it works with normal fastboot? Because I see you have linked adb and normal fastboot files, but in the Windows instructions it says "mfastboot" ?
proudlytm said:
@fireball0093 By the way, are you sure it works with normal fastboot? Because I see you have linked adb and normal fastboot files, but in the Windows instructions it says "mfastboot" ?
Click to expand...
Click to collapse
Generally most guides I have seen out there for a lot of things have mfastboot as the command for Windows. I personally run macOS so I'm not really savvy with the Windows adb and fastboot
Will using this guide install stock firmware and remove the bootloader unlocked warning?
Did you try any command for relocking the bootloader or is it not possible to do that in our device at all?
MaanasDwivedi said:
Will using this guide install stock firmware and remove the bootloader unlocked warning?
Did you try any command for relocking the bootloader or is it not possible to do that in our device at all?
Click to expand...
Click to collapse
I always flash a custom logo from AnoopKumar's thread, so I'm not too sure. It's been a while since I last flashed to stock. This will install stock firmware, and I'm not sure at all if our device has a bootloader able to be relocked.
proudlytm said:
@fireball0093 By the way, are you sure it works with normal fastboot?
Click to expand...
Click to collapse
I used a similar instruction from the topic for moto g4 plus couple of months ago (except for this line - mfastboot erase DDR - dont know what is it for). I used Adb run on windows 10: mfastboot command didn't work. Then i typed all the same lines but with fastboot instead of mfastboot. It worked.
---------- Post added at 15:46 ---------- Previous post was at 15:41 ----------
MaanasDwivedi said:
Will using this guide install remove the bootloader unlocked warning?
Click to expand...
Click to collapse
No, it will not. Unless you install a custom boot logo from the respective thread during this step: mfastboot flash logo logo.bin
---------- Post added at 15:49 ---------- Previous post was at 15:46 ----------
I've got a couple of questions: what is this command responsible for: "mfastboot erase DDR" ?
I flashed stock rom without this line and it worked fine.
Does it matter if flash oem is done before 8 of flash system commands?
Thank you for the guide!!! Worked like a charm to flash my Moto XT1607 back to stock. I just want to confirm that you have to remove the "m" on each command line if you are using Windows. I'm using Windows 10 and the commands were NOT recognized with the "m" in front of each line. That being said, the bat file provided will NOT work with windows. Copy and paste each line without the "m" in the command terminal and it works perfectly!
Thanks again Fireball0093
I will edit the post since it seems you don't need to enter m in front of fastboot. I use macOS as my main OS
please help
please can help me ?? i got xt1601 from pc mobile 24.201.8.harpia.retail.en.us i cant find the stock firmware help help
Thanks bro
Good job
With this guide is it possible to flash a non amazon firmware on the amazon variant?
Sorry. Im new to posting so i don't know how to post but with this guide is it possible to flash a non amazon firmware on the amazon variant?
Uchiha0724 said:
Sorry. Im new to posting so i don't know how to post but with this guide is it possible to flash a non amazon firmware on the amazon variant?
Click to expand...
Click to collapse
People haven't seemed to have success, I don't think it would work from reading what others say

I have problem with locking my bootloader

Hello
I can't enable this option for lock bootloader
I tried write fastboot oem lock but I forgot enable this
I flashed NPS26.116-61 and NPSS26.116-45-5 and same
How I can relock my bootloader?
PS : when I flash stock rom in boot and recovery files I have: (bootloader) Image signed with key bad key
Developer options
Adi5 said:
Hello
I can't enable this option for lock bootloader
I tried write fastboot oem lock but I forgot enable this
I flashed NPS26.116-61 and NPSS26.116-45-5 and same
How I can relock my bootloader?
PS : when I flash stock rom in boot and recovery files I have: (bootloader) Image signed with key bad key
Click to expand...
Click to collapse
Expecting u have done everything right and know the basics .And this one worked for me with dec updated firmware. Copy all command cntr+V
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash dsp adspso.bin
fastboot flash oem oem.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot erase customize
fastboot erase clogo
fastboot oem fb_mode_clear
fastboot oem lock
fastboot oem lock
fastboot flash oem oem.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash boot boot.img
fastboot oem lock
Kakshay0981 said:
Hoping u have done everything right and know the basics .... And this one worked for me with dec updated firmware. Copy all command cntr+V
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash dsp adspso.bin
fastboot flash oem oem.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot erase customize
fastboot erase clogo
fastboot oem fb_mode_clear
fastboot oem lock
fastboot oem lock
fastboot flash oem oem.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash boot boot.img
fastboot oem lock
Click to expand...
Click to collapse
Thanks
I will try it later
I hope it help and I finally I 'll lock bootloader
And I have last question
It will relock with disabled oem unlocking option? When I tried fastboot oem lock command "cheak oem options"
Adi5 said:
Thanks
I will try it later
I hope it help and I finally I 'll lock bootloader
And I have last question
It will relock with disabled oem unlocking option? When I tried fastboot oem lock command "cheak oem options"
Click to expand...
Click to collapse
I am not sure weather it will work disabled oem.
I read somewhere that to lock we have to enable it so when i was flashing i enabled it.
Kakshay0981 said:
I am not sure weather it will work disabled oem.
I read somewhere that to lock we have to enable it so when i was flashing i enabled it.
Click to expand...
Click to collapse
I enabled it
Solution: flash twrp And root via magisk And I can enabled/disable oem unlock
(bootloader) Still require signed boot.img
OKAY [ -0.000s]
finished. total time: -0.000s
no working
Edit my bad
Thanks,working as charm
thanks! working for me!
It works finally. Thank you man it was helpful
Adi5 said:
Thanks,working as charm
Click to expand...
Click to collapse
What is your model number? XT1804?
Excuse me, but why people want to lock bootloader back? Except ofc to sell it or try to get a warranty service repair.
susemano said:
What is your model number? XT1804?
Click to expand...
Click to collapse
XT1805
osemoka said:
Excuse me, but why people want to lock bootloader back? Except ofc to sell it or try to get a warranty service repair.
Click to expand...
Click to collapse
Pass safetynet without magisk on stock rom(get ota updates)
But I locked bootloader and unlocked them after 1 week?
Adi5 said:
Thanks
I will try it later
I hope it help and I finally I 'll lock bootloader
And I have last question
It will relock with disabled oem unlocking option? When I tried fastboot oem lock command "cheak oem options"
Click to expand...
Click to collapse
Does this work with the moto G5s plus 8t1806 variant and if so what do I flash to relock my bootloader
Dunken415 said:
Does this work with the moto G5s plus 8t1806 variant and if so what do I flash to relock my bootloader
Click to expand...
Click to collapse
Should work
What software version u have now?
Adi5 said:
Should work
What software version u have now?
Click to expand...
Click to collapse
Android version is 7.1.1, and if you want to know the build number it is NPSS26 . 116-45-9
http://pdl.team-eureka.com/other/dd...ubsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
Flash this with commands in this thread
I´m still trying to lock my bootloader, but when I start the phone it shows me the bad key screen and says that it´s till unlock. HEEELP

How to unroot new Z3 play?

So I think I'm going to return this Z3 play. Can someone link me to the process of unrooting?
Hear, HEAR. I second this, I am trying to work my way through the "No SIM Card" or sometimes "Invalid SIM Card" (on Sprint networks) error, and I am just wanting to unroot and relock the bootloader without breaking the thing beyond repair. Any help is appreciated. I located the latest stock firmware on here, but I am not 100% sure on the exact process as of yet.
mroneeyedboh said:
So I think I'm going to return this Z3 play. Can someone link me to the process of unrooting?
Click to expand...
Click to collapse
spyda256 said:
Hear, HEAR. I second this, I am trying to work my way through the "No SIM Card" or sometimes "Invalid SIM Card" (on Sprint networks) error, and I am just wanting to unroot and relock the bootloader without breaking the thing beyond repair. Any help is appreciated. I located the latest stock firmware on here, but I am not 100% sure on the exact process as of yet.
Click to expand...
Click to collapse
I have the Unlocked Z3, as well as the Sprint model, and have flashed between stock/CFW many tines. You simply need to use a flash all bat, paired with the stock firmware (current or newer).
However, please keep in mind that the verity message will remain during boot. Locking the bootloader will NOT fix this. If either of you need the bat file lmk.
Edit:
1. Enter fastboot/booloader on phone. Place bat file in SAME folder as unzipped firmware. Android SDK or adb tools must be installed!
2. Try USB2.0 port before 3+
3. Once done, use keys and switch to recovery mode
4. Perform a format
5. Reboot
https://drive.google.com/folderview?id=15hFa95l6bV1idoRXe5L1gt36jpG9s9DG
fastboot getvar max-sparse-size
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash modem NON-HLOS.bin
fastboot flash fsg fsg.mbn
fastboot flash bluetooth BTFM.bin
fastboot flash dsp dspso.bin
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system_b system_other.img
fastboot flash oem oem.img
fastboot flash oem_b oem_other.img
fastboot flash vendor vendor.img_sparsechunk.0
fastboot flash vendor vendor.img_sparsechunk.1
fastboot erase modemst1
fastboot erase modemst2
fastboot erase carrier
fastboot erase cache
fastboot erase userdata
fastboot erase ddr
fastboot oem fb_mode_clear
pause

Sim card is not working moto e5 plus(xt1924-3)

None of my sim card work with my moto e5 plus(xt1924-3).
I will give all necessary information if anybody requires it for helping me.
Please need help here
Nik7413 said:
None of my sim card work with my moto e5 plus(xt1924-3).
I will give all necessary information if anybody requires it for helping me.
Please need help here
Click to expand...
Click to collapse
Did you flash different firmware?
Sent from my ali using XDA Labs
No, I have never flashed a different firmware, I have used various roms for it(lineage,dot,pixel experience).
And only ASOP Extended worked. I want to use pixel experience.i never have flashed a firmware, I have only installed roms and mods only.
Nik7413 said:
No, I have never flashed a different firmware, I have used various roms for it(lineage,dot,pixel experience).
And only ASOP Extended worked. I want to use pixel experience.i never have flashed a firmware, I have only installed roms and mods only.
Click to expand...
Click to collapse
Okay, I include custom ROMs as firmware.
Device was working before custom ROMs?
Sent from my ali using XDA Labs
sd_shadow said:
Did you flash different firmware?
Sent from my ali using XDA Labs
Click to expand...
Click to collapse
sd_shadow said:
Okay, I include custom ROMs as firmware.
Device was working before custom ROMs?
Sent from my ali using XDA Labs
Click to expand...
Click to collapse
Everything was working fine before I installed custom roms
Nik7413 said:
Everything was working fine before I installed custom roms
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
sd_shadow said:
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
Click to expand...
Click to collapse
Umm.. I am using linux, so I would need help here.
sd_shadow said:
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
Click to expand...
Click to collapse
It will work with pixel experience, right?
Nik7413 said:
Umm.. I am using linux, so I would need help here.
Click to expand...
Click to collapse
LMSA is only for PC
If no PC run
Code:
fastboot getvar all
Product = codename
carrier_sku = Model #
ro.carrier = Software Channel
Then download stock firmware from
https://mirrors.lolinet.com/firmware/moto
Then flash
Code:
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
Sent from my Moto E (4) using Tapatalk
---------- Post added at 11:48 PM ---------- Previous post was at 11:47 PM ----------
Nik7413 said:
It will work with pixel experience, right?
Click to expand...
Click to collapse
LMSA will flash stock firmware over custom ROMs.
Sent from my Moto E (4) using Tapatalk
sd_shadow said:
LMSA is only for PC
If no PC run
Code:
fastboot getvar all
Product = codename
carrier_sku = Model #
ro.carrier = Software Channel
Then download stock firmware from
https://mirrors.lolinet.com/firmware/moto
Then flash
Code:
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
Sent from my Moto E (4) using Tapatalk
---------- Post added at 11:48 PM ---------- Previous post was at 11:47 PM ----------
LMSA will flash stock firmware over custom ROMs.
Sent from my Moto E (4) using Tapatalk
Click to expand...
Click to collapse
What should I use retapac or retin
sd_shadow said:
LMSA is only for PC
If no PC run
Code:
fastboot getvar all
Product = codename
carrier_sku = Model #
ro.carrier = Software Channel
Then download stock firmware from
https://mirrors.lolinet.com/firmware/moto
Then flash
Code:
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
Sent from my Moto E (4) using Tapatalk
---------- Post added at 11:48 PM ---------- Previous post was at 11:47 PM ----------
LMSA will flash stock firmware over custom ROMs.
Sent from my Moto E (4) using Tapatalk
Click to expand...
Click to collapse
Using fastboot getvar all, it's stuck at waiting for any device
sd_shadow said:
LMSA is only for PC
If no PC run
Code:
fastboot getvar all
Product = codename
carrier_sku = Model #
ro.carrier = Software Channel
Then download stock firmware from
https://mirrors.lolinet.com/firmware/moto
Then flash
Code:
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
Sent from my Moto E (4) using Tapatalk
---------- Post added at 11:48 PM ---------- Previous post was at 11:47 PM ----------
LMSA will flash stock firmware over custom ROMs.
Sent from my Moto E (4) using Tapatalk
Click to expand...
Click to collapse
Sorry for those above stupid posts, got little confused there.
Okay so I have downloaded the firmware, I need a bit of explanation for the second set of codes you have given.
Can you please explain them?
Nik7413 said:
Sorry for those above stupid posts, got little confused there.
Okay so I have downloaded the firmware, I need a bit of explanation for the second set of codes you have given.
Can you please explain them?
Click to expand...
Click to collapse
Fastboot getvar is used to see which firmware is needed for the device.
If you use the wrong firmware the device may not work correct.
There is some instructions on how to flash firmware here
https://forum.xda-developers.com/moto-e5/how-to/firmware-moto-e5-xt1944-4-dual-sim-t3820901
And
https://forum.xda-developers.com/general/rooting-roms/guide-flashing-motorola-firmware-t4042039
Sent from my Moto E (4) using Tapatalk
sd_shadow said:
Fastboot getvar is used to see which firmware is needed for the device.
If you use the wrong firmware the device may not work correct.
There is some instructions on how to flash firmware here
https://forum.xda-developers.com/moto-e5/how-to/firmware-moto-e5-xt1944-4-dual-sim-t3820901
And
https://forum.xda-developers.com/general/rooting-roms/guide-flashing-motorola-firmware-t4042039
Sent from my Moto E (4) using Tapatalk
Click to expand...
Click to collapse
Last question, probably, if i flash 'NON-HLOS.bin',would i have to use the codes in servicefile.xml, or i can skip it?
OR is that the required file that i need to flash to get the sim working.
And the code you have given and the code present in servicefile.xml are different, fsg.mbn is flashed before erase,
and do i have to delete flashfile.xml?
Nik7413 said:
What should I use retapac or retin
Click to expand...
Click to collapse
That's what Fastboot getvar will tell you
Sent from my ali using XDA Labs
---------- Post added at 01:20 PM ---------- Previous post was at 01:10 PM ----------
Nik7413 said:
Last question, probably, if i flash 'NON-HLOS.bin',would i have to use the codes in servicefile.xml, or i can skip it?
OR is that the required file that i need to flash to get the sim working.
Click to expand...
Click to collapse
Which codes?
The .xml contains info programs like RSD Lite and LMSA use to flash the firmware.
Most isn't usually needed.
I would just try
Code:
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
If that doesn't work flash like this
But compare to .xml for correct number of system.img_sparsechunk
And system_b files
Code:
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash modem_a NON-HLOS.bin
fastboot flash fsg_a fsg.mbn
fastboot erase modemst1
fastboot erase modemst2
fastboot flash dsp_a adspso.bin
fastboot flash logo_a logo.bin
fastboot flash boot_a boot.img
fastboot flash dtbo_a dtbo.img
fastboot flash system_a system.img_sparsechunk.0
fastboot flash system_a system.img_sparsechunk.1
fastboot flash system_a system.img_sparsechunk.2
fastboot flash system_a system.img_sparsechunk.3
fastboot flash system_a system.img_sparsechunk.4
fastboot flash system_a system.img_sparsechunk.5
fastboot flash system_a system.img_sparsechunk.6
fastboot flash system_a system.img_sparsechunk.7
fastboot flash system_a system.img_sparsechunk.8
fastboot flash system_a system.img_sparsechunk.9
fastboot flash system_b system_b.img_sparsechunk.0
fastboot flash system_b system_b.img_sparsechunk.1
fastboot flash system_b system_b.img_sparsechunk.2
fastboot flash vendor_a vendor.img_sparsechunk.0
fastboot flash vendor_a vendor.img_sparsechunk.1
fastboot flash oem_a oem.img
fastboot flash oem_b oem_other.img
fastboot erase userdata
fastboot erase DDR
fastboot oem fb_mode_clear
fastboot reboot
Sent from my ali using XDA Labs
sd_shadow said:
That's what Fastboot getvar will tell you
Sent from my ali using XDA Labs
---------- Post added at 01:20 PM ---------- Previous post was at 01:10 PM ----------
Which codes?
The .xml contains info programs like RSD Lite and LMSA use to flash the firmware.
Most isn't usually needed.
I would just try
Code:
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
If that doesn't work flash like this
But compare to .xml for correct number of system.img_sparsechunk
And system_b files
Code:
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash modem_a NON-HLOS.bin
fastboot flash fsg_a fsg.mbn
fastboot erase modemst1
fastboot erase modemst2
fastboot flash dsp_a adspso.bin
fastboot flash logo_a logo.bin
fastboot flash boot_a boot.img
fastboot flash dtbo_a dtbo.img
fastboot flash system_a system.img_sparsechunk.0
fastboot flash system_a system.img_sparsechunk.1
fastboot flash system_a system.img_sparsechunk.2
fastboot flash system_a system.img_sparsechunk.3
fastboot flash system_a system.img_sparsechunk.4
fastboot flash system_a system.img_sparsechunk.5
fastboot flash system_a system.img_sparsechunk.6
fastboot flash system_a system.img_sparsechunk.7
fastboot flash system_a system.img_sparsechunk.8
fastboot flash system_a system.img_sparsechunk.9
fastboot flash system_b system_b.img_sparsechunk.0
fastboot flash system_b system_b.img_sparsechunk.1
fastboot flash system_b system_b.img_sparsechunk.2
fastboot flash vendor_a vendor.img_sparsechunk.0
fastboot flash vendor_a vendor.img_sparsechunk.1
fastboot flash oem_a oem.img
fastboot flash oem_b oem_other.img
fastboot erase userdata
fastboot erase DDR
fastboot oem fb_mode_clear
fastboot reboot
Sent from my ali using XDA Labs
Click to expand...
Click to collapse
Nope, the code you gave above didnt work, additionally the wifi is not working.
And i tried the longer route, gpt.bin and bootloader are not flashing.
Nik7413 said:
Nope, the code you gave above didnt work, additionally the wifi is not working.
And i tried the longer route, gpt.bin and bootloader are not flashing.
Click to expand...
Click to collapse
You checked the getvar info?
You could try mfastboot.exe there's a link in my
Moto Drivers, Firmware, RSD Lite, and other Unbricking Tools
Sent from my Moto E (4) using Tapatalk
sd_shadow said:
You checked the getvar info?
You could try mfastboot.exe there's a link in my
Moto Drivers, Firmware, RSD Lite, and other Unbricking Tools
Sent from my Moto E (4) using Tapatalk
Click to expand...
Click to collapse
I guess the sim tray is busted, i reflashed the stock firmware, that didn't work, also went back to AOSP Extended, didn't work as well. The phone doesn't have any physical damage to it as well. As far as i can remember an update from AOSP extended broke the sim. The sim was working faboulusly before.
Hi,
I had the same problem with sim card and wifi not working. my cause was a fail flash.
All was reverted to stock with LMSA fow windows.
Read all the info that getvar gives to download the right firmware for your device.
Mine is XT1924-2
nueloc said:
Hi,
I had the same problem with sim card and wifi not working. my cause was a fail flash.
All was reverted to stock with LMSA fow windows.
Read all the info that getvar gives to download the right firmware for your device.
Mine is XT1924-2
Click to expand...
Click to collapse
Here is the thing, the SKU says the phone is xt1924-3, which is Ahannah in model, but it is written Hannah in getvar. So, it can be a bit confusing.

Categories

Resources