yashsingh1/xdaforums huggingface dataset:
[Asus Transformer TF700] fredoman:
Dual boot lost after CROMI Update

I hope this not not already answered in this thread and I overread it :

I had a nice, working dual boot install with lubuntu and CROMI on my TF700t, but some weeks later I upgraded CROMI to the latest version. The CROMI installation seems to overwrite the dual boot so the penguins no longer appear ;)

What is the easiest way to recover the dual boot without redoing a complete install ?
[Asus Transformer TF700] Ananasnonym:
What is the most recent kernel to use in linux? And is there any progress on building the rootfs from scratch?
[Asus Transformer TF700] JoinTheRealms:
[MENTION=3971563]workdowg[/MENTION] , although i haven't even got past lightdm yet (had a permissions issue caused by me:silly:) 14.04 Official Lubuntu for ac100 works without missing text issue, plus its a preinstalled 500mb image with everything installed, tegra drivers from package work seem to work well also.

Also my tf700 has been sidelined for my tf300t due to a blown speaker, and probably will remain for any further Linux adventures, but ill make sure everything is compatible with the tf700.
[Asus Transformer TF700] workdowg:
I've been thinking of getting a partition rootfs going natively. I'll definitely ran that ubuntu image and run from there. My LD Arch partition install flies, I really want to see what a native install can do. It might have to be ubuntu...

From my LG-G2 DeBloated Stock 4.2.2
[Asus Transformer TF700] JoinTheRealms:
Kinda just speculation, but i've currently gained access to steams in home streaming beta (everyone who joins their steam group gets access) this allows game streaming from a high end pc to another possibly lower end device such as a notebook at 1080p and it runs great.

Now steam has a armhf client, so my assumption is this should be capable on our devices, as long as the functionality as been merged into the armhf version. If not yet, surely this would be something on valves agenda. It has me quite excited :D
[Asus Transformer TF700] Ananasnonym:
How's progress with 14.04?
[Asus Transformer TF700] JoinTheRealms:
Well its boots to lightdm fine, but still having trouble when logging in , it randomly returns to lightdm after beginning loading a desktop environment

.

I have a fix for slow/ laggy unity http://xdaforums.com/showpost.php?p=50419429&postcount=377 now its 100% usable.
[Asus Transformer TF700] Ananasnonym:
I used installer v6.7 to extract the 14.04 image to data partition, inserted on 13.04 working kernel and initrd in the folder rootfs.img/boot, modified boot.cfg to point there and it boots, but it only shows a black screen after some error messages about loading modules ?

What did you do to get to lightdm?
[Asus Transformer TF700] JoinTheRealms:
Well i installed tegra drivers, you also might have to switch to terminal and run chvt 7 to get to lightdm
[Asus Transformer TF700] itrof61:
Hi, I cant seem to load web pages. It connects to wifi but web pages wont load
[Asus Transformer TF700] itrof61:
Does the same apply for Lubuntu? Because I tried it for Lubuntu but it didnt work
[Asus Transformer TF700] JoinTheRealms:
Yip, it should work as the dns issue is caused by lack of permissions, if you did this and it made no improvement it would indicate different issue.
[Asus Transformer TF700] itrof61:
Tried it again, and it worked! Thank you!
[Asus Transformer TF700] itrof61:
Is there a way to fix suspend? When I come back from suspend it tries to come back but it keeps going to black screen
[Asus Transformer TF700] AJM-hackers:
Suggestions

I think that the best way to approach this is to use a minimal install of the armhf build of stable 12.04.4 and only install the bare minimum like firefox, libre office, geany, openjdk and slingshot instead of unity. Ths will make it really fast especially on our aging hardware. Also a native sole install of Ubuntu would be awesome as Android is only so capable compared to Ubuntu.
[Asus Transformer TF700] JoinTheRealms:
Yes look at the 3rd post in the dev thread, under workarounds. While it doesn't fix the underlying issue, it does allow your device to suspend and wake as expected

---------- Post added at 01:10 PM ---------- Previous post was at 01:05 PM ----------

Unity can run very well with my fix/ workaround here http://xdaforums.com/showpost.php?p=50419429&postcount=377

As far as GNU/ Linux is concerned, the tegra 3 is young, still a lot of developments in the works, not to mention we still have support from nvidia so hopefully they will improve on their drivers.
[Asus Transformer TF700] AJM-hackers:
[MENTION=3971563]workdowg[/MENTION]

