yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] :
GNOME

how do i switch to gnome desktop whats the command, is it just apt-get install gnome-shell?
[Android Apps and Games] s14evil:
If you have the big ubuntu image ... It is in terminal...it should be option 2 when setting up everything
[Android Apps and Games] :
i forgot to mention that i use the Lightweight Image and want to install gnome there, is it possible to remove lxde ? with apt-get without screwing everything up? i want a smaller image since i dont have so much space left, btw device galaxy nexus gsm cyanogenmod 9 27032012 nightly working fine does anybody know which vnc viewer on the play store/market goes to real fullscreen with hiding the nav buttons at the bottom on galaxy nexus?
[Android Apps and Games] devwithzachary:
Hi, firstly the paid ubuntu (and backtrack) app will still get all updates for that distro, and all new features etc, all before the free version.

You would only have to buy the new app if you want to paid features for the new linux distros that I will be doing. The reason for having a new app is to make it easy for to maintain instead of having a paid version for every signal distro.

In the new 12.04 images you can already store your screen size, and it will also store what desktop you want.

You can use apt-get that should be fine, you could apt-get install gnome but you will then have to change vnc setting in its config file found in root/.vnc/xstartup
[Android Apps and Games] :
used full image removed lxde and other apps everything is working up to now :)
[Android Apps and Games] :
i need jDownloader on Ubuntu but the system says its read only is this correct or did i screw something up? read something about rootstock and building your own image is that possible for replacing your predefined Image REFERENCE: http://code.google.com/p/native-android-development/wiki/UbuntuForAndroidDevelopment

edit: redownloaded the full image, added jDownloader ppa and installed it (sudo add-apt-repository ppa:jd-team/jdownloader && sudo apt-get install jdownloader unrar && jdownloader) everything works ! finally i can download something in a way its meant to be on android
[Android Apps and Games] s14evil:
How did you remove lxde... I like gnome....
[Android Apps and Games] nuttaphats:
I liked it is very cool
[Android Apps and Games] :
i just removed the package in synaptic it makes no difference the rom stays 3.5 GB since the image size is predefined
[Android Apps and Games] devwithzachary:
Hi guys, I have something new for you to all test!

I have made my first Debian image, this is a 'core' image ie there is no GUI etc. What I need you all to test is if you can run

apt-get update

, when I run it at the moment I get 404 errors and I need to know if this is just me or something else. Thank you all here are the links to the image and boot script

http://sourceforge.net/projects/linuxonandroid/files/Debian/Script/debian-script.zip/download

http://sourceforge.net/projects/linuxonandroid/files/Debian/Image/Core/debian.zip/download
[Android Apps and Games] haggardh:
Hey. I bought this app. And was wondering if you have to have S-OFF. I have. Unlocked bootloader and S-ON.. permanent root though.

S-OFF is unattainable right now on the HTC Vivid.. And was wondering if that's why I can't get Ubuntu to boot.

Sent from my HTC Vivid
[Android Apps and Games] devwithzachary:
Nope so long as you have busybox installed to system/bin and have a kernel that supports loop devices you should be good to go
[Android Apps and Games] Aus4000:
Totally awesome!

orks with Casio Commando nearly stock everything, EVEN UNDERWATER! Although I'm having the same problem as most with it always saying 'eth0: No such device.' Getting around it is no big deal, though. Other than that it works flawlessly, even at 806Mhz (the current max CPU freq for Commando) Kudos for you! :D
[Android Apps and Games] k4p741nkrunch:
Can anyone here confirm if this works for them on a G2x/O2x device?

I've used a plethora of kernels and two roms now and the best progress I've been able to get is logging in via a VNC viewer and getting the blank grey X screen. I've tried a couple of your provided images as well.

I am in the process of downloading your new debian image as we speak. Hopefully this will work and if it does I'll verify your 404 problem.

Thanks again!
[Android Apps and Games] gersto:
well good news... it seems gnome is borked (i like gnome -_-) but lxde appears to be running fine. I'm using the large image on my HTC Flyer running Leedroid. I may just redownload the image and try it just to be sure it's not the download, i'll also try the small image too and see how that runs. But at least success i can run Linux on my flyer!
[Android Apps and Games] k4p741nkrunch:
Hey Zac, just wanted to confirm I'm getting the 404 as well.

I did a little digging around and according to the /etc/apt/sources.list file you're using a mirror that doesn't have support for lenny. I actually went to

