9

Question - Does anyone have Xiaomi 12 with unlocked bootloader? Test LineageOS |...

 2 years ago
source link: https://forum.xda-developers.com/t/does-anyone-have-xiaomi-12-with-unlocked-bootloader-test-lineageos.4443787/page-2#post-87469723
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Does anyone have Xiaomi 12 with unlocked bootloader? Test LineageOS

Question Does anyone have Xiaomi 12 with unlocked bootloader? Test LineageOS

ydd0ras

Senior Member
Hi ! Do you have an idea of how I could contact the Dev of lineage for Xiaomi 12 ? I'd like to develop for Oneplus 10 pro and since they share the same soc he could be really useful

Sry, for late reply. Look for Xiaomi 12 Ófficial group on TG

Hey sorry for asking. I'm willing to test the build but just one question. Did fingerprint works?

That's all i need to know. Thanks

mohsen8

Senior Member

Hey sorry for asking. I'm willing to test the build but just one question. Did fingerprint works?

That's all i need to know. Thanks

Everything Work

Everything Work

Thanks ! Installing it now !

OK, I have wrote a flashing guide for Windows users, tho I don't use Windows so I hope all steps are correct:

Flashing LOS on Cupid


Xiaomi 12 LOS ROM flashing

Prerequisites:

Your bootloader must be unlocked.

You should use latest platform tools on Windows. https://dl.google.com/android/repository/platform-tools-latest-windows.zip

Your device should be charged above 50%. Well, it doesn't have to be, but this is just for your phones safety.

Download all required files - ROM, boot, vendor_boot, dtbo and recovery.

Make a proper backup if needed and push it to another storage.

First steps:

After you have unlocked the bootloader, device will reboot automatically. Finish the setup, enable developer settings and finally enable USB-Debugging in developer settings.

In Windows open the folder in which you have unzipped the platform tools.

Hold left shift and press right click
click "open powershell window here"

Type in Terminal for example "adb devices" and grant the permissions for this PC on your device.

Reboot your device to fastboot and connect it with your PC.


The flashing procedure:

Flash boot, vendor_boot, dtbo and recovery:

Type in Windows Terminal:

fastboot flash boot lineage-19.1-20220617-UNOFFICIAL-cupid-boot.img

fastboot flash vendor_boot lineage-19.1-20220617-UNOFFICIAL-cupid-vendor_boot.img

fastboot flash dtbo_ab lineage-19.1-20220617-UNOFFICIAL-cupid-dtbo.img

fastboot flash recovery lineage-19.1-20220617-UNOFFICIAL-cupid-recovery.img

and finally

fastboot reboot recovery or

reboot to recovery by holding volume up and power buttons until you see Mi logo on your screen (on device).

In LOS recovery:

do a factory reset first

go to "Factory reset" and perform "Format data / Factory reset"

all data will be erased. Then....

go to "Apply update", followed by "Apply from ADB"

Now sideload the ROM:

type in Windows Terminal


adb sideload lineage-19.1-20220617-UNOFFICIAL-cupid.zip

You can also drag ROM zip file into your terminal window, instead of typing the full name/path to file.

When finished, reboot simply your device.

I have problem when rebooting to recovery. the installation of all the image went well but when i tried to rebooting to recovery, it will always comeback to fastboot. any solution ? thanks


Recommend

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK