yashsingh1/xdaforums huggingface dataset:
[Asus Transformer TF700] cogano:
There is a problem of getting the recent linux distros to work due to incompatibility of X.org and nVidia binary blob for the Tegra graphics (search for X11 ABI version numbers).

Ubuntu 12.10 should be the last supported version. Ubuntu 12.04 has the advantage of getting 5 years LTS support by Canonical.

While Lubuntu is not officially supported as LTS as of 12.04, it shares many repositories with Ubuntu.

For some apps you can find backports (to get a newer version for older distro), nevertheless there are not many for ARM architecture. (E.g. I have not found recent GIMP.)

I do not believe nVidia will provide us with an update for the old Tegra, so once LTS is over, we will have to stick with an unsupported distro.
[Asus Transformer TF700] gardiol:
This This is why I went with gentoo. .. a bit more a pain to setup but it's not going to get unsupported soon!
[Asus Transformer TF700] cogano:
If I understand correctly, you keep the older X.org and the rest is up to date.

I can see a similar situation e.g. with X2Go remote desktop, which utilises the Xfree server originally used by NX by NoMachine (with a bunch of patches), and there are more and more troubles for some apps to work with the very old X.

However, I believe that you will certainly be able to keep your gentoo longer up-to-date than we could ever hope with Lubuntu.

BTW, have you by chance documented how you got a working setup in gentoo? (Just simple steps, build/USE flags, and links to other how-tos would be fine. I am Arch user these days, nevertheless I used Gentoo for quite some time about seven years ago.)

Did you cross-compile on a faster machine or used some binary pre-built image? I would also be afraid of a quick wear-out of the internal MMC or sdcard.
[Asus Transformer TF700] jja2000:
I remember Rabits having a 13.04 rootfs, but there's no download link, any way to make it more recent and actually make it work properly? :D

