yashsingh1/xdaforums huggingface dataset:
[HD2 Ubuntu Development] hopkinskong:
This is the ARMEDSlack(Slackware) on the HTC HD2, hope you will enjoy it :D

Features

USBHost mode to connect USB stuff

Tv-out using DisplayLink :D -> Conifrmed working.

3G

Wifi

Internal bluetooth-NEED TESTERS.

KDE Desktop

Oxygen Theme

ARMEDSlackware current, 01May(updating to 21Jan11)

With games, graphics, internet(only included konq, please download Firefox manually), multimedia, office(not OpenOffice, but can load *.ppt, *.xls, etc) applications

KvKbd on-screen keyboard, can docking

NTFS Support

Original version of slackware(ARMEDSlack), did not do much customization

Installation

Decompress the archive, you will get a folder named "slackware", copy that folder to the ROOT of your sdcard.

Switch on the phone, navigate to that folder using the file browser, run "CLRCAD.exe" first, then run "haret-pre-0.5.3-20100629_092009-QSD8250-ONLY.exe"

Default kernel is USBHOST, if you want to use alternative kernel, open the "startup.txt", comment out (by removing out "#") the kernel you want and comment the kernel you don't want.

You can now customize the system path, to do this, create a file called "slackware_path.txt" under the ROOT of your SD card, and put the slackware path as the content of that file, for example:

"slackware_path.txt":

/slackwarelinux

Download links

HaRET version:

Note

- Phone may rang if someone calling to your phone, but phone application may crash after the phone rang, so please DISABLE PHONE RINGING

- ROOTFS will be 4000MB(NOT 4096MB), due to limit of FAT file system!

- You can use slackpkg to install stuff, just type "slackpkg install packagename" in the terminal.

- You are suggested that to take care all of the dependencies problem FIRST, slackware(slackpkg/installpkg) WILL NOT take care it for you.

- The passwords of users:

root: password Yep, "password" is the password :D

slackware: Yep, it's blank

- In default, user "slackware" can use sudo without password

Something about the next release

- Next version will be sound enabled(media and in-call sound), solution have been found, but i will not release the driver in THIS RELEASE!

- Next version may have a newer kernel, which works with both MAGLDR and HaRET, I will not release this kernel first because USBHOST is not working

Special Thanks

glocklee - HaRET tester, Provided some ideas to me

Robbie P - HaRET tester, Final tester

pantizol - HaRET tester, Final tester, TV OUT tester

nikola360 - Final tester
[HD2 Ubuntu Development] hopkinskong:
Update:

Known issues:

No GPS/Camera

Bluetooth is a bit buggy(BT can't transmit sound)

No systemsettings on system items

No widget adding

No sound on phonon, but mplayer.

No hardware button

No multitouch

Changelog:
2012-05-01: Beta release
[HD2 Ubuntu Development] hopkinskong:
Screenshots

#2011-07-21

#2011-08-03

---------------------------------------

#04(below) are NOT OWNED BY ME
[HD2 Ubuntu Development] yurigagarin61:
Reserved #03
[HD2 Ubuntu Development] hopkinskong:
Why you reserved #03?
[HD2 Ubuntu Development] nikola360:
So if it Will boot from magldr only touchscreen doesn't work but USB Host works?

-------------------------------------

Sent via the XDA Tapatalk App
[HD2 Ubuntu Development] hopkinskong:
Yes! But you need change your kenel first,

if the kernel compile still fail, i will use HTC HD2 Ubuntu v0.3's kernel
[HD2 Ubuntu Development] Robbie P:
Best of luck with this

As nicola360 implies, touchscreen may not matter if usb hosting works, since we can use keyboard and mouse.

And if we can boot via magldr, then WP7, android and ubuntu tri-booting becomes a workable reality.
[HD2 Ubuntu Development] GuimbardePower:
I can't wait to have a magldr bootable version of linux! Will the sound (call) and texting work?

Maybe it's a stupid question at this time of the developement of this version...
[HD2 Ubuntu Development] arkatis:
:confused:
[HD2 Ubuntu Development] pioterek2666:
Good work guys it will be a plesure to have a beeter replacment for desktop linux on ours hd'2 since no news about ubuntu v0.4 realese. Keep it goin.
[HD2 Ubuntu Development] yugoport:
Great news..thank you..
[HD2 Ubuntu Development] hopkinskong:
Please see post #4 (or i called #03 cuz i reserved #02), #4(3) are NOT owned by me, its another user reserve that, what point is it?
[HD2 Ubuntu Development] Robbie P:
I think he did it for fun.

Reading through his previous posts I don't see anything malicious about it.

I suppose when you started a thread with 3 reserving posts in it, he just created another one.

Have you PM'd him to remove it?
[HD2 Ubuntu Development] hopkinskong:
No, just leave him...

btw, uploading screenshot
[HD2 Ubuntu Development] hopkinskong:
Screenshots uploaded, total 10 pic
[HD2 Ubuntu Development] legolas93:
Keep up THIS! :D
[HD2 Ubuntu Development] nikola360:
the pictures are taken from HD2 MAGLDR, HaRET or Emulator (QEMU)?
[HD2 Ubuntu Development] hopkinskong:
non-of above :D

Its KSnapshot, just press printsysrq on my usb keyboard
[HD2 Ubuntu Development] nikola360:
ah......:) do you think that it should support this when you finish to build it?

HUB USB (4 ports)--------MicroUSB-----HD2

/\

/ \

/ 3 free USB ports------Mouse-keyboard

/

1 USB p. for second HUB (4 ports)

|

|

/ \

/ \

/ Ethernet Adapter

/

3 free ports for internal memory (like pendrive)-VGA Port Adapter (in future).......other ideas
[HD2 Ubuntu Development] hopkinskong:
lol... i love your settings

if this work on Ubuntu v0.3, it should work on Slackware too

but my hd2 hang up after i plug a usb flash drive in it, i'll see are there any logs later
[HD2 Ubuntu Development] nikola360:
i tested it only on PC (Ubuntu, Windows) and it works, but i can't try with Ubuntu 0.3 becouse it doesn't work with magldr
[HD2 Ubuntu Development] hopkinskong:
Any developers know that are ppp work on magldr?

If you are not developer, can you try to use 3g in ubuntu(booting from magldr), pls report your result(s) below, thanks

Sent from my HTC hd2 Android
[HD2 Ubuntu Development] nikola360:
probably you thought that I was a developer....:) i'm not developer unfortunately...
[HD2 Ubuntu Development] Robbie P:
Sorry Hopkinskong I am not a developer either. And I haven't a clue how to load ubuntu from Magldr. If I could I would happily report results of trying 3G.

:confused:;)
[HD2 Ubuntu Development] hopkinskong:
you can't use linit?(pls see ubuntu 0.3 page 48[I'm not sure])
[HD2 Ubuntu Development] hopkinskong:
I got lots of problem!

S***

drivers/net/msm_rmnet_wince.o:(.data+0x28): multiple definition of `dev_attr_wakeups_xmit'
drivers/net/msm_rmnet.o:(.data+0x28): first defined here
drivers/net/msm_rmnet_wince.o:(.data+0x3c): multiple definition of `dev_attr_wakeups_rcv'
drivers/net/msm_rmnet.o:(.data+0x3c): first defined here
drivers/net/msm_rmnet_wince.o:(.data+0x14): multiple definition of `dev_attr_timeout'
drivers/net/msm_rmnet.o:(.data+0x14): first defined here
drivers/net/msm_rmnet_wince.o:(.data+0x50): multiple definition of `dev_attr_awake_time_ms'
drivers/net/msm_rmnet.o:(.data+0x50): first defined here
make[2]: *** [drivers/net/built-in.o] Error 1
make[1]: *** [drivers/net] Error 2
make: *** [drivers] Error 2

Can't compile rmnet = no 3g in magldr

Is that really we can't run desktop-linux with MAGLDR?
[HD2 Ubuntu Development] pharmeceutikle:
Got a question? Can this be done to boot via android sd? Like Ubuntu 10.10 sd. Just go through terminal emulator and then vnc into it. Have anyone given any thoughts to Slax?
[HD2 Ubuntu Development] hopkinskong:
This is Slackware not Slax :D

And i am not interested booting slackware with Android, cuz Android has NO USBHOST MODE, and if the kernel compile successed, it may have TV OUT support(via Displaylink USB)
[HD2 Ubuntu Development] Robbie P:
I need one tester who running WM6.5, stock rom[/QUOTE]

I have stock rom and ubuntu 0.3 at the moment
[HD2 Ubuntu Development] marcimix:
This looks really nice :) What do u think about bloutooth keyboard?

http://www.dealextreme.com/p/blueto...ng-leather-case-for-samsung-p1000-black-66647 :D
[HD2 Ubuntu Development] bender_007:
how about xfce or lxde or openbox (when you solve other problems) ?
[HD2 Ubuntu Development] hopkinskong:
At the beginning, i was trying to use GNOME, but it fails, so i decided KDE because original Slackware are using KDE, of course, you can change to Xfce, just install the packages.
[HD2 Ubuntu Development] nikola360:
@marcimix I can use bluetooth keyboard and if internal bluetooth doesn't work i can buy an USB Bluetooth adapter and built in it (i have 3 free internal usb port)

if I find a small keyboard (smaller than a DVD case)that I can build it on would be better

this is the internal "construction" http://i54.tinypic.com/33af9qe.jpg

how big is that (http://www.dealextreme.com/p/blueto...ng-leather-case-for-samsung-p1000-black-66647)?
[HD2 Ubuntu Development] hopkinskong:
If i make the wifi works, so i may try to activate the internal bluetooth(they use the same module)

btw, rfkill recongized "BCM4329" as Bluetooth, not wifi lol
[HD2 Ubuntu Development] bender_007:
I know :), but it's a sin to run kde4(rubbish) on slackware :D
[HD2 Ubuntu Development] GuimbardePower:
Dimensions: 7.76 in x 5.04 in x 0.94 in (19.7 cm x 12.8 cm x 2.4 cm)

Weight: 10.83 oz (307 g)

Found in the page of the keyboard. ;)
[HD2 Ubuntu Development] hopkinskong:
That stuff will not fit, its for Samsung P1000(Galaxy Tab), it has 7inch display, and HD2 is 4.3 inch
[HD2 Ubuntu Development] czarsuperstar@gmail.com:
That looks real nice. Great job.;)
[HD2 Ubuntu Development] hopkinskong:
Ok, guys, i can't make lots of stuff working in MAGLDR, so i may not release MAGLDR version!

Things not working in MAGLDR:

Touchscreen(problem of MAGLDR)

3G(problem of MAGLDR)

Wifi(may be a problem of MAGLDR)

Sound(both[MAG,HaRET] not work, still in progress)

In HaRET, Wifi works, 3G works, touchscreen works!

Now, i will only work on Internal Bluetooth and Sound for HaRET, no more work on MAGLDR until the next release of MAGLDR(next version of MAGLDR should fix those problem)

Thanks for support, guys
[HD2 Ubuntu Development] floating_point_unit:
Hello hopkinskong :)

I don't think these are problems specific to MAGLDR. I tried booting the same kernel using cLK (and it's fastboot functionality)

It's just a bootloader after all. Load kernel, load initrd, go go go!

The problem, I think, lies in differences between how MAGLDR/cLK/any other bootloader present hardware to kernel compared to HaRET. In HaRET, everything's already initialized (you boot straight from working Windows Mobile). On other ones it's not so easy.

I'm not really fluent with this stuff but that's how it looks to me.

all the best, fpu
[HD2 Ubuntu Development] hopkinskong:
lol wait you are FPU in htc-linux?

Yes, HaRET initialized everything, and MAGLDR doesn't(I never tried cLK), so all of the problem should be MAGLDR/kernel problem!

Do you noticed Android can use RMNet? And GNU/LINUX can't, yes, it might be the kernel problem, it also might be MAGLDR problem cuz it doesn't provide support to boot GNU/Linux via MAGLDR, so the touchscreen will also not work.

I'll just wait for new version of MAGLDR release, then continue develop the MAGLDR version of Slackware, i may release HaRET version first now(lol i need to flash back to WM6.5)
[HD2 Ubuntu Development] Robbie P:
May not have to wait too long!

http://xdaforums.com/showpost.php?p=16207825&postcount=66

