yashsingh1/xdaforums huggingface dataset:
[Android Software Development] vaunknown:
Problem with adding keyboard language ( ubuntu 10.10 on android )

hello

i finally Succeeded to installed ubuntu 10.10 on my android tablet but i can't type with local language ( persian fa-IR ) . i use android keyboard with persian language but this language is not enable in the ubuntu system and system -> preferences -> keyboard does not open and if there is the persian language in the system i can't enable that . another problem is that when i want to install language-pack-fa with language support or terminal commands the wifi internet of tablet will be disconnected and i can't use these ways .

:confused:

can anybody help me ?

thanks .
[Android Software Development] case-sensitive:
(1) I would like to change the resolution of the VNC viewer. I have the donated version, but when clicked "menu" in the launcher I was not able to find any option to change that. And I cannot find the file ubuntu.img.config in the ubuntu folder. Any suggestion?

(2) How can I access from within android files created by linux-on-android? I tried to look for them using root explorer but I came up empty.

Thanks!
[Android Software Development] vaunknown:
again , Lunch again Problem

I did reFlash tablet and redownload programs and reinstall them and have updated bootscripts and ... finally after every boot , ubuntu did start OK but after one day , previous error did appear again :(

----------------------

onandroid/files/bootscript.sh /sdcard/ubuntu/ubuntu.img

Cheking loop device... FOUND

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

Error : Unable to mount the loop device!

----------------------

busy box must be installed in bin or xbin ? i installed busybox 1.20 in xbin with busybox 9.6.5 app.

is there a setting for read/write permission for files and folder of root or "complete linux Install " app that can cause this problem ?

i used ubuntu 10.10 image . is there command line or editing of bootscript.sh lines that can resolve this problem ?

after several days hard works and very big images downloading 12 full / 12 small / 10 full / 10 small finally i can't stably use linux in my tablet :eek:

i love ubuntu and tried very hard but nothing .

i can't learn Linux and android Programming very soon ...

However

thanks for your supports and instructions .

.

.

.

But I will not surrender :p
[Android Software Development] devwithzachary:
Are you able to install anything via the command line?

to change the vnc resolution, if you have the donation key and its working (check that ads are not being shown in the install guides) then in the launcher a 'config' button should be shown that you can press to change these settings.

The app dosnt create anything apart from a folder/mount point to mount the img file so you will not be able to access anything unless the image is mounted, and im not sure if any file manger will be able to view it
[Android Software Development] maslokm:
Hi!

Can I start linux instead Android GUI? I want to maximize free RAM and use my phone as a little server.
[Android Software Development] hadobac:
I absolutely agree. After I did "cp -r -p" instead of just "cp -r", it works.

However, after resizing using the creating new img file, I found Ubuntu to be slower. Is it because of the ext2? Would format the img into ext4 help???

Also, is there any other VNC clients out there that:

- Give better performance.

- Allows volume buttons as mouse clicks???
[Android Software Development] ozkaya:
Thank you very much for this, it is awesome to have full desktop in our hands. Any progress on updated ubuntu images? As the FAQ also says, the Unity image doesn't render correctly and small image fails to load Chromium and Firefox browsers. Ubuntu 10.10 image loads the browsers however it has problems installing from the repo. Also,would it be possible if the user is logged in as root directly, otherwise, we have to create sudo shortcuts for sdcard etc. Thank you.
[Android Software Development] devwithzachary:
This would need to be a native install, which we do not do at the moment, if your going to use it as a server why not use linux without the GUI and just command line, it will be far faster then

The new images will be coming out over the coming weeks while we work on the new version of the app, so that once the new app is ready so will the new images. We do not allow the user to use the root users directly as for the normal user this can become very dangours, in the next versions user rights will be sorted so sdcard etc works with the normal user, but your more than welcome to change the init script within the image so it users the root user and not the ubuntu user.
[Android Software Development] icedef:
Hey I would like to add that this works on Xperia Sola.

Thanks :)
[Android Software Development] devwithzachary:
glad to hear it :)
[Android Software Development] kevinsbk:
Can Anybody hack wifi whith this backtrack? I cant

