[Asus  Eee Pad Transformer Prime] djibe89:
[GUIDE/TUTORIAL] Asus Transformer Prime to Android 7.1/LineageOS 14.1

[GUIDE/TUTORIAL/HOWTO] Asus Transformer Prime/TF201 stock to Android 7.1 Nougat/LineageOS 14.1

This detailed step-by-step guide helps you transform your Asus Transformer Prime with Android 4.1.1 to a powerful one with Android 7.1 (Nougat).

### I'll make a few comments like this, read these or you may miss something.

### The Asus Transformer Prime codename is TF201.

Try to prefer USB2 connections, but USB3 works fine too.

CHANGELOG

v11. Improvemed unlock section

v10. Updated links

v9. ROM v39 and removed obsolete info

v8. ROM v35 and enhenced link for OpenGapps

v7. Refresh pack for ROM v32 and TWRP recovery 3.2.3-0

v6. Google Play certification

v5. Updated djibe pack for easier install (kang recovery 3.1.0-1, SuperSU, drivers if fails at Step 6) + switched to v26 of Katkiss

v4. TWRP Kang recovery 3.1.0-1

v3. Tweaks and walkthrough

v2. Android 7, many hints added for more accurate tutorial

v1. Initial release

BEFORE STARTING

Make sure you have the latest official updates for your tab :

In Android, go to Settings -> About tablet -> System Update

### Make sure you read all comments starting by ###

To make sure your tab is the correct model, go to Settings -> About tablet.

The details below are listed :

• Android 4.1.1 (JellyBean; Nvidia logo bottom right on boot)

bootloader V 10.4.2.18

### To verify bootloader version, shut down tab. Then hold Power + Volume- for 3 seconds and release.

### You are in bootloader : on top left corner is written Android (...) epad-10.4.2.18.

### To quit bootloader, press Volume- to go over the Android icon, then Volume+ to confirm.

### If not V 10.4.2.18, check official updates for your tab before starting this tutorial

### or check more info on Asus support web page and download the version identical to the Firmware Description written top left corner of the bootloader

### Asus support is here : https://www.asus.com/Tablets/Eee_Pad_Transformer_Prime_TF201/HelpDesk_BIOS/

• GPS 7.9.13

• Wi-Fi 7.1.0.24

• BT 10.33

• Camera FT201-0x9900

• Ecran MXT-2.0 build-170

• Kernel 3.1.10.00002-9599d0cf android@Mercury

o #1 SMP PREEMPT Thui Nov 22:12:01 CST 2012

• Build nr JR003C.WW_epad-10.4.2.18-20121122

Still in Settings -> About tablet, tap 7 times on build number to unlock Developer menu.

0) BACKUP YOUR DATA

Backup SMS, photos, contacts before going any further (ex: use the backupyourmobile app).

Check that backup is located on microSD card.

Then copy the backup on your PC.

1) DOWNLOAD

djibe Transformer Prime pack v2: http://bit.ly/djibeTransformerPrimev2

(contains Windows Universal Naked drivers + android_winusb if step 6 is difficult + Asus UnLock_Device_App_V6.apk + fastboot.exe + adb.exe + nvflash.exe + HairyBean Bootloader and various recoveries necessary + SuperSU 2.82).

Unzip the file on Windows desktop.

+ ROM KatKiss Nougat v39 Android 7.1

XDA Thread: https://xdaforums.com/transformer-tf700/development/rom-t3457417

Download here: https://downloads.timduru.org/android/tf201/K.A.T/KatKiss/7.x/dev/ or https://www.androidfilehost.com/?fid=14943124697586357425

+ OpenGapps ARM 7.1 ARM Pico (NO OTHER DISTRIB THAT ARM PICO please): https://opengapps.org/?arch=arm&api=7.1&variant=pico

You must have a microSD card (FAT32 format), copy the zip files from Katkiss ROM, OpenGapps and SuperSU.

Then insert it in the tab.

2) INSTALL WINDOWS DRIVERS FOR ASUS TRANSFORMER PRIME TF201

- Windows 8/10 :