http://ftp.de.debian.org/debian/dists/

myself and there is no lenny folder.

I did some more digging and it looks like lenny is now archived.

You'll have to switch the repository in /etc/apt/sources.list to

deb http://archive.debian.org/debian lenny main non-free contrib

Easily done with an

# rm /etc/apt/sources.list

# echo 'deb http://archive.debian.org/debian lenny main non-free contrib' > /etc/apt/sources.list

Then just apt-get update and no more 404's. :)

Hope I helped!

*Edit*

Just did it myself, there's going to be some public key errors after an apt-get update.

Just do an

# apt-get install debian-keyring debian-archive-keyring

then

# apt-key update

and now you're all set to apt-get install vncserver.

Again, hope it helps. Looking forward to your all-in-one app.
[Android Apps and Games] eagleofdeath13:
Excuse me if it's been already asked but, is there a tutorial (or something similar) to build our own Linux image?

If not, is it possible to do one?

Thank you for your work, really great!
[Android Apps and Games] DarkhShadow:
Its inside the paid app ;)

Might be inside free idk

Sent from my ice cream powered Nexus S
[Android Apps and Games] eagleofdeath13:
Maybe it's different now, but the last time i've look into it, i've seen a tutorial to build a Ubuntu image, and nothing more than ubuntu :s
[Android Apps and Games] devwithzachary:
Its different depending on what linux distro you want to build

Thank you! knew it had to be something like that can now get on with the images/app
[Android Apps and Games] :
http://code.google.com/p/native-android-development/wiki/UbuntuForAndroidDevelopment

http://androlinux.com/android-ubuntu-development/how-to-build-chroot-arm-ubuntu-images-for-android/

i've found these tutorials but havent tried them yet
[Android Apps and Games] eagleofdeath13:
Thanks, but, like in the application, these tutorials are made for Ubuntu only ^^

Sure, but maybe some generic tutorial? Something to start to work ^^

Something like this : http://www.archos-generation.com/wiki/doku.php?id=en:dev_beta_1
[Android Apps and Games] matqow:
its great in acrr a501
[Android Apps and Games] 12nala34:
Hi!

I am trying to run Ubuntu on my phone, but I have a little trouble. Running ubuntu.sh I receive an answer:

# sh ubuntu.sh
sh ubuntu.sh
Loop device exists
mount: mounting /dev/block/loop255 on /data/local/mnt failed: No such device
mount: mounting devpts on /data/local/mnt/dev/pts failed: No such file or directory
mount: mounting proc on /data/local/mnt/proc failed: No such file or directory
mount: mounting sysfs on /data/local/mnt/sys failed: No such file or directory
mount: mounting /sdcard on /data/local/mnt/sdcard failed: No such file or directory
net.ipv4.ip_forward = 1
ubuntu.sh: cannot create /data/local/mnt/etc/resolv.conf: directory nonexistent
ubuntu.sh: cannot create /data/local/mnt/etc/resolv.conf: directory nonexistent
ubuntu.sh: cannot create /data/local/mnt/etc/hosts: directory nonexistent
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
lsof: WARNING: can't stat() yaffs2 file system /cache/recovery (deleted)
Output information may be incomplete.
umount: can't umount /data/local/mnt/sdcard: No such file or directory
umount: can't umount /data/local/mnt/external_sd: No such file or directory
umount: can't umount /data/local/mnt/dev/pts: No such file or directory
umount: can't umount /data/local/mnt/proc: No such file or directory
umount: can't umount /data/local/mnt/sys: No such file or directory
umount: can't umount /data/local/mnt: Invalid argument
#

What should I change in the script? I was looking for an error and I don't have idea what is wrong.

What is the problem? I have installed superuser and newest busybox. Of course the phone is rooted. Thanks in advance!
[Android Apps and Games] Fastrite:
Problem booting ubuntu

Hi Zak,

Have been running the paid ubuntu app on a Desire S on Reaper and various CM9 Roms (OC to 1.5) for a while, running just fine.

Now trying to run it on an Atrix MB860 (on CM9) and I can't get it to start.

I've removed the Terminal Emulator as a system app and installed it as a user app from the market as suggested. I've installed busy box to /system/bin/ instead of /system/xbin/ as seen earlier in this thread.

Where am I going wrong?

