yashsingh1/xdaforums huggingface dataset:
[Android Software Development] byte_rider:
I copied the information from the top of the thread into a new wiki page:

http://xdaforums.com/wiki/Linux-on-Android_project_(incorporating_Ubuntu_installer)

Maybe you would like to improve it in any way.

Thx for the work done in this project.
[Android Software Development] devwithzachary:
You will need to get your wifi chip into monitor mode to use such tools, something that requires special drivers which are not available for most chips

Anything that leaves plenty of free RAM so something light like CM, also a kernel with overclocking is always good to squeeze a little more power out

Thank you very much, I am currently to busy to take care of this but if someone wants to format this for us that would be great!
[Android Software Development] chunnell:
I have tried the medium sized distro on a Razr Maxx with a rooted stock ROM. It displays perfectly but absolutely nothing works. I can do no more than look at it.

I have tried the large distro of ubuntu 12.04 and that also boots up and locks up and eventually tells me "System Program Problem Detected" and stays locked up.

The display is extremely slow to render, but I do see the complete Unity Desktop in full color.
[Android Software Development] KBJ911:
any coming updates?????
[Android Software Development] devwithzachary:
This month has been a very busy one for me I am in my second year at university and basically has a assignment every week.

But it is now slowing down so I shpuld be able to get some dev time in this week
[Android Software Development] KBJ911:
thank u so much boss....

waiting for u magical touches
[Android Software Development] dav5id:
ubuntu on nexus 7 android 4.2 m-kernel

Have trying to start Ubuntu on my nexus 7 I have root and as running m-kernel

But I keep running in to the same problem

u0_a156@android:/ $

u0_a156@android:/ $ cd /sdcard/ubuntu

u0_a156@android:/sdcard/ubuntu $ su

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

Checking loop device... MISSING

Creating loop device... /data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh[120]: /data/data/com.zpwebsites.linuxonandroid/files/busybox: can't execute: Permission denied

FAILED

Error: Unable to create loop device!

1|u0_a156@android:/storage/emulated/legacy/ubuntu #

Any ideas ?

/David Engström
[Android Software Development] thunder8yte:
Should we be able to install any ARM distro with this app or only the custom ones you made ?

I'd like to test several other distro's which already have ARM versions available for download.
[Android Software Development] devwithzachary:
If you go into the launcher and press menu you should see 'reinstall busybox' press this, it will ask for root so it can set busybox to executable.

Yes and no, you will need to install our boot scripts etc, I am in the process of writing up guides for this on our wiki :)
[Android Software Development] thunder8yte:
That's nice, i really like Arch Linux
[Android Software Development] devwithzachary:
yeah our own image of arch linux is ib beta at the moment :)
[Android Software Development] ITesAndroid:
Hi guys!

First of all, thanks so much for the awesome work that you're doing!

It's been a while since I last tried Linux on my htc desire and it was great,

now I installed Debian on my samsung GT-P1000... it works well, but I cannot solve the password issue! :(

It doesn't accept any pass and won't allow me to change the pass, so I cannot install/update anything...

I've tried this: http://linuxonandroid.org/sudoroot-issues-how-to-fix/ but it didn't work for me. After I typed "apt-get install sudo" it said

"E: Could not open the file /var/lib/dpkg/lock - open (13 Permission denied)

E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?"

What am I doing wrong? Is there any solution to it??

Also, I'm not able to serf the internet for some reason...

Btw, it's the large Debian img, and my tablet goes with android 2.3.6 (rooted)

Thanks in advance! I'm sorry if such question was already asked, but the only info I found here didn't work for me, maye it's because of my poor English...

~best wishes from Ukraine :)

---------- Post added at 09:47 PM ---------- Previous post was at 09:36 PM ----------

Oh, and one more question! Is it somehow possible to try to use TeamViewer instead of VNC? I don't know much about that... but seems to be an interesting programm, since the 8th version seems to have the "Remote sound and video" feature...
[Android Software Development] devwithzachary:
Are you able to use other command line tool that require the internet for example wget?
[Android Software Development] Mangala_Dharma:
Hello, I am currently playing with Linux Mint 14, Cinnamon 1.6 on some computer, I wonder if it is easy to make my own image of it to install on my Prime, is there some guide on your wiki ? Maybe Cinnamon will work better than Unity on the Tegra 3 .. ô_O

