yashsingh1/xdaforums huggingface dataset:
[Android Q&A, Help & Troubleshooting] robherc:
Don't worry, it *is* Ubuntu...KDE is the desktop manager. Ubuntu can run with KDE, GNOME, Unity, LXDE, XFCE, iceWM, or a number of other window managers, according to your personal preference of which one you prefer.

The main differences between distributions are the install file format (usually .rpm or .deb), and the included packages that are available from your distribution's repository. The window managers, however, are mostly available for any distribution, so you're free to try different distributions to see which works better with your equipment, but keep the same, familiar interface, by using the same window manager.

---------- Post added at 05:25 PM ---------- Previous post was at 05:21 PM ----------

Well, the password it's failing to change isn't for root, it's for the "ubuntu" user account, inside your ubuntu distro image. Fortunately, root is the login that your terminal always starts in, so you can't be blocked from root access on any image very easily; but it's worth looking into the security settings in your 4.4.4 kernel to see what's blocking you from resetting the password for the ubuntu account. Also, you might try "su ubuntu" then "passwd" commands from the terminal, see if switching to the ubuntu user will get around the security block you're hitting.
[Android Q&A, Help & Troubleshooting] Mister_Magister:
i don't understand. What i have to do?
[Android Q&A, Help & Troubleshooting] robherc:
Well, from what you've told us so far, the only error you're getting is that you're unable to set a user account password for the default user in your image. Honestly, this shouldn't stop you from using LoA at all, it only interferes with setting up a redundant security layer (password) on that one account...so you should still be able to use everything anywise.

If you're concerned about not having a password set for your ubuntu user account, try these commands in the terminal window after launching Ubuntu:

su ubuntu
passwd

then type "exit" after you've entered your new password, in order to get back to the root login you'll need to be in to exit out of the LoA chroot environment later.
[Android Q&A, Help & Troubleshooting] Mister_Magister:
Thanks but there is no repository for ubuntu so i removed it.
[Android Q&A, Help & Troubleshooting] Galaxy droid fan 7:
Thanks for the quick reply sir I went ahead and try out Archlinuxs large file but it would not mount to my system. This is crazy! I also tried out Kali Linux it would boot up in the command line but when I ran the vnc it's like the desktop didn't exist I.E grey screen of death! Would you happen to know how to download the newest version of Ubuntu form a small 4 gigabytes ext4 image so it would work on my tablet ? I'm tired of dealing with glitchy roms lol. It seems like all the roms that are compatible with the app have some sort of major problem or maybe it's just my bad luck and inexperience with Linux
[Android Q&A, Help & Troubleshooting] xda23:
When first starting Ubuntu I start thr emulator and then the vnc right? Could someone please explain the process. Thanks :)
[Android Q&A, Help & Troubleshooting] xda23:
Anyone please!!!
[Android Q&A, Help & Troubleshooting] henslo:
Read.. Try.. Read again.. Try again.. Succeed
[Android Q&A, Help & Troubleshooting] xda23:
Thanks 4 your words of wisdom!!! Lol
[Android Q&A, Help & Troubleshooting] Mister_Magister:
It is right. Read thread,
[Android Q&A, Help & Troubleshooting] winie:
x86 versions

I have an x86 phone (Asus Zenfone 5 - Intel z2560) is there a way to simply use the official ubuntu or Kali ISOs?
[Android Q&A, Help & Troubleshooting] xda23:
Read, read and read!!! Lol :D
[Android Q&A, Help & Troubleshooting] robherc:
You can try them...the problem you will very likely run into is closed-source drivers. Most tablets & phones have a large number of proprietary devices/drivers in them which are not already included in mainstream ISOs. If you can scrounge up all of your drivers, and get them integrated/installed propperly, then you should have little/no problem.

---------- Post added at 02:52 AM ---------- Previous post was at 02:48 AM ----------