On keyboard, type combo : "Windows key + R"

In the command prompt, type :

shutdown -o -r -t 0

It opens Windows Recovery menu:

Go to Troubleshoot -> Advanced Options -> Startup settings -> Restart.

At reboot, hit 7 (Disable driver control) and follow instructions for Windows Vista/7.

Once driver installation is completed, reboot PC as usual.

- Windows Vista/Windows 7 :

Go to folder /Universal Naked Drivers 0.72 you unziped earlier (on Windows desktop).

Select file android_apxusb.inf, then right click -> Install.

Force driver installation and wait until a success message prompts.

Repeat operation with android_winusb.inf .

Then plug tablet to PC (USB2 port) to end driver installation.

### If it fails to install you may try using Windows device manager :

### In Windows Device Manager menu -> Right-click on Asus Android Device -> Update Driver Software -> Let me pick -> Have disk -> Browse to the .inf file and install BOTH .inf files.

### See this post if still doesn't work : https://xdaforums.com/showpost.php?p=75240547&postcount=166

- For Linux, I have no experience. Every tools should be here : https://github.com/AndroidRoot/androidroot.github.io/tree/master/download

- Copy the UnLock_Device_App in tablet's internal memory

Tab should normaly be seen in Windows explorer as TF201.

Check MTP file transfer protocol is active on the tab.

Copy the UnLock_Device_App_V6.apk in the root folder of the tab.

3) UNLOCK BOOTLOADER OF ASUS TF201

Tablet must be fully charged to 100 %.

In Android, go to Settings -> Security -> Check Unknown Sources.

Then Settings -> Developer options -> Enable USB debugging.

Launch the preinstalled app File Manager to install UnLock_Device_App_V6.apk.

### If it fails to install, delete your Google Account. Go to Settings -> Accounts. Delete the Google Account.

Launch the UnlockApp.

Accept User agreements. Your warranty is now void.

Accept and click to unlock the tab,

let the tab restart and work.

After reboot , "This device is unlocked" is written on top left screen.

### It probably won't work that simple.

### The solution is here, but I didn't have to test it: https://xdaforums.com/t/howto-unlock-tf700t-in-2020.4157143/post-85255809

4) PREVENT BRICK : NVFlash

This step is optionnal but highly higly highly recommended, your tab will never be bricked after it !!!

1ST PART --------------------

Tab shut down, press Power + Volume- for 3 seconds and release, you are in the bootloader.

Use Volume- to move cursor over the USB logo, confirm with Volume+, you are in the fastboot mode.

Connect Transformer Prime to PC.

Select the "Files" folder you you unziped earlier.

Do Shift + right click on folder -> Open a Command Line.

Type:

fastboot -i 0x0b05 flash recovery flatline_tf201.img

and confirm with Enter.

### If you get error "fastboot : The term 'fastboot' is not recognized as the name of a cmdlet, function, script file, or operable program",

### type the command starting with a dot :

.\fastboot -i 0x0b05 flash recovery flatline_tf201.img

A blue bar appears on the tablet indicating flash success.

Wait until command line reports the flashing success.

then type :

fastboot reboot-bootloader

and confirm with Enter.

This time in Bootloader, use Volume- to select RCK (recovery) and confirm with Volume+.

You are in the flatline recovery.

Use Volume- to go to Advances, confirm with Power.

then wheelie, confirm (Power button),

then i accept the above statement (Power button),

then Step 1: flash AndroidRoot BL, tab powers down.

Start tab with Power only,

let the blue bar fill completly and start Android normally.

Once in Android, shut it down.

Start tab in bootloader Mode again (still Power + Volume- ;-) ), go to recovery again (RCK).

Connect tab to PC.

In recovery, return to Advanced -> wheelie then select Step 2: generate wheelie blobs.

It generates the backup files !!!

Open another Windows command prompt for fastboot mode and type :

adb pull /data/media/AndroidRoot

.

Backup files are stored in your "Files" folder. Make another backup of these files in a safe place.

(7 files are saved : recovery.bct, create.bct, bootloader.ebt, blob.log, blob.bin, pt_restore.log and pt_patch.log)