Also would it be possible to put the image on my internal storage instead of my SD card? Maybe by modifying the script?
[Android Apps and Games] k4p741nkrunch:
Hey Fastrite and 12nala, looks like its a simple issue with the directories not being made for mounting. I had that problem with older scripts, but the newer ones work fine. Perhaps you are using an outdated script file?

If you are sure you are using the latest script you can always create the directories yourself. Either use a file explorer with root access like FX file explorer and make the folders

/data/local/mnt/sys

/data/local/mnt/proc

/data/local/mnt/dev/pts

/data/local/mnt/sdcard

Or you can go to the terminal and type:

su

mount -o rw,remount /

mkdir /data/local/mnt/sys

mkdir /data/local/mnt/proc

mkdir /data/local/mnt/dev/pts

mkdir /data/local/mnt/sdcard

Then just rerun the script.

If you get any other errors post em here and I'll try to help.
[Android Apps and Games] 12nala34:
OK, thanks I've got rid of this "No such file or directory" errors. The folders you mentioned didn't exist. Now it is only:

sh ubuntu.sh
Loop device exists
mount: mounting /dev/block/loop255 on /data/local/mnt failed: No such device
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/init.sh': No such file or directory
Shutting down Ubuntu ARM
lsof: WARNING: can't stat() yaffs2 file system /cache/recovery (deleted)
Output information may be incomplete.
umount: can't umount /data/local/mnt/external_sd: No such file or directory
umount: can't umount /data/local/mnt: Invalid argument
#

I have also added "etc" dir:

mkdir /data/local/mnt/etc

I have downloaded scripts from the app which is available in Google Play.

I don't understand first and second line: There is a Loop Device, there is a Loop255 and mnt dictionary but it can't be mounted.

So there is a "Loop" error, and that's it? Or the "eth0: No such device" is another problem?

Thank you!
[Android Apps and Games] :
i had a problem with my first image and redownloaded everything now i cant create folders or write to sdcard, ubuntu says the folders are read-only

terminal says mkdir failed for /data/local/mnt, File exists (i looked with nautilus there is a tmp folder already /data/local/tmp) is that correct or do i need to delete it?)

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

i'm using the full image untouched

-

Galaxy Nexus - update-cm-9-20120329-NIGHTLY-maguro-signed.zip - ubuntuV5-image.zip - ubuntu.sh(V5)
[Android Apps and Games] hhenault:
For those exposing problems when lauching the script (siggismallz, 12nala34 and others), instead of just typing

sh ubuntuv5.sh

I suggest to try

mount

sh -x ubuntuv5.sh

It will show which mounts are failing
[Android Apps and Games] :
:/ Message is too short
[Android Apps and Games] blisslove:
Hi, I have successfully connected with AndroidVN but I can only see blank screen and mouse cursor even I set 24 bit at Android VN app.

I've tried 800x480 and 1024x768 resolution.

My phone is Motorola Razr XT910.
[Android Apps and Games] DarkhShadow:
Try a different rom

Sent from my ice cream powered Nexus S
[Android Apps and Games] 12nala34:
It fails mounting loop to mnt.
[Android Apps and Games] blisslove:
I'm sorry, what do you mean by different ROM?
[Android Apps and Games] DarkhShadow:
Use a different custom rom

Sent from my ice cream powered Nexus S
[Android Apps and Games] hhenault:
Something already mounted on loop255 ?

give those commands :

'uname -a' + 'ifconfig' + 'mount'

just before launching the script
[Android Apps and Games] devwithzachary:
Hi guys, sorry I have not been around, been very busy build the new debian images and getting the new apps ready.

would like to thank everyone who has been trying to help others its what android is all about after all :)

Once the new apps are out it comes back round for Ubuntu to get some update love including new images and other features :D
[Android Apps and Games] :
msg too short blabla
[Android Apps and Games] 12nala34:
How can I check if is something mounted on the loop? Giving "mount" command in terminal it doesn't sey anything about any loop. I have tried to use another loop (for example loop2, loop7), but without any success. Still I can losetup img on the loop, but I can't mount loop on mnt.

losetup /dev/block/loop255 $kit/ubuntu.img -> seems OK

mount -t ext2 /dev/block/loop255 $mnt -> it causes error:

mount: mounting /dev/block/loop255 on /data/local/mnt failed: No such device

... but one line before there is "Loop device exists". :confused:

Could be the file system a problem? Here I mount in ext2 (-t is option to choose file system) but when I write only "mount" in the terminal it doesn't mention in any line about ext2 file system. Only about yaffs2.

sh ubuntu.sh
Loop device exists
mount: mounting /dev/block/loop255 on /data/local/mnt failed: No such device
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/init.sh': No such file or directory
Shutting down Ubuntu ARM
lsof: WARNING: can't stat() yaffs2 file system /cache/recovery (deleted)
Output information may be incomplete.
umount: can't umount /data/local/mnt/external_sd: No such file or directory
umount: can't umount /data/local/mnt: Invalid argument
#
[Android Apps and Games] devwithzachary:
Complete Linux Installer Beta released!

The first version of the new signal paid app has been release to the market!

This is a beta version as a few features do not yet works but by the end of the weekend these should be fixed.

Features of the new app include

*Install guides for Ubuntu and Backtrack (Debian to come soon!)

*All updates for all linux distros before other apps

*All features from the paid ubuntu and backtrack apps

*Boot widgets for all support linux distros (however this is not included in this version, will be in next update!)

The idea behind this app is that by buying this app you will get all future Linux distros that I support included in the app, thus this will be the last linux installer you will ever need to buy!

It will always feature everything that I do for the linux on android project.

The first thing you will get before anyone else will be the debian install guide and fast downloads for it, I am just waiting for the files to upload to the server so this should be done hopefully tonight!

There is only one bug right now and that is the lack of widgets, I had some problems getting more than one widget to work but should have this fixed by the end of the weekend.

This is by no means the finished project and is a BETA, but if you can't wait buy now and get the updates right away :D

https://play.google.com/store/apps/details?id=com.zpwebsites.completelinuxinstaller

After I have released the debian free app and added debian to the complete app I shall be creating a new thread that will cover all the apps as after all It is no longer just ubuntu installer :) as always I am rather busy right now, so if you find your not getting the help your need from the forums please feel free to email me!

zac@zpwebsites.com
[Android Apps and Games] DarkhShadow:
*buys*

Sent from my ice cream powered Nexus S
[Android Apps and Games] devwithzachary:
Thank you :) it has just been updated to include Debian :D
[Android Apps and Games] DarkhShadow:
Woot :-)
[Android Apps and Games] Fastrite:
Thanks for that.

I have created the directories as suggested which seems to have sorted part of the issue but there are more! See screenshot attached.

I have also attempted some of the other suggestions that have been posted but haven't got any where.

Any ideas?
[Android Apps and Games] 12nala34:
Try to create also etc dir:

mkdir /data/local/mnt/etc

The loop error is different then mine. Have you tried to use other loop? For example loop0 or loop1?
[Android Apps and Games] k4p741nkrunch:
Judging by the "Invalid Argument" error I would suggest it had something to do with an outdated busybox.

You could try getting "Busybox Installer" from the market.

(also found HERE)

It could also be that your kernel doesn't support loop devices, even though it says "Loop device exists". Here's why..

I've looked it the script quite a few times and can't quite grasp this:

if [ -b /dev/block/loop255 ]; then

echo "Loop device exists"

-b isn't a valid argument for 'if' at least according to the man page.

That's why just about everybody receives the message "Loop device exists" even when their kernel might not support loop devices.

I'm not entirely sure about this, but I can't find any documentation that says -b is an appropriate argument for if. I suggest changing it to a -d and seeing what happens. Zac, your thoughts on this?
[Android Apps and Games] lucmhv:
Can you dual-boot it?

I love Android & Ubuntu. Maybe I missed it, but is it possible to dualboot them? (LG-P500h)
[Android Apps and Games] 12nala34:
I have tried to do it. I think the proper version is with -b. Why? When the loop255 exists and if is with -d argument the script want to create it again. When loop255 do not exist and if is with -b argument it is created and there is no message about loop.
[Android Apps and Games] devwithzachary:
hmmmm this might be a typo on my part! your right the -d argument is used to check if a folder is there, its been so long I don't remember why I put b

Not true dual boot no, running ubuntu natively requires drivers for your own device etc and very few devices have the kind of dev support needed to get this running. This method installed ubuntu within android so all the drivers are already there :)
[Android Apps and Games] :
zacthespack: can you help me with my problem please? i used to be able to write now everything is read only in ubuntu i included the terminal log and a screenshot from within ubuntu. im using a galaxy nexus with latest nightly from cyanogenmod
[Android Apps and Games] couash:
still a couple errors

Trying this on notion ink adam, here's what I get (I use to get a lot more errors than that, but some posts in this thread helped me get rid of some)

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

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

app_6@android:/ $ su

app_6@android:/ # cd sdcard/ubuntu/

app_6@android:/sdcard/ubuntu #

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

Loop device exists

mount: mounting /dev/block/loop255 on /data/local/mnt failed: Invalid argument

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/init.sh': No such file or directory

Shutting down Ubuntu ARM

failed: No such file or directory

failed: Invalid argument

app_6@android:/sdcard/ubuntu #

Any idea? Anyone?

Thanks!
[Android Apps and Games] devwithzachary:
hmmm interesting a few people have had this problem with the 10.10 images, is your system partion mounted read write?

You might want to the new 12.04 images as no one has had this problem...'yet'
[Android Apps and Games] devwithzachary:
Hi all, I have started making torrents for all the files, you can view them all on my pirate bay profile :)

http://thepiratebay.se/user/zacthespack/

if you want to support the project but don't know how then seed some torrents :)
[Android Apps and Games] lucmhv:
Thanks ;) I would like to try it one of this days.
[Android Apps and Games] devwithzachary:
looks me like a problem with loop devices, have you tried using another loop device/or another rom?
[Android Apps and Games] devwithzachary:
Due to the success of my apps I shall be going down to phones4u tomorrow and getting myself a shinny new galaxy note to dev on :)

Thank you guys its amazing to see so many people interested in this project, really has kept me busy ;)
[Android Apps and Games] DarkhShadow:
Eww galaxy note, what is it like £500-600?
[Android Apps and Games] devwithzachary:
lol well its about £400 but im getting it on contract £27 a month I wanted a new phone..and a new tablet, and this is both :P
[Android Apps and Games] DarkhShadow:
But its the app devs worst nightmare, and its a pain to root >.>
[Android Apps and Games] feroxxx:
thanks for this torrent. download 3 of them and seeding now :)
[Android Apps and Games] devwithzachary:
Thanks very much :)

Well looking on the XDA forums its not to bad, and my app runs fine in the stock firmware just need to get root :) and don't worry I will still have my desire s for a while so there will be no stopping of working on the project just at some point will go from desire s to note :)
[Android Apps and Games] Halco:
Hi.

I tried ur app, but have a problem :p

When i launch sh ubuntu.sh i got this :

first :

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

then, after the configuration :

[1] Segmentation fault busybox chroot $...

Any idea ? Thanks :)
[Android Apps and Games] s14evil:
Zac, how much do u use this app when you are not DEVing...
[Android Apps and Games] :
zac, i think the Problem on my phone is that somehow one time the Image has not been unmouted from loop i already tried full data/wipe its still mounted

this is with the new Image it doesnt even boot
[Android Apps and Games] DarkhShadow:
That's a problem with busbox, try reinstalling it in /system/bin

Sent from my ice cream powered Nexus S
[Android Apps and Games] Halco:
Same problem with busybox 1.19.4-Stericson in /system/bin... Should i downgrade my busybox?

Envoyé depuis mon Elora GT-I5801 avec Tapatalk
[Android Apps and Games] devwithzachary:
yes some people find it dosnt work but it dos with .3

Hmmm it does look that way yes...unless something has taken the loop you havnt installed anything else or moved a load of apps to your sdcard?
[Android Apps and Games] :
nope i did it on a fresh install of cyanogenmod no apps installed latest nightly full wipe
[Android Apps and Games] Halco:
Nop.. same error with .3, even with 1.18.4 :/

Envoyé depuis mon Elora GT-I5801 avec Tapatalk
[Android Apps and Games] devwithzachary:
Not that I know of, go ahead and test:)
[Android Apps and Games] devwithzachary:
Little idea of what's to come, plan on new images for qHD resolution and some updates of the images and another stab at the boot script
[Android Apps and Games] Allamann:
Samsung Galaxy Note G7000

FM 1.5 Kernel

RocketRom V10 (14Toggle, smoothnessupdate, addperformance, stock theme)

Note freezes after executing ubuntu.sh, only restarting by holding powerbutton helps...

It's a pity, I thought booting ubuntu is only possible on a Rom with loop devices capabilities and now I read that only the stock rom is working :(