Bootloader Unlock issue - Xperia Z3 Compact Q&A, Help & Troubleshooting

Hey guys!
So i have this weird issue that i cannot see the bootloader status. I tried to unlock but i don't know if it was succesful.
If i dial in the service it says "Root status: unknown". Through adb and fastboot oem device-info i get no answer.
I guess it's not unlocked because every time i try to flash twrp to fotakernel i get command not allowed.
I'm on stock firmware, flashed through flashTool.
Thanks in advance to all answers.

Related

Help anyone? Fastboot command error

I have a rooted device then i updated my device via firmware finder without unrooting my device. But my recovery was on stock recovery and erecovery was twrp. After update installed device automatically been unrooted. Phone is unlocked frp is unlocked too but when i try to flash twrp on fastboot mode it wont flash (command error) even when i type "fastboot oem device-info" it will get same error.
Can someone know what exactly is the problem. I just want to flash twrp so that i can root my device again. Thanks in advance.
Have you activated USB debug in the device settings?
Yes.

[Q] fastboot oem unlock with correct code fails with "command did not succeed"

[Q] fastboot oem unlock with correct code fails with "command did not succeed"
Hi,
I recently got an xperia Z into my hands and wanted to unlock the bootloader.
I checked the IMEI in the system settings and requested and received an unlock code for the device.
I unlocked the bootloader with the code,
but now I am not able to flash or boot anything via fastboot (device still boots normally though).
When trying to flash e.g. twrp to the boot partition
(
Code:
fastboot flash boot boot.img
)
it fails with "remote: command not allowed"
Also trying
Code:
fastboot boot boot.img
does not work properly:
In this case it just reboots into Android.
I am using Linux to flash stuff.
I already tried using the flashtool, which also didnt bring me any success.
Does anyone have an idea or a solution to this problem?
Best regards

Cant relock bootloader

Hello mens,
i need a little help with locking bootloader on my Moto G6 (and flash stock rom). I try some treble rom and after that i want to go on stock, so i want to follow this tutorial https://animetrick.com/flash-stock-rom-moto-g6-plus-locked-bootloader-2018/ but without succes. My problem is that i cant swich off "enable oem unlock" from developer setting (it is grey and untouchable) and cant lock bootloader before flashing stock rom. Anybody know some solution ?
I don't think you can lock the bootloader before flashing stock. With a locked bootloader you can't modify system partition. Forget about the switch. Just install stock rom and then relock your bootloader using the guide. When you follow the guide, which doesn't mention the switch, you will reflash stock via fastboot commands, and relock the bootloader via fastboot. Pretty sure the switch will rest itself.
Sent from my moto g(6) plus using Tapatalk
Solves
So, i decide use mobile with root and Magis, so I flash Rom, patched boot image and use phone in this status. Now I look into settings and OEM unlocking button is available. WTF ?
Just saying if your attempting to relock the bootloader to do a warranty replacement you cant. The bootloader can be unlocked and Moto even tells you how to. But once you unlock the bootloader once the warranty is void weather you relock it or not. In fact even requesting the unlock key can void the warranty.
To block the bootloader you need to re-authorize unlocking it in the developer options with the OEM unlock button. If the OEM unlock button is gray and unavailable you need to install root and then the button will unlock. Sam had such a situation and write what I did to make everything went without error.
Of course, USB and ADB drivers must be installed.
- Install ROOT, start the device
- Go to the developer options on your phone
- Enable authorization to unlock with the OEM unlock button
- Enable USB debugging
- Unpack the system files to a folder with ADB
- Unpack the file "FLASH_OEM_LOCK.zip" to the same folder (download below)
- Start the phone in bootloader mode and connect to the computer
- Click on the file "FLASH_OEM_LOCK.bat"
- After the procedure the phone will boot, the bootloader will be blocked, and in the developer's options the "OEM unlock" button will be available
Note: The procedure erases all data, the phone will start up as "New" with a clean system.
I did it for my own needs but maybe it will help someone.
Tested on my Moto G6 (XT1925-5)
I try to relock my Moto G6plus xt1926-3 also with stockrom flashed (after trying lineageos) but have some problems.
I cant flash something after the two "fastboot flash oem lock". It gives "remote failure" (bootloader flash permisson...) error.
After relock with oem lock, a message "incompatible operating system" is displayed before boot.
But I can unlock it again without problems. (and install magisk for example or boot twrp).
I can switch the oem unlock in dev settings to on too (in unlocked boot), but the script gave me same error.
I want only to revert to stockrom (-89 or older) and locked bootloader.
What am I doing wrong?
I could flash with locked bootloader (magisk, enable option in dev and proper fastboot version)
But I get the message "your device has loaded a different operation system"... I have flashed complete stock
*weird*
EDIT: unlocked, flashed bootloader again and relocked, but message keeps.
Have the same issue. I tried to relock my Moto G6plus xt1926-3 Android Pie also with stockrom flashed (after Ressurrection) but had some problems.
I couldnt flash anything after the two "fastboot flash oem lock". It gives "remote failure" (bootloader flash permisson...) error.
After relock with oem lock, a message "incompatible operating system" is displayed in boot.
---------- Post added at 09:53 PM ---------- Previous post was at 09:34 PM ----------
Garfield9992003 said:
I try to relock my Moto G6plus xt1926-3 also with stockrom flashed (after trying lineageos) but have some problems.
I cant flash something after the two "fastboot flash oem lock". It gives "remote failure" (bootloader flash permisson...) error.
After relock with oem lock, a message "incompatible operating system" is displayed before boot.
But I can unlock it again without problems. (and install magisk for example or boot twrp).
I can switch the oem unlock in dev settings to on too (in unlocked boot), but the script gave me same error.
I want only to revert to stockrom (-89 or older) and locked bootloader.
What am I doing wrong?
Click to expand...
Click to collapse
Garfield9992003 said:
I could flash with locked bootloader (magisk, enable option in dev and proper fastboot version)
But I get the message "your device has loaded a different operation system"... I have flashed complete stock
*weird*
EDIT: unlocked, flashed bootloader again and relocked, but message keeps.
Click to expand...
Click to collapse
Hi? have you tried this https://forum.xda-developers.com/g6-plus/how-to/2-returning-to-stock-t3854243 ?

Moto G6 Bricked NEED HELP!!!

ibb.co/qMypk9M)
ibb.co/SPB646j)
ibb.co/Y823s3r)
ibb.co/QmnK1cB)
[Copy link and past without the )]
I relocked my oem and cant unlock it again. Says feature disabled
Tried potting and restocking but its not flashing because of oem being locked.
Any Ideas?? This is my first rooted phone and I’m new. I had magisk installed earlier but had to reinstall due to android system apps like media storage crashing.
Thanks
pyschodelicbros said:
ibb.co/qMypk9M)
ibb.co/SPB646j)
ibb.co/Y823s3r)
[Copy link and past without the )]
I relocked my oem and cant unlock it again. Says feature disabled
Tried potting and restocking but its not flashing because of oem being locked.
Any Ideas?? This is my first rooted phone and I’m new. I had magisk installed earlier but had to reinstall due to android system apps like media storage crashing.
Thanks
Click to expand...
Click to collapse
You should download the stock firmware from here and following this guide to restore to stock firmware. Even if the rest of the commands don't work, the first two should reset the bootloader and partition tables and make it bootable or maybe unlockable again. You can also maybe try to boot TWRP but I don't know if that'll work because the boorloader is acting odd
pyschodelicbros said:
ibb.co/qMypk9M)
ibb.co/SPB646j)
ibb.co/Y823s3r)
[Copy link and past without the )]
I relocked my oem and cant unlock it again. Says feature disabled
Tried potting and restocking but its not flashing because of oem being locked.
Any Ideas?? This is my first rooted phone and I’m new. I had magisk installed earlier but had to reinstall due to android system apps like media storage crashing.
Thanks
Click to expand...
Click to collapse
You should be able to flash official firmware even if the bootloader is locked. Do you still have the original unlock key you received from Motorola to unlock the bootloader? You'll have to use that to re-unlock your bootloader.
Code:
fastboot oem unlock UNIQUE_KEY
Replace UNIQUE_KEY with the unlock key you received.
EDIT: It just occurred to me that "OEM unlocking" is probably toggled off since you re-locked the bootloader. That's why it says "feature disabled".
You could also try to restore stock firmware using Lenovo Moto Smart Assistant. It has a Rescue option that does that.
https://support.lenovo.com/us/en/downloads/ds101291
AgentICS said:
You should download the stock firmware from here and following this guide to restore to stock firmware. Even if the rest of the commands don't work, the first two should reset the bootloader and partition tables and make it bootable or maybe unlockable again. You can also maybe try to boot TWRP but I don't know if that'll work because the boorloader is acting odd
Click to expand...
Click to collapse
I heard that once u relock bootloader, your unlock feature gets disabled for a few days. Anyone know if that is true?
pyschodelicbros said:
I heard that once u relock bootloader, your unlock feature gets disabled for a few days. Anyone know if that is true?
Click to expand...
Click to collapse
I'm pretty sure it's because the bootloader can't contact the OS correctly and therefore can't validate the request
AgentICS said:
I'm pretty sure it's because the bootloader can't contact the OS correctly and therefore can't validate the request
Click to expand...
Click to collapse
mfastboot oem lock
mfastboot oem lock
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 boot boot.img
mfastboot oem lock
I did this to lock the bootloader, not knowing my OS wasnt installed properly so theres no OS and my bootloader is locked.
"fastboot oem unlock"
says bootloader feature disabled
Picture of my bootloader log
[Copy link and past without the )]
ibb.co/QmnK1cB)
Ragarianok said:
You should be able to flash official firmware even if the bootloader is locked. Do you still have the original unlock key you received from Motorola to unlock the bootloader? You'll have to use that to re-unlock your bootloader.
Code:
fastboot oem unlock UNIQUE_KEY
Replace UNIQUE_KEY with the unlock key you received.
EDIT: It just occurred to me that "OEM unlocking" is probably toggled off since you re-locked the bootloader. That's why it says "feature disabled".
You could also try to restore stock firmware using Lenovo Moto Smart Assistant. It has a Rescue option that does that.
https://support.lenovo.com/us/en/downloads/ds101291
Click to expand...
Click to collapse
Lenovo Moto Smart assistant says device isnt recognize, it might be USB debugging due to not being able to get into the OS.
I tried getting the unique key using "fastboot oem get_unlock_data" but i get this in my CMD
[Copy link and past without the )]
ibb.co/QHD0ZcS)
I do have my orginal unique key saved in a file from when i first unlocked my bootloader and when I tried to flash it I get bootloader feature disabled.
[Copy link and past without the )]
ibb.co/0MPsZrp)
I heard that the oem unlock gets disabled for 7 days after relocking wondering if that is true???

Flashing is not allowed in lock state (nubia_nx629j)

Can somebody help me?
I unlock the bootloader recently via adb fastboot.
My problem is, when i want to instal twrp in my phone, it failed. It says "FLASHING IS NOT ALLOWED IN LOCK STATE'
Why was that?
Appreciate if anyone can guide me.
kyevaldez said:
Can somebody help me?
I unlock the bootloader recently via adb fastboot.
My problem is, when i want to instal twrp in my phone, it failed. It says "FLASHING IS NOT ALLOWED IN LOCK STATE'
Why was that?
Appreciate if anyone can guide me.
Click to expand...
Click to collapse
Hi.
Try this:
Code:
fastboot oem nubia_unlock NUBIA_NX629J
and
Code:
fastboot flash recovery recoveryname.img
, where you replace recoveryname.img with the name of your recovery image.
If you haven't previously unlocked your bootloader, the first command will delete your data, so backup... If the bootloader was previously unlocked, it won't wipe anything.

Categories

Resources