Friday, July 1, 2016

Mi4i (ferrari)-Prepared device before flashing custom rom ( cm 12 / cm 13 )

My experience flashing ferrari Mi4i with cm 12.1 from stock MIUI 7, and face bootloop. some thread suggesting flash MIUI stock 6 or lower. Downloading fastboot rom of about 900 MB painful for slow internet. after investigating, the bootloop is caused by CM 12.1 (including Mokee rom) built with compatibility on stock rom 6 or lower. So I repack the tools from fastboot stock rom Mi4iGlobal_V6.5.4.0.LXIMICD and delete userdata.img, system.img, ADDED TWRP-3.0.0-ferrari (to replace stock recovery): modify the script to achieve Mi4i stage to ready to flash with custom rom (cm 12 probably cm 13) and no bootloopTested with cm 12.1
PC Pre-requirements :
Your ferrari
  • Download custom rom your wish to flash to ferrari
  • Download appropriate gapps
  • Dowload supersu (not mandatory)
  • Put all zip file in your root of sdcard storage (internal storare)
In Your PC : windows or linux
  1. Working fastboot (and adb) on the PC
  2. USB Driver for ferrari installled
Procedure
  1. Dowdload zipped tools HERE
  2. Extract the tools any where in your home directore
  3. Open Terminal/console > Navigate to the extracted folder
  4. Turn your ferrari to fastboot mode ( push power button and volume down simultaneously)
  5. Connect ferrari to PC via usb
    • For linux > execute $sh linux-flash-mi4i_b4_cm.sh > hit enter. Note : if you should use sudo to access fastboot execute $ sudo sh linux-flash-mi4i_b4_cm.sh
    • For window > double click win-flash_mi4i_b4_cm.bat
After finishing flashing your ferrari will still in FASTBOOT MODE. Switch off (push power button and release) push volume up before release. Sub all going well you will prompted with TWRP 3 on your ferrari do flashing your customs ROM :
  1. Wipe system, cache, dalvik cache (NOTE : do not wipe /sdcard coz you have custom rom.zip and gapps.zip for flashing)
  2. Install cm rom zip, gapps .zip
  3. Wipe cache
  4. Reboot to system
  5. Enjoy CM without bootlop


from xda-developers http://ift.tt/298bfEc
via IFTTT

No comments:

Post a Comment