### If

adb pull /data/media/AndroidRoot

doesn't work : start Android normally, connect to PC as multimedia storage and

### navigate to My Computer -> Transformer Prime TF201 -> Internal Memory -> Android Root and copy the files in here.

Shut down tab.

2ND PART, NvFlash ----------------

Copy these 7 files in the folder "files/nvflash" (Another copy, in addition to the backup you made).

Connect tab to PC.

Start tab in Nvidia APX Mode : Hold Power + Volume+ for 3 seconds.

Anything happens, it's normal, screen stays black.

The tab is visible as an external drive and is called APX.

Open another Windows command prompt on the nvflash folder.

Type :

wheelie --blob blob.bin

and confirm with Enter.

If successful : the tab launches in bootloader mode and the Command prompt writes a few lines.

Type in command :

nvflash --resume --rawdeviceread 0 2944 bricksafe.img

then :

nvflash --resume --read 14 factory-config.img

then :

nvflash --resume --read 7 unlock-token.img

You have to backup 3 new files : bricksafe.img, factory-config.img and unlock-token.img.

Copy these files in a safe storage with your blobs for future repair if needed.

### If you need to restore those backups one day, follow the tutorial of craigacgomez : https://xdaforums.com/showthread.php?t=1927818

### If you have error "not enough space for GApps (error 70), follow this tutorial https://xdaforums.com/showpost.php?p=73403429&postcount=137

5) RECOVERY

(Only applies to stock bootloader V 10.4.2.18).

Charge tab to 100% before continuing.

Start it in bootloader mode (Power + Volume-).

Connect it to PC.

Set the icon over the USB selection.

Confirm with Volume+; you are again in fastboot mode.

Open a command prompt on the /files folder.

Type :

fastboot devices

.

if the serial number is written, tab is well connected.

### Or check driver installation if not.

then type :

fastboot -i 0x0b05 flash recovery twrp_tf201t.blob

and wait for the "finished" success message,

then type :

fastboot -i 0x0b05 reboot-bootloader

,

and confirm with Volume+ to get into RCK (recovery, again), it is now TWRP 2.6.3.0.

6) BOOTLOADER

Once in TWRP recovery, type in command prompt :

adb devices

-> terminal returns : 012345678ABCDEF recovery.

Type :

adb push HairyBean_Bootloader_TWRP2.5.zip /sdcard

Now on the tab, still in TWRP recovery, go to Install then click on HairyBean_Bootloader_TWRP2.5.zip

(file is in Internal memory, in folder /sdcard).

Swype to the right to confirm flashing, wait until Successful message appears.

Now click Reboot System and Do Not Install when SuperSU is proposed.

Let the tab reboot with another blue bar. Let it work.

The tab reboots and launches the HairyBean TWRP recovery (androwook).

In Windows command prompt, type :

adb reboot-bootloader

,

tab reboots in bootloader mode and the USB icon is gone, it's perfect.

### If Windows doesn't recognize your tab, or recognizes it as VID_0B05&PID_4C83, try the fix from XTCrefugee included in my pack : folder \Drivers android_winusb if hairybeen TWRP not recognized

### Install this .inf driver file as you did earlier

###

### YOUR BOOTLOADER IS NOW IN 10.6.1.27.1 VERSION

###

In command prompt, type :

fastboot -i 0x0b05 flash recovery twrp-3.2.3-0_KANG-tf201t.img

Wait till blue bar completes.

When finished message appears in terminal,

type :

fastboot -i 0x0b05 reboot-bootloader

, tab reboots.

Now enter in new recovery with Volume+ : recovery is now TWRP Kang 3.2.3-0 Recovery

### Your tablet will be seen by Windows as a TF201T now !

7) SET FILESYSTEM TO F2FS

F2FS is the fastest filesystem for read and write partitions on flash memories. Compared to EXT4, gain is from 15 to 280 %.

No need to format the /System partition because it is Read only and Ext4 is still faster.

Go to Wipe -> Advanced Wipe, select only the Data partition,

then tap on Repair or Change File System -> Change File System and tap on F2FS.

