FORUMS
Remove All Ads from XDA
Honor 7x
Win an Honor 7X!

 View Poll Results: What Kernels did you get Ubuntu to run on?

Silverneedle
 
3 Vote(s)
12.00%
[NOLIGHTS][LEDS]
 
0 Vote(s)
0%
[TEAM XPOSED] [Kernel] modded Stock
 
0 Vote(s)
0%
RCMIX
 
3 Vote(s)
12.00%
Stock 1.13.651.7
 
3 Vote(s)
12.00%
Tiamat
 
2 Vote(s)
8.00%
Bcblend
 
3 Vote(s)
12.00%
mKernel
 
0 Vote(s)
0%
MIUI Kernel
 
1 Vote(s)
4.00%
Other / Not Listed / Custom / My ROM has it's own
 
12 Vote(s)
48.00%

[Guide] How to install Ubuntu Linux on your phone [1.0 Coming Soon]

980 posts
Thanks Meter: 1,683
 
Thread Closed Email Thread
Quote:

Notice:

Sorry guys this no longer works...
Ubuntu removed alot of the files needed to run it on a phone off of their website which is why you are getting the errors on the script to try and install it.
Recapped:
Here's what I mean the website the script is going to to get the files no longer exists...
Heres an example to see for yourself: http://ports.ubuntu.com/ubuntu-ports....9-4_armel.deb

I will try and find a new link to plug in but for now it DOES NOT WORK!

Thank you for your patience on the thread,
StrumerJohn










==== How to Install Ubuntu Linux on your HTC EVO 3D / Sensation 4G ====

Quote:

Table of Contents

Post 1
1: Disclaimer
2: Pre Requirements
3: PC Guide to push to phone
4: MAC Guide to push to phone
5: Additional Scripts
6: Credits
Post 2
1: FAQs
2: Recognitions
Post 3
1: News and Updates
2: Additional Notices

-Disclaimer-
This has been tested on my phone and runs perfectly fine, I am not responsible for you breaking, bricking, or dropping your phone on the floor and causing the USB cable to fall out and blow up your device.




Quote:

Pre Requirements:

A rooted HTC EVO 3D or Sensation 4G
A S-off'd HTC EVO 3D or Sensation 4G

netarchy's kernel (Silverneedle Test5)
Android SDK
The USB drivers for your phone. (x32) (x64)
A microSD Card
2.3 GB Free of space on your microSD card
Know how to read to directions



The intense Procedure:

