Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,812,642 Members 44,256 Now Online
XDA Developers Android and Mobile Development Forum

[Dec 27] Ubuntu for HTC HD2 - v0.3 released

Tip us?
(Last edited by dcordes; 9th March 2011 at 01:48 PM.)
dcordes's Avatar
Senior Recognized Developer - OP
Thanks Meter 259
Posts: 703
Join Date: Nov 2007

Default [Dec 27] Ubuntu for HTC HD2 - v0.3 released

Ubuntu for the HTC HD2 version 0.3

This is the new v0.3 release of Ubuntu for the HTC HD2 I announced a while ago on twitter.

Ubuntu is a full Linux distribution - and it's not designed for smartphones. But with the large touchscreen, high display resolution and fast system speed of the HTC HD2 I decided to make Ubuntu easily available to HD2 end users!
This is not a secret warez ROM proprietary junk. Source code information below ! Wiki use for contribution purposes is highly encouraged! You can find all information needed to reconstruct my builds there.

The interest seems large enough so you can expect an improved version 0.4 :
-The no-menu problem will be solved
-It will be bootable via cotulla's MAGLDR and HaRET (Handhelds Revers Engineering Tool)

beta closed!! please do not in quire any longer.
=> I am looking for people to test a 0.4 beta version soon as I'm done. If you are interested please direct message or @ me via twitter @htc_linux as I will send the beta download link there.


* You can get online using 3G and WiFi
* Attach all kinds of USB devices like mice, keyboards, flash drives, card readers, networking devbices, etc. to turn your HD2 into a full PC
* Use full desktop like web browser without the usual limitations found in smartphone browsers
* Use instant messaging
* Watch videos
* Handle text messages and make calls (without sound so far)
* Install thousands of programs for your internet experience, office needs, social networking fun, etc.
* Be cooler because you have something special on your phone!

It is difficult to create a release like this as opposed to all the Android builds for the HD2.
Technical background to this:

The Linux kernel we ported to the HD2 is originally designed for use with Android user space (because we based our work on the Linux kernels of official Android devices) and Ubuntu is originally designed for large laptop or desktop computers.
This means many workarounds on kernel and user space level must be made in order to make this usable.
Despite lots of work not all problems could be tackled yet: Audio and suspend/resume do not work as of v0.3 and it is a bit tricky to navigate.
md5sum aa7ad65d247594e95bb7abe2e7aa7688
You can run an Md5sum program on your download. If you get the above hash you have a 100% trusted release.

Direct mirror: ( Torrent usage encouraged. ) thx to shah_vm
Additional direct mirrors welcome.

If you like it you can buy me a beer

Posted from my HD2 via firefox-3 on hd2-ubuntu-0.3

Thanks to Jaxbot (from windowsphonehacker website) for shooting this video!

Additional pics / videos welcome


1)Extract the linux folder to the main directory(!) of your Storage Card.
If the linux folder is not located in the main directory of the Card,
it will not work.
Note: This will not touch your phone's internal memory. WinMo or other Linux/Android builds remain unchanged.


1) Save all your current work and start the HaRET exectuable to boot Linux.
2) Watch the system boot up fully until you see a graphical desktop interface.
3) It is useful to set the CPU speed up for better performance. Tap the CPU speed meter in the mid of top bar.
4) Use shutdown icon in the home menu to bring the system down savely.

Thanks to Jaxbot for shooting this video

Please read the attached and included readme.txt for detailed information.

Ubuntu 10.10 Maverick basis
-optimized for our hd2 CPU
-large performance improvement
-up to date app versions
-new graphical interface

Better connectivity
-3 modes to interact via USB selectable
-file transfer and interactive shell via ADB and USB ETHERNET (ssh)
-USB HOST mode to connect thousands of peripheral devices like keyboards, mice, usb mass storage devices.

Improved drivers
-Backlight control
-Battery charging and state reading