Leo is King!:)
[HD2 Ubuntu Development] hopkinskong:
I am now using Slackware on HTC HD2 (booting from HaRET) to post this message :D

So it means, Wifi are working!

I will try 3G later!

3G are working, i am editiing this post using 3G!
[HD2 Ubuntu Development] pharmeceutikle:
Question? Any way people with WP7 nand and Android SD can load your rom? How big is the rom anyways?
[HD2 Ubuntu Development] hopkinskong:
SH** wrong button, i pressed "Thanks" lol

The rom will be same as the Ubuntu v0.3, its 3GB (If you want, i can make it 4 GB:D)

The system is about 200-400 MB, but the KDE and other application(Media player, office, network tools, browser, etc) used other space!
[HD2 Ubuntu Development] floating_point_unit:
Hey hopkinskong!

Yeah, fpu is me. That's probably the fastest way to contact me :) .

I just want to add, it's definitely kernel problem. I modified slightly tytung_r10 kernel (the kernel every recent HD2 android rom uses) and used it to boot ubuntu (MAGLDR).

Touchscreen worked, for starters (as touchpad). I haven't tried anything else yet but will be experimenting. So it just seems that current htc-msm kernel is designed and configured to be ran via HaRET.

I need quite urgently to run full GNU/Linux on my HD2, so it seems some compiling is ahead of me. Will keep you informed as it may be useful for your project.

fpu
[HD2 Ubuntu Development] hopkinskong:
tytung_r10 kernel? is it orginal comes from linuxtogo or what?

btw, i uploaded 7 more screenshot
[HD2 Ubuntu Development] floating_point_unit:
http://xdaforums.com/showthread.php?t=905060

I can't be 100% sure, but it seems all these kernels (tytung, htc-msm) at the very root originate from nexus one kernel sources released by google.

fpu
[HD2 Ubuntu Development] hopkinskong:
This kernel is for Android only? or it will works on GNU/Linux?
[HD2 Ubuntu Development] floating_point_unit:
It's supposed to be for Android. But so did original htc-msm kernel, the one you're using. It has many workarounds though.

I have just now successfully ran debian using it and got wifi to work (all MAGLDR).

Please chat me up on IRC. You may want to play with it yourself.

fpu

EDIT:

I take back the statement that I got wifi to work. I can get eth0 interface up, but there are android-specific errors when trying to connect.

It seems trying to run GNU/Linux on Android kernel is really lost cause. Too many workarounds to be made, especially by someone who doesn't have that much knowledge about it (me).

fpu
[HD2 Ubuntu Development] [zozi]:
it's possible convert this HaRET version in IMG file to work in ToolBox app hpt bootloader?

some like this -> http://xdaforums.com/showthread.php?t=1095726
[HD2 Ubuntu Development] hopkinskong:
I don't interest with that yet, cuz you are running two system at the same time and if u got NAND Android, you will get MAGLDR, so i should make the kernel work on MAGLDR more than in NAND Android.

Now, i am still waiting the next release of MAGLDR, it should fix most problem.
[HD2 Ubuntu Development] hopkinskong:
Me too.. haha :p

So that means we need modify the kernel source to make it work on GNU/LINUX ?
[HD2 Ubuntu Development] floating_point_unit:
Hello again hopkinskong :-)

After all hurdles I finally found right source, modified config slightly and compiled kernel for HD2 that works with MAGLDR.

I'm currently running debian on it.

Here's what's confirmed to work:

-Wifi (beautifully!)

