oem locked : no possibility to boot or install any rom

Navy31

Member
Dec 17, 2016
6
0
0
Hello experts,

My phone was rooted and bootloader unlocked. As I saw that android pie is available by OTA, I wanted to lock my phone in order to receive update (by OTA). So for that, I use command (fastboot oem lock). My MI A1 is now locked but i can't boot on it.
I guess the option 'OEM Unlock' is not ticked, that's why I can't install or flash any rom with Miflash.
I have message error : "failed (remote: oem unlock is not allowed)"
I tried a lot of advices found on different forums but none of them works.
If you have any idea how to unlock my bootlader, you are welcome.
Thanks guys !
 
Last edited:

jack_21

Senior Member
Mar 29, 2013
520
185
0
Hello experts,



My phone was rooted and bootloader unlocked. As I saw that android pie is available by OTA, I wanted to lock my phone in order to receive update (by OTA). So for that, I use command (fastboot oem lock). My MI A1 is now locked but i can't boot on it.

I guess the option 'OEM Unlock' is not ticked, that's why I can't install or flash any rom with Miflash.

I have message error : "failed (remote: oem unlock is not allowed)"

I tried a lot of advices found on different forums but none of them works.

If you have any idea how to solve my issue, you are welcome.

Thanks guys !
Why you locked bootloader? Never lock a bootloader when phone is rooted (e.g. runs a custom boot image!)
You can install OTA updates also with unlocked bootloader, but you must unroot it first flashing the original boot image.

So you didn't update to Pie at the end, correct?

Please post the result of "fastboot getvar all"
 

Navy31

Member
Dec 17, 2016
6
0
0
Why you locked bootloader? Never lock a bootloader when phone is rooted (e.g. runs a custom boot image!)
You can install OTA updates also with unlocked bootloader, but you must unroot it first flashing the original boot image.

So you didn't update to Pie at the end, correct?

Please post the result of "fastboot getvar all"
Hi Jack,

Thanks for trying to help me.
Yes, I didn't update to Pie unfortunaltely.

Here are values for 'fasboot getvar all' :

