Having troubles re-locking the bootloader - Moto G7 Plus Questions & Answers

I have been trying to re-lock my bootloader;
the first thing I did was use Lenono Recovery Assistant to restore the stock ROM, booted into android and all works fine.
Then I process to extract the files from the Stock ROM that LRA I reboot to the bootloader and run the command "fastboot oem lock" twice and it says that the bootloader is locked, but all it does is change from flashing_unlocked to flashing_locked and I still get the warning that "your device is running a different software version" alongside the verify mode disable".
Also tried to disable OEM unlocking in developers option and doing the LRA rescue and the nothing changes.
With flashing_unlocked it did allowed me to run this commands
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 boot boot.img
fastboot oem lock
Click to expand...
Click to collapse
Without error but again, nothing changes.
I bought this phone with Android 10 and there is only one version A10 for my region (AR)
Could it be that I need to try with Android 9?

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

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

Moto G6 XT1925-6 - NO RECOVERY & Reboots to bootloader

As the title says, I have no recovery and can't seem to restore the stock recovery. Also, when I boot/reboot the phone, it goes to fastboot mode. Then if I select START, it will boot to the system.
I purchased this phone used and the bootloader was already unlocked. I installed TWRP, rooted it and set it up. When I put my sim in, I could send & receive text messages and mms messages, but I was unable to talk or hear anything while on a voice call. The call is placed and/or received fine. However, once connected, I cannot hear anything nor can anyone hear me.
I want to return for a refund and have restored to factory per this guide. (the problem persists). However, I do not have a recovery. Flashing the stock recovery thru ADB appears to work but trying to boot to it goes to fastboot mode. I cannot boot/reboot the phone without it going to fastboot, then I have to select START to boot to the system. If I cannot correct these problems I will not be able to return the phone...and I can't use it as is because of the phone issue.
Thanks...and help!
Did the phone work fine when you got it?
Sent from my Moto G6 Plus using Tapatalk
Relock-it
Remember you need root to do this and usb-debugging and OEM-unlock enabled in syste settings
Download firmware ALI_RETAIL_8.0.0_OPS27.104-15-10-4_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml
https://mirrors.lolinet.com/firmware/moto/ali/official/RETAIL/
and assuming you know were to extract it to, run this command:
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 erase modemst1
fastboot erase modemst2
fastboot flash bluetooth BTFM.bin
fastboot flash dsp dspso.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 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 vendor vendor.img_sparsechunk.0
fastboot flash vendor vendor.img_sparsechunk.1
fastboot erase carrier
fastboot erase userdata
fastboot erase DDR
fastboot flash logo logo.bin
fastboot reboot
wen it finish the process DO NOT PRESS ENTER erase fastboot reboot and run this command ONE BY ONE and wait for each one to finish before adding the next one
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 system system.img_sparsechunk.8
fastboot flash system system.img_sparsechunk.9
fastboot flash vendor vendor.img_sparsechunk.0
fastboot flash vendor vendor.img_sparsechunk.1
fastboot flash boot boot.img
fastboot oem lock
fastboot oem fb_mode_clear
Xplorer4x4 said:
Did the phone work fine when you got it?
Click to expand...
Click to collapse
Booting up and recovery...yes.
xjunior said:
RELOCK IT
Click to expand...
Click to collapse
What will that do for me? I still don't have a recovery.
xjunior said:
wen it finish the process DO NOT PRESS ENTER erase fastboot reboot
Click to expand...
Click to collapse
I don't understand this. How do I erase fastboot reboot? It's a command to reboot.
if you use the firmware from the guide you show in the first post is probably not the right one for your device, I have exactly same model and took me a wile to figure out how to factory reset and relock it.
yes you gonna put the first commands all at once ,
then in the cmd terminal its gonna be the last command "fastboot reboot" but do not press enter otherwise it will reboot,
erase it and
add the second part of the command, line by line not all at once like the first part.
this will bring you device back to factory and relock the bootloader ,
xjunior said:
yes you gonna put the first commands all at once ,
then in the cmd terminal its gonna be the last command "fastboot reboot" but do not press enter otherwise it will reboot,
erase it and
add the second part of the command line by line .
this will bring you device back to factory and relock the bootloader ,
Click to expand...
Click to collapse
OK. Understood. But how will relocking the bootloader help me? It reboots to fastboot...it doesn't reboot to the system/OS. What I need is a recovery to somehow be flashed and to "stick".
mn1968 said:
OK. Understood. But how will relocking the bootloader help me? It reboots to fastboot...it doesn't reboot to the system/OS. What I need is a recovery to somehow be flashed and to "stick".
Click to expand...
Click to collapse
the last command will fix that I had same problem.
if you fallow this guide.
fastboot oem fb_mode_clear
If you want to return the Phone you will need to relock the bootloader other wise they will blame you for messing up the phone.
xjunior said:
the last command will fix that I had same problem.
if you fallow this guide.
fastboot oem fb_mode_clear
If you want to return the Phone you will need to relock the bootloader other wise they will blame you for messing up the phone.
Click to expand...
Click to collapse
OK, with your help I am back in business! I actually re-followed this guide up to step 5. I then ran:
fastboot oem fb_mode_clear
I can have the phone reboot normally now! Thank you very much!!!
As far as returning, I got it used on eBay. The bootloader was already unlocked. It's the phone that doesn't work for actual calls. I just need/wanted to return it exactly like it was.
Thanks again for your help!
My pleasure
mn1968 said:
OK, with your help I am back in business! I actually re-followed this guide up to step 5. I then ran:
fastboot oem fb_mode_clear
I can have the phone reboot normally now! Thank you very much!!!
As far as returning, I got it used on eBay. The bootloader was already unlocked. It's the phone that doesn't work for actual calls. I just need/wanted to return it exactly like it was.
Thanks again for your help!
Click to expand...
Click to collapse
After reflashing stock with OPS27.82-72 (came with OPS27.82-19-4), the phone now actually works too. Very weird. I may have/want to keep the phone now.

Downgrade Pie To Oreo ?

I regret my English but I need your help update my X4 Oreo 8.1 Patch November to Pie 9.0, I have a da Fiio Q1 mark II which worked perfectly in Oreo 8.1 through OTG, after updating this stopped working normally , it connects and disconnects only until the smartphone restarts, is there a way to go back to oreo? It is not Fi project
Yes, the way is:
1. unlock bootloader (this erase all user data / internal storage)
2. flash Oreo full fastboot package
Comby_sk said:
2. flash Oreo full fastboot package
Click to expand...
Click to collapse
Someone might need to correct me, but I don't think you want to attempt to "downgrade" either of partition - gpt.bin or bootloader - bootloader.img (possibly others) so one doesn't potentially brick the device.
This is how it was on older Moto devices I owned.
jbaumert said:
Someone might need to correct me, but I don't think you want to attempt to "downgrade" either of partition - gpt.bin or bootloader - bootloader.img (possibly others) so one doesn't potentially brick the device.
This is how it was on older Moto devices I owned.
Click to expand...
Click to collapse
Flashing full fastboot package with correct script and unlocked bootloader doing this:
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
I downgraded many times my X4 from Pie to Nougat or from Pie to Oreo.
Comby_sk can I do it with this scribt?!
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 erase modemst1
fastboot flash modemst2
fastboot flash bluetooth BTFM.bin
fastboot flash dsp dspso.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_b system_other.img
fastboot flash oem oem.img
fastboot erase carrier
fastboot erase userdata
fastboot erase ddr
fastboot oem fb_mode_clear
PAUSE
fastboot reboot
RAW Paste Data
@tomtom_38 yes, you do.
many thanks

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

Categories

Resources