yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] devwithzachary:
If you are using the V5 image it asks you on boot what screen size you want. If your not using it then download the new V5 image
[Android Apps and Games] moskito34:
sweet.great job.v5 run my SGS2 HD LTE.....!how to move,use mouse?host mouse..
[Android Apps and Games] raongeek:
Sharp IS01 Working

Seems to work well on my IS01, thanks.

worldwideweb.youtube.com/watch?v=v_-RamDQRe4&context=C3014ae4ADOEgsToPDskJvleCDR97X3GcXugYQ7uQq
[Android Apps and Games] devwithzachary:
VNC has a host of ways you can control the mouse, the best for phones is the trackpad option (you can change this in the input method menu item). trackpad lets you use the touch screen like a laptop track pad
[Android Apps and Games] iphone=closedsystem:
I was just wondering, will this work on the Samsung Captivate?
[Android Apps and Games] DarkhShadow:
As long as you have root and kernel with loop support I don't see why not

Sent from my ice cream powered Nexus S
[Android Apps and Games] danarama:
Its hard. Its different from device to device. Which device do you have?
[Android Apps and Games] Night Galaxy:
Thanks! Worked like a charm.
[Android Apps and Games] ed_sambo:
Confirmed working on Galaxy Tab with Overcome 4.0 Kernel

Hi

Great little app, many thanks for it. I'd tried in the past to get Ubuntu working on my Tab with little success, so this is just perfect.

Device - Galaxy Tab P1000 GSM

ROM - Overcome 4.1.0

Kernel - Overcome 4.0.0

Many thanks.
[Android Apps and Games] hayst99:
Works on my Captivate (CM9 build 15)
[Android Apps and Games] shion420:
Running Perfect on Xperia Play 2.3.4 stock .62, lastest DoomKernel , OC at 1.5ghz and thats it.
[Android Apps and Games] ciscogee:
Tested. Works on my phone.

Phone: Samsung Continuum SCH-I400

Rom: EC07-Clean-Froyo 2.2.2

Kernel: Imnuts Hacked Stock [CustomBoot/StockMemoryMGMT]

great job!
[Android Apps and Games] iampeanuts:
hi IKBFreak,