Enviado desde mi ST25i usando Tapatalk 2
[Android Software Development] eddywebs:
remote SSH into chroot debian

Hi, I had been trying to figure a way to SSH into the chroot shell remotely, the issue is there already a ssh server running for android (sshdroid), so whenever ssh root@myAndroidDevice is done it logs into the android shell.

how could we SSH into the CHROOT debian shell ? may be chroot from the android shell again ?

any help with the command or variables please :confused:
[Android Software Development] dav5id:
Ip address ?

Hi thanks for the great work !!!

I running Ubuntu-core on a Nexus 7 have installed apache2 just to try if it works.

My question are what are the ip address of the running Ubuntu-core,

I have tried the localhost and the ip address of the nexus 7 in the web browser but neither works.

/David

:confused:
[Android Software Development] icedef:
Hi I'm not sure if this is the correct thread but I want to create images of my own, or edit the ones that you provided and repack them, what application can I use, I have linux on virtualbox in my computer. I've been looking for ages in google but I can't seem to find a clear answer. If you could direct me to a tutorial that would be great. Thanks in advance.

the ip is localhost, 127.0.0.1 and the password is ubuntu, im not sure if this is what you're looking for though
[Android Software Development] devwithzachary:
You can only hack wifi password if you have wifi drivers that support monitor mode which most android devices do not have.

I am not sure about this, do you need both running at the same time? if you do prehaps you can run each of a different port.

if your connecting from another device it is your ip address of your device, its local host if you connecting from android side of the nexus 7
[Android Software Development] icedef:
No worries, this is great help. Thanks. I'll try this now! :)

------- EDIT ------

OMG that was just it? It took me the whole night just trying to figure out how to add a specific folder in the img file. Thank you so much zac! hope fully this method will fix the symblink on my phone.
[Android Software Development] zoa_fridz:
I got some problem here..

I can't use airmon -ng, airodump -ng..

Is this not full image of distros.?

What should i do to get airmon, airodump etc work on this.?

Forgot me if this is a damn question..

Thanks,,
[Android Software Development] devwithzachary:
You can only hack wifi password if you have wifi drivers that support monitor mode which most android devices do not have.

I just said this two posts above, please search the thread before posting thank you
[Android Software Development] gengt:
Thanks, that seems the reason. Ubuntu 12 full seems very slow on the Galaxy i9300, opening libreoffice take many minutes, Ubuntu medium seems more fast without the Unity interface but lacks of libreoffice.

I'm going to buy a donate version to support your project.

The method 2 to give linux more space will be very interesting :D
[Android Software Development] zoa_fridz:
I'm sorry..

I don't use my eyes to read well..

Poor me..

Anyway,,

Thanks for this great job..

:)
[Android Software Development] KuliX:
I use the Ubuntu 12.04 core image, enlarged it to 3gb, installed XFCE and libreoffice.

Libreoffice writer takes 10 seconds to start.

On a Samsung Galaxy S3 GT-I9305.

Gesendet von meinem GT-I9305 mit Tapatalk 2
[Android Software Development] bloodyshyt:
Is there a way to remap keys in linux? Or more specifically the vnc? I know you can do it natively in linux but the androidvnc doesnt recognize the shift keys of the keyboard dock.
[Android Software Development] hadobac:
After a few days trying out different VNC clients for a better alternative, I have these following comparison based on my experiences, which is Ubuntu 12.04 core, with lxde installed on top. The image is reformated to Ext3.

I use android-vnc-viewer as a benchmark, start from 0,

=> so (1) is a plus, (-3) would be real bad.

I assess these following criterias:

-

Display

: how the client display Linux.

-

Graphic

: colours + how often does the client update the screen.

-

Inputs

: mouse and keyboard

android-vnc-viewer:

Overall it's simple and nice, I dislike the simple mouse input (it's impossible to do double click), and slower screen update causing glitches. (inmy experiences)

bVNC:

-

Display

(-2): it is rotatable, which I found really annoying. a bit blurrer than android-vnc-viewer.

-

