yashsingh1/xdaforums huggingface dataset:
[Android Software Development] shadyr25:
Thank you so much for clearing that up. Looking forward to this :D
[Android Software Development] devwithzachary:
more than welcome tis one of my many jobs to help :) :P
[Android Software Development] strollaco:
Is this SO usable?
[Android Software Development] devwithzachary:
define usable?

It runs well and command line is very fast, GUI is slower but depends on your device greatly some devices GUI is almost lag free while others seem much much slower, but when people try running it on devices with less than 1GHz processor and less than 512MB ram it can get almost unusable
[Android Software Development] devwithzachary:
Signature Banner

Hey guys, while taking a short braking from revision (my exams start tomorrow :( ) I have come up with a new banner for users of the project if you so wish to show your support by having the project in your signature.

If you would like to add this to your signature

You can simple add this code:

[URL="http://xdaforums.com/showthread.php?t=1585009"][IMG]http://zpwebsitefiles.com/images/loauser.png[/IMG][/URL]
[Android Software Development] wmadan:
The large Ubuntu image has LibreOffice and it works well. Replace Unity with XFCE and it will be great!
[Android Software Development] D_one:
I asked earlier and did not get a response...

I am running noattach rom on ATRIX. It was working before on cm7 but now I can chroot fine but vnc just gives greyed out screen and x cursor.

Any ideas? I've re-downloaded and re-installed already.
[Android Software Development] DarkhShadow:
It just doesn't seem to work on some roms for some reason

Sent from my ice cream powered Nexus S
[Android Software Development] devwithzachary:
Alot of roms on the atrix do not work its safe to say cm7 is one of the few that does work for that device
[Android Software Development] mscion:
Hi. Still have problems with debian using Note with ICS. When I boot up I get the following errors:

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

And:

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

After that I can still get a debian desktop with vnc but it is generally unresponsive...

EDIT: Also want to mention that the Ubuntu 12.04 v2 Full works and I also tried a micro bluetooth keyboard and was able to enter text using open office writer. This is nice as it avoids both the vnc box for entering text and the virtual keyboard which takes up a large fraction of space on the screen. Will next try backtrack

EDIT 2:A few more observations: I'm quite impressed with the Ubuntu 12.04 v2 full. I'm not that familiar with unity so it takes a little getting used to. The response is pretty good. LibreOffice writer generally starts up in less than 15 seconds which is very reasonable. I was able to download some applications like a calculator and wxmaxima. I made a 3D plot using wxmaxima and I was able to rotate 3D plot by pressing on screen and moving finger without lifting. Kind of like holding right click and moving mouse using pc.

Sometimes system error message pops up on screen but when I close that pop up I can still proceed.
[Android Software Development] justenk:
Iconia Tab A500 - Android 4.0.4 - BusyBox 1.20.0-Stericson

Script v7:

1|app_34@android:/sdcard/ubuntu # sh ubuntu.sh

Checking loop device... MISSING

Creating loop device... OK

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

Error: Unable to mount the loop device!

1|app_34@android:/sdcard/ubuntu #

---

app_34@android:/ $ su

app_34@android:/ # cd sdcard

app_34@android:/sdcard # cd ubuntu

app_34@android:/sdcard/ubuntu # sh ubuntu.sh

Checking loop device... FOUND

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

Error: Unable to mount the loop device!

1|app_34@android:/sdcard/ubuntu #
[Android Software Development] mscion:
I sometimes get same errors on Galaxy Note. I wonder if it is related to memory issues. See how much memory is free when you start up ubuntu. Also, try restarting device. That usually works for me.
[Android Software Development] justenk:
Thanks, but i got the same result. Free ram is about 300-400mb.

Also, tried to install another busybox version, re-install rom, wipe everything, another script version.
[Android Software Development] neilrenaud:
So I've installed the small 12.04 image on my Transformer Prime - primarily to get Eclipse working - which it does.

However the keyboard mapping of the dock over VNC seems a bit flakey at times. Tried a few different VNC apps and getting the arrow keys working seems to be a pain. Also it doesn't seem to send the Ctrl key - at the very least Ctrl + C doesn't copy. Anyone know what I could look at to fix this? Also I don't think the right mouse button works (does the Prime even have a right mouse button - it feels like it does)

Or anyone recommend a VNC viewer that works really well? The one the app recommends works a bit but not great in Eclipse...
[Android Software Development] RubenRybnik:
Ha, Eclipse on Prime over VNC. How's the performance, I've wanted to set that up, but haven't really had the absolute need as Vim has just been good enough for what I do for Java on the Prime. I'm really waiting for the native Ubuntu release, or a better dual boot solution than what's out there.

My Dream setup, would be normal ICS running internally and Ubuntu on a high class'd SD Card from the keyboard Dock. On boot being able to choose much like Grub, and everything for Ubuntu is kept solely on the SD card, minus the boot manager, which would work even without the keyboard docked.

Ok, a but off topic I know, and I know there is another project working on this. But just had to get that out there.
[Android Software Development] barryflanagan:
Hi

I have a Prime as well.

I find Jump Desktop works very well, and I have tried them all. Well worth the money. All keys work as well as right click (just click the right side of the track pad) although I tend to use a BT mouse which works perfectly, including the scroll wheel.

So how does Eclipse run? I find it so slow even on a fast PC that I avoided putting it on the Prime!

---------- Post added at 02:18 PM ---------- Previous post was at 02:08 PM ----------

To be honest, I am kind of getting used to the LoA setup. Jump Desktop works so well that I really am not that aware of the VNC lens that I am peering through. Being able to switch back and forth between Android and Linux is great.

I changed my setup so that the chroot is all set up on boot through a script in init.d but without starting VNC, and my Terminal is set to automatically chroot whenever I open a term window. It is very close to the best of both worlds.

I hope that when there is a dual boot option that I can still use chroot within Android when I am there, but also have the choice to boot Linux natively. I cannot see any reason why this would not be possible.

All in all, the Prime is turning into my perfect little portable geekdom :)
[Android Software Development] mrWax:
Performance juice-squeezer

Hi! just that i had idea to make

* bootable-sd or Android variant that would kill all non-linux functionality processes. and run only linux i.e. Performance juice-squeezer :)

* is it possible to connect through "USB OTG host" devices into the linux?

see ya
[Android Software Development] s0ldier94:
Hi,

I kindly know if this can work on Novo7Basic with MIPS architeture .. (with Magic Code..)...
[Android Software Development] DarkhShadow:
That would have to be done for EVERY type of android device there is, its not just generic

If I'm right in saying what Zack is doing is one of the best ways(aside from ubuntu for android)

I'm pretty sure you can, you may need to mount it though

Sent from my ice cream powered Nexus S
[Android Software Development] devwithzachary:
Indeed, its possible but would have to be done for each device, a few devices are lucky to have this kind of thing but I can not signal handedly maintain something like that
[Android Software Development] mrWax:
Boot linux for android on PC

is theoretically possible:

*use advanced usb devices like soundcards, ethernet, gps, gsm in linux on andraoid?

*to be able to boot the linux i use on the android on the comp - i.e. to boot PC from sdcard - the same image i use on android - when is mobile device connected to PC via usb. i.e. can be the sdcard PC-bootable at the same time?

?

thx
[Android Software Development] DarkhShadow:
Unless those devices can be used on your phone/android then no

Unless your PC is a ARM then I don't think so

Sent from my ice cream powered Nexus S
[Android Software Development] devwithzachary:
*the linux uses the android kernel so the device has to work under android to work in ubuntu.

*you would need a arm computer or ubuntu with quem which is a arm emulator for chroot on ubuntu
[Android Software Development] Lesicnik1:
How do I remove the default resolution that I set?

I set it a bit too big :(

EDIT: Found it under bootdefault.txt
[Android Software Development] devwithzachary:
in ubuntu go to /root there is a text file called defualtsettings or something cant remember what i called it. either way should only be the one .txt file just delete rthis then restart ubuntu
[Android Software Development] devwithzachary:
I have added videos to the third post along with the screen shoots, can't seem to embed the videos mind you, any ideas?
[Android Software Development] LunaticSerenade:
So, the terminal aspect of this runs fine:

Here is how I'm setting up VNC (I'm a complete VNC noob though):

