[Asus Transformer TF700] workdowg:
This was the development thread for the "Dual-boot Linux on the Asus Infinity TF700t - JB-4.2" (now called "Kexecboot Linux on the TF700t").

Any and all developments are in Kexecboot Linux on the TF700t here

JoinTheRealms source is up here https://github.com/JoinTheRealms/TF7...oot-stockbased.

Recovery flashable Kexecboot and Kernels Installer

I have made a flashable zip to do the work for me(and you). This zip is a modified version of _that's kernel installer. It will install the kexec blob, boot.cfg, and the Andriod kernel of your choice - CROMi-X, that10 or CROMBi-KK, that-cm112. The that10 installer also includes the needed modules (I will see what is needed for CROMBi-KK at a later date).

Flash the proper zip file below using the newest TWRP:

Please make sure you have a BACKUP (also dd backup your mmcblk0p5 partition for safety) and have either the stand alone that10 kernel installer or CROMi-X/CROMBi-KK ROM's on your tablet as a safety net.

I am including the md5's on these files until I figure out how to sign them... :silly:Done, thanks _that!

CROMi-X 5.4 - kexecboot_installer_for_CROMBi-X5.4_v1.0_Signed.zip -

CROMBi-X - kexecboot_installer_for_CROMBi-KK_v1.0_Signed.zip -

Change log:

Manual kexec blob, Android and Linux kernel install info

1. Android Kernel

You must have a

fully stable

CROMi-X 4+(TWRP 2.5+) or CROMBi-KK (trwrp_that-2.6.3 or TWRP 2.7) install to use any of the following (See this forum, here, for ROM details)

(If you are on stock rooted only, see rabits old thread as this is your only option, here).

The example boot.cfg is usable as is (if you read the file and have use of any of the common choices it describes.)

---CROMi-X (Remember this is only for _that stock. No f2fs,rom2sd or data2sd)

1)From Android "Terminal Emulator" mount /system r/w and make dir /system/boot and extract that9oc-kexecboot-android-05082014.zip or that10-kexecboot-android.zip to /system/boot/

The following assumes you copied or downloaded that9oc-kexecboot-android-5082014.zip to the Download folder

su
mount -o remount,rw -t ext4 /dev/block/mmcblk0p1 /system
mkdir /system/boot
cd /system/boot
unzip /data/media/0/Download/that9oc-kexecboot-android-5082014.zip
mount -o remount,ro -t ext4 /dev/block/mmcblk0p1 /system

2) Reboot into TWRP

3) From TWRP, flash kernel-10.6.1.14.10-that9-oc.zip or kernel-that10.zip and reboot to Android (See _thats thread for kernel details)

4) Back in Android, mount mmcblk0p5 as root and copy your this example boot.cfg into /mmcblk0p5/multiboot -

BIG RED WARNING - Do not mess with any other files on this partition or you will most likely have yourself a paperweight...

The following assumes you downloaded or copied boot.cfg the the Download folder

Example Code:

su
cd /data/media/0/Download
mkdir kexectemp
mount -t vfat /dev/block/mmcblk0p5 kexectemp/
mkdir kexectemp/multiboot/
cp boot.cfg kexectemp/multiboot/
umount kexectemp/

---CROMBi-KK (Remember this is only for _that stock. No f2fs,rom2sd or data2sd)

1) From Android "Terminal Emulator" mount /system r/w and make dir /system/boot and extract that-cm112-kexecboot-android-4272014.zip to it

The following assumes you copied or downloaded that-cm112-kexecboot-android-4272014.zip to the Download folder

su
mount -o remount,rw -t ext4 /dev/block/mmcblk0p1 /system
mkdir /system/boot
cd /system/boot
unzip /data/media/0/Download/that-cm112-kexecboot-android-4272014.zip
mount -o remount,ro -t ext4 /dev/block/mmcblk0p1 /system

2) Mount mmcblk0p5 as root (ex. mkdir somewhere/temp, mount -t vfat /dev/block/mmcblk0p5 temp/) and copy your this example boot.cfg into /mmcblk0p5/multiboot -

BIG RED WARNING - Do not mess with any other files on this partition or you will most likely have yourself a paperweight...

The following assumes you downloaded or copied boot.cfg the the Download folder

Example Code:

su
cd /data/media/0/Download
mkdir kexectemp
mount -t vfat /dev/block/mmcblk0p5 kexectemp/
mkdir kexectemp/multiboot/
cp boot.cfg kexectemp/multiboot/
umount kexectemp/

2. Linux Kernel - This step is only needed if you aren't using one of the example rootfs below.

Be sure to read the readme files included in the zip file by conago.

1) Mount your Linux .img file or extract your rootfs as

root

on your Linux PC to a temp directory

2) Extract linux-kernel-tf700-kexec-that10-cogano3.zip ,by conago,to a temp directory

3) Copy the /boot and /lib folders to the root of your rootfs

