yashsingh1/xdaforums huggingface dataset:
[Android Software Development] xda23:
Will you guys ever make a flashable zip for Ubuntu can be installed by just flashing through recovery.that would be great.
[Android Software Development] 7h3d:
Fix for Backtrack 5 VNC grey screen

I managed to get SELinux work on Backtrack 5. This should now fix this VNC grey screen and some other problems on SELinux enabled kernels (Such as TouchWiz).

Anyways, you can get my modified Backtrack 5 v10 IMG HERE.

NOTE:

If you get this error on VNC, make sure that your SELinux status is Permissive, not Enforcing. You can switch to Permissive mode using the following command:

setenforce 0

Or you can edit your init.rc file for it to be set on each boot.
[Android Software Development] 7aska:
Good job bro !!
[Android Software Development] 215alexdx:
I've noticed that ever since I've installed the latest zip, the audio has dropped in quality. It sounds like Beats Audio isn't enabled and it should be by default. I'm not sure if other people are experiencing this but it may be a bug.
[Android Software Development] 215alexdx:
I have no idea how this was posted here. This comment was meant for a different post. Sorry.
[Android Software Development] blaster44:
Hi!

I have problem(Nexus 7 2012, CM11)

After tap Start Linux, my terminal give me the output:

u0_a52@grouper:/ $

u0_a52@grouper:/ $ cd /sdcard/fedora

u0_a52@grouper:/sdcard/fedora $ su

root@grouper:/ #

And nothing happens. What's wrong?

Ok, I solved it(manually run script). But I have other problem. In VNC im only have grey screen with 3 options:

Accept clipboad from viewers

Send clipboards to viewers

Send primary selection to viewers

Anny ideas?

OK, solved it too. Via installing and changing DE to LXDE.
[Android Software Development] xike:
How did you fix the problem with the terminal not doing anything after the launch? Aka what script did you run? I'm confused here :confused:
[Android Software Development] kamild_:
Any chances for a newer version of Debian?

Also how can I use root priviledges? 'Su' says authentication failed. 'sudo su' is not working since there's no sudo installed - and installing it causes many disfunctions such as VNC not launching automatically (I can start it manually though) and LXTerminal not starting properly (can't remember what's the error).
[Android Software Development] userdelroot:
Is this project still currently being updated?
[Android Software Development] devwithzachary:
Yes although I am very busy on other projects at the moment but the project is still being updated
[Android Software Development] nscxp2005:
What other projects are you working on?

Anything Android specific?
[Android Software Development] userprince:
Hi [MENTION=2083190]zacthespack[/MENTION] ,

You should add Micromax A116 in supported device list it works perfect on Stock Rom 4.2.1

Awesome Work! :good: :good: :good:
[Android Software Development] pipe086:
Hello guys I need some help, I had fedora running in my note 10.1 2014 but the large size was way to small for me so I increased the img size to 10 and put it into an ext2 partition, but completelinux installer can recognize the ext2 partition so I mount I with link2sd, but complete linux installer cant read /data folder, so how can I run fedora on a 10Gb img file size?

Thanks Alot.
[Android Software Development] userdelroot:
[MENTION=2083190]zacthespack[/MENTION]

We could merge projects and I could then help with this one.
[Android Software Development] droidshadow:
LoA on Verizon SGS3 on 4.3

Does the complete Linux installer app work with the Verizon SGS3 running on stock 4.3 rooted?

LoA worked when my Verizon sgs3 was on 4.1.2 but when I upgraded to 4.3 I keep getting a chroot error. I have tried different Linux images with no luck...

The error I keep getting is chroot: can't execute '/root/init.sh' permission denied.

Anyone have any idea on what I can do to fix this?

I REALLY MISS LINUX ON MY PHONE!

Thank you all for your time and your assistance.

-droidshadow
[Android Software Development] kamild_:
Try this:

su
chmod 700 /root/init.sh
[Android Software Development] ljsh093:
i want to do some test on ubuntu and i dl ubuntu 13.04 full. i follow "Complete Linux Installer" into term, it show black background and white font like this:

