yashsingh1/xdaforums huggingface dataset:
[Android Software Development] devwithzachary:
You need to use the android keyboard, if your using the vnc app thats linked in our app simply long press on the screen and three buttons will come up, the middle one will bring up a keyboard. And what software could you not install and why?

This is am ARM6 device so only debian will work on it

see http://linuxonandroid.org/working-devices/ for list of working devices/roms/kernels

Yes normally the sources file has alot of sources so if one dosnt work another will, however as this is an ARM port the only working repo I found was the ports.ubuntu repo, but there may be others you could add

This is because the on screen keyboard requires a real display to work from so you get these errors using it over a vnc connection, but you can use the android keyboard to send stuff to ubuntu, simply long press the screen and three buttons will come up, the middle one will bring up the keyboard to use

looks like user might not have permission to run vnc, but is our images working fine on your device? (We cant give much support for other peoples images as they will have been set up in a different way etc)
[Android Software Development] aakaa:
zacthespack, thx men:D

I confirm that debian works on htc wildfire.

I suggested information from site http : / / linuxonandroid.org / working-devices/ that backtrack and ubuntu works on wildfire. Maybe someone could remove this misleading information from site:confused:
[Android Software Development] WyoSi:
I have another issue, when exciting from the Linux system I cannot unmount completely.

I'm on a Samsung Note 2. So my sdcard is mounted at /storage/extSdCard/ , how do I change what is unmounted when I type exit on the terminal?
[Android Software Development] UN5EEN:
What is Backtrack?

PmR'd Eclipse ROM
[Android Software Development] DarkhShadow:
Another distro of Linux

Sent from my Jelly Nexus 4
[Android Software Development] UN5EEN:
Are these able to send/receive calls & SMS while running?

RAZR M: PmR'd Eclipse ROM
[Android Software Development] WyoSi:
Linux runs virtually, as it were, inside of android. So yes everything phone related works exactly as it does normally. You just have Linux running as a program.
[Android Software Development] UN5EEN:
Awesome. Thanks.

RAZR M: PmR'd Eclipse ROM
[Android Software Development] xdaCyborg:
How to Access /.vnc/xstartup directory from Phone??

I can't find it, need to change some lines, I can't see lxde, it's all grey in the vnc, Help

LG P990.
[Android Software Development] UN5EEN:
Getting "can't execute: permission denied" in terminal and "image not found" when trying to use widget.

RAZR M: PmR'd Eclipse ROM
[Android Software Development] devwithzachary:
I am guessing your doing this on your LG P990? Well it has a tegra processor which causes alot of issues with our images, which image are you using?

Have you got it working using the launcher in the app?
[Android Software Development] xdaCyborg:
home/ubuntu/.vnc missing from ES file manager on Phone

I'm using Ubuntu 12.04 Small image, CM 7.1, Everything runs except LXDE in the vnc, I got some clues, but I need to Access home/Ubuntu/.vnc xstartup file, Where is that, and can I maybe get to it from Desktop Windows or something, if not. Please what else can I do to get rid of that Grey background. Thanks in advance, Oh by the way startlxde says segmentation fault in the terminal.
[Android Software Development] UN5EEN:
Won't work in launcher in application either. Says can't find image.

RAZR M: PmR'd Eclipse ROM
[Android Software Development] vaunknown:
VNC keyboard language problem in Ubuntu

I can use android keyboard ( VNC keyboard ) but only for english language . when i use android keyboard with other language ( persian ) Nothing is written in ubuntu.

my second language of vnc keyboard don't works in ubuntu environment and i can not succeed to enable or install language-pack-fa ( persian language package ) in ubuntu .

My tablet internet connection has trouble and i want to install some softwares offline for example LAMP , Inkscape , Educational softwares and ... but Keyboard Language problem is very Major than this . :confused:
[Android Software Development] marcors:
great job

guys u are doing a awesome work!

keep this way!

i will try help aways its possible!
[Android Software Development] xdaCyborg:
VNC viewer still grey when connected.

Any ideas what can I do, or where to find. vnc/xstartup file.

Or how to start lxde.
[Android Software Development] devwithzachary:
Not sure on the keyboard issue, hopefully there are other users that can help as I havnt had this issue (then again never tried to install another keyboard) but I would have through installing the package should work, what error are you getting

Thank you

The xstartup file is in /home/ubuntu/.vnc/

But I doubt this is your issue, as I said its likely due to the tegra processor

Ok where is your image?
[Android Software Development] UN5EEN:
Storage/sdcard1/debian

RAZR M: PmR'd Eclipse ROM
[Android Software Development] xdaCyborg:
No such path can be found.

Can I modify or at least find that /home/Ubuntu/.vnc/xstartup file,

I can't even find the home/Ubuntu directory nor home/ nor anything from ES File manager (root explorer) in my phone,

I need to know how or where to access it, root folder is empty, etc/ has no home or Ubuntu/ subfolder.

I only have mnt/sdcard/Ubuntu file that has the Ingram and configuration files that's it.

It's important so I can narrow the problem down... I run a search on ES File explorer: result, no xstartup file no .vnc folder no such path as you said.
[Android Software Development] devwithzachary:
your not going to be able to use an android app for this, you will have to access the files via the chrooted ubuntu, so boot the ubuntu then use the terminal to access the file
[Android Software Development] sullytrny:
It's something for network professionals. Hack back etc...the 10 or 12 ubuntu img is for gen users. Wen I say hack itsma, American
[Android Software Development] taaviu:
Small Ubuntu- OK

Full Ubuntu- Booting up---but i can see only wallpaper

Full Debian- OK

Device: LT18i

Stock 4.0.4 customised

Kernel: Rush v9 1,4Ghz
[Android Software Development] acervenky:
Ubuntu 12 Running On My SXP

The Browser Is Superfast.

Awesome Work

[YOUTUBE]oOKJAuziOE4[/YOUTUBE]

Regards,

acervenky,

XPT
[Android Software Development] bhushan2k:
not able to install ubuntu...getting error checksum failed..attached screenshot..
[Android Software Development] taaviu:
Redownload, fresh copy and try again.
[Android Software Development] Febby:
This looks sweet to use! Not very good with Linux but so far I'm loving how light weight it is and used a lot to modify android files. :D
[Android Software Development] hisname:
I am curious, what version is backtrack in this app?
[Android Software Development] WyoSi:
5 I believe.

