Skip to content

Instantly share code, notes, and snippets.

@samyxdev
Last active November 9, 2021 22:05
Show Gist options
  • Save samyxdev/a6d806be54abd2cf3c3d9f8b08f74e12 to your computer and use it in GitHub Desktop.
Save samyxdev/a6d806be54abd2cf3c3d9f8b08f74e12 to your computer and use it in GitHub Desktop.
Fresh Mi 9T (davinci) ArrowOS installation guide (incl. Bootloader Unlock & TWRP flash)

Fresh Mi 9T (davinci) ArrowOS installation guide (incl. Bootloader Unlock & TWRP flash)

Links


Must read !

Author will not be held responsible for following this guide. Flashing devices can brick your phone, especially if not following the procedure. Be advised !

Also the procedure require to wipe data on the device, don't forget to backup your data before starting.


Unlock bootloader

  1. Install drivers using the 15 Seconds ADB Installer
  2. Enable debugging mode in the device's developper Settings
  3. In Developper Settings > Mi Unlock, add your Mi Account by following the procedure
  4. Run a CMD in Admin : adb reboot bootlooader The device should now reboot into Fastboot mode.
  5. Run a CMD in Admin : fastboot devices

If there is no devices displayed

  • Go in Windows Device Manager
  • Right click then click on update the Android device with an exclamation mark
  • Select Drivers on your computer then click to choose among a list of already installed drivers
  • In this list, select "Android > Android Fastboot drivers" for install

  1. Now that the device is recognized in Fastboot mode, launch Mi Unlocker tool
  2. Sign in your Mi Account in the Mi Unlocker tool
  3. Click on the Unlock button for your device
  4. If everything goes well, it should reboot several times and may appear as stuck on the MIUI screen for a few minutes, it's normal.

Flash a custom recovery : TWRP

  1. Reboot in fastboot using adb : adb reboot bootlooader
  2. Check that fastboot recognize the device. For unknown reasons, Windows might lose the driver and you will have to reproduce the steps "If there is no devices displayed".
  3. Flash the recovery : fastboot flash recovery twrp.img
  4. Get ready to press Power + Vol Up after using fastboot reboot. If you're not able to boot into TWRP, the device will not let TWRP install and you will have to go back again to 1..
  5. In TWRP, wipe data + cache

Flash the custom ROM

  1. Transfer the zip file of the ROM to the root of the device (MTP should work in TWRP)
  2. Install the ROM using TWRP
  3. Reboot to system and ArrowOS should appear
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment