yashsingh1/xdaforums huggingface dataset:
[Android Q&A, Help & Troubleshooting] robherc:
1st: When logging into vnc, you should not need a username, only password. The default password on vnc, for your image, is: ubuntu

2nd: As per the sd card access in vnc, have you edited your init.sh file to correct the typo where "external_sd" was mis-entered as "external-sd" on one line near the bottom (where the permissions for your ubuntu user to be given write access to that device are set)? If not, then please fix that, delete /root/DONOTDELETE.txt that's in the same folder as init.sh, then rebot LinuxOnAndroid & see if you're still having the same problem.

---------- Post added at 05:55 PM ---------- Previous post was at 05:52 PM ----------

That works with your image, but is generally considered a security problem, and with several other distribution images you will not be allowed to start an X session as root user. As long as that works for you, it's great, just please be aware of the vulnerability, and that it may not work with future releases/other distros
[Android Q&A, Help & Troubleshooting] emphiris:
I have tried, but does not work for me

Ok
[Android Q&A, Help & Troubleshooting] pkantue:
Installation of USB CD-ROM drive

Hi,

I would like to use a usb cd/dvd rom drive with my ubuntu 12.04. This is installed on TF101 with keyboard. My bootscript (v10) is already setup to loop mount the two USB ports and it works fine especially when I use it. What drivers/software do I need to be read/burn from the usb CD/DVD drive?
[Android Q&A, Help & Troubleshooting] mscion:
Hi. I recently purchased a Samsung Galaxy Tab Pro 8.4. Looking forward to trying LOA on it. Will soon root it and flash a deodexed version of rom on it. On thing is that I usually use a kernel that has SELinux set to permissive. I don't think there is one currently available. Is there a way to do this in the LOA bootscript or, if not, some other suggestion on how to do this? Thanks!
[Android Q&A, Help & Troubleshooting] robherc:
I'm not sure where bootscript v10 would come from?? But so long as you can access the device from within linux, you should have no problems reading/burning CDs with whichever linux utility you prefer for the purpose ;)

---------- Post added at 08:54 PM ---------- Previous post was at 08:51 PM ----------

Unfortunately, the SELinux being set to enforcing mode blocks you from running scripts as the root user, which blocks us from using the LinuxOnAndroid bootscript for anything until you are able to get your SELinux set into permissive mode :(
[Android Q&A, Help & Troubleshooting] mscion:
Ok. So does that mean I can open a terminal and set enforce=0 and then run LOA (without fully closing terminal)?
[Android Q&A, Help & Troubleshooting] robherc:
Yes, so long as you can turn off enforcing mode long enough for bootscript.sh and init.sh to run, it shouldn't be a problem (and, if you wanted to, you could probably even add a line at the very end of bootscript.sh to set enforce=1 as it exits).
[Android Q&A, Help & Troubleshooting] mscion:
Just a brief follow up. I found three ways that were suggested for changing SELinux to permissive.

1)in terminal first su then set setenforce 0

2 change setting of SELinux to 0 in build.prop

3)There is an app in play store for setting SELinux to permissive.

Note, you can tell what your SELinux setting is by using the command getenforce in terminal.

Apparently for Note 3 and Galaxy Tab Pro this will not work although for some other devices folks have had success.

However there are kernels available for both devices (more specifically the T-Mobile Note 3 and the Galaxy Tab Pro 8.4 model 320)

that set SELinux to permissive by default. I was able to get LOA to work on both when using these kernels so I'm good to go.
[Android Q&A, Help & Troubleshooting] retroben:
Please have a little sympathy for me in my struggles.

I even checked my Fire TV kernel file and it supports DEV_BLK_LOOP with the letter "y" set.

The problem is I can't get a clean kernel download through the Complete Linux Installer app...

I AM SO PISSED OFF!!!

I GO THROUGH ALL OF THIS TROUBLE WITH DELETING MANY FILES AND SETTING UP,ONLY TO GET NOWHERE BECAUSE THE SOFAKING IMG ZIP IS CORRUPTED! ! ! ! ! !

When I try to get 13.10 SMALL from sourceforge through the complete linux installer app,it is always the incorrect filesize because I get an error when trying to unzip it.