And here is the result:

Any thoughts?
[Android Software Development] mrWax:
so...

* ok, thx

* so if i had some very small bootable linux on sdcard that would have this ARM emulator set to run the file used by android just after boot then it would work?
[Android Software Development] devwithzachary:
Yup you need to set the IP address as localhost
[Android Software Development] LunaticSerenade:
So, tried that:

And got the same error. :/

[edit] Tried to VNC in from my PC, it said connection timed out.

[edit again] so, I watched the video, saw there was a password, typed in ubuntu, and it worked.

...I feel dumb. But! Works great on the Rezound.
[Android Software Development] zapalka121:
Hi, i've got problem with installation ubuntu.

Phone: ZTE Blade

ROM: KCN5

Android: 2.3.7

Kernel: 2.6.35.7-perf+ burger@computer049 #19

Ubuntu image version: v5

Ubuntu boot script version: v6-1

Ubuntu Installer version: Free 2.2

Screenshots are in attachments.
[Android Software Development] DarkhShadow:
You need a ARMv7 device, zte blade is a ARMv6

Sent from my ice cream powered Nexus S
[Android Software Development] devwithzachary:
Sorry my fault for not seeing it either
[Android Software Development] Lesicnik1:
Working like a charm now :)

Installed LXDE in place of Xfce, since I'm a bit more familiar with it.

Just one question.

What are some useful programs for this?
[Android Software Development] mrWax:
1 - i suggest you to migrate to Ratpoison desktop since it eases the processor and maintains all windows full screen in default. it however requiere some learing of key shortcuts.

2 - there maybe also a way to set up additional linux on your card that could, when sticked to PC, boot up, mount your Linux for android image a run it as in your phone.
[Android Software Development] DarkhShadow:
Why would he make the images work on PC? (Which would have to be ARM anyway) These are to run on a phone

Sent from my ice cream powered Nexus S
[Android Software Development] mscion:
Currently what I find is that the most robust img file is the earlier ubuntu10 version using LXDE. (You will have the option of choosing LXDE or gnome when you start up. The gnome version is buggy for me so I'm sticking with the LXDE version for now). Anyways, it always starts up very clean. No errors. It's been very stable. I've downloaded some sizable programs with no problem. So, so far so good.

BTW, the later 12.04 unity version has potential but I get these program or system errors that I don't quite understand yet.
[Android Software Development] neilrenaud:
To be honest I've only given it 30 mins over lunch and most of that was hunting around VNC viewers to find one that allowed me to Ctrl click, right click and use the arrows but it didn't seem too bad. It obviously isn't a full time option but good for the portability. I'll feed back how it works as I've got a fortnight away soon where I will be using it.

Thanks - I'll take a look.
[Android Software Development] duchski:
That's exactly what I am getting on CM9..

I found a thread on XDA that compares ROMs as far as their ability to run Linux-On-Android

and apparently neither CM7 not CM9 is good.... Strange

I do have an ATRIX with webtop which I deleted after getting off OEM ROM. I'll try to add it back on to see if it reinstalls some missing components...
[Android Software Development] tuxling:
Try entering

sh ubuntu.sh ./ubuntu.img

If your image is called anything else change ubuntu.img to the name you your image.
[Android Software Development] neilrenaud:
Jump Desktop VNC client is awesome. Definitly the best I've found to work with the prime! Thanks!
[Android Software Development] tuxling:
Good news about this, in the next update sshd will no longer be started by default.

A config editor will be added to the app that let you turn on/off ssh as well as set resolution. :)
[Android Software Development] devwithzachary:
Guys give this man some thanks with out him the whole project would have pretty much stopped fot a month during my exams lol
[Android Software Development] TanKCR:
Hey all, just wanted to let you know that I have been working with Zac for a little over a week now on porting his build specifically to Tegra3 devices. While they appear to be mostly functional already, such as the Tranformer Prime TF201, I am working to integrate the NVidia specific code, drivers, and Kernel to get it really running! Once I am complete the build should technically be capable of running native, but I am not really sure how to set up the dual boot, so for now I am staying away from that. I will update as I get closer to a stable build.
[Android Software Development] barryflanagan:
Would love to help you test that for the TF201
[Android Software Development] nscxp2005:
Once this build is complete, would it be able to be run on a tegra 2 chipset as well?
[Android Software Development] TanKCR:
That would be perfect as I think it runs different on different android kernels. Right now I am having a graphics problem with it, but the desktop does run, its just all kludgy, lol.

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

I think so, the development package is fairly similar for the two procs. It depends on whether or not NVidia built it to detect. I do know that the insert commands for the Kernel itself are specific to Cardhu, which is the Tegra3. So it may run, but not sure if you would gain any benefits from it.
[Android Software Development] TanKCR:
looks like I am going to have to bake the kernel to really get the tegra support, I will try adding tegra2 and 3 if I can.
[Android Software Development] barryflanagan:
Just let me know where to get the image.
[Android Software Development] mscion:
Thank you for addressing this!

Soon after starting up ubuntu12.04 I get an error message on desktop that says

"System program problem detected...."

Is this related to the sshd issue.

One other question. What is the root password? When I am prompted for password it does not accept the one I initially assigned (maybe that one is not for root?)

Thanks again!

EDIT: When I shutdown ubuntu 12.04 I got the following:

Couldn't read /proc/11893/cmdline

Couldn't read /proc/11905/cmdline

and so forth

Anybody understand what is is about and how to fix.
[Android Software Development] barryflanagan:
Ubuntu sensibly does not set a root password, and root is not able to log in directly. You can get a root shell by typing "sudo -i" and then entering your own password when prompted.

Hope this helps.
[Android Software Development] TanKCR:
Well I had hoped to make some progress on this tonight, but the source files that Nvidia provides are throwing errors when I try to cross compile. I will hit it again first thing in the AM.
[Android Software Development] TanKCR:
So I made some progress today, and it looks like the kernel will definitely have support for the Tegra2. I will keep you guys updated.
[Android Software Development] nscxp2005:
Excellent! Thanks TanKCR
[Android Software Development] TanKCR:
have you guys attempted to run your tegra devices with the Linux-on-Android builds? If so please let me know what kind of problems you have been having so I can get a better scope on it. On my TF201 I specifically have graphic problems, but I think I know what is causing that.
[Android Software Development] mscion:
Despite some known issues with Ubunutu 12, both versions 10 and 12 are working pretty well. Playing with the Ubuntu version 10 I was able to compile and run c and fortran programs, process a latex file with texlive publisher loaded (utilizes formats of journals like physical review), used evince to look at pdf file and ran wxmaxima to render 3D graphs. Ubuntu version 10 has open office which is not quite up to par with Libreoffice, which is on Ubuntu 12 version. For example If I open a word document containing some equations, open office does a poor job of rendering them but Libreoffice handled them well. Is liberoffce available for Ubuntu 10? I like both the gnome and LXDE on ubuntu 10 but for some reason synaptic package manager crashes when on gnome. Thankfully it works fine on LXDE. Anyone else with similar experience?

Still have problems with firing up Debian. It still will not allow mounting of /sdcard and /sdcard/external_sd. I eventually am put in localhost:/# after bootup. This seems strange because I am able to mount these files using the ubuntu boot up. In this case I end up at root@localhost at boot up. Any insights or suggestions for fix.

Thanks

EDIT: I just looked at the Debian Installer video (link in third post) and I see the same mounting errors so I am not alone! Why does Debian have this error and Ubuntu does not? Also same thing in video about localhost (Debian) vs root@localhost (Ubuntu).
[Android Software Development] wmadan:
I ran into graphic problems on my TF201 with Unity not displaying the icons in the dock with 12-04. But I installed XFCE and removed Unity and all is good now.
[Android Software Development] lukelee83:
How long does it usually take to validate image checksum in general? I am trying to run the full version Ubuntu on my Epic 4g Touch (Sprint Galaxy s2), and it has been stuck there for 7 or 8 min.

Thanks

Edit: Gave up after an hour and 30 min. Let me know if I should have waited more...
[Android Software Development] barryflanagan:
Same here. The only issues I have found is the graphics in unity, and the fact that Firefox crashes.
[Android Software Development] mscion:
Hi. I'm using Galaxy Note. I didn't time it but I think it took less than 30 minutes. Maybe around 15-20 minites. I would think Galaxy s2 should be comparable so 1hr 30min seems too long. Depending on usage it might have hung. I would clear ram using task manager and try again or even restart and try it again.

Also, I just bought Ram Manager and unbuntu (both 10 and 12) seem more responsive. Don't think it is a placebo effect. It has different performance optimization settings so I don't know which is best yet. I'd be interested in knowing any other application that improve performance. So please chime in!

General question about unity: Still learning about it. I like some of its design. I think having the left side launcher for commonly used application is ok. And with Dash you can find most recently used applications, which can be convenient. In Dash you can also start up other applications by typing in name. But I miss having an application launcher in a panel that one can, using mouse, find any application and launch. Is there a way to set this up in Unity?

Thanks.
[Android Software Development] devwithzachary:
Something must be causing it to hang it should really not take any longer than 20 minutes for the large image and less for the small
[Android Software Development] lukelee83:
Thank you guys
[Android Software Development] tuxling:
I just timed my SGS2 and it took 3 min and 10 sec to validate the md5 sum of the full Ubuntu image.

So there's definitely something wrong if it's not finished after an hour!

It's probably caused by a busybox problem which is fixed in the upcoming update.

If you haven't already try deleting the ubuntu.img.md5 file, then the script won't validate the image.
[Android Software Development] mscion:
Hi. I just tried the same to get the exact time. My Galaxy Note took 4 minutes. Gee, your SGS2 is 25% faster than my Galaxy Note. Perhaps the busybox fix will also speed up performance of my Note!
[Android Software Development] firefreak664:
HELP all I get is an X

I'm using Atrix 4g cm9 rom i've used both 12.04 images and cannot get them to work go back to 10.10 all is fine. I think it might be in the script but i'm not that good at working my way thru it. Any help would be appreciated
[Android Software Development] bryandrummer:
im having permission problems with my images. On a fresh 12.04 image with nothing done to it, my internal sdcard is set to read only for user and my external is set to read only for root. I have tried many different ways to change the permissions of these folders and nothing seems to stick. when i try with root using the terminal everything goes ok as far as no errors but nothing changes. i open the file manager as root and try to change it, and everything works but when i look at the properties, nothing sticks. i wanted to use these images to edit office documents on my tab when android apps dont want to do what i need them to do but there is no point if i cant even save the work that i do to them. any ideas what i could to to fix this?
[Android Software Development] mscion:
I was able to edit and save changes in a word document that was in sdcard/downloads using libreoffice in 12.04. If you can't do that you might consider just emailing the document to yourself until things are fixed...
[Android Software Development] barryflanagan:
Hi

for the /external-sd I was able to do this:

sudo chown ubuntu /external-sd/

This did not work with the /sdcard but there is another method.

If you do an "ls -ld /sdcard" from within the Linux shell, and have a look at the Group ownership, you can then create a new group add your user to that group and the card will be writeable.

For example:

$ ls -ld /sdcard

drwxrwxr-x 56 root 1015 4096 May 24 09:29 /sdcard

..you can see that this is group 1015 and that group has write permissions.

Now you want to create a new group

$ sudo groupadd -g 1015 sdcard-rw

....we have now added the group named sdcard-rw with a GID of 1015.

Now we need to add your ubuntu user to this group

$ sudo usermod -a -G sdcard-rw ubuntu

...the above command adds the user ubuntu to an additional group, sdcard-rw

Now all you need to do is log out of Linux and then back in again and you should have write access.

Hope this helps.

@zacthespack this should probably be added to the raw image along with the rest of the non-root user changes.
[Android Software Development] [zozi]:
After instal this and make work good its possible i can acess over my laptop to system instaled? may be a vlc on laptop??
[Android Software Development] bryandrummer:
thank you very much for the help but im still very new to linux so i have a question or 2. when you says to do something from the linux shell, are you meaning entering commands from terminal image, or are these commands to be added to the int.sh or the boot script for the image, or something completely different. im familiar with some of the processes and commands but still learning the terminology, sorry.
[Android Software Development] barryflanagan:
Yes, from the terminal that results from running "sh ubuntu.sh" or using the widget.