There are instructions posted for how a few of the images were originally made. If you can collect enough information from those instructions (check the main FAQ, linked from my FAQ if you can't find the link with the image file downloads), then you can make your own image file from any distribution that you prefer. Unfortunately, neither I, nor either of the other devs have been able to make time to put together new image files recently; however, most are able to get the Ubuntu SMALL images working acceptably...I'm sorry that KDE is glitchware...there's nothing I can do to fix KDE except to uninstall it; even on my desktop PCs.

---------- Post added at 03:06 AM ---------- Previous post was at 02:52 AM ----------

#1: Install Complete Linux Installer App from Google Play

#2: Download an image file from sourceforge for your preferred distribution: http://sourceforge.net/projects/linuxonandroid/files/ (make sure you chose an ext4-type image, please)

#3: Extract the downloaded .zip file to a folder on your internal storage, or external SD card

#4: Open the Complete Linux Installer App; Click the Penguin to bring up the sidebar menu, then select "Launch" from that menu.

#5: Click "SETTINGS" in the top-right corner of the screen, then select "Edit"

#6: Type in the name you want for your linux distro you're installing, then select your .img file you just extracted..then select the "Save Changes" button.

#7: Click the "Start Linux" button.

Now, you'll likely get a bunch of scary errors on-screen. I'm sorry about that part, please ignore them for the moment...they're due to the app installing an outdated script that I'm about to tell you how to update.

#8: Open my FAQ (using the link above in this post), and read+follow the instructions under the "How do I install the most up-to-date version of bootscript.sh on my device?" link/heading.

#9: Redo steps #4 & #7

#10: Watch the screen for error messages, and save a screenshot in case you need to ask for help fixing something later.

#11: Follow on-screen instructions.

#12: If you'll be using VNC, open your VNC viewer app, enter the ip address you were given on-screen by the app, then enter the correct password (with no username) for your image file; examples are given in the following list:

Ubuntu images: ubuntu

Kali images: kalilinux

Arch images: archlinux

Debian images: debian
[Android Q&A, Help & Troubleshooting] robherc:
Actually, the info on downloading your own busybox was first posted in these forums...then added to my FAQ after a couple more Samsung users confirmed that it worked for them. To be honest, you'd have to dig through forum threads for a while to be sure exactly who deserves credit for originating the fix...I jsut "spread the word" on it. ;)

As far as integrading xserver into the app, or into a new app, I'm open to pretty much anything that doesn't require me to do more than 50% of the dev work...esp. since I *hate* GUI programming...lol. Either way, however, I would still prefer to wait for zacthespack (head programmer) to hopefully get things settled enough that he can "rejoin the fray" on helping us to move this forward; especially since there doesn't seem to be anyone else volunteering to do anything to help who doesn't mind doing the GUI-part of the program.
[Android Q&A, Help & Troubleshooting] xda23:
Well I finally got it to boot 13.10 small image.Is there a way to add more apps to linux. Thanks. :)
[Android Q&A, Help & Troubleshooting] Galaxy droid fan 7:
Can you tell me what you're going to use it for that way maybe we can help each other out? Cuz I used to used it b4 but I quit using it because I can't get Flash Player to work or the runscape PPA I also for the life of me cannot figure out how to get sound to work
[Android Q&A, Help & Troubleshooting] xda23:
Oh! Just the basics.what version of linux are you currently running? Thanks. :)
[Android Q&A, Help & Troubleshooting] Galaxy droid fan 7:
13.10 small from SourceForge sorry it took me so long to reply but I got lost in college humor lol. Here's the link to they runescape UNIX client's official youtube video https://m.youtube.com/watch?v=NooByJuuULs

When I add the PPA to my repository list and download it after I click on it nothing happens. I also for the life of me I get Flash Player install no matter which version I try. I also would like to install Shockwave Player to play old cartoon network games, but with all the trouble I had with Flash Player I haven't even tried yet. And of course there are the sound drivers I don't even know where to begin I don't know if you can tell by reading this but I'm a linux noob [emoji6]
[Android Q&A, Help & Troubleshooting] xda23:
Im a linux noob as well bud. Thanks. :)
[Android Q&A, Help & Troubleshooting] Galaxy droid fan 7:
A lot of the times when I download certain programs it screws up the desktop to where there's nothing but a grey screen I call it the grey screen of death! I don't know what caused by that I'd be able to fix it a friend of mine says it's because it messes with a start x and I would have to manually reconfigure the start X points
[Android Q&A, Help & Troubleshooting] robherc:
I used apt-get install aptitude to install the aptitude menu-based package manager...then installed everything else through aptitude, or manual "make config, make, install" method.
[Android Q&A, Help & Troubleshooting] Xperia_Z1_Compact:
Hallo!

