yashsingh1/xdaforums huggingface dataset:
[Android Software Development] devwithzachary:
Its been a long time coming but the Complete Linux Installer has been updated to v3.1!

This is a huge update with a range of new features that will make the app far more than 'just' a installer, this complete change log is at the bottom of the post but lets take a second to look at a few of the new features!

The app now includes the boot script built in which means you only need to download the image you want, the script works for all images and has been greatly improved (see script part of change log)

The app can now also from the launch menu let you set up a image to boot on start up of android.

Alot of config settings can now be down within the app for the images (including screen size, starting vnc and ssh etc.)

We hope you enjoy the update as it has taken us quite some time to complete as much as we have!

There is bond to be more changes that just what we have said here so check it out if you have bought it already and if not your missing out ;)

Enjoy

(Most of these features will be coming to the other two paid apps however all improvements to the apps themselves will not be included in the free apps)

App

*Added a config screen on the launcher.

*Added a mount editor to the config screen where new mounts can be added.

*Added a option to turn on/off start of SSH and VNC servers.

*Added resolution settings to the config screen.

*Added auto run options, the image can now be mounted automatically when android has booted.

*Added Danish translations.

*The launcher now warn you if the image path is wrong and hide the config and start button.

*Changed the widgets and launcher to use a full image name instead of the path and script name.

*Fixed grammar and spelling for English text

*Added torrent downloads for debian and backtrack

Image

*It now asks if you want to start ssh and vnc at first boot and let you save the choices. (The complete installer app can change ssh/vnc start choices and change vnc resolution later, the free apps can do it by editing a file)

*Resolution and other settings are now saved the same place as the image itself so they are easy to edit. The file is called imagename.img.configs

*The permissions on /sdcard and /external_sd should be fixed now.

*Now the hosts and resolv.conf files are only written once, so changes the user make will now survive a restart.

*Plus a lot of changes to support the new config system, to many to mention.

Script

*Changed the script so it now look for any of our apps and use busybox from there. If none of the apps are found it will use /system/xbin/busybox instead.

*Changed the shutdown part to use the apps busybox, now it should shutdown for everyone.

*Now we write hosts and resolv.conf file only once when the image first boots. This allow changes to those files to survive restart of the image.

*Plus a lot of small changes to support the new config system.
[Android Software Development] bryandrummer:
I am running an acer a500 and recently switched to the tegra owners rom. I did a titanium restore and now it says that the complete installer is not compatible with my device my tb back up works flawlessly since I made the switch. All the other paid and free apps show up in my market but not the complete one I purchased. Is there a way around this or do I need to go back to my other rom, download back up, switch roms again and restore that way. Google shows that I have to a500 registered to my account so I am not sure what could cause the incompatibility issue.
[Android Software Development] batoo:
Any idea how to resize img without loosing datas? I am running out of space..

Thank you.
[Android Software Development] er.davinder:
zacthespack please help me,

first of thank you for such a cool hack

I followed all the steps correctly also i am able to boot ubuntu

but it does not start i am stuck at the first screen of ubuntu.

it would be nice if you could tell whats the problem.
[Android Software Development] taomorpheus:
Nice project, I am installing ubuntu right now on my tablet :)
[Android Software Development] MikiBroki:
Ubuntu 12 problem: column icon at the left side showed only as gray blocks.

Ubuntu 10 problem:

When I install something I can't start the image again. When I type 'exit':

Killing Xtightvnc process ID 1379
* Stopping OpenBSD Secure Shell server sshd
failed: Invalid argument
losetup: /dev/block/loop255: No such device or address

When I tray to start the imagen again:

net.ipv4.ip_forward = 1
Ubuntu is configured with SSH and VNC servers that can be accessed from the IP:
eth0: no such device

chroot: can't execute '/root/ini.sh': No such file or directory
Shutting down Ubuntu ARM
failed: Invalid argument
losetup: /dev/block/loop255: No such device or address