u0_a56@mako:/ $
u0_a56@mako:/ $ cd /sdcard/ubuntu/full
u0_a56@mako:/sdcard/ubuntu/full $ su
sh /data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh /sdcard/ubuntu/full/ubuntu-13.10.LARGE.ext4.img
sh /data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh /sdcard/ubuntu/full/ubuntu-13.10.LARGE.ext4.img
root@mako:/storage/emulated/legacy/ubuntu/full # sh /data/data/com.zpwebsites. script.sh /sdcard/ubuntu/full/ubuntu-13 .10.LARGE.ext4.img
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/ubuntu-13.10.LARGE.ext4.img.config
Config file loaded
Password:
su: Authentication failure

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

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

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)
* Starting OpenBSD Secure Shell server sshd [ OK ]

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

root@localhost:/#

ubuntu run success, but i dont know about the password problem:"su: Authentication failure"

i type

ls

or

vim

it really word, but i want into GUI by VNC,

address:localhost
port:5900
username:ubuntu
password:ubuntu

it give me a ERROR:

VNC connection failed!
failed to cennect to localhost/127.0.0.1 (port 5900): connect failed: ECONNREFUSED (Connection refused)

i try to go back term and type:

netstat -tln

show:

tcp 0 0 0.0.0.0:22 0.0.0.0:*
LESTEN
tcp6 0 0 :::22 :::*
LESTEN

Conf file content:

resolution=1280x720
run_ssh=yes
run_vnc=yes

My driver is NEXUS4 CM11 official

So So So sorry for my bad english

Somebody help me please!
[Android Software Development] kamild_:
Do 'sudo su' instead
[Android Software Development] droidshadow:
So I was going to try this but there is no init.sh shell script in my root directory. I tried making the bootscript.sh executable (the boot script complete linux installer uses) but that did not work either...

Why is complete linux installer trying to run an init.sh script and why is it looking for it in my root directory?

Does anyone know where the init.sh script for LoA is?

If I can copy the script to my root directory would this fix the problem?

Thank you all so much for your time...

I hope I can fix this...I really miss Linux on my phone.

-droidshadow

---------- Post added at 09:24 AM ---------- Previous post was at 09:17 AM ----------

For changing to root user use the command "sudo su" like the person above suggested.

Or you can do "sudo -i su" and when it asks for a pass enter the pass for your regular user.

As for vnc try this.

"tightvncserver -geometry 800x400 -depth 24"

Now that should start a vnc session on port 5901. Double check which port vnc is running on by doing thr command "netstat -ntl" and you should see something similar to 590*

Now just change android vnc and make sure you enter the correct port number!

Hope it helps...

At least linux runs on your phone!

-droidshadow
[Android Software Development] ljsh093:
Tranks for your reply.

Thank you very much, and it really work now!
[Android Software Development] ljsh093:
I connect to ubuntu 13.04 (full image) by vnc, but it just show this error message and grey screen.

Help me please...
[Android Software Development] Killberty:
Password for kali?
[Android Software Development] devwithzachary:
Alpha 1

Many have asked what has been happening over the past few months since our indiegogo campaign, and we have been working hard in the background.

Sure there have been alot of delays due to real world issues, but we are back and its time to get the machine rolling again.

Time to brings on the updates!

I would like to introduce Complete Linux Installer v3, this has been completely rebuild from the ground up to get ready for ROM integration, but also to give a cleaner user experience and many new features!

Before we talk about the first Alpha and how to get on the alpha testing program below is a brake down of all the new features planned for the final stable v3 release. To track these features and there progress see: HERE

No more Ads!!! - We have decided to stick to just donations keys for funding the project

[B}New Navigation UI[/B]

New Splash Screen - Checks for SU and ADB before allowing user to install

All in one install guide - Merge all the guides into one, just pick your distro and the guide is the same!

Stream lined Launcher - New launcher that allows automated searching for .img files

Improved News -*New News page to read updates from the blog from within the app

Improved Change log - Change Log view sync with online change logs for Images and Scripts

New Bootscript - New bootscript with alot of clean up

Custom building Install - No longer have to download a complete image, download the core and customise the install from within the app