bootloader) version:0.5
(bootloader) battery-soc-ok:yes
(bootloader) battery-voltage:3716000
(bootloader) variant:QRD eMMC
(bootloader) unlocked:no
(bootloader) secure:yes
(bootloader) version-baseband:
(bootloader) version-bootloader:MSM8953_TISSOT2.0_20181031205328
(bootloader) display-panel:
(bootloader) off-mode-charge:0
(bootloader) charger-screen-enabled:0
(bootloader) max-download-size: 0x1fe00000
(bootloader) slot-count:2
(bootloader) current-slot:a
(bootloader) slot-retry-count:b:7
(bootloader) slot-success:b:No
(bootloader) slot-active:b:No
(bootloader) slot-unbootable:b:No
(bootloader) slot-retry-count:a:7
(bootloader) slot-success:a:No
(bootloader) slot-active:a:Yes
(bootloader) slot-unbootable:a:No
(bootloader) has-slot:userdata: No
(bootloader) has-slot:logdump: No
(bootloader) has-slot:dpo: No
(bootloader) has-slot:msadp: No
(bootloader) has-slot:apdp: No
(bootloader) has-slot:keymasterbak: No
(bootloader) has-slot:keymaster: No
(bootloader) has-slot:cmnlib64bak: No
(bootloader) has-slot:cmnlib64: No
(bootloader) has-slot:cmnlibbak: No
(bootloader) has-slot:cmnlib: No
(bootloader) has-slot:lksecappbak: No
(bootloader) has-slot:lksecapp: No
(bootloader) has-slot:mcfg: No
(bootloader) has-slot:syscfg: No
(bootloader) has-slot:mdtp: No
(bootloader) has-slot:dip: No
(bootloader) has-slot:mota: No
(bootloader) has-slot:limits: No
(bootloader) has-slot:config: No
(bootloader) has-slot:keystore: No
(bootloader) has-slot:misc: No
(bootloader) has-slot:persist: No
(bootloader) has-slot:system: Yes
(bootloader) has-slot:devinfo: No
(bootloader) has-slot:boot: Yes
(bootloader) has-slot:abootbak: No
(bootloader) has-slot:aboot: No
(bootloader) has-slot:splash: No
(bootloader) has-slot:sec: No
(bootloader) has-slot:fsg: No
(bootloader) has-slot:DDR: No
(bootloader) has-slot:modemst2: No
(bootloader) has-slot:modemst1: No
(bootloader) has-slot:dsp: No
(bootloader) has-slot:devcfgbak: No
(bootloader) has-slot:devcfg: No
(bootloader) has-slot:tzbak: No
(bootloader) has-slot:tz: No
(bootloader) has-slot:rpmbak: No
(bootloader) has-slot:rpm: No
(bootloader) has-slot:sbl1bak: No
(bootloader) has-slot:sbl1: No
(bootloader) has-slot:ssd: No
(bootloader) has-slot:fsc: No
(bootloader) has-slot:modem: Yes
(bootloader) partition-type:userdata:ext4
(bootloader) partition-size:userdata: 0xcd3779e00
(bootloader) partition-type:logdump:
(bootloader) partition-size:logdump: 0x4000000
(bootloader) partition-type:dpo:
(bootloader) partition-size:dpo: 0x2000
(bootloader) partition-type:msadp:
(bootloader) partition-size:msadp: 0x40000
(bootloader) partition-type:apdp:
(bootloader) partition-size:apdp: 0x40000
(bootloader) partition-type:keymasterbak:
(bootloader) partition-size:keymasterbak: 0x40000
(bootloader) partition-type:keymaster:
(bootloader) partition-size:keymaster: 0x40000
(bootloader) partition-type:cmnlib64bak:
(bootloader) partition-size:cmnlib64bak: 0x40000
(bootloader) partition-type:cmnlib64:
(bootloader) partition-size:cmnlib64: 0x40000
(bootloader) partition-type:cmnlibbak:
(bootloader) partition-size:cmnlibbak: 0x40000
(bootloader) partition-type:cmnlib:
(bootloader) partition-size:cmnlib: 0x40000
(bootloader) partition-type:lksecappbak:
(bootloader) partition-size:lksecappbak: 0x20000
(bootloader) partition-type:lksecapp:
(bootloader) partition-size:lksecapp: 0x20000
(bootloader) partition-type:mcfg:
(bootloader) partition-size:mcfg: 0x400000
(bootloader) partition-type:syscfg:
(bootloader) partition-size:syscfg: 0x80000
(bootloader) partition-type:mdtp:
(bootloader) partition-size:mdtp: 0x2000000
(bootloader) partition-type:dip:
(bootloader) partition-size:dip: 0x100000
(bootloader) partition-type:mota:
(bootloader) partition-size:mota: 0x80000
(bootloader) partition-type:limits:
(bootloader) partition-size:limits: 0x8000
(bootloader) partition-type:config:
(bootloader) partition-size:config: 0x8000
(bootloader) partition-type:keystore:
(bootloader) partition-size:keystore: 0x80000
(bootloader) partition-type:misc:
(bootloader) partition-size:misc: 0x100000
(bootloader) partition-type:persist:
(bootloader) partition-size:persist: 0x2000000
(bootloader) partition-type:system_b:ext4
(bootloader) partition-size:system_b: 0xc0000000
(bootloader) partition-type:system_a:ext4
(bootloader) partition-size:system_a: 0xc0000000
(bootloader) partition-type:devinfo:
(bootloader) partition-size:devinfo: 0x100000
(bootloader) partition-type:boot_b:
(bootloader) partition-size:boot_b: 0x4000000
(bootloader) partition-type:boot_a:
(bootloader) partition-size:boot_a: 0x4000000
(bootloader) partition-type:abootbak:
(bootloader) partition-size:abootbak: 0x100000
(bootloader) partition-type:aboot:
(bootloader) partition-size:aboot: 0x100000
(bootloader) partition-type:splash:
(bootloader) partition-size:splash: 0xb00000
(bootloader) partition-type:sec:
(bootloader) partition-size:sec: 0x4000
(bootloader) partition-type:fsg:
(bootloader) partition-size:fsg: 0x180000
(bootloader) partition-type:DDR:
(bootloader) partition-size:DDR: 0x8000
(bootloader) partition-type:modemst2:
(bootloader) partition-size:modemst2: 0x180000
(bootloader) partition-type:modemst1:
(bootloader) partition-size:modemst1: 0x180000
(bootloader) partition-type:dsp:
(bootloader) partition-size:dsp: 0x1000000
(bootloader) partition-type:devcfgbak:
(bootloader) partition-size:devcfgbak: 0x40000
(bootloader) partition-type:devcfg:
(bootloader) partition-size:devcfg: 0x40000
(bootloader) partition-type:tzbak:
(bootloader) partition-size:tzbak: 0x200000
(bootloader) partition-type:tz:
(bootloader) partition-size:tz: 0x200000
(bootloader) partition-type:rpmbak:
(bootloader) partition-size:rpmbak: 0x80000
(bootloader) partition-type:rpm:
(bootloader) partition-size:rpm: 0x80000
(bootloader) partition-type:sbl1bak:
(bootloader) partition-size:sbl1bak: 0x80000
(bootloader) partition-type:sbl1:
(bootloader) partition-size:sbl1: 0x80000
(bootloader) partition-type:ssd:
(bootloader) partition-size:ssd: 0x2000
(bootloader) partition-type:fsc:
(bootloader) partition-size:fsc: 0x400
(bootloader) partition-type:modem_b:
(bootloader) partition-size:modem_b: 0x5400000
(bootloader) partition-type:modem_a:
(bootloader) partition-size:modem_a: 0x5400000
(bootloader) crc:1
(bootloader) serialno:28266a190604
(bootloader) kernel:lk
(bootloader) product:tissot
all:
finished. total time: 2.288s
 

