yashsingh1/xdaforums huggingface dataset:
[Eee Pad Transformer Android Development] JoinTheRealms:
Could you guys do something like we do on the tf300t/tf700 where the dualboot uses a hybrid kernel and a boot process like this:

Many TF300t and tf700 owners cant use nvflash unless they go through the process of activating it while they are on ICS (JB patches the exploit) so they can't partition at all, i believe this method is the only one that allows a dualboot on these devices.
[Eee Pad Transformer Android Development] zachf714:
If you could point to some 300 source using it I may find what we need to do.. By the way does anybody know how to install the default Ubuntu desktop on the raring images because when I purge pulseaudio it removes "ubuntu-desktop"
[Eee Pad Transformer Android Development] JoinTheRealms:
TF300 is based on the tf700 method which is here: https://github.com/rabits/tf700 and the thread: http://xdaforums.com/showthread.php?t=2026919
[Eee Pad Transformer Android Development] zachf714:
[MENTION=4582979]JoinTheRealms[/MENTION] I found the base of the importance https://github.com/rabits/tf700/blob/master/boot/ramdisk/multi/lib/multi/02-find_linux.sh
[Eee Pad Transformer Android Development] Kingzak34:
For now the only way I found to get Ubuntu desktop fully working with all features is with net install img

Envoyé depuis mon Nexus 4 avec Tapatalk
[Eee Pad Transformer Android Development] onmail:
Don't worry about that, "ubuntu-desktop" is just a metapackage, it can be safely removed...
[Eee Pad Transformer Android Development] zachf714:
Thank you... Now to trouble shoot it not working correctly
[Eee Pad Transformer Android Development] transformador:
Yeah a kernel that boots in grafics mode would be cool, but one question: will the kernel come over 8 mb? We cant flash kernels over 8 mb if we didnt flash one over 8mb witht nvflash :((

Edit: Wow That kernel is AWSOME !!! i have a 11.10(sooo f****** fast) with sound, flash, hwa (real gnome is WORKING!!!!!), wlan, multitouch , touchpad and so on and so on !!! AWSOME!

(i mean with ubuntu desktop its fast, lubuntu is too fast for tf101 , gnome is not fast, but working!)

try 11.10 too!
[Eee Pad Transformer Android Development] Kingzak34:
I'll post it ASAP
[Eee Pad Transformer Android Development] JoinTheRealms:
By real gnome are we talking gnome 3 or gnome 2 with compiz ??
[Eee Pad Transformer Android Development] zachf714:
I think they mean like the version that comes with fedora because the gnome core guide and the net installer both look like they install gnome 2 that is modified slightly
[Eee Pad Transformer Android Development] transformador:
I mean gnome 3, not fallback or classic, it is a LITTLE slow (a little means REALLY), but it shows hwa is working :) for example, videos are fully working and even gnash runs at a normal speed (lol at 240p)

I mean the gnome that looks like this: http://www.gnome.org/wp-content/uploads/2010/09/gnome-3-8.png , but how i said, i didnt really test it (lack of time), but i would say unuseable for beeing productive :)

Btw they both install gnome3 but because of no opengl they go to fallback moe, which looks like gnome 2. if you install libgl1-mesa-swrast and tegradrivers, it should work since the they install soft open gl (which runs slow on our, or at least my tf101) (on 11.10, and 12.04, i think later versions use libgl1-mesa-swx11 and libosmesa6 , but not really shure)
[Eee Pad Transformer Android Development] JoinTheRealms:
Thats awsome, i broke my tf101 so i cant try it out :crying: id love to get it working on my tf300t. Was it installed simply by sudo apt-get install gnome? (gnome-shell?) as we have full hwa but im only getting gnome 2 with those commands.

What about compiz? it runs really well under unity on the tf300t/tf700 (ive been spending days trying to get it to run under gnome 2....)
[Eee Pad Transformer Android Development] transformador:
No idea about compiz and i dont really know how to install it...

As i said vbefore, gnome3 is on a scale from unusable to slow in the middle xD Try it on ubuntu 11.10, i think there is a thread for it in tf300 forum.

This is exactly what i did:

1. Instakled ubuntu 11.10 (link to my thread in signature, on images)with 3.1.10 kernel

2. Installed tegra drivers from .deb package

3. Sudo apt-get install libgl1-mesa-swrast

4. sudo apt-get install gnome-tweak-tool (lol wanted to only install tweak tool but pulled in gnome shell)

5. Was surprised i had gnome

6. Went into it

7. Was even more surprised

8. It was very slow

9. Went to my best friend and had no time for gnome xD

Should work on tf300 too, maybe it works with a good speed on your tab :)

Edit: I just tested it a little more and it is way too slow to work with (like i thought before), in attachments i have a screenshot of it running, could you test it on tf300? I am thinking about upgrading to it longer and gnome 3 at a decent speed would be too nice :)))
[Eee Pad Transformer Android Development] JoinTheRealms:
Sorry i cant get gnome 3 working(im sure its possible, but over my head atm lol), i can make a quick video of the performance of what is working (Ive got full compiz working under unity by using a ubuntu 12.10 image from the tf700 and it runs just like a desktop pc;))
[Eee Pad Transformer Android Development] transformador:
Try it on 11.10 ;P

Video would be pretty cool (very interested :))

When i try to use compiz on 11.10, it freezes lol :), but i have an optimal ubuntu installation and dont need more :) (never thought i would say that one day, but now i have a laptop to mess around xD)

Btw, does the ubuntu image for tf700 have tegra drivers pre installed and is there a difference for tegra drivers for tegra 2 and 3? Do you think it could be possible to use on the tf101? I cant test it because of limited bandwith and slow internet connection..
[Eee Pad Transformer Android Development] zachf714:
[MENTION=4500497]transformador[/MENTION] I'm flashing 13.04 now to see if it will work there... compiz does work on 13.04 though buy messing with it much really isn't recommended because it can break things very bad :)

Edit - I'm not sure what repo the libgl1-mesa-swrast is pulling from because it is not showing up in 13.04
[Eee Pad Transformer Android Development] transformador:
I had that problem too, but didnt stay long on 13.04, on 12.04 it said something like "chosing libgl1-mesa-swx11 and libosmesa6 instead of libgl1-mesa-swrast", maybe install them?

Haha we are talking about exactly the same as when 3.1.10 came to our tf101 :)

---------- Post added at 09:07 PM ---------- Previous post was at 08:54 PM ----------

as dumb as it sounds, but 11.10 is faster, better and more stable, and you can upgrade to 12.04 and 12.10(12.10 not tested) and ubuntu desktop is WAY faster :)
[Eee Pad Transformer Android Development] JoinTheRealms:
[MENTION=4500497]transformador[/MENTION] heres a few videos of the tf300t, i didn't really know what to show so i just done some typical usage

Ubuntu 12.10(Rather unstable, but runs great. Its a image that i took from the tf700, so a few things need to be fixed by someone more on to it than me )

http://www.youtube.com/watch?v=oRHXsG2G3c8

http://www.youtube.com/watch?v=xzV4K11YNMY

Xubuntu 12.10(Very stable! and very fast, this video doesnt do it justice)

http://www.youtube.com/watch?v=qdo5CMLg6oY

things that arnt currently working

-suspend to ram(fixed on the tf700, so im sure it can be done on the tf300)

-sound(im currently trying a fix for it, but atm it doesnt work)

-bluetooth? haven't tried it.
[Eee Pad Transformer Android Development] Kingzak34:
Yup, but for exemple 11.10 doesnt read batt stats correctlty from the dock, even if it's full.