Integrated Terminal - Remove need for external terminal app, all booting and set up done within the app

+ more to come!

Alpha 1

To join the new Alpha test team you will need to join THIS google+*community and then head over to the play store and grab the alpha, However note that that Alpha releases will not be feature complete and will have bugs. Once all features have been implemented v3 will reach BETA where we will test until its bug free and finally move to stable.

The alpha 1 release is just a show case of the new splash screen and UI nothing else yet works. More updates will become avaible throughout the coming weeks as we develop the new features.
[Android Software Development] liljom:
I looked around and couldn't find it either. The password mentioned in the guide (debian) doesn't work.

Would be nice to have it.
[Android Software Development] anthraxx90:
Nexus 5

Hi, i've followed all steps but when i launch from app, this is the result:

u0_a62@hammerhead:/ $

u0_a62@hammerhead:/ $ cd /sdcard/ubuntu

u0_a62@hammerhead:/sdcard/ubuntu $ su

root@hammerhead:/ #

Solved with manual script, but there is a web browser or something like that? i've tried ubuntu 13.04 13.10 and archlinux but nothing
[Android Software Development] rivera151:
Don't you love that?

Anyway, this is what I did:

Remount the root directory ("/") with read/write privileges (easy in ES File Explorer)

Open a terminal and type:

su
chmod 775 /data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh
cd /
nano startlinux.sh

Type in the editor:

#! /system/xbin/bash
/data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh /path/to/your/ubuntu.img

Save and exit (Ctrl+X)

chmod 775 /startlinux.sh

Remount "/" as read-only again (via ES File Explorer)

OK, so now we have a hack to at least get it working. When you get to the # prompt again when you launch, just type "./startlinux.sh" and that should get you going.

Hopefully this turns into a Q&A thread, instead of a Q thread. If anybody has a better alternative, I'm all ears.
[Android Software Development] exitpr0gram:
I was like WHERE DA KEYBOARD AT !? :laugh:
[Android Software Development] d1e600:
[q] image ubuntu extracted in ext3

Hello guys, thanks for the program is very useful for me as it occupied the Motorola Lapdock.

I have a question, I made an EXT3 partition on my sdcard (Class 10), the Ubuntu image can be extracted in this partition? And be there with some bootscript call?.

If this is possible, I can post the instructions?

Thank you very much!
[Android Software Development] xda23:
Has anyone got this working on the tmobile Gs4? If yes let me know what version. Thanks
[Android Software Development] xfim:
Hi, I have installed Ubuntu and used it in bvnc app, but some rendering seems a bit corrupt, especially on the full image's GUI. Chroomium browser seems to load the website but I only see white screen.

Does anyone know how to fix rendering on full and small image?

Thanks

Sent from my GSmart Sierra S1 MT6589T
[Android Software Development] xike:
Actually, it does not work just yet, could not use nano command to make .sh file so I made it through xplore and put the code inside it etc, put it in the right direction (I guess - / ) and it still does not work in terminal due to "sh: ./startlinux: not found" and I am pretty goddamn sure its there.
[Android Software Development] rivera151:
Note that I haven't been able to have the startlinux.sh script to persist, so instead of typing ./startlinux.sh every time, I have to type /data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh /sdcard/ubuntu/ubuntu.img

It's more tedious, yes, but the tab button (autocomplete) is your friend and makes it quite simple.

Glad to be of help!
[Android Software Development] xike:
Huge thanks to you! Works now!
[Android Software Development] Killberty:
Password for kali seems to be "kalilinux" ...

Some guy told me on another thread, and i think i wanna share :P
[Android Software Development] xfim:
Any way to install some opengl drivers for PowerVr sgx gpu? Because rendering is very slow..?
[Android Software Development] Killberty:
Kalilinux does now work but when i connect i get a grey screen
[Android Software Development] xda23:
What version,setup would you recommend running on tmobiles note 3. Thanks
[Android Software Development] jobangill99:
What is the best resolution setting for xperia z1 so I can get full screen on landscape???
[Android Software Development] mascondante:
selinux

