• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[magldr] ubuntu, 3g, wifi,sound, landscape....

What should be the name of the project ?

  • ubnhd2

    Votes: 8 88.9%
  • ubn2pwn

    Votes: 0 0.0%
  • u2p

    Votes: 1 11.1%
  • hd2pwn

    Votes: 1 11.1%
  • h2p

    Votes: 0 0.0%
  • pwnhd2

    Votes: 0 0.0%

  • Total voters
    9
  • Poll closed .
Search This thread

zo1d

Member
Oct 19, 2012
40
79
teutonpe.de
logosmalla.png


I continued a bit the Ubuntu 0.3 project from dcordes and i think i achieved some enhancements^^

But i also need some help to upload this version cause i am currently on a 16kb/s
upload line :) and to upload some gigs over weeks would **** me up. I can send it
via mail to someone who is interrested in and has enough bandwith to upload it
(preferable from germany or europe)


Thanks to all the people who made the HD2 so awesome,
Cotulla, XDA ppl, DFT ppl, HTClinux, dcordes, hopkinskong, bardzusny and everyone else involved !

If you want to spend me a beer, you can do this here.


What works:
- Booting via Magldr
- Landscape Display orientation
- usb host
- Haret booting (thanks to the Help of Robbie P look at page 8 of this thread for the files)
- Touchscreen,
(with a relative not absolute pointer, feels much more like using a pc than a phone...)
- Wifi with encryption
- 3G network connection, sim-pin needs to be disabled !
(about 350kb/s on my network, maybe even
higher somewhere else need testers soon !
- Audio/audio player,
(The Kernel was compiled with 48.000 kHz in the
Alsa config what results in a "too fast sound" this
problem was also mentioned in the 0.1 Debian Thread.
Workaround i found for at least listen to normal Music
Was to pitch the sound to normal via AlsaPlayer.
but beside this, the player is very stable and takes
just a small amount of cpu-time)
- Audio Outputs
(Loudspeaker, Phonespeaker or Headphones)
- The Hardware Controls
(Display Brightness, LEDs etc)
- x11VNC Server
(not the fastest one due to workarounds, but still usable)
- PwnPi & Backtrack Tools
(not all but most atm)
- dpms
(..and its also possible to switch off the backlight,
so if someone finds a cool way to start a script on
the beginning of the screensaver and another script on
the end, it would be very helpful to extend the battery life)
- The common ubuntu stuff


What doesnt work:
- Monitor Mode for bc5329
(I was able to load the arm-compiled firmware from https://code.google.com/p/bcmon/
Wireshark captured some packets but wicd was not able to see networks anymore.., more
testing needed, experimental)
- Phone Feature,
(no calls no sms/mms sPhone stills needs to be loaded or 3g network wouldnt work
Edit: PlatinumBox wrote me that he can see incoming calls)
- Bluetooth,
(kernel side looking ok, but the rest is incomplete)
- Battery Stats
(no percentage, no recharging)
- Video Player
(Without Audio it looks delicious with Xine, even in
fullscreen, but due to the Audio problem mentioned before
it has desynchronized and laggy sound)
- Hardware keys,
(Kernel side ok but the xorg.conf and xinput settings are not correct)
- Second Mouse Button
(hope someone finds a better solution than the dwell applet, or get the hardware keys working !)


Not testet:
- usb eth
- adb
- vga out
- gps
- proximity
- cam
- mic


The Project needs:
- Kernel Developers (urgent)
- People who are familiar with implementing the msm/qsd x.org driver
- People who are able to crosscompile for arm's
- Developers that have good tools or scripts to embed
- Pentesters who want to contribute some toolchains and methods
- Designers / Webdesigners
- Translators
- People who are able to fix s.th.

If you want to enter the project, write me a pm with what you
can do and maybe some links to s.th. you have done.*


Installation:
I recommend everyone to rename the first FAT Partition of the SD card to "SD" or many things wont work !
(this should be done externally and not in the phone because ubuntu sets the mount points on boot time !)

You need the Magldr on your HD2
Extract all files from the downloaded archive "linux.zip" to the directory "linux" on your sd card
Set the right "Android from SD" folder in Magldr (SD/linux), select "Boot AD from SD"

The package "connman" should be deinstalled because its consuming too much cpu and doesn't work well together
with wicd, the wifi autoconnect after boot was also affected by this.

Password for both accounts is still "ubuntu"

Be careful what you install, it has Debian and Ubuntu repos. In some cases the "Force Version" Option helps

To get the Wifi working you need the drivers from here:
http://www.mediafire.com/?6l365qz2jvc5hqh

- extract the two files (fw_bcm4329.bin & bcm4329.ko)
- move them to the root folder of your SD-Card
- boot up ubnhd2
- go to gnome-menu -> Stuff -> System -> bcd-res-upd
- take option 7 (Import ... from SD)
- takes a second
- Press the wifi-signal in the dock
- answer the dialog with ok
- after the vibration signal from the wifi script the networks can be
configured by clicking the icon in the menubar (wicd app)

Download 0.0.3.17 beta:
magldr images https://sourceforge.net/projects/ubnhd2/
for haret version see Robbie's post on page 8


screenshot12hy.png


alternative input method:
img20121202015227.png


25.11.12 Mascot Artwork
artworkqt.png
 
Last edited:

Robbie P

Senior Member
Feb 8, 2011
5,116
4,017
London
Welcome to the forum zo1d.
It looks great.
I can upload it in uk, and can Private Message you an address. Unless any German people come forward.
Not sure who the moderator is for this forum, try Poyensa, always very helpful.
 

ComputerFight

Member
Feb 21, 2012
13
15
United States of Leobuntu?

Welcome, zo1d, and thanks for your continuing this project.
I am looking forward very much to try out this on my HD2.

I believe the continued work on booting Linux desktop OS on our device is the next wave of exciting breakthroughs. This is the only way our HD2 already can successfully output to a monitor through USB to VGA/DVI cable, so I always am excited on any advancements on this front.

If shipping to US is feasible, I can upload it rapidly, it would be my pleasure to help.

Thanks again for this - the screenshot looks awesome, keep the fight going.
 

raff5859

Senior Member
Sep 27, 2010
177
11
Grójec
www.surething.pl
Open source, how don't love this?
Well some ideas for you my dear, you can try port ubuntu 12.04 with Unity 2D from lovely version for Nexus 7 and n900, if I can help tell me how :)

Wysyłane za pomocą mojego gołębia pocztowego
 

zo1d

Member
Oct 19, 2012
40
79
teutonpe.de
you can try port ubuntu 12.04 with Unity 2D from lovely version for Nexus 7 and n900

Why porting ? its already ARM compiled, but the problem is that the kernel i currently use (2.6.32.15)
is too old and misses the msm/qsd x.org driver. so without a fresh baked kernel i dont see reason to play around with 12.04..
I already got Ubuntu 11.4 working but there will never be a proper touschscreen input in landscape mode because
of a bug in the xinput version, the swap.axis option will not work.

btw. anyone using a kernel with sources/patches from here: git.tiamat-dev.com/htc-kernel-msm8x50 ?
 
Last edited:
  • Like
Reactions: PlatinumBox

zo1d

Member
Oct 19, 2012
40
79
teutonpe.de
Whats about putting it on on sourceforge to make it easier for others to continue the project.

The current wifi firmware isnt open source so it has to be copied to sd-card and would be copied
into the system via script.

Another option would be bcmon.googlecode.com/svn/trunk/
but i couldnt get wicd working properly with it maybe someone can recompile it with a older
version of gcc.

@raff5859
"Hmm did you cantry port n900 kernel ?"
I dont even understand what you mean ?
and btw unity sucks ;) Gnome, E17, Fluxbox FTW
 
Last edited:

FranZeta

Member
Mar 28, 2012
34
14
¡Great work! It is the best S.O. that HD2 can received now that Windows Phone 7 is discontinued for Microsoft. I waiting updates very exciting.

I´m from Spain, send you my email for upload files ;)
 

Herobs

Member
Sep 1, 2012
32
4
LangZhong
i think desktop os is very good for using , but ubuntu hasnt updated for one year . i really look forward to ur finally release! thanks very.

Sent from my HTC HD2 using xda app-developers app
 

zo1d

Member
Oct 19, 2012
40
79
teutonpe.de
Small update, i will send the current version to andikicker, btw thanx for helping out dude !, on the beginning of the next week, thanx also to Robbie P for the fast and helpful answers, nice community here. I also have a new screenshot with some new enhancements.

screenshot2oq.png


Some icons look a bit grey in the screenshot, but on the Screen of the HD they are white !

The touchscreen is configured to act relative and not absolute, this is to avoid having the thumb over the pointer and makes the navigation in small menus much easier and faster.

New are the MediaPlayer Controls in the Panel, and the Hardware Controls in the Menubar
Hope everybody have fun with !
 
Last edited:

Sopalajo de Arrierez

Senior Member
Jun 5, 2010
63
8
Request for USBNet.

Thanks a lot for this job, Zo1d.
I wanna request, if possible, the inclussion of the module that allows connecting a USB Ethernet adapter (I think its name is "USBNet"); another Ubuntu versions I found for HD2 did not have it :( .
I think it would be useful, since my HTC would become nearly a minibarebone.

Thanks.
 

zo1d

Member
Oct 19, 2012
40
79
teutonpe.de
Thanks a lot for this job, Zo1d.
I wanna request, if possible, the inclussion of the module that allows connecting a USB Ethernet adapter (I think its name is "USBNet"); another Ubuntu versions I found for HD2 did not have it :( .
I think it would be useful, since my HTC would become nearly a minibarebone.

Thanks.

I just cant test it atm (still need to build or buy the "usb-out" cable, but good idea ! i have a usb2eth dongle here, RTL8150 so maybe looking next weeks for the adapter and a powered usb-hub). If it doesn't has to be implemented into the kernel, it shouldn't be a problem to integrate it in this build but as i said i cannot test it. Upload it somewhere and/or send me the link and i do my best.
 
Last edited:

Sopalajo de Arrierez

Senior Member
Jun 5, 2010
63
8
I just cant test it atm (still need to build or buy the "usb-out" cable, but good idea ! i have a usb2eth dongle here, RTL8150 so maybe looking next weeks for the adapter and a powered usb-hub). If it doesn't has to be implemented into the kernel, it shouldn't be a problem to integrate it in this build but as i said i cannot test it. Upload it somewhere and/or send me the link and i do my best.

I don't have any uploadable module, sorry :( .
I mentioned it because I requested equivalent network features for Ubuntu on this thread:

http://forum.xda-developers.com/showthread.php?t=889433&highlight=sopalajo&page=59
(read post #582 )

Maybe this page of that thread could help? Some people answer about it.
I hope I am not going off-topic.
 

zo1d

Member
Oct 19, 2012
40
79
teutonpe.de
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 29
    logosmalla.png


    I continued a bit the Ubuntu 0.3 project from dcordes and i think i achieved some enhancements^^

    But i also need some help to upload this version cause i am currently on a 16kb/s
    upload line :) and to upload some gigs over weeks would **** me up. I can send it
    via mail to someone who is interrested in and has enough bandwith to upload it
    (preferable from germany or europe)


    Thanks to all the people who made the HD2 so awesome,
    Cotulla, XDA ppl, DFT ppl, HTClinux, dcordes, hopkinskong, bardzusny and everyone else involved !

    If you want to spend me a beer, you can do this here.


    What works:
    - Booting via Magldr
    - Landscape Display orientation
    - usb host
    - Haret booting (thanks to the Help of Robbie P look at page 8 of this thread for the files)
    - Touchscreen,
    (with a relative not absolute pointer, feels much more like using a pc than a phone...)
    - Wifi with encryption
    - 3G network connection, sim-pin needs to be disabled !
    (about 350kb/s on my network, maybe even
    higher somewhere else need testers soon !
    - Audio/audio player,
    (The Kernel was compiled with 48.000 kHz in the
    Alsa config what results in a "too fast sound" this
    problem was also mentioned in the 0.1 Debian Thread.
    Workaround i found for at least listen to normal Music
    Was to pitch the sound to normal via AlsaPlayer.
    but beside this, the player is very stable and takes
    just a small amount of cpu-time)
    - Audio Outputs
    (Loudspeaker, Phonespeaker or Headphones)
    - The Hardware Controls
    (Display Brightness, LEDs etc)
    - x11VNC Server
    (not the fastest one due to workarounds, but still usable)
    - PwnPi & Backtrack Tools
    (not all but most atm)
    - dpms
    (..and its also possible to switch off the backlight,
    so if someone finds a cool way to start a script on
    the beginning of the screensaver and another script on
    the end, it would be very helpful to extend the battery life)
    - The common ubuntu stuff


    What doesnt work:
    - Monitor Mode for bc5329
    (I was able to load the arm-compiled firmware from https://code.google.com/p/bcmon/
    Wireshark captured some packets but wicd was not able to see networks anymore.., more
    testing needed, experimental)
    - Phone Feature,
    (no calls no sms/mms sPhone stills needs to be loaded or 3g network wouldnt work
    Edit: PlatinumBox wrote me that he can see incoming calls)
    - Bluetooth,
    (kernel side looking ok, but the rest is incomplete)
    - Battery Stats
    (no percentage, no recharging)
    - Video Player
    (Without Audio it looks delicious with Xine, even in
    fullscreen, but due to the Audio problem mentioned before
    it has desynchronized and laggy sound)
    - Hardware keys,
    (Kernel side ok but the xorg.conf and xinput settings are not correct)
    - Second Mouse Button
    (hope someone finds a better solution than the dwell applet, or get the hardware keys working !)


    Not testet:
    - usb eth
    - adb
    - vga out
    - gps
    - proximity
    - cam
    - mic


    The Project needs:
    - Kernel Developers (urgent)
    - People who are familiar with implementing the msm/qsd x.org driver
    - People who are able to crosscompile for arm's
    - Developers that have good tools or scripts to embed
    - Pentesters who want to contribute some toolchains and methods
    - Designers / Webdesigners
    - Translators
    - People who are able to fix s.th.

    If you want to enter the project, write me a pm with what you
    can do and maybe some links to s.th. you have done.*


    Installation:
    I recommend everyone to rename the first FAT Partition of the SD card to "SD" or many things wont work !
    (this should be done externally and not in the phone because ubuntu sets the mount points on boot time !)

    You need the Magldr on your HD2
    Extract all files from the downloaded archive "linux.zip" to the directory "linux" on your sd card
    Set the right "Android from SD" folder in Magldr (SD/linux), select "Boot AD from SD"

    The package "connman" should be deinstalled because its consuming too much cpu and doesn't work well together
    with wicd, the wifi autoconnect after boot was also affected by this.

    Password for both accounts is still "ubuntu"

    Be careful what you install, it has Debian and Ubuntu repos. In some cases the "Force Version" Option helps

    To get the Wifi working you need the drivers from here:
    http://www.mediafire.com/?6l365qz2jvc5hqh

    - extract the two files (fw_bcm4329.bin & bcm4329.ko)
    - move them to the root folder of your SD-Card
    - boot up ubnhd2
    - go to gnome-menu -> Stuff -> System -> bcd-res-upd
    - take option 7 (Import ... from SD)
    - takes a second
    - Press the wifi-signal in the dock
    - answer the dialog with ok
    - after the vibration signal from the wifi script the networks can be
    configured by clicking the icon in the menubar (wicd app)

    Download 0.0.3.17 beta:
    magldr images https://sourceforge.net/projects/ubnhd2/
    for haret version see Robbie's post on page 8


    screenshot12hy.png


    alternative input method:
    img20121202015227.png


    25.11.12 Mascot Artwork
    artworkqt.png
    8
    The first beta is finished, and on the (snailmail) way to andikicker who will upload it around 12.12.12 :)

    screenshot12hy.png


    don't mind the greyish icons, they look shiny white on the hd2 screen xD

    Why relaying on one single host?
    It would be better to make a torrent, so we could share this with eachother :good:

    Me thinks, its a good idea for the wifi-firmware, but the rest will be hosted at sf.net they have over 9000 mirrors.
    6
    Small update:

    x11vnc is functional, found some workarounds for shmget error and missing vnc kernel module...

    bildschirmfoto1li.png


    The current integration of the Pentest tools is on a good way. All stuff is copied out of the pwnpi
    distri (so the dirty work is mostly done...) Testing and integrate them into the menu is about 10%
    done, I decided to keep all the bluetooth tools and aircrack-ng in the hope that monitor mode, packet
    injection and bluetooth will work one day. I saw that the slackware linux for HTC HD has bluetooth in a working
    state, so maybe hopkinskong can pass me his bluez or bluetoothd config. would be very nice to have
    a externel keyboard & mouse without cables :)
    5
    Thanks Zo1d for your hard work and yes, the archives extraction is successful. I have a question though :

    I have an 8GB SD card with 4GB reserved for WP7 and 4GB remaining for SD builds. After extracting your files,

    the total size of all files is 6.51GB.

    So what is the minimum free space required to run UBNHD2 ??

    The link is https://sourceforge.net/projects/ubnhd2/files/

    Hey James

    i think about 8GB should be free

    Be sure to have all files in your (SD-card)/linux Folder and switch to this via MAGLDR on boot time

    Happy trying
    5
    this would be just the perfect system for hd2!! hope to have a link soon.. really dying to get hold of this build!!!

    Haha nice to hear, bad news: it will take some days longer... good news: i am atm embedding the tools from pwnpi (pwnpi.net/tools.html)

    :)