BTW, how big is your IMG ? You may share it with us ?
[Eee Pad Transformer Android Development] transformador:
It is reading battery stats correcly ;P It is 3gb with about 1gb free, ibut i am sorry i cannot share it. I mean, you can easily do it yourself by downloading it (link in the thread in my signature), then install tegra drivers from .deb (when home i upload the file in attachments), then install zram(which makes it way faster), then sudo apt-get install libgl1-mesa-swrast and fix sound, then install gnash and the other stuff you want, and then if you want you can upgrade :)

Other than that, i said about 3 times gnome 3 was slow, no idea why you evenwant it xD

[MENTION=4582979]JoinTheRealms[/MENTION] : Damn i hope my parents allow me to buy a new tablet (actually, they hate computers, im spending too much time, i already have a tablet and a laptop, and and and...

Thanks for the videos :)

Anyone got compiz working or is working on it?
[Eee Pad Transformer Android Development] Kingzak34:
BTW what deb package for tegra do you use ?
[Eee Pad Transformer Android Development] jrohwer:
This looks interesting!

Had a look through Rabits source code and it certainly looks doable for TF101. Except for one thing in that it uses the same kernel for booting both Android and Ubuntu. I don't have the skills for kernel hacking, but it seems for the tf700 they had to make a couple of changes to get the kernel to boot both OSs. Anyone tried this?

---------- Post added at 10:13 PM ---------- Previous post was at 10:04 PM ----------

I browsed through the TF700 forums and found 2 things that really speeded up Ubuntu on my TF101:

1. When running Ubuntu from a dedicated ext4 formatted partition on the microSD card, this is WAY (and I'm talking at least 1.5 times) faster than running from a loop mounted image on EMMC. Provided you have a decent fast microSD (mine's a class 10). I did not believe this at first as I assumed EMMC is always faster than MicroSD, but apparently the loopmount slows down things...

2. To fix the lag at high disk I/O, the following worked amazing :good: :D

http://xdaforums.com/showpost.php?p=39358288&postcount=136
[Eee Pad Transformer Android Development] Kingzak34:
Do you know if it's possible to have it booting from dock sdcard ? ( What do I need to edit in cmdline ? )
[Eee Pad Transformer Android Development] jrohwer:
Sure I think it should be possible although I haven't tried it myself. First find out the partitions of your dock SD. Under Ubuntu

/dev/mmcblk0 is EMMC (internal)

/dev/mmcblk1 is microSD on tab

So I would guess dock SD is /dev/mmcblk2 but am not sure. Easiest way is to insert a dock SD while running ubuntu and then do a ls -l /dev/mmc* to see what is there.

Then it depends on the partition on the sd that you have formatted ext4 and where you then put the Ubuntu rootfs. I installed mine on the second partition of the microsd (/dev/mmcblk1p2). So yours would maybe be /dev/mmcblk2p1 or p2 or whatever you are using.

Then on the command line change:

root=/dev/mmcblk0p7 loop=/media/ubuntu.img

(or whatever your loop setup is) to

root=/dev/mmcblk2p1

(or whatever your Ubuntu partition is).

Cant think of a reason why this wouldn't work, you should even be able to run it of a USB stick.
[Eee Pad Transformer Android Development] josteink:
Not to be presumptuous but I'm pretty sure this is incorrect.

I looked into something similar for my No-name Cm10.1 device-tree, and while investigating that, I found that regular SD-cards are handled very differently from the other devices. Probably due to only being accessible via the dock connector (and thus only via USB).

More details here:

https://github.com/josteink/device_asus_tf101/issues/29
[Eee Pad Transformer Android Development] jrohwer:
OK I haven't got the tab with me at work, so can't check, but will look into it tonight at home. I can't remember off hand whether I actually mounted a SD card on the dock under Linux. I know I did this under Android but as you say then it's handled by VOLD. BTW I'm not running CM but stock rooted on my tab but that's irrelevant here because we'd need to know what device the Linux (3.1.10) kernel is reporting when booting Ubuntu.
[Eee Pad Transformer Android Development] Kingzak34:
I'll take some time to play with it too after my finals ;)

