[Xiaomi Mi Pad Questions & Answers] ex1991eric:
Encountered very weird issue when trying to install roms

Hi guys, I'm currently on 'Resurrection Remix M - v5.7.4' after trying to install 'LineageOS 13' which hung during installation on "Patching system image unconditionally" . I've also manged to install 'AOSiP KANG 5.5 - 7.1.1'; once. After managing to install it, I tried to install 'Lineage OS 13' again, but it still fails at the same spot. Now every time I try to install 'AOSiP KANG 5.5 - 7.1.1' in hangs on "flashing AOSiP" . So, I then tried 'Resurrection Remix M - v5.7.4', it worked and now I think I'm stuck on Remix. I'd like to install "LineageOS 13" as the new FoxyKernel only works on 'Lineage OS 13'. I've already merged the partitions and have been able to return to stock rom through the use of the miflash tool and fastboot. I've already tried flashing 'LineageOS 13 and 14' using 'twrp2.8.4 and 3.0.2' but both have failed I've also tried using 'CWM 6.0.5' but that failed as well. I've always wiped everything except the sdcard and usb when trying to install a new rom. Can someone please help me install 'Lineage OS 13' ?

#Note, after I failed each install I always returned back to stock and redid everything again.

~Update 6/3/17

I've just tried to install 'lineage OS 13.0 ' again and it failed yet again, now it seems that I can't reinstall 'Resurrection Remix M - v5.7.4' it hangs yet again on patching system unconditionally, which it did not the first time round. Furthermore, the back up I made previously of Resurrection Remix M - v5.7.4, fails to install and fails on "extractTarFork() process ended with ERROR: 255". Can some one please me.

~Update 7/3/17

Managed to install the new 'lineage OS 14.0'; screwed up the install, by installing 'foxykernel' before booting. Caused system to be stuck on lineage boot animation.... should have read the thread before attempting to install and as usual rom refuses to install again. Stuck at "Patching system image unconditionally". Managed to install 'AospExtended ROM V3.1' but system hung on 'verifying network configuration' and "Just a Sec..." screen; WiFi for other devices were ok no issues. Left it on for over 10 hours no change. Wiped dalvik/art cache and cache tried again but no such luck. Wiped data, but also no luck.

#Note, by this time I've given up on returning to stock, as it did absolutely nothing .

~Update 8/3/17

Managed to flash the new 'lineageOS13.0', wiped dalvik and cache, installed Gapps but system stuck on Mi logo on boot. Managed to install 'RR-N-v5.8.2-20170306' boots up fine... tried to install 'Foxy kernel 1.5.rc2'... wiped cache. Now stuck in boot loop... :Facepalm: should have read the instructions first... forgot to back up boot. :Facepalm:. Will have to wait for MM version of the rom or newer version. Tried 'AOSiP-5.5-KANG-mocha-20170306' for some reason it got stuck on boot loop, only shows mi logo.

~Update 19/3/17

Managed to flash the new 'lineageOS14.0[2017-03-12]' , installed 'Opengapps pico 20170314' found out that in order to be stable need to factory reset, then install Gapps, so that when first boot, account set up shows. Installed 'Foxy kernel 2.0.8', now antutu score "80000" :) ... found out that the backup for boot works. Installed TWRP 3.1.0 , but still cannot install a ROM more than once. All in all 'lineageOS14.0[2017-03-12]' very smooth now that Gapps stopped crashing.