yashsingh1/xdaforums huggingface dataset:
[Asus Transformer TF700] JoinTheRealms:
Hmm is there anyway to use an internal partition, it would be awesome to be able to split /data (mmcblk0p7?) in half and have half for linux and half for android but im guessing that requires nvflash.

And what about reversing everything (my noobness might be showing) but it might be good to have ubuntu installed directly on internal and mount loop an android rootfs(dont even know if thats a thing...) or have android on an sdcard lol. It would be good, because io speed doesn't really matter all that much in android, but its defiantly noticeable in ubuntu.

Also dont know if your saw my link to this http://xdaforums.com/showthread.php?t=2347581 but it increases io write speed by alot on the tf101

Edit: And with your latest kexec kernel config, did you compile with CONFIG_SYSIPC=y ? i check your last kernel config and you had this enabled, but after checking /va/log/Xorg.0.log it says

(EE) TEGRA(0): failed to initialize shared memory

(EE) TEGRA(0): This may happen if you have CONFIG_SYSIPC disbaled in your kernel

fatel server error:

AddScreen/ScreenInit failed for driver 0

(this happened on a fresh ubuntu rootfs)
[Asus Transformer TF700] moreD_cn:
Did you mean CONFIG_SYSVIPC? It's set to y already.. okay I'll install a fresh ubuntu and see what happen

I did not know the rootbind method before, but it's interesting and...easy to have a try. Booting android in a loop mount is possible, theoratically. I don't know if it works but it's worth a try.

repartitioning the internal seems too dangerous for me :( can brick my tab as I have no nvflash backup..
[Asus Transformer TF700] workdowg:
Dualboot Linux - rootfs only installers.

These NO NOT install the kernels needed for hybrid or kexec dualbooting. These are for unpacking the rootfs files from the OP. See the OP to download....

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
[Asus Transformer TF700] Dooler:
rootfs update

small update:

i have build a minimal rootfs-builder without device specific support (boots fine single user mode)

i'm too busy atm to make serious progress (kids, learning python, ruby and puppet) but one day we'll get there!

The rough idea is to make a set of scripts which can be used to create a minimalistic rootfs based on any debian (deriviate) and a plugin to add some device specific things (drivers, config)
[Asus Transformer TF700] workdowg:
I've been playing with Linux Deploy. It is a chroot app for Android that builds minimal rootfs. Problem is it includes some files that need to be edited for native booting. When I get the time I'm going to go through his scripts and glean what I can... The reason to compress to lzma is to get the smallest file possible to share. If you want to share your ideas we can collaberate on rootfs building... I also have kids (from 2 to 32years) and my time gets precious too. We may want to share on Drive so we can collaberate at will... BTW.... this is open to anyone that would like to help also. I'm not against ubuntu or debian, I just don't have the time to learn everything to get all this working right.
[Asus Transformer TF700] JoinTheRealms:
This should work without too much modification http://xdaforums.com/showthread.php?t=1852702 i think its nearly exactly what you want.

im in the middle of wiping my tablet so cant test yet but this should work for us for bluetooth http://xdaforums.com/showpost.php?p=47649660&postcount=265
[Asus Transformer TF700] workdowg:
I'll look at the script install. I got a saucy xubuntu img booting now. I took my LD version and copied the core rootfs over it. It bothers me that the dock touchpad works out of the box... I'm using xfce4 for the moment just for change... I have yet to install the tegra3 drivers (they are in the repo) and have yet to try wifi. I'm backing it up at each step now, so it seems to take forever. It will be around a 300mb download when I compress it. It will include the _that5-linux kernel.

I should be able to tweak the installer to flash the kexecboot blob(as an option) and run your boot.cfg script when that is ready... Good things all around!

I'll also check out the bluetooth link...

From my LG-G2.
[Asus Transformer TF700] Dooler:
Oh, and to add one ... working with RHEL for a living so i'm not always into extending work hours to evenings :)

Anyway, maybe i should open a git thing (yeah, another thing i should get into ...) for scripting stuff.

basic idea:

a rootfs is very much the same for any device and any use (booting or chrooting) so we need a bunch of scripts to get that rootfs working.

Maybe Linux Deploy is a good start, havent checked it (and figuring the things out yourself is just too much fun not to do).

The best way to build a debian-based rootfs is debootstrap and apt-get (either in a chroot or with -o RootDir=<rootdir>) to install packages. This is fairly trivial.

The biggest challenges are to make sure that no daemons are started and to get a minimalistic (to reduce download size) set of packages while still useful.

Bonus challenge: make it work without a debian-based system - have to satisfy (silent) dependencies of debootstrap

Once this is in place:

- user config

- device-specific tweaks (dpi, drivers, younameit)

Not necessary but probably very useful to have is a way to install and create a kernel initrd
[Asus Transformer TF700] JoinTheRealms:
Good to have you onboard :) As above, its basically a a minimal ubuntu rootfs with wpa_supplicant pre-installed and scripts to set up networking and installing a full system with the tegra drivers etc, it worked fine on my tf101 back in the day.

By the way the bluetooth script above thanks to the guys on the tf300t does work, but i haven't been able to transfer anything using it. Most likely just a permissions issue somewhere, but the main thing is it pairs fine with devices.
[Asus Transformer TF700] Graiden05:
Actually file transfer is only things I tested. After pairing tablet with my android phone transfer works to both sides. Here is options enabled in my config (may be too much but who cares ;) )

CONFIG_BT=y

CONFIG_BT_L2CAP=y

CONFIG_BT_SCO=y

CONFIG_BT_RFCOMM=y

CONFIG_BT_RFCOMM_TTY=y

CONFIG_BT_BNEP=y

CONFIG_BT_HIDP=y

CONFIG_BT_HCIBTSDIO=y

CONFIG_BT_HCIUART=y

CONFIG_BT_HCIUART_H4=y

With 1002, 3001 and 3002 GID's it works for Me.
[Asus Transformer TF700] M47Z:
So, if I got it right, it's possible to dual boot with 4.3? I'm on a fresh installation of cmb, could someone give me a hint on how to set up lubuntu? If no one tried it out yet, I'm ready to try out things, as long as I don't brick my precious tf700 :)
[Asus Transformer TF700] JoinTheRealms:
You can, in fact im dual-booting android 4.4 at the moment :) The traditional method in the op wont work, you need to use kexecboot, You can find all the information you need in the last few pages of this and the dev forum, as you'll see it will require setting up a boot.cfg in mmcblk0p5 but this explained in those prior posts.

Im working on making it easier at the moment
[Asus Transformer TF700] JoinTheRealms:
[MENTION=3971563]workdowg[/MENTION] Have you managed to change the dpi in ubuntu/ lubuntu ? i have it set it to 240 in the xorg as per your instructions in the arch thread but something seems to be overwriting it? This is a fresh debootstrap but the samething with rabits ubuntu and your lubuntu
[Asus Transformer TF700] workdowg:
I had the same thing happen in my Arch install after upgrading to xorg 1.14... I think it needs to be in a config file in /etc/X11/xorg.d/ now. Or it could be some default in /usr/share/X11/xorg.d/ directory. I haven't played much since loosing the fonts in terminal and some menus... grrr. I still have a good Arch with 1.13 I need to copy back to the tablet.
[Asus Transformer TF700] wdunmars:
Novice need HELP!

I neglected to perform the first step of installation:

# su

# mkdir /data/media/linux​

During the process of installing the installerV6.7.zip, I accepted the default(i think it said something like "/dev/mmcblk").

Any other installer.zips fail to install. How can I remove this install and start over?

Please explain for "Linux dummies".

Thanks, I appreciate any help you can offer.

----------------------------------------------------------------------------------------------------------------------------------------------------------

ASUS Pad Transformer TF700T; 64MB

JB 4.2.1 - 10.6.1.14.10

TWRP 2.6.3.1

[ROM] CleanROM Inheritance - Xenogenesis 5.2 TF700 Infinity
[Asus Transformer TF700] JoinTheRealms:
I believe the installer should make that dir anyway?

The only files created by the installer are /data/media/linux/rootfs and /data/ubuntu. Make sure your .lzma rootfs is located at /data/media (post the output of "ls /data/media")

The install process (while it extracts the .lzma) will take around 30-40 minutes (and note it will appear to be stuck at 90% this is normal just let it run) If i takes less that 10 minutes something isn't right.
[Asus Transformer TF700] JoinTheRealms:
[MENTION=3971563]workdowg[/MENTION] have you came across plasma active? Its seems to be a distro aimed at emmbedded devices, with on tegra 3 support. It runs the MIR display sever. The nexus 7 is a officially supported device so it should run on ours without much issue.

For the first time ive setup a rootfs on a class 10 external sdcard, and its waay faster than internal emmc. If anyone has a class 10 sdcard i suggest installing to it rather than internal.
[Asus Transformer TF700] wdunmars:
Thanks, I was able to locate /data/media/linux and remove rootfs.img file, also removed the .lmza file from /data/media.

I would like to install Ubuntu 13.04 and then Wine. Which Installer.zip and .lmza file should I use.
[Asus Transformer TF700] JoinTheRealms:
Id recommend the Lubuntu .lzma and use the latest installer from the DEV thread, post #3.

Keep in mind, WINE on arm is basically useless as it cant run x86 code, as _that explained there have been experiments with WINE and qemu to emulated x86 code (qemu) and convert DX calls into GL calls (WINE) but expect 1970's performance :)
[Asus Transformer TF700] workdowg:
I got it to boot, but just restarts as the gui is loading (the gui does start with nice grey desktop and a spiralling cursor in the center :) )... I'll have to find out if there is a way to stop the gui from loading automatically so I can get some error reports... Thanks, now I'll be playing with this until I figure it out.
[Asus Transformer TF700] Diamond5170:
I try it, but:

mount -t vfat -o loop /dev/block/mmcblk0p5 /data/media/mount/

Not working from android, "device is busy".

mount -t vfat -o loop /dev/mmcblk0p5 mount/

Not working from linux:

mount: wrong fs type, bad option, bad superblock on /dev/loop1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

dmesg:

[ 3476.554751] FAT-fs (loop1): invalid media value (0x00)
[ 3476.554881] FAT-fs (loop1): Can't find a valid FAT filesystem

this works:

root@tf700:/mnt/android/data/media# mount -t devpts -o loop /dev/mmcblk0p5 mount/
root@tf700:/mnt/android/data/media# ls mount
0 1 2 3 4 5 ptmx

But where i can find boot.cfg?

I have CROMi and lubuntu.
[Asus Transformer TF700] _that:
/dev/[block/]mmcblk0p5 is a partition, not a file - remove "-o loop".
[Asus Transformer TF700] Diamond5170:
mount -t vfat /dev/block/mmcblk0p5 mount/

Not working too.

In "Disks" i can see: "Partition type Unknown".
[Asus Transformer TF700] _that:
"Disks"?

Try busybox mount instead.
[Asus Transformer TF700] Diamond5170:
From android terminal as i say, not working too:

mount -t vfat /dev/block/mmcblk0p5 /data/media/mount/
mount: Invalid argument
mount -t vfat -o loop /dev/block/mmcblk0p5 /data/media/mount/
ioctl LOOP_SET_FD failed: Device or resource busy
[Asus Transformer TF700] JoinTheRealms:
Hmm its a weird issue you have, I wonder if a mistaken dd flash to mmcblk0p5 could do this? My suggestion would be to attempt to mount mmcblk0p5 from the initrd shell, if you get it to mount make a tar archive of it asap. Im hesitant to suggest repair options until dr _that has given his diagnoses :)
[Asus Transformer TF700] Diamond5170:
I don't do any dd or other things to mmcblk0p5 partition. But dualboot working fine. (CROMi-X DEODEX 5.1.1_Signed.zip and lubuntu).

Can i format mmcblk0p5 partition? Or it brick my device?
[Asus Transformer TF700] JoinTheRealms:
afaik you

could

and it shouldn't brick your device, but id highly recommend that you didn't as theres some stuff in there that's unique to your device.
[Asus Transformer TF700] wdunmars:
Multi-boot menu doesn't display

I ran 'lubuntu-rootfs-installer-v.1.1.zip with rootfs-lubuntu-tf700t-8-22-2013.tar.lzma in /data/media. Install seems to have run without error. Upon reboot, the multi-boot menu doesn't display. It goes straight into android.
[Asus Transformer TF700] workdowg:
The rootfs installers are just for that... installing just rootfs images after you have used the regular hybrid kernel installer. The current lubuntu, ubuntu and Arch rootfs do not have the Linux kexecboot files in them. You have to look in the dualboot dev thread for the kexecboot instructions. JoinTheRealms is working on some scripts to make that easier and I wiil put it into a new installer with both hybrid and kexec install options....
[Asus Transformer TF700] Diamond5170:
What kind of stuff?
[Asus Transformer TF700] _that:
Serial number, MAC address, sensor calibration data.
[Asus Transformer TF700] workdowg:
http://xdaforums.com/showpost.php?p=47137891&postcount=75
[Asus Transformer TF700] workdowg:
Oops... _that was quicker....
[Asus Transformer TF700] joechorn:
This is really running great, but I thought to have read about it also being possible to "install" linux directly into memory, without needing the rootfs? Is that right, or did I get something wrong?

Could you also have a third partition on a Micro SD card with Linux on it, paralell to Data/Rom2SD?
[Asus Transformer TF700] JoinTheRealms:
You can run Linux on internal emmc (without a image file) with kexeboot. Im going to make a thread for it, I just need to get exams out of the way first. But all the information you need is in the previous pages of this thread and the [DEV] thread.

I have no doubt Rom2Sd will work with it also, but ive never tried it.
[Asus Transformer TF700] joechorn:
Ok, thanks very much, and good luck with the exams!

I'll look through the previous pages again and try it!
[Asus Transformer TF700] ryanbadowski:
How to Backup?

Can I backup my personalized Lubuntu installation if I copy the rootfs.img file from the

/data/media/linux

folder to my external SD card (or other storage device)?

Are there additional files I need to copy?

Or won't this method work for backing up?
[Asus Transformer TF700] workdowg:
The .IMG file is all you need.
[Asus Transformer TF700] Insane PPC:
anyway to bring the love of this to tf300t? i know its a different beast...

also best of luck on exams, i'm getting ready to start back into school after 10 year break, and i'm not looking forward to the exam process, so mad props to you
[Asus Transformer TF700] JoinTheRealms:
Cheers mate:), it should work, the only thing that will be an issue would be is the interface, im not sure if it will scale to 1280x800 but id assume it would.

You can test it out, you need to clone(or download) this https://github.com/moreD/kexecboot. compile it, switch to vt2 etc and run it, if it works and the interface shows correctly you can replace the modules with tf300t ones in my initrd an it will run at boot (you also need to setup a boot.cfg file as described in previous posts).
[Asus Transformer TF700] ryanbadowski:
Tegra Driver

Has anyone else noticed that the proprietary video driver in the Additional Drivers tab of the Software and Updates panel shows "Tegra 2" instead of "Tegra 3"?

Why is this so?

Incidentally, the Tegra 2 driver doesn't work if you try to select it.
[Asus Transformer TF700] aracy:
guys what should i do with this zImage file? it's enough to put in at /boot (on linux)?

ubuntu doesn't play 720p smoothly, any solution?

i use Hundsbuah's kernel

thanks
[Asus Transformer TF700] Kosai106:
Hey guys,

First of all, thank you for all your efforts! This is really great, and I got it up and working really fast. :) Ubuntu is a little slow at times, but I was expecting that, so it's fine.

I have a few questions though.

#1: I can connect to my wireless network fine, and I can download updates and all that from the Ubuntu Software Center, however I can't connect to any websites in the browser. Any ideas? I've been told it has to do with DNS, but I have no idea.

#2: Is it possible to lower the screen resolution? I'm thinking that might help it run a bit smoother, but again, I'm not sure.

#3: I saw a blog post online that says it's possible to install WINE on the TF700? I tried, but I could not get it to download WINE at all, which sucks. (Seeing as I would like to try and play Heroes of Might and Magic 3 + Diablo 2 on my tablet.)

Cheers! :)
[Asus Transformer TF700] JoinTheRealms:
First for the network issue, run "sudo gedit /etc/groups" and add:

inet:x:3003:ubuntu
netraw:x:3004:ubuntu

(replace "ubuntu" with a different username if you've made another account)

it should be possible to change the screen resolution using xrandr.

you can install wine on the tf700, but it doesn't mean you can run x86 applications though, possibly windows rt applications would work.
[Asus Transformer TF700] C288:
Other OS

Would it be possible to create a root-fs file for another, arm processor compatible Operating System, and then use the same aroma installer to install it.
[Asus Transformer TF700] workdowg:
Absolutely. I've created several... Debian, Arch, Fedora...

From my LG-G2 CleanROM 1.0
[Asus Transformer TF700] Kosai106:
That didn't seem to do anything. As a matter of fact, now when I try to boot the device, I get a black screen. I can't even access recovery. I'm going to let the tablet run out of power and then recharge it, in the hopes that it might work.
[Asus Transformer TF700] C288:
Instructions

Where can I find detailed instructions on how to make a root-fs.
[Asus Transformer TF700] workdowg:
There isn't really. If you look back a few pages, JoinTheRealms had some instructions for debootstrap ubuntu. Arch has a rootfs that can just be extracted....

From my LG-G2 CleanROM 1.0
[Asus Transformer TF700] meisjohn:
TWRP restarting on install

I tried to do an install a few times this afternoon and each time TWRP restarted while the install was in progress. It usually got to the 90% mark where the rootfs is supposed to be unpacking, but the TWRP logo just restarts. I'm using CROMI-X 5.x as my base install. I tried both the lubuntu and arch images and various image size selections. Booting into linux is failing, so I'm reasonably certain that the expansion of the rootfs doesn't complete. (I did one install without installing the rootfs to try just the kernel mods.)

I can try to provide logs or other details, but I'm not sure what to get or how to get it. I'd appreciate any assistance you can provide.

meisjohn.
[Asus Transformer TF700] _that:
1. Google for "twrp log"

2. Click first result: http://rootzwiki.com/topic/24120-how-to-get-a-log-from-twrp/3

3. ????

4. PROFIT!!!
[Asus Transformer TF700] meisjohn:
I've posted the log to pastebin. Its not clear to me what might have happened, but I'm hoping you all might have some insight.

http://pastebin.com/yARLbthx
[Asus Transformer TF700] _that:
There is no trace of installing anything in that log.
[Asus Transformer TF700] meisjohn:
better?

http://pastebin.com/dXJNuSR8
[Asus Transformer TF700] JoinTheRealms:
strange issue, i suggest upgrading twrp to the latest if you haven't already, try downloading the rootfs with another browser etc.
[Asus Transformer TF700] C288:
Root FS

How can I make a rootfs.tar.Izma file out of a linux distro's iso file. For example I want to create one for aLinux and/or Netrunner.
[Asus Transformer TF700] _that:
You need a distribution compiled for ARM CPUs. Code for Intel x86/x64 won't work on the TF700.
[Asus Transformer TF700] C288:
Well if I find a linux distro for arm how do I create the rootfs from the iso file.
[Asus Transformer TF700] _that:
Most ARM devices don't have a CD ROM drive - are there even any ARM distros out there that use ISO files? For example, Arch distributes the rootfs as a simple compressed tar file.
[Asus Transformer TF700] C288:
Android uses a ext partition. Correct?
[Asus Transformer TF700] lj50036:
Partition

Ext4 that is correct!!:D
[Asus Transformer TF700] C288:
Fedora

How can I install fedora with kde.
[Asus Transformer TF700] lj50036:
???

On your tablet?? :confused: Im not sure if this is the forum for that question....Maybe this is the better place to look http://fedoraproject.org/wiki/KDE...Thx as always lj
[Asus Transformer TF700] JoinTheRealms:
ARM distros are usually distributed in .img or tar packages, but however its packaged you can essentially move all files to a blank ext4 formatted virtual image and run it, at least the most popular arm distros can run on the tf700, be it their xserver xabi version is compatible with the nvidia linux for tegra drivers otherwise somewhat unusable.
[Asus Transformer TF700] C288:
Chrome OS

OK so I was looking at Chrome OS and then started to look at how I could put this on my computer. I found this link chromeos.hexxeh.net/. If you scroll down a bit there is instructions for Linux. Which is what we have on the tab already. So could that work on our tablets.
[Asus Transformer TF700] workdowg:
It is built for x86 based computers not arm...

From my LG-G2 DeBloated Stock 4.2.2
[Asus Transformer TF700] JoinTheRealms:
Some chromebooks have arm processors that run a modifed Linux kernel, it could be done i guess but the time spent would outweigh the benefit for me.
[Asus Transformer TF700] workdowg:
Early on I compiled it for my netbook. Hexxeh only compiled it for x86. Notice also he hasn't updated it since April 2013. The instructions for building it are at the chrome os website....

From my LG-G2 DeBloated Stock 4.2.2
[Asus Transformer TF700] superpacof:
I would also be interested in building a Fedora rootfs. I tried the LXDE image without success. I was able to boot the "base" image using kexec-boot and the kernel posted earlier in this thread. This however is only giving very limited functionnality (no X server, no wifi, etc).

I was just wondering which kernel I should be using, the one from the kexec boot posts, the one provided by Fedora or the one from Linux4Tegra. My guess would be that Fedora stock kernel would not be compatible with the Nvidia drivers (due to different versions) so that would be out the question but what about the others?

Also, what (if any) files should I copy from the Tegra4Linux files should I copy over my Fedora rootfs. I tried running the apply_binaries.sh script that came with the Nvidia files but it breaks things somehow. After running the script, my rootfs no longer boots.

I would appreciate any pointers anyone could provide.
[Asus Transformer TF700] JoinTheRealms:
Hey mate, thanks for spending the time investigating and writing up a helpful post (especially as your first;)) first off at this point i highly recommend running Linux of a fastest microsd card you can, my class10 gives about the same performance as a mechanical hdd the difference it makes against internal emmc is astonishing.

Im not sure about why loop mounting images from rabits installer is giving you trouble, but its hard not to suggest upgrading to new bootloader, twrp etc as thenn you can use my latest initrds , also make sure too redownload the rootfs.lzma and if you are using android 4.1 make sure you use rabits installer and not one from workdowgs thread, as its been adapted to android 4.2
[Asus Transformer TF700] joechorn:
What microSD are you using? Iˋve read of some fast ones not working with the TF700...(Like the Sandisk ones)

Sent from my ASUS Transformer Pad TF700T
[Asus Transformer TF700] JoinTheRealms:
Some strontium one, 32gb. Not sure why others wouldn't work, might be an android issue.