Envoyé depuis mon Nexus 4 avec Tapatalk
[Eee Pad Transformer Android Development] JoinTheRealms:
[MENTION=3753391]jrohwer[/MENTION] is hdmi out working with your kernel? id love to pull out ye ol' tf101 and give these new goodies a try, if so is it possible to change the output resolution?

Many thanks:good:
[Eee Pad Transformer Android Development] Kingzak34:
When plugged in at start it works but I didn't try to change resolution and when plugged after start only very low res works it give an error for other res will test a bit more this night

Envoyé depuis mon Nexus 4 avec Tapatalk
[Eee Pad Transformer Android Development] jrohwer:
Don't know haven't tested it. You may have to define the resolution manually by creating a modeline in /etc/X11/xorg.conf. Something like this may work (NB untested!):

Section "Monitor"
Identifier "HDMI-1"
Modeline "1024x768" 0.0 1024 1024 1024 1024 768 768 768 768
Modeline "800x600" 0.0 800 800 800 800 600 600 600 600
EndSection
[Eee Pad Transformer Android Development] kennyMC:
Can somebody point me to the right direction...

I tried to use ubuntu from my sdcard (ext4 partition). here is what I tried so far:

1. put the image on sdcard with

dd if=..somewhere/linux.img of=/dev/sdd2

to the ext4 partition i created before... did this on my computer

2. extracted the kernel (linux 1.4Ghz) with

abootimg -x linux1.4ghz.img

3. updated the bootimg.cfg to this:

bootsize = 0x800000
pagesize = 0x800
kerneladdr = 0x10008000
ramdiskaddr = 0x11000000
secondaddr = 0x10f00000
tagsaddr = 0x10000100
name =
cmdline = nvmem=128M@384M mem=1024M@0M vmalloc=128M gpt video=tegrafb console=tty0 usbcore.oldscheme_first=1 lp0_vec=8192@0x1fbed000 root=/dev/mmcblk1p2 ro quiet splash

4. made the updated img with:

abootimg --create xlinux.img -f bootimg.cfg -k zImage -r initrd.img

5. made the kernelblob

blobpack kernelblob LNX xlinux.img

6. updated the zip file to flash it via recovery

7. flashed it via recovery..

but when i restart it says "kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)" and the device is rebooting permanently.
[Eee Pad Transformer Android Development] TomTcom:
By default your recovery and kernel for Ubuntu share the same partition. Look at where the files go in the tubuntu configuration directory.
[Eee Pad Transformer Android Development] jrohwer:
What is the initrd.img that you use to build the boot image? Can it parse the modified "root" parameter on the command line?
[Eee Pad Transformer Android Development] kennyMC:
thanks! i tried the initrd.img from your kernel, now it works flawlessly!
[Eee Pad Transformer Android Development] Kingzak34:
Do you think do it on a USB stick can be as fast as mountloop or as sdcard installation ? Cause with USB I'm not sure, but it can be cool too.
[Eee Pad Transformer Android Development] jrohwer:
OK you are right and I stand corrected. :o

The dock SD reader is handled through the USB interface (emulated USB SD card reader). However, it is still accessible in Ubuntu. Its device node will however depend on whether there are other USB devices present in the USB ports. With no USB devices the SD card is seen as /dev/sda under ubuntu. So I guess you could put the ubuntu on partition 1 or 2 of the SD card and then change the ubuntu command line to root=/dev/sda1 or /dev/sda2.

Note however that USB is buggy on the 3.1.10 kernel and the devices have to be present from boot to be recognised properly. But if you want to boot Ubuntu off a SD it has to be there from boot obviously! :)

---------- Post added at 09:38 PM ---------- Previous post was at 09:37 PM ----------