Sent from my Transformer Prime using my dog

- Edit - Neve mind, there is no Linux Mint ARM edition.. maybe I'll re-istall ubuntu then ty for the Cinnamon desktop, maybe it'd work then
[Android Software Development] nashant:
sudo: must be setuid root after increasing disk size

The title says it all really, tried using the guide on the sourceforge page, and after that I'm getting 'sudo: must be setuid root' when trying to sudo. Can anyone help??
[Android Software Development] jdogrambo:
help me please i cant get to boot
[Android Software Development] jdogrambo:
been at this for like 3 minutes
[Android Software Development] jdogrambo:
got debian workin now gunna in stall ubuntu
[Android Software Development] nashant:
I've given up with Ubuntu, just can't get mysql server to run. Am now trying Debian, but there's no sudo and haven't been able to find the su password. Anyone got any hints?

Edit: Right, got sudo working, but now every time I try and apt-get or aptitude it hangs. Anyone got a solution? Running on Galaxy Note
[Android Software Development] Defozo:
u0_a229@android:/ $
u0_a229@android:/ $ cd /sdcard/ubuntu
u0_a229@android:/sdcard/ubuntu $ su
ndroid/files/bootscript.sh /sdcard/ubuntu/ubuntu.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.img.config
Config file loaded

New 'X' desktop is localhost:0

Starting applications specified in /home/ubuntu/.vnc/xstartup
Log file is /home/ubuntu/.vnc/localhost:0.log

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:
eth0: 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)
* 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:/#

I can't connect to my ubuntu via vnc.

How to fix it?
[Android Software Development] interw:
Forgive me for this noob question, but how did you edit the boot script? I have ubuntu working very well on my SG-Note N700, all I need now is to mount the external sd card.

I am using the leaked rom from SG-Note N7100, and the external sd card is at /storage/extSdCard.
[Android Software Development] ITesAndroid:
Oh i guess I was working in the wrong terminal :D now I successfully installed sudo with android terminal and now it works inside linux, but I still cannot use Synaptic or anything that needs su permissions... neither can I serf the internet using iceweasel(

I've also tried to add the Wavelan to the panel, it showed the status "no carrier signal" and rebooted my tablet... I thought it might have been a coinsidence, so booted linux again, added the Wavelan to the panel - and it rebooted the tablet again...
[Android Software Development] devwithzachary:
All looks fine there what vnc settings are you using?

The bootscript is found at data/data/com.zpwebsites.linuxonandroid/files

Android still handles all network contectiong, any linux side stuff will not currently work we will need to write our own
[Android Software Development] ITesAndroid:
Hmm, I remember that on Ubuntu (which I tried on my HTC Desire almost a year ago) the web-browser worked well...
[Android Software Development] nashant:
Can anyone out there confirm they have Apache and MYSQL working fine on any distro?
[Android Software Development] jdogrambo:
i dont think so man
[Android Software Development] jdogrambo:
can get icons to show on ubuntu 12 so im gunna try ubuntu 10

---------- Post added at 01:28 AM ---------- Previous post was at 12:31 AM ----------

Hey can someone running debain tell me how to get or set admin password
[Android Software Development] jdogrambo:
debian looks like this is this normal
[Android Software Development] kainjinez:
I'm using Lu6200 and Ubuntu worked :)

My screen resolution is 1280x720 (HD 720p).

I configged it to 1280x720 but Ubuntu screen is fullscreen with small (very small) menu. I can't touch with my fighter.

Any sollution? What resolution value should be config?

Sorry for my bad english!
[Android Software Development] dav5id:
Thanks works fins now, keep upp the good work !!!!
[Android Software Development] Hazem62:
the same here

vnc settings :

nikename: blabla

password: blabla

adress: ip of my mobile on home network

port: 5900

username: someone

color format: 24-bit color

.
[Android Software Development] devwithzachary:
Yes you need to change your color settings in the vnc app to 24-bit

You could change the input mode to use the touch screen as a laptop track bad and control it that way (works much better on a small screen)

If your using Ubuntu you need these settings (which are mentioned in the app)

Password = ubuntu

address = localhost

port = 5900
[Android Software Development] Hazem62:
thanks

done .
[Android Software Development] Wesley_NL:
hey guys im new to tis, but i cant find the way howto connect androvnc to ubuntu 12 on my sgs3 , what do i do wrong ?
[Android Software Development] devwithzachary:
Can I see a screen shot of ubuntu booting to check vnc starts up, and what settings are you using in androvnc
[Android Software Development] Epilol:
hello guys I have a problem with debian

when I try the sudo command it says my account isn't in the sudoers file

if I try su I don't have the password

thanks
[Android Software Development] jdogrambo:
backtrack is missing md5 file is that why it wont boot
[Android Software Development] lucaoldb:
Please add my Arnova Archos 7c G2 to the list of working devices:)

I've just tried the debian v4 small image and, for some unknown reason, it works a lot beter than on my sony ericsson xperia x10i.

I just mean to point out that both devices are single core but:

SE x10i is armv7, while Arnova is armv6

SE Cpu run at 1 Ghz while Arnova at 800 Mhz

SE has 384 Mb ram while Arnova only 331...

Anyway, very good job!

Just one question, how can I get superuser while using xterm into the graphical environment? I mean, is there any preset password?
[Android Software Development] JPMoneyStock:
backtrack installer in complete linux app android is missing backtrack.img.md5 file

I had the other backtrack installer and then updated to complete Linux. is backtrack the same version? I downloaded the new one but the md5 file is missing. it says in the instructions that there are 2 files. the last one had a sh file. It won't work and I'm assuming its because the md5 file is missing. can you update app complete Linux and add a seperate button like the other one had for both files since I already downloaded blacktrack.img and only need blacktrack.img.md5 or is it m5d. thanks.
[Android Software Development] devwithzachary:
The backtrack is a updated versions, it dosnt include a md5 and is shouldnt need it to boot, its only there to test that you download the file alright, if your worried it might be damaged download via the torrent.
[Android Software Development] yUlekk:
Hi, I have probably uninstalled program in a wrong way, my friend told me that i needed to exit terminal or something and now i probably have 2GB memory taken. Is there an option to fix that?
[Android Software Development] karrb:
Has this been tested on the droid inc?
[Android Software Development] dodoik:
working smoth on my galaxy ace plus •°•♡ⓣⓗⓐⓝⓚⓢ♡ •°• mate....

I've try ubuntu 12 and backtrack

:D:D

btw how can i made it not as read only...can i mount my sdcard and install app from linux site?

Sent from my GT-S7500 using gaple rom
[Android Software Development] XenGi:
Debian wheezy armhf image

I'm woking on a Debian wheezy armhf image.

What steps do I need to do to make it work with your app?

I debootstraped the rootfs and created a 4 GB ext2 image file. That's the part that I'm familiar with. What are the exact steps to configure the Image so that it works like yours? The main parts I want to work are the VNC server and your boot scripts.
[Android Software Development] phillibl:
I tried an earlier build on the Dinc 2 and it worked, but was very laggy.

sent from vivow using XDAP
[Android Software Development] eddywebs:
Besides using Terminal app, Is it possible to SSH into the chroot debain/ubuntu shell remotely :confused:
[Android Software Development] androidman23:
Can you install different programs like open office etc?
[Android Software Development] devwithzachary:
Yes, the images all have SSH built into them which you can have start on the start up of the image to then connect to

Yes you can, it can be done via command line tools like apt-get etc
[Android Software Development] eddywebs:
Yeah however I also have SSH running for android so whenever I whenever SSH is done to the device it logs into default android shell rather than the chroot.

Any thoughts to curb that ? :(

Also df command in chroot "df: cannot read table of mounted file systems: No such file or directory", any idea on to mount sdcards which could return the disk free command.
[Android Software Development] iKosmos:
Linuxonandroid for Samsung Galaxy Player 4.2

Ok, I just got my first Android last month and wanted to try your program as I am also leaving XP for Linux this year. I downloaded the Debian image and have only one problem before I can try this out. The internal sdcard does not have enough room... But the GP4.2 does have an external micro-sd card which I have 3.5GB free.

How can I get this to read my img file from

/mnt/sdcard/external_sd/debian

Thanks
[Android Software Development] Nanashi456:
At first thanks for the fast key :)

And second you can add in your List that Sony xperia s is working just fine with Ubuntu 12.04 and CM9 flashed Not just the Stock Kernel ;)

Added a Screenshot for The right Kernel build

And just thank you for such a great app :)
[Android Software Development] kevinsbk:
Hey, Can i make a image for the emulator of Wifiway is based on linux ? Thanks
[Android Software Development] devwithzachary:
If you go into the launcher and press menu you can then select edit and change the path to your img file

If there is an ARM version of wifiway then yes its possible.
[Android Software Development] devwithzachary:
Good evening/afternoon/morning to you all.

Today I bring to you the first BETA of the Complete Linux Installer v2.

This is only the first BETA and there will be bugs, and many things will change between now and the final V2 release.

I hope that many of you will download this new version and try it out and give feedback, this is your chance to help shape the final version!

If you would like to give feedback or if you find a bug that isnt on the below list please email support@linuxonandroid.org and in the subject include [FEEDBACK] or [BUG]

All the translations have had to be removed as we are rewriting the strings used and so with the second BETA we will release the file that will be translated.

NEW UI!

The biggest change in BETA 1 is visual, the UI has been completely rewritten to make moving around the app much faster with less wasted space. The app now features a ‘Splash’ screen that will move through all the first run set up (coping files etc etc) and stops the app freezing like it used to. The install guides now feature a tabbed UI that you can swipe through to move from step to step.

The biggest change of the UI is the removal of the ‘dashboard’ in favour of a side opening menu (much like the facebook app side menu), this allows you to move between say the install guide and launcher without going back to a menu.

Thats it for now but there will be plenty of extra features coming in over the BETAs (and of any good features suggested by users).

You can download the APK from HERE

V2 BETA 1 Changelog

Huge reworking of the app from the ground app:

Removed ‘dashboard’ UI in favour of a side opening menu to make switching between menu items much quicker

Tabs used in Install guides to make moving through the install process easier (you can also swipe from tab to tab)

New First ‘boot’ loading screen to give user information about what the app is doing on first boot, which stops freezing

New way of handling donation keys should stop the app from not seeing a key when its installed (keys DO NOT need updating)

Fixed ubuntu 10.10 linked to the wrong location

Moved News to AsyncTask to stop it freezing

KNOWN BUGS

Sidebar needs some real theming (still one ugly menu)

Theme needs to be fixed across android versions

Tablet layouts are not yet working

TO DO

Theme sidebar

Fix Theme

Fix Tablet layouts

Add filemanger

Across app cleanup
[Android Software Development] bigjl99:
Enabling write access for BackTrack GUI & JDK/IDE on ARM

I really appreciate all of the hard work by the devs on this!

The entire reason I am trying to run Linux on my TF201 is so that I can run a full IDE for Java development (my wife and I are both CS majors). I've been trying unsuccessfully to install NetBeans within BackTrack. When I try to download it from the marketplace the "install" button doesn't do anything. When I try to install it via the command line with "sudo apt-get install netbeans" I get errors for missing prerequisites related to the JDK. I did separately install the ARM version of the JDK using a hodgepodge of related postings I've found... though I don't know 100% that I've done it completely correct (though when I run "java -version" from the command-line it does show the correct info).

Here's where I found info on installing the JDK:

(Apparently it won't let me post links yet b/c I'm a XDA n00b - well, at posting anyways)

Any help with NetBeans/JDK would be greatly appreciated!
[Android Software Development] iKosmos:
Ok.. Now I have tried the core and small images. Both fail to install claiming bad md5.

3 attempts from 2 diff servers. The zips were the same and extracted without error but install halts claiming corrupt file every time.

Help any ideas
[Android Software Development] KuliX:
Did you download the file with your phone or PC?

I had the same issues when downloading from phone. Downloads from PC working fine.

@zac

I'm currently testing v2 beta and will send you an email later...

Regards

KuliX

Gesendet von meinem GT-I9305 mit Tapatalk 2
[Android Software Development] iKosmos:
I used my pc all times. Tnx for replying. I reslly want to see this.
[Android Software Development] kevinsbk:
how can i make de .img of the .iso wifiway help me please i speak spanish
[Android Software Development] devwithzachary:
Its likely not extracting it correctly, are you doing this on a android device? I suggest trying via a computer, extracting the files then moving them to the android device

Thank you

You cant from the iso file, this is complete different, to build a .img file that will work on android you need the ARM rootfs for the Distro, its possible they have not made a ARM port in which case you simply cant use this distro, we are not emulating Linux distros we are using native ARM ports that can run with the android kernel
[Android Software Development] kevinsbk:
A lots of thans my friend
[Android Software Development] fvlserevere:
...

Well, perhaps a silly question...

I'm triying to port a hexxeh build of chrome os with your apk and I get this:

1|u0_a86@android:/sdcard/chrome # sh chrome.sh

Segmentation fault

mount: Invalid argument

mount: No such file or directory

mount: No such file or directory

mount: No such file or directory

mount: mounting /sdcard on /data/local/mnt/sdcard failed: No such file or directory

mount: mounting /sdcard/external_sd on /data/local/mnt/external_sd failed: No such file or directory

net.ipv4.ip_forward = 1

chrome.sh[31]: can't create /data/local/mnt/etc/resolv.conf: No such file or directory

chrome.sh[32]: can't create /data/local/mnt/etc/resolv.conf: No such file or directory

chrome.sh[33]: can't create /data/local/mnt/etc/hosts: No such file or directory

chrome is configured with SSH and VNC servers that can be accessed from the IP:

eth0: No such device

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

Shutting down chrome ARM

failed: No such file or directory

failed: No such file or directory

failed: No such file or directory

failed: No such file or directory

failed: No such file or directory

failed: Invalid argument

Segmentation fault

But... first of all, is it posible?
[Android Software Development] devwithzachary:
Ok the first issue is like the person above you, the version you are using has it been compiled for ARM?
[Android Software Development] fvlserevere:
...

Thank you for your reply. I don't think so, I guess it's generic, but I'm gonna check it out. Thanks again.
[Android Software Development] case-sensitive:
success on nexus 10

I was able to install the ubuntu small package on nexus 10. Here's my report, in case anyone cares: http://xdaforums.com/showthread.php?p=35124470#post35124470

Thanks for making available the L-o-A !
[Android Software Development] gengt:
Hi,

I have a Galaxy S3 and on Monday I tried to load the big version of ubuntu and everything worked properly, yesterday I upgraded from version 4.1.2 XXELK4 (siyah kernel 1.8) to version 4.1.2 XXELKC (siyah 1.8.3 kernel) and now ubuntu loads terribly slow and all the phone runs very slow too and I have to reboor the phone.

I've copied again the ubuntu img but the problem persist, anyone with this problem?

Thanks
[Android Software Development] vaunknown:
Lunch again Problem

hello

i used complete installer and finally did successful to run ubuntu 10.10 full on my android tablet ,but for exiting from ubuntu i typed exit command in terminal but nothing happened and i forced to turn off tablet and boot again BUT after boot tablet i can't able to run ubuntu again :confused:

I did try to lunch ubuntu from installer app but i did get this error :

----------------------

onandroid/files/bootscript.sh /sdcard/ubuntu/ubuntu.img

Cheking loop device... FOUND

mount: mounting /dev/block/loop255 on /data/local/mnt failed: invalid argument

Error : Unable to mount the loop device!

----------------------

in my ubuntu folder there is only ubuntu.img , but after this problem i added ubuntu.sh script in ubuntu folder but after lunch linux again error occured .

and when i tried to update script on complete installer app 2 , this application unfortunatly stoped working .

i tryed realy hard several days but :rolleyes:

can anybody help me ?

thanks
[Android Software Development] devwithzachary:
Sounds to make like soemthing was not unmounted when you restarted which damaged the image.

I would start complete fresh, uninstall the app and remove the image.

Redownload and reinstall app, then try running it again

Most likely changes in the kernel, what has changed between the two versions?
[Android Software Development] gengt:
This is the kernel changelog:

I'm going to update the kernel to v1.8.4 if this doesn't work, I'll get back to the v1.8. I'll let you know
[Android Software Development] devwithzachary:
Yeah looks to be alot of playing about with CPU and GPU settings, im sure something in there has messed it up