yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] devwithzachary:
There is no way this could damage the hardware, it has no effect on android other than creating a few folders and mounting the image, this is the safest and easiest way to get ubuntu on a android device.

t should work on both your HD2 and the tablet, however some people have had GUI rendering problems which is think is down to the tegra chip, but it could still work
[Android Apps and Games] mjharis:
Ok thanks, then i will give it a try in the next few days.

Are u interested in confirming other roms on the Desire HD or other devices? :D

Got some friends with android devices, wil grab them and test it.

Regards
[Android Apps and Games] -Grift-:
the gt540 has been proven to run 1.6 2.1 2.2 2.3 and 4.0 without ram problems

gonna try this later :)
[Android Apps and Games] xmaskx:
since scriptv5 it works with my hd2 and stock miui kernel flawlessly.
[Android Apps and Games] DarkhShadow:
Works on Nexus S stock 4.0.3 and glados 2.7 :D

Sent from my ice cream powered Nexus S
[Android Apps and Games] martis347:
Works good on SGS with onecosmics ics Rc1

I've found that you can't play music, is that true, or im doing something wrong?
[Android Apps and Games] devwithzachary:
no this is correct sound as of yet does not work
[Android Apps and Games] devwithzachary:
The backtrack install guide has been updated to include the new boot script and downloading from the ftp server, plus everything else to bring it in line with the ubuntu guide.

For those that want the Gnome interface, or to try out all the security programs included in backtrack, or just want to try a different linux distro check it out!

http://xdaforums.com/showthread.php?t=1421833
[Android Apps and Games] sprengsatz:
Dont work with exynos 7.1.4 rom and siyah 1.8 kernel on sgs2
[Android Apps and Games] bclark:
has to do with siyah. Works with various other gs2 kernels
[Android Apps and Games] Quinny899:
Any ideas why it does this?
[Android Apps and Games] JoeB2C:
It appears that there's an error in the big ubuntu file: its extracted filesize is 1.6GB.
[Android Apps and Games] devwithzachary:
This is the issue with the older script, please try the new V5 one

hmmm did you try extracting via a computer?
[Android Apps and Games] Quinny899:
I shall, but a warning: I downloaded that script using the app
[Android Apps and Games] JoeB2C:
Haven't tried that yet, running it on a Samsung galaxy tab 8.9 atm. The small version runs well.
[Android Apps and Games] Quinny899:
And also, use a card reader. USB storage may corrupt your sd
[Android Apps and Games] devwithzachary:
Indeed the free app has not been updated yet to included the new script, the paid app always gets updates first
[Android Apps and Games] Quinny899:
If it works, I'll buy the app ;-)
[Android Apps and Games] devwithzachary:
Well it should do, this bug was fixed in the v5 boot script
[Android Apps and Games] Quinny899:
Still not working :-(
[Android Apps and Games] devwithzachary:
can't really read the text but, do you have busybox fully installed and have you got a kernel that fully supports loop devices
[Android Apps and Games] Quinny899:
I don't know about loop, but busybox, yes
[Android Apps and Games] squidbutt:
im about to try it on my hd2

do the phone/text functions work WITHIN the shell? jw
[Android Apps and Games] Quinny899:
And btw, it says mount: invalid argument
[Android Apps and Games] devwithzachary:
Are you running a custom rom? it didnt work on stock rom for my archos 101 had to load a custom rom

No, the ubuntu image runs via chroot and so it 'thinks' its just running on a normal computer
[Android Apps and Games] devwithzachary:
also is the ubuntu image in the directory sdcard/ubuntu
[Android Apps and Games] Quinny899:
Sort of custom. Custom in that you have to flash a modified stock for root on the gen9s. I'll ask the Dev to make it support loop
[Android Apps and Games] sprengsatz:
Tested voodoo > doesnt work. Will test cf root and maybe stock later.
[Android Apps and Games] devwithzachary:
Indeed sounds like its not compatible, hopefully there will be some real rom development soon
[Android Apps and Games] idinaxui:
I couldn't manage to run the full version on Samsung Vibrant ICS 4.0.3. The light version works, the full version writes:

root@android:/mnt/sdcard/ubuntu # sh ubuntu.sh

sh ubuntu.sh

Loop device exists

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

mount: Invalid argument

mount: No such file or directory

mount: No such file or directory

mount: No such file or directory

mount: No such file or directory

mount: No such file or directory

mount: No such file or directory

net.ipv4.ip_forward = 1

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

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

ubuntu.sh[79]: 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

this is potential insecure!

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

Shutting down Ubuntu ARM ...

waiting for all files to close

Unmounting filesystems.

If this doesn't end, ^C and restart with option --cleanup

done.

I think there is something internal - external SD card issue. internal card is named /sdcard and external is named /emmc and not /sdcard/external_sd. changed this in the script, but did not help. I'm not linux expert, maybe I made something wrong. Can anyone provide correct script for Vibrant?

Thanks
[Android Apps and Games] tillum:
Keen to get involved, but the downloads are SO slow! I tried to buy the paid app fron the market with my kindle fire (running cyanogenmod) but was told my device is not compatible... happy to pay for your app for faster downloads, but useless at the moment. cheers.
[Android Apps and Games] devwithzachary:
If the small image works but the large one doesn't its likely to do with the file system used on your internal memory because other than file size there is no difference between the to images (well there is inside the images, but the images themselves are the same apart from ones bigger)

odd I dont know why it says is not compatible because the app was designed to work on pretty much every android device, maybe something to do with the cyranogenmod or something? if you have any other device you could always buy it there or online then download it and just use it to get the files than transfer them to your kindle
[Android Apps and Games] sprengsatz:
Tested speedmod kernel with bt5. Same as siyah/ubuntu, siyah/bt5, voodoo/bt5. CWM wont flash cfroot kernel. Mhhh ..someone any ideas?
[Android Apps and Games] devwithzachary:
all I can suggest is find someone that does have it working on your device and see what they used
[Android Apps and Games] bclark:
Have it running on the hyperdroid kernel. if you useCM at all I believe it is working on that kernel too. Also I'm sure if Gokanmoral was hit up he would work at fixing the issue in siyah
[Android Apps and Games] Harry44:
Every app or guide I use never works, I cant wait to try this out, thanks.
[Android Apps and Games] D_one:
Same here but this worked:)