Graphic

(1): The screen updates more often, which is great.

-

Input

(3):

Mouse input: this is the best part, it allows double click by double tapping, right click by touch 2 buttons, scrolling by 2 fingers... just pure amazing.

Keyboard: EASILY lets you use shift, ctrl, tab on screen, which is nice.

=> overall nice, big thumb for the inputs, dislike the screen rotating and not-perfect graphic.

multiVNC:

-

Display

(-1): impossible to toggle fullscreen.

-

Graphic

(-2): Seems even blurrer than bVNC. The screen update less frequently.

-

Input

(2): The mouse button mode is pure epic: press the gray area for left, right, and middle click. I absolutely in love with it, I think it's the best out of all.

The keyboard toggle is nice too.

=> overall nice, would have use this if there were fullscreen.

RealVNC: the publisher claims to be 'the inventor of VNC technology'.

-

Display

(-2): No fullscreen. No setting to change display mode.

-

Graphic

(1): the colour is okay, like android-vnc-viewer. The screen update frequently, may be because the author owns some private VNC technology. As a result, animations and transition are smoothest out of all.

-

Input

(?): there are massive mouse and keyboard input settings, some may find them useful, I found them over-complicated.

=> overall I think the display ruins my experiences, why can't they fullscreen the damn thing?

Desktop VNC:

-

Display

(-5): too simple, no setting. Press back and the screen even becoming unreadable.

-

Display

(?): can't test.

-

Input

(-3): Hard to use mouse. No keyboard.

I can't even use this crap.

PocketCloud Remote / Remotix Lite

These apps may be good for other purpose, but absolutely not for this.

I keep it short: SUPER HARD TO USE. DON'T EVEN THINK ABOUT IT.

Particularly Remotix feels like a cheap toy (design, ease to use, inputs).

Eventually I settle for bVNC! ;)
[Android Software Development] realtebo:
How to download image and 'give it' to the app?

I've only a mobile data plan, i've only 500 MB/day available, so downoad an ubuntu image is impossible from me.

I'd like to download from a friend pc and them copy into the tablet.

Is there a way? I'd like to start trying the 'small' of ubuntu 12.

How to name the file?

Where to copy the file ?

Thanks for your work !!!

PS: Please: add to your first Post the FAQ avout Wine, it was the mail goal of my "ubuntu on android"
[Android Software Development] devwithzachary:
All the files can be downloaded here https://sourceforge.net/projects/linuxonandroid/files/

What do you mean by FAQ about wine? wine will not work (although there is an ARM version it can only run ARM .exe files)
[Android Software Development] vaunknown:
create custom ubuntu image

thanks for your script and your images .:o

i installed ubuntu-10.10-full in my tablet with your script . :)

I've edited bootscript.sh to be compatible with my tablet also installed busybox in bin directory .:highfive:

but i can't add new language in keyboard settings :( and tried to create a new ubuntu image but when I used the new file, I get the following error : :confused:

------------------------------------

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

------------------------------------

i don't know how can create init.sh file ? is there a this file in the ubuntu image root directory ?

i followed the instruction in this links : How to Make an Ubuntu IMG for the Android

i installed ubuntu 10.4 in virtual machine with VMware Workstation in my computer and then installed my local language and several programs and then created ubuntu.img file but in this instruction was not anything about /root/init.sh file .

can anybody help me ?

thanks.
[Android Software Development] devwithzachary:
Theres no link so I cant be sure what you have done, but you will find the /root/init.sh script in all our images, this is launched by the bootscript to carry out a whole host of tasks ubuntu side before booting is complete so you can extract it from our images
[Android Software Development] vaunknown:
problem with make custom ubuntu.img

I did copy init.sh from your image to /home directory same as your ubuntu images . but again get error " can't execute '/root/init.sh' : no such files or directory " . then i did unlock and open root directory whit this command " ALT+F2 and enter this password 'gksu nautilus' " and did copy init.sh to root directory but after testing this image get same error .:silly:

I used this commands in ubuntu terminal for creating ubuntu.img

-------------------------------------------------------------