im having problems with getting Ubuntu running on the TF 101, see my previous post on the issue, giving me the error code (which aparently leads to VNC not being able to connect:

"Undefined subroutine &main::INADDR_ANY called at /usr/bin/vncserver line 459.

* /dev/null is not a character device!"

You didnt have this problem or something similar? if you did, how did you solve it? googling the error provides me with info thats really hard to decipher for a Linux-noob, so your help would be appreciated.
[Android Apps and Games] ChrisBurr:
Great work, I've done this before on my old Hero but it was too slow to be of any use, far better now I've got my Galaxy SII :D

I can't however get the internet to work properly from within Ubuntu, I can connect to IP addresses just fine however anything that involves a DNS lookup fails I can't even get "ping" to work from a terminal, any ideas?

EDIT: Forgot to mention, I'm running a CM9 alpha build so I'm not sure if that could be contributing?
[Android Apps and Games] masterchiefb117:
Ive read thru out and I can figure out how to run on my KF for the life of me. Im almost 90% sure my KF has bool loop capabilities but every time it loads it freeze mid process and i have hard reset it.
[Android Apps and Games] moskito34:
At me the screen 1280x720 and when I choose this value that the screen ubuntu very much smal.should be chosen 2600x1600
[Android Apps and Games] karthiknr:
Not working on Zte Blade Gen2 running CM7 Nightly257. Tried with other ROM's like Gsf and Swedish Spring as well.
[Android Apps and Games] lkbfreak:
I guess your problem is stock rom and stock kernel. Not sure though... If you check the deviceand roms compatibilit list you'll see the Krakd rom and now I confirm Revolver rom.If you are on stock rom I suggest you to make a nandroid backup and flash one of these roms - you won't regret it because theyare highly optimised and fast as hell! You can always go back to stock from made nandroid if you don't like any of those custom roms.

I'm not into coding as well but the first minute I get my hands on some new android device is to root it and install custom rom. :D

Hope this helps - good luck mate!

Cheers!
[Android Apps and Games] leolawliet:
I found a different method that actually worked flawlessly.
[Android Apps and Games] devwithzachary:
Please PM me I would be rather interested
[Android Apps and Games] Francois88:
I tested it yesterday and it worked well (Galaxy Nexus, AOKP 22/Franco Kernel). However today I can't get it running. Here's what the console says:

sh ubuntu.sh

mkdir failed for /data/local/mnt, File exists

Loop device exists

mount: Invalid argument

mount: No such file or directory

mount: No such file or directory

mount: No such file or directory

mount: mounting /sdcard on /data/local/mnt/sdcard failed: No such file or directory

mount: mounting /sdcard/external_sd on /data/local/mnt/external_sd failed: No such file or directory

net.ipv4.ip_forward = 1

ubuntu.sh[31]: cannot create /data/local/mnt/etc/resolv.conf: No such file or directory

ubuntu.sh[32]: cannot create /data/local/mnt/etc/resolv.conf: No such file or directory

ubuntu.sh[33]: cannot create /data/local/mnt/etc/hosts: No such file or directory

Ubuntu is configured with SSH and VNC servers that can be accessed from the IP:

eth0: No such device

chroot: can't execute '/root/init.sh': No such file or directory

Shutting down Ubuntu ARM

failed: No such file or directory

failed: No such file or directory

failed: No such file or directory

failed: No such file or directory

failed: No such file or directory

failed: Invalid argument

app_190@android:/sdcard/ubuntu #
[Android Apps and Games] danarama:
Have you rebooted since?
[Android Apps and Games] Francois88:
Yes 10char_requirement
[Android Apps and Games] sublimejosh2000:
I am running Atrix, is there any way to just use Gscript to run this. If not, is there a way to just have the sh script run default of 960x540 and Choice LXDE .. I think I would have to edit the init.sh file inside of root once i am inside the image... can you give me some direction?
[Android Apps and Games] devwithzachary:
Yes you would need to edit the init.sh script, this sounds like a feature that would be in the future good to allow you to set and set once if you wish.

But for now you need to change the REZ variable used in the vnc startup line to what ever screen size you want.
[Android Apps and Games] sublimejosh2000:
So just change that line to 960x540 and save...

Also, I can comment out the scripts for choosing 1 or 2 and just put in a 1 text and it would run the LXDE? right?
[Android Apps and Games] Francois88:
http://xdaforums.com/attachment.php?attachmentid=854256&d=1326412205

Using this version of the script (from Epic_VS on Jan 13th) fixed my problem from 3-4 posts above.
[Android Apps and Games] ChrisBurr:
Turns out I had a problem connecting to Google's DNS servers for some reason, I edited /etc/resolv.conf and it works fine now.
[Android Apps and Games] sublimejosh2000:
Do I need to make it like:

read "960x540"

or

read 960x540

or just

960x540

? Thanks for your help./...
[Android Apps and Games] pazi79:
work on dell streak 5 gingerstreak 2.4.4

thanks
[Android Apps and Games] leolawliet:
As soon as I get access to my laptop I'll let you know how and where I found the files.
[Android Apps and Games] wicozani:
This looks really intriguing, but I can't seem to get it to work on my B&N Nook Color. I'm running CM7 Mirage, have the required 2 files in an "Ubuntu" folder at the root of my SD card, and whenever I enact "Launch Ubuntu" from the installer app, my screen flashes white and black a few times, and reboots my Nook. I'm running overclocked to 1.2 Ghz. with SetCPU, and otherwise everything on my Nook is running great. Any suggestions?
[Android Apps and Games] devwithzachary:
Very odd, you do have the terminal app installed? and the files are in a folder called ubuntu not Ubuntu, and that folder is in the /sdcard directory (if the nook has internal memory its likely mounted /sdcard)
[Android Apps and Games] Deadwalk:
Hey Guys, i tryed it yesterday with the full image on my galaxy nexus gsm with aopk_maguro 22 and franco 16.2 kernel and it worked flawlessly.

i played with it for an hour and killed it with exit and waiting.

today i wanted to start it again and now i get :

app_60@android:/ $ export PATH=/data/local/bin:$PATH

app_60@android:/ $ su

app_60@android:/ # cd sdcard/ubuntu

app_60@android:/sdcard/ubuntu # sh ubuntu.sh

mkdir failed for /data/local/mnt, File exists

Loop device exists

mount: Invalid argument

mount: No such file or directory

mount: No such file or directory

mount: No such file or directory

mount: mounting /sdcard on /data/local/mnt/sdcard failed: No such file or directory

mount: mounting /sdcard/external_sd on /data/local/mnt/external_sd failed: No such file or directory

net.ipv4.ip_forward = 1

ubuntu.sh[31]: cannot create /data/local/mnt/etc/resolv.conf: No such file or directory

ubuntu.sh[32]: cannot create /data/local/mnt/etc/resolv.conf: No such file or directory

ubuntu.sh[33]: cannot create /data/local/mnt/etc/hosts: No such file or directory

Ubuntu is configured with SSH and VNC servers that can be accessed from the IP:

eth0: No such device

chroot: can't execute '/root/init.sh': No such file or directory

Shutting down Ubuntu ARM

failed: No such file or directory

failed: No such file or directory

failed: No such file or directory

failed: No such file or directory

failed: No such file or directory

failed: Invalid argument

app_60@android:/sdcard/ubuntu #

can someone help me with this please?

allready did a reboot.
[Android Apps and Games] wicozani:
Yes, I have the terminal app, and I did use a large "U" in Ubuntu in my folder. I will change that to a small "u" and try again. Thanks for the quick reply!

---------- Post added at 05:56 PM ---------- Previous post was at 05:19 PM ----------

Well, Root Explorer tells me that it can't change my "U" to "u" because "... it already exists", and it stills reboots my Nook when I try to launch Ubuntu. I'm also being told that suddenly my Android framework is not working or loading properly. Suggestions?
[Android Apps and Games] wicozani:
Ok, using the script and terminal I was able to get to root@localhost:0, and then minimized terminal and booted up VNC host and was able to bring up LXDE desktop! I played around with it for just a while, but it looks like it's optimized for mouse and/or physical keyboard. Is this capability mainly for developers' use, or what typically can we normal Android users use this for? Thanks for this renewed capability, I now have a quad-boot Nook Color (native, CM7, CM9, and now Ubuntu), which by itself is sort of cool, but I'd like to make some use from the Ubuntu OS. One final note, I get segmentation faults shutting down the Ubuntu ARM, with all sorts of "unmount ${mnt}/sd.../ex.../de.../proc/sys and losetup -d /dev/...

Also, I did get the paid version, so thanks very much!
[Android Apps and Games] hanckjt:
My Device:HTC Sensation XE (z715e)

ROM: RCMix3.5 v7.1

Kernel: 2.6.35.13-gc35910f

It's worked very well, but a little problem: The LXTerminal always hold at startup, not work.

Any way, thank you very much, make this amazing thing for all android user!!!!
[Android Apps and Games] SirHenryIII:
Working well on Galaxy Tab 10.1v with Android 4.0.3. Would be cool if you can store the settings. don't want to enter them all the time ;) But Thx that's really really coooool
[Android Apps and Games] cociuba:
working perfectly on neura evolio (the romanian zpad t8 model) with a custom rom CM7.2
[Android Apps and Games] Parastie:
I think your error is with how the nexus handles its internal memory.

Have you tried something simple lie a reboot?
[Android Apps and Games] TechnoLover:
Works well on an Acer Liquid MT but I couldn't write anything in LXTerminal... Leafpad, etc. works well. I also tested it over Wi-Fi from my Ubuntu 11.10 and I couldn't write anything into LxTerminal =/
[Android Apps and Games] Deadwalk:
you should see in your quote that i allready did a reboot...
[Android Apps and Games] Parastie:
Sorry about that!

The next thing I would try is deleting the folder /data/local/mnt. Maybe something in there isn't clearing.
[Android Apps and Games] zmalqp:
yessss!!

after one hour of hadr work.... it run on Samsung galaxy s plus!!!!!!!!!!!!!!
[Android Apps and Games] PunkOz:
Question, can i use aircrack with this?
[Android Apps and Games] devwithzachary:
Not at the moment as that requires monitoring mode in the wifi drivers which does not work under Android at the mo
[Android Apps and Games] leolawliet:
This looks interesting, maybe it'd be better than LXDE?

http://www.xfce.org/about/screenshots
[Android Apps and Games] LfcFan1977:
Great work

Hi,

This is great. Not really used Ubuntu before but quite suprised at the speed, low battery consumption and ease of use (considering the relatively small screen).

At first, had a few over-lapping icons on desktop and gimp would close when trying to open images on the sdcard but no problem with them now.

Few questions;

How would I perform a right mouse click function?

How do I arrange items or add application shortcuts to the desktop?

Is it posible to auto-hide the taskbar? If so, how is that achieved?

Is it possible to have a build with just Gnome? Would that be less than 3.5gb?

Is there a better place I should be asking these questions?

Thank you very much for this, will help with my work and phone.

Phone - HTC Desire

Rom - dGB v1.3 (Android 2.3.5)

Kernel - 2.6.35.13 ManU 2.0

Ubuntu - Gnome
[Android Apps and Games] leolawliet:
You right click by double tapping the screen
[Android Apps and Games] devwithzachary:
Not alot difference between XFCE and LXDE but if enough people what to use it then I might include it in the future

right click is a double tap

you should beable to click and drag the icons around (can be tricky on the small screen) and to add new short cut see this http://www.linuxquestions.org/questions/linux-general-1/gnome-desktop-shortcuts-30530/

try this for 'better' auto hide http://ubuntuforums.org/showthread.php?t=170864

there is no just Gnome versions as the choosen desktop for the light version is LXDE as it is alot faster than gnome.

And nope this is a fine place to ask most of the questions, however for stuff directly related to ubuntu itself it would be best to check the ubuntu forums themselves
[Android Apps and Games] LfcFan1977:
Thanks, I think I was missing putting the pointer over the target before the double tap.

Strangely not, once position it and let go, it returns to the same place. The same sort of thing happens when trying to drag something from the "Applications" menu, it flings off and disappears when I let go.

Although I can now double click to "Add this launcher to desktop", it overlaps another icon.

I will play around a bit more to see.

Ahh, just got an error saying "Desktop is read only" when trying to cut and paste an icon from one point on the desktop to another point. Found the properties but I can not get to the bottom of the window to save the settings to read and write.

Trying another screen resolution 800x600. Can reach the permissions button now but still cant move them.

Switched to LXDE and same problem there, desktop icons will not move to where I would like them.

Perhaps I altered some setting.

Going to start again with a nandroid restore and a with just the light version. Do you think I need to wipe cache or delvik?

Thanks, that sorted it. Only I have to laugh because I tried to follow very similar guides but previously when I opened the terminal, it appeared to switch to LXDE desktop, so I never actually continued with the instructions.

That will be the Linux noob in me, not knowing the differences in distro's. Might have a bash at just the light version and add the bits I need/want.

Thanks for your time/patience.

Yea, I appriciate that, I did try, honest I did :o

Unfortunately the answers I found around and about didnt really relate because of that terminal confusion and the user error of the right click.
[Android Apps and Games] exodus1337:
testing

testing on a galaxy s1... good stuff man thank you!
[Android Apps and Games] leolawliet:
I always get this same error no matter what..

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

$ su

# cd sdcard/ubuntu

# sh ubuntu.sh

WARNING: If you have more than 255 apps installed on the SDCard, then mounting the ubuntu.img will fail!

Apps on the SDCard associate with an encrypted loop device, and there are only 256 available to the system.

You have to go to Settings -> Manage Applications -> On SDCard, and move some apps back to phone storage in order to free up a loop device for ubuntu. Make sure you reboot the phone after doing this, then try again.

Please wait while booting ubuntu.img.. This can take some time...

mkdir: can't create directory '/data/local/mnt': File exists

Loop device exists

losetup: /dev/block/loop255

mount: mounting /dev/block/loop255 on /data/local/mnt failed: Device or resource busy

mount: mounting devpts on /data/local/mnt/dev/pts failed: Device or resource busy

mount: mounting proc on /data/local/mnt/proc failed: Device or resource busy

mount: mounting sysfs on /data/local/mnt/sys failed: Device or resource busy

mount: mounting /sdcard/external_sd on /data/local/mnt/external_sd failed: No such file or directory

net.ipv4.ip_forward = 1

Ubuntu is configured with SSH and VNC servers that can be accessed from the IP:

eth0: No such device

[1] Segmentation fault busybox chroot $...

Exiting chroot environment and sync'ing memory to storage..

DO NOT EXIT until finished - doing so may corrupt the ubuntu.img!

#

EDIT: I got bored and found the directories with Root Explorer and I'm able to actually edit the files.
[Android Apps and Games] flexpackman:
Question for any Atrix 4G users that may be using the Lapdock also:

I'm currently running the V5 Full Image of the "free" version and have no issues on the phone only. The ROM I'm currently using is the GB 2.3.6 Fruitcake load.

However, if I connect and view on the Lapdock, the VNC window displays only a grey background with a black X in it. Have used different screen resolutions. All the same. Again, no issue on the phone itself, just on the LapDock. I have not tried any of the HDMI Landscape Hacks yet either.

I remember others reporting a gray screen issue on the Atrix, but I think that was not with the LapDock. I've tried several of the VNC programs available, but they all have the same issue.

Anyone using the LapDock with any success with any ROM load?
[Android Apps and Games] dgamer90:
Could you be more specific when you said editing? What files did you edit and what did you change, in order to make the ubuntu boot work properly?
[Android Apps and Games] thelastemperor24:
When I connect with VNC it just shows a gray screen with a black x. Doesnt matter what screen resolution or color settings I use, it always shows the gray screen and black x.

Im using the small image and free version. Motorola Photon stock 2.3.4 rom and stock kernel.
[Android Apps and Games] Natural_born_chilla:
Hello guys :)

I have the same error like leolawliet and Parastie. One day it all was very good, now, I can't start ubuntu.

I then used another script someone posted (from Epic_VS on Jan 13th) and it kinda worked ... til I got a reboot of whole handset. Next thing I see is Superuser won't work anymore and FCs AND whole handset reboots (e.g. in 4 Ext).

Very annoying, I thought this Virtualization of Ubuntu couldn't break internal software of our handset?
[Android Apps and Games] devwithzachary:
Never seen this problem before, alot of people reported it working on the labdock but being rotated on the side

Some people had this problem on the atrix, using a differnet rom tended to fix this

My script does no damage (and thus sometimes does not work on devices) however there are scripts that are alot more 'violent' forcing devices to change folders etc etc which would mean it might boot on more phones but can result in a whole host of error. I can not support other scripts so your best bet would be to do a wipe and reinstall of your rom then go back to my script and we can try and fix the problem
[Android Apps and Games] Natural_born_chilla:
Yes, restored a backup of ROM.

My problem is the same as already mentioned - working ubuntu shut down. Next time I want to start it I get these lines after sh'ing.

mkdir failed for /data/local/mnt, File exists
Loop device exists
mount: Invalid argument
mount: No such file or directory
mount: No such file or directory
mount: No such file or directory
mount: mounting /sdcard on /data/local/mnt/sdcard failed: No such file or directory
mount: mounting /sdcard/external_sd on /data/local/mnt/external_sd failed: No such file or directory
net.ipv4.ip_forward = 1
ubuntu.sh[31]: cannot create /data/local/mnt/etc/resolv.conf: No such file or directory
ubuntu.sh[32]: cannot create /data/local/mnt/etc/resolv.conf: No such file or directory
ubuntu.sh[33]: cannot create /data/local/mnt/etc/hosts: No such file or directory
Ubuntu is configured with SSH and VNC servers that can be accessed from the IP:
eth0: No such device

chroot: can't execute '/root/init.sh': No such file or directory
Shutting down Ubuntu ARM
failed: No such file or directory
failed: No such file or directory
failed: No such file or directory
failed: No such file or directory
failed: No such file or directory
failed: Invalid argument
[Android Apps and Games] Compliance:
Galaxy S II - T-mobile Variant works!
[Android Apps and Games] sublimejosh2000:
I am using the CM9 V5 Turl build, and it works, just use the QHD resolution 960x540 .... its HDMI mirror, so it works fine...
[Android Apps and Games] cico123md:
check the img size on sd card

I was struggling with the same problem for an entire day man until a checked again the size of ubuntu.img on SD card. No wonder it wasn't mounting anything, the size of image was 0.0 Kb Make sure u don't disconnect the phone from the pc untill the whole img is copied. I had to wait about 30 min in order to get it on the card (and this was in recovery mode).

cheers

BTW my device is an evo4g running tommytomatoes classic v0.0.6 supermagic preview ROM(latest)/stock kernel (it has LOOP enabled)

p.S. Is here anybody who can build an ubuntu version with wine included? i want to do some testing :)
[Android Apps and Games] wicozani:
Hi, again. So I can open up Ubuntu to the LXDE screen continually now, but only through script using the terminal. I placed the Ubuntu one-touch boot widget on my CM7 homescreen, but it only reboots my Nook Color.

Also, when exiting out of Ubuntu on the terminal, here's what I get:

Killing Xtightvnc process ID 2651

* Stopping OpenBSD Secure Shell Server sshd

Shutting down Ubuntu ARM

umount: can't umount /data/local/mnt/external_sd: Invalid argument

umount: can't umount /data/local/mnt: Device or resource busy

losetup: /dev/block/loop255: Device or resource busy

# exit

$ exit

<terminal hang up - my words>

Any thoughts about what might be wrong? Thanks for all the assistance.
[Android Apps and Games] flexpackman:
Thanks! I'll give that combination a try tomorrow.
[Android Apps and Games] XmentalX:
Works great on Stock rooted HTC Amaze with Stock kernel
[Android Apps and Games] D_one:
Oops, meant to quote.

How can we check if loop devices are supported?

Edit:

Looks like it doesn't: correct?

mkdir: can't create directory '/data/local/mnt/dev/pts': File exists

mkdir: can't create directory '/data/local/mnt/sdcard': File exists

mkdir: can't create directory '/data/local/mnt/external_sd': File exists

losetup: /dev/block/loop250: No such file or directory

mount: mounting /dev/block/loop250 on /data/local/mnt failed: No such file or directory

chroot: can't execute '/root/init.sh': No such file or directory

#
[Android Apps and Games] devwithzachary:
This is the error some people are getting but I have yet to work out why, it's not that it doesn't support loop device because the error can be found on devices that should work
[Android Apps and Games] D_one:
Hmmm, good to know, looking forward to a fix!