install_custom_roms_on_xiaomi_mi5

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revision Both sides next revision
install_custom_roms_on_xiaomi_mi5 [19.03.2018 19:00]
Pascal Suter created
install_custom_roms_on_xiaomi_mi5 [21.06.2018 10:49]
Pascal Suter [Install TWRP]
Line 8: Line 8:
  
 ===== Unlock the Bootloader ===== ===== Unlock the Bootloader =====
-Like most other manufacturers, Xiaomi ships their phones with a locked bootloader. But unlike others, they allow you - upon request - to unlock it. You need to use their [[http://en.miui.com/unlock/download_en.html|Xiaomi unlock tool]] to do so+Like most other manufacturers, Xiaomi ships their phones with a locked bootloader. But unlike others, they allow you - upon request - to unlock it. 
  
 +first you need to create a xiaomi account and assign it to your phone.. you can do this under ''settings --> accounts'' on your phone. Next up, you have to register to the miui forum at [[http://en.miui.com/forum.php]]. Just click ''Sign In'' and sign in with your newly created xiaomi account. It will then prompt for a nick-name to be used in the forum. Enter one and you're done. 
  
 +now you need to request permission to unlock your phone. to do so, go to [[http://en.miui.com/unlock/]] and fill in your request. this needs a confirmation by sms. in my case the confirmation sms took forever to get to my swiss SIM card, but I got it within a few minutes to my US sim card, so your mileage may vary here. 
 +
 +you need to provide a reason why you want to unlock your phone.. i was honest and wrote "would like to update to android 8 using custom roms" which they accepted and confirmed my unlock-permission by sms 
 +
 +Now we need to use their [[http://en.miui.com/unlock/download_en.html|Xiaomi unlock tool]] to unlock the phone. Unfortunately this is a Windows only application. When you run the application and proceed by loggin in it should give you the option to unlock your phone. however, you must wait 72 hours after you received the permission-granted SMS before you can really unlock your phone. The Unlocker will fail telling you in a cryptic non-english english sentence how many hours you have yet to wait until you can unlock your phone. 
 +
 +once that countdown is expired your phone should unlock just fine. 
 +
 +Once you have unlocked your phone, you can probably delete the account if you want to, but make sure you log out from the account on your phone prior to deleting it. Here's the [[https://account.xiaomi.com/pass/del|delete link]]
 +
 +===== Install TWRP =====
 +download the latest android [[https://developer.android.com/studio/index.html#linux-bundle-size|Platform Tools]] or install them i.e. under ubuntu with ''sudo apt install android-sdk-platform-tools''. also get thelatest TWRP image from the [[https://dl.twrp.me/gemini/|official download page]]
 +
 +now reboot your phone and hold the ''volume down'' key until you see the fastboot screen. then connect it to your computer and check if you can see your phone via fastboot: 
 +  fastboot devices
 +run these commands to install and boot TWRP: 
 +<code>
 +fastboot flash recovery Downloads/twrp-3.2.1-1-gemini.img
 +fastboot boot Downloads/twrp-3.2.1-1-gemini.img
 +</code>
  • install_custom_roms_on_xiaomi_mi5.txt
  • Last modified: 21.06.2018 20:03
  • by Pascal Suter