yashsingh1/xdaforums huggingface dataset:
[Asus Transformer TF700] _that:
Android is optimized for use on a touchscreen device with comparatively low resources. Desktop Linux is usually not. I don't want to give up the Android advantages (touch-optimized launcher, browser, image viewer, ...) or have to wait 2 minutes to switch the "experience" between desktop and touch.

A Linux desktop viewer as Android app solves all these problems. Using VNC is a crude approximation of what I really want - with more integration of X and SurfaceFlinger the experience could be seamless and smooth.

Are you sure that it's not just another menu run by "init"? Because I doubt the bootloader menu itself can be changed. Of course you could hijack the recovery and install another kernel for the desktop Linux instead, but then you lose the recovery...

My solution is not even chroot based - it's really one filesystem tree that comprises both Arch and Android directories at the same time. The only "collision" is /etc, where I simply copied all files from /system/etc into /data/arch/etc (sans "hosts") and then replaced the symlink in the root directory.

Xvnc uses some internal pixmap as display surface and serves it via a network protocol. It should be possible to share this surface via shared memory with an Android-based viewer. Of course, also the input events must be routed back, and the devil is in the details, but I think it's possible (but not by me, I don't have enough experience or time). There are some other interesting developments on the desktop compositor front like Wayland and Mir, so I think the choice of X backends will only increase over time. Maybe we will see even compositor-level integration some day.

Neither do I. Gentoo/Funtoo as main OS since 2003, in a dual boot setup with Windows 7 for playing games. I think I haven't booted Windows this year even once. Other systems run Debian or, most recently, Arch.
[Asus Transformer TF700] workdowg:
The installer is creating the rootfs.img file. The percentages are just how far it got in the script and then the last 10 is the final kernel install... Roughly.

Sent from my ASUS Transformer Pad TF700t - CROMi-X 5-RC1 DEODEX -_that Stock
[Asus Transformer TF700] faeredia:
Hey guys, excellent work so far!

Been a while since ive been on XDA, and i spotted this neat little thread.

Hope you guys dont mind, borrowing a few ideas and your rootfs for the TF201 dual boot.

When i get brave i'll try out the aroma installer (NVflash, no fear) in the meantime, going to extract the filesystem to a microsd for a bit of a test.

last i used was a 12.04 install (still have it!) but boy is it laggy.

[MENTION=4878287]_that[/MENTION], Agreed, for now Android is much more suited to a tablet, with better power and touch optimizations, a large app base and is relatvely speedy. In a few more years i can see linux and android more tightly integrated (perhaps even windows 8 style, with a wayland or mir session for "desktop mode" then press of a button gives you full screen android apps....) ubuntu are stepping ahead with their 'convergance' idea, phones that plug into a monitor and run desktop ubuntu... bit off topic sorry.
[Asus Transformer TF700] JoinTheRealms:
No worrys, the tf201 needs some more linux work, from my small amount of reading it looks like the tf201 dualboot works similar to the tf101 were linux is installed over the recovery? the aroma installer should work for the rootfs but you will need to replace the kernel. There are some tf300t/ tf700 optimizations in the rootfs that may interfere with the tf201 but cant be sure.

It shouldn't be to hard to get a hybrid kernel working for the tf201 which you could replace the zImage and modules from the tf700 installer and have a working installer for the tf201.:)
[Asus Transformer TF700] faeredia:
yeah the old old method worked like that, but tux_mind (and others) made something similar to your hybrid kernel. We use a custom init script which lets us choose the directory for / (root_chooser its called :p ) I saw his work quoted somewhere in this thread: lifeinarootshell.blogspot.com

using that we can put our extracted rootfs anywhere then modify a config file (read by the custom init) to boot it, along with a custom kernel (to avoid the ANDROID_PARANOID_NETWORK=y kernel config)

we'll soon see if it boots, hopefully it goes without too much asking. I'll have a good read through to see what you've changed and if necessary remove it.
[Asus Transformer TF700] JoinTheRealms:
Yeah, but i do see things improving for low resource devices rather than getting worse. I think by design the android system uses more ram(stock android has about 500mb free, compared to ubuntu 13.04 with lxde's 750mb ram free) but linux applications individually use more resources than android apps. chromium for example, while performing above my expectations, still uses around 120mb of ram. With devices like rasbery pi, android sticks etc. I think Canonical will focus more on low resource devices in future releases

Yes im sure this will happen, something that allows switching between os with a button press, I dont know much about ubuntu touch, but doesn't it run using surfaceflinger? i wonder with their implementation of desktop mode in ubuntu touch, if they will have surfaceflinger in replacement of X?

Ahh got that wrong heres the video of it in action https://www.youtube.com/watch?v=l5Kbg4kuZfQ I know very little about how the framebuffer works, so i didnt think it was possible to get something like that working, but that is what i hope to have eventually, but with a more simple kexec method

Im struggling to comprehend this:confused: Is arch booting with android? and does it have performance benefits over chroot? When i get linux booting from a directory, it would be great to have the same rootfs working under android also.
[Asus Transformer TF700] _that:
Android keeps unused apps running while there is free memory, so it depends how you define "free memory".

I've read they don't have X, so it can run only apps that use a toolkit with a backend for their graphics stack.

You can grab all required parts from TWRP.

Currently I don't "boot" Arch. What is "booting" anyway? Starting the kernel, starting init, starting services. In my case, that's all done by Android. As long as I don't need Arch-specific services (cups, etc.) it just works to run a program from /usr/bin directly from an Android terminal.
[Asus Transformer TF700] faeredia:
wow oh wow, worked straight out of the box (so far), extremely fast. ui is a tad enormous though... working on that now.
[Asus Transformer TF700] JoinTheRealms:
did the kernel work? im surprised if so

btw the gui scales with text size, use gnome tweak tool to fix it
[Asus Transformer TF700] faeredia:
nah, didnt use your aroma installer, just grabbed the rootfs, extracted it out to the root of my usb, pointed tux_mind's kernel_chooser to the right spot and BAM, straight in. i changed the dpi in ~/.Xresources (looks a lot better) but the bottom menu bar is still huge. next step is wifi. im impressed how smooth it is, a lot has changed since 12.04.
[Asus Transformer TF700] JoinTheRealms:
If you take the zImage and kernel modules and replace the ones in the installer youll get the multiboot init stuff then you can just boot the rootfs from a loopdevice on internal storage, which will give better i.o performance than an sdcard

you can also update to 13.04 from the updator , lots of improvements from 12.10;)
[Asus Transformer TF700] DertayRoccstar:
Forgot to mention this.. Reflashed CHROMI 4.7 then flashed the installer again skipping the rootfs. Everything came back up with no harm to the Android side or Linux side then did the "read only filesystem fix" everything is good now! Was able to do proper software updates after editing /etc/*release :))

and everything runs fine
[Asus Transformer TF700] dude2k5:
No go for CM10.2 if anyone is wondering. Seems the phone process/app keeps force closing.
[Asus Transformer TF700] workdowg:
Life will slow back down this week. Thanks for the thoughts everyone! I am going to work "with" JoinTheRealms, we live on opposite sides of the world, on getting the rootfs running from a real directory (Dualboot kernel) and fix a few little issues left with the Lubuntu install. I will probably shift my attention back to Arch (and ArchAndroid) for a while after that. It is my distro of choice and I want to figure out the wifi problem or go _that's way....
[Asus Transformer TF700] JoinTheRealms:
Sounds good! Ive been making some changes to the init, to allow a choice between on-device and loopmount if a /data/linux is found, so if it isnt found it wont annoy anyone.

I messaged rabits, he said he couldn't get it work either, but put it down to issues with 'mountall' that runs first in ubuntus init. Im interested if Arch has this issue also, run-init: overmounting root: invaild argument. while attempting to boot from a directory.

As for wifi, i remember you said that it works if setting it manually, were you talking about wpa_supplicant? If so i wonder if arch is having the same permissions issue with wicd as 13.04 ubuntu. Theres also a tf700 specific init script in ubuntu that you might want to make use of in arch if you haven't already.
[Asus Transformer TF700] TitanUranus:
I must get round to trying arch, how accessible is it for the average joe like me? I mean I can use linux terminal and at a push can compile something, but I can't do any coding (unless arch happens to be based in C64 basic...). Ubuntu seems prety sprightly and is very user friendly - what exactly are the advantages of arch? I suppose that since the TF700 is a standard device, you will be able to provide a core system with all the drivers, but will your arch system (which I'm hoping you will be kind enough to share) have a basic desktop like LXDE or icewm pre installed?

Good to hear there is continuing work on this though. I look forward to testing. Oh, one last thing - is there going to be a choice of kernels, or has work on getting hunds to dual boot been stopped altogether?
[Asus Transformer TF700] JoinTheRealms:
It actually already exists, moreD_cn posted a kernel based from hunds sources http://xdaforums.com/showpost.php?p=44378926&postcount=51

There are a few issues with the config that was used to compile the kernel though. For example dock and any usb devices have to be connected at boot. Ive tried to compile from later sources but it wont boot. Im guessing it a toolchain issue ive just been too lazy to sort it out ;) im purging my desktop of windows atm and using linux as my primary, so it will force me to get it working.. hopefuly..

As for the kernel above, id recommend using just the kexec kernel (place the zImage and initrd.img in /boot of your rootfs). moreD_cn is busy atm but hopefully will be able to post his current zImage if i dont get it working before hand:)
[Asus Transformer TF700] TitanUranus:
Marvelous, thanks I'll try this tomorrow (darn, it's after 5am, I'll try it later today).
[Asus Transformer TF700] JoinTheRealms:
Finally found a toolchain that boots :)

Heres the latest installer https://www.dropbox.com/s/oksatawl4wxo290/installerV6.5.zip

Now running hunds kernel. I simply compiled straight from moreD_cn's branch here: https://github.com/moreD/tf700t-linux

So go click thanks on a couple of moreD_cn and hundsbuah's posts ;)

Remember you have to run

echo 1 > /sys/module/cpu_tegra/parameters/boot_finished as root to unlock higher freq (1.9ghz on cpu, im guessing 700mhz on gpu) and say goodbye to your battery :)

Im also going to attempt to get us some kind of interface like that of stock Asus powermodes (powersave, normal and performance)

note if you put the above command in /etc/rc.local it will most likely run from boot, but i havnt tested yet.
[Asus Transformer TF700] Hackbartus:
:crying::crying::crying:

Btw, what about Ubuntu-Touch?
[Asus Transformer TF700] JoinTheRealms:
I have no idea, i think rabits is still working on it. But i dont think i can support a ubuntu / ubuntu touch dualboot even in the future.

---------- Post added at 01:44 AM ---------- Previous post was at 01:40 AM ----------

btw the latest cromi-5 release is working fine with the multiboot.
[Asus Transformer TF700] workdowg:
I changed the Lxpanel icon sizes, didn't think about changing dpi. Great hint!

I'm looking at the rootfs files right now... Probably permissions though. I did a straight up unsecured wifi connection to connect. Also with network-manager and wicd. Didn't try wpa_supplcant manually.

My Arch install is Openbox with a little LXDE/XFCE4. I like to keep it coming in around 120-150mb of ram.

Probably stick with the stock kernel... Hunds is causing too many issues and I need stability for testing...

Adding it before exit 0 will work.

echo 1 > /sys/module/cpu_tegra/parameters/boot_finished

Ubuntu Touch is a mess we won't want to start messing with... :)

A little low on quadrant, but real world use is just fine. But then again when do I get to just USE my tablet...lol
[Asus Transformer TF700] jonny727272:
Hey i am not new to rooting but this is my first time trying to dual boot on anything. I have super super limited knowledge of command line codes but I was able to figure it all out and complete all the necessary steps up to the installer. I go through all the options and then before installing it gives me an error about not being able to find the rootfs archive file? I know I have it and it is not in anyway altered that it couldn't be read or found. I will attach a picture(couldn't screencap in installer so I had to use my phone) and hopefully someone will know what's going on.

Thanks in advance!
[Asus Transformer TF700] JoinTheRealms:
If you dont have terminal emulator on the android side, goto the play store and download it.

The issue you have is in android 4.2.x directories are all crazy like.. In terminal emulator type "ls /data/media" do you see the rootfs file in the ouput? if not try "ls /data/media/0/" if you now see the rootfs file run

"mv /data/linux/media/0/rootfs-ubuntu*.lzma /data/media/"
[Asus Transformer TF700] jonny727272:
Ok i tried to do what you told me and i could find my rootfs folder but the big line that starts with mv didnt work. im not fluent enough in cmd line to know what your are trying to have me do but again i will attach a picture as to where i got stuck.

just so you know i am rooted and unlocked running on a CROMi xenogenisis 4.x(forgot which exact one). i have both the unbuntu and lubuntu rootfs files so maybe they are interfering and causing this? i really dont know enough about this field to be sure and its hard to find much info for a select device doing a certain thing
[Asus Transformer TF700] JoinTheRealms:
Sorry it was early in the morning when i posted that.;)

I was trying to get you to move (mv command) your rootfs file from /data/media/0/ to /data/media where the installer can see it. Where the * is replace it with the rootfs file you want from example i see you have lubuntu there so you would run mv /data/media/0/rootfs-lubuntu-tf700t-8-22-2013.tar.lzma /data/media

Do this with ubuntu if you want also, then boot into twrp and flash the installer.zip and try again it should detect the rootfs(s). If it doesnt work please post the output of ls /data/media (the ls command simply outputs a list files and directories)

As we are working with linux, you may want to grasp a few of the basic linux commands. You should memorize all of these :phttp://ss64.com/bash/

just joking, but it might be worth bookmaking that page:)
[Asus Transformer TF700] jonny727272:
Ok this time the code worked and the installer found and used the lubuntu rootfs but I'm getting that problem where I am stuck at 90%. I know I've seen this somewhere on the forums but I forgot what the fix was :(

If you have any advice I will try it, otherwise I will try to use the Ubuntu rootfs
[Asus Transformer TF700] JoinTheRealms:
Wait atleast 45 minutes™ ;)
[Asus Transformer TF700] jonny727272:
Hahahaha that actually made me laugh! But I had already started the Ubuntu install and now it is stuck at 90% -_- i will let it go overnight and edit this post in several hours when I wake up.

EDIT: I let it installed overnight and in the morning it was fine! I tested it and it's all working great! Thank you so much for the help!
[Asus Transformer TF700] patate331:
Hey everybody!

Can you tell me if this work on my asus me301t!?

If not, do you know if someone is working on this projet? It can be very interesting...

Thanks!
[Asus Transformer TF700] JoinTheRealms:
Afaik its the same as the tf300t, if so u'll be better off with one of the linux ports in the tf300t forum;)
[Asus Transformer TF700] patate331:
Yeah, you're right. Thanks ;);)
[Asus Transformer TF700] workdowg:
What else do you guys need from the Lubuntu rootfs? I'm going to be working on my Arch rootfs for a while. BTW.. You can mount the rootfs.img file with Deploy Linux from the play store. Much easier than manually chroot method. Nice app, I'm going to throw some $$ at him... Also search Google for tf700t connectbot, it is modified for our dock keyboard!
[Asus Transformer TF700] xFaultx:
How do I install cromi-x with this? All the options in the installer are for clean rom?
[Asus Transformer TF700] JoinTheRealms:
cromi-x = Clean Rom Inheritance Xenogenesis ;)

The installer will work with any 4.2 based stock rom.
[Asus Transformer TF700] xFaultx:
Then how do i get this rom installed without losing dual boot?

http://xdaforums.com/showthread.php?t=2425383
[Asus Transformer TF700] workdowg:
Make a Nandroid backup, flash CROMi-X 5.0.1, then flash the installerV6 (this is the Linux dualboot installer) again without preparing a rootfs. You won't lose any of your rootfs.img files.
[Asus Transformer TF700] xFaultx:
Just verifying, there is no way to get adobe flash to work ATM correct?

---------- Post added at 08:29 AM ---------- Previous post was at 08:28 AM ----------

Which option would I pick for the install; like clean rom 4.0, 3.0, w/e? Or if I dont prepare rootfs, will that not appear?
[Asus Transformer TF700] workdowg:
4.0 - I'm sure JoinTheRealms will update that text in the next installer version...
[Asus Transformer TF700] xFaultx:
Thanks got it working. No flash on linux though correct?

Also, what programs have you guys got working so far on the TF700 that youd recommend? This is my first 'true' linux device, and Im having some difficulties finding compatable programs. Also, I have tried to use the Lubuntu software center to install Libre Office, but Im having not luck. Any suggestions?
[Asus Transformer TF700] workdowg:
For the software center (BTW... use the Ubuntu Software Center), make sure that /etc/lsb-release looks like this:

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=13.04
DISTRIB_CODENAME=raring
DISTRIB_DESCRIPTION="Ubuntu 13.04 tf700t"

If it doesn't fix it:

gksu gedit /etc/lsb-release

I made a mistake calling it Lubuntu in that file, it doesn't know how to deal with it...
[Asus Transformer TF700] Ananasnonym:
Do we have a hybrid kernel yet (stock, not hundsbuah), which supoorts bluetooth, microSD, and SD mounting in android? I remember it's some issue with the modules, but I don't know how to fix it...

And how's the progress on booting linux without virtual filesystem (rootfs.img), but directly from the memory card?
[Asus Transformer TF700] JoinTheRealms:
Not yet mate, I've havnt had much time too look at it as ive got exams coming up. Bluetooth etc shouldn't be anything major and im gonna try incorporate a tf101 init that should allow directory booting and root-bind
[Asus Transformer TF700] _that:
Do we already know what exactly needs to be changed in the kernel config to make a stock kernel a hybrid kernel?
[Asus Transformer TF700] TitanUranus:
Do you know if it'd be possible to make a partition on a portable 2.5" HDD and boot linux from that? I may try this at some point as it would be a good way to get speedy i/o and I could use it for d/l torrents (yes I can save torrents to hdd anyway, but want the OS to boot from hdd too). The kernel's on emmc but surely the root fs could be stored on Hdd. I've edited GRUB many times on x86, but since there's no grub on TF700 I'm not sure where to start setting it up.

Afraid I've been a bit distracted since I accidentally impulse bought a Galaxy S4. I really must get round to trying out arch on the tf700 though, interested to see how easy/hard it is to use. I've had this tablet a year and for the first time discarded the screen protector. Everything looks nice and sharp (screen protector did blur things a bit), but bloody hell - it's shiny! like looking in a mirror.
[Asus Transformer TF700] JoinTheRealms:
Yeah it should be possible to boot from any storage device(although im guessing a externel hdd might be quite slow. You could make your /home directory on the hdd so all downloads are stored on the hdd, but linux will boot off emmc).

Im slowly working a way to boot into a normal android kernel (Latest Hunds, only patched for kexec) and allow the user to reboot from android into the distro/ rootfs of their choice. Also looking into adding a graphical menu thats kinda similar to burg (graphical grub). But over my head atm, will happen though;)

---------- Post added at 02:33 PM ---------- Previous post was at 02:20 PM ----------

Sorry im not 100% sure, ive been using/ modifying moreD's config for the kernel, The only difference ive noticed is command line prameters.

Im trying to get a work-around ...working. but im still having issues with the blob, it flashes to mmcblk0p4 but doesnt update the kernel? i dont know...

Im just trying to boot a standard android hunds kernel with no init stuff (only patched for kexec hardboot) and allow kexec-boot into the the multiboot kernel
[Asus Transformer TF700] _that:
You need to reboot after storing the blob on the staging partition (mmcblk0p4). If the bootloader doesn't pick up your blob, read the hexdump and compare it to the output in my kernel repacking tutorial.
[Asus Transformer TF700] Ananasnonym:
new bug

I found some new bugs in android: You cannot turn GPS off and you cannot switch keyboards - I guess it's the same issue as with bluetooth, microsd, sd, because the option switches almost instantly back.
[Asus Transformer TF700] xFaultx:
Switched back from arch to lubuntu, having to much trouble getting it to work. The biggest problem that I have been having is the mouse will become a square box, that is somewhat see through, but makes everything have almost a "photo negative" look. It also cases my task bar to disappear, and any documents or webpages to become unreadble. Any ideas???
[Asus Transformer TF700] JoinTheRealms:
Its an issue with chromium, i fixed this under 13.04 by typing chrome://flags into chromes address bar and enabling all the gpu stuff(not sure exactly what fixed it)

Ill hopefully have a new way of dualboot later tomorrow (ive just gotta fail a networking exam that ive done 0 studying for :)) This should fix all the bluetooth, mounting issues (which admittedly should've been an easy fix anyway. Im just a noob).

This method will boot a normal non-linux kernel (Hunds, _that or stock etc) thats patched with kexec( _that has done this in his latest kernel, all ill ask hunds real nicely if he could patch his;) ) and to boot linux, we will run a script in android which will reboot us into the modified linux kernel (will be kinda messy at first, but ill soon have individual kernels for certain rootfs so you can choose the desired rootfs from within android.)

Later i want to implement a framebuffer prompt somewhere during the boot process so this method wont require booting into android if you need to boot into linux. (Mainly because it looks cool though) and possibly add a "reboot to ..." interface to the android power menu, but im getting far ahead of myself now;)

Oh and if anyone feels adventurous, you could try compile the latest xbmc dev source, that has libstagefight support. Might give us a way of playing proper hd video, youtube etc. I just haven't had time to play with it yet.
[Asus Transformer TF700] workdowg:
It wont be today, but I will work on the libstagefight....

Sent from my ASUS Transformer Pad TF700t - CROMi-X 5.0.2 DEODEX -_that5