-There is a known problem with the menu not appearing so you will only see a single icon on a normal desktop instead of the fancy menu seen above. You can fix it as explained below.
-There is still no audio in calls and generally due to lack fo ALSA driver for hd2.
-The hardware keys don't work
-No screen rotation added
-The battery % can only be read via shortcut. Icon will always show low state

Please do not report these problems.

In case you are affected by the no-menu problem here is a quick fix:
Add the 'main menu' in the top panel in order to start apps:

-Tap and hold a free spot in the top panel for like 3 secs (note that the area between the left and middle icons is not free s1pace but the window picker) and release the cursor. This is supposed to simulate right click. It is a big tricky..
-A drop down menu should appear
-Select add to panel
-Drag the 'main menu' item to the panel
-You can now start programs and edit settings.
a)In settings menu select session settings and make 'Ubuntu netbook 2d' session default settings menu. Only drawback is you can't add programs to the panel in it.
b)Go to 'startup applications' and try raising the delay in seconds for nbl (netbook-launcher-efl) to start.

Let me know if you get the workaround going in case you were affected


I documented the most important stuff about 'Ubuntu for HD2' in the htc-linux wiki. With that information you can rebuild it from scratch - or implement other OS like meego, kubuntu, etc.
Some parts are not yet updated to match the 0.3 status but I hope I can do it soon.

Get the Linux kernel souce code:
git clone git:// htc-msm-2.6.32

Compile Linux kernels for your HTC
Attached Files
File Type: zip - [Click for QR Code] (29.6 KB, 12786 views)
File Type: txt readme.txt - [Click for QR Code] (9.5 KB, 5007 views)
What I do
* port Linux (kernel) to HTC phones like the hd2
* document everything about development and make it easily available
* provide non-Android distros for Linux enabled HTC phones for more diversity
Publicly accessible tech wiki
My personal twitter
The Following 147 Users Say Thank You to dcordes For This Useful Post: [ Click to Expand ]
Senior Member
Thanks Meter 20
Posts: 261
Join Date: Oct 2007
Location: Paris
Originally Posted by dcordes View Post
Used the holidays to get the job done finally.
Will put further info in CET evening.

Posted from my HD2 via firefox-3 on hd2-ubuntu-0.3
Thank you very much!

I am experiencing a 403 error when i try to download the .torrent file though...

Server is hammered?
The Following 2 Users Say Thank You to Blubster For This Useful Post: [ Click to Expand ]
Senior Member
Thanks Meter 33
Posts: 995
Join Date: Mar 2010
Location: leipzig
cant download either!
Samsung Galaxy Note ll -stock-rooted

Nokia 2100(retired) - Nokia 3200(retired) - Nokia 6680(retired) - HTC HD2(broken) - Samsung Galaxy Note ll
The Following User Says Thank You to gianmich For This Useful Post: [ Click to Expand ]
Junior Member
Thanks Meter 0
Posts: 1
Join Date: May 2010
same here

Junior Member
Thanks Meter 0
Posts: 27
Join Date: Mar 2010
same here....
atomical007's Avatar
Senior Member
Thanks Meter 9
Posts: 143
Join Date: Jan 2009
Location: Phnom Penh
can't download it :The message as follow.

You don't have permission to access /files/ on this server.
Device => Samsung Galaxy Note GT-N7000
ROM => SuperBean v1.5 XXLT6 Jelly Bean 4.1.2. The Best!
Rom Link:

Kernel => SpeedMod K5-3.
Kernel Link:
HarnicGreeras's Avatar
Senior Member
Thanks Meter 49
Posts: 210
Join Date: Jun 2009
Location: Chisinau
the same at my side!
Junior Member
Thanks Meter 1
Posts: 12
Join Date: May 2010
Default same for me

same for me
Senior Member
Thanks Meter 11
Posts: 125
Join Date: Jul 2010
still the error message for download .. btw .. have you fix the call volume issue in V2? and thanks for your time and for sharing with the community :)
Junior Member
Thanks Meter 0
Posts: 4
Join Date: Apr 2009
Location: Oakland
I'm sorry but ur a sr. member... shouldn't u have tested if this worked before the post?

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes