yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] devwithzachary:
Indeed well it's my main goal, I do have a working version but without in Ubuntu sdcard, and a few other features I think are very important to include. So let's see what can be done other the weekend
[Android Apps and Games] chibixzero:
I'm going to download in a few my battery is almost dead.. going to download on wifi using unnamed rom and using entropy kernel which he says loop is supported but untested
[Android Apps and Games] chibixzero:
I have to report that it works on the att SAMSUNG galaxy s2 using entropy custom kernel and using unnamed rom. I had some trouble connecting to it it would not connect using credentials that were given. I restarted and did it again and it work.

-----------

mouse arrow is frozen in the middle of screen
[Android Apps and Games] lyfzcrl:
Seems good
[Android Apps and Games] devwithzachary:
A little updates, still working on a new script to get it working on more devices, but im starting to think it might be down to locations of busybox and other components which can be different not only from device to device but from rom to rom.

As such it might take a little longer for me to write a new script to try the different possible locations etc.

In the mean time the app has nearly broken 200 active users! but only one vote?

A great way to support me without buying the app would be to give a vote and maybe leave a comment to get more people interested in trying it!

And to all those that have bought the donation app thank you very much, there will be more goodies for you in the future!
[Android Apps and Games] markeez:
Did not work

After the warning message and the boot process freezes system

Restart the device by removing the battery

Samsung Galaxy Note (GT-N7000)

ROCKET ROM - v8 - KKA

Base XXKKA

Modem KK5

Android Version 2.3.6

FM Kernel v1.4
[Android Apps and Games] devwithzachary:
A new bug! could you try a different rom/kernel see if its rom or device specific
[Android Apps and Games] devwithzachary:
A note, someone in the Desire S forums found extracting the rar on there computer then moving it to the device meant it worked, i guess some file managers don't handle rar folders very well.

So give this a shoot!
[Android Apps and Games] cube48:
This thing rocks! Especially with BT keyboard, mouse and connected via MHL/HDIM to a monitor. 1280x800 is simply sweet. Thanks a lot!

Yes, there are still some rough edges like no right-mouse click via BT mouse (I guess this is limitation of Android itself) and arrow keys doing mouse cursor move rather than their normal function but even in this state it's seems to be quite usable. At least it's fun :-)

And this is my mini-report:

Samsung Galaxy Note

Android 2.3.6

Build XXKK9

Stock ROM

Firstly I tried it with FM Kernel but the phone was restarting shortly after running ubuntu.sh. AFAIK the FM Kernel has limited logging.

So I tried stock kernel and after little struggle (a few manual restarts - I was getting "connection failed" from VNC) it ran up.

But I'm not able to run all that is available in the image. I.e. when starting Firefox I get the message that another instance is already running but I don't see it in "ps -ef".

I can't run some other stuff like changing the font sizes etc. Could it be limited by the amount of free RAM on Android?

Is this Ubuntu image supposed to work like persistent image? I mean that if I do some changes within the image, like installing additional app from Ubuntu Software center/Synaptic Package Manager, will they stay till next image mount?

Thanks again for bringing linux to our handsets/tablets!
[Android Apps and Games] devwithzachary:
Glad to hear you have got it working well, and that it does work on that tablet just not on a certain kernel.

Yes well it will likely be partly RAM could be other things to, but I have yet to have firefox fail on me so cant debug all that much.

And yes any apps you install via the software center or the package manager will stay next time you boot, this is why the image is 3.5GB as it leaves a good amount of space for more apps and files you want within the ubuntu environment (however I will be building smaller images for people that do not need as much space or as many apps).

Once again thank you very much, glad you are enjoying it, and thank you for supporting this project!
[Android Apps and Games] melbourne408:
Interesting, I shall report back later with some info for the SGH-I777, amazing work :)
[Android Apps and Games] jsphoto:
I'm having the same issue, latest rocket ROM.
[Android Apps and Games] devwithzachary:
Thanks, still trying to work on this, next to more features in the app its my prime goal
[Android Apps and Games] n1ckr0th:
this works perfectly on my Atrix 4G with faux123's kernel and Cyanogenmod
[Android Apps and Games] efkito:
Galaxy Note on stock KKA firmware (rooted) works fine. :) Thank you people ;)

P.S> Sorry, bad English-speaking :o
[Android Apps and Games] vasiaeva:
Terminal emulator

#su (enter) such perm ok

cd /sdcard/ubuntu (enter): not found

/sdcard/ubuntu(enter) :permission denied(???)

HTC EVO 4G

MIUI 1.12.9

KERNAL SALVAGE ZEN
[Android Apps and Games] devwithzachary:
have you extracted the rar to a folder called ubuntu on your sdcard?
[Android Apps and Games] ArmanUV:
Thanks!

confirmed to work on my galaxy nexus aokp b23 leankernel

ubuntu looks awesome on 720p screen!
[Android Apps and Games] Natural_born_chilla:
Well, my ubuntu.img is about 3.5 gigabyte, so I don't think this is the same problem over here ... :( Furthermore, I worked one day earlier...
[Android Apps and Games] devwithzachary:
what rom and kernel?

I have just found that the one boot click only works if the terminal app is install in the normal app area and not in the system partition, so if the terminal app came preinstalled in your rom try uninstalling and then downloading it from the market

Hmmm yes I am really not sure with this one, you havnt by any change added more apps to your sdcard or something? the only thing I can think of is since your first use something else is now using the loop device 255
[Android Apps and Games] idan_mo:
amazing work!

any chance it will work on rooted stock motorola razr with stock kernel?

i wanna try it later today.
[Android Apps and Games] DarkhShadow:
Don't see why not as long as kernel has loop support

Sent from my ice cream powered Nexus S
[Android Apps and Games] Natural_born_chilla:
Well I didn't change anything I believe... But after nandroid restore, everything is same as before (Kernel, Number of Apps), so this might not be the reason ...
[Android Apps and Games] dojojin:
Thanks for Sharing

I'll try later . .
[Android Apps and Games] idan_mo:
OK, did all your instructions regarding terminal and all worked great.

Then in vnc viewer: password - ubuntu, adress - localhost, port - 5900.

So far so good but vnc connects and I see a strange green/pixel style sceen and a square pointer.

Rooted stock ROM and stock kernel.
[Android Apps and Games] DarkhShadow:
Did you change colour settings like the guide says?

Sent from my ice cream powered Nexus S
[Android Apps and Games] pippoparecchio:
Is there any way to install a NATIVE ubuntu on a sbk2 system instead of a chrooted environment?

Inviato dal mio Transformer TF101G usando Tapatalk
[Android Apps and Games] idan_mo:
i cannot find it
[Android Apps and Games] Quinny899:
Can finally confirm it works with my Archos 80 G9 (1ghz, 512mb of ram)

Set resolution to 1024*720 rather than 1024*768 to take the honeycomb bar into account and using Tight VNC Viewer (has better keyboard input method)

Thanks! Bought Pro version
[Android Apps and Games] DarkhShadow:
Then your not looking in the vnc settings hard enough

Sent from my ice cream powered Nexus S
[Android Apps and Games] Parastie:
You should check out this thread:

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

It's about installing fully linux libs in android. He's even gotten xserver to launch and run.
[Android Apps and Games] Epic_VS:
Hopefully you can get ubuntu on the Playbook. I saw you on asaunder's twitter.
[Android Apps and Games] idan_mo:
Set it to 24bit and still the same.

Any ideas?
[Android Apps and Games] devwithzachary:
indeed one of my apps has just been aproved so I will be getting a playbook, then we shall see

could I get a screen shoot to see what it looks like
[Android Apps and Games] nukeador:
Some experiences with an Asus Transformer TF101 rooted stock rom:

It would be great to be able to put the img in the external sd card (/Removable/MiscroSD/) asking where the image is at the beggining of the script.

If you update the ubuntu packages, Firefox (autoupdated to ver. 10) won't start anymore. Console tells about Xlib error, missing randr on display :0. It seems it's a common problem with VNC and some apps.

If Terminal Emulator crashes and you reboot your device, is it possible to get a nice boot loop? Maybe due ubuntu.sh not restoring the changes it made to the system. It's what I got doing some testing :S

Androidvnc doesn't work very well with hardware keyboard and mouse, so I ended using PocketCloud Remote RDP / VNC free version.

Do you have a tracking system to report these kind of bugs? Following this post it's not easy ;)
[Android Apps and Games] idan_mo:
localhost:5900, password: ubuntu, 24bit, touchpad selected.
[Android Apps and Games] devwithzachary:
very odd looks like the area some atrix people had but they lineness makes no sense, could you try a different rom?
[Android Apps and Games] devwithzachary:
for future issues if people could submit them to the source forge ticket system that would be great https://sourceforge.net/p/linuxonandroid/tickets/
[Android Apps and Games] geekogenius:
i tried to install on my Dell Streak 7 on android honeycomb

after this command

sh-4.1$ cd /sdcard2/ubuntu

sh-4.1$ su

sh-4.1# cd /sdcard2/ubuntu

sh-4.1# sh ubuntu.sh

i got these errors and nothing happened

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

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: line 31: /data/local/mnt/etc/resolv.conf: No such file or directory

ubuntu.sh: line 32: /data/local/mnt/etc/resolv.conf: No such file or directory

ubuntu.sh: line 33: /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.

failed.

failed.

failed.

failed.

failed.

losetup: /dev/block/loop255: No such device or address
[Android Apps and Games] Epic_VS:
try script here
[Android Apps and Games] devwithzachary:
your problem is you have put the files on sdcard2 not sdcard, in the next version of my script you will be able to put it anywhere but for now it must be in sdcard/ubuntu
[Android Apps and Games] geekogenius:
you said i have to put the .img on external sd card

on dell streak internal sdcard is mnt/sdcard ,and external is mnt/sdcard2

---------- Post added at 03:43 PM ---------- Previous post was at 03:40 PM ----------

yes! it is working ;)

---------- Post added at 03:50 PM ---------- Previous post was at 03:43 PM ----------

Error!

VNC connection failed!

null

what should i choose for username?

nickname to: ubuntu

Password: ubuntu

address: localhost

port: 5900

username:

Color format: 24-bit color (4bpp)

---------- Post added at 04:13 PM ---------- Previous post was at 03:50 PM ----------

yes! yes! yes

thank you :) nice job :)
[Android Apps and Games] devwithzachary:
So all is working now?
[Android Apps and Games] razorseal:
So for my Xoom, i pretty much can't use this because i don't have a sd card?
[Android Apps and Games] devwithzachary:
No the files need to be placed in sdcard/ubuntu but if you have internal memory this is mounted /sdcard
[Android Apps and Games] razorseal:
Oh ok good.

Ill install it on the EOS Xoom 1.0.0 tonight when I'm home.
[Android Apps and Games] stefanuc111:
Good but it's always whit VNC and run in parallel whit android
[Android Apps and Games] idan_mo:
app_187@umts_spyder:/$ export PATH=/data/local/bin:$PATH

app_187@umts_spyder:/$ su

root@umts_spyder:/# cd /sdcard/Ubuntu

root@umts_spyder:/mnt/sdcard/Ubuntu# sh Ubuntu.sh

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

Loop device exists

losetup: /dev/block/loop255: device is busy

mount: Device or resource busy

mount: applet not found

mount: applet not found

sysctl: applet not found

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

eth0: No such device

Now enter the screen size you want in pixels (e.g. 800x480), followed by [ENTER]:

1280x720

Please select which Desktop environment you want to use, type the number to select it then press [ENTER]

1 - LXDE

2 - Gnome

Make your Selection:

2

New 'X' desktop is localhost:0

Starting applications specified in /root/.vnc/xstartup

Log file is /root/.vnc/localhost:0.log

* Starting OpenBSD Secure Shell server sshd [ OK ]

If you see the message 'New 'X' Desktop is localhost:0' then you are ready to VNC into your ubuntu OS..

If VNC'ing from a different machine on the same network as the android device use the 1st address below:

inet addr:127.0.0.1 Mask:255.0.0.0

inet addr:31.154.61.222 Bcast:31.255.255.255 Mask:255.255.255.255

If using androidVNC, change the 'Color Format' setting to 24-bit colour, and once you've VNC'd in, change the 'input mode' to touchpad (in settings)

To shut down the VNC server and exit the ubuntu environment, just enter 'exit' at this terminal - and WAIT for all shutdown routines to finish!

groups: cannot find name for group ID 10187

root@localhost:/#
[Android Apps and Games] elbaroark:
Cannot get it to work on LG Optimus Net

I cannot get it to work on LG Optimus Net. I have tried everything and do not know what else to try to get Ubuntu working on my phone.
[Android Apps and Games] DarkhShadow:
What's the problem? Do you get a error?

Just saying it doesn't work isn't helpful

Sent from my ice cream powered Nexus S
[Android Apps and Games] leolawliet:
I'm pretty sure he gets the same issue as me, it just won't mount
[Android Apps and Games] dr.ilijevski:
su

# cd sdcard

cd sdcard

# cd ubuntu

cd ubuntu

# sh ubuntu.sh

sh ubuntu.sh

WARNING: If you have more than 255 apps installed on the SDCard, then mounting t

he ubuntu.img will fail!

Apps on the SDCard associate with an encrypted loop device, and there are only 2

56 available to the system.

You have to go to Settings -> Manage Applications -> On SDCard, and move some ap

ps 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 bus

y

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 su

ch file or directory

net.ipv4.ip_forward = 1

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

eth0: ip 192.168.2.8 mask 255.255.255.0 flags [up broadcast running multicast]

[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!nstalled on the SDCard

#

:(((( What to do?
[Android Apps and Games] devwithzachary:
12.04 lands :)

Well after much posting saying that I will be building new images, and nothing happening for a while, the day has come.

In the past I have built my images from 10.10 and people have asked why I havn't updated this was because I was waiting for a buildable version of 12.04, which I have finally got working.

These images are purely for TESTING and in no way stable (after all 12.04 is only alpha 2 right now!) but I will be uploading images to source forge for you all to test if you wish.

New releases will be made to follow the releases of milestone versions of main Ubuntu (i.e alpha, beta etc) and possibly other releases between then as I make changes reading the build as a final build once the final official version is released. Until the final release if you wish something that is stable please stick to my 10.10 images, however the 10.10 images will no longer be updated. Before you post a bug please check on the Ubuntu bugs to see if it is something Ubuntu related and not related to just my build.

https://wiki.ubuntu.com/PrecisePangolin/TechnicalOverview/Alpha2

There will be two types of build 'core' and 'full'.

The 'core' images include only the most basic Ubuntu build with no GUI (however tightvncserver is set up if you wish to install one).

This is perfect if you do not want a GUI or want to install everything yourself, plus the download is much smaller

The 'full' images include a GUI and a range of programs, for now these images are like the old 'lightweight' images.

But once we hit stable release I will build a larger image with the complete range of software.

The first core image is now live with a full image coming hopefully tomorrow!

For now enjoy :)

https://sourceforge.net/projects/linuxonandroid/files/Ubuntu/12.04/
[Android Apps and Games] devwithzachary:
looks to me like something wrong with busybox/chroot try reinstalling busybox
[Android Apps and Games] devwithzachary:
core image is now online sorry about that

http://sourceforge.net/projects/lin.../12.04/core/ubuntu12-core-180212.zip/download
[Android Apps and Games] dr.ilijevski:
I tried but nothing...
[Android Apps and Games] Parastie:
Where are you installing busybox?
[Android Apps and Games] dr.ilijevski:
i downloaded busybox installer and installed it in the folder which is inserted. where i have to install it?
[Android Apps and Games] Parastie:
Odd, you're downloading busybox from market and installing in default locations? That should work.

Have you rebooted since installing it?
[Android Apps and Games] idan_mo:
any sulotion for me?
[Android Apps and Games] devwithzachary:
whats you problem? the log you posted showed ubuntu booting up in the end fine
[Android Apps and Games] devwithzachary:
The first of my full 12.04 test images is now being uploaded and will be ready within the hour.

This image is:

*Using LXDE for now due to problems with unity

*Chromium is included as browser but has problems displaying anything (will fix for next release)

*As this is the first release there are a whole host of issues please email me issues (zac@zpwebsites.com) if they are not already reported in mainstream ubuntu 12.04

As always these are test images so they are very unstable!

http://sourceforge.net/projects/linuxonandroid/files/Ubuntu/12.04/full/
[Android Apps and Games] antukubo:
I've been a silent follower of your work since beginning. I really salute you because not many dev is 'really' active in Ubuntu / Backtrack. You answered most of the questions and fixed reported bugs. Not like others who keep their followers confuse and waiting for an answer.

Unfortunately, my device (Motorola Defy) is uncapable with Ubuntu / Backtrack due to unsupporting loop feature and kernel limitation (locked bootloader). I really hope that one day your installer will works with my Defy or any other unsupporting devices (as android is getting smarter day by day... :))

Good luck and keep your good work!
[Android Apps and Games] GazaIan:
app_81@android:/ $ export PATH=/data/local/bin:$PATH

app_81@android:/ $ su

app_81@android:/ # cd /sdcard/ubuntu

app_81@android:/sdcard/ubuntu # sh ubuntu sh

sh: ubuntu: No such file or directory

127|app_81@android:/sdcard/ubuntu # sh ubuntu.sh

Illegal instruction

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: ip 192.168.1.5 mask 255.255.255.0 flags [up broadcast running multicast]

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

Shutting down Ubuntu ARM

failed.

failed.

failed.

failed.

failed.

failed.

losetup: /dev/block/loop255: No such device or address

1|app_81@android:/sdcard/ubuntu #

What went wrong? :(

EDIT: Looks like its the larger image, according to other complaints. Galaxy Tab 10.1 uses MTP so I can't really mess with /sdcard partition :(

---------- Post added at 01:58 AM ---------- Previous post was at 01:02 AM ----------

Never mind, lite image worked just fine.
[Android Apps and Games] barryflanagan:
Thanks for this. I bought your paid app by way of encouragement but never used it so can't really comment on it!

Downloaded your new 12.04 full build and seems fine, if rather sparse. Yesterday I downloaded the core build, loaded it up and did a "apt-get install ubuntu-desktop" just for the laugh, not really expecting it to work. It actually mostly did, except, as you say there are issues with unity so deleted that and started over :)

BTW, you would save a bit of dl size if you ran "apt-get clean" before zipping up the image file - 71Mb of already compressed .debs in the current full img.

For anyone else running this (or other VNC stuff) on an Asus Transformer Prime, I have found Remote VNC Pro to be very good with the dock keyboard. Most other clients seem to cater mostly for touchscreen-only devices.
[Android Apps and Games] :
I have everything downloaded and the program installed but what do I do know? Where's the guide and etc?

Edit: Nevermind I got it.

I'll get back to you whether how well this works on my Kindle Fire currently running ICS.
[Android Apps and Games] devwithzachary:
Thank you and yes the full image will get large as time goes on and bugs are fixed
[Android Apps and Games] turbocheke:
so great!! i'm downloading now
[Android Apps and Games] devwithzachary:
External SDcard mount point

I had asked a while back but ended up doing other stuff so now only got round to working on the next version of the boot script.

So could you all please post/PM/email me the mount point for your external SDcard if you have both internal memory (mounted /sdcard) and a external SDcard.

If you just have a sdcard it will be mounted to /sdcard so thats fine.

Also if your device has a full USB port could you tell me what the mount point used when a USB pen drive is plugged in that why I can mount this in ubuntu to!

Thanks everyone
[Android Apps and Games] lawalty:
Well, slap my mouth wide open! A way to install Ubuntu on my device! Ill be downloading and testing asap!
[Android Apps and Games] xAlex79:
Will this work with the Lapdock? And if so will I be able to have the mobile view like I do now with the Moto lapdock?