I have tried many times with same result :(

My tablet is an Cube U9GT2 with Evolution ROM 1.4
[Android Software Development] mscion:
@zacthespack and tuxling

Have given the new installer a try. On GNote, downloaded the small LXDE version of Ubuntu 12.04. Seems to work fine. Starting up and closing is cleaner. I downloaded synaptic and then used synaptic to download wxmaxima. No problems. Also no data lost when closing and opening ubuntu. Will next try to resize image to 4GB.

Thanks for your efforts!

EDIT: Resized the image to 4GB and it worked fine including programs I had loaded before resizing.
[Android Software Development] MikiBroki:
Other error message when can't start image (Ubuntu 10):

mount: mounting /sdcard/external_sd on /data/local/mnt/external_sd failed: no such file or directory
net.ipv4.ip_forward = 1
ubuntu.sh[58]: cannot create /data/local/mnt/etc/resolv.conf: No such file or directory
ubuntu.sh[59]: cannot create /data/local/mnt/etc/resolv.conf: No such file or directory
ubuntu.sh[60]: cannot create /data/local/mnt/etc/resolv.conf: 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/ini.sh': No such file or directory
shutting down Ubuntu ARM
Couldn't read /proc/921/cmdline
failed: Invalid argument
failed: Invalid argument

I have trying to install Ubunto 12... but left column with gray blocks instead icons
[Android Software Development] TONINO_CT:
Thanks for ubuntu 12.04.
[Android Software Development] linuxminty:
androvnc drama

Ok, i have tried about 4 different ways to get ubuntu to boot onto my DellStreak 5 and finally found one with your Ubuntu Installer Paid.

Only problem now is that no matter what I do i CANT SEEM TO BE ABLE TO GET INTO THE GRAPHICAL INTERFACE. TERMINAL IS OK, i SET SCREEN RES OK, BUT WHEN IT COMES TO LINKING IN IT DOESNT WORK :s

wow appologies for the caps, but i cba to go back and change now :P

Any help would be appreciated.

Error!

VNC connection failed!

localhost/127.0.0.1:5900 - Connection refused.

i followed this thread through all its pages trying whatever people suggested but still no luck! Shall I re install vnc?
[Android Software Development] zamaditix:
Did you enter "ubuntu" as the password?
[Android Software Development] batoo:
Pls how did you resize image file?
[Android Software Development] mscion:
Hi. Check here

https://linuxonandroid.uservoice.com/knowledgebase/articles/74683-how-to-i-give-linux-more-space-and
[Android Software Development] linuxminty:
Yea I tried no password, ubuntu, Ubuntu, even the classic passwd but none of them seemed to work. I uninstalled androvnc restarted and then re installed it and still nothing. Is there something I need to do inside ubuntu? The connection seems to be refused everytime and this to me sounds like its talking but no one in the ubuntu is listening? I cant install anything into ubuntu either as I mentioned in my last post, if this was fixed then I could install the relevant vnc in ubuntu for it to talk to if thats the problem?

Any ideas how to fix the install problem?

edit* just read my last post and didnt say what the output whilst trying to install was so here it is :

Preconfiguring packages ...

dpkg: warning: 'ldconfig' not found in PATH or not executable.

dpkg: warning: 'start-stop-daemon' not found in PATH or not executable.

dpkg: error: 2 expected programmes not found in PATH or not executable.

Note: root's PATH should be usually contain /usr/local/sbin, /usr/sbin and /sbin.

E: Sub-process /usr/bin/dpkg returned and error code (2)

note* there is no /local directory in the /usr directory and /sbin is located in the / directory. I even ventured into /root /var /etc but couldnt find anything dramatically out of place.

Any help would be appreciated.
[Android Software Development] dverrette:
I have the exact same problem with backtrack v7, i tried different passwords and it still wont connect to android vnc, yea i need help on this aswell.

Sent from Galaxy S II using Premium XDA
[Android Software Development] linuxminty:
Any more experienced users have an input on the last 2 posts? I for one am a little stumped. It cant have been the initial installation, this has happened in both Debian and Ubuntu.

Are our repo lists wrong? therefore stopping us from downloading from the right source? All i can tell from my digging is that one of the files didnt install properly.

Any help would be appreciated!
[Android Software Development] barryflanagan:
From inside the linux terminal, do "ps ax | grep vnc" and see is the vnc server actually running. If it is, I would try a different vnc client (my preference is Jump Desktop) as another user a while back had a similar issue and when he changed vnc clients it worked.

If vnc is not running, post up the contents of /home/ubuntu/.vnc/localhost:0.log which should have details of why vnc might have failed to run.

As for the inability to apt-get from the output it looks like your PATHs are not set correctly for root. Try doing "sudo -i" after your initial (which should be as the ubuntu user) and then try again.

Hope this helps.
[Android Software Development] Zombiebraut:
Problems on eee Pad Transformer

Hello everyone,

I'm trying to install Ubuntu 12.04 on my Asus eee Pad Transformer TF300T, but the bootscript doesn't work for me.

My kernel: 2.6.39.4-00009-g5d1293f android@Mercury#1

Rom: IML74K.WW_epad-9.4.3.29-20120511

TF300T PAD-EC20T-0216

I got my device rooted an busybox installed in system/xbin

Here's what the terminal says:

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

app_112@android:/ $ su

# cd sdcard/ubuntu/

# sh ubuntu.sh

ubuntu.sh[23]: cut: not found

Error: This script requires root! Type: su

# su

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

ubuntu.sh[23]: cut: not found

Error: This script requires root! Type: su

1|app_112@android:/mnt/sdcard/ubuntu #

Hope you can help me.
[Android Software Development] dverrette:
So is my vnc working? I took a photo.

Sent from Galaxy S II using Premium XDA
[Android Software Development] barryflanagan:
No
[Android Software Development] dverrette:
Is there a fix for this? Thanks.

Sent from Galaxy S II using Premium XDA
[Android Software Development] octoberriot:
Localhost:5900 caused the same issue for me in backtrack v7, changed the port to 5901 alwith the pass: backtrac and it worked fine
[Android Software Development] dverrette:
Android vnc and jump are getting refused connections, tried 5900 and 5901 on both apps

EDIT:

That did not work either, but to get the log of why my vnc isnt working do i need to type this in the terminal?:

/home/ubuntu/.vnc/localhost:0.log

Or is this a directory that I need to access from something else?

Sent from Galaxy S II using Premium XDA
[Android Software Development] himadri:
Would open vpn work if I install ubuntu ? Can I also install latex ? And gimp ?
[Android Software Development] linuxminty:
Still no joy. vnc is not installed tried another app, still no joy. Tried porting to 5901 no luck. and sudo -i is not a valid command.

/home/ubuntu/.vnc no such log exsists.
[Android Software Development] barryflanagan:
Sorry, I am not familiar with the Backtrack linux install, or which user it runs under - probably not ubuntu so my advice above is incorrect.

localhost:0.log is a file, and is the log of the vnc server. It will exist in the home directory of the user which runs vnc.

Are you sure you are using both the backtrack image AND the backtrack boot script? I notice in your screenshot there is an error "unknown id: ubuntu" - this should not show up if ou are using backtrack.

Can you copy and paste the entire output of the terminal when you tart linux - not a screenshot, but copy/paste?
[Android Software Development] mscion:
I havn't tried installing open vpn but, in general, you should be able to install any of the usual software you do on a pc. On my galaxy note I've installed Wxmaxima, texlive base and publishers, matplot, cadabra, galculate, mc, libreoffice (it does not come on LXDE version of 12.04), xournal, evince and so forth. I recommend the LXDE version of 12.04 because it is, at least for me, much more responsive than Gnome. To load all this software you will have to enlarge image as described earlier in this thread.

I think there are still some issues with user privileges. For example, to run xterm I have to start it from a terminal as "sudo xterm" I'm not sure if this will help but for those having issues with password, you might actually go to root and set your password for user "ubuntu". For some reason it did not get set properly for me. Maybe that will help those having a problem with vnc.
[Android Software Development] himadri:
^^^ Downloading image right now. Thanks.
[Android Software Development] himadri:
$ export PATH=/data/local/bin:$PATH

$ su

# ls

acct

cache

config

d

data

default.prop

dev

efs

etc

fota.rc

init

init.goldfish.rc

init.rc

init.smdkc210.rc

init.smdkv310.rc

lib

lpm.rc

mnt

proc

sbin

sdcard

sys

system

ueventd.goldfish.rc

ueventd.rc

ueventd.smdkc210.rc

ueventd.smdkv310.rc

vendor

# cd sdcard

# ls

ALDIKO_GMAIL_ATTACHMENT.pdf

Alarms

AndroSensor

AndroZip

Android

Aura

Autodesk

Cauly

DCIM

Detexify

Digital Editions

Download

DroidIris

Fade.yuv

FastBurstCamera

GOLauncherEX

GOLocker

GoStore

Infinite Design

KingsoftOffice

LaputaBooks

Ma422.xlsx

MovieMakerLib

Movies

Music

My SugarSync Folders

Notifications

PaintBrush

Photo

PicSpeed Wallpapers

PicsArt

Pictures

Podcasts

PressReader

PuddingCamera

Ringtones

Samsung

ShoDo

Socialin

Sync

Test.pptx

TuneWiki

TunnyBrowser

VerbTeX

Video

Yahoo!

aDownloader

arXiv

backups

bejoy_sketch

bluetooth

brush

busybox-stericson

com.zinio.samsung.android

documents

downloads

eBooks

ebook

extStorages

flickr

layar

mapquest

media

openfeint

openvpn

penman

photoeditor

preview.vpl

pulse

samsungapps

scid

sketcher

sketchmovie

supernote

tmp

toolbox-stericson

torrent

ubuntu

wikiHowCache

# cd ubuntu

# ls

ubuntu-script-v7-ubuntufree.zip

ubuntu.img

ubuntu.img.md5

ubuntu.sh

# sh ubuntu.sh

Validating image checksum... OK

Checking loop device... MISSING

Creating loop device... OK

net.ipv4.ip_forward = 1

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

eth0: No such device

Starting first boot setup.......

Now give your user account (named ubuntu) a password

Please enter the new password below

Enter new UNIX password:

Retype new UNIX password:

passwd: password updated successfully

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

1024x600

Save this as default? (y/n) (to remove default delete the file /root/bootdefaults.txt)

y

/root/init.sh: line 53: root/bootdefaults.txt: No such file or directory

xauth: file /home/ubuntu/.Xauthority does not exist

New 'X' desktop is localhost:0

Starting applications specified in /home/ubuntu/.vnc/xstartup

Log file is /home/ubuntu/.vnc/localhost:0.log

/root/init.sh: line 83: /etc/init.d/ssh: No such file or directory

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:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0

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!

root@localhost:~#

I got the above but vnc says authentication failed ! What to do now ?
[Android Software Development] himadri:
^^^ Sorry got it, mods please delete the previous redundant post. Thank you.
[Android Software Development] dverrette:
$ export PATH=/data/local/bin:$PATH

$ su

# cd sdcard/backtrack

# sh backtrack.sh

net.ipv4.ip_forward = 1

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

ifconfig: eth0: error fetching interface information: Device not found

Config file loaded

Unknown id: ubuntu

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

If connection from a different machine on the same network as the android device use the address below:

eth0: error fetching interface information: Device not found

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)