If it doesn't...extract the image on your computer and copy it to your SD , at least that's what I had to do.

Cheers!
[Android Apps and Games] liljom:
it works with this ubuntu.sh here and speedmod kernel

with the one in the OP I get error, that loop device doesn't exist, and it's true :D
[Android Apps and Games] lukeweiler:
keyboard

hi just a quick question is there anyway to get onscreen keyboard working in this ? :)
[Android Apps and Games] devwithzachary:
You can use the Android keyboard. Just long press in vnc and three buttons will come up, to zoom buttons and the middle will bring up the keyboard
[Android Apps and Games] Epic_VS:
Can I change the desktop environment to gnome or will I have to stick with lxde?

I would rather not use backtrack as It takes a few hours to transfer from computer to nexus s.
[Android Apps and Games] Shounic:
is it possible to make this more automated? It's seems like a massive drag to have to do all this each time.
[Android Apps and Games] MemoryController:
Can you include QtOctave?
[Android Apps and Games] devwithzachary:
In future releases a plan to allow the user to select which desktop environment they want, however lxde really is the firstest

Thats what I'm working on now

You should be able to install it via apt-get install?
[Android Apps and Games] MemoryController:
i cant thats why i ask. Did apt-get update purged cache but still hangs at 0%
[Android Apps and Games] DarkhShadow:
Can anyone point me a guide on how to install a .tar.gz?

Sent from my ice cream powered Nexus S
[Android Apps and Games] devwithzachary:
you could try downloading and installing from here http://qtoctave.wordpress.com/download/

its important to remember that you can only install software that is not architectural dependent or has a ARM release

This should help http://www.psychocats.net/ubuntu/installingsoftware

but as it says using a tar.gz normally means is not complied yet so you have to do this (normal process is decompress, sd to folder, then run make then make install)
[Android Apps and Games] MemoryController:
Thx for dl link and im sure it can run on arm as it shows up. thx for y time
[Android Apps and Games] DarkhShadow:
Wow its so hard to try to install flash on Linux :s

Gonna have to try later :/

Sent from my ice cream powered Nexus S
[Android Apps and Games] Quinny899:
There are loads of flash install formats :confused:. The best method to instal, flash is to extract the tar.gz and copy libflashplayer.so to your browser's plugin folder (use Google)
[Android Apps and Games] devwithzachary:
I do not believe there is a working official port of flash for ARM but I might be wrong?
[Android Apps and Games] Quinny899:
Ripping libflashplayer.so from the apk might help, I don't know
[Android Apps and Games] DarkhShadow:
Checked in ubuntu software thingy, there isn't :(

Considering there's flash for my phone.... which is arm....

Anywho :/

Sent from my ice cream powered Nexus S
[Android Apps and Games] DarkhShadow:
Also how do I install android sdk Oo, would have downloaded full image but at 1.5GB compared to 500MB :/

Sent from my ice cream powered Nexus S
[Android Apps and Games] devwithzachary:
Yeah its a pain but flash for android and flash for arm Linux is completely different
[Android Apps and Games] devwithzachary:
Within my Ubuntu image? well the download links are here http://developer.android.com/sdk/index.html not sure it would run on the image mind you.

And yeah comes down to how much software is preinstalled, and the size of the uncompressed image
[Android Apps and Games] DarkhShadow:
I was looking at the install guide and it said to run android but that's about it.... shame Mac and Linux don't have installers like windows :(

Sent from my ice cream powered Nexus S
[Android Apps and Games] devwithzachary:
on linux I believe you just extract the folder to a directory and then you can run the tools from the terminal, there is no real 'install' needed
[Android Apps and Games] DarkhShadow:
Where do I extract jre for it to work? And is it x86 or x64?

Sent from my ice cream powered Nexus S
[Android Apps and Games] devwithzachary:
Java used to be working in my builds for some reason its broken :/ Will try and fix this in another build, I am a little reluctant to upload again because it takes like 36 hours of none stop uploading to upload here, will likely wait until next week when im back at uni with 50Mb/s upload speeds :P

Also its neither x86 or x64 its ARM architecture
[Android Apps and Games] DarkhShadow:
Ah right (yeah I suck with ubuntu xD)

Sent from my ice cream powered Nexus S
[Android Apps and Games] devwithzachary:
Quite alright, even if you know alot about ubuntu/linux it can take alot to get your head round running it on android and what changes are made etc
[Android Apps and Games] avatarz:
Unable to load on HTC EVO

HTC EVO

Android version - 2.3.3

Kernel -

2.6.35.10-gl3578ee

htc-kernel@andl8-2 #1

Wed Jul 20 18:06:16 CST 2011

Build Ice Cream Sense v1.1

I am unable to load ubuntu. I have attached a screen shot any help would be great. If you need any additional information just let me know.:)
[Android Apps and Games] devwithzachary:
Yes this is one of the last bugs that seem to effect people, for now you could try other roms/kernels? Until I fix the bug..that is without braking other things like I am at the moment xD
[Android Apps and Games] devwithzachary:
In need of help with APP

Hello all, first and for most THANK YOU EVERYONE for all your help in testing and helping me build up the best app and ubuntu/backtrack install I can.

However now I really want to take the whole thing to the next level, something that I need a little help with, while I am happy with my skills when it comes to the ubuntu image, and the boot script I now need some help with the app itself.

There are a few features listed below I need/want to include in the next app release that right now is a little bit beyond my skill set.

Automatic Connecting via FTP loggin to my ftp server for more secure file downloading (i.e only people that have paid can truely use my fast downloads)

Building in a terminal to auto launch the boot script at a press of a button (or widget) (I have looked into this and waiting to hear from someone, but any other help would be great!)

Automaticaly create the 'ubuntu' folder and extract the zipped files and move them to this folder

If anyone could help me with any of the above please PM me, or pass this message on if you know of anyone that might be able to help!

(Also if there are any other features you would like to make the install more automatic let me know)

Other features I will be adding in, in the future release of the app/images include:

Fixing broken programs including Java

Letting the user select which desktop enviorment they way to use before booting

Fixing the boot script to solve the still remaining problems with not booting ubuntu
[Android Apps and Games] cwhitney24:
No guarantees...but ill pass it along for ya! I have very smart people in my group that do this stuff all the time. Problem is we are busy working on a couple roms and updates right now. Me...I theme so I don't even want to atempt to do this unless you want more to fix after I break it. Lmao!

I got your 10 char right here

abso Bacon Mod
[Android Apps and Games] devwithzachary:
Thank you very much, I understand if you guys are busy, but even if you knew of some source I could play with or guides that would be great!
[Android Apps and Games] nrabett:
Get a (second) terminal emulator and make it perfom the commands at startup. In that way, you have a one-click solution.

---------- Post added at 01:13 PM ---------- Previous post was at 12:58 PM ----------

Galaxy Nexus with ClockworkMod recovery,

Android 4.01.,

Kernel 3.0.1 ga052f63

The big, hightest-res image did not work, got the "invalid argument" output as reported by several users.

The small image worked. By the way, it is a trivial task to change the resolution after opening Ubuntu for the first time - you only need to change the first line in the init.sh script in root's home folder (/root, not /). I prefer a much larger screen (1200x1200), especially when using Firefox.

Download speeds were deplorable, even though I used the paid app. Why not make only one small and one large image, and release them as torrents?

I also had two ugly, battery-pulling crashes when using Android VNC. PocketCloud works better.
[Android Apps and Games] devwithzachary:
Indeed the screen size is set there, however I released the range of images to allow people with no coding skill at all to get a image to fit there device and to make the guide simpler.

Most people have reported download speeds of around 1MB/s on my ftp server, you are the first to report this was slow, looking at the logs the last few days I have had alot of downloads so its possible it had slowed down for a while, but theres little I can do about that.

I do not use torrents because A) my upload speed is shocking so if I hosted the files on my computer it would take even longer. B) alot of people do not understand torrents and a direct download would suit them alot better
[Android Apps and Games] nrabett:
New, ugly crash, this time with PocketCloud. I'll try to use the standard keyboard instad of the one I use now (Hacker's keyboard). But this is disturbing - pulling the battery on my brand new phone hurts.
[Android Apps and Games] devwithzachary:
Hmmm never seen this before but then again never really used pocketcloud
[Android Apps and Games] devwithzachary:
Little update ,the next release while I am working on the automation, and fixing last boot programs will included fixed java etc, with completely new build images (did try building 11.10 but still getting the GUI errors so will hold out for 12.04), and allow you to switch between Gnome and LXDE and also allow you to decide the screen size on boot. Means much less for me to upload and far easier method than opening the init script and editing it.
[Android Apps and Games] Epic_VS:
I get an error that says that /root/init.sh doesn't exist. I checked in root browser and it said that the /root folder was empty.

I am using aosp v43 4.0.3 ics nexus s rom

ot: now after trying this, usb mass storage doesn't work. the icon just keeps spinning. The only way I can access usb mass storage is through clockwork recovery.
[Android Apps and Games] devwithzachary:
The error means it wasn't mounted properly what version of the boot script did you use?

And the USB mass storage should be ok once your reboot, its to do with the sdcard not unmounting right
[Android Apps and Games] Epic_VS:
I used the newest one, v5, and i also used the script from here with this image.

I edited that script and narrowed the error down to

busybox chroot /data/local/mnt /root/init.sh > /dev/null 2>&

edit- I got it working, I ran that script then yours and it works now :)
[Android Apps and Games] devwithzachary:
Ok that really is new o.O when I have time I need to pick the other script apart and work out what it does differently because a few others have found some combination of mine and that gets it working o.O
[Android Apps and Games] Epic_VS:
your mount and unmount doesn't work. I (crudely) put together both scripts and it works perfectly. I attached it below. All I did was take that script and delete the "busybox chroot /data/local/mnt /root/init.sh > /dev/null 2>&" line and put your code in there(without the unmount part.)

I used to get the error in the image attached. I guess I solved that bug by accident :)
[Android Apps and Games] devwithzachary:
Interesting, thank you I will clean this up and send it out for testing...you might have just solved one of the last boot problems :D
[Android Apps and Games] Epic_VS:
glad i can help:D

edit- still can't use usb mass storage after exiting. I have to reboot everytime.
[Android Apps and Games] devwithzachary:
Yes I think this might be a bug in android, dosn't let to unmount right to allow usb mounting
[Android Apps and Games] Shounic:
Forgive my horrible and stupid questions, but can someone enlighten me on what can ubuntu do that running android normally can't do? Would be helpful to know.
[Android Apps and Games] devwithzachary:
Well it gives you access to a huge range of programs, simply anything that will run on ARM or is not architectural depended. For example the likes of open office, thunderbird and firefox are included. In the next build java will be working again as well so you could even use it to develop Roms using a kitchen.

The Backtrack version gives you access to a large range of security tools to.
[Android Apps and Games] Urukay:
Galaxy note

On galaxy note with raphsody 2.0 and kernel abyss 3.0, the script V5 freeze the terminal:confused:
[Android Apps and Games] devwithzachary:
some other people have had this problem with the note, its to do with the kernel alot say using the 'void' kernel fixes this
[Android Apps and Games] nrabett:
So, after a few more hours using Ubuntu on the Galaxy Nexus, I can conclude that it is probably Firefox (which I upgraded to 9.0) that causes the crashes I have experiencened. Chromium works without problems. FF works for twenty minutes, then gets 200% cpu usage, and crashes the phone.

Apart from this, everything works: Java, JDownloader, Sabnzbd...
[Android Apps and Games] devwithzachary:
Indeed I have noticed Firefox once updated can causes crashing, hopefuly its something mozilla will fix soon
[Android Apps and Games] amskhan1:
yeah hp touchpad has been ported to dual boot between web os and android
[Android Apps and Games] dodgepot:
Hey there! When attempting to extract the larger files I get a CRC error but the smaller images extract without a problem. Tried both the larger 800 and 1024.
[Android Apps and Games] devwithzachary:
yes seem for some reason the large image gets this error on linux, if you extract in windows works fine :/. But I will be releasing another large image soon which will be compressed with a different problem to hopefuly fix this
[Android Apps and Games] dodgepot:
Thanks for the prompt response man! I'll boot up my window box and try and extract there. Thanks again
[Android Apps and Games] biggyt:
All good on my HTC Desire :)
[Android Apps and Games] 2lazy2day:
This seems interesting. I'm going to have to check it out when I get hone tonight.
[Android Apps and Games] AnakTeKa:
will free version work with Ubuntu 10.10 V4 - 1280x800 ?'

thanks
[Android Apps and Games] devwithzachary:
Yes if you down the image from the thread then use the free guide, if cause if you use the paid app you get faster downloads among other things
[Android Apps and Games] devwithzachary:
New image live

Ok a new test image is ready for download.

This is a updated large image (~3.5GB extracted) with the following updates:

Boot process now asks you for what screen size you want (type in the format 800x480 for example)

Boot process now lets you select what desktop enviroment you want to use (Gnome and LXDE included to start with more to come!)

Image has been recompiled to fix java and other programs

Image has been compressed using a different programs to fix errors when uncompressed in linux

please test and let me know how it goes! if everything works I will update the paid app with a fast link tomorrow!

Download HERE
[Android Apps and Games] nrabett:
Thanks, downloading now. I have struggled today with the small image, trying to create a user account with reduced privileges. I would be very happy if future releases could be configured with this feature. Running stuff as root is not only insecure; it might break many programs. It is easy to create a new user with the terminal, but I am unable to open a lxde session as a regular user - and also unable to access the "switch user" interface in gnome-panels.
[Android Apps and Games] devwithzachary:
I order to use a different user it will take some tweaking, in the script root/init.sh the user for vnc is defined as root. This was decided to allow people to completely tweak/rip apart ubuntu as they please. As after all if you brake stuff all you need to do is delete the img file and load a new one.

I have yet to find any programs that have problems (thats a lie I think chrome does but firefox works to not a biggy).

And yes you cant switch users because VNC is running for the user, so by goign to switch users you would kill vnc and the world would die....
[Android Apps and Games] dodgepot:
getting the new image now. I was unable to get it working using the .sh file you provided on my book tablet so I borrowed one from adamoutler that he used on his Ubuntu project just to test and it booted no problem.

Edit: I hope I didn't offend by using another .sh file
[Android Apps and Games] devwithzachary:
no no im not offended at all, however perhaps your could link me to the file so I can take a look and see what makes it different and hopefully make mine better :)