I know there is an issue with KitKat and selinux needs to be set passive. I've done that on my Nexus 10 and it worked but when I ran apt-get upgrade I get a wall of errors and then I can't get into my apps anymore. Screenshot attached.
[Android Software Development] tumich91:
It's possible to run on Nexus 5 or Lg G2? Browser support lasted adobe flash player? It's possible to instal apps from Windows like Heroes 3 game?
[Android Software Development] xike:
Doubt you can make any game work on that. Just highly unlikelly, give it a try though.
[Android Software Development] xda23:
What version of Ubuntu would you recommend using on tmobiles note 3. Thanks In advance!!!
[Android Software Development] tumich91:
it's possible to run ubuntu native on nexus 5 or lg g2?
[Android Software Development] rap0307:
can anyone provide a link for a backtrack 5 image that work with linux installer there is no more download link within the app for now

already tried a few bt5 images but cant make it work

device gtp3110 slimkat

edit: got the image to boot but only grey screen on vnc set to 24 bit
[Android Software Development] robherc:
NOTE: This is actually supposed to be the development thread for the LinuxOnAndroid project. The [Q&A] LinuxOnAndroid thread is for asking questions, and getting help, related to using LinuxOnAndroid, and/or the Complete Linux Installer app.

Thanks;

robherc
[Android Software Development] robherc:
If you want to help with alpha testing a new script I'm working on, then you can follow the instructions in this method to copy the filetree from your .img file to a partition on your SD Card, then boot it using this script. Once you download the masterbootscript.sh file to your device, you'll need to chmod it to 0755 permissions, then simply call the script from a terminal application, it will prompt you for all the information it needs while it loads your linux partition.

WARNINGS:

*Currently, the script ONLY supports ext4 formatted partitions, if you want to use a partition with a different filesystem format, then you'll need to change the -t flag in the script from "-t ext4" to "-t ____" with whatever filesystem you're trying to mount in the blank (for some reason, "-t auto" isn't working for partitions)

*This script is in ALPHA maturity phase; while it has been found to be stable and usable on all tested devices so far, it is NOT tested on many devices, requires you to have a good knowledge of the partition structure of your SD Card (or USB drive) you'll be booting from, and doesn't yet have any features for parsing command-line arguments, or saving settings. So....if you're ok with having to answer a few questions each boot, know which partition number you want to boot, and want to try something new and a bit experimental, enjoy! :)
[Android Software Development] wrsg:
The Ubuntu ARMhf 14.04 image has been out for a few weeks now. I'm wondering if I should just set it up to run with CLI as it doesn't seem like that much work. Is it just a case of extracting it into an empty image file?
[Android Software Development] robherc:
I'm currently working on doing that with openSuSE 13.1 (my own personal favorite flavor of linux...this year at least). Once you've extracted everything into the empty image file, you'll need to install a vnc server package for that distro, then write your own init.sh script to set up your user/pass, ssh server, and vnc server on startup.

While the installing of the packages can be pretty straight-forward, and done either natively on your android device, or using a cross-compiler/emulator on a pc, the init.sh scripting requires a bit of know-how for rewriting scripts, and a MUCH bigger "bit" of patience.

Luckily for you, however, there are already working ubuntu 13.10 init.sh scripts for you to start out from; so you'll likely have a much easier time of it than I on that piece ;)
[Android Software Development] MgudFrn:
I installed ubuntu small image. It does not contain many user application. How can I install any apps that i want?
[Android Software Development] robherc:
Please ask non development-related questions in the [Q&A] Linux On Android thread.
[Android Software Development] wrsg:
I want to run a GUI-less setup to use as a mini-testing web server anyway so I doubt I will even bother installing a vnc server or ssh server but wouldn't it be a simple sudo apt-get install 'vnc/sshserverpackagename' anyway? I'm also looking into Arch as that is a very interesting distro these days.
[Android Software Development] robherc:
Yes and no. I'm not sure openSUSE has apt-get, but more importantly, that requires getting the chroot environment working first....thus the need to re-engineer an init.sh script for it...once I get back on-task with putting together my openSuSE image & get the init written, I don't expect the vnc server to be a huge issue.
[Android Software Development] GamerOnOne:
I would say Ubuntu 12.04 would be the most stable.

13.xx seems to break after apt-get update.

Plus I noticed with 13.04 that apps are impossible to install, even as simple as Firefox.

12.04: http://sourceforge.net/projects/linuxonandroid/files/Ubuntu/12.04/full/ubuntu-12.04.LARGE.ext4.v4.zip/download

I've been working off that version for my copy of black Ubuntu, which I should be releasing soon.
[Android Software Development] devwithzachary:
Of late our lead developer has been very busy with other projects including the very exciting new tablet Vixtel Unity

while this is great it has left LoA at a standstill for the past few months, during this time many community members have taken it on themselves to answer users questions and even work on their own fixes to bugs within the project. This is great but they have been left high and dry due to a lack of communication channels back to the main project.

Because of this we have decided its time to reform the project, moving far more than ever to git repositories allowing push requests for bug fixes. Over the next few weeks there will be alot of reforms to the projects structure and the result will be a cleaner and easier to use system.

With theses changes however come great new opportunity to join the project and help support and push it forward, of cause we will always welcome support from the community but we are now also looking for more people to officially join the team and help in a range of ways.

If you are interested in joining the team please fill out the form found HERE

The rules we are looking to fill are:

App Developer - You will help develop and update the Complete Linux Installer, will require java skills and be happy working with eclipse and git.

Linux Developer - You will help develop and maintain the supported Linux distributions as well as work on the bootscripts used by the app. Knowledge of Bash and C/C++ will be very useful as well as git

Support Assistant - We are regularly asked for support by users and really need more experienced community members to help with this, you will help within the forums as well as on IRC and via email (using our email help system). Good knowledge of LoA is useful but you do not need any programming skills

Designer - As the project has grown so has its need for good designs, from the website, to app UI to banners and adverts you will help shame a unified and recognizable LoA theme. Knowledge of design programs useful (Photoshop/GIMP etc.)

Web developer - We are also looking for web developers to join the team and help with the running of the website and other web based systems.

Applications will be open for up to a week or once we have suitable candidates for all the positions.
[Android Software Development] mscion:
Hi. I finally made the transition to Kitkat and have been trying to get LOA to work. Getting close. Currently I'm using a Tmobile Galaxy Note 3, deodexed rooted rom, and kernal that has SElinux Status permissive. I'm trying to get my Fedora image to work which was fine when I was on Jelly Bean. So far I can get to the terminal and commands seem to run fine. Just having trouble getting VNC to work. Again this was fine when on JB. Here is a screen shot showing the error when I boot up. Any ideas of what to try? Thanks!
[Android Software Development] robherc:
Well, I'd have to say my first "knee-jerk" reaction to those errors would be that you are using an .img that you used before switching 'droid versions, resulting in the dbus permissions not getting properly reconfigured.

Assuming that to be the case, under linux, use the following command to delete the "DONOTDELETE.txt" placeholder file that is keeping init.sh from correctly performing its "initial setup" work:

rm /root/DONOTDELETE.txt

Fully exiting, then restarting LoA after this should likely repair the issue by setting up the appropriate dbus & other user/group permissions in your new android version. :victory:

-----------------------EDIT-----------------------​

FYI: This discussion would probably be better in the [Q&A] LinuxOnAndriod Project thread
[Android Software Development] mscion:
Thanks for the rapid reply! Sorry about posting here. I actually forgot where I was and had thought I was in Q&A! Once this post is up I'll copy it and post it in Q&A. Anyways, The version I had tried to run was fedora 19 with Mate desktop (Mate is nice) . I tried what you suggested and it didn't work although I now have a more secure password! Anyways, I tried another image I had on my external sdcard ubuntu 13.10 with LXDE and it worked fine. That will do for now but if you have any other suggestions let me know. Thanks again!
[Android Software Development] Hariiii:
Not working

after pressing launch button the terminal pops up n statnds at root@hammerhead..nothing happens after that....i hav evn tried selinux mode app to change setting to permissive,still didnt work

I am trying to boot archlinux large .img file,phone model --> nexus 5