* Starting OpenBSD Secure Shell server sshd [ OK ]

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

root@localhost:~#

Sent from Galaxy S II using Premium XDA
[Android Software Development] martijn.vanpoorten:
First of all thanks the complete linux installer.

I'm using the pro version on an Galaxy Tab 2 10.1 GT-P5110 WiFi and i downloaded all the needed apps and Ubuntu files using the install guide. I put the files in the root of my sdcard and i entered the path to the bootscript.sh file (/sdcard/ubuntu). I added the boot widget to my screen and when launching it my terminal opens and it shows the following line:

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

app_133@android:/ $

But nothing happens, i doesn't ask what resolution i want to use and when connectiong using vnc... vnc can't connect. It's also not possible to enter any commands in the terminal.

Do you have any idea what's wrong? Maybe you can tell me how to change the path where the files are located. Maybe i entered the wrong path to the ubuntu files ...

Thanks in advance.
[Android Software Development] dddang:
Droid 4 can not run

I am using Droid 4 ,i think it is 2.3.

The ubuntu.sh can be executed,but it seems it does not exist only Windows manager or Session manager when i using VNC to connect.

That is also exist a .xsession-error file in /home/ubuntu director.i got an error"(x-session-manager:4756):WARNING **:Cannot open display:

why?plz.
[Android Software Development] devwithzachary:
Do you have the newest terminal emulator update installed? it is likely due to that, or if your rom came with the terminal emulator you may well need to remove it and then reinstall from the marketplace