I am sure it is possible to run off a USB stick but I am not sure about the performance of USB vs microSD vs EMMC. I have not benchmarked it. Also not sure whether the SD (mounted though USB interface) is as fast as the microSD which is mounted directly as a MMC device.
[Eee Pad Transformer Android Development] Kingzak34:
I'm sure it can be done, but yes, wasnt sure about performances
[Eee Pad Transformer Android Development] JoinTheRealms:
Thats interesting, has any of you ever loaded ubuntu on a flashdrive for use on pcs? The performance is painfully slow but if you use the "toram" feature where it loads most of the os into ram its actually very fast.
[Eee Pad Transformer Android Development] jrohwer:
Never tried it myself....
[Eee Pad Transformer Android Development] transformador:
Loading ubuntu into 1gb ram sounds fun xD

I heard it was hardcore unstable and slow because of the dock connection to run from usb...
[Eee Pad Transformer Android Development] Kingzak34:
I've a persistant live of 12.04 on a USB key, allways usefull.

Do you know if there's something to do about poor performances with L4T or it's Nvidia problem ?
[Eee Pad Transformer Android Development] GameEs:
uhh. I'd like to get this on my Transformer, BUT.

what if I'll have a problem, won't be able to boot. What can I do when Ubuntu is instead of my recovery?

How do I get it onto my transformer step by step? I'm not sure how to do it. I'm currently on the stock ICS rom with root (and CWM). What do I need to do before installing Ubuntu? Do I have to flash a different rom?
[Eee Pad Transformer Android Development] Kingzak34:
Depend what you want guides are on op for real dualboot search a bit ... And for mountloop tronsformador made a thread

Envoyé depuis mon Nexus 4 avec Tapatalk
[Eee Pad Transformer Android Development] GameEs:
I would like to use Linux and also Android. I think the easier method would be better for me. I flashed plenty of roms earlier, but none worked as I imagined so I'm at stock for a few months. I also don't know if I've got SBK 1 or 2 cause I've got B70.
[Eee Pad Transformer Android Development] Kingzak34:
I think you must first try mountloop to get an idea on waht is it, then is you're OK dualboot.

Look à transformador thread to see how to mountool setup ubuntu
[Eee Pad Transformer Android Development] GameEs:
I'm not sure how to do mount-loop. I just flash Ubuntu-mountloop.zip? And where do I put Tubuntu image?
[Eee Pad Transformer Android Development] Kingzak34:
Pleaaaase, search man, I just pointed you the thread of transformador for a step by step configuration.

Here's the link.

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

Ho, and avoid to post same question in different thread ...
[Eee Pad Transformer Android Development] onmail:
11.10 with 3.1 (NVidia, Bluetooth & WiFi working)

First - it seems to me that initrd in the novaspirit kernel is the problem. It did not work with my 13.04 and had problems with 11.10 also. So I have extracted the initrd from Jhinta (well not sure, maybe it was another kernel I have downloaded), made zImage, made modules, "installed" them to extracted initrd, made initrd image, made kernel image with the new initrd and it is working on my 11.10. I have used Nvidia beta 15, installed, it seems to work (glxgears 300+) and even Hamachi is working on 11.10 :) Well, not sure about playing games etc. but it is a progress at least for me :)
[Eee Pad Transformer Android Development] jrohwer:
Well, I got 11.10 going as well with Jhinta's kernel, as well as 12.04.

Nvidia works. Only the upgrade to 12.10 or 13.04 fails, so am interested to hear your progress :)
[Eee Pad Transformer Android Development] themac:
Dear OP, cane we make a little order in first thread ?

I own a sbk v2 tf101 , willing to install some kind of USABLE Ubuntu flavor...but we have too many progs, too many versions, too many instructions.

This should be a ONE CLICK thread :)

And is unclear, as today, which flavor works best with our tf101. Raring ? Arch ?

Thanks for the effort anyway, mine only wants to be some constuctive critic, i hope :)

TheMac
[Eee Pad Transformer Android Development] Kingzak34:
Look at guide on first page man ...
[Eee Pad Transformer Android Development] themac:
thanks Kingzak34, just the kind of answer that one can expect from a senior member....

TheMac
[Eee Pad Transformer Android Development] Kingzak34:
I'm just saying, if we make guide, it's for having the best, dont you think ?

Beeing SBKV2, you just have to follow my guide to setup a ( Real ) dualboot.

Then you have 2 choices. Use Lubuntu by x3maniac like described in my guide or use raring img and follow TomTcom good guide after setting up with this img. Choice is yours, I cant tell wich is better.

But, if you dont want to reformat whole tab, you can try to set up mountloop dualboot. ( No need PC for recovery, need recovery to switch beetween Android/Linux, more slow than real dualboot but easier remove / change )
[Eee Pad Transformer Android Development] onmail:
OK, so I have finally tried my compiled 3.1 kernel which was working on 11.10 and it is (more or less) working on 13.04 and 13.10. I have just tried it and it boots to xfce and gnome-core, wifi is working but have no sound and no bt. I have tried the official ubuntu Tegra (16.2) and again xfce is ok but glxgears gives me an error so I think the driver is installed but is not working (had no time to try). So it seems to me 11.10 is the best choice but I can at least run the 13.04 on 3.1. But I see no point in doing this if the Tegra driver is not working. I will try later.
[Eee Pad Transformer Android Development] jrohwer:
Would you mind sharing the config you used to compile your kernel?
[Eee Pad Transformer Android Development] TomTcom:
I have X3's kernel source from his github forked from nvidia based on 3.1.10. How are you merging the 16.3 downloads into the kernel source? I read the pdf on Linux4Tegra website but the documentation isn't clear on how to set it up but I am able to compile using X3's 2.6 source so I figured if I could merge his older 3.1.10 source and the new 16.3 then it could work.

Any suggestions?
[Eee Pad Transformer Android Development] onmail:
I have used the one marked as "*updated kernel 12/10/2012*" on the first page, extracted config from it and changed nothing special, just needed to remove couple of things (mainly from kernel debug) because the kernel image was bigger. But I have used initrd which I extracted from another 3.1 kernel which was not working for me (sorry, don't know which one it was), compiled the zImage, made modules, made modules instalation to extracted initrd, repacked it and made the final image with abootimg. I will send the modules, kernel and config later, sorry about that, I need to pick up kids from school now...
[Eee Pad Transformer Android Development] jrohwer:
Well I have been working off Jhinta's kernel source from his github which is also based on nvidia 3.1.10. I believe X3 has incorporated Jhinta's patches into his tree, at least until August 2012 (from briefly looking at his github). But I don't think that is the problem since the compiled kernel works including nvidia graphics. Why would it not work on 12.10 or 13.04?

I have never merged NVidia 16.3. downloads into the *kernel*. It is a set of proprietary drivers and binaries that you have to install into your *rootfs*. In your downloaded nvidia drivers package, in the "Linux_for_Tegra" folder there is an "apply_binaries.sh" script that takes care of it. Just be sure to use the correct ABI version for your installation of X (this will differ between Ubuntu 12.04, 12.10 or 13.04).

I have not done any of this since I have not even gotten the kernel to boot 12.10 or 13.04 *text mode* (without X started). But I'll try onmail's kernel since he evidently got 13.04 to boot but the X drivers not working.
[Eee Pad Transformer Android Development] TomTcom:
Thanks for your information. I downloaded the "sample" file system from L4T and I was able to add the tag it mentions during the synch script and then I did run the apply_binaries script. I guess I'm just confused as to how to use existing kernel code from X3 with the updates nvidia provides.

I think X3 had 2 3.1 based kernels, one was jintha's and the other was described as "forked from nvidia" so I git cloned that one. I'll keep looking at it. Thanks!
[Eee Pad Transformer Android Development] Kingzak34:
I'll try to use my img with sound, BT and all working to an upgrade to 13.04 and I'll report back result when I got some times ( Tomorrow I think ;) )

Thanks anyway