yashsingh1/xdaforums huggingface dataset:
[Android Software Development] devwithzachary:
No busybox hasnt been given executable permissions

"data/data/com.zpwebsites.linuxonandroid/files/busybox: cannot execute - Permission denied"

To fix this open the app and go to the launcher and press you menu key, then go to 'reinstall busybox' you will then need to give the app root access, it will reinstall busybox and you should then be able to install without an issue.

This reminds me i need to add this to the wiki as many people keep asking the same question here
[Android Software Development] BleedingIris:
Thanks for your reply.. (yes I mounted system as rw before starting Ubuntu)

Yes Ubuntu is already the owner...

Group is called sdcard-rw

Permissions:

owner:none(why?)

Group:read and write

Others:read only

I can only access the sdcard as root...

I don't get it... no one else in the forum has this error.. I tried installing two times fresh.. I get the same error

I installed Ubuntu small on HTC a310e cm9 and there is a folder called external SD, when actually I don't have any external SD.. only one SD card(no internal sdcard)....

And I've tried changing owner permissions to read and write...

At first, I didn't set it recursively on all folders... and then the second time, I've set it recursively on all folders and yet,for some strange reason the permissions don't stick..

After it set all permissions, when I look at properties again, I still have the same owner:Ubuntu and permissions: none for owner, group-read and write and for others:read only..

Another minor issue:after screen lock, the login is not accepting any of my passwords.. I. E,Ubuntu, my admin password, and my root password..

Thanks again..

cm9 htc a310e
[Android Software Development] BleedingIris:
Update:

Tried sudo chmod 0666 /sdcard

sudo -i

Again chmod 0666

No reply from terminal... but doesn't work

Using es explorer, tried to give it 666 permissions on /data/local/mnt/sdcard

Change permissions failed..

Help !!

cm9 htc a310e
[Android Software Development] alphawave7:
Excellent! Thanks for the response! Being a newb I decided to donate/download the 4P 'key', but when I launch the new Key app, I immediately get a FC/crash, and the original launcher appears exactly the same as before (no 'mounter' that I can tell). I was able to locate the bootscript.sh fileand can see/edit, and can locate the relevant section, and where it appears to mount the existing sdcard/external sdcard:

if[ -d /sdcard/external_sd]: then...

Below that "Mount all user defined mounts if any'..is THIS the location to add my sdcard/usb folder as a mount point? Sorry for needing hand-holding, and I'll repay by making a tute for my Subsonic process for aiding others. :highfive:

edit: just d/l'd beta 3 from Jan15 blog post, and key button still crashes...
[Android Software Development] case-sensitive:
Thanks! I did that and the rest of the resizing steps went through. New puzzle: After I umount the new images I checked the size of the original vs the new images:

ls -s ubuntu*.img

and to my surprise I got

732428 ubuntu.img 452292 ubuntunew.img

I got the original image by unzipping the core zip, should as I understand unzips to 500M. The new image was created using

dd if=/dev/zero of=ubuntunew.img bs=1M count=0 seek=4096

should which mean 4G... Why is the new image SMALLER than the original?
[Android Software Development] maddy_in65:
@zacthespack

Thanks.. I am not able to change input method, all options were grayed out except no pan; Trackball Mouse.
[Android Software Development] BleedingIris:
Hi..try changing the fit to screen,zoom,normal (1:1)options..it should be fixed..

@zacthespack

Some more update:

Owner on root file managers for /sdcard is system with no permissions...cannot be changed

Owner for group is sdcard-Rw..full perms

cm9 htc a310e
[Android Software Development] iKosmos:
Another successful device

I got my first Android (Samsung Galaxy Player 4.2) and am glad to say that I have the Debian Large v4 running on it now. Quite nicely.

So chalk up another success. I am impressed as the SGP42 is only a singlecore 800mhz? I just use AdvanceTaskManager to keep my RAM as high as possible.

---------- Post added at 02:11 PM ---------- Previous post was at 02:06 PM ----------

I found this a problem for Synaptiic. I can not start Synaptic from the menu as it asks for a password and nothing works.

I have a temp solution to uncomment '%sudo ALL=NoPassword ALL" from the end of /etc/sudoers.

Then

adduser <username> sudo

Now I can start it with:

sudo synaptic

but the menu entries still dont work

HELP
[Android Software Development] dica:
Hello,

Thanks for the great app but unfortunately i can't use it, i have this error

I am running cm10.1 m1 on the galaxy tab 2 wifi, for the loop device i think it's supported because this the output of the export command :

Thanks in advance
[Android Software Development] iKosmos:
Unmounting chroot

Second problem. after running the Chroot when I finish I disconnect VNC then type 'exit' in the Terminal.

But I find that I still need to reboot my device before I can connect via USB to my device for access to the external SD card.