Swype to force partition system as F2FS. Wait till done prompts. Then go back to Advanced Wipe.

### If TWRP sends you this log in red : E:Failed to get default contexts and file node for storage files,

### Reboot to TWRP recovery again before going any further.

Repeat the operation of F2FS conversion for the Cache partition.

8) INSTALL ANDROID NOUGAT 7.1

Still on TWRP Advanced Wipe menu,

select Dalvik Cache, System, Cache, Data AND Internal Storage and Swype to force cleanup. Wait till completion.

Back to Home screen, tap Install, then Storage: Internal Storage and change it to microSD card -> OK.

Select KatKiss* .zip, and Add More Zips,

select SuperSU.zip, and Add More Zips,

then open_gapps-arm-7.1-pico*.zip and Swype to force install. Be patient.

### Make sure once again you have the Pico Gapps version or system will hang.

### If TWRP crashes to its Home screen, you microSD might be in cause. Find another one, and then try to install Zips 1 by 1.

### If error installing Gapps, see this thread : https://xdaforums.com/android/help/fix-error-70-install-gapps-t3311779

When done prompts, tap on Wipe Cache/Dalvik and swype to confirm, wait.

Go back to Home when done.

Then Reboot -> System.

Let the tab start during at least 15 minutes.

9) START ANDROID N 7.1

### During first setup, manually toggle Wifi ON using the Wifi icon on the bottom right corner. If you don't, the setup app will crash.

### It can crash a few times before turning on, keep activating it.

Configure Android as you like.

In Settings -> Mediascanner filters, uncheck Scan.

In Settings -> About, tap 7 times on build number, it unlocks the Options for developers in Settings.

Enter this new menu.

In the Hardware acceleration, try both GPU rendering active and disabled.

I can't figure which one works best. Share with us.

Good to know about this ROM:

Bluetooth requires to be turned on twice before it turns on.

A few things including the navbar buttons can be tweaked in Settings => System UI Tuner.

AND more on XDA Katkiss thread (See DOWNLOAD CHAPTER ABOVE)

10) ROOT

Open app SuperSU to see more details about the Root access.

After ROM first launch, go to Settings -> About tablet.

Tap 7 times on build number, it will unlock the Developer menu.

In the developer menu -> Try to turn ON and OFF the Force GPU option and tell me what is the faster one.

(I think I prefer when GPU forcing is disabled).

11) PERFORMANCES AND OVERCLOCK

Source of benchmarks: http://androidmodguide.blogspot.fr/p/blog-page.html

Install Kernel Adiutor app from Google Play Store.

Launch app and go to Settings -> Kernel -> CPU :

Check Apply on boot and change CPU Maximum Frequency to 1600 or 1700 Mhz, set Governor to Interactive

Now Kernel -> I/O Scheduler :

Check Apply on boot and set Scheduler to Zen, then Readahead to 1024 Ko (or 2048. Try yourself)

Now Kernel -> Various :

Check Apply on boot and set TCP congestion to Cubic (or Westwood)

12) VARIOUS FIXES

### Your tablet doesn't see the Wifi ? (that is on Channel 13 by example).

Try this first : in the Wifi screen (where you see all visible networks), tap on the three-dots icon to open the menu -> Advanced wifi parameters.

Tap on the Wifi region code item to select the region : chose the corresponding region.

Now verify your Wifi network is visible.

If not, try this :

Open Kernel adiutor, Menu -> Build.prop editor.

In key search field, type wifi.

Click ro.wifi.channels -> Edit -> in the value field, set 13. Confirm with OK.

At the same time, you can set wifi.supplicant_scan_interval=180 to 180 (seconds) to reduce number of scans and reduce battery usage.

Restart tab, your wifi network should be visible again.

### Your keyboard isn't in the correct language

Go to Android Settings menu -> Languages & inputs -> Physical keyboard -> Android keyboard

Enjoy your new tab ;-)

djibe

Thanks : @timduru, matthill.eu, Kang for updated TWRP, TWRP team, Android Root Team, Lineage OS team, TacoNikky, Saber