5,600,725 Members 38,914 Now Online
XDA Developers Android and Mobile Development Forum
View Poll Results: What should be the name of the project ?
ubnhd2 8 88.89%
ubn2pwn 0 0%
u2p 1 11.11%
hd2pwn 1 11.11%
h2p 0 0%
pwnhd2 0 0%
Multiple Choice Poll. Voters: 9. You may not vote on this poll

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

Tip us?
 
zo1d
Old
(Last edited by zo1d; 27th December 2012 at 12:35 AM.)
#1  
zo1d's Avatar
Member - OP
Thanks Meter 79
Posts: 37
Join Date: Oct 2012
Location: teutonpe.de

 
DONATE TO ME
Angry [magldr] ubuntu, 3g, wifi,sound, landscape....



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




alternative input method:


25.11.12 Mascot Artwork
The Following 29 Users Say Thank You to zo1d For This Useful Post: [ Click to Expand ]
 
Robbie P
Old
#2  
Robbie P's Avatar
Recognized Contributor
Thanks Meter 2680
Posts: 3,755
Join Date: Feb 2011
Location: 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.

HTC HD2 (EU)
SPL 2.08. HSPL3;
Magldr 1.13 thanks bepe & Cotulla
On NAND - WP7.8 pdaimatejam v8.8 thanks to pdaimatejam, DFT, YukiXDA, xboxmod etc
On SDcards - Numerous Android SD builds & NativeSD ROMs (Thanks boonbing, Xylograph, securecrt & Almighty tytung!)
Radio 2.15.50.14 & Thanks to everyone@XDA
Recognised Contributor Code of Conduct

Learning Never Ends Team member
 
ComputerFight
Old
#3  
ComputerFight's Avatar
Junior Member
Thanks Meter 15
Posts: 13
Join Date: Feb 2012
Default 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
Old
#4  
raff5859's Avatar
Senior Member
Thanks Meter 11
Posts: 177
Join Date: Sep 2010
Location: Grójec
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
Pomogłem? Daj piwko- będę wdzięczny

 
zo1d
Old
(Last edited by zo1d; 1st January 2013 at 10:17 PM.)
#5  
zo1d's Avatar
Member - OP
Thanks Meter 79
Posts: 37
Join Date: Oct 2012
Location: teutonpe.de

 
DONATE TO ME
Quote:
Originally Posted by raff5859 View Post
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 ?
The Following User Says Thank You to zo1d For This Useful Post: [ Click to Expand ]
 
raff5859
Old
#6  
raff5859's Avatar
Senior Member
Thanks Meter 11
Posts: 177
Join Date: Sep 2010
Location: Grójec
I don't use Ubuntu on HD2, but we must have any app for manual change direction of screen.
Hmm did you cantry port n900 kernel ?

Wysyłane za pomocą mojego gołębia pocztowego
Pomogłem? Daj piwko- będę wdzięczny

 
andikicker
Old
#7  
Junior Member
Thanks Meter 10
Posts: 12
Join Date: Feb 2012
hey

i'm from germany and can it upload for you pm me!

mfg
The Following 2 Users Say Thank You to andikicker For This Useful Post: [ Click to Expand ]
 
zo1d
Old
(Last edited by zo1d; 6th November 2012 at 05:32 PM.)
#8  
zo1d's Avatar
Member - OP
Thanks Meter 79
Posts: 37
Join Date: Oct 2012
Location: teutonpe.de

 
DONATE TO ME
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
Quote:
"Hmm did you cantry port n900 kernel ?"
I dont even understand what you mean ?
and btw unity sucks Gnome, E17, Fluxbox FTW
 
raff5859
Old
#9  
raff5859's Avatar
Senior Member
Thanks Meter 11
Posts: 177
Join Date: Sep 2010
Location: Grójec
Quote:

@raff5859
I dont even understand what you mean ?
and btw unity sucks Gnome, E17, Fluxbox FTW
Well how chance we have to turn on newest versions of Ubuntu on Leo?

Unity... Hmm I love it, you don't must

Wysyłane za pomocą mojego gołębia pocztowego
Pomogłem? Daj piwko- będę wdzięczny

 
FranZeta
Old
#10  
Junior Member
Thanks Meter 3
Posts: 17
Join Date: Mar 2012
ˇ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

Tags
w00t ubuntu pentest hd2
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes