So today I noticed something weird on my phone. I used a terminal emulator to see what I could do with it, and noticed that there is a file called ubuntu.sh. I tried to run it and got all sorts of permission denied errors, and then I decided to root my phone. But now I'm nervous to run it, does anyone know what it does or why it is there?

edit
I forgot to mention that I have an AT&T Morotola Atrix 4G running Android 2.3.6. Also when I use the app SSHDroid to go into my phone from my Ubuntu machine, I'm greeted with this:

"The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.

You should probably open it with a text editor and examine the content.
–
mikewhateverApr 12 '12 at 3:40

Are you trying to install Ubuntu in a android phone?? That nice!!
–
RaviApr 12 '12 at 5:50

Why don't you just open the file with an editor and look what it does? I wouldn't be surprised if it has something to do with the Desktop mode of the Atrix that starts when you connect it with the Laptop Dock or the HD dock.
–
Gerald SchneiderSep 17 '12 at 13:19

Yeah I've since found out that this file is run when you run the lapdock. Apparently it is actually a heavily modified version of Ubuntu. Interesting right?
–
pjtatlowOct 23 '12 at 13:27

2 Answers
2

to run ubuntu.sh, your android does need to be rooted, and from the terminal emulator you must first grant super user privelage by executing the su command, then you can sh ubuntu.sh, and after it loads , it is running as a vnc server, in order to view, and manage ubuntu.sh you would need to use a vnc viewer and on the same device the ip address to connect would be 127.0.0.1 if I'm right, its been a while since ive done so myself since upgrading to android 4.0.4 ICS, which sacrifices performance to give me beauty.

I've given it superuser privileges, and I'm ready to run it, I'm just not sure what it does... Are you saying I would be running Ubuntu on my phone? What good would this do me, and why is it even there?
–
pjtatlowApr 12 '12 at 3:55

Actually, you're running the Atrix 4G, the phone that gets a whole new interface when it's docked

Looking at this, Ubuntu is that interface, which would explain tons of things, like why it's so slow

If you run the script without docking, you will need to run as root, so "su" and then you should see at the end a IP Adresas and a port, use a VNC app and access your phone's LAN IP via that port and you should see the Atrix Motorola dock environment, not everything may be working properly, but it should give you an idea of the script