yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] ndd53:
that's strange. the script says the loop device exists, and then that there's no such device. if /data/local/mnt is really there, I'd try a different loopback device. the script that zeroktal came up with for the droid4 (which uses the external sdcard) uses loop254; that might be worth a try. perhaps another process is using 255.
[Android Apps and Games] devwithzachary:
indeed it is very possible something else is using this loop device, I intent to write a update that will simply use the next free loop device and not stick to one, but its working out how to do that first ;)
[Android Apps and Games] ToddeSwe:
Hi and thanks, can i just enter a new number like 254 instead of 255 in the script to test?
[Android Apps and Games] DarkhShadow:
I tried changing the device to 254, nada

Nothing should be using it as it didn't exist before :/

Sent from my ice cream powered Nexus S
[Android Apps and Games] rex126:
Changing default screen resolution

Sorry for the noob question, but i just recently got everything running well on my EEE transformer; except i originally typed in 800x600 on the resolution and typed "Y" to make it default. Now it runs well, but in a tiny box on the bottom. Is there a terminal command or somthing to change the default i entered earlier? Not sure if it matters but i am running this through the Paid Ubuntu Installer app. Thx for the help!
[Android Apps and Games] ToddeSwe:
Now what? :)

Hi!

Changed from the mobile downloaded version to a PC v5 and script 6.1 and now i get this:

ata/local/bin:$PATH <

app_141@android:/ $ su

app_141@android:/ # cd sdcard/ubuntu

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

Loop device exists

net.ipv4.ip_forward = 1

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

eth0: No such device

Now enter the screen size you want in pixels (e.g. 800x480), followed by [ENTER]:

800X480

Save this as default? (y/n)

N

vncserver: geometry 800X480 is invalid

* Starting OpenBSD Secure Shell server sshd [ OK ]

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

If VNC'ing from a different machine on the same network as the android device use the 1st address below:

inet addr:127.0.0.1 Mask:255.0.0.0

inet addr:192.168.0.6 Bcast:192.168.0.255 Mask:255.255.255.0

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)

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

root@localhost:/#

Please, i realy don't know what to do now :) i thought that the Android vnc should pop up and ask if i wanted t connect, it looked that way in the video :)

I tried to connect to 192.168.0.6 without ANY luck, then i tried 127.0.0.1 but that was very strange and i got a corrupted screen and stuff....

What screen size is best to choose? I used 800x480 ...
[Android Apps and Games] DarkhShadow:
you didn't read the guide in the app did you? I suggest you do

Sent from my ice cream powered Nexus S
[Android Apps and Games] ToddeSwe:
Yes several times still not able to understand it :( Sorry for not getting this!

I got it working though, used vnc on pc to connect and it's working. :)

Will read it once more and see if i have gotten any smarter :)

Must say, it's very slow, can't do anything, tried to load a homepage ... nope ... took to long...

I was very impressed when i saw the video from ubuntu but i think that's a nother thing realy ... it seemed very fast almost as a PC computer...

I realy don't know what i can use this for when it's that slow...

But it was very nice to get it running though!!!!

Thanks for your effort to trying to help me :)
[Android Apps and Games] devwithzachary:
in the /root folder there is a text file called bootdefualts.txt (or something along those lines)

simply delete this file and then reboot Ubuntu and it will ask for a new screen size

I suggest making sure no other apps are running and clearing as much ram as possible, Ubuntu needs every MB you have, the video was recorded on my HTC desire s which has ~700MB RAM and around 200MB was free for ubuntu
[Android Apps and Games] s14evil:
Is there away to get more space inside ubuntu...
[Android Apps and Games] devwithzachary:
Yes the are a few 'unsupported ways' (i.e if you do one of these and something brakes I can't promise to how much I can help)

A) Using a computer running Ubuntu you can make the image file itself larger, basically by creating a new image of the size you want and copying the content from the old image into this. However unless you format your sdcard to ext2/3/4 FAT32 only supports files up to 4GB in size so that is you limit.

B) It would be possible to create a partition on your sdcard, format this to ext2, place the content from the image file into this partition and then chroot into that partition.

Some would disrepute that this method is alot 'cleaner' than how my script works as there is no need to mount a image on a loop device etc, however the problem with this is creating the partition has to be done using something like gpart under linux. And of cause you will loss all the data on your sdcard etc etc etc.
[Android Apps and Games] s14evil:
Thanks ill give ubuntu another try on my dell streak 7.... I mean Honeycomb is ok and ICS is just not ready yet... I would like to see windows working on an android tablet.... I'm a bit of a Linux noob...
[Android Apps and Games] ToddeSwe:
Hmmm.... I don't think I had any apps running beside the usual background tasks. Life360, Battery Monitor, G-Alarm. Do you meen that I should shut everything down to get speed?
[Android Apps and Games] devwithzachary:
well check out how much free ram you have and then we can work out if that is it or not
[Android Apps and Games] ToddeSwe:
Hi!

Before i start ubuntu i have 247 and after i have 124 left on my device.

Screenres 1280x800

This happens when quitting in terminal ata/local/bin:$PATH <

app_141@android:/ $ su

app_141@android:/ # cd sdcard/ubuntu

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

Loop device exists

mount: mounting /dev/block/loop255 on /data/local/mnt failed: Device or resource busy

net.ipv4.ip_forward = 1

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

eth0: No such device

Now enter the screen size you want in pixels (e.g. 800x480), followed by [ENTER]:

1280x800

Save this as default? (y/n)

n

New 'X' desktop is localhost:0

Starting applications specified in /root/.vnc/xstartup

Log file is /root/.vnc/localhost:0.log

* Starting OpenBSD Secure Shell server sshd [ OK ]

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

If VNC'ing from a different machine on the same network as the android device use the 1st address below:

inet addr:127.0.0.1 Mask:255.0.0.0

inet addr:192.168.0.6 Bcast:192.168.0.255 Mask:255.255.255.0

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)

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

root@localhost:/# exit

exit

Killing Xtightvnc process ID 20164

* Stopping OpenBSD Secure Shell server sshd [ OK ]

Shutting down Ubuntu ARM

failed: Invalid argument

failed: Device or resource busy

losetup: /dev/block/loop255: Device or resource busy

1|app_141@android:/sdcard/ubuntu #
[Android Apps and Games] tiagoeq:
I think Linux Installer easier...
[Android Apps and Games] ToddeSwe:
Before we continue this, i want this running on my computer from my Android phone, is it the wrong way to go here, maybe its better to install ubuntu on my pc :) he he he
[Android Apps and Games] devwithzachary:
Well everything there looks ok and you should have enough ram, I wonder why its running slowly

Matter of opinion really, plus I am working on a wider range of distros, just only ubuntu and backtrack released as of yet.

Out of interest what do you find wrong with my app?

yes really If you want ubuntu on your computer you could just install it in virtual box (thats what I have) that way you dont have to dual boot, and it will be alot faster than on your phone. This is more if you want it running on your phone and dont have access to a desktop etc
[Android Apps and Games] ToddeSwe:
As i said before i was SO impressed with the video where you just pluged in the phone and then you had linux with you in a way.

Now i have dual boot and running Ubuntu :) Nice and fun to explore :) But WOW how hard it is just to install a flash player :)

It's like going back to the Amiga all over again... :)
[Android Apps and Games] LoyalCrystalean:
Does this work on Galaxy 5? PLEASE say it does! Linux is just the best.
[Android Apps and Games] devwithzachary:
Yeah the arm linux ports suck ass...but flash is a dieing beast anyway ;)

Have to try it and see really if you get bugs post and we can try and help
[Android Apps and Games] Azev:
Work on my tablet with crappy picture

Device: Toshiba Folio 100

Kernel: 2.6.39.4+

Android version: 4.0.3 CM9 Alpha 3

I will try this with CM7 and a stable kernel. Thank for your work.
[Android Apps and Games] GazaIan:
You meant theARM Linux ports of flash right? Or we're you talking about Linux itself? D:

Also... Does anyone know of any applications that can actually run in ARM Ubuntu? Everything fun is made for x86 and 64 bit processors :( or hell, even a compatibility layer, like WINE, but Linux on Linux would be cool. First thing I went for was the Google Music uploader and it didn't work on my Tab, I had totally forgotten about the architecture differences :(
[Android Apps and Games] Azev:
Work better with kernel 2.6.32.9. I can activate the 256 colors on VNC.

Device: toshiba Folio 100

Kernel: 2.6.32.9

Android version: 2.3.7 CM 7.2.

Not really smooth, but very useful post.
[Android Apps and Games] TheTwitchy:
Forgive me if I'm doing something wrong here.

I got 10.10 working on my galaxy S2, and when I used apt-get I kept getting 404 errors.

I then changed to 12.04 and am still getting 404 errors when using apt-get.

Apart from this issue. It runs really fast. I've been a long time reader of XDA, and this topic finally made me register.
[Android Apps and Games] eagleofdeath13:
Works well on Galaxy Note (N7000) with :

Rom : Romow v8 HD

Kernel : Franco Kernel v9

(same problem that TheTwitchy with 12.04, but seems that apt-get update fixed it)
[Android Apps and Games] sangemaru:
I've tried installing on ZTE V71A, with a loop enabled kernel made by joe.stone (he posted earlier in the thread confirming that it works on our devices).

However, even with his help and following instructions perfectly, on my device it just won't play ball.

Ideas?
[Android Apps and Games] devwithzachary:
arm Linux flash not arm Linux ;) I love arm Linux. But our right alot of programs will not work. I have been looking for documentation about what does work. When I find something will let you know.

Hmmm are you able to do anything else that requires the internet?

Looks like its busybox what version do you have installed and where is it installed
[Android Apps and Games] eagleofdeath13:
Had the same error, but apt-get update fixed it i think, other internet thing works.

I think that the problem is the sources.list or something like that (maybe some server that aren't at the right adress.
[Android Apps and Games] TheTwitchy:
I get the 404 errors on apt-get update. Would you be able to post your sources.list file??
[Android Apps and Games] eagleofdeath13:
Will do it in one hour (i'm at work now ^^)

PS : there's a problem with the boot widget, it calls ubuntu.sh, but the file is named ubuntuv6.sh

(And, can someone tell me how to pass the source.list to the phone? (with terminal if possible)

PS2 : maybe i had it with apt-get update, but after that, apt-get install worked ^^
[Android Apps and Games] TheTwitchy:
Will be asleep by then, but thanks, will test it out tomorrow then.

Edit: can you not access the phones sdcard through the shortcut on the Linux desktop??
[Android Apps and Games] eagleofdeath13:
Right now i'm doing an apt-get upgrade, no 404 atm :D
[Android Apps and Games] devwithzachary:
if you just rename it back to ubuntu.sh, this was my fault forgot to change its name before uploading, the next version will fix this
[Android Apps and Games] eagleofdeath13:
I call th sh by myself, it work ;)

(just to point the problem then you can see it :) )
[Android Apps and Games] sangemaru:
Thank you, it was installed to system/xbin instead of system/bin, it works now.
[Android Apps and Games] eagleofdeath13:
Excuse me if i'm wrong but the build instructions are for building an Ubuntu distro only? Will it be possible to use your script with another self-made Linux distro ? (and possible to give explanation on how to make one?)
[Android Apps and Games] TheTwitchy:
@eagleofdeath13 were you able to get the sources.list? It would be good to get apt-get working.

On A side note. Are we all able to run programs like wine on it? Is there a list of working programs?

Oh, and @zackthespack is there a way to login as users without root access? Chromium browser is preinstalled in the 12.04 versions, but cannot be run as you are logged in as root.
[Android Apps and Games] DarkhShadow:
Any program that supports ARM Linux can be run, wine can't be run

Sent from my ice cream powered Nexus S
[Android Apps and Games] nitekillerz:
i can confirm this working on the Epic 4G. It took me a while to download the files. But i followed the instructions on the free app(easiest for me) and i got it to work on first time.:D Im on CM9 stock.
[Android Apps and Games] amitabhr:
I have a ployer momo9 and i finally managed to run the script successfully by commenting out the line having the command "cut" and then running the mknod and loop mount commands first manually in the terminal and then running the whole script.

Or just ssh into the tablet from a PC and run the script from there (install droidssh on the tablet from market and install putty if you are on windows)

I am still unable to understand why the commands are failing on the tablet. The exact same script run fine on my Nexus S.

2 suspected issues are :

'cut' is not found on these tablets maybe because of custom roms

A few locations/folders are different than stock locations in phones & good tablets

The file ubuntu.sh seems to have windows line breaks (^M) even if i check & save it in linux on my PC. (The exact same command when typed manually runs ok.) The file runs OK in a SSH terminal. So maybe there's some issue in these custom ROMs of some chinese tablets.

I will upload a modified ubuntu.sh later tonight (tablet is at home, i am in office)

Till then just try opening the file in vi and removing line breaks (^M) or take the ubuntu.sh file and run dos2unix once on it (you can do it online here if you don't have linux nearby)

(First put a # before the line have 'cut')

Then save it WITHOUT any extension (or rename it after download - don't open it in notepad/write/wordpad etc at all on windows) - remove the .txt at the end - so file will be like: "ubuntu"

Copy it to the tablet and then rename it in the shell/terminal.
[Android Apps and Games] gersto:
Ubuntu w/ LeeDroid HTC Flyer Issue

So i got it downloaded and setup on my htc flyer, i run the script and can vnc into the image. but all i get is the old X interface, no status bars, icons, just the x mouse pointer and a grey background.

i have the LeeDroid ROM loaded on my flyer 9which according to reports the ubuntu image should work) i'm using the latest full image, androidVNC to VNC in, i selected 1024x600 res and gnome desktop.

any ideas guys?
[Android Apps and Games] idan_mo:
confirm working on galaxy nexus, cm9 with franco kernel.

is there any open office? or any chance to implement open office with hebrew support?
[Android Apps and Games] devwithzachary:
See this problem before and normally switching ROM's does this, its possible a update toe the rom has broken support, hopefully someone with the the device can either confirm or denied that its the roms problem

you can install open office using the normal methods (apt-get etc.) Hebrew support im not so sure about never looked
[Android Apps and Games] eagleofdeath13:
Your kernel dev know what it is XD
[Android Apps and Games] 8thsiner:
I would like to test this out, I can envision running a few games on this via MHL cables with joycontrol playing...

Have you already tested on the Sensation XE, Or do you still need testers for this platform.

I am a ways from being able to, I haven't even flashed a new rom yet, and know nothing about kernels, so some enlightenment would be nice.
[Android Apps and Games] vasiaeva:
Don't work for me

EVO 4G

HW0004

MIUI

KERNEL SALVAGEZAN 2.2.0

;(
[Android Apps and Games] Mr.Mefisto:
Passion!

zacthespack you know you are just great man...thanks a lot for your hard work because you put a lot of soul and passion here!
[Android Apps and Games] GazaIan:
The question is though, what the hell supports ARM Linux? (just found out eclipse supports it, but it's of no use to me because I like the SDK just for platform-tools)

Also seems frostwire might support it, but frostwire sucks ass, and mplayer is a dependency and I don't know if mPlayer supports ARM (I was in BackTrack at the time)

Edit: apparently WINE supports ARM, but in a funny twist, it can only run programs compiled for ARM on Windows. Mainly Windows 8 apps, I'd assume. I really wish there was a zero latency VNC client :(
[Android Apps and Games] devwithzachary:
Well programs that are not architecturaly dependent can be used to. Your best bet is to try installed programs from the repository as this include alot of arm ports
[Android Apps and Games] s14evil:
I'm going to give ubuntu another shot with my streak 7
[Android Apps and Games] rideti.me:
Sound in Ubuntu

Has anyone managed to get sounds created in the Ubuntu session to play on device?

I realise VNC doesn't do sounds so can we use pulseaudio to run an audio stream. Will the android build pick it up and manage it? Sorry for being a bit of a NOOB on this. Tried to get the pulse manager but it says the server isnt running (even though it all looks ok in package manager).
[Android Apps and Games] josuearisty:
Excellent, I will try it on my Moto Bravo!!
[Android Apps and Games] gokhansancar:
I have tried to install this to my galaxy tab 10.1wifi but I I could not do that. I am getting the same error whenever I try to install this

Please help
[Android Apps and Games] crz6662:
Indeed there are really only to requirements, root and loop devices support, most custom kernels should include loop device support. If they don't you need to have a word with your devices kernel devs ;) :P

What is loop device support ?[/QUOTE]

But I'd like to know what it is.
[Android Apps and Games] devwithzachary:
what version of busy box are you running and where is it installed? also do you have lots of apps runnign from the sd card (over 255)

But I'd like to know what it is.[/QUOTE]

see here http://en.wikipedia.org/wiki/Loop_device its basicly a feature of unix systems to mount images into a folder.
[Android Apps and Games] gokhansancar:
I am using the latest version of busybox and it is installed under system xbin as default and there are only couple of apps installed on my tab

PROBLEM HAS BEEN FIXED BY WIPING THE BUSYBOX AND REINSTALLING

THANKS GUYS
[Android Apps and Games] devwithzachary:
glad to hear it, seems these days most if not all problems fall down to busybox in some way -_-
[Android Apps and Games] devwithzachary:
Post from the blog

I don't normally post over stuff from the blog for this project (the theory is this is more for support if you want to keep up to date you read the blog) but I wanted to make sure everyone saw the newest post :)

Ubuntu installer free updates + NEW Backtrack installer Free!

Thats right its update time again!

Ubuntu installer free has been updated to V2.2 and includes the following changes:

*Typos and errors in guide fixed

*New images to reflect the new Google play store

*Device list in FAQ link changed to new page with a much bigger list

*App code streamlined and changes made ready for next big update

But what I am sure most of you are interested in is the new Free Backtrack installer!

In the best a few have asked why there is no free version of backtrack and its always come down to really there only needing to be one free app to test the method. However every now and then people seem to be able to install Ubuntu but not Backtrack and thus end up buying the backtrack app but can't use it.

This isn't ideal and so how I structure all my Linux distro apps is changing!

Each distro will get its own free installer with all the normal features, but like the free ubuntu (And now backtrack) apps it will not include the boot widget, or fast downloading and updates will come slower.

There will then be ONE paid app that will sell for ~£2 and will include ALL the installers along with all the normal paid features. What does this mean? well for every future Linux Distro I do if you buy the one paid app it will be included free of charge! so there will no longer be a paid app for each distro but just one paid app that covers all of them.

Don't worry the paid Backtrack and Ubuntu apps will continue to get updates with all the new features and before the free apps, but the 'One' app will get updated before these.

This new app will be released in the coming weeks along with a third Linux Distro!

Anyway hit up the market for the free Backtrack installer now!

https://play.google.com/store/apps/details?id=com.zpwebsites.backtrackinstallfree
[Android Apps and Games] devwithzachary:
In need of some seedbox's

Hello all, I am looking to create a torrent for the project which will include all the different images/apps and scripts for both ubuntu and backtrack (plus future linux distros) however my seedbox is being used for seeding Desire S roms.

Thus I am interested to see if:

A) having torrents to download the files is something you guys would want?

B) if anyone has a seedbox that they would happly upload my torrents to to help keep a good number of seeds?
[Android Apps and Games] patogyn:
nice work, ubuntu is perfect systen!

downloading for tests
[Android Apps and Games] ArmanUV:
+1 for torrents. I don't have a dedicated server but I have a Mac mini running 24/7 with 2Mbps up link.
[Android Apps and Games] braski:
Don't know why anybody but me would attempt it but it works on Samsung exhibit II 4g Jocala's cm9 Kang and kernel thanks
[Android Apps and Games] miksumortti:
Works very good on stock Samsung Galaxy Tab 7.0 Plus (GT-P6210) :)

Sent from my GT-P6210
[Android Apps and Games] nate.mcbride:
Torrents would be great, wish I had any upload speed at all to help...

I haven't been able to test this, the downloads keep saying 'unexpected size of archive' if they even complete :(
[Android Apps and Games] ethanpil:
Hi, I purchased the app.

#1 - I don't think its very nice of you to release a second app, essentially screwing the donors by making them pay again. Obviously you will spend your efforts on the "new" app, and we, your original supporters, will fall to the wayside. You might say, well we paid and got what we paid for. But when I buy an app like this, I pay knowing that the developer will always update with new and better features. This app I expected to get better and better, with new features and distros. Instead I need to rebuy. That makes me mad.

That being said, I think you have done an excellent job and this software works almost perfectly on my Xoom with Tiamat Honeycomb. I am very pleased with what is there so far, and so easy to use.

#2 - I think it would be very useful to have the option to store my preferred screen resolution and desktop so I don't need to type anything when i startup the linux. Cant you add some kind of feature that will save the selections to a bash script which can be included in the boot script (if it exists( to set the desired values...