-Xorg and touchscreen (sadly only in portrait mode - touchscreen driver doesn't work in landscape right now, will work on it.

Here's what doesn't work:

-Hardware keys. I'm working on them, and already have probable solution - should be ready soon.

-Touchscreen in landscape mode

-2D hardware acceleration using xf86-video-msm driver. (Currently it loads, but tries to use MSM_7201 variant - we need MSM_8X50. I'm working on it).

Not tested yet:

-USB host. I don't have good USB cables to test it just yet. lsusb shows USB root hub, so it's a good sign though.

-Bluetooth. Didn't mess with it yet. Again there is possible solution, so it should be just a matter of time.

-CPU frequency scaling (should be very simple).

-3G (should be quite simple too)

-Any phone functionality

-FM radio (is there even driver for it?)

If you want binaries/defconfig/more info, catch me on #htc-linux.

All the best, fpu.
[HD2 Ubuntu Development] pharmeceutikle:
I really appreciate what you guys are doing. I can empathize because I used to be a software programmer and it was absolutely mind boggling. I hated it! I don't miss those days and long nights trying to come up with solutions to a problem and when you finally have an idea and think things should work but it fails. Then you end up in a fetal position and cry after 20 hours of no sleep and no one else have any ideas. It was harder for me because of deadlines so I think this is more of just a hobby, but still a pain in @$$ because of pride and you just want things solved! Now that FPU had stated that he is close to getting magldr to work its now been a few days without an update. I think that wall has been hit. I hate that feeling knowing you are sooo close and just need to get over that hump but for whatever reason things are just not working! Absolutely hated it! Glad I got out of it because it was driving me insane!
[HD2 Ubuntu Development] floating_point_unit:
Hello pharmeceutikle :)

Yes it was hard at moments especially because I'm quite new to playing with these things. But I've moved forward a lot anyway and it was very fun and satisfying for me.

Let me do a little update:

-Kernel boots and works very very nicely, with exception of usb host (thanks to hopkinskong for testing). I need to finally get proper cables to test it myself. And even if I don't get it working, we can always just take usb stack from linuxtogo kernel (the one used by Ubuntu v0.3) - it shouldn't be too hard.

-I got touchscreen in landscape working (thanks to gnutoo for patch). I got also hardware keys to work (with a little workaround, they're not directly recognized by Xorg).

-3G should be very very easy.

-Telephony and suspend/resume is within arm's reach. Both are supported by FSO (FreeSmartphone) framework, the only problem being that relevant packages are currently broken/old in distribution I'm using (Debian). It's just a matter of compiling it from scratch (and I'm no good at it, LOL!)

-Sound works, so far only on loudspeaker, using userspace workaround. There are native ALSA drivers in works but I'm not sure when they'll be released publicly - nothing guaranteed yet.

As you see fully functional (even with suspend/resume!), regular GNU/Linux booting from MAGLDR is really really close. I know more or less what has to be done - it just so happened that I got suddenly struck with big shortage of time. So either wait a bit till I figure my matters out or... pick up the task yourself :) feel free to contact me for any info.

All the best! fpu.
[HD2 Ubuntu Development] pharmeceutikle:
Hi FPU,

Yeah, idk if I want to subject myself to that kind of torture again LoL! The last time I looked at code was 15 years ago. Sometimes I wish I could remember how to do things so I can help or don't have to wait on stuff, but I have very little time or patience to re-learn everything. A lot has changed over the years and I wouldn't be able to tell the difference between heads or tails with this language. Good luck to you. Hope you can get magldr fully functional so those with WP7 and Nandroid can enjoy HD2 linux more fully!
[HD2 Ubuntu Development] hopkinskong:
Fpu, i can't see you in HTC-LINUX lol

I want to add something, Suspend and Resume i am thinking how it works(without a powerbutton :D)

"take usb stack from linuxtogo kernel", it should be hard(Cotulla said it might takes 4 hours haha)
[HD2 Ubuntu Development] hopkinskong:
Just few problems left, may release in this month!
[HD2 Ubuntu Development] pharmeceutikle:
So, Are we going to get a release soon? Also, we are able to get sound now with the alsa drivers that have been developed. Is there a way we can install these drivers ourselves?
[HD2 Ubuntu Development] hopkinskong:
Honestly, idk the driver have came out :D

I got that driver already when it isn't released, i asked Cotulla to give that to me, but now, it released, but for me, it still isn't a great news.

In my post #1, i said i will change kernel in next version, i will change to EvoKernel, which USBHOST are not working, and i can't deal with it.

I decided to use LinuxToGo kernel as my first version of slackware, but now, Cotulla baked the ALSA driver in to the EvoKernel, so i need to do more kernel stuff to slove the USBHOST problem.

On the another hand, i need to deal with some auth. problem on KDE, and some minor Desktop widget issue.
[HD2 Ubuntu Development] KAASHP:
Really great development going on for lovers of hd2

keep it up ...
[HD2 Ubuntu Development] michael_durben:
Is this thread dead? I was very interested in it for a long time, but no updates no releases... What's going on here dev?
[HD2 Ubuntu Development] Dj_Faisca:
Yes i´m very interested too

Tanks
[HD2 Ubuntu Development] killerbie:
Me too mates :)
[HD2 Ubuntu Development] Spaqin:
This man hasn't been online for 2 months. And he chose a bad name, ask google - you get nothing.

Stop writing here, try to contact him! If we can't - ask those guys he mentioned, maybe they have better contact with floating_point_unit.

I'd love to help developing. But I can't, because he's not here D:
[HD2 Ubuntu Development] floating_point_unit:
Hello.

This is Slackware topic but it seems like many people asked generally about status of GNU/Linux on HD2

So let me rephrase what I think I already said somewhere. I

t's pretty much known how to get everything working on the device (even wake/suspend!), thanks to wonderful people on #htc-linux. It's just a matter of glueing it all together into actual usable OS image.

I promise to do it when I can, however I'm short of time lately so don't expect anything soon. If someone else picks it up and needs some info go ahead and ask, as I said all the work is pretty much laid out.

All the best, fpu
[HD2 Ubuntu Development] nikola360:
i used this fixed Ubuntu 0.3 for magldr, it doesn't reboot at start, but touchscreen and USBH doesn't works so i think that there is a problem in the kernel
[HD2 Ubuntu Development] floating_point_unit:
Yes, it's kernel problem.

There are two main GNU/Linux kernels for HD2, one is htc-msm-2.6.32, sourced from nexus one kernel sources. Second one is linux_on_wince_htc, taken & modified from EVO 4G kernel sources.

Generally htc-msm-2.6.32 is obsolete, and also practically non-functional with direct booting (MAGLDR). linux_on_wince_htc on the other hand works very well with MAGLDR but at this moment has broken USB HOST support (it shouldn't be too hard to fix it though).

(Ubuntu v0.3 uses htc-msm-2.6.32. Thus indeed, no MAGLDR goodness.)

fpu
[HD2 Ubuntu Development] Sudzi:
i think everyone have new PDA :( so this HD2 is good leader but every leader will fall when the time has come..

1) ubuntu

2) honeycomb
[HD2 Ubuntu Development] nikola360:
Boot.img

i made a boot.img with zImage and Initrd.gz (kernel USB Host taken from Ubuntu 0.3) and flashed it on recovery partition (i made the recovery partition with 6 MB ), the boot from NAND can help you in your works for magldr boot?
[HD2 Ubuntu Development] hopkinskong:
Honestly, i can release this now, all the stuff are already solved, but only got problems on KDE's config file.

I can directly modify the config file instead using "systemsettings", but it may causes non-userfriendly on modifying KDE settings.

Also, Widget adding are NOT working.
[HD2 Ubuntu Development] nikola360:
you should release it as beta version...
[HD2 Ubuntu Development] Burag:
+1

I've just ordered OTG cable, so I want something to experiment with, when it comes :D
[HD2 Ubuntu Development] hopkinskong:
Thanks for your suggestion, beta will come soon. :D
[HD2 Ubuntu Development] nikola360:
Thanks a lot :)
[HD2 Ubuntu Development] retsam88:
we are awaiting for the next version!
[HD2 Ubuntu Development] GuimbardePower:
Yeah! I'm really waiting for it!
[HD2 Ubuntu Development] bever86:
can't wait to test this!! jumping right into it as soon as you release :D
[HD2 Ubuntu Development] mrmomba:
wow, its sounds like an dream, i cant wait!

can i write SMS with your Slackware Linux?

I think, when this running good enough, it can replace my netbook :)

to use OpenOffice and all :)
[HD2 Ubuntu Development] rikusuicide:
Hey will it bootable with magldr?
[HD2 Ubuntu Development] hopkinskong:
No. :):):)

btw, everyone can be testers, pm me for more infromation.

[TESTERS->>FULL!]
[HD2 Ubuntu Development] rikusuicide:
just windows mobile :( ?
[HD2 Ubuntu Development] domimatik:
That would be sad :)

Anyway, its nice seeing something new in the Linux Section