The torrent is giving me size problems (once 152MB,then 144MB filesize) as well,which is highly unusual since torrent files are supposed to always be static.

I EVEN TRIED THE LARGE ONE WHICH READS ONLY 600MB+ AND NOWHERE NEAR THE 900MB RANGE! ! ! ! !

Someone please link me to a proper non-broken zip.

It is just a middle finger to me that the damn files on the SF page is corrupted!

---------- Post added at 05:29 AM ---------- Previous post was at 04:35 AM ----------

Sorry 'bout that,I found another position to get it from and used 7zipper 2.0 this time.

ftp.ie.vim.org/mirrors/download.sourceforge.net/pub/sourceforge/l/li/linuxonandroid/Ubuntu/13.10/Small/

How do I open the Web Browser?

I click it and it does nothing.

I changed my wallpaper choice.

I opened an image from my original directories on my Fire TV.

How do I install other programs?
[Android Q&A, Help & Troubleshooting] retroben:
Not enough people posting.

Why are you deliberately hiding the web browser application?

The installer app says FireFox is included with the LARGE img,but I can't find it anywhere!!!

I found "Web Browser" in the "add widgets" mode,but I can't touch anything on there for some reason.

Could you tell me where the folder path of the the executables is so I can open a web browser?

Or can you tell me what terminal function opens "Web Browser" or firefox?
[Android Q&A, Help & Troubleshooting] retroben:
Please,somebody tell me how to access a web browser in the LARGE ubuntu 13.10 linux image.

I don't "get" the apt-get function.

How do I install any apps and where do I get their installer files?

What file extention does the installer files have,and what file extention does the stand-alone apps have?

I once found Kega for Linux on Zophar using a browser on my normal Android-side and extracted it then returned to the GUI via the VNC,but Kega has no extention and the properties window does infact say it is an executable.

And yes,I made sure it was armhf.
[Android Q&A, Help & Troubleshooting] retroben:
Edit:I used Magic Box earlier on to run W95.img and found it had an awesome option for physical mouse control that actually works in real-time to my K400r's touchpad.

Is there a VNC app with that type of easier mouse control?

I have ubuntu 13.10 on my Fire TV,and it can function very well,but I can't figure out how to get things to do what I want.

I am a noob at ubuntu and linux,both GUI and CMD.

I grew up with Windows PCs and could very easily open the .exe executables without any trouble.

With linux,I assume you have to jump through some hoops before getting a fresh application to actually open or install.

I really would appreciate some help with getting stuff for ubuntu armhf.

Primarily some emulators and an actual web browser that opens correctly.

FireFox is missing for me and the Web Browser widget does not let me select it on any mouse mode.

I just need to reach the executable directories so I can immediately open applications as I would on a Windows PC.

I can open the listed applications like image editor with an image and the document viewer,and they function properly despite the image editor being very difficult to control properly with my K400r as the input.

Why is "Web Browser" not in the list?
[Android Q&A, Help & Troubleshooting] retroben:
I will feel stupid if the blank mount point options are supposed to be used for proper functionality to install apps without deleting evrything randomly.

I tried using apt-get install chromium-bsu and it eventually finished installing it,but all of my applications disappeared afterward,completely killing my main reason of having it running.

How do I use this Complete Linux if I can't even do anything without it erasing all of its applications whenever I attempt to install a new one?

Can someone make a better image file with an actual Web Browser that can open and a full desktop filled to the brim with shortcuts to every single application,and finally,a guide for using things like Unity Engine,games,and emulators on it?
[Android Q&A, Help & Troubleshooting] fastguy:
Retroben, before pushing for Linux on your Android, I think it's better to just install it on your desktop in a virtual machine and learn a little bit. Once you are comfortable, then you can install on Android.

For browser, you run "sudo apt-get install firefox". I'm not sure about chromium as it may or may not have an armhf port.

Installable files are Deb extension on Debian derivatives, such as Ubuntu. But you nearly never install such files as a new user.

Better to search with :

apt-cache search

command. If you can guess package name then - - names-only parameter can bring more readable results.

Once you find, you can install with the previous command.

You can them install any graphical package manager you want and forget about the command line. If you install one of the large images, you may already have one package manager already installed.

Again, these are not related to this forum but general Linux knowledge. So better to install on your PC first and try some stuff there.

---------- Post added at 08:06 AM ---------- Previous post was at 08:03 AM ----------

And it's not normal to have your apps disappearing, there's something wrong. Once you make an apt-get install then you can find it in the menu. Much easier than Windows.

Btw, if I remember well, chromium-bsu is a game and you can't play games when running Linux inside android due to slow display access.
[Android Q&A, Help & Troubleshooting] robherc:
This sounds to me like you're using an image with KDE desktop selected by default. Unfortunately, KDE is kinda the Windows of Linux desktop environments. I'm not sure why they even bother with still distributing it, as it's, by my experience at least, the most unstable thing you could run, short of Windows. Please try one of the lxde-GUI images (I believe almost all of the "SMALL" images are lxde-GUI) for a more stable window manager; you can always switch window managers later if you'd like to try a different interface, but best to start with something basic, and stable.

Also, you'll likely have a *far* easier time as a linux-beginner if you use aptitude to "cover" apt-get for installing everything until you get a graphical installer working well. Just enter the command: apt-get install aptitude in your terminal, then once it's finished installing, use the command: aptitude to start a menu-based package manager (add/remove software) that'll give you a much easier time getting everything set up to the point that you can switch over to using only graphical tools (aptitude does take a small amount of learning, PLEASE use the "?" command when you first go into aptitude & read through to understand what all the keyboard comands do before trying to install anything...it'll save you a LOT of frustration.).

Finally, if you're wanting to do any web-browsing, you'll probably need to install a web browser package that is NOT firefox or chrome/chromium as both seem to be quite unstable in their ARMhf releases. I'm sorry that they're like that, but it's the developers of those apps that are making that one so hard, there's nothing we can do until they shape up their ARM ports of the software. Most of the other browsers I've installed through aptitude & tested have worked acceptably, however.
[Android Q&A, Help & Troubleshooting] retroben:
What armhf web broswer do you recommend?

Also,which edition of armhf Linux is considered the fastest one with decent stability and compatibility?

My intentions are to run various Linux ports of my favorite games and apps that are either not/not yet available on Android,or broken from bad controls (e.g GTA San Andreas:touch centered with no proper keyboard controls and often fails with most Joypads).

I doubt something that big would run playably or even simply fit on my USB storage.

I am mainly looking for faster and better compatibility for things like Mupen64 with games like Banjo-Tooie that normally can't enter Unga Cave and exits to menu in Android Mupen64 randomly as well.

I see two certain kinds of Linux,Linux Mint,and Puppy Linux.

There is a Ubuntu compatible version of Puppy Linux as well called Lucid Puppy.

If possible,how would I go about doing this.

Another idea,can I set up a partition in my 32GB USB Mass Storage for an extracted Linux image so it can be more stable and loads easier to access all of its applications and other files that are otherwise impossible for me to navigate to?
[Android Q&A, Help & Troubleshooting] robherc:
I'm using epiphany on mine right now.

We currently have a fairly limited selection of LoA images made up (mainly because I think zacthespack has been the only one to go to the work of making them for us), but of those, the Ubuntu SMALL images have worked well for me, and using LXDE definitely speeds things up a bit by saving resources that heavier desktops squander.

If you're going to be trying to play games, you're most likely going to be sadly disappointed by the lag from using vnc to connect your "real" display to your "virtual" display. So you'll probably want to look into other "screen sharing/mirroring" technologies, and focus on getting one of them to work fast enough for your needs, before worrying much about the distribution you're planning to use; vnc was originally intended more for things like tech support, so it has some disadvantages when you're trying to use it for highly-interactive stuff like action games.

To be honest, that sounds like Androids famous *flash a black screen, then exit to home screen* method of killing whatever app you're running when it runs out of RAM. Unfortunately, running LoA actually uses a bit *more* RAM, as android is still running in RAM at the same time as your linux distribution.

You *can* make your own LoA images, but I'd recommend getting acclimated while using one that's already been made. In order to get your own image together, you'll need to cross-compile all of the packages into an image on another machine; then copy the init.sh script from /root/ on one of the existing images, and tweak it to fit your new image.