Is there a way to totally unmount the chroot system so that I can connect via USB with rebooting my device?
[Android Software Development] devwithzachary:
You will want to copy that complete if statement (down to the fi) and paste it then replace the mounts for your USB.

For the crashing could you send me a log of the crash

No this shouldnt be, looks to me like not everything was copied over, could you check the number of files in each image, and did you copy using root?

Are you talking about the /sdcard within the android file system or within ubuntu's

yes there are issues with the user not gaining root, you should be able to fix this, see : http://linuxonandroid.org/sudoroot-issues-how-to-fix/

Looks to me like something else is using the loop device, do you have over 255 android apps on your sdcard

this is an error with some devices, not all processors are killed in the chroot so the unmount fails, all you can do it reboot for now
[Android Software Development] devwithzachary:
We have set up a new translation system using the website crowdin

This is a much better set up allowing us to keep track of translations, and uploaded changes to be translated.

Where it really makes life easier is for you the users, using this site you can help translate the app but can do as much or as little as you can, or just help by proof reading other translations.

All you will have to do it sign up for the site and start translating to one of the languages we are currently looking for.

If you have been working on a translation already feel free to upload these changes to the new site or finish the translation and just send it to me (and I will make sure it is added to the site).

But all future translations should be done through the site!

http://crowdin.net/project/complete-linux-installer
[Android Software Development] _jocker_:
No root with su:

Hello. I installed backtrack.v.10 into one phone samsung galaxy s2. The distro runs very well, but so far I have not aircrack-ng.

I have root access with sshh, but no android VNC graphical interface.

When I run "su" or "sudo" with the default password "backtrack" I do not get root access. " incorrect password"...

I've tried other passwords: root, toor, toortoor, backtrac, backtrack, 12345678, blank .. but no use. Aguien know why?

greetings
[Android Software Development] BleedingIris:
I'm talking about Ubuntu's /sdcard inside of Ubuntu.....

I wouldn't ask this question here,if it were my sdcard...I can access the sdcard fine from Android

On Android:

/sdcard or /mnt/sdcard

Owner: root

Group:root

And they have full read write permissions...

On Ubuntu:

On the inside or on /data/local/mnt/sdcard(as seen from Android) (where the image is mounted...only way I can copy files from sdcard to Ubuntu)

Owner:system(when seen from Android)

:Ubuntu(when seen from Ubuntu)....both doesn't have any permissions (permissions: none on the inside)

Group:sdcard-rw

Others:read only

I can't chmod 666,no matter,where I try from...

1.inside Ubuntu

2.ssh..terminal

3.root terminal inside Ubuntu

4.using file explorer on /data/local/mnt/sdcard.

Operation not permitted

cm9 htc a310e
[Android Software Development] devwithzachary:
There is no aircrack-ng installed by default because on 95% of devices it would not work, you will need drivers for your wifi chip that support monitor mode.

The root password is the password you set up first boot

Yes sorry I just wanted to check as im really not sure what else it could be this is the first time the sdcard folder has completely refussed to work
[Android Software Development] BleedingIris:
No need to ask sorry..it's your work and app.Let me know, if you figure out anything..thanks for the reply..

If it helps,my sdcard has 3 partitions,

Fat32..27GB..mmcblk0p1

SD ext.. 2 GB...p2(using mount2SD for apps)

Swap..120MB...p3

Sandisk class 10

Thanks again..I'm still using it..just not sure,what I should do on Linux(having never used before.. and the terminal thing is quite bugging me out...having to google all commands.)

cm9 htc a310e
[Android Software Development] antukubo:
Aircrack can be install but not fully functional. Our built in wifi module is not capable to enable monitor mode + injection. So, we have to use external wifi adapter and compile the module to make it works. Unfortunately it is not that easy. I'm using usb wifi adapter RT73, compile the module and manage to fire it up. But I'm still stuck at monitor mode.

A few months ago, there is a guy who managed to run aircrack and even successfully run reaver using RTL8187 + Xoom. But his project is still under progress. And then, there is a guy who managed to enable monitor mode using our built in bcm module. But during that time only 2 devices are working. I don't know their progress now because i'm quite busy lately.

If anybody got more info, pls share
[Android Software Development] lovalim:
Hi friend

I want to install ubuntu mobile os on HTC desire, can i and how?

thank u
[Android Software Development] iKosmos:
Debian root access

I checked there.... And so you know - The Debian Large v4 DOES have sudo installed and is why I was able to add my user to the sudo group and run sudo synaptic from the command line, so the fix of 'apt-get install sudo' will not work here. Sudo is installed but the menu entry for synaptix is something like 'su-to-root -x -c /usr/bin/synaptic'

This appears to be the problem:

See: http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1085694.html