Also this is really OT but... there are are continual ongoing builds from chroium ongoing here: http://download-chromiumos.appspot.com and http://chromium.arnoldthebat.co.uk by arnoldthebat and francis beaufort
[Asus Transformer TF700] JoinTheRealms:
Its actually completely on topic :) Theoretically you should be able to use the arm build with our kernel but i can't imagine most our drivers would work.
[Asus Transformer TF700] JoinTheRealms:
Compile it with gcc (literally run "gcc ~/pm.c"), then either manually run the binary or have it start automatically on login
[Asus Transformer TF700] itrof61:
Liking very much ubuntu on my TF700!! Any way to play matroska videos without stuttering? Thanks in advance :D
[Asus Transformer TF700] JoinTheRealms:
Yeah, other tegra devices would normally use totem to play videos with acceleration, but it doesnt work for us, you will need the latest kernel from the dev thread, and use this workaround http://xdaforums.com/showpost.php?p=49865187&postcount=371
[Asus Transformer TF700] itrof61:
Sorry for the noobish question but I didnt understand what exactly I need to run on terminal in order to get HWA working.
[Asus Transformer TF700] JoinTheRealms:
Just do what Graiden05 says in that post:). if you find a video doesn't work with it, then use my command at terminal to play the video. These are our only options for hwa video
[Asus Transformer TF700] itrof61:
Ok, thanks!! You've really been helpful! :laugh:
[Asus Transformer TF700] elpax:
some problem

I have install ubuntu and it's working normal. After I have update all the software. Reboot. And update the Ubuntu to the 13.10 version. It was long time. After updating I've reboot my tf700t. No gui. I have entered login and password. After i have enter sudo lightdm. Gui have started. But mouse (touchpad) not working. No sound when started. The display have blink (turn off - turn on) always. Probably I can't enter password because it's blinking. When i press ON button (on the bottom) it's enable display for some moment (few seconds) and the turn off it. All what i have look at, it's my wallpaper and window with password input. Can someone fix that ?

P.S. Sorry for my bad english.
[Asus Transformer TF700] C288:
Arch Linux

I can't find where to download Arch Linux.

I found it.
[Asus Transformer TF700] C288:
Tablet Heats Up

I don't know why but my tablet will heat up to a pretty high temperature. Even if I am not touching it. Any help.
[Asus Transformer TF700] JoinTheRealms:
You need to check cpu usage, something is keeping the cpu under load .
[Asus Transformer TF700] C288:
How do i check
[Asus Transformer TF700] JoinTheRealms:
Well it depends, but any task manager type application will do
[Asus Transformer TF700] C288:
Okay thanks but now another thing i can't do is access the internet i am connected but no webpages load. And the other thing is that my sd cards won't show. When i click on it it says the location is not a folder
[Asus Transformer TF700] JoinTheRealms:
The internet issue sounds the dns permissions issue. The fix is posted through out this thread, adding inet and netraw to /etc/group, im not sure about sdcard, but id just modify fstab and mount it manually.
[Asus Transformer TF700] C288:
I tried that fix for the internet but it didn't work and the only way that it works for me if i open the web browser in root. Any help?

This is What I did

sudo su

echo "inet:x:3003:root,<youruser>" >> /etc/group

echo "net_raw:x:3004:root,<youruser>" >> /etc/group

I am using the Ubuntu 12.10 rootfs
[Asus Transformer TF700] AJM-hackers:
Hey [MENTION=3971563]workdowg[/MENTION] and [MENTION=4582979]JoinTheRealms[/MENTION]

Are you guys still working on this? It would be excellent to have native Ubuntu! :)
[Asus Transformer TF700] workdowg:
JoinTheRealms had hardware issue and I've been "lazy". I havve a working rootfs running from a partition, but I'm running crombi-kk at the momentl. Once they work on their dual-boot solution I'll get back to native. Right now my arch is running pretty well with the LD/XserverXDL

combo... I'm thinking of getting a second tf700t w/ dock, BJ's has it for $279usd!
[Asus Transformer TF700] JoinTheRealms:
Not actively but i'm waiting on updated linux for tegra drivers for cardhu, at this pace i expect it will be the last update from nvidia, hopefully they leave us with stable drivers....

I do want to venture into merging our kernel with mainline 3.4+ at some point, but this is hard, time consuming work.. so its not high on my list ;)
[Asus Transformer TF700] M47Z:
Hi,

after I gave up pretty fast last time im back on it and trying to run 4.3 and lubuntu.

So I'm following the instructions you gave here:

I was able to follow your steps to this point, but I dont have, /data/media/mount/multiboot/boot.cfg...

Should I have it? Never had multiboot on the device, is there some requirements im missing? :D

And im still scared to do this one! Obviously I wont be able to boot to Android afterwards, and I dont have that boot.cfg entry! Also when your saying "if you didnt make an android entry do it now" are your refering to the same file/ will it be there after flashing process? how do I add an android entry in there?

Sorry for my noobish question but Im kinda stuck here :p
[Asus Transformer TF700] JoinTheRealms:
Hmm have a read through the previous pages before that quoted post, i give more explanation into kexecboot, and how to create the boot.cfg, and dont worry, this will not touch android at all, in case you end up not being able to boot into android, you can simply reflash a normal android kernel and you will be back to just android.

For a quick explaination of whats going on:

With kexecboot, you power on your tablet, instead of the normal process of booting android (At the initrd level, if you dont know what this is simply a script or binary to preform basic setup for linux(or Android) to take over) ive modified it to load a kexecboot binary instead (ported by moreD_cn) at this point it looks for the boot.cfg file to understand the arrangement of operating systems on the device, this file file has to be manually created. If it doesn't find, or invalid configuration is detected, it will fallback to a terminal menu.

Remember this isnt the only method of dualboot, the older initrd based method is easier to setup, but lacks the flexibility of the kexecboot method(still fine for most users)
[Asus Transformer TF700] NewDev4IOS:
tf701 linux compatible?

can this work on the tf701 and if not can there be support added for it sometime, preferebly soon, no rush
[Asus Transformer TF700] JoinTheRealms:
Sorry not from me, but all the initrd scripts should be 95% compatible, only partitions etc need to be modified to be compatible.
[Asus Transformer TF700] NewDev4IOS:
thanks

thank you, if i knew more about programming i would work on it and make it compatible myself, but i dont yet
[Asus Transformer TF700] M47Z:
Hi again,

im still not able to understand it fully right now.

I just got very few open question that seem to noobie for the dev thread, but i could not find an answer.

I have nvflash enabled now, so I'm more willed to try things out ;)

Im still trying to set up a kexec boot, now on 4.4.

so, here is how I would do it.

1. So first, in android, create /boot/ and place the unpacked android kernel here.

I should be using this kernel for android 4.4

http://xdaforums.com/showthread.php?t=2230059

or can I even unpack the kernel from the rom i use itself?

http://xdaforums.com/showthread.php?t=2577165

I did find some unpacked kernels you posted, but how do i do it myself?

2. now I would mount mmcblk0p5, create a folder multiboot and a file called boot.cfg with something like:

#Android#

LABEL=CMB Android

BOOT=3

DEVICE=/dev/mmcblk0p1

DIR=/

KERNEL=/boot/zImage

INITRD=/boot/initrd.img

PRIORITY=100

LABEL=Ubuntu

BOOT=7

DEVICE=/dev/mmcblk0p8

IMAGE=/linux/ubuntu.img

KERNEL=/boot/zImage

INITRD=/boot/initrd.img

PRIORITY=50

3. I then flash the kexec kernel you uploaded.

https://www.dropbox.com/s/f8bcm3qgz86njj1/blob

It doesnt need to be an 4.4 kernel, as its just used at boot to select right kernel for os. (or isnt it?)

Now, when I reboot, I should see the kexec ui already and be able to boot android 4.4.

4. I then place the rootfs file and rootfs only installed on the microsd (feg rootfs-ubuntu-12.10-0.8.0.tar.lzma and ubuntu-rootfs-installer-v.1.1.zip)

and flash it the roots installer via recovery.

5. Will this be all? Or do I have to place the linux kernel manually as well?

If yes, I would have to download this file, mount mmcblk0p8 and unpack it in /boot/ right?

https://www.dropbox.com/s/np37zduxyo9jwsy/_that-linux-kexec.zip

or is there a newer (better?) one already?

Thanks a lot for reading over this and giving me hints

When I get this working I will write a noob friendly tutorial. :)
[Asus Transformer TF700] JoinTheRealms:
So you've got everything correct, only on the last point, if you use the installer make sure you reflash the host kexec kernel (the installer will install its own kernel) Alternatively you can unpack the rootfs yourself, id recommend workdowgs Lubuntu 13.04 rootfs as it has some fixes not included in others.

Also you will need to place the guest linux kernel yourself, heres the link for it: https://www.dropbox.com/s/np37zduxyo9jwsy/_that-linux-kexec.zip you can most likely use a later zImage from _that without needing to recompile, but the above one should be fine for linux

I posted a zImage in the dev thread compiled from _that v9 but im not sure if anyone used it, so im not sure whether it works or not.

Also im not sure that _thats kernel will support cm11 based ROMs, but you can make use of _thats preinit system to boot a cm11 based ramdisk instead of the stock one. Btw it would be brilliant if you could write up a *noob* guide once we get it working for you;)
[Asus Transformer TF700] Ananasnonym:
I was able to boot 14.04 image for ac100 and to get past lightdm, but there are issues with missing text (for example in lxterminal! I recall you wrote about this earlier - do you know what causes the problem?

I installed all tegra driver xabi versions (so the last one available was 14).

---------- Post added at 12:54 PM ---------- Previous post was at 12:34 PM ----------

Could it be that 14.04 requires X ABI 15 to run without errors? I could not find anything on this topic..
[Asus Transformer TF700] JoinTheRealms:
Yes, this is the issue we have had since ubuntu 13.10, sadly Nvidia isnt supporting xabi 15 in the current release. But 13.10 *should* work.

I got in contact with the nvidia-tegra3 maintainers for ubuntu, the package has now been retired due to the lack of xabi 15 support, I suspect Nvidia will update this at some point though, since Ubuntus target arm platform is the 2012 Nexus 7
[Asus Transformer TF700] pgunnii:
I'm trying this whole process for the first time and I'm quoting a very old post, but I'm having this exact same problem. I'm on cromi 4.x (can't remember the rest), using the latest installer (v6.8) and lubuntu in the OP yet no matter what I have the exact same problem I've quoted. I've tried multiple times but no matter what always get the error above. I'm not sure what to do.

Edit: I think I had a problem where Chrome would have the filename be tar.tar rather than lzma, and now going through the installation it's going a lot slower like it probably should after I simply renamed it, so I think I solved it. I'll probably update this if I remember to do so
[Asus Transformer TF700] M47Z:
Thanks alot!

I thought I got it now but got problems following my own steps... :eek:

I feel like I still dont understand some basic stuff.

1. when you say installer your talking about installerv6.zip right? I would use lubuntu-rootfs-installer-v.1.1.zip just for unpacking rootfs-lubuntu-tf700t-8-22-2013.tar.lzma to mccblk0p8, this would not replace the kexec kerrnel would it?

2. this is kind of related: how do I actually mount and use /dev/mmcblk0p1, /dev/mmcblk0p5 or /dev/mmcblk0p8? when i google these I find issues about mounting sd cards, usb drives etc. also, it seems logical that I would have to format my internal memory and/or sd card in a specific way, but I could not find any information on that topic.

probably, my big gap of common knowledge is right here ;)

3. probably if i understand question 2 i'll get this one as well, never the less: Am I right for thinking I should run android from internel memory and linux from microsd? it sounded like a good idea as a class 10 microsd should be faster. if so, does that fit to the partitions above/ how do i mount them that way?

thanks for your patiency in advantage! :D we're getting closer
[Asus Transformer TF700] JoinTheRealms:
I must give the disclaimer that i haven't used this in quite sometime, so the gaps in my knowledge are ever increasing ;)

For installer, just use the latest version, you can find this in the dev thread, post 3. Now as far as i can remember the installer will install its own kernel, This is because the kexecboot method is much newer than when the installer was created, the installer does more than just unpacking the rootfs, it automated the whole process using the older init menu method. Just for ease of use, we can use that installer to unpack the rootfs, note this will unpack the rootfs into a virtual image, for use in a loop mount, this will perform less than booting from a directory, this also goes to your third question, my recommendation is to install to the fastest sd card you can get using this method:

Run the installer, so you now have the unpacked virtual image (rootfs.img e.g) the run dd if=/data/media/linux/rootfs.img of=/dev/block/mmcblk1p1 (Your paths and structure may vary keep this in mind.). This command will move the rootfs into the first partition on the microsd, make sure that this is formatted as ext4, from there modify the boot.cfg to describe that mmcblk1p1 as a directory type, and move the guest linux kernel (zImage and initrd.img) into /boot of the rootfs(also with the correct paths to the zimage and initrd in boot.cfg).

So mmcblk0p1 is a ext4 formatted partition, around 500mb in size i believe this is where you android roms are flashed to (/system). mmcblk0p5 is a vfat formatted partition, much smaller at 5mb, this is used for device configuration files etc (/misc), mmcblk0p8 is also an ext4 partition used to store user data etc (/data)

You can mount using the following commands,

mount -t ext4 /dev/block/mmcblk0p1 /data/media/mount

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

mount -t ext4 /dev/block/mmcblk0p8 /data/media/mount

(Note, linux will mount emmc devices straight on /dev so in the above commands remove /block if under linux)

Theres no need for formatting, our methods are *designed* around the current partition structure, using either root-bind or loopmount, these methods can share the /data partition for example with android, no format required.

Btw im happy to answer questions, the more information that goes into these threads, the easier it will be for the next people down the line:)
[Asus Transformer TF700] pgunnii:
So I'm connected to WiFi, and I can clearly download updates, but neither Chrome nor Firefox will load webpages. It says I'm not connected to the internet?
[Asus Transformer TF700] M47Z:
If i remember it right this is a bug. you have to run firefox/chrome with sudo rights to get internet acess. There was also a workaround to get it running the "normal" way I think. Search this thread, its somewhere in here ;)