4) Unmount the image or zip up your rootfs files.

Hint: Running the following commands will result in a new rootfs.tar.lzma that can be installed with the rootfs only installer above.

3. Flashing the kexecboot kernel blob - (done from Android using "Terminal Emulator") with 10 second time out by conago

1) Extract kexec-host-2014-05-22.zip to a temp dir, cd into it and then carefully type the following as root:

Again - BIG RED WARNING - Type carefully or you will leave your tablet unbootable or WORSE. And please read the README file in the zip.

dd if=blob of=/dev/block/mmcblk0p4

Reboot and profit!

Post install

Now included in the menu driven Android kexecboot Installer

Use the following script from Android AFTER you have a working install to modify the

boot.cfg file to your setup. It helps to rename the labels to something you can remember. ;)

Extract to your favorite place and see the readme file.

modify_boot.cfg_v1.0.zip

Old, Old thread content here:

Great kexecboot tutorial by @cogano (here) - This gives some good background for the regular installer as well.

For those running CROMBi-KK w/_that9-oc+(modded for cm112 by @lj50036 ), I have a quick rundown of what you need to do and the necessary files (ie cm112 android kernel) here

Disclaimer! This is very experimental and may damage your device.

Suggested

Requirements - TWRP 2.5+ and CROMi-Xenogenisis 4+

If you are on CleanROMv3x see rabits old thread - http://xdaforums.com/showthread.php?t=2014759

Known issues:

1) Try to start or restart lightdm and it says - read-only filesystem. You need to fix this from

Android

, terminal emulator

su

e2fsck /data/media/linux/rootfs.img

This happens when you force restart or shutdown linux sometimes

You will find links below to the latest (still beta!) installer and some rootfs images.

For both Ubuntu and Lubuntu - Username: ubuntu Password:ubuntu

Lubuntu rootfs:

FYI - The Lubuntu rootfs is a

work in progress

and has been stripped for YOU to customize. Even though the download size is larger (install is 2.6gb), this runs way faster and uses less ram.

To see what has been installed (not much) or removed (a lot):

cat /var/log/apt/history.log | less

- The Lubuntu rootfs has the apt lists removed to reduce download size. Run this from lxterminal:

sudo apt-get update

Lubuntu To Do:

1) Remove xfce4-notifyd to get rid of the multiple notification errors... (Sorry about that one. I like Thunar and that was a dependency...)

2) No shutdown or restart in Lubuntu, also fails to start lightdm (tf700 prompt). Work around is to insert "sudo service lightdm start" (no quotes) into the file /etc/rc.local

BEFORE

exit0.

3) Version number shows as 12.10, it is really 13.04

4) Remove Unity

5) Update Tegra4Linux Drivers

6) Create updater scripts for version updates (Allows using your current install instead of starting with a fresh rootfs each time I update stuff)

7) Find out what is eating up space - rootfs still too large (734mb download - 2.5gb installed)

8)

Lubuntu Change log:

Here is the modified .conkyrc and conky-draw.lua and my new wallpaper (definitely amateur).

conky-wallpaper2.tar (Fixed per JoinTheRealms - added - own_window_argb_visual) Just untar in the root of your home directory. (tar xf conky-wallpaer.tar) And use desktop preferences to change wallpaper.

Install

1) In Android Terminal Emulator:

# su
# mkdir /data/media/linux

2) copy installerV6.7.zip and rootfs-ubuntu-12.10-0.8.0.tar.lzma (12.10) or rootfs-lubuntutf700t-8-22-2013.tar.lzma (13.04)

to Dock SDcard (/Removable/SD), MicroSD (/Removable/MicroSD) or /data/media

3) Boot to recovery

4)

NANDROID BACKUP!!!

5) Install installerV6.zip

6)

READ

and follow the aroma installer instructions (it will stop at 90% for as long as an hour or more while it is decompressing the rootfs)

7) Enjoy dual-boot Linux Again...

Files:

rootfs-ubuntu-12.10-0.8.0.tar.lzma (687 Mb) MD5: 6dbf50fe8623ceef3e5771e01ba52938

NEW! - rootfs-lubuntu-tf700t-8-22-2013.tar.lzma (722 MB) MD5: 92399b0541235a53b94844bacb06d866

NEW! 10/2013 - installerV6.7.zip (13mb) MD5: f2961cd02c6770dea369c3728fa13201

conky-wallpaper2.tar (316k)

Dualboot Linux - rootfs only installers.

These NO NOT install the kernels needed for hybrid or kexec dualbooting. These are only for unpacking the rootfs files from above. They are custom Aroma based installers and allow your /home directories to be on mccblk0p8 if you choose.

These are Aroma based installed from recovery:

arch-rootfs-installer-v.1.zip

lubuntu-rootfs-installer-v.1.1.zip

ubuntu-rootfs-installer-v.1.1.zip