sudo rootstock \

--fqdn ubuntu \

--login ubuntu \

--password ubuntu \

--imagesize 4G \

--seed linux-image-omap,build-essential,mysql-server,tightvncserver,lxde,mysql-server-core-5.1,mysql-server-5.1,libmysqlclient16,mysql-common,mysql-client-core-5.1

dd if=/dev/zero of=ubuntu.img bs=1MB count=0 seek=4096

mke2fs -F ubuntu.img

sudo tar -C /mnt -zxf armel-rootfs-<datestamp>.tgz

sudo umount /mnt

-------------------------------------------------------------

from : ehow.com/how_12229123_make-ubuntu-img-android.html

If i insert any file to any system directory , with this commands , these files will be copy to image ?

root directory in my ubuntu 10.04 system is locked and every time need unlocking , Could this be the cause of this error ?

i saw init.sh file in home directory in your images but in your script this path is /root/init.sh , however i tested Both /home and /root path .

:(

My tablet have wifi internet problem with Suddenly downloading big files and i want to add applications in ubuntu previously and then create system image and install in my tablet . but i don't know automatically my installed programs will add to ubuntu.img or i must to add those names to --seed command ?

:confused:
[Android Software Development] vpwrf:
Installing programs?

I have downloaded and installed Small Ubuntu LXDE and works quite well on my Samsung Galaxy S3. How do I install programs on it? How do I update Firefox on it for example? Can someone explain to me how to update Firefox? I am not very good at linux and really need help.
[Android Software Development] hisname:
Hi, I am a little new to Linux on android. What happened? I followed the instructions in the app. :confused:
[Android Software Development] mascondante:
Appreciate all your hard work. I'd like to see the cinnamon desktop ported. And perhaps an ... 'Ultra' option where you got all the toppings plus extra free space to tinker and develop. Oh, and anything I can do to help Fedora go beta? I tried booting the alpha image I found on your site. No dice. Did toss a little coin your way. I know buying a dev lunch helps keep the mental juices flowing :)
[Android Software Development] jaebond:
Everything has worked great so far (Thank you!), though I do have one problem. I am trying to get some math software (Sage) setup and the only version available for arm processors is compiled for armhf. Would it be possible to get an armhf ubuntu image or to build one myself which would work with the app? The section of the Wiki for building images is empty. Thank you!
[Android Software Development] devwithzachary:
This method for creating image files is very out dated and rootstock is deprecated but you need to put the init.sh in the /root directory of your image (and if its not there you need to make it). Any programs you install while in the chroot will be saved in the img file.

Your best bet is to use apt-get via the command line, however this isnt a thread for linux support, if you need to learn more about linux and have issues with linux itself try the ubuntu wiki/forum they are very useful.

You need to extract the .zip file you have downloaded so that you have the .img and .md5 files (As the guide says)

I shall look into a cinnamon port, I have started using it myself and rather like it, but i have to finish up the v2 version of the app and new debian/ubuntu img files. The fedora/opensuse/arch linux img still need alot of work, and I am looking for people to help maintain these releases as I am a debian based distro man myself so do not have as much experience with fedora etc.

Yes I have yet to finish the build guides, you should check out Ubuntus downloads they may have a ARMhf file system you could download then expand into a img file, but im not 100% this chroot will work right off with the android kernel
[Android Software Development] vpwrf:
I have already tried looking at the forums and wiki but still can't figure out how to install software. Any .deb package I try results in "package architecture (i386) does not match system (armel)". That's because the package must be either built for ARM or not architecturaly dependent for it to install. I have also looked how to update Firefox and downloaded it but I can't get it to run. I also tried from the terminal and it says "cannot execute binary file" even when the execute permission is checked. I can't find what on earth I am doing wrong. It seems that Linux for ARM is so limited that virtually no software will install and run on it.
[Android Software Development] devwithzachary:
Well yes the .deb packages need to be built for arm or multi arch but the Ubuntu repos have a large range of software, and if there's software need that doesn't support arm then you will have to speak with the software devs
[Android Software Development] sanjeev_halyal:
i hav htc pico (explorer) with unofficial cm 9 i tried bt on it

what does that mean . i do not have loop device support !?

my kernel version is 2.6.38.6 as mentioned in linuxonandroid working devices . plz help .thank you
[Android Software Development] devwithzachary:
No busybox couldn't be executed, this can be fixed by going into the launcher, pressing your menu key and selecting 'reinstall busybox' if will then ask for root access, you will have to give it this so it can make busybox executable
[Android Software Development] vaunknown:
keyboard language problem "XKB is not enable"

zacthespack , finally I use your ubuntu 10.10 image but i could not to install other softwares that i needed :( and also i could not to add new keyboard language ! system -> keyboard does not open :confused: and keyboard accessibility give this error : " XKB is not enable " ?
[Android Software Development] aakaa:
Hi,

I have problem to boot any linux system, i install Complete Linux Installer from app markt.

First I try Backtrack image, next Ubuntu. I dowload image and extract it to sd cart to ubuntu directory. I installed VNCViewer App and Termianl App, and when I launch ubuntu in terminal windows is:

$

$cd /sdcard/ubuntu

$su

#uconandroid/files/boot/script.sh /sdcard/ubuntu/ubuntu.img

Checking loop device... FOUND

No user defined mount points

net.ipv4.ip.forward = 1

[1] segmentation fault ${bbox} chroot $...

Shutting down Linux ARM

umount: can't umount /data/local/mnt/external_sd: Invalid argument

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

My phone is HTC Wildfire (Buzz) with CM7.2

Any ideas?
[Android Software Development] yousef8824:
does it work on galaxy y?
[Android Software Development] DarkhShadow:
The HTC Wildfire is a ARMv6 device, this will only work on ARMv7(dropped support for v6)

Sent from my Jelly Nexus 4
[Android Software Development] soyab0007:
back track works with i9001 phone but it was too slow
[Android Software Development] bigjl99:
Installing Packages

I've been playing around with trying to install packages myself. The small Ubuntu image doesn't contain the software center, and initially the only option is to use apt-get. I found a few good resources that can help you (but I haven't posted enough on XDA to post links!!! ARG!). I haven't had too much time to fiddle with it, and have yet to get anything fully working - if anyone here has suggestions I'm all ears. I have found it easiest to work with the command line by using a VNC client on my laptop (UltraVNC) and connecting to my Note2 (I hate the "small" screen and on-screen keyboard when using terminal).

I believe that one of the issues we are experiencing is that our "/etc/apt/sources.list" has only 1 entry - from everything I've read, there are usually many lines in that file, some of them normally commented out (#). Mine only has (with https: prior - I can't post links) "//ports.ubuntu.com/ubuntu-ports precise main universe multiverse". When I have a few minutes I was going to try and edit that file, adding in some additional sources. I don't know if anyone else has suggestions on this...

As I understand it, apt-get uses the sources.list to locate the repositories it searches. If you are having issues with apt-get try running these commands in order as root/sudo:

rm /var/lib/apt/lists/*

apt-get update

apt-get -f install

I was trying to install synaptic as a GUI package manager, but kept getting dependency errors. I was a little befuddled. The best luck I've had in locating resources on the web is stuff geared toward raspberry pi - as it is a barebones ARM Linux build. Google away, unfortunately I can't post my links as of yet...
[Android Software Development] WyoSi:
I hope this hasn't been asked and answered. I looked through the thread and didn't see it.

I'm using the Ubuntu 12.04 image. I wasn't to use the onboard keyboard for an input. But it shows up with only question marks saying no keyboard could be found. I checked any files that I thought it would be dependant on, and no dice. Any idea what I'm missing?
[Android Software Development] jaebond:
I'm attempting to get everything working using one of the images put out by Linaro each month (the ALIP build). chrooting into the image has gone fine, but I am having some trouble getting vnc up and running. I have tightvncserver installed. When I first launch linux, I get

vncserver: socket failed: Permission denied

What can I do?
[Android Software Development] DarkhShadow:
Use the VNC keyboard

Sent from my Jelly Nexus 4