yashsingh1/xdaforums huggingface dataset:
[Xoom Android Development] garnmeister:
Yes it is :-)

Am I sure?

Yes I am, since I do get the Root permission prompt and allow terminal the privilege.

Flashing custom rom right now, lets see if that solves anything.

EDIT: Custom Rom fixed everything, apparently the rooting procedure didn't completely fix root, running Prime v.1.2 now and installation ran *BAM*

EDIT2: Now everything is up and running, nicely done. Any chance of being able to change resolution, as of now it's filling up the screen. Would it be possible to get Java running on this thing and even installing applications?

Honestly I find this solution to running Ubuntu on a tablet much better than trying to dual boot, this way Ubuntu will always be accessible and still Android is only a hotkey away. Great great work man, kudos to you!
[Xoom Android Development] ethanpil:
Would you mind doing some tests on batterly life with Ubuntu vs Android?
[Xoom Android Development] garnmeister:
What do you mean by ubuntu vs android, since one is running on top of the other
[Xoom Android Development] ethanpil:
What I mean is for example playing a video on stock android vs within ubuntu, or browsing in ubuntu vs android

im guessing that ubuntu would be less battery friendly, but i'm wondering how much?
[Xoom Android Development] garnmeister:
I'll try it out, not even sure it will be possible with this early build, but will try later today.

Sorry for any typos. I have fat fingers, a 4" screen, a small child and a dictionary gone wild...
[Xoom Android Development] zeddock:
Can you post screen shot please?

Captivate always on mikey's latest wonder, whether Serendipity or GR-11
[Xoom Android Development] garnmeister:
Haven't had time yet, will get around to it eventually

__________________________________________

Digitallife in the sky!

Home Server / Mediacenter core i3

Asus eee Pad Transformer

Samsung Galaxy S

... All in wonderful sync
[Xoom Android Development] garnmeister:
Still trying to get it to run fullscreen

__________________________________________

Digitallife in the sky!

Home Server / Mediacenter core i3

Asus eee Pad Transformer

Samsung Galaxy S

... All in wonderful sync
[Xoom Android Development] case0:
Isn't quite working on my transformer.. looks like this:

Any ideas?
[Xoom Android Development] garnmeister:
You have to set the vnc connection to run in 24-Bit colour :-)

Sorry for any typos. I have fat fingers, a 4" screen, a small child and a dictionary gone wild...
[Xoom Android Development] garnmeister:
How do I get this run in a 1280x800 resolution. Tried altering the vnc script, but that has made no difference :\

Figured it out...

System/ubuntu/use/bin/vnc.sh

__________________________________________

Digitallife in the sky!

Home Server / Mediacenter core i3

Asus eee Pad Transformer

Samsung Galaxy S

... All in wonderful sync
[Xoom Android Development] ViViDboarder:
Also... http://xdaforums.com/showpost.php?p=13685572&postcount=173
[Xoom Android Development] x1crazy:
Hi im having the same issues with permission and im rooted and runnung Prime v.1.3 . What should i do? thanks
[Xoom Android Development] case0:
Doesn't run anymore, anyone got any ideas?

Get these errors:

Thanks in advance
[Xoom Android Development] x1crazy:
Guys it works for me now - transformer - Prime v.1.3 - they only way i had it to work is go through adb shell from windows - use "su root" and run each command in the "setupubuntu" .
[Xoom Android Development] GhostOfTheNet:
i collected some experience i the meantime. run always su at the beginning

do not use better terminal pro for setupubuntu and startubuntu there are problems with the env variables of better terminal pro.

regards
[Xoom Android Development] x1crazy:
Thanks and that was exactly my problem , I first used "better terminal" without success and I even reinstalled rom ,thinking that will help. "su root" with another terminal is the way to go, for me adb shell worked. Any good terminal for honey honeycomb?
[Xoom Android Development] GhostOfTheNet:
better terminal pro :D

the next version of the script i designed so that it doesn't matter what you use. it is easier, and there's also natty used. today i need to test it(i hope /system/bin/sh supports the same constructions like bash). if test is successful, you will get it. oh..., support for ext formatted sdcard partition is also included, so the space should not be a problem anymore.

wish me luck that testing goes well so you can have it soon.

kind regards

ralph
[Xoom Android Development] garnmeister:
Good luck :)

Sorry for any typos. I have fat fingers, a 4" screen, a small child and a dictionary gone wild...
[Xoom Android Development] ayman07:
i have modified this file but nothing happens. sometims when i restart my tf it just goes back to the nrmal settings. i looked at the suggestion beneath yours but that file doesnt exist. there is a file in the / of the nand but that file is all encrypted. what else can i do?
[Xoom Android Development] 2JZ GZE:
how long is the install portion supposed to take? its been installing for the past ten minutes
[Xoom Android Development] ayman07:
It takes a LONG time. Felt like15-20 min.
[Xoom Android Development] 2JZ GZE:
yea my install did not work using GOTN's method, so I ended up using this guy's method: http://trsohmers.com/2011/03/06/how-to-run-ubuntu-on-the-motorola-xoom/

the only problem now is that all my softkeys are mapped incorrectly...anyone know of a fix ?
[Xoom Android Development] 2JZ GZE:
Mine took a hour!! haha

Why are some of the programs not listed in the application menu? I edited the menu to add them, but when I click them, they do not open.

IE. I added the "panel" app so I could disable the hoverover tips. When I click "panel" it just states starting panel and never opens.
[Xoom Android Development] Boris Sidis:
1280x800 doesn't fit well. Change resolution in /root/init.sh. More information here:

http://xdaforums.com/showthread.php?t=1087984
[Xoom Android Development] GhostOfTheNet:
UPDATE

finnaly i finished 11.04 update

script is rewritten (includes its own busybox and bash)

sdcard install is now possible. need first to repartition your sd, first partition needs to be the fat partition (otherwise xoom will not find the fat)

until now i didn't tried the installubuntu script(inside ubuntu), but should work

have fun
[Xoom Android Development] Analog_Kid:
Thank you! I love adding to the list of what my Xoom can do.

Do we need to do anything different to upgrade from the other release, or can we just download and run this as usual?
[Xoom Android Development] GhostOfTheNet:
it's not upgradeable, you need to delete the old one before installing the new one

the howto is in the first post

also the fix for the vnc bug
[Xoom Android Development] 2JZ GZE:
everytime i try putting a command in, such as "su sh ubuntu install," i keep getting permission denied. Any ideas?
[Xoom Android Development] 2JZ GZE:
can anyone help? or has anyone else successfully upgraded?
[Xoom Android Development] basser0815:
Yes there seems to be something wrong and some files and dirs are missing in the zip.

Nevertheless thank you for your work. I'd really love to have ubuntu on my transformer.

Edit:To clarify, when I tried it, the tools dir was missing. I created it, then the script started but complained about other missing dirs and files. That's why i guess something is missing in the zip file. I could be wrong however.
[Xoom Android Development] 2JZ GZE:
Perfect answer! haha I thought I was going crazy. I shall wait for the fix.
[Xoom Android Development] 2JZ GZE:
Any updates?
[Xoom Android Development] GhostOfTheNet:
directory problem fixed, see in top post

concerning the permission denied, this is another problem

try to type first su, if this fails you flashed maybe a kernel which is not rooted, or you have superuser not installed, or you made a misconfiguration of superuser. try to delete all data of superuser

if su wass successful, there should be no problem with sh ubuntu install

regards
[Xoom Android Development] starcms:
Thanks, installing now!

Regarding the permission denied, instead of typing the commands like "su sh ubuntu install" try typing "su" first, enter, then "sh ubuntu install". Worked great for me.
[Xoom Android Development] starcms:
No go here. A crapload of errors after running "ubuntu vnc" ending in "Connection failure: connection refused"

edit: NM! Even with the errors, VNC connects fine and everything seems to be working great! Awesome!
[Xoom Android Development] GhostOfTheNet:
the first error means, that the tool image is already mounted(no problem), the errors you are seeing after are xserver messages/warning/non fatal errors, if you look at the xserver log in ubuntu :eek:... you have the same.
[Xoom Android Development] starcms:
Ok cool, thanks. Now, lastly, how do I change the resolution to 1280x800? There is no root/init.sh file inside of ubuntu (yes I checked show hidden files).
[Xoom Android Development] Shadomastr:
Having some problems here. I got ubuntu running but it tells me I have hardware problems and am not able to run unity. Is this fixable? Its got me in classic right now

Edit: restarting the xoom fixed my problem. But clicking ubuntu software center to download anything shows a bar on the bottom like its loading but soon disappears. Any fixes?
[Xoom Android Development] zeddock:
Pictures?

Thanx!

Zeddock

Captivate always on mikey's latest wonder, whether Serendipity or GR-11
[Xoom Android Development] basser0815:
Hi,

I tested the latest version on my transformer and it installed fine. Upon VNC start it also tells me about missing hardware and starts the classic mode. It seems to work fine, except for starting the software manager and starting a terminal. It tells me that getpt failed. Probably there are some differences between the xoom and the transformer.

Nevertheless, keep up the good work.
[Xoom Android Development] 2JZ GZE:
Finally got it installed...whew..that was fun..haha

Can't seem to open software center
[Xoom Android Development] Shadomastr:
Upon reboot mine was able to boot correctly, I.e. not in classic mode. I'm loving the smoothness and the speed but cannot seem to open the software store window. I need to download quickoffice and get my productivity going!
[Xoom Android Development] Shadomastr:
Ill post pics tonight when I get home. Not sure what app to use for snapshot. Suggestions?
[Xoom Android Development] 2JZ GZE:
still cant get the resolution up...any idea guys?
[Xoom Android Development] GhostOfTheNet:
concerning the resolution. i'll build in something like "ubuntu config", there you'll be able to change it. just wait one or two days. concerning unity... thats running via vnc until now... means no 3d, no unity. the message because of the lack of 3d comes only the first time, after this classic is default.

i doubt this will ever support 3d, but instead i'll start a project to debianize android. and hopefully get one day a full switch between androids ui and xserver(like you switch between xserver and console). there you would have all needed for compiz fusion and unity. but this is further away if it is even possible how i imagine and i get the community help i need for(search the xoom general forum for powerdroid).

oh, concerning software center... settings->system->synaptic

more complex but working package manager.

ralph
[Xoom Android Development] chris17922:
aircrack? packet injection?
[Xoom Android Development] GhostOfTheNet:
do not know, try it.
[Xoom Android Development] basser0815:
Can you open a terminal inside Ubuntu? Or do you also get the getpt() failed message?

And maybe related to this, did you also have warnings during the Ubuntu setup routine about something like "failed to write debug message to /dev/pts" (can't remember exactly)?
[Xoom Android Development] GhostOfTheNet:
xterm should not work, there is a problem with pty. also such things like minicom are not working for now. Also wireshark is not working, so aircrack will also not.
[Xoom Android Development] Shadomastr:
I can't open a terminal inside Ubuntu as i have the same problem you had. I do not remember getting the error message you got during set up, but I really wasn't watching it the entire time.

Thanks for the synaptic manager tip GOTN, downloaded Firefox but Ubuntu tells me its broken every time I try to launch. Is this a known issue?
[Xoom Android Development] funkatiko:
I had the same problem with th terminal inside ubuntu. Now i´m triying to install crossover but every version i find fails because it says it´s not made for ARMV71 architecture....do u guys know where to find one compatible or another way of installing windows programs??

Thanks!
[Xoom Android Development] DemonGloom:
Sorry, no Windows except emulating through Qemu... It can be possible, but will work extremely slow..
[Xoom Android Development] funkatiko:
Would u mind to explain me why is not possible to use wine or crossover? ( Linux extremely noob here :P)

I just would like to run really old and easy programs.Also another question.....is there any possibility of running Ubuntu as the main O.S, not as an emulation?

Thanks!
[Xoom Android Development] AdamOutler:
it will work but it will be slow

Btw... You can run 11.04 under AndBuntu as well.

http://andbuntu.googlecode.com
[Xoom Android Development] AdamOutler:
It would take a kernel designed to do so. It would not be hard, but it would have to be done for the device.... basically...

1. kernel loads as usual

2. kernel then mounts img file /dev /proc and others

3. kernel then starts the system

4. system must have an on-screen keyboard for use across all platforms.
[Xoom Android Development] funkatiko:
What will work really slow? Wine-crossover? or ubuntu as the main O.S?

What i´m asking is if there´s no possiblity to avoid running android (if we wish) and only booting Ubuntu.

I couldn´t find any download of that project....

Thanks!
[Xoom Android Development] Nitro_123:
Compiz would be DOWNRIGHT EPIC!!!

Let's see the devs do it!!!
[Xoom Android Development] GhostOfTheNet:
wine/crossover will never work. why? different architecture. programs compiled for x86 are not able to run on another architecture, except there are compatibility layers... in this case a whole cpu emulation like qemu ;)

but installing ubuntu under qemu to run wine... its more easy to install windows under qemu(a windows 95 installation under android is walking around the net somewhere)

maybe this will be my next toy :D

i think in something like... worms or prince of persia under windows in qemu under android .............

oh, concerning terminal. forget xterm and so on. use ubuntu shell
[Xoom Android Development] AdamOutler:
To fix the terminals, you will need to create a generic termial device in the /dev folder. the file that's missing is /dev/ptmx. It's probly been created by root, but not assigned the appropriate device codes. mknod it.

Thanks again.
[Xoom Android Development] funkatiko:
Ok so i forget about wine or crossover in my xoom....

I had installed Windows 95 in my nexus one but i couldn´t mount my data storage and also windows 95 is reaaally old....

Would be amazing to have at least Windows XP running ( i guess/hope XOOM is enough powerful to emulate it?)

And yes, that´s my point. That kind of games...i was going a bit further because i wanted to install wine/crossover to run Heroes of Might and magic 3 (and games/applications of that generation)

Lets see where this gets!

Keep on the amazing work! :)
[Xoom Android Development] willverduzco:
Keep this on topic, guys. The title has been changed, and should make everyone happy. I've also removed the off topic posts and modified the OP.

Will
[Xoom Android Development] jiwengang:
I totally agree!

After spending couple of days trying to port a Ubuntu 11.04 to a Dell Streak 7, I almost reach the same stage here , where a lot of things don't work because of Kernel's suport lacking.

And also, not sure if it is same to everyone on Ubuntu Xoom, does your kernel disabled the shared memory management completely?

Pts() probably we can manually mount it and I may try it out later.
[Xoom Android Development] GhostOfTheNet:
concerning the terminal... thanks for the hint. but that device is here. i'm binding directly the /dev of android into the ubuntu distri.

edit: resolution configuration update is here, have fun
[Xoom Android Development] thesilverhawk:
how do i use this? thanks
[Xoom Android Development] GhostOfTheNet:
the update? see in first thread.
[Xoom Android Development] Zorkman:
would this also run on the nook color?
[Xoom Android Development] Shadomastr:
Ran the update this morning. Now when I su and run ubuntu start, command line tells me

ioctl LOOP SET FD failed: device or resource busy

Then, permission denied

Any solutions? Do I need to reinstall? I tried changing permissions through root explorer but that just made the device repeat its answer 3000 times and I had to exit out and change permissions back.
[Xoom Android Development] GhostOfTheNet:
you are suing before?

the "ioctl LOOP SET FD failed: device or resource busy" ignore, it comes each time the ubuntu script is called except the first time per session. also you should think, after reboot you need "ubuntu start" only once

in the worst case do a reboot, say ubuntu install and use the old image or if you used a partition not install it new. then teh script gets reinstalled, but the ubuntu installation stays untouched

concerning nook color... is it rooted, then should work
[Xoom Android Development] AhmadAlmousa:
Great work guys !!

but I'm having a problem; and I hope someone would help me out with it

when I type the command: sh ubuntu install

it returns the following

ubuntu: /system/bin/mount: not found

ubuntu: /mnt/sdcard/ubuntu/tools/ubuntu: not found

any suggestions... ?!
[Xoom Android Development] niematunikogo:
Thanks for great contribution:-)

I've installed ubuntu last night but didnt have time to play with it yet.

According to what you have written, the /dev should resemble the actual /dev of android system?

So what are the chances that if i plug usb webcam into xoom it will be recognised under ubuntu?

I dont have any webcam yet so its better to ask before purchase :-)

My otg adapter has arrived today from hong kong so i'll give a try to mounting some usb drives... etc.

@all: what is the most usable program (in ypur opinion) that you have successfully installed in ubuntu?:-)
[Xoom Android Development] niematunikogo:
Dmesg under android and ubuntu shell shows the same output so i guess as long as android kernel recognizes new hardware we can do magic with ubuntu software, true?

I need a hint concerning keybord.. how to make it appear? When inbubintu i'm unable to type anything so its ... useless...
[Xoom Android Development] Shadomastr:
This is what I'm getting:

$ export PATH=/data/local/bin:$PATH

$su

# ubuntu start

ioctl LOOP_SET_FD failed: Device or resource busy

/system/bin/ubuntu: /mnt/sdcard/ubuntu/tools/ubuntu: permission denied

# ubuntu vnc

ioctl LOOP_SET_FD failed: Device or resource busy

/system/bin/ubuntu: /mnt/sdcard/ubuntu/tools/ubuntu: permission denied

# ubuntu shell

ioctl LOOP_SET_FD failed: Device or resource busy

/system/bin/ubuntu: /mnt/sdcard/ubuntu/tools/ubuntu: permission denied

#

Haven't reinstalled in the hopes that something will fix the problem. Ive been going through root explorer changing permissions and such (though always changing them back) to no avail.

Any help?
[Xoom Android Development] GhostOfTheNet:
shadomastr...strange. it seems root has a problem or the ubuntu script is damaged. reboot, backup /sdcard/ubuntu/img/ubuntu.img (if you didn't use a partition), remove ubuntu folder and extract the ubuntu.zip again.move ubuntu.img back, run ubuntu install and choose old image.

niematinikogo... exact. as long the android kernel recognizes something you can use it in ubuntu. because recognizing... i didn't tried it until now, but it should be possible to build a new kernel directly in ubuntu and put it onto the boot parition. if you want to try out, apt-get install build-essential and download the tiamat sources.
[Xoom Android Development] niematunikogo:
Hmmm i've never done that before (building kernel) if given a few tips and said that i wont break my xoom.. then i could give it a try
[Xoom Android Development] jiwengang:
To OP:

Thanks for your great work on this line!

I tried to port this into Dell Streak 7. It is so far only text-based Ubuntu working.

I will continue working on the graphical session for DS7.

Thanks again !

Cheers,
[Xoom Android Development] GhostOfTheNet:
concerning dell streak, thats good, feel free to take my script and do with it whatever you want. only making money I wouldnt like.

concerning kernel compiling, when you never done so, you have three possibilities.

* learn it, in this case I would say take a pc to learn. then learn something about the android system partitions

* wait until ive done that so that you have a line you can follow

* take the bloody way and go with your head through walls. then you have more and faster learning by doing, but risk your xoom when you do the wrong things. if you choose this way... PLAY ONLY WITH THE BOOT AND SYSTEM PARTITION, THEN YOU CANNOT DAMAGE YOUR XOOM UNRECOVERABLE

me personally... i should prefer the first way, the most time im going the third and hope that my technic skills are enough to avoid things which would damage my toy :D

so far... happy learning
[Xoom Android Development] double1:
Anyone can post a video of this running would be koo.
[Xoom Android Development] niematunikogo:
Probably you'll do it sooner then I'll learn how.. but still sooner or later I would like to learn it so thanks for tips ;)

meanwhile i've connected to xoom/ubuntu via vnc flom my laptop, installed libreoffice and did some job in writer -- purely awesome ;)

shame some things still dont work.. maybe someone (OP?) will manage to modify kerner in harmless way for android but in a way ubuntu will gain it wings ;)

I seriously believe that this if this happends, and ubuntu gets proper support for touchscreen, then this android/ubuntu combo will be powerfull full of awesomeness tool for fun/work/productivity...

great.
[Xoom Android Development] zeddock:
I am curious too. I asked for some pictures a few pages back but I think everyone is too busy and excited to take time to actually do it!

Zeddock

Captivate always on mikey's latest wonder, whether Serendipity or GR-11
[Xoom Android Development] Shadomastr:
I tried to take pics but both shootme and screen capture weren't working on my device. Sorry
[Xoom Android Development] GhostOfTheNet:
so, new update is here which fixes the gnome terminal and the synaptic problem.

concerning the screenshots... sorry, my time is limited and I think other things are more important. if someone wanat to make some, you are welcome.

firefox and other things are not working, this seems to be a kernel problem so I'll start to build a new android boot on a tiamat base. ports onto other devices will need to do the same. i'll post in the technical section in op which kerneloptions are needed.
[Xoom Android Development] niematunikogo:
Thanks again. Small thing: url needs fixing (links to first update)
[Xoom Android Development] GhostOfTheNet:
link fixed
[Xoom Android Development] GhostOfTheNet:
will include in the next update which will come until sunday(maybe today in a few hours)

"ubuntu shell" will start/recover a screen session, so it will not die when android kills the terminal session. with "ubuntu killshell" you can kill it if you want/need

"ubuntu ssh" will start the ssh server of natty so you can reach the chroot env via network

maybe a buildsystem for bigrushdog's tiamat kernel, and the possibility to enable specified modules to enhance hardware support like different usb devices
[Xoom Android Development] GhostOfTheNet:
update is here, buildsystem is not in now. sorry for those who want to play around with the android linux kernel on xoom. you need to wait until i managed to successful compile it once(takes really long :().
[Xoom Android Development] niematunikogo:
I'll wait ;-)

Thx!