I am not sure how to fix this and will keep looking but this appears to be the problem. In Gnome I would use 'alacarte' to change the menu entry to use 'gksu synaptic'. I can not do this in xfce using alacarte. But a similar solution might work.

I love this program and will contribute ASAP..

Good news. I fixed the closing chroot issue. I had to change the scalling to get the touchscreen to work right and now the xfce "Shut Down" button is no longer greyed out. If I shut down xfce like a regular desktop and then type 'exit' twice in terminal.... the chroot closes properly and I can then connect via uSB back to my device.

So the Samsung Galaxy Player 4.2 works perfectly.

Now just to get the root issue in Debian solved.
[Android Software Development] bkisc:
Ubuntu 12.10

Hi, can you tell me about when is Ubuntu 12.10 image coming out ?

Also, is there a way to install the latest Libreoffice onto 12.04 image, I tried to dist-upgrade it but it breaks at some point during the upgrade process, I know you've mentioned it but I tried it anyway :) Got both latest Libreoffice and Gimp to work but Unity breaks badly, some hicolor-theme directory is not accessible during the upgrade.

Basically I want these packages on 12.04 or 12.10, continuously maintained to latest version, Libreoffice, Gimp and Truecrypt, are these possible to compile within phone itself ?

Thanks for the wonderful job you're doing, I've decided to let go of carrying around my Netbook and only work on Nexus 4 vnc via iPad
[Android Software Development] mscion:
boot linux icon

Hi zacthespack. I like the updated icon but I would suggest leaving the words "boot linux" off. Tux look too cute to be covered up with lettering!
[Android Software Development] sujithsuccess:
working with Android Virtual Device [AVD]

Hi,

Can someone guide me how to run linux on an Android Virtual Device

I have a rooted AVD, Superuser enabled and Busybox installed.

But when trying to launch the ubuntu from Complete Linux Installer in the AVD the following error occurs:

mount: mounting /dev/block/loop255 on /data/local/mnt

failed: No such device

Error: Unable to mount the loop device!

please help me.....
[Android Software Development] devwithzachary:
I am looking at the BETA 12.10 images right now ;) just a case of cleaning up the boot scripts and then getting them up to source forge, something easier said than done.

You can get the newest compiled versions for ARM from the official ARM repos but how bleeding edge they are I do not know, theres no reason you couldnt compile for ARM on your device mind you

prehaps i am working on two extra widgets as well ;)

loops to me like the AVDs kernel does not support loop devices, i am a little confused as to why your trying to do this?
[Android Software Development] sujithsuccess:
actually i'm currently working on my academic project which is based on running ubuntu on an android.

i don't have any android device right now, so i thought i could work and present the project on the AVD itself.

so is there any other way that i could run ubuntu/linux on an AVD???
[Android Software Development] badday2:
I am actually facing some trouble starting ubuntu on my tablet. I tried

sh /data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh /mnt/ext_sd/ubuntu/ubuntu.img

to start the hole thing and it results in:

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!

I can say that initially, the hole thing worked on my tablet. But as I was missing space after installing LXDE I enlarged the .img file according to https://linuxonandroid.uservoice.com/knowledgebase/articles/74683-how-to-i-give-linux-more-space- successfully. However, now it results in that error. Using the old, little .img file still works.

Is there any other way to enlarge the file (right now it is 4GB), which might not have such side effects?
[Android Software Development] _jocker_:
It's posible run aircrack monitor mode on galaxy s2?
[Android Software Development] devwithzachary:
Cool!

Well it could be possible, I have a few ideas, drop me an email zac@zpwebsites.com and im sure we could work something out (and i would like to hear more about your project if that was ok ;) )

what format if your ext_sd? if its FAT32 setting to 4GB will likely have damaged the .img file as this is the FAT32 file size limit

I am not sure you are likely better off asking in the galaxy S2 forum
[Android Software Development] devwithzachary:
Hey guys,

Anyone that has a donation key and has upgraded to the new v2 app, could you please let me know if the donation key is working.
[Android Software Development] k3v0:
I am not sure.

I can start the app from the donation key, but I don't get any new configuration options like in v1. I don't have a standard setup, as I run ubuntu 12.04 from my external sdcard. V1 didn't recognize the install on the externalsd, but v2 does.

There was a check when I first installed v2 for the donation key, but I don't know if it was successful.
[Android Software Development] devwithzachary:
The easiest way to see if it has worked is to go into a install guide, there should be an ad at the bottom of the pages to buy a key.

If its not there then the key is working.

I should have said as well I need to check those that bought the key through the play store not paypal
[Android Software Development] k3v0:
I bought the key through the play store and have an ad at the bottom of the install guide. The ad is there when I launch v2 directly and from the donation app.
[Android Software Development] Rox666:
Hi!

