install_custom_roms_on_xiaomi_mi5

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
install_custom_roms_on_xiaomi_mi5 [20.03.2018 10:07]
Pascal Suter [Unlock the Bootloader]
install_custom_roms_on_xiaomi_mi5 [21.06.2018 20:03] (current)
Pascal Suter [Install TWRP]
Line 16: Line 16:
 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  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 and have to wait until i get home to try this on my wife's pc :) so stay tuned ;) +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]] 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 rom =====
 +once you got TWRP on your phone you simply need to download the ZIP of your favourite ROM and install it. In case your phone does not boot anymore after the TWRP install, you may try to resurrect it if you delete de davlik cache. if not, you can boot into twrp and then connect your phone to the computer. it will be mounted as a storage device which will allow you to upload the zip of your custom rom. Just flash it and your phone will probably boot again. Allow it some time (10-20 minutes) on the first boot, don't panic when it does not complete the boot process in a 1-2 minutes as usual. 
 +
  • install_custom_roms_on_xiaomi_mi5.1521536849.txt.gz
  • Last modified: 20.03.2018 10:07
  • by Pascal Suter