Which ubuntu image are you using?
[Android Software Development] barryflanagan:
It seems to me that the above "Unknown id: ubuntu is your issue. I have not used backtrack but I thought that it used a user "backtrack" not "ubuntu". In any case what appears to be happening is that the init script is trying to su to ubuntu to run the vnc server, but this userid is not found and therefore nothing else gets run.

Can you confirm that you are using the backtrack v7 image and the backtrack v5 script?
[Android Software Development] barryflanagan:
OK, I downloaded backtrack v7 image and the backtrackv6 script and I think I see the problem.

@zakthespack, you might want to fix this.

The "ubuntu" user does not exist in this image and therefore the initial setup fails and vnc, etc does not start.

To fix it, load up the image, and at the linux prompt, do the following

adduser ubuntu

( then follow the prompts, to give it a full name and password)

rm /root/DONOTDELETE.txt

(this will remove the file so next time you load the image it will run through the initial setup again.

Now type "exit" to close down the image.

The next time you run it, it will run through the initial setup again ad you should be OK.

Hope this helps.
[Android Software Development] maciejb84:
hey,

on my galaxy nexus ubuntu is working only on first boot, when i type exit, exit, exit to exit from terminal and later when i try to lunch it again it says checksum error and nothing happens :/

why? where can i edit script to turn off md5 validation??
[Android Software Development] barryflanagan:
Don't know why that might be happening, but you can just delete the ubuntu.md5 file within the directory with your ubuntu.img. That will "turn off" the checking.
[Android Software Development] maciejb84:
Where is that loop file made? It always says that it is found, i want to delete it..

Wysyłane z mojego GT-I9300 za pomocą Tapatalk 2
[Android Software Development] tibiz:
spam, delete
[Android Software Development] Ubertool:
Is there any reason as to why the user account is locked and cannot be unlocked for Ubuntu 12.04? Is there a way to fix this? I really can't do much of anything with it being locked.
[Android Software Development] barryflanagan:
From your screenshots the ubuntu user still does not exist.....
[Android Software Development] mrWax:
runnin image on Win/Linux

Hi,

I was just wondering whether it is possible to run "ubuntu.img" using ARM-Qemu under Win or Linux, or Chroot on linux. If yes, do you have some hints how to do it? It would be very nice to have this portability of the system.

thx

cheers,

wax.
[Android Software Development] Wrathofme:
Got the same problem on my Motorola RAZR XT910. Android 4.0.4 rooted. Busybox installed. What can be wrong?
[Android Software Development] dverrette:
So does it matter what the full name is?

EDIT: That did the trick! Thanks for your help.

Sent from Galaxy S II using Premium XDA
[Android Software Development] hiruko:
Any chance to get plasma active on ubuntu as default desktop??

I can install LXDE, and works well on HTC flyers.

Now, there ids some way to get a working plasma active ( most suitable for tablets ??

From LXDE i cant logout to getanother interface.

Any ideas ??

Thanks in advance
[Android Software Development] thunderbird_09:
Ubuntu 10.10 and Debian small work on my SII with CM9 and 3.0.32-CM-gb256552 Kernel. But Ubuntu 12.04 doesn't work.

Here's what i get: s7.directupload.net/file/d/2928/znii23fe_png.htm (sorry, can't post images yet)

//solved
[Android Software Development] MrWeaver:
Great stuff!

Tried searching for this, and either we're using different terms, or I'm suffering a unique problem.

So the android terminal is chrooted into Ubuntu, and I can see it through the VNC, but any additional terminals I open up are unresponsive. Blank and do not respond to input, as opposed to a busy terminal which would show what you type, just not react to it.

Has anyone seen this? Has anyone solved this? Does having the device chrooted in lock up other terminals in the OS?
[Android Software Development] thatdefault:
Wrong password when I try to do anything that requires root in the GUI. Terminal works :confused:
[Android Software Development] mrWax:
because

because one then could only one system. i.e. one could do something on phone linux - install package, set some enviroment, download files then could come to PC and tgave everything there. one sole system. but well i dont know exactly whether setting sdcard to be bootable wont screw something.
[Android Software Development] LunaticSerenade:
No worries. But it works like a charm...I'm super pumped about this!
[Android Software Development] RavenY2K3:
I have a slight issue where I cannot add a printer, the "Add" option is greyed out, is this a design feature lol, or am I missing something?
[Android Software Development] devwithzachary:
Someone else reported CUPS not working, and tbh I havnt had the time to test printing (need to set up a printer to be able to do it) so no its a bug for now