Android based OS forked from Lineage 17
Supported Devices
- beryllium (a.k.a Xiaomi Poco F1)
This assumes the device is unlocked. Check here for more info.
Pre-requisities
- Install Python 3.7+ on your PC
- Be sure to run
pip install -r scripts/requirements.txt
Tools
- Flash utility
./flash remote -wr
- Bootstrap
./bootstrap remote -fsa
Currently this process is only supported on windows laptops
- Create and login with an MI account on the phone (You'd need a phone number for this step)
- Extract the contents of Mi Flash-Unlock and open batch_unlock
- Enable the Developer Option in your mobile by clicking on the MiUi version in the About Phone 8 times. You'd then see a message say "You're already a developer".
- Go in the Developer Options menu and turn on OEM Unlocking and USB Debugging
- Now, click on Mi Unlock status and login with the same Mi Account
- Connect your phone with your laptop and open cmd
- After connecting type the command
adb reboot fastboot
, the phone will reboot to Fastboot mode.- Then in the Mi Flash Unlock tool, after pressing F5 you will see your device listed, then press F6 to start unlocking the bootloader. (If incase it doesn't appear, follow installation of drivers)
- After the bootloader successfully unlocks, reboot the phone
- You should see an unlocked lock symbol on the top center of the screen.
When in fastboot mode, sometimes the device is not recognized by the system. In this case you need to add the respective usb_drivers for the same. This assumes your device is in fastboot mode and connected to your PC
- Open device manager
- You'll see an unknown android device
- Right click on it and click update driver
- Browse for drivers and select install from a location on PC
- Click then on have driver and then browse to the path of
usb_drivers
in this repo.- Select
android_winusb
and click okay then yes- You don't have to restart PC after this.
- Verify via
fastboot devices
if your device is recognized.