I don't have much experience with backtrack, but if you tell me the environment variable for version I can pull it for you.
[Android Software Development] hisname:
it's alright
[Android Software Development] Nizda1:
Its the new backtrack, same as desktop. I haven't gotten around to using it that much on my phone. Although obviously things such as using your modem in promiscuous mode isn't going to work.
[Android Software Development] hisname:
how about arch Linux? what version is it in?
[Android Software Development] bhushan2k:
still getting the same error..:( followed all steps properly..still not able to install..:(
[Android Software Development] hisname:
try using the torrents, it's better. less chances of mismatched MD5 sums
[Android Software Development] devwithzachary:
The busy box install hasn't been set to executable, go into the launcher within the app and press your menu key, then select reinstall busy box, you will be asked to give it root permissions grant it.

Then try again
[Android Software Development] bhushan2k:
where were u man..?? :D it worked..thanks a ton for helping me out..:) i would also wish to know how to setup internet connection in ubuntu?? m on 2G network..n not on wi-fi connection...so is there any way to use phone's gsm network within ubuntu??
[Android Software Development] GuitarMaster:
Can't start vnc server.

I read up on tightvnc and wanted to make a server for each user. My account (hotrod) was what I started with. I made my user an admin and a sudoer. I typed

sudo tightvnc

and entered my password. It said “Wrong type or access mode for /home/hotrod/.vnc“. I tied messing with permissions but no change please help. I have a p5113 with cm 9.1.0.
[Android Software Development] smallba:
got ubuntu working on EVO 4G running Evervolv Alpha 1 ICS with Mason 0.14 FSO SBC Kernal, About to Try Backtrack
[Android Software Development] stathist84:
$ cd backtrack

$ pwd

/mnt/sdcard/backtrack

$ ls

backtrack.sh

backtrack.img

$ su

# sh backtrack.sh

[1] Done id |

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

mount: No such file or directory

mount: No such file or directory

mount: No such file or directory

mount: No such file or directory

backtrack.sh: cannot create /data/local/mnt/etc/resolv.conf: directory nonexistent

backtrack.sh: cannot create /data/local/mnt/etc/resolv.conf: directory nonexistent

backtrack.sh: cannot create /data/local/mnt/etc/hosts: directory nonexistent

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

eth0: Cannot assign requested address

Shutting down BackTrack ARM

failed.

failed.

failed.

failed.

#

I am getting this error on galaxy young pro.

My phone is rooted and have busybox.i can see the loop folders so prob support loop...

Can someone help find out what's wrong?

Thanks in advance!!
[Android Software Development] DarkhShadow:
Your phone is ARMv6, you need v7 for this

Sent from my ice cream powered Nexus S
[Android Software Development] stathist84:
Can i update to ARMv7 somehow? Can't seem to find anything on google.
[Android Software Development] nscxp2005:
That's excellent news!

Do you have an ERA for when this is possible?
[Android Software Development] smallba:
Im Definitely Subscribed now, i got both ubuntu and backtrack booted and running with slight lag between windows. I just bought Backtrack and will be doing the same for ubuntu, Keep up the good work.
[Android Software Development] DarkhShadow:
ARMv6 and ARMv7 are types of CPUs, you can't change it

Sent from my ice cream powered Nexus S
[Android Software Development] stathist84:
Thanks!

Hopefully some day will work on l8r cpus too or ill get a phone with a better one!:rolleyes::rolleyes::rolleyes::rolleyes:
[Android Software Development] Dong12:
Questions

搞不懂我的为什的不能用啊？？读不懂啊
[Android Software Development] DarkhShadow:
No offense but please speak English or use Google translate on these forums

Sent from my ice cream powered Nexus S
[Android Software Development] devwithzachary:
Never!!! :P but no I am not sure really, I hand planned for it to be ready once stable 12.04 is out but thats coming up fast so likely not.

Plus my first year exams are coming up soon so having to start revision :(

sadly armv6 support from dropped from ARM ubuntu back at version 9.04, there are images of this floating about in forums etc so with some googling you might be able to find a image that works
[Android Software Development] NOMIOMI:
why this app is not compatible with sgs2???
[Android Software Development] devwithzachary:
It should be compatible
[Android Software Development] Dav_Edward:
I have a Samsung Galaxy S2 GT-I9100 (Not to be mistaken with GT-I9100G)

Android version 4.0.3 ICS

Current Kernel 3.0.15-I9100XXLPQ-CL223505 se.infra@SEP-94 #3

It seems my phone is lacking the boot-loop option that's needed to use Ubuntu on Android.

When I peeked at your website for compatible phones I saw the entry "Galaxy S2	Stock deodexed 2.3.6	Siyah 2.6.13"

The current kernel I'm using is just the one used to root my phone, I think using the single-click root tool.

Any suggestions what kernel or changes I should make to make my phone able to run?

Error log I get mentions

eth0: no such device

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

Shutting down Ubuntu ARM

losetup: /dev/block/loop255: no such device or address
[Android Software Development] LouK:
Lapdock Resolution

Zack:

Any chance of getting an option for the Atrix Lapdock's screen resolution of

1366x768 whenever you push out the update?

BTW great App, I have the paid version.

Thanks.
[Android Software Development] nunux:
Hello, I'm havig a problem not being able to connect to ssh host inside the chrooted ubuntu i've installed. I have an Asus Transformer TF101 with stock ICS, only rooted. I had to deal with /dev/random and /dev/urandom devices that did'nt exist so I create them using mknod but still I can't connect to any ssh host. Here is two 'ssh -v' output :

root@localhost:~# ssh -v <usernam>@<host>
OpenSSH_5.5p1 Debian-4ubuntu6, OpenSSL 0.9.8o 01 Jun 2010
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to <host> [<hostip>] port 22.
debug1: Connection established.
debug1: permanently_set_uid: 0/0
debug1: identity file /root/.ssh/id_rsa type 1
debug1: Checking blacklist file /usr/share/ssh/blacklist.RSA-2048
debug1: Checking blacklist file /etc/ssh/blacklist.RSA-2048
debug1: identity file /root/.ssh/id_rsa-cert type -1
debug1: identity file /root/.ssh/id_dsa type -1
debug1: identity file /root/.ssh/id_dsa-cert type -1
debug1: Remote protocol version 2.0, remote software version OpenSSH_4.3
debug1: match: OpenSSH_4.3 pat OpenSSH_4*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_5.5p1 Debian-4ubuntu6
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-ctr hmac-md5 none
debug1: kex: client->server aes128-ctr hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY

At this point it block and don't give me hand again.

At the begining of the chroot I get this :

1|uid=0 gid=0@192.168.0.35:/sdcard/ubuntu # sh ubuntu.sh Loop device exists
mount: mounting /dev/block/loop255 on /data/local/mnt failed: Device or resource busy
mount: mounting devpts on /data/local/mnt/dev/pts failed: Device or resource busy
mount: mounting proc on /data/local/mnt/proc failed: Device or resource busy
mount: mounting sysfs on /data/local/mnt/sys failed: Device or resource busy
net.ipv4.ip_forward = 1
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]: 1280x712

New 'X' desktop is localhost:0

Starting applications specified in /root/.vnc/xstartup

Thanks for the work and thanks in advance.
[Android Software Development] poults:
It worked fine on my GS2, stock 2.3.6.
[Android Software Development] Bahurs1:
I don't wanna root my prime just yet, but this is sooo pushing me forward to doing so.

Would it work with Tegra3?
[Android Software Development] nscxp2005:
Hi zacthespack,

would you be able to tell me how I can get Unity 2D on the latest version of your image and also get an on screen keyboard?

Thank you for your time.

All the best,

NSCXP2005
[Android Software Development] stealthdave:
X11 vs VNC

Have you looked into running the X11 port for Android at http://code.google.com/p/android-xserver/ instead of using VNC? I don't know what the performance or other limitations of this implementation might be, but it could be an interesting addition to your project! When I have time, I might try using to run X remotely, just to see if it works. Also available in the app store (free).
[Android Software Development] payas0:
im getting Unrecoverable Fatal Error.

Unable to create /var/lib/dpkg/updates/tmp.i: input output error.
[Android Software Development] RomWiz:
Little problem here...

Sent from my phone powered by 4.2
[Android Software Development] WyoSi:
Password is wrong in your vnc client
[Android Software Development] danarama:
Just come back to this on my S3 after using it for a while on my desire.

What are the technical restrictions for using a 64 bit Image? I'd love to be able to utilise a bit more on my processor.
[Android Software Development] devwithzachary:
When doing what?

What are your vnc settings?

A 64bit image? the processor if your device is an ARM processor this is not 64bit processor
[Android Software Development] danarama:
Are there any other ways to utilise the other 3 cores in that case?
[Android Software Development] lovekeiiy:
got it running on a Sprint Galaxy Note II. Ubuntu 12. Stock deoxdeized, Perseus 3.0.36 alpha 27 Kernal

On the first run, I was able to access the internet with Firefox, but not now. Can't access my MicroSD card. Wanted to test out LibreOffice. Also wasn't able to navigate to it in file explorer.

The odd thing, neither VNC and app would close. Got a message in terminal not able to unmount. I think it's possible that Directory Bind may be causing a issue

It should be noted, I have very limited knowledge on Ubuntu and even less on Linux in general.
[Android Software Development] RomWiz:
I'm pretty sure it's correct

Sent from my phone powered by 4.2
[Android Software Development] devwithzachary:
Well the settings should be:

IP: localhost

Port: 5900

Password: ubuntu/debian/backtrac depending on the distro

if you have the right settings then can I get a screen shoot of linux booting to check to see if vnc isnt starting
[Android Software Development] danarama:
Sorry to quote myself. I have found that it does run on whatever cores are active in Android, so cat /proc/cpuinfo in terminal on the image will reflect android terminal emulator.

I find it quite clever that top in android will show individual linux processes, eg nautilus. Cool. But I noticed the image would rather lag than get android to call further resources in the number of cores. I am using the pegasusq cpu governor, designed for hotplug.

Luckily the kernel uses the /res/uci.sh interface so I can use an application to hotplug lock at 4 cores. When I do this, the ubuntu image performance is massively enhanced. Now I just need to find the /sys backend to that so I can add it to the start up and exit script.

Its a work around though. Not ideal. Zack, any ideas how this could be improved upon so that image calls more hardware resources as and when needed?
[Android Software Development] RomWiz:
Then i wrote the wrong pass :P

Will try again and report back :)

Edit: Works now, Thanks :D

Sent from my phone powered by 4.2
[Android Software Development] benmatlock:
Unable to run the application again as losetup segfaults.

root@android:/sdcard/debian # busybox sh bootscript.sh

Checking loop device... FOUND

Segmentation fault

Error: Unable to attach image to loop device! (Image = /sdcard/debian/debian.img)

1|root@android:/sdcard/debian # ls

bootscript.sh

debian.img

debian.img.config

root@android:/sdcard/debian # pwd

/sdcard/debian

root@android:/sdcard/debian #

root@android:/sdcard/debian # losetup -d /dev/block/loop255

[1] + Stopped (signal) losetup -d /dev/block/loop255

root@android:/sdcard/debian #

[1] + Segmentation fault losetup -d /dev/block/loop255

root@android:/sdcard/debian # busybox losetup -d /dev/block/loop255 &> /dev/null

[1] + Stopped (signal) busybox losetup -d /dev/block/loop255 > /dev/nu

root@android:/sdcard/debian #

[1] + Segmentation fault busybox losetup -d /dev/block/loop255 > /dev/nu

root@android:/sdcard/debian #

root@android:/sdcard/debian # which busybox

/system/xbin/busybox

root@android:/sdcard/debian # busybox

BusyBox v1.20.2-cm9 bionic (2012-07-14 01:52 +0200) multi-call binary.
[Android Software Development] WeRSpecialPeople:
Kind of working on Coby Kyros 7048-4 tablet. Reboots though for an unknown reason. Rooted with { www[Dot]androidtablets[Dot]net/forum/coby-generation-3-development/50425-root-gapps-telechips-7032-7034-7036-7048-8048-a.html }. It created the loop on it's own in the terminal though.

EDIT: NEVERMIND Working now after turning off then back on. Working with Debian as well. Donating ASAP. Great Job!
[Android Software Development] tp0fik:
hi. sorry for this lame post and sorry for my english.

how i can get password in small ubuntu for sudo commands?
[Android Software Development] WyoSi:
I believe the password is: ubuntu
[Android Software Development] DarkhShadow:
Its the one you set on first boot

Sent from my Jelly Nexus 4
[Android Software Development] danarama:
I don't think it is...
[Android Software Development] sullytrny:
Unix?
[Android Software Development] DarkhShadow:
Part of first boot asks you for a password, that's the one you use for sudo actions

Sent from my Jelly Nexus 4
[Android Software Development] eddydc1:
Im so noob but, can you brixk your device if its not supported. any risks of it?

edit: ok i installed it. it connects but then no icons in screen only grey screen w/o icons
[Android Software Development] DarkhShadow:
By any chance does your device have a Tegra CPU? There's a known issue with them

Sent from my Jelly Nexus 4
[Android Software Development] danarama:
It doesn't accept it on mine.
[Android Software Development] eddydc1:
no its qualcom 1ghz singe cpu
[Android Software Development] DarkhShadow:
I have no idea then, maybe Zac knows what causes it, idk

Sent from my Jelly Nexus 4
[Android Software Development] kajiggaa:
Since ubuntu is making official os for smart phones I can't wait to see it in action
[Android Software Development] spitfire2425:
Would this be a start for making ubuntus mobile os possible for most devices? The new os looks cool and it would be great to have an app to install it with.
[Android Software Development] WeRSpecialPeople:
You should be fine. Maybe you do not have loop support or wait a few minutes for the screen to load.
[Android Software Development] Elvis_Marmaduke:
Would love to see support for TF101 4.1.2 :) I used this one my other devices and love it though
[Android Software Development] Vonotar:
Android Terminal Emulator

Hi guys,

I check on the working device and there are my MK16i listed, working with Ubuntu, so I tried to install Backtrack.

So, I rooted my phone but when I try to install the Android Terminal Emulator from the market tell me that is not compatible for my version.

I followed a guide in italian and I am sure that the phone is rooted because I uninstall some Sony app.

My kernel verison is:

2.6.32.9-pref

root@node #1

Build number is:

4.1.b.0.587

Did you have any tips for install the terminal emulator?

Many thanks
[Android Software Development] Sean_Seany:
I just tried to run this on my Samsung Galaxy Tab2 7 , on CM10.1 ~JellyBean 4.2 and got this error :

u0_a42@android:/ $
u0_a42@android:/ $ cd /sdcard/ubuntu
u0_a42@android:/sdcard/ubuntu $ su
u0_a42@android:/storage/emulated/legacy/ubuntu # sh /data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh /sdcard/ubuntu/ubuntu.img
Checking loop device... MISSING
Creating loop device... OK
mount: mounting /dev/block/loop255 on /data/local/mnt failed: Invalid argument
Error: Unable to mount the loop device!
1|u0_a42@android:/storage/emulated/legacy/ubuntu #

I used the app to download Ubuntu 12 , unpacked it and moved the ubuntu.img to a folder named Ubuntu on /sdcard.Then run the set up.

Any ideas as to what I'm doing wrong please ?

EDIT : downloaded again and worked first time !

Thanks
[Android Software Development] RomWiz:
Do you have the ubuntu.img.md5 in the same folder too?

Sent from my phone powered by 4.2
[Android Software Development] likenoother94:
hd2

i have hd2 with android 4.2 nexushd2 4.2 JB in termenal all good but when i open vnc it gives me vnc connection failed!