ASUS Transformer Pad (asus-tf300t)

Contributors

 * osctobe (Michał Mirosław)
 * Clamor
 * Ion Agorria

Variants

 * TF300T - regular wifi only tablet, currently has support both in pmaports and grate Linux kernel fork.
 * TF300TG - 3G version of TF300T with some slight differences. Modem is very close to Nexus 7 2012 cellular (tilapia).
 * TF300TL - LTE version of TF300T with differences similar to TF300TG. Uses Asus custom modem setup and doesn't have mainline driver for it.

''Note: TF300TL has experimental support in this grate fork. TF300T and TF300TG are officially supported.''

Unlocking
The first step to do anything with the device is unlocking, with this device its done by sideloading the unlock apk from asus and clicking a few buttons in the app. In case you get a network connection error, you will need to patch the unlocker.

Android kernel

 * 3.1 kernel based on ASUS sources with updates till Oreo support (Morpheus kernel)
 * 3.4 kernel as a part of Unlegacy Android Project (Unlegacy kernel)

Mainline (Grate)

 * Baseline kernel sources on master: https://github.com/grate-driver/linux
 * Proper dts for TF300T is added
 * Version: 6.0.6
 * Status: Boots. Almost full support.

How to enter flash modes
Turn tablet off if it is in the system. Then press POWER and VOL DOWN buttons till you feel the vibration. Then release the POWER only. You will enter the bootloader/fastboot. In bootloader you can navigate with VOL DOWN button and to choose option use VOL UP button.

Bootloader version
You need bootloader version of 10.6.1.27.5 which is available in latest android ROM provided by Asus.

Installation process
Preparing rootfs and flashing kernel:

Flashing rootfs to eMMC
You should proceed very carefully here.

Rootfs should be flashed to the /userdata partition.

Prerequisites: TWRP, at least version 3.3.1-0, binaries for 10.6.1.27.5 bootloader are here.

First, start TWRP (go to bootloader and choose RCK) and then continue with these instructions

Desktop environment
Since 3D acceleration is not available yet, all DE which use it will be painfully slow and laggy.

Currently xfce4 or mate are recommended.

Installing PMOS with U-Boot on eMMC
1. Primary, we need to compile a u-boot on legacy branch: Copy u-boot-dtb-tegra.bin file to nvflash folder. Now, flash new bootloader with nvflash tool. Go to nvflash folder and do (Make sure to flash to EBT partition):

2. Secondary, during the Installation process add --split option then export:

3. Finally, set /boot partition: Mount pm_boot, copy dtb from dtbs folder to root directory (NOT rootfs), make uInitrd: Go to nvflash folder and flash /root and /boot to tablet (Make sure to flash /root to UDA and /boot to APP):

Issue with rootfs size
When install with --fde option (Maybe without encryption issue the same. It's not tested yet), the rootfs size less than Data partition on tablet. To fix it, we'll need sdcard as Live boot (just install PMOS on it). Load from sdcard, unlock crypt_LUKS and do: Then lock crypt_LUKS and reboot to eMMC. The rootfs size must to be changed.

Dock

 * Remove 2 torx screws on the bottom
 * Remove 4 Philips screws under the glued pads on the bottom
 * Remove 3 Philips screws near the mouse buttons. Be careful with removing and adding back the top plastic piece, it has small clips

Tablet

 * See iFixit