Yes, you can expand an image into a partition. I have rewritten a version of bootscript.sh expressly for booting into LoA images that have been expanded into partitions, as that method gives me much more efficient usage of limited storage space while testing with different images, but keeping some of my bulkier files in a separate /home partition that each distro can mount, avoiding duplication. However, the script is still in "stable beta" phase, meaning that while it does run stably for everyone who'se tested it so far, it requires some command-line inputs to get you up & running, and doesn't have a very "finished" User-Interface (plus it doesn't integrate with the CLI app yet, so has to be manually started from Android Terminal Emulator each time. You can download it at http://www.robherc.com/hosted/linuxonandroid/masterbootscript.sh
[Android Q&A, Help & Troubleshooting] retroben:
I got back the SMALL version and managed to install midori and even FireFox.

Both of them are running perfectly fine despite my conflict with flash player support not being available.

I can only get shumway to kinda work,and YouTube showed me what you meant about gaming being hopeless because of the framerate.

I did find a more useful VNC called "Jump Desktop Free" which gives me much better mouse and keyboard support!

It perfectly tracks my K400r touchpad circle as an actual mouse!

It also has better screen refresh rates,I could almost watch a YouTube video,but there is no sound output. :(

I am still waiting for the bootloader unlocker for Fire TV so I can get a fully working Linux by applying a supported distro of my choice.

If only there was a perfect VNC for visuals,controls,performance,and sound.

Or an alternative to VNC with those advantages.
[Android Q&A, Help & Troubleshooting] robherc:
This might help some with the sound part: http://xdaforums.com/showthread.php?p=52804740
[Android Q&A, Help & Troubleshooting] enedil:
chromium-bsu is a video game. chromium is a browser.
[Android Q&A, Help & Troubleshooting] retroben:
Does anybody have a text file listing all of the existing Linux application package names for armhf so I can easily get them without hours of searching?

I could open the text file in Linux itself since it is a multi-window supported GUI while most Android versions are not.

I wished there was already a Puppy Linux with armhf since that particular kernel is considered the best for so many reasons such as small size,extremely fast,very portable,and VERY easy application installing via click-to-install from the very beginning. (Why is this not in every Linux Distro?!)

I hope that I can figure out how to do that sound fix,sometimes editing system files even using ES File Explorer with Root Explorer anabled fails even though I have root access.

Is copying the file into sdcard,editing,and pasting back into exact system folder safe for this?

I did that with something else that refused to let me save after editing it.
[Android Q&A, Help & Troubleshooting] fastguy:
apt-get search - - names-only package_name is pretty easy to search, won't need hours...

But if you are using Debian (I recommend) or Ubuntu, you can do Google search or go directly to their packages websites.

Puppy Linux is just another distribution for small compact size. But depending on the apps you will install, you can end up using the same amount of disk space compared to a small Debian or Ubuntu install.

Btw, it's not a kernel, the kernel we use is your devices kernel that also runs android.

/system partition on Android is read only. You need to remount rw (readwrite) if you want to edit things inside. (when root, mount -o remount,rw /system)

For faster screen, you may try to use Linux Deploy from the market with Debian installation. It has an X Server mode. You install XServer XDSL from market as well and run the Linux deploy start script from its GUI, after installing the Linux and configuring it (from gui) for XServer. . Since XServer XDSL runs on Android side, it responds faster. You can also use a mouse a keyboard with it.
[Android Q&A, Help & Troubleshooting] retroben:
Will that faster refresh rate work for ubuntu builds.

I found another one called bVNC with slightly better refresh rates and it also has best mouse controls.

I can even officially right click,drag files,and scroll with two fingers!

I made so much progress with FireFox!

I now got all three versions of Flash Player (Shumway,Lightspark,and Gnash) installed!

The best performance is a tie with lightspark and gnash,but they are a bit slow since this is on vnc instead of direct viewing.

I also installed AdBlock Edge instantly.

In default resolution,flash runs very decently,but when zoomed in,it obviously goes much slower

If it were a directly running Linux,everything would be at perfectly lagless speeds since they run so well on vnc.

I would love to know if ubuntu could work on Linux Deploy.

I really do hope I can get sound working after I get the chance to apply the changes.

In theory,could I actually use the Linux to edit those files in a matter of multitasking?

Edit:I will need a more detailed list of instructions for Linux Deploy because I keep getting mount partition failed.

I essentially need a "for dummies" version.
[Android Q&A, Help & Troubleshooting] fastguy:
This is not a thread for linux deploy so I won't be able to help you further.
[Android Q&A, Help & Troubleshooting] frz1:
Error libsuc

Hi all, So I put this app on my phone, (THL T200 rooted) this week and did the debian large package install. It boots and all but it doesn't say root@localhost:/#, it just says localhost:/#, and I keep getting this error, [ ld.so: object ' /system/lib/libsuc.so' from LD_PRELOAD cannot be preloaded: ignored.]. And of course the vnc app cannot connect to start the gui. Thanks
[Android Q&A, Help & Troubleshooting] robherc:
Have you tried using the workarounds mentioned earlier in this thread. If I recall correctly, there's an issue with needing a different busybox binary for booting the Debian images, as well as needing to change where .SELinux gets mounted to inside the image, which is why I personally generally recommend for all but the most experienced users to utilize a different image, at least until we can get those things worked out better.
[Android Q&A, Help & Troubleshooting] frz1:
Have you tried using the workarounds mentioned earlier in this thread. If I recall correctly, there's an issue with needing a different busybox binary for booting the Debian images, as well as needing to change where .SELinux gets mounted to inside the image, which is why I personally generally recommend for all but the most experienced users to utilize a different image, at least until we can get those things worked out better.[/quote]Thanks for the reply. I haven't tried the workaround. I will soon as I get a chance. I've tried the other images and so far Ubuntu seems to be the only one that works right.

Sent from my T200 using Forum Fiend v1.2.8.
[Android Q&A, Help & Troubleshooting] enedil:
Hi. I'm running CM 11, nightly from 11 july on my Galaxy Tab 2. And I can't manage LoA to work. I have latest bootscript. After clicking on "start linux" I'm entering terminal emulator, `su` command is executed and I end with opened root shell, nothing else.
[Android Q&A, Help & Troubleshooting] robherc:
That is the now fairly well known CM11/PA11 bug. For whatever reason, neither CyanogenMod, nor Paranoid Android, current ROMs will allow the CLI app to execute the bootscript.sh script in Android Terminal Emulator. The workaround is to manually type in the following command after the root shell opens in terminal:

/data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh YourImageFilename.img

(replace "YourImageFilename.img" with the actual filename of your image file, such as "ubuntu3.10-SMALL.ext4.img")
[Android Q&A, Help & Troubleshooting] abgder:
u0_a109@850p:/$

u0_a109@850p:/$ cd/sdcard

u0_a109@850p:/sdcard $ su

d/files/bootscript.sh/sdcard/kali-linux-1.0.7-armhf.img <

/data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh

:not found

/data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh

:not found

Error : /sdcard/kali-linux-1.0.7-armhf.img

/data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh

:bad number

can anyone help me
[Android Q&A, Help & Troubleshooting] robherc:
Looks like you missed the space after bootscript.sh
[Android Q&A, Help & Troubleshooting] abgder:
still same
[Android Q&A, Help & Troubleshooting] enedil:
Hi. Now it works. But I have another issue: I can't connect to the Internet.

root@localhost:~# ping http://google.com

ping: unknown host http://google.com

I'm connected to Wi-Fi.

Image is debian testing small.

Thanks in advance.

Edit: I'm thinking of getting back to stock 4.2.2. I'm having large battery drains and everything is working on JB.
[Android Q&A, Help & Troubleshooting] robherc:
Can you try: ping 8.8.8.8 and let me know if that works, please? If it does, then you 'net is working...just need to edit resolve.conf ... if that won't ping, though, then it's a "deeper" problem that would need fixed.
[Android Q&A, Help & Troubleshooting] enedil:
This is what I see after running bootscript:

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

Using config file /root/cfg/debian-8.CORE.ext4.img.config

Config file loaded

[ ok ] Starting OpenBSD Secure Shell server: sshd.

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

eth0: error fetching interface information: Device not found

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

root@localhost:/# ping 8.8.8.8

socket: Permission denied

root@localhost:/#