I've try this app on my nexus 7! Since the last update, the app works perfectly!

But now when I launch Ubuntu from the "Launch" botton, it's says to me from the terminal that it can not mount "proc" in /mnt/proc ....

I've try to reinstall also busybox and the app, but dosen't work :( meybe I've to wait for a new release! ^^

Tnx for this app anyway! :D
[Android Software Development] Emaaans:
R: [APP] Linux-on-Android project (Complete Linux Installer)

I don't know why I can't launch Ubuntu.. I've placed the folder called Ubuntu (with the 2 files) in the internal sd card but when I try to change the location in settings the apps stop

Edit: I've just changed the folder name and now I can start Linux but then it get this in the emulator

u0_a35@android:/ $

u0_a35@android:/ $ su

sybox chroot /data/local/mnt /root/init.sh <

Starting first boot setup.......

groupadd: group 'android_bt' already exists

groupadd: group 'android_bt-net' already exists

groupadd: group 'android_inet' already exists

groupadd: group 'android_net-raw' already exists

mkdir: cannot create directory `/var/run/dbus': File exists

Now give your user account (named ubuntu) a password

Please enter the new password below

Enter new UNIX password:

And i can't write anything at all even if I use the stock keyboard!

I'm rooted on a galaxy s3 and with a modded kernel.
[Android Software Development] devwithzachary:
Hello guys,

We have decided to remove the new v2 app form the market for the time being and have re-release the older v1.2.1 app which is much more stable.

Our goal is then over the next coming days to fix all the bugs that have come out and then once we are happy will try for another release.

We would have left it on the market however the number of people effected was growing and alot could not use there donation keys
[Android Software Development] downhiller:
Hi, i also have donation problem.

Do you receive my pm, zacthespack?
[Android Software Development] Rox666:
R: [APP] Linux-on-Android project (Complete Linux Installer)

Hi!!

I've good news! With thee new update, everything work!!

Tnx you!
[Android Software Development] devwithzachary:
I shal pm back later today sorry

Is that the update i launched today (1.2.1) ie the old release or the v2?
[Android Software Development] k3v0:
Thank you for the warning! I will skip the downgrade as v1.21 wasn't functional with a nondefault location.
[Android Software Development] Emaaans:
R: [APP] Linux-on-Android project (Complete Linux Installer)

Now everything works for me. I've donated for you! ;) good work!

Inviato dal mio GT-I9300 con Tapatalk 2
[Android Software Development] mebrad36711:
title

if i downloaded the zip on my pc, how do i install in on my tablet? do i flash it via CWM?
[Android Software Development] DarkhShadow:
Please read the guide in the app....

Sent from my Jelly Nexus 4
[Android Software Development] mebrad36711:
i go to the install guide and click ubuntu 12.04 and get the option to download the img. i already downloaded the img on my pc and put it on my sd card. maybe i missed something in the app. will look again.
[Android Software Development] devwithzachary:
Yes you have missed alot from the guide, go to the next page in the guide ;)
[Android Software Development] Kevin.Silbstedt:
So this X Server stuff seems to be theoretically working on my S3 GT I-9300 at the moment, but I ran into a dead end.

I used the Ubuntu 12.04 v4 Small iso with LXDE.

As an X Server I used this app from the play store and Connect Bot.

When I start ubuntu via the completelinuxinstaller app, I don't start a VNC or SSH connection (if I do, I get this lxsession already running crap, when I try to start lxde later).

After that I put "export DISPLAY=:0.0" in the running terminal and switch to the X Server app. I select "remote login" and on the next screen "local" down in the left corner and create a connection with the name "ubuntu".

After that, I switch back to the terminal, put "xhost +" in it and the X Server is working with stuff like "xeyes" or "xlogo". But if I put "startlxde" or "firefox" in there, all I get is some messed up crap, that is not responding to anything.

Is this a problem of the Xserver app or am I missing something? I get "RANDR missing" in terminal, but have no idea, what the hell this means and what I can do about it. Seems to be some graphical problem, from what I read.

Ubuntu natively running on android would be incredibly awesome, but right now, this X Server stuff is useless and the VNC solution sadly has bad performance and no audio. (Even through Jump is a way better VNC, that android VNC)

So anyone got an idea, how to fix this? (if possible at all)

BTW. I also tried Splashtop, the problem is, that the linux version is only working with x86 at the moment, but the chrooted ubuntu is of course ubuntu for arm.
[Android Software Development] BleedingIris:
Sorry.. but did you wait for a little longer? May be about 10 to 15 minutes for it to respond...

I do not know much of the stuff,you talk about,but I got the randr problem in terminal..which is fixed by just waiting after a 5 minute lag.:rolleyes:

cm9 htc a310e k2.6