[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] 1nf3c710n:
Full tutorial from Stock MIUI China to Lineage OS 13

Hello everyone,

First, a big thanks to Harrynowl and tank0412

for this excelent rom.

this Rom is absolutely amazing for our mipad 2, really smooth and multitasking is way batter than on stock MIUI. I highly recomend it to anyone who is not happy with miui.

XDA doesn't allow me to post links, bad move. you will have to find them yourself.

So lets get to it, my MiPad 2 was completely stock, on [ MIUI 9 China Stable ROM V9.2.3.0.LACCNEK ], android 5.1. this mean, everything stock, and for me as a new user of Xiaomi, was hard to get detailed tutorials to get LineageOS on my tablet, so here is what I found and works for me. PS: I am not responsable if this doesn't work and you end up bricking your tablet or something, try this at your own risk.

I will recommend you to read all the steps first and then try it out.

YOU WILL NEED:

A windows PC with administrator privileges.

Mi Pad 2.

USB to USB C cable, hopefully the original one.

LineageOS Rom from first post, I used the last one : "lineage-13.0-20171008-UNOFFICIAL-latte.zip"

[OPTIONAL] Gapps, U used "open_gapps-x86-6.0-pico-20180125.zip". from opengapps . org

"Universal Tool For Managing Mipad 2" , thanks to Papka__ from Xiaomi.eu, find the original post here: https:// xiaomi . eu/community/threads/universal-tool-for-managing-mipad-2.36891/

Steps:

0. Previous steps:

0.A. Put the rom [in .zip] and gapps [also in .zip] in the memory of your tablet, in a folder or just there in first directory for easy access.

0.B. Install the drivers for the tool, unzip the "Toolbox" file and you will get a folder named "Toolbox", inside open "Drivers", unzip IntelAndroidDrvSetup1.10.0.zip and install it as an administrator, just click next next next allow etc.

1. UNLOCK BOOTLOADER:

First you will need to unlock your bootloader in order to change the recovery from Stock xiaomi to TWRP, wich will allows you to flash the ROM. So for doing this:

1.A. Activate developers options: In your Mi Pad 2 go to Options, about phone, and click/tap several times on MIUI version for activate developers options. [on some other versions you will have to click/tap on Build number or something like that. if not, google it.]

1.B. Activate USB debugging option: In developers options [it should be in options menu, advance options [ or more options, google it if you don't find it] search for USB debugging option and active it. Also you should activate the option "Unlock OEM".

1.C. Connect your mi pad 2 to the windows PC with the USB cable, wait for all the drivers to install [for this I will recommend that the PC should be connected to internet], and then follow to the next step.

1.D. Go to the "Toolbox" folder you unzipped in step 0.B, and copy the directory of it, in my case it was : "C:\Users\*****\Desktop\Toolbox" [***** was my username in windows]. In windows 10, 8 or 7, click on start menu and search for "CMD", right click on it and select "Run as administrator".

1.E. on the CMD windows, write : cd C:\Users\***\Desktop\Toolbox

then hit enter, now you will be in the directory of the tool. obviously you have to put the directory of YOUR unzipped Toolbox. now Write : Tool.bat

1.F. A new windows will appear, and in your Mi Pad 2 a message will pop up asking for "allowing usb debbug on this pc" or something, put yes on the tablet and the Tool will run. Your tablet will enter in DNX mode , just wait a little...

1.G. Now the tablet will be in fastboot mode, A serie of options will appear, hit 1 and then enter, until the status of the bootloader change to UNLOCKED.

2. CHANGE THE RECOVERY.

follow the onscreen instructions to flash recovery, it will flash the version 3.0.0.3 by hitting option 2. Now hit 0 and the tablet will enter in Recovery Mode. [ the unlocked screen will appear first, you should hit volume up to boot into recovery]-

3. FLASH THE ROM.

Now in recovery, you should be fast and never stop tapping the screen on some corner or something, because the recovery is very laggy and if it get blocked it would be a nightmare to unlocked screen.

Go to wipe, I wiped everything except internal storage, for leaving the ROM and gapps in there, but if you like you might wipe everything and use the recovery to mount to the pc and transfer the rom to the tablet, I didn't take the risk.

After the wipes, go to INSTALL, navigate to the ROM in .zip and flash it, then do the wipe cache/dalvik, and then reboot system.

4. the screen of unlocked bootloader will appear again, I don't know how to make it dissapear but it doesn't bother me that much, just hit volume up, now your tablet will boot into lineageOS , you are done!

5. Optional, flash Gapps:

Boot into recovery again, you must try with bottons combination [this never works for me], or try going into developers options in lineageOS and activate advanced reboot menu, go to recovery...

Here you must go and install the zip for pico gapps, wipe dalvik and cache again, and boot into the system, now you will have play store without problems.

6. Thats it... NOTE: my tablet is 64gb and it recognize it without problem.

BUGS WITH THIS PROCESS: I didn't change the kernel of the tablet for the other version that it is posted, because I didn't face any reboot and the battery in stand by time is good for me [about 1% every 2 hours, excelent for me], BUT i have problems charging the tablet, it charges only when it wants to... not a problem for me because with a reboot it works again, or been turned off it charge without issues. I will play with it for a while and if I face any reboot I will change the kernel and try charging at any moment, I will report this latter.

Hope this tutorial may help some users trying this awesome rom.

Finally, sorry for any error with my english, I wasn't using any translator and english isn't my native lenguage, hope it hasn't that many errors!!