I have a "LENOVO Tab 2 A10-30" which got frozen after the update in the startup loop - did not start after displaying the Lenovo logo. I decided to reinstall it with the LineageOS, and for that I needed (according the articles) to do oem unlock. According articles I should get the OEM unlock key from settings or allow it in the settings - which I can't access as the device won't boot up.
So I tried bunch of commands from the commandline (ubuntu 20.04), I could not OEM unlock, but I was able to install LineageOS just fine. My question is - how come that it worked, even though it should not be able to unlock the OEM? What happened there?
Started device with holding vol up:
$ adb devices
List of devices attached
0123456789ABCDEF sideload
Then I am not sure now what I selected in the menu, but then I went:
$ fastboot devices
84afc61e fastboot
$ fastboot oem unlock
...
FAILED (remote: oem unlock is not allowed)
finished. total time: 0.002s
$ fastboot oem unlock-go
...
FAILED (remote: oem unlock is not allowed)
finished. total time: 0.002s
$ fastboot oem get_unlock_data
...
FAILED (remote: unknown command)
finished. total time: 0.002s
fastboot oem device-info
...
(bootloader) Device tampered: false
(bootloader) Device unlocked: false
(bootloader) Device critical unlocked: true
(bootloader) Charger screen enabled: true
(bootloader) Display panel:
OKAY [ 0.007s]
finished. total time: 0.007s
But I tried to flash in the TWRP recovery image anyhow:
$ fastboot flash recovery recovery.img
target reported max download size of 262144000 bytes
sending 'recovery' (11700 KB)...
OKAY [ 0.446s]
writing 'recovery'...
OKAY [ 0.947s]
finished. total time: 1.393s
$ fastboot boot recovery.img
downloading 'boot.img'...
OKAY [ 0.449s]
booting...
OKAY [ 0.023s]
finished. total time: 0.471s
After that, with volume up on boot I got in to TWRP menu; where I installed gaps and LineageOS zips, and after reboot it was just there.
My research links:
- https://www.getdroidtips.com/unlock-bootloader-via-fastboot-on-android/
- https://www.howtogeek.com/239798/how-to-unlock-your-android-phones-bootloader-the-official-way/
- https://www.theworldsbestandworst.com/2020/08/how-to-use-adb-sideload-to-install-roms-updates-restore/
- https://www.hardreset.info/devices/lenovo/lenovo-tab-2-a10-30/faq/faq/bootloader-moto-unlock-lenovo-motorola-root/
- https://forum.xda-developers.com/t/flash-custom-rom-lineage-os-lenovo-tab-2-tb2-x30l.4175085/