Besides, I'd like to have Ubuntu 12.04 instead of Lubuntu 12.04 because of the general usability for me. I'm not that good with the terminal and I don't really like the nakedness of Lubuntu.
[Asus Transformer TF700] gardiol:
I built everything on my tf700t.... i am using a fast 32gb microSD which really makes a great difference. I have written (it's not complete as of yet, slowly building on it) a wiki page here https://wiki.gentoo.org/wiki/Asus_Transformer_Infinity_%28TF700T%29/Install please feel free to chip in!

A modify i need to do is to add info on setting up at least 4gb of SWAP space or libreoffice will not compile!

Yes you need a lot of time, yes you NEED a fast microSD (it's touchy but i got a great Sansung 32GB very very fast)... and some tweaking is also mandatory, and as of today i still dont have opengl going properly... but on the other hand, i have the latest gimp, firefox, libreoffice and basically whatever you want. I just masked X.org > 1.13 and it's good!

... and it's really a disk hog compared to ubuntu (due to the need of keeping a lot of stuff for compilation around), so my LXDE installazion (pretty full of stuff, including an all Qt5.4.1 setup, wireshark, libreoffice, gimp, firefox, nmap, tuxkart and more) it's about 13gb.

Happy to help anybody wh want to try.
[Asus Transformer TF700] gardiol:
I downloaded the that11 sources and trying to play a bit and get a better kernel specifically for Linux, will post back if i get something working. For example i want to get rid of the constant flow of useless output in the dmesg... and maybe enable some more modules.
[Asus Transformer TF700] jcfunk:
Linux For Tegra R16

OVERVIEW

NVIDIA is pleased to announce Linux for Tegra release 16.5 is now available. NVIDIA Tegra Linux Driver Package supports development for the following platforms:

NVIDIA® Tegra® 3 series T30 (Cardhu developer tablet)

NVIDIA® Tegra® 2 series T20 (Ventana developer tablet)

Supported Features

Kernel version 3.1.10

Media APIs:

OpenGL ES 2.0

OpenGL ES 1.1

OpenGL ES path extensions

EGL 1.4 with EGLImage

X Resize, Rotate and Reflect Extension (RandR) 1.3

X11 ABI 5, 6, 7, 8, 10, 11, 12, 13, and 14

For the original R16 list of supported features, see NVIDIA Tegra Linux Driver R16 Release Software Feature List included in the Documentation tar file.
[Asus Transformer TF700] gardiol:
Am i mistaken or it's old?

It seems to be the exact version i used for my Gentoo months ago?
[Asus Transformer TF700] jcfunk:
Here is drivers extracted for tar file tegra3_drivers.zip
[Asus Transformer TF700] cogano:
That's the old one. We need ABI 15 since Ubuntu 13.10, AFAIK.
[Asus Transformer TF700] jcfunk:
Has anyone tried the newer tegra on linux?

Here's driver_4.zip which comes with rootfs ubuntu 13.04

and driver_k1.zip
[Asus Transformer TF700] gardiol:
At a quick glance they seem exactly the ones provided with the latest tegra drivers.. nothing different.

And the k1 is not for tegra3/cardhu.
[Asus Transformer TF700] jcfunk:
I was thinking, how nvidia likes to make there new graphics drivers, support older graphics card, or at less they used too. Been a long time since I messed with desktops.

I can't put together a rootfs, or be able to test right now.
[Asus Transformer TF700] cogano:
It looks like nvidia will support only the new Tegras, it boosts sales...

The customer does not have many choices today, so we cannot really "vote with our money", not even considering that linux market is small anyway.
[Asus Transformer TF700] gardiol:
Cogano is right.

I will definitely stay away from anything NVIDIA... but also seems Asus was the only one making tablets with real hardware keyboards. Anyway, there is an open source project called OpenTegra which aims at developing a basic Xorg driver which support tegra hardware. Unfortunately it requires a kernel much newer than the obsolete 3.1.10 provided by Asus.

The problem here is that Asus does not provide kernel patches but an already patched kernel... which make it almost impossible to port the it to a newer one. If we could make a newer kernel work on the tf700t we could try the open source driver...

The only idea I have is to try to "reverse patch" the asus provided sources with a regular kernel and try to extract a patch which then needs to be adapted and applied to a newer kernel. Consider that 70% of all the hardware of the tablet drivers are not in the unpatched kernel... it's a massive work.

If anybody has other suggestions or idea on how to try the opentegra driver....
[Asus Transformer TF700] jcfunk:
Yes, been trying to do this with other devices, much easier with 3.4 kernel. But I'll give it a go.
[Asus Transformer TF700] gardiol:
Ok, i have uploaded the complete kernel patch between the that11 source three and the vanilla linux kernel 3.1.10...

here is the archive (one diff file for the entire tree):

single diff

here is the archive (one diff file for each file in the tree):

multi diff

It's something like 2416 pathced files....

toorrow or next week i might have some time to analyze that...

The goal would be to merge it in a kernel newer than 3.8....
[Asus Transformer TF700] jcfunk:
I was thinking, asus kernel diff of nvidia kernel. Or asus to asop, to avoid Android patches.
[Asus Transformer TF700] _that:
I made a similar patch a long time ago:

vanilla-3.1.10-to-asus-10.4.4.25.patch:

2249 files changed, 887802 insertions(+), 59859 deletions(-)

Since Asus didn't use the vanilla kernel, this 30 MB patch is quite irrelevant. I guess Asus started from NVidia's kernel tree: http://nv-tegra.nvidia.com/gitweb/?p=linux-2.6.git;a=summary and branched from some revision in the android-tegra-nv-3.1 branch. Then I guess they merged some other vendor patches, like the Broadcom and Invensense drivers, added their own stuff and hacks, and cherry-picked fixes from various sources.

This reduces the diff quite a bit:

1361 files changed, 440614 insertions(+), 92855 deletions(-)

The numbers were still too discouraging for me to continue - I don't have that much time. For anyone who wants to do it, also read http://xdaforums.com/showthread.php?t=2469033 for an alternative approach.
[Asus Transformer TF700] gardiol:
Well, the Asus kernel do have all the android patches in it...

Probably the NVIDIA kernel does not, but in this case you will lack all the patches needed for most of the rest of the tablet hardware (including keyboard, microsd device...)...

Asus to NVIDIA kerel will probably give us the Asus specific stuff... but e sure it's the same kernel release!

---------- Post added at 01:33 PM ---------- Previous post was at 12:51 PM ----------

Hi _taht! Thenks for chipping in.

Your comments make totally sense and are a bit discouraging. Thanks for the link! I will try to contact him and check is there is any news or if he can point me to some actual resources to start from. Anyway, i guess if we eant to keep the TF700T alive and maybe also be useful for OTHER devices (as in method and approach) it would be very interesting to manage to create a real kernel patch which would apply to a neer/better kernel.

Dropping some useless Android stuff would be nice, as well as gaining support for ZRAM and the OpenTegra driver as well! Also, it might be the correct way to get suspend working on the device which would be an awesome bonus.

There is incentive on this path i gues.s... wherether there is time as of now, i don't know... but at least some experiments...
[Asus Transformer TF700] gardiol:
It seems i cannot make audio work on my Gentoo rootfs...

Who fixed the ubuntu/lubuntu image for the tf700t?

How did you made audio work?
[Asus Transformer TF700] jcfunk:
Here is Kexecboot binary with support for f2fs. Doesn't have [MENTION=1626944]cogano[/MENTION] patches, couldn't find them. All thanks to [MENTION=3971563]workdowg[/MENTION] for sending me info on how to get this to work.

EDIT: found his git, will patch, recompile and post. Both Patch and Binary

View attachment kexecboot.zip

View attachment kexecboot-v2.zip

View attachment 0001-F2FS-kexecboot.patch
[Asus Transformer TF700] workdowg:
When it is finalized and tested I'll put it up in the OP and move it into the script. Just post here as "Final". ;)

I also haven't forgotten about updating for Zombi-pop, I just need to figure out which kernel blob goes with which install. It is a little harder for me because I don't have the tablet anymore to install/test on...
[Asus Transformer TF700] cogano:
I looked at the old data and found some patches the extra menu item for rebooting to recovery - it is attached. (I do not know whether these were incorporated by workdowg or upstream and neither tested if these apply cleanly to the current upstream.)

P.S. Thanks for keeping some progress alive. I am in a often-repeatedly-postponed process of compiling gentoo in qemu arm emulation on my PC. (Slow as hell, but easier to deal with than occupying my physical TF700 or than learning cross-compilation.)
[Asus Transformer TF700] workdowg:
Update to v2.6.7

OP updated

v2.6.7 - 04/29/15

-- Removed old kernels

-- Updated for Zombi-pop Beta 6
[Asus Transformer TF700] gardiol:
If there is demand, I could reduce / compress / upload my gentoo root.... but at the moment it's quite huge...
[Asus Transformer TF700] workdowg:
Here is a sample how I compress the roots. It is slow, but makes it very small. Modify to suit your needs.

https://www.dropbox.com/s/q5gyyo0kpfd3spz/img-or-rootfs-to-lzma.txt?dl=0

From my VS985 - Jasmine 7.0
[Asus Transformer TF700] fedee13:
Hi! The link it's not working :( Could you provide a new one? Or which image should I download? Thank you very much for your work! :)

Or is it the same as this one?
[Asus Transformer TF700] workdowg:
Link works now. I usually double check for errors... ?

From my Nexus 9
[Asus Transformer TF700] fedee13:
Now it's working! :) That was fast haha Could you tell me what's the difference between yours and [MENTION=4343012]elpax[/MENTION]?
[Asus Transformer TF700] workdowg:
No idea really. It came up after I sold my tablet. I can test it as a rootfs in Linux Deploy on my Nexus and see how it looks...

From my VS985 - Jasmine 7.0
[Asus Transformer TF700] fedee13:
I don't want to cause you any trouble man, I'll wait for elpax answer if he's around. Thanks! :)
[Asus Transformer TF700] jcfunk:
Can someone put my kexecboot-v2 binary into initrd.img of the kexec.blob. I'm having issues, making a boot.img, then making a blob. Seams like mkboot, which I'm using not is decompressing the initrd
[Asus Transformer TF700] fedee13:
Guys, I need your help please. I'm new at this and I don't know what's wrong. I can't connect to my WiFi and from what I see WLAN it's not enable. Am I right? How can I fix this? I have a TF300t running lubuntu 12.04 LTS from the OP. Thanks! :)
[Asus Transformer TF700] jcfunk:
Check to see if you have correct modules for kernel and there in correct location.
[Asus Transformer TF700] fedee13:
I'm sorry, how or where can I check that? (In Android I have WiFi but in Lubuntu don't)
[Asus Transformer TF700] hanswurschtus:
Hi,

is the f2fs supporting kexecboot binary already included in the new version (2.6.7)?

hans
[Asus Transformer TF700] steffenbakke:
Maybe something like this:

http://www.cyberciti.biz/faq/howto-display-list-of-modules-or-device-drivers-in-the-linux-kernel/
[Asus Transformer TF700] workdowg:
Not yet. I didn't get any confirmation it was working. Like I said before, I have to count on you guys to test as I don't have the tablet anymore....
[Asus Transformer TF700] jcfunk:
I can't build the blob, my computer decided it need a bath. My kid spilled water all over it.
[Asus Transformer TF700] fedee13:
It came up empty....:confused: I'll attach a screenshot The command I used was

less /proc/modules

EDIT (sorry for the bad pic, when I tried to take a screenshot within the system the display went grey and I couldn't do nothing more...):
[Asus Transformer TF700] workdowg:
I'll try setting up a build environment again tomorrow or Saturday. I haven't had much luck in the past. I'm using Arch and I need to find the right tutorial to get everything I need...

From my Nexus 9
[Asus Transformer TF700] cogano:
Hi,

the updated kexec-host blob is here:

http://ge.tt/1vqhB9G2/v/0?c

README is included, last changes are:

=== Changelog 2015-05-10

* updated init scripts (/lib/multi/...) by JTR

* new kexecboot V2 patched and compiled by jcfunk @ xda (preliminary support for F2FS)

* kernel that11-cogano1

EDIT 2015-05-12 17:58

I tested just briefly and while the kernel can mount F2FS, kexecboot silently fails on trying to start kernel image + initrd from F2FS. It still boots from the ext4 partition. kexecboot can mount & kexec into /boot/zImage of the F2FS partition. Good work!

Once the kexecboot works, also the initrd of lubuntu 12-04 will have to be udpated to be able to mount the rootfs on F2FS. I will try to look at it. I'll look into the initrd of lubuntu 12-04 now.
[Asus Transformer TF700] jcfunk:
I was wondering did you update kernel in kexec.blob to support f2fs also? I didn't think about it till I read your post.
[Asus Transformer TF700] cogano:
Yes, I did. You can test by Exiting Kexecboot (System menu) and choosing [1] Shell in the old textual GUI of the fallback script.

$ cat /proc/filesystems

Mounting works too.

I looked earlier at kexecboot code, but the complexity of FS identification put me back where I belong: I cannot code, just add a hack or two somewhere :(

Anyway, I will try harder again and see if I can debug it.

EDIT: kexecboot can mount the F2FS just fine. The mistake was mine - I had some mess on the dir structure on F2FS partition.
[Asus Transformer TF700] jcfunk:
[emoji3] Glad to hear, Just a file structure mistake. It happens. Going to test kexec now. Since the blob I made wouldn't even boot.
[Asus Transformer TF700] cogano:
Booting Linux from F2FS on micro SD

It seems that I have succeeded booting Lubuntu from the microSDHC card on F2FS. I have not tested with ext4, but I assume it should work as it has done so until now (unless I screwed something).

The kexec-host (kexecboot) blob is here http://ge.tt/2OMjgFG2/v/0?c

The Linux kernel that11-cogano1 is here http://ge.tt/2OMjgFG2/v/3?c

The Linux initrd.img is here http://ge.tt/2OMjgFG2/v/2?c

The former one (blob) is to be written to /dev/mmcblk0p4 (includes jcfunk's patched kexecboot for F2FS identification and some other changes of the init scripts)

The latter two (zImage and initrd.img) must be copied to /boot directory of your Linux rootfs.

Details re. installation and major changes are in the README files.

Feel free to test and give feedback.

EDIT: some extra info re. the linked kexecboot blob - it has two new options in the textual interface after you exit Kexecboot (System menu / Exit):

edit boot.cfg (thanks to nano editor added to initrd), and

fsck of the rootfs.img files (added by JTR half year ago or so) and mmcblk0p8, only extfs is supported though.

EDIT2: the kernel _that11 does not support some of the new features of F2FS - see https://www.kernel.org/doc/Documentation/filesystems/f2fs.txt and compare with the shorter list of mount options of that file in _that11 source code https://github.com/that1/android_kernel_asus_tf700t/releases/tag/release-that11

That is, if you plan to extract rootfs to your sdcard with F2FS on a computer with a recent kernel, you may need to re-mount the sdcard to avoid the new features (check the output of the "mount" command for your sdcard). E.g.:

$ sudo mount -o remount,noinline_data /dev/sdg1

removes the support for "inline_data".

The mount options available for _that11 kernel are:
[Asus Transformer TF700] workdowg:
^ I can inject the Linux kernel and initrd.img into the rootfs' I have in the OP. I'll put the kexec blob in my scripts. I might write a script to put the Linux stuff in an already installed image. It will only require mounting the image and copying the files... I am going,to hold off until a couple people give the new files a thumbs up. ;)
[Asus Transformer TF700] cogano:
Lubuntu vs Crombi-kk: boot time

Hi,

slightly off-topic: is it an expected behaviour that it takes about 30 seconds to boot Lubuntu 12.04 (from a fast microSDHC; but the rootfs.img on /media/linux is just a tad slowlier) and about 3.5 minutes (!) to boot Crombi-kk?

P.S. Measured from Asus logo after kexecboot shuts down the tablet. I tried to search xda for the issue, but no explanation found yet.
[Asus Transformer TF700] gardiol:
I flashed the blob and copied the kernel... it works great! good job!
[Asus Transformer TF700] jcfunk:
May try to fstrim the data partition, for me seems to help a little. But for me android always seems slow.

fstrim -v /data
[Asus Transformer TF700] cogano:
The kernel binary is quite sensitive on compiler-toolchain. I use arm-none-eabi-gcc47-linaro, which works.

Apart from that, I tried arm-none-eabi-gcc4{8,9}-linaro and uclibc-0.9.33.2 -- TF700 ended up in a boot-loop (no kernel messages were displayed at all).

According to FAQ on Linaro website, it may be due to bugs in older kernel code, which exhibit with newer compilers. The proposed solution is to back-port patches from newer kernel to the older one.

Certainly not a solution for me ;)
[Asus Transformer TF700] jcfunk:
Wasn't changing kernel, just edited initrd.img by adding kexecboot. Don't think my blob tools is working from my chroot of linux on my phone.
[Asus Transformer TF700] gardiol:
I have published my Gentoo root-fs for you to try.

You can find the links at the beginning of the Wiki here:

https://wiki.gentoo.org/wiki/Asus_Transformer_Infinity_(TF700T)/Install

i am uploading it right now, so it will take some time before it's ready.

You MUST read the README.txt (link on the same page) because it contains a few infos and the passwords for root and the user.

Any feedback, please, i am eager to hear from some other fellow gentoo-ist!
[Asus Transformer TF700] cogano:
Thanks, but it will take some time - I am travelling now and also have busy weekends ;)
[Asus Transformer TF700] jja2000:
Hi

When I use the Aroma installer to install (l)ubuntu it just installs properly, but when I tried to log in it just "crashes" (Screen goes black) and returns to the log in screen.

Bug? Something I am supposed to do?
[Asus Transformer TF700] gardiol:
Hi!

anybody willing to run some benchmarking on it's TF700T with linux? It feels very slow and i would like to understand if it's my Gentoo installation or it's just the way it is?

I am running x11perf and i got a ****ton of output... anybody has an idea for some benchmarking?
[Asus Transformer TF700] CyberTailor:
I found touchscreen actions support for Linux with TouchEgg.

This utilite supports tap, drag, pinch, rotate, tap & hold, double tap etc.

Demonstration:

[YOUTUBE]1Ek4QaFQ1qo[/YOUTUBE]
[Asus Transformer TF700] :
Hi everyone !

I'm going to install lubuntu 12.10 (lubuntu-tf700t-05182014-that10-kexec.tar.lzma, I downloaded it ^^).

I looked the page 135-136 and i found that we can install lubuntu even if the file system is F2FS.

So I downloaded files ( kexec-host-2015-05-12.zip ---- kexec-linux-initrd-2015-05-12.zip --- kexec-linux-that11-cogano1.zip) and TF700t-AKBI-2.6.6.zip (i am on Crombi-KK)

Now i have these files but i don't now how to install because i don't know how to "flash" the files found on page 136.

I read the "README" files who weres into cogano's files but i don't know what flash or install first.

I would like to install lubuntu in the internal memory (not into a microSD card)

I'm a little bit lost ^^

Can you help me please ? Thank you ^^

(I don't know if my English is bad, if it is, i'm sorry ^^)
[Asus Transformer TF700] gardiol:
try to follow the steps on the gentoo wiki guide for the tf700t, they might help you...

https://wiki.gentoo.org/wiki/Asus_Transformer_Infinity_(TF700T)/Install
[Asus Transformer TF700] :
Thank you ^^

i'll try this evening (i need to charge the tf700...) and I tell you if it works
[Asus Transformer TF700] gardiol:
Just to let you know i have updated some instructions and also uploaded an ungraded ROOT FS for Gentoo here:

https://wiki.gentoo.org/wiki/Asus_Transformer_Infinity_(TF700T)/Install

Feel free to download and try.

News: audio works perfectly now, bluetooth works, removed Firefox due to unusability and added Chromium
[Asus Transformer TF700] Zelgrind:
Disconnected from Plymouth

So, I encountered an issue. I installed this version because it's better supported even if the 12.10 release worked well. After the installation I'm stuck on a blank screen, called "Ubuntu 12.04 LTS tf700 tty", with "tf700 login:" below. I can't do anything in this point, and the Tablet often restarts. Before this screen there are some errors on bootstrap, like "Mountall, disconnected from Plymouth". Any ideas on how to fix it?

Thank you very much forma the great job!
[Asus Transformer TF700] hanswurschtus:
Hi workdowg,

could you update your scripts and add F2FS support. Tryed it last night, but it didn't work. I had to reinstall everything.

And ist it possible, that you add support for the KitKass ROM. That would be great.

Thx Hans
[Asus Transformer TF700] workdowg:
I'll look into it. Adding the Rom is easy. The f2fs might be a little tricky. Please remember I don't have this tablet anymore so testing is on you. ;)

From my LG-G4, Rooted running Stock 5.1
[Asus Transformer TF700] hanswurschtus:
thx workdowg
[Asus Transformer TF700] workdowg:
Update to v2.6.8

OP updated to v2.6.8

v2.6.8 - 09/05/15

-- Added KatKiss ROM support

[MENTION=2417340]hanswurschtus[/MENTION] - Still trying to figure out what to do about f2fs support???
[Asus Transformer TF700] hanswurschtus:
thx [MENTION=3971563]workdowg[/MENTION],

on page 136 are the files to be included in your script (by [MENTION=1626944]cogano[/MENTION]). maybe he can help.

ragards - hans
[Asus Transformer TF700] workdowg:
I'll look at it tonight...

From my LG-G4, Rooted running Stock 5.1
[Asus Transformer TF700] DertayRoccstar:
So I did something really dumb because Ubuntu was acting like Windows.... I factory wiped everything.... Now Im trying to run installer 5.1 to reflash everything since I have no OS on my tablet and it fails when I go to run the installer... am I missing something.. .Im using TWRP when I slide to install it fails.