So now I put installerV6.8.zip and rootfs-lubuntu-tf700t-8-22-2013.tar.lzma on the microsd. In recovery I installed the zip. I selected Clean Rom 4.x for Android, installed on internal memory without shared home directory for linux and android.

It looked all fine while installing, but now I cant boot linux or android...

the multiboot menu shows up fine and I can select linux or android. android results in bootloop (never getting across android boot screen) but this was expected. But also Linux doesnt boot up at, I get some output ("target filesystem doesnt have required /sbin/init or /init"...) and it reboots.

How will I flash the kexec boot kernel (.blob), place the guest kernels and edit the boot.cfg now without os? Help :D
[Asus Transformer TF700] JoinTheRealms:
easy, use the terminal emulator inside of twrp, if you dont have twrp use fastboot to flash it. With the Lubuntu rootfs, did you do the dd command? or did you just move it over? theres also an option to use a busybox shell in the dualboot menu, from there you can manually mount the necessary partitions and dd flash the kernel.

Android wont boot for sure, that kernel won't support any android rom outside of stock 4.2 since the ramdisks are different.
[Asus Transformer TF700] ITesAndroid:
Hey guys :)

Just desided to give it another try... Haven't been here for quite a while... And first thing I've noticed that the 1st post wasn't updated since november 2013 - does it mean there's no progress since then? I mean - same installers/files/etc, no updates/fixes yet?
[Asus Transformer TF700] Ananasnonym:
It works fantastic, kexecboot gives us all the possibilities we want and from the Lubuntu Image provided everyone can customize the system to his/her needs.

However, support for 13.04 is over, which means there are no updates any more. Because of that I tried to upgrade to 14.04 but it depends on a display driver which is not released by nvidia (yet?). Therefore I am currently trying to setting up a clean minimal install of 12.04 LTS (supported until April 2017) which I will upload here when completed. Furthermore, I will post instructions on how to get a clean dualboot install with data2sd and lubuntu with the latest methods.

Long story short: No Major issues -> No updates provided.
[Asus Transformer TF700] cogano:
Debug level

Any idea how to decrease debug level of some modules?

It is going to wear off the microSD card quite quickly (/var/log is not tmpfs) :crying:

Are there any config options for kernel boot paramenter in multiboot/boot.cfg? Or somewhere in the initial ramdisk (initrd)?

On my rootfs-lubuntu-tf700t-8-22-2013 with _that-linux-kexec kernel [1] the syslog is updated each second with messages from

kernel: asusdec: [bla bla ] dock battery level = 45

kernel: pad_get_capacity val-intval=66 ret=68

and about twice a minute:

kernel: init: ttyGS0 main process (32653) terminated with status 1

kernel: init: ttyGS0 main process ended, respawning

... another 10 lines about restarting the tty ...

[1] https://www.dropbox.com/sh/32aupv891apenlc/u4GJelDNQ3

As a last resort, I could stop the rsyslog service, I know...
[Asus Transformer TF700] parwathy:
Hey there, I was wondering if we can dual boot This Linux with Crombi? Couldn't find a clear answer in the few last pages of this thread, sorry if that's a dumb question :rolleyes:
[Asus Transformer TF700] workdowg:
At first glance, you've hit it right on the head. I'll be looking it over tonight ... I'll pm you any inaccuracies and you can change it. Then if you don't mind I'll link it to the op or paste it there. :) Great job!
[Asus Transformer TF700] workdowg:
I got distracted by life and didn't get back on it. I tried a test and couldn't get it to boot past the kexec boot screen. _that didn't get back to me on my error message.... I have some time coming up and may get to play some more...