1. Download this version of Ubuntu. [Download #1] [Download #2]

2. Unzip the Ubuntu folder to your desktop and if you want, delete the compressed one you downloaded.

3. On your phone go to Settings > Applications > Development and turn on USB debugging.

4. Plug in your USB cable (from your computer to your phone) and mount your (mirco)SD card.

5. Move or copy over the unzipped / normal Ubuntu folder. This will take a long time unless you have a class10 microSD card.

6. After moving / copying that file over, tell your phone to unmount the (micro)SD card / Set the phone to Charge Only mode.

7. Now on your computer, go to where you have Android SDK installed. (Example on my computer: E:\Program Files (X86)\Android\android-sdk )

8. When in the main SDK folder, hold shift and right click a blank area and then click on "open command window here". It should of opened the command line window with the directory of your SDK already put in. If not type cd "C:\Your directory or location of your SDK"

9. Now type "cd platform-tools"

9.5. (Optional) "type adb devices" and check if the computer recognizes your phone. If not you need to reinstall your drivers from the download link above in the requirements.

10. Type "adb shell"

11. Type "su" so we have superuser permissions

12. Type "cd /sdcard" so the directory is changed to the (micro)SD card

13. Type "cd ubuntu" so the directory is changed to the Ubuntu File

14. Type "sh ubuntu.sh" so we can install Ubuntu

15. Type "bootubuntu" to start up Ubuntu. Next time you enter Ubuntu, you just need to type "bootubuntu" from your /sdcard/ubuntu directory, there is no need to run ubuntu.sh again.

16. If you got "root@localhost" in the command line, you have sucessfully installed Ubuntu. If not make sure you installed netarchy's kernel. If it still does not install correctly please try a different ROM, I have only tested this on SteelROM 1.1. *AFTER INSTALLING ANY ROM, YOU NEED TO REINTALL THE KERNEL.*

17. Now type "apt-get update" to update Ubuntu to the latest version. Then "apt-get upgrade" to apply the update.

18. Type "apt-get install tightvncserver" to install the vncserver. (Your telling your phone to read off it self pretty much.)

19. Type "export USER=root" To make yourself a user / the user

20. Type "vncserver -geometry 1024×800" to set the screen resolution you want to display on your phone. Remember you can always zoom in by pinching, so you don't need to make this that much smaller. You should also get prompted to set a password, do so. You will need to remember this password to log in.

21. Download the AndroidVNC Viewer off the Market here.

22. Open the viewer, and put in a nickname, your PASSWORD FROM ABOVE, and for the IP Address put: 127.0.0.1 for the port put 5901. THEN SCROLL DOWN and make the COLOR FORMAT 24-bit colors (4bpp).
And finally, hit Connect to launch Ubuntu on your phone!

For Mac users:

Quote:


Finder -> Applications -> Utilities (folder) -> Terminal

When you cd to where your adb is located, cd is lowercase as are most all unix commands.

If you're unsure where to go, get to adb in your Finder, right-click, get info, the pop-up will show you the path. Note in unix that the folders (subdirectories) are separated by / and not by \ like in Windows.

Once you're there, the only trick you need to know is to tell unix that adb is located where you are, so you change the adb shell command like this:

./adb shell

That's about it, all other instructions once you're inside the phone shell are the same.

OBTW - after the unzip of the initial file from the OP, just drag and drop the whole ubuntu folder to your NO NAME drive (normal sd card formatting doesn't get a name at the factory, so by now you know that your sd card mounts like that anyways I'd suppose - just put it here in case).

Additional Scripts

Danaff37's

Quote:
Originally Posted by danaff37

That's the script catted out.

I posted a different script a few pages back that I think will help you guys. I modified it so we should have no trouble with apps in sd.. I finally got a bigger sdcard so I can test this stuff and this script works great. Please guys try this script. If you download it in phone it will change the name and add a bin on it I think, so rename it accordingly and make sure it gets into /system/bin with the right permissions (755 or rwxr-xr-x), then run it

http://db.tt/gin57Gd


Sent from my PG86100 using XDA App



Credits:
Ubuntu Modded and Guide by: Me
Mac Guide Written by: EarlyMon
danaff37's Script by : danaff37 (of course)
Original dev of Ubuntu: Zedomax

If you have any problems beside the slow downloads because of the blown up servers, let me know below. Also I tried to type this fast, so if there is any typo's or broken links let me know too! Thanks!

Also feel free to hit the Thanks button or Donate for more Guides
The Following 26 Users Say Thank You to StrumerJohn For This Useful Post: [ View ] Gift StrumerJohn Ad-Free
 
 
1st August 2011, 11:49 PM |#2  
StrumerJohn's Avatar
OP Senior Member
Flag Glendale, AZ
Thanks Meter: 1,683
 
Donate to Me
More
FAQS
FAQS

Do I need to have everything in the android-sdk downloaded and installed?
No, you just need to have the base sdk.

When I tell the command prompt to adb devices, my phone does not show up!!
Make sure you have installed the proper drivers for your phone and for your correct operating system

I'm not getting "root@localhost" when I type / copy-&-paste "bootubuntu"
Well, this could be for a various amount of reasons, first make sure you have a rooted HTC EVO 3D/Sensation. And by root, I mean a full root, not just a temp root or S-off. If you still do not get "root@localhost", flash your device (or go though your data folder and delete all the ubuntu files, then delete the ubuntu file off of your sd card and clear your caches.), and retry the above steps. If the problem still persists, then please PM me with your exact problem.

I'm having issues within the VNC, and I get an error message when I hit "connect".
Make sure you typed your password correctly, the passwords are case sensitive. If you still cannot get in, make sure your IP Adress is set to "127.0.0.1" and your Port(s) are "5901".

The colors on my screen look all weird and disorientated, how do I fix this?
Close Ubuntu, and re-open the VNC application, then scroll down to "Color Format" and tap on "24-bit color (4 bpp)".

The on-screen keyboard does not work and I get a different letter or character for whatever character I type!
The on-screen keyboard will work now, if you install LXDE.

I'm not good with reading text! I need a video demonstration!
For a video head here: http://www.youtube.com/watch?v=YbunTRzEQCI

How do I close Ubuntu?
Two options here:
1.Logout of the server and go to your homescreen and push menu, then go to settings, then Applications, then Running Services and close any remaining open part of the server program. The service may re-open later, do not close it though. It won't use up a noticable amount of RAM, just enough to make sure the application opens quick again.
2. Logout of the server and use your favorite task killer to close the server process. The service may re-open later, do not close it though. It won't use up a noticable amount of RAM, just enough to make sure the application opens quick again.


FAQS should be in order chronologically (until the end of them).

I would like to give a huge thanks to EarlyMon, for helping out lost members. This thread would not be as peaceful if it were not for him.
And it seems I have forgotten to list another VERY helpful person here, danaff37. I am really grateful to both of these two for all of the help and work they have done to aid others.



Am I missing a question that you are pretty sure is asked ALOT (lol)? Then PM me please and I'll get it up here ASAP!
The Following 6 Users Say Thank You to StrumerJohn For This Useful Post: [ View ] Gift StrumerJohn Ad-Free
1st August 2011, 11:49 PM |#3  
StrumerJohn's Avatar
OP Senior Member
Flag Glendale, AZ
Thanks Meter: 1,683
 
Donate to Me
More
Upcoming Change log for final release:
(StrumerJohn's Zedomax Ubuntu Mod)
Made a launchable .exe for easier updating and installing of Ubuntu
Default mode LXDE for fixed keyboard
Pushes Server application to your phone
Fixed a few problems that caused people to have an error in installing
Server application updated
Fixed port issues for log in errors

News update 11/13/11
Bad news and Good News:
Ubuntu was successfully updated
Update brakes keyboard
Update breaks Apps2SD
Update takes up less space (1GB instead of 2GB)
Update ONLY works on MIUI so far
Updated script to add work around for those facing issues
Computer .exe only working on x64 Windows 7 computers ;-;
Thank you for those of you testing! Might make this open Beta...!

Version as of 12/12/11
Alpha Build 1.0

What Doesn't Work so far:
Boots to latest version only to lock up phone (Unless you are running MIUI)
Keyboard borked
Doesn't work on ICS
Audio Broken
Apps Saved on SD

What works:
Everything else
The Following 6 Users Say Thank You to StrumerJohn For This Useful Post: [ View ] Gift StrumerJohn Ad-Free
DDiaz007
1st August 2011, 11:50 PM |#4  
Guest
Thanks Meter: 0
 
More
Sweeeeet.

Appreciate my help? Thank me
The Following User Says Thank You to For This Useful Post: [ View ] Gift Ad-Free
1st August 2011, 11:53 PM |#5  
Senior Member
Thanks Meter: 8
 
More
Wow this is amazing! Never used linux before tho...
The Following User Says Thank You to zaner123 For This Useful Post: [ View ] Gift zaner123 Ad-Free
2nd August 2011, 12:07 AM |#6  
danaff37's Avatar
Senior Member
Flag Saint Petersburg, FL
Thanks Meter: 902
 
More
Haven't looked at the bootubuntu script yet, but I know a lot of these couldn't work if you had any apps on sdcard at all. Each app moved to sd takes a loop device.

Sent from my PG86100 using XDA App
The Following 2 Users Say Thank You to danaff37 For This Useful Post: [ View ] Gift danaff37 Ad-Free
2nd August 2011, 12:22 AM |#7  
progenocide's Avatar
Member
Flag miami
Thanks Meter: 2
 
More
maazing will try tonight!!!!!!
The Following User Says Thank You to progenocide For This Useful Post: [ View ] Gift progenocide Ad-Free
2nd August 2011, 12:24 AM |#8  
StrumerJohn's Avatar
OP Senior Member
Flag Glendale, AZ
Thanks Meter: 1,683
 
Donate to Me
More
Quote:
Originally Posted by danaff37

Haven't looked at the bootubuntu script yet, but I know a lot of these couldn't work if you had any apps on sdcard at all. Each app moved to sd takes a loop device.

Just moved partially like moving to the SD or Actually having them Downloaded and Installed to the SD?
The Following User Says Thank You to StrumerJohn For This Useful Post: [ View ] Gift StrumerJohn Ad-Free
2nd August 2011, 12:48 AM |#9  
jayharper08's Avatar
Senior Moderator - The Troll Whisperer
Flag The Dirty
Thanks Meter: 9,709
 
More
Interesting. Nice write up

Sent from my PG86100 using XDA Premium App
2nd August 2011, 01:32 AM |#10  
Member
Thanks Meter: 5
 
More
Cool...

But, why.

Cause you can?
Sent from my 3vo via Tapatalk
2nd August 2011, 02:21 AM |#11  
StrumerJohn's Avatar
OP Senior Member
Flag Glendale, AZ
Thanks Meter: 1,683
 
Donate to Me
More
Because Ubuntu has some computer applications you can't normally use on your phone. In the browser download Java and check out runescape :P runs like shizzle but once we get new quad phones out I'm sure it would run fine. lol
Thread Closed Subscribe to Thread

Tags
android, htc evo 3d, htc sensation 4g, htc shooter, ubuntu
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes