[Android Q&A, Help & Troubleshooting] BlueTree242:
For the last few days, I've wanted to install lineage on my phone, because the stock OS is very bad and uses 90% of the ram on idle, and it is full of bloatware and stupid issues. and the UI is not very good.

This whole post is long explaing about my failed efforts, you should read it all to avoid telling me stuff that i tried already.

What i tried?​

I tried using the basic way, for any android device. I got adb, and fastboot, and did the required steps. When i get into fastmode (after a whole day of fixing why my device is not detected by fastboot by the way), i tried many commands, they all DO NOT WORK in a confusing way, they are not recognized by the phone.

The following are the commands i tried, the response is always the same.

fastboot oem unlock
fastboot flashing unlock
fastboot unlock
fastboot flashing unlock_critical
fastboot flashing get_unlock_ability
fastboot oem device-info # Yes! even this doesn't work...

And all of them give me the EXACT same response

FAILED (remote: unknown command)
finished. total time: 0.002s # The time changes obviously

Ok then i got accross this post. According to the post, i had to use their fastboot. Which.. did not work, because it was stuck at < waiting for device >.

But i did not give up and i looked a bit through github, and i found this repository. I tried it and hopefully it detected my phone. However, the commands mentioned by the post, also gave me the same output of the previous commands, so it was not helpful.

Attempts #2​

So after this massive and confusing failure, i decided to try again, my friend told me i can use mediatek flash tool (stuff that i can barely understand currently) to flash TWRP, and use it to flash lineage. (Note: The Processor is MT6768)

So. i did a bit of research and i tried a few tools, for example TFTUnlock, SP Flash Tool. We managed to get the scatter file, and it should have worked... but it never did

So the problem with them is when i tried the fastboot method in TFTUnlock, it would try but also get unknown command, even the get device info button had the same problem. I tried the BROM Unlock which did not end up working, because the phone is probably not detected, when i plug it in (even while holding VOL+ and VOL-) i just hear window's sounds about device connection (actually multiple) then it continues charging, as if nothing happened. the application was still waiting for device. (and yes i got the drivers installed, and i had testmode on with driver enforcement disabled).

Wait but only one app did something different. The Smart Phone flash Tool had a special error when i connected usb (even if i do not hold VOL+ and VOL-) i had a special error, instead of just stuck at waiting. here's the error:

Other Notes​

I tried both Windows 10 and Windows 11

I tried Fedora (fastboot method) and i got the same results

Flashing with fastboot will end up in error Verify State Locked

fastboot getvar command actually gives an output which includes some information, in which says that the bootloader is locked.

I did not forget to enable OEM Unlocking, in case this is on your mind

I had kaspersky on my phone which gave me a weird warning about a firmware change (although i did not success in anything). Here's the screenshot

Thanks in advance for the absolute masters who will help me get this done!