jack_21

Senior Member
Mar 29, 2013
520
185
0
Hi Jack,

Thanks for trying to help me.
Yes, I didn't update to Pie unfortunaltely.

Here are values for 'fasboot getvar all' :

bootloader) version:0.5
(bootloader) battery-soc-ok:yes
(bootloader) battery-voltage:3716000
(bootloader) variant:QRD eMMC
(bootloader) unlocked:no
(bootloader) secure:yes
(bootloader) version-baseband:
(bootloader) version-bootloader:MSM8953_TISSOT2.0_20181031205328
(bootloader) display-panel:
(bootloader) off-mode-charge:0
(bootloader) charger-screen-enabled:0
(bootloader) max-download-size: 0x1fe00000
(bootloader) slot-count:2
(bootloader) current-slot:a
(bootloader) slot-retry-count:b:7
(bootloader) slot-success:b:No
(bootloader) slot-active:b:No
(bootloader) slot-unbootable:b:No
(bootloader) slot-retry-count:a:7
(bootloader) slot-success:a:No
(bootloader) slot-active:a:Yes
(bootloader) slot-unbootable:a:No
(bootloader) has-slot:userdata: No
(bootloader) has-slot:logdump: No
(bootloader) has-slot:dpo: No
(bootloader) has-slot:msadp: No
(bootloader) has-slot:apdp: No
(bootloader) has-slot:keymasterbak: No
(bootloader) has-slot:keymaster: No
(bootloader) has-slot:cmnlib64bak: No
(bootloader) has-slot:cmnlib64: No
(bootloader) has-slot:cmnlibbak: No
(bootloader) has-slot:cmnlib: No
(bootloader) has-slot:lksecappbak: No
(bootloader) has-slot:lksecapp: No
(bootloader) has-slot:mcfg: No
(bootloader) has-slot:syscfg: No
(bootloader) has-slot:mdtp: No
(bootloader) has-slot:dip: No
(bootloader) has-slot:mota: No
(bootloader) has-slot:limits: No
(bootloader) has-slot:config: No
(bootloader) has-slot:keystore: No
(bootloader) has-slot:misc: No
(bootloader) has-slot:persist: No
(bootloader) has-slot:system: Yes
(bootloader) has-slot:devinfo: No
(bootloader) has-slot:boot: Yes
(bootloader) has-slot:abootbak: No
(bootloader) has-slot:aboot: No
(bootloader) has-slot:splash: No
(bootloader) has-slot:sec: No
(bootloader) has-slot:fsg: No
(bootloader) has-slot:DDR: No
(bootloader) has-slot:modemst2: No
(bootloader) has-slot:modemst1: No
(bootloader) has-slot:dsp: No
(bootloader) has-slot:devcfgbak: No
(bootloader) has-slot:devcfg: No
(bootloader) has-slot:tzbak: No
(bootloader) has-slot:tz: No
(bootloader) has-slot:rpmbak: No
(bootloader) has-slot:rpm: No
(bootloader) has-slot:sbl1bak: No
(bootloader) has-slot:sbl1: No
(bootloader) has-slot:ssd: No
(bootloader) has-slot:fsc: No
(bootloader) has-slot:modem: Yes
(bootloader) partition-type:userdata:ext4
(bootloader) partition-size:userdata: 0xcd3779e00
(bootloader) partition-type:logdump:
(bootloader) partition-size:logdump: 0x4000000
(bootloader) partition-type:dpo:
(bootloader) partition-size:dpo: 0x2000
(bootloader) partition-type:msadp:
(bootloader) partition-size:msadp: 0x40000
(bootloader) partition-type:apdp:
(bootloader) partition-size:apdp: 0x40000
(bootloader) partition-type:keymasterbak:
(bootloader) partition-size:keymasterbak: 0x40000
(bootloader) partition-type:keymaster:
(bootloader) partition-size:keymaster: 0x40000
(bootloader) partition-type:cmnlib64bak:
(bootloader) partition-size:cmnlib64bak: 0x40000
(bootloader) partition-type:cmnlib64:
(bootloader) partition-size:cmnlib64: 0x40000
(bootloader) partition-type:cmnlibbak:
(bootloader) partition-size:cmnlibbak: 0x40000
(bootloader) partition-type:cmnlib:
(bootloader) partition-size:cmnlib: 0x40000
(bootloader) partition-type:lksecappbak:
(bootloader) partition-size:lksecappbak: 0x20000
(bootloader) partition-type:lksecapp:
(bootloader) partition-size:lksecapp: 0x20000
(bootloader) partition-type:mcfg:
(bootloader) partition-size:mcfg: 0x400000
(bootloader) partition-type:syscfg:
(bootloader) partition-size:syscfg: 0x80000
(bootloader) partition-type:mdtp:
(bootloader) partition-size:mdtp: 0x2000000
(bootloader) partition-type:dip:
(bootloader) partition-size:dip: 0x100000
(bootloader) partition-type:mota:
(bootloader) partition-size:mota: 0x80000
(bootloader) partition-type:limits:
(bootloader) partition-size:limits: 0x8000
(bootloader) partition-type:config:
(bootloader) partition-size:config: 0x8000
(bootloader) partition-type:keystore:
(bootloader) partition-size:keystore: 0x80000
(bootloader) partition-type:misc:
(bootloader) partition-size:misc: 0x100000
(bootloader) partition-type:persist:
(bootloader) partition-size:persist: 0x2000000
(bootloader) partition-type:system_b:ext4
(bootloader) partition-size:system_b: 0xc0000000
(bootloader) partition-type:system_a:ext4
(bootloader) partition-size:system_a: 0xc0000000
(bootloader) partition-type:devinfo:
(bootloader) partition-size:devinfo: 0x100000
(bootloader) partition-type:boot_b:
(bootloader) partition-size:boot_b: 0x4000000
(bootloader) partition-type:boot_a:
(bootloader) partition-size:boot_a: 0x4000000
(bootloader) partition-type:abootbak:
(bootloader) partition-size:abootbak: 0x100000
(bootloader) partition-type:aboot:
(bootloader) partition-size:aboot: 0x100000
(bootloader) partition-type:splash:
(bootloader) partition-size:splash: 0xb00000
(bootloader) partition-type:sec:
(bootloader) partition-size:sec: 0x4000
(bootloader) partition-type:fsg:
(bootloader) partition-size:fsg: 0x180000
(bootloader) partition-type:DDR:
(bootloader) partition-size:DDR: 0x8000
(bootloader) partition-type:modemst2:
(bootloader) partition-size:modemst2: 0x180000
(bootloader) partition-type:modemst1:
(bootloader) partition-size:modemst1: 0x180000
(bootloader) partition-type:dsp:
(bootloader) partition-size:dsp: 0x1000000
(bootloader) partition-type:devcfgbak:
(bootloader) partition-size:devcfgbak: 0x40000
(bootloader) partition-type:devcfg:
(bootloader) partition-size:devcfg: 0x40000
(bootloader) partition-type:tzbak:
(bootloader) partition-size:tzbak: 0x200000
(bootloader) partition-type:tz:
(bootloader) partition-size:tz: 0x200000
(bootloader) partition-type:rpmbak:
(bootloader) partition-size:rpmbak: 0x80000
(bootloader) partition-type:rpm:
(bootloader) partition-size:rpm: 0x80000
(bootloader) partition-type:sbl1bak:
(bootloader) partition-size:sbl1bak: 0x80000
(bootloader) partition-type:sbl1:
(bootloader) partition-size:sbl1: 0x80000
(bootloader) partition-type:ssd:
(bootloader) partition-size:ssd: 0x2000
(bootloader) partition-type:fsc:
(bootloader) partition-size:fsc: 0x400
(bootloader) partition-type:modem_b:
(bootloader) partition-size:modem_b: 0x5400000
(bootloader) partition-type:modem_a:
(bootloader) partition-size:modem_a: 0x5400000
(bootloader) crc:1
(bootloader) serialno:28266a190604
(bootloader) kernel:lk
(bootloader) product:tissot
all:
finished. total time: 2.288s
Now
fastboot set_active b

then

Fastboot reboot

And wait to see if it does boot
 

Navy31

Member
Dec 17, 2016
6
0
0
Now
fastboot set_active b

then

Fastboot reboot

And wait to see if it does boot
I tried several syntax :
fastboot set_active b
fastboot set_active _b
fastboot --set_active b
fastboot --set_active _b
fastboot --set_active=b
fastboot --set_active=_b
fastboot -set_active=_b
fastboot -set_active=b

But none of them works :(

Only command 'fastboot -set_active b' replies 'waiting for device ...
 

jack_21

Senior Member
Mar 29, 2013
520
185
0
I tried several syntax :

fastboot set_active b

fastboot set_active _b

fastboot --set_active b

fastboot --set_active _b

fastboot --set_active=b

fastboot --set_active=_b

fastboot -set_active=_b

fastboot -set_active=b



But none of them works :(



Only command 'fastboot -set_active b' replies 'waiting for device ...
You have an outdated fastboot version

Download the new from here

https://dl.google.com/android/repository/platform-tools-latest-windows.zip

The correct sintax is the first, fastboot set_active b