yashsingh1/xdaforums huggingface dataset:
[Android Q&A, Help & Troubleshooting] imbtrthanu:
Can't Start Ubuntu 13.04

Hi everyone,

I'm using a rooted SM-P905, viennaklte (Samsung Note Pro 12.2 LTE) with busybox installed (the free version). I'm using a stock, rooted 4.4.2 ROM and a SE Permissive kernel. When I try running Ubuntu through the linux on android app, it gives me the following error, View attachment 3517653. However when I use loop device checker, it says my device supports loop devices. Any help would be appreciated. Thanks!

Edit: Since the image is too small, essentially, the errors I'm getting are: 1. loop device missing

2. Creating loop device: Permission denied, FAILED

3. Unable to create loop device
[Android Q&A, Help & Troubleshooting] devvyas83:
Hello i have micromax canvas a1 . I have rooted my phone successfully and i am running KitKat cm11 latest version. I have vnc latest version and term emulator latest version . I have downloaded the complete linux installer from play store . First i downloaded kali basic ext4 IMG from the link and also i downloaded Ubuntu small package from the link . Everything runs fine , no "app has stopped error " but when i click start on Ubuntu/kali it gives me an errir like """"3;53R"' and i am stuck nothing happens . Pls help .
[Android Q&A, Help & Troubleshooting] nstseek:
Hello, I have a Galaxy S5 G900FD running Cyanogenmod 12.1 with root access and I'm trying to run the Ubuntu distro on my phone, but when I click start Linux on CLI, it opens the terminal and all it says is:

u0_a75@klteduos: / $

u0_a75@klteduos: / $ cd /storage/sdcard1/ubuntu

u0_a75@klteduos: /storage/sdcard1/ubuntu $ su

root@klteduos: / #

And it's it, just this and nothing more, after this I can write on the terminal normally, but the script stops, I need some help here, I've updated the BusyBox and the bootscript, the actual bootscript is 9.0 and the BusyBox 1.24.1, I've changed the BusyBox binary, I'vve copy and pasted the binary from /system/bin/ to /data/data/com.zpwebsites.linuxondandroid/files/, I've tried with the old bootscript and the original BusyBox, but it doesn't changed nothing, I don't know Linux and the codes very well, sorry for the bad english and thanks.
[Android Q&A, Help & Troubleshooting] thelous:
i have problem after i try launch ubuntu 13.10 and terminal opens, unable to create SWAP file and then /root/init.sh premission denied.... after that i get cont mount /data/local/mnt/dev: Invalid argument.... any solutions??

---------- Post added at 05:39 PM ---------- Previous post was at 05:36 PM ----------

i have tab 4 7.0 also and i cant run ubunti 13.10 either, i get init.sh error.....
[Android Q&A, Help & Troubleshooting] lardeen:
help

Pls help me! I have S4 i9505 and i can't run Ubuntu 13.10 in terminal i have it:

Checking loop device... FOUND

mount: mounting /storage on /data/local/mnt/external_sd

failed: Invalid argument

No user defined mount points

net.ipv4.ip_forward = 1

chroot: can't execute '/root/init.sh' : Permission denied

Shutting down Linux ARM

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

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

PLS I really need help
[Android Q&A, Help & Troubleshooting] 5N|P3R:
Make sure in developer options that usb debugging is checked..

---------- Post added at 08:35 AM ---------- Previous post was at 08:29 AM ----------

Guys im trying to install kali linux on s4 i9515 value edition but im ended up with this help asap ..!!

u0_a252@jfvelte:/ $

u0_a252@jfvelte:/ $ cd /storage/sdcard0/Kali

u0_a252@jfvelte:/storage/sdcard0/Kali $ su

root@jfvelte:/mnt/shell/emulated/0/Kali # sh /data/data/com.zpwebsites.linuxon android/files/bootscript.sh /storage/sdcard0/Kali/kali.img

MD5 file found, use to check .img file? (y/n)

Checking loop device... FOUND

Mounting user mounts

Android folder not found: /dev/block/loop255

Android folder not found:

net.ipv4.ip_forward = 1

chroot: can't execute '/root/init.sh': Permission denied

Shutting down Linux ARM

Unmounting user defined mounts

1|root@jfvelte:/mnt/shell/emulated/0/Kali #
[Android Q&A, Help & Troubleshooting] kuitsu:
These instructions should help to solve the problem http://xdaforums.com/showthread.php?t=2161234&page=26
[Android Q&A, Help & Troubleshooting] sergej_7:
i'm using a nexus 5 with latest cm 13 nightly, latest opengapps, latest Franco kernel from osmosis, xposed, supersu installed, latest bootscript from http://www.robherc.com/hosted/linuxonandroid/FAQ.html, SELinux Status is set enforcing and i'm getting a grey screen on ubuntu 12.04 v4 small, log and Screenshot attached. any ideas?

ubuntu 13.10 is working but i cant download Firefox since some repos were missing and i'm too lazy to configure those :laugh: i want to upload music from Google music manager to Google play music cloud and use JDownloader, last time i used 12.04 on lollipop everything was working perfect

EDIT: nevermind, i updated the sources.list with the correct repos and downloaded chromium browser, had to mkdir /dev/shm and set permissions only getting blank pages in chromium-browser any ideas?
[Android Q&A, Help & Troubleshooting] sadiqwest:
zacthespack please help me out of this error

i thought i am on Backtrack, bt my problem is that i was unable to connect to VNC

u0_a104@g806_c:/ $ export PATH=/data/local/bin:$PATH

u0_a104@g806_c:/ $ cd /sdcard

u0_a104@g806_c:/sdcard $ su

root@g806_c:/ # sh /data/data/com.zpwebsites.linuxonandroid/nuxonandroid/files/bootscript.s h /sdcard/backtrack.img

Checking loop device... MISSING

Creating loop device... OK

mount: mounting /storage on /data/local/mnt/external_sd failed: Invalid argument

No user defined mount points

net.ipv4.ip_forward = 1

Config file not found, using defaults!(/root/cfg/backtrack.img.config)

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:

Retype new UNIX password:

passwd: password updated successfully

usermod: group 'admin' does not exist

chown: cannot access `/external-sd/': No such file or directory

groupadd: group 'sdcard-rw' already exists

Start VNC server? (y/n)

Start SSH server? (y/n)

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

New 'X' desktop is localhost:0

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

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

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

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

wlan0: error fetching interface information: Device not found

If using androidVNC, change the 'Color Format' setting to 24-bit colour, and once you've VNC'd in, change the 'input mode' to touchpad (in settings)

[ ok ] Starting OpenBSD Secure Shell server: sshd.

Save settings as defaults? (y/n) (You can always change it later in the app)

Config saved to /root/cfg/backtrack.img.config

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

bash: no job control in this shell

root@localhost:~#
[Android Q&A, Help & Troubleshooting] ekesel:
M having same problem please see guys I have intex aqua y2 rooted and I installed complete Linux installer and did everything right on it and downloaded image of Ubuntu 13.10 and when I try to run it says unfortunately complete Linux installer has stopped and it closes
[Android Q&A, Help & Troubleshooting] pr3st00:
apt-get error 404

Do you know if something needs to be fixed for apt-get to work? I'm getting error 404 for everything I try to install using the sources-list provided (using ubuntu 13.04, small image).

Everything else works really great, btw.

Thanks.
[Android Q&A, Help & Troubleshooting] drakahr:
Note 3 Kali dilemma

I've got a Samsung Galaxy Note 3 (Verizon) sm-n900v, n900vvrueof1 baseband. Complete Linux Installer installed, Terminal Emulator, androidVNC, and JuiceSSH. Downloaded kalilinux.FULL.ext4.20131031, extracted to mnt/extSdCard/kali so the path is mnt/extSdCard/kali/kalilinux.FULL.ext4.v2.img. I was unable to put bootscript.sh to here /data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh because that directory does not exist, but I made it with new folders and put the bootscript.sh in the directory. I am unable to automatically update the bootscripts "Unable to get version info from server" I chose edit under launch in settings and directed it to the .img file on the SD card. When I hit start linux, I get "Unfortunately, Complete Linux Installer has stopped." Any ideas? I've been trying to get kali on my phone for a couple months now, I would love an easy updated solution, dont care if I need to buy something in the playstore. Thanks for time and experience. Using linux deploy everything seems to go fine, I install, reconfigure start, but it ends in errors SSH [:22] ... fail/VNC [:5900] ... fail
[Android Q&A, Help & Troubleshooting] evilkoolade:
terminal just stops

when i watch tutorials this works perfectly but when i hit launch the terminal comes up but no code is ran it just sits there i can USE the terminal but it wont do anything automatically like in the you-tube videos when someone presses launch

---------- Post added at 08:49 PM ---------- Previous post was at 08:42 PM ----------
[Android Q&A, Help & Troubleshooting] Tony.dll:
pls help me

u0_a141@Z00A:/ $

u0_a141@Z00A:/ $ cd /storage/7F77-CFD9/kali

u0_a141@Z00A:/storage/7F77-CFD9/kali $ su

sh /data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh /storage/7F77-CFD9/kali/kali.img

sh /data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh /storage/7F77-CFD9/kali/kali.img

linuxonandroid/files/bootscript.sh /storage/7F77-CFD9/kali/kali.img <

Checking loop device... FOUND

No user defined mount points

net.ipv4.ip_forward = 1

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

Shutting down Linux ARM

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

1|root@Z00A:/storage/7F77-CFD9/kali #

im getting this error:

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

and /root directory is empty
[Android Q&A, Help & Troubleshooting] Tegroid:
update

Dead link..plz update it
[Android Q&A, Help & Troubleshooting] vaterfa:
hi, i tried this app and linux deploy, both apps too cant open terminal, how can i fix this ?
[Android Q&A, Help & Troubleshooting] dontquestionmyactions:
OK, so I downloaded the app and my Kali Image. I tried to Start it but it said "Couldn't get permissions from Terminal App." Can anyone help me?

Info: I have Cyanogenmod at the Moment.
[Android Q&A, Help & Troubleshooting] symbianz107@gmail.com:
Get this Error while booting kalli Linux

On this device [IMG="on this device"]https://sourceforge.net/p/linuxonandroid/wiki/_discuss/thread/62576d20/e7e3/attachment/Screenshot_2016-12-22-15-51-17.png[/IMG][IMG="this was the error"]https://sourceforge.net/p/linuxonandroid/wiki/_discuss/thread/62576d20/8525/attachment/Screenshot_2016-12-22-15-45-08.png[/IMG]
[Android Q&A, Help & Troubleshooting] jcfunk:
It's your file permissions of the img file. Try from a non fuse location, ie /mnt/media_rw/sdcard1

also check to see if you have BusyBox installed.
[Android Q&A, Help & Troubleshooting] Milktea@vmoe:
About Space Usage

From article "74683-how-to-i-give-linux-more-space" . 【New users are prevented using outside links】

Method 1 doesn't work. It said "/root/init.sh doesn't exist.". But it exists indeed. I can see it by using

mv ubuntunew.img ubuntu.img
mount -o loop ubuntu.img new
ls new/root/

I have a lot experience about using Linux, so can you tell me some details about using method 2 ? Or how to fix the error above.
[Android Q&A, Help & Troubleshooting] Igor Tr:
Hiii I having the error.

net.ipv4.ip_forward = 1

Illegal Instruction

Shutting down LINUX
[Android Q&A, Help & Troubleshooting] levone1:
Sorry if dumb question - when I tap 'launch', I get resolver popup, (complete action using...), and the message, 'no apps can complete this action'. How to bypass? Thanks
[Android Q&A, Help & Troubleshooting] Riyad_:
Everytime i m getting this error "ERROR: ld.so: object LD_PRELOAD cannot be preloaded: ignored" .....Even VNC is not working ...Is there any solution available for this?? i m using kali.
[Android Q&A, Help & Troubleshooting] allgoeswrong:
Help! Stuck at beginning

I have a Google pixel 2 running Oreo 8.0. Rooted it from the step by step instructions on this page. Basically I've tried running Kali, Debian and Ubuntu but I don't get past the beginning commands.

walleye:/ $

walleye:/ $ cd /sdcard/ubuntu

walleye:/sdcard/ubuntu $ su

walleye:/storage/emulated/0/ubuntu #

Then it does nothing.....
[Android Q&A, Help & Troubleshooting] GabrielSousa:
[MENTION=2083190]zacthespack[/MENTION]

whats the VNC password for kali ?

---------- Post added at 04:26 PM ---------- Previous post was at 04:05 PM ----------

how i reset the config file ?

wanna set the all passwords
[Android Q&A, Help & Troubleshooting] knalpot:
Hi,

I've tried the small Ubuntu 13.04 image yesterday and it works great on my Acer a200 running ICS. However, as i'm trying the full 12.04 image today, i run into several problems. I could load the image but nothing on the desktop is showing but the walllpaper, icons are just blank rectangles and taskbar are plain.. but i could run the programs flawlessly.

It's my first time working with linux, and what i understand so far is i need to install and switch to different desktop environment. After several google searches, i'm able to install gnome and LXDE via terminal, but i can't find any way to switch to those desktop environment. I've succeded to logout from the desktop, but after that it's just blank wallpaper all over again..

anybody knows how to fix this? or is there any way to switch display environment via the terminal?

I also have another problem. After i type exit when i'm done, exiting VNC and closing the launcher, i can't seem to run it again. VNC could connect to localhost but it's only showing a grey screen. It's not a problem when i run the small image though.

TL;DR : Icons missing and cannot switch desktop environment in full 12.04 image and exit issue.

thanks in advance :laugh:
[Android Q&A, Help & Troubleshooting] devwithzachary:
We plan to build up more detailed install guides on our wiki

just delete the .config file found in the same location as your .img file

The icons missing issues is a tegra issue with rendering unity.

To run a different desktops your need to edit the vnc xstartup file found in ~/.vnc/xstartup so that it launchers the different desktop.

The exit issue is also a known issue and for now and reboot should solve it for now
[Android Q&A, Help & Troubleshooting] knalpot:
I guess i'll give debian a try..

another question: how can i exchange the files from the linux (like libreoffice files and pictures) and my android memory?

TIA again :D
[Android Q&A, Help & Troubleshooting] :
To share files between Debian/Linux install and Android is very simple.

Complete Linux Installer automatically mounts Android internal storage and the external microSD card at boot, so:

1) Open the File Manager

2) Navigate to root, also known as /

3) You will find /sdcard/, which is Android's built in memory, and /external_sd/, the microSD card.

4) Save, delete, cut, copy, and paste files in both Debian and Android as needed. :D

====

I was wondering about that, I'll try it now~

EDIT: I'm not sure which line to edit, which line do I change to switch from LXDE to Enlightenment? None of them suggest LXDE besides "x-window-manager"...
[Android Q&A, Help & Troubleshooting] knalpot:
Thanks man!

I've finally made it to run large 12.04 image with LXDE. I'm really impressed..everything is smooth, I've tried gimp and libre office and it's definitely good enough for daily usage.
[Android Q&A, Help & Troubleshooting] k3v0:
Any suggestions to improve performance of gnome shell 3.8 on arm devices?

I was able to make KDE fly by recompiling qt4 and the plasma workspace. The logfile for gnome lacks obvious errors, unlike KDE.
[Android Q&A, Help & Troubleshooting] shivafool:
ubuntu not responding to some bluetooth keyboard keys

Installed successfully on Galaxy Note 10.1. For the most part works great.THANKS!

My problem is that programs like Libre Office respond to alpha-numeric keys on my bluetooth keyboard, but not keys like Ctrl / Alt / tab.

I've searched and haven't found an answer. I know this is pretty specific to my setup, but I'd appreciate even pointing me in the right direction.

Is there some config file I can edit? AndroidVNC docs talk about using volume up and down buttons, but that doesn't work. Those buttons seem to be just recognized for scrolling.

Cheers.
[Android Q&A, Help & Troubleshooting] k3v0:
Did you try different VNC apps? I prefer Jump Desktop
[Android Q&A, Help & Troubleshooting] shivafool:
jump desktop works!

Thanks! That works. This is a beautiful setup. The best of both worlds.

Cheers.
[Android Q&A, Help & Troubleshooting] adheeshkurekar:
Can I installd it on galaxy grand whats dis boot loop suport ... im new so asking ... ?
[Android Q&A, Help & Troubleshooting] Greg1964:
I'm using the sensation with vipers j.b. sense Rom.Does it matter what Rom I use? Thanks
[Android Q&A, Help & Troubleshooting] Greg1964:
Does it really matter if you use a sense or aosp Rom.Is there a specif Rom and kernel or would the roms regular kernel be fine to use.I have read and .I just alittle unsure how to completely get ubuntu operating on my sensation.I'm not try to spam your thread either. Thanks in advance for any knowledge on this subject.
[Android Q&A, Help & Troubleshooting] k3v0:
A lightweight ROM is generally preferable, to maximize resources available to the Linux chroot. As long as the kernel has loopback support, you should be fine.
[Android Q&A, Help & Troubleshooting] Kobalt.Kitsune:
Hi, I have a question about the terminal on Kali Linux. When I first tried to start it, I would get an error about Xterm not being able to find /system/bin/sh. I ended up getting the terminal to work by creating a folder called system/bin, coping and renaming dash to sh, and placing it in the bin folder. Now, the terminal works but just shows the hash sign. On other distributions it would show <username>@backtrack or root@ubuntu. Could someone tell me how to fix this?
[Android Q&A, Help & Troubleshooting] Greg1964:
Do I need a computer inorder to install this on my device? Thanks
[Android Q&A, Help & Troubleshooting] Kobalt.Kitsune:
Nope. You can just look for it in the android market. Type in "Complete Linux Installer". :)
[Android Q&A, Help & Troubleshooting] k3v0:
[MENTION=4888773]Greg1964[/MENTION] No. Install the app, then download the image of your choice.
[Android Q&A, Help & Troubleshooting] Greg1964:
What image do you recommend Ubuntu 10 or 12 or one of the other images.I'm using a sensation with a aosp ROM. Thanks very much!!!
[Android Q&A, Help & Troubleshooting] k3v0:
Ubuntu 12.04 small image is a good start.
[Android Q&A, Help & Troubleshooting] Greg1964:
Torrent or source forge which one the source forge? Thanks
[Android Q&A, Help & Troubleshooting] k3v0:
Torrent will be more likely to download. If there aren't enough peers, then the direct download
[Android Q&A, Help & Troubleshooting] Greg1964:
It says sorry no application available when I download image.what is it that I'm doing wrong? I apologize for my noobeyness.
[Android Q&A, Help & Troubleshooting] k3v0:
You need to unzip the downloaded file. Solid Explorer and Astro File Manager are two good file managers that can unzip the file.

The image file must be linked in the Complete linux installer, point to the image file by editing settings.

View attachment 1941925
[Android Q&A, Help & Troubleshooting] Greg1964:
When downloading the image I want to use es downloaded right?
[Android Q&A, Help & Troubleshooting] rp56:
Do I download the image with es downloaded?

---------- Post added at 03:33 PM ---------- Previous post was at 03:30 PM ----------

I downloaded the image with es downloader but no I can't find the image that I just downloaded gez man this sucks.
[Android Q&A, Help & Troubleshooting] Zobat:
where did you download it? maybey /sdcard/download?

think man!
[Android Q&A, Help & Troubleshooting] rp56:
I downloaded sourceforge zip and then I extracted it and I tryed to flash the zip but it won't flash it says aborted when I try flashing it. Thanks
[Android Q&A, Help & Troubleshooting] rp56:
I keep getting this vnc connection failed! Unable to resolve host local host port 5900 nonrecoverable failure in name resolution. why am I getting this message.what did I do wrong. Thanks
[Android Q&A, Help & Troubleshooting] cyberorg:
openSUSE 12.3 image

Hi, openSUSE 12.3 image is now available, it works with linuxonandroid app with patched bootscript.sh(patch was attached in earlier post here). See lizards.opensuse.org/2013/05/09/opensuse-12-3-on-android/ for more.

Have a lot of fun...

-J
[Android Q&A, Help & Troubleshooting] devwithzachary:
Thank you for bringing this to my attention, I shall have a look into integrating this

EDIT: are you the guy that did the post? if so would you be happy with us using your image in the app (with credits given)
[Android Q&A, Help & Troubleshooting] devwithzachary:
Did you type 'local host' or 'localhost' there should be no spaces!
[Android Q&A, Help & Troubleshooting] cyberorg:
Yes, feel free to use the image and scripts. You can get in touch with me at opensuse.org email or IRC freenode #opensuse-arm channel. Thanks for the nice app.

-J
[Android Q&A, Help & Troubleshooting] rp56:
What do I use for username and nickname. Thanks
[Android Q&A, Help & Troubleshooting] flynhy:
Would that work on HTC One?

I have problems getting the image to run in the Terminal Emulator.

Has anyone made a video or a dock with all the commands that need to be executed?:confused:
[Android Q&A, Help & Troubleshooting] rp56:
Yes it should work on the HTC one.
[Android Q&A, Help & Troubleshooting] chapicha:
blank-grey screen connecting vnc

Please, I've been trying to execute complete ubuntu installer image 12.04 in my lg optimus 2x with cianogenmod 7.2. The result was good, i can access with the root terminal, and evrything is ok. Vnc service ok, ssh is ok, it seems ubuntu is running ok, but when i connect throw vnc, the screen is blank-grey and the pointer of the mouse works, but no desktop at all. Instead with debian all works apparently ok. Why can not see the desktop with ubuntu?. Please i'd like to boot ubuntu, why can not get it?. Thank you very, i don't know what to do... very much.:confused:
[Android Q&A, Help & Troubleshooting] joesnose:
I had this problem a couple of times. I found using a different program to unzip the img file sorted it.

Hope that helps.
[Android Q&A, Help & Troubleshooting] devwithzachary:
What ever you like as neither of these have any impact of the final result

Are you using our app to launch the image?

which image are you using? (core, small or large)?
[Android Q&A, Help & Troubleshooting] k3v0:
I've also experienced this issue. Astro File Manager will fail to unzip and leave an image empty file. This doesn't happen every time, but I had better luck with Solid Explorer.
[Android Q&A, Help & Troubleshooting] rp56:
When I go to launch settings do I change anything in the setting becauy I just hit start Linux and emulator starts up and says small/Ubuntu.IMG checksum.I just stays there saying that.what else am I suppose to do or what did I do wrong. Thanks for the help much appreciated.
[Android Q&A, Help & Troubleshooting] k3v0:
It can take several minutes to verify the checksum
[Android Q&A, Help & Troubleshooting] Greg1964:
I'm getting error vnc connection failed.failed to connect to local host/1.27.0.0.1 port5900 connection failed econn refused connection. I keep getting this error.any idea what I did wrong. Thanks
[Android Q&A, Help & Troubleshooting] Greg1964:
Now it says connecting for like 3-5 minutes and then it stops and says connection aborted.