I have some problem to geht a Ubuntu 13.10 to run!

1 - I install the "complete linux installer" (2.8)

2 - I download Ubuntu 13.10 and copy the extracted files (ubuntu.img & ...img.md5) to the intern sdcard

3. - I download & install the 2 apps [VCN Viewer & Android Terminal Emulator(jackpal)]

4 - Then, i press "Start", the Terminal opens and nothing happens, the only thing standing on the Window:

"u0_a55@amami:/ $ 9;60R"

... what is wrong?? & what means 9;60R ??

... also interesting: when i press "open folder" under "settings" in the complete linux-installer app, a terminal opens

with the same crap displayed: 9;60R ??

System: CyanogenMod 11 M10 (4.4.4.)

Kernel: 3.4.0cyanogenmod-g0128289

Processor: ARMv7

Phone: Xperia Z1 compact (amami)

... phone is

rooted

, app has root-acces & usb-debugging is

enabled

!

Please help me - what is wrong?

regards,

stefan
[Android Q&A, Help & Troubleshooting] hammmy:
http://xdaforums.com/showthread.php?t=2598481

I found this LoA-on-sdcard guide helpful and appended some info to it while installing Archlinux on my Android device.

---

I have a problem of my own:

# ping 192.168.1.1
socket: Permission denied

I have root added to:

android_inet:x:3003
android_net-raw:x:3004

Everything I've come across said this should have worked. I have a daemon added to the 3003 group and it can access sockets fine. Ping apparently uses raw sockets which fall under 3004 but unless there's some sort of typo here, I'm not understanding why root can't run a ping. Any help?
[Android Q&A, Help & Troubleshooting] robherc:
Are you attempting the ping from android terminal emulator, or from a terminal emulator running under your archlinux GUI (using vnc)? If you're using GUI/vnc, try pinging from Android Terminal Emulator instead as I believe Arch doesn't "like" root accessing the GUI.

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

CyanogenMod 11 has a new "security feature" that blocks the Complete Linux Installer app from communicating with the Android Terminal Emulator app after the Android Terminal Emulator app switches to "superuser mode."

In order to get linux running, try typing the following command in the terminal:

/data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh /PATH/TO/IMAGEFILE.IMG

(replace "/PATH/TO/IMAGEFILE.IMG" with the actual path & filename of your image file, of course)

This is currently the only known workaround for CyanogenMod or ParanoidAndroid users who're running android 4.4.x-based ROMs
[Android Q&A, Help & Troubleshooting] hammmy:
Nope, I was running the commands from the terminal, not from VNC.
[Android Q&A, Help & Troubleshooting] Xperia_Z1_Compact:
Hello!

Ok, i m trying this in a terminal: "/data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh /PATH/TO/IMAGEFILE.IMG"

.... it says: "can't execute: Permission denied"

... WTF? I think in CyanogenMod, i have more control of my smartphone - and then this ****!

I gave the terminal super user permissions in the Options of the CyanogenMod AND before i start the above command, i give in "su" and the

OS told me, that the terminal app has now super user permissions!

... so, what is wrong now? Please give me an idea?
[Android Q&A, Help & Troubleshooting] robherc:
Ok, now it looks like you're running into the "SELinux Enforcing" security "feature" which blocks scripts from executing as root user. Thankfully, there are "SELinux Modeswitch" apps available for most devices which can set the SELinux "feature" into "permissive" mode and allow you to run scripts. Alternately, there's also a terminal command, usually:

setenforce 0

that will do the same thing for you, but most users prefer to download & install the graphical app, as they find it more user-friendly & convenient.

---------- Post added at 06:03 PM ---------- Previous post was at 05:56 PM ----------

Hmm, are you running my v9.0 version of the bootscript.sh script (install instructions are in my FAQ[/i]), or an earlier version available through the app? If you're not running v9.0, please upgrade to it as a first-step in attempting to resolve this problem, as I have it "attaching" a lot more access to devices & services than previous versions of the script.

If you continue to have that problem after upgrading your bootscript, then we'll have to look deeper to find where the problem is coming from, as I have no problem pinging from my LoA devices.
[Android Q&A, Help & Troubleshooting] btiu:
Error: Unable to mount the loop device

I downloaded the ext2 verion of Ubuntu 13.10 small that the LOA app itself provided.

My Gingerbread phone apparently does not support ext2, ext3 nor ext4.. Is there any chance of things working out?

I have yet to update my bootscript to v9 though. Right now I'm still in v8.0.
[Android Q&A, Help & Troubleshooting] Xperia_Z1_Compact:
Ok, now it works most perfekt!

I do the following:

1. type in su in the terminal

2. navigate to the bootsctipt.sh in the terminal with the "cd" command (/data/data/com.zpwebsites.linuxonandroid/files)

3. type in: sh bootscript.sh /sdcard/ubuntu/ubuntu.img (maybe - important was the "sh" before bootscript.sh !!)

4. then, it starts without any problems -> the OS boot

5. start the VNC Viewer app with localhost, pw:ubuntu => the desktop is shown

... my last problem is, that this now running linux-OS has no permission to any storage (intern & extern sd-card) so i cannot install some applications or

browse my files on the storages? The intern file-explorer of the ubuntu says: "Permission denied"????

How do ubuntu get some persmissions?
[Android Q&A, Help & Troubleshooting] robherc:
Which gingerbread version are you using? Unfortunately, not all gingerbread OS versions correctly support mounting images through loop devices.

If this turns out to be your problem, and you have a linux/unix/mac PC available, there's a chance we could get you running using a partition on your SD card instead of an image file...but it's a bit more of an advanced process, so if you aren't comfortable with linux terminal commands, then it might not be a great idea.
[Android Q&A, Help & Troubleshooting] btiu:
Android version 2.3.5

Kernel version 2.6.35.7

this is a mocordroid with an ARM cortex A5 1Ghz dual core cpu (but the second core is disabled for some reason)

Did you mean this? http://xdaforums.com/showthread.php?t=2598481

And yes I do have a unix PC available :)
[Android Q&A, Help & Troubleshooting] robherc:
Hmmm, hadn't noticed that post yet...interesting, but a bit outdated.

I have since updated bootscript.sh quite a bit, and incorporated those updates into my own (pre-beta) partition mounting script that I have hosted on my server under the name masterbootscript.sh.

Assuming you were to use my script, you would need to:

#1: Have an SD card with enough space to house your new LinuxOnAndroid distro. partition

#2: Copy your LinuxOnAndroid image file you intend to use to a Linux/Unix PC

#3: Format the 2nd partition on your SD card (on the PC) to a filesystem your kernel supports (probably ext2 for your particular device)

#4: Mount the newly formatted sd card partition to /partition on your PC

#5: Mount the image file to /image on your PC

#6: In a terminal session on your PC, su to root, then use the command: cp -aR /image/* /partition

#7: Unmount both the image & the partition on your PC

#8: Move SD card to your android device.

#9: Download http://www.robherc.com/hosted/linuxonandroid/masterbootscript.sh to the /data/data/com.zpwebsites.linuxonandroid/files folder on your android.

#10: Chmod that downloaded file to 0755

#11: From a rooted terminal on the android, execute /data/data/com.zpwebsites.linuxonandroid/files/masterbootscript.sh & follow the on-screen prompts to select the partition you're wanting to run your linux distro. from.

NOTICE: The masterbootscript.sh file is still considered to be a PRE-BETA release, meaning that while it has worked on all tested devices so far, it still isn't ready to be considered as a "release candidate," and I'm not responsible if your device gets messed up while using it.
[Android Q&A, Help & Troubleshooting] vampirexhunter:
This is amazing!

Got Arch Linux Full running on my note 2.

One Question: How do I access my mounted SD card? It's giving me permission problems, and I can't seem to change the owner or permissions.

Can only access on root account, but not archlinux.

Any help is appreciated.

Thanks!
[Android Q&A, Help & Troubleshooting] mscion:
Hi. Just curious to see if anyone has gotten LOA to work on Note 4. Thinking of getting one but it is a no go without LOA working.
[Android Q&A, Help & Troubleshooting] damooo90:
busyboX problem

Hi,

i have this problem

u0_a68@lt03wifi:/ $

u0_a68@lt03wifi:/ $ cd /sdcard/ubuntu

u0_a68@lt03wifi:/sdcard/ubuntu $ su

sh /data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh /sdcard/ubuntu/ubuntu.img

sh /data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh /sdcard/ubuntu/ubuntu.img

root@lt03wifi:/storage/emulated/legacy/ubuntu # sh /data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh /sdcard/ubuntu/ubuntu.img

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

y

Validating image checksum... /data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh[81]: /data/data/com.zpwebsites.linuxonandroid/files/busybox: Permission denied

FAILED!

Error: Checksum failed! The image is corrupted!

1|root@lt03wifi:/storage/emulated/legacy/ubuntu #

the app have permission root. I have reinstalling busybox from launch, but not work.

i have change permission in folder data/data/com.zpwebsites.linuxonandroid/files/ in 0777, but not work.

thanks
[Android Q&A, Help & Troubleshooting] Ram121:
I have installed complete Linux installers on my note 3 which is having android 4.4.2 Dr. Ketan rom, I have downloaded small image of Ubuntu 12.04 after connection to vnc it's showing white image only(screen shot attached)

I am using bVNC free app

What wrong I am doing and does small image is having desktop gui

Edit - I tried installing gnome desktop but it says no space left on device, but there is much space available in internal storage
[Android Q&A, Help & Troubleshooting] Ram121:
I think this solution for mounting sd card should be added to FAQ
[Android Q&A, Help & Troubleshooting] Galaxy droid fan 7:
That's because no matter how much memory you have on your device the default memory size for the Linux distributions using the app is around 2-4 gigabytes. Plus the memory the OS takes up can be anywhere from 500 megabytes 2 gigabyte depending on which version you get. And they always leave you a gig and a half to work with. Except for Fedora for some reason it only leaves you with seven hundred megabytes of free space. In your case yours would be a 2 gigabyte image with 500 megs going to the desktop environment and stuff like that and the rest going to empty storage you can use. Hope that helps hit the thumbs up button if I helped you.
[Android Q&A, Help & Troubleshooting] zoquetina:
Hello: I'm trying, and PLEASE tell me if I can't do it because I don't want to brick my phone, Kali Linux with Complete Linux on Android. So far I have one .img for ext2 the BASIC one that has almost 700MB compressed, uncompressed is about 3.7X GB. My phone is rooted of course and my SD card is particioned I don't know in what format to be honest, I thought I particioned in EXT3 but when using Link2SD took it in EXT2.

Anyway, in terminal when I try to install Kali, I get a line that can't find bootscript.sh and says not found, also loop.

Since I'm a big noob at this, could someone point me to a tutorial for newbies, dummies or beginners that I can follow step by step.

Thanks!!

To Developers, what a fantastic app!!
[Android Q&A, Help & Troubleshooting] Galaxy droid fan 7:
I've tried practically every distribution of Linux that app supports from the SourceForge page and the MD 5 file always says they're corrupt is that why I'm having problems with Every single compatible Linux distribution. ( ie KDE plasma making the applications list completely vanish when you install a program or how I'm unable to install sound drivers to ubuntu small without making the desktop environment completely unusable) I've just started out learning about MD 5 checksum and how it can help determine if a file was corrupted during the download process. And it seems like at least in my experience that all of those compatible ext4 files has something wrong with them. I would love it if someone made their own that would be compatible with that app so I can finally use Linux the way it was intended. :)