Android native on HTC Devices - Windows Mobile Development and Hacking General

Hey everybody,
some hours ago i had a HTC Magic in my hands, to play arround a little with Android and i'm really impressed. I like the workflow, the Interface and so on.
For some time now, we have the possibility, to run Android on our devices through Haret. So i thought about, wouldn't it be possible, to autoboot Android on let's say a HTC Touch Diamond?
As far as I know (please correct me if I'm wrong), the SPL is some kinda Bootloader, wich after loading Drivers, boots the OS.bin.
If we could get together the Developer of Haret and the guys from the HardSPL Development Crew, wouldn't it be possible, to melt both projects.
This could be like this:
When you boot up the device, you are asked what to boot (Windows / Android or Linux). If you choose Windows, it starts the normal boot process loading the os.bin. If you choose Android, the Haret code is loaded and boots up Android.
Of course the Android port needs a lot of drivers, but if we are that far, developing drivers for the open source Android shouldn't be that hard.
What do you think about this Idea?
I would start developing this myself, if somebody could teach me about SPL and so on.

I run the Android version for the Tilt. The number one main reason why it's not being done is that it's not 100% functional. On the Tilt anyway, the camera, GPS and Bluetooth are not working yet. I'm sure in the long run, the plan would be to build Android ROMs for WM phones.

Yes, that's the main problem...not of being non functional, but of missing drivers.

ice8lue said:
Hey everybody,This could be like this:
When you boot up the device, you are asked what to boot (Windows / Android or Linux). If you choose Windows, it starts the normal boot process loading the os.bin. If you choose Android, the Haret code is loaded and boots up Android.
Click to expand...
Click to collapse
This concept is what I have been dying to have on my Touch Pro.
That would amazing... A dream come true. Needless to say, I think it is a great idea!!!!

Hey guys, what about inventing an perpetuum mobile? Great idea, or not?
Don´t get me wrong, your idea is great, but I think there are reasons, why we don´t see fully working android ports for our loved devices.

Of course there are reasons why we don't have this till now.
We also have reasons why we haven't been on mars...so should we stop trying?
I know this is a hard one, coz there hasn't been ported an OS to devices, they weren't made for, but I also think it's possible

Related

Linux for Herald

so being a little fed up with windows mobile and a little discouraged with my last unsuccessful flashing experience (tethering is how I roll) im looking for a fully functional or mostly functional version of linux for my Herald. I've searched everywhere I can think of, is that pretty much the end of the road? would a linux rom that works on another similar phone work on mine? which phone is most similar? if linux isn't available, how long should I wait?
THANKS!
Cheers
Stivan
Have a lokk in "Developement and Hacking" thread. there are several linux threads. BUT nothing impressive....
Wait on google android!
If it makes you feel better, USPL works off some kind of linux i believe. If you use USPL to flash your phone you technically used linux. So there we go
I am definately interested in a herald linux port.
Linux on Herald Here!!!
Here is a gentoo image compatible with the Herald. Built for the Wizard, but works fine on my Wing. Only issues being no sound support and screen is shifted to the right a little, but touchscreen and SD card are working. Keyboard mapping is a little off though, but easy enough to figure out.
http://www.gossamer-threads.com/lists/gentoo/embedded/55281
For those who don't want to read the whole thread...
http://tinderbox.dev.gentoo.org/embedded/linwizard/gizard-20080527.tar.bz2
Extract to root of storage card, and run Haret.exe Login as root, blank password. Use startx to get desktop if you want.
Enjoy
Hey guys, I tried it too but I get a white screen...
you kick ass..If I could just get the source code...
Lackofmotivation said:
Here is a gentoo image compatible with the Herald. Built for the Wizard, but works fine on my Wing. Only issues being no sound support and screen is shifted to the right a little, but touchscreen and SD card are working. Keyboard mapping is a little off though, but easy enough to figure out.
http://www.gossamer-threads.com/lists/gentoo/embedded/55281
For those who don't want to read the whole thread...
http://tinderbox.dev.gentoo.org/embedded/linwizard/gizard-20080527.tar.bz2
Extract to root of storage card, and run Haret.exe Login as root, blank password. Use startx to get desktop if you want.
Enjoy
Click to expand...
Click to collapse
I don't even know you, but I love you!
You are awesome. Thank you so damn much.
Linux was my only reason for buying a wing!
The obvious problems I see are as follows:
no sound
screen does not adjust when slid out
no phone program
not sure if it can get on the edge network
directional button does not work
the telephone buttons dont appear to respond nor do the subkeys around the green and red phone buttons
it's gentoo [I kid, this isn't really a problem ]
the keypad does not seem to map correctly to qwerty-us
cap and alt are lit and are inaccessible
usb port may or may not work.. did not check
other then that KICKASS
This is by no means a complaint list.
I am a programmer, I do know c and I have messed around inside the
internals of the linux kernel before.
My motivation to resolve as many of the above issues is very high right now.
I was almost ready to give up on this phone.
Again... THANK YOU!!!
Did you take the entire gizard folder and drop it into the top level directory of your sd card?
after you do that, reboot your phone. Then run the haret program.
_MsG_ said:
Hey guys, I tried it too but I get a white screen...
Click to expand...
Click to collapse
You must have a different LCD panel, and the power GPIO settings may
be different. Look and compare the wizard and artemis wiki pages about
omap gpios.
Herald is very similar to Wiazrd (artemis has a very different setup), but
obviously there are still some differences.
not really
fzzyrn said:
If it makes you feel better, USPL works off some kind of linux i believe. If you use USPL to flash your phone you technically used linux. So there we go
Click to expand...
Click to collapse
this really isnt what i was talking about at all. linux os on htc phone, not using linux program to flash htc phone with windows software. really big difference. so technically, yeah i did use linux, but not on my phone. thanks anyway though
touchscreen broken
so in order to install gentoo onto linux i have to install within windows mobile i guess. problem is, my touchscreen is broken and it wont let me get past the setup wizard and the screen calibration. when the touchscreen broke, for some reason i thought that reseting my phone might fix it, maybe some sort of glitch or something. is there any way to get past this? is there any other way to install gentoo without having to put it on the memory card first?
so in order to install gentoo onto linux i have to install within windows mobile i guess. problem is, my touchscreen is broken and it wont let me get past the setup wizard and the screen calibration. when the touchscreen broke, for some reason i thought that reseting my phone might fix it, maybe some sort of glitch or something. is there any way to get past this? is there any other way to install gentoo without having to put it on the memory card first?
waiting......
as for the broken touch screen,just create a file named welcome.not and place it in the root of the micro sd card. restart the unit. it'sjust an empty file. it has worked for me four times already. it bypasses the touch screen setup. as for linux. I would love to try it.
Thank You Thank You So Much!
donepate you are so awesome! this is by far probably one of the most useful (albeit basic) tips ive ever read! thank you so much my herald has been dead for about a year and in its place was a Samsung SGH-639. BLAH! YAY! HERALD IS BACK! HELL YEAAAAAH!
has anyone got this to work completely keyboard, screen flipping and everything?

Acer F1 system successfully run Android 2.2

Turn:mikeyangly(Come from:pdafans.com)
Touch screen, and drive signals are not supported, I hope the faithful machine can solve this problem
System Download:rayfile.com/zh-cn/files/4e80a502-973c-11df-abb4-0015c55db73d/
GREat news !! hope its just a question of time for the others drivers!
On my neotouch android doesn't boot. It stays on this:
EDIT (22:05): now it boot. I haven't got in the root of Storage Card .
s200 froyo 2.2
O ye,this is a very great news,incredible ,we jump directly to Froyo 2.2,as you say it is a matter of time and developers now.The waiting has began!
Otherwise phone boots very quck:
-no touch
-no sound
-no keys
-no gsm ...
we hope all will be on soon
good start. hope problems are possible to be solved....
Oh very goog!!
Does tsamolotoff's TS driver works?
its drivers work with ubuntu!
Wow great news!I am waiting for a full working version(rom)
Android just has more free apps than windows..
that would be the only reason i would want android
free apps... oh well
The only reason i would want android is a bunch of games ported for this system. Android for games and WinMob for everything else. and all this stuff in one device. that would be nice
very good.
Why do I have blue screen after 10 seconds working of it?
Because there are many problems to resolve to use android on our s200...The os is not alredy usable like in htc hd2,and our device is not supported like the htc one.So maybe the project for s200 is end.I wish i could use android in my phone,but maybe i will never see a usable interface
This is an exciting good news. Soon we can use the Android system has. Thank you for your efforts.
Sadly theres no kernel/android dev that has an s200, so android partly working on it might never happen, unless a dev picks it up and starts making patches/fixes for the kernel.
Not so good if you think that s200 and hd2 project started togheter,but hd2 after 1 month has a usable android or ubuntu release and our s200 has only a not usable android "desktop".Our device is not supported by comunity as hd2,so correct me if i m wrong,but i think no one still working on android s200 release
Ok guys it has been a month since first post, anyone reckon this is going somewhere? who was developing this in the first place? I am willing and ready to help in any way I can (I have stated this before) if necessary. I have a working s200, but no experience in linux programming, although I could learn some basics if needed.
Maybe we could send some android devs a pm? I mean how hard can it be if our hardware is so similar to the Liquid, AND we already have it running on our processor...?
I have seriously considered leaving the s200 and getting an HD2 by now...
Greets
no news of any progress for a while now...
anyway i never expected a fully working android on our neotouch. theres just not enough guys working on it like on the HD2...
can someone mirror this file please?
i dont want to download & install rayfile's client...
Thanks.
It s a really hard porting job...Hd2 owner has a good partialy stable android port,but as you all know there's 20 times hd2 then s200.The problem on our phone is the restricted comunity support
Well, it seems that when I got my s200 broken nobody raised the banner from my cold hands
Now my device is up and running again, and maybe i'll try to do something more... don't expect ts to work in android, as it's completely functional via tslib, and i don't know droid's architecture to determine why this PoS of an OS can't use it... if you really want it guys, why don't you experiment with sequence of input_abs_* functions within ts worker thread in driver ? There're so many *experts* who make ROMs via kitchens or do fancy icons/pictures - take up your time and learn C / linux kernel... I started with barely basic knowledge of the first (and I was lucky with the fact that there're many pre-coded drivers that simply needed some testing, or with semi- or fully-compatible initialization (many thanks to dcordes, Cotulla and the team))

Device Stage for HD2

Hello Guys,
I'm trying to do a device stage for the HD2, because I think the HD2 is not really good implanted and I want to change this.
The Device Stage is a feature of Windows 7 which bundles all the device informations and functions in one window.
Microsoft released recently a SDK and I got it and tried working a bit.
Now my problems:
First one is that I need the unique hardware id(s) of the HD2. I tried to get it but all I got is:
DOID:TCPIP\WINDOWS_MOBILE_DEVICE
DOID:USB\VID_0BB4&PID_0B40&REV_0000
DOID:USB\VID_0BB4&PID_0B40
The first ID isn't recognised at all and the second and last one do recognise the HD2, but like it seems not all features the phone is capable off.
Do you have infos or tips? Would help me a lot do get a device stage for us all
Below this my very first alpha of the device stage, like I said, just started and have to figure things out.

[Q] WP7 need to return to 6.5

Hi there, I am in a bit of a pickle and I do not know how to resolve the issue
I have recently been given an HTC HD2 by a family member. The phone is installed with WP7on the hard drive and Android on the SDcard.
Having used both systems for a couple of weeks neither of them are fit for purpose where the HD2 is concerned.
Android, albeit uses the correct phone buttons and is has the facility multiple settings, doesn't work the camera or video correctly and suffers from various elementary problems as it is not an OS native to the HD2.
WP7 won't sync to my computer and deletes emails from my server on deletion from the phone which gives me an even bigger problem. All in all, having read the WP6.5 users guide and many comments written about WP7 it would seem prudent to return to 6.5. A factory reset only returns me to WP7 so I don.t really know how to return the phone to its original state apart to send it back to HTC whoch will cost me lotts of dosh.
The computer will not see the phone through explorer and I do not have a reader to view and adjust the data on the mini sd card. I have read the advice given to others on the forum regarding this issue but I am afraid the terminology alone baffles me. I have dealt with computers for nearly 30 years but am totally unfamiliar with phone technology and how to configure the hardware.
Can someone please hold my hand and walk me through this minefield. This feels like my first meeting with 386 back in the 1970s. Give me an i5 to deal with any day.
Hope you guys can help..................Clive
Welcome to xda-developers,
First, you can run Android off your NAND using cLK (a bootloader) which makes your HD2 a "like" native Android device, you have to pick the perfect ROM of your choice. As for Windows Phone, you have to have Zune installed to sync your stuff, I also "assume" there is an option for not deleting e-mails from the server, only phone.
Second, reverting to Windows Mobile 6.5 is rather simple. if you want the stock ROM (the ROM that came with your device) just head over to htc, look for support and enter your serial number then download the ROM. After that turn off your phone then power it up while holding the volume down rocker. Then connect it through usb to your PC. Finally, Run the *.exe file you downloaded from htc.com . But if you want a custom Rom (preferred) then go here and pick your device (Tmobile or european), follow the instructions in the Rom you pick.
I hope this has helped and, please, enjoy your stay .
Additional Information:
After flashing, you need to change the format of your sd card's partion, because Windows Phone uses an unformatted partion for storing data, just switch that to FAT32 or NTFS and then format it.
And so it came to pass that Android and WP7 were cast aside and the old ways prevailed.
I would thank you from the bottom of my heart if I had one so instead I will simply say thank you.
It was the holding down of the rocker switch that did it. I had tried many times over 24 hours to get the phone to sync to the computer and was convinced that I never would achieve it.
Now I have a whole new phone to configure. Gone the clean minimalist look of WP7. Now I have settings and things to play with as I did in Android. The camera works in still and video settings and zooms as it should and all the buttons are in the right and proper order. I can see my file structure, cut and paste pretty well whatever I like with the aid of windows mobile device centre and have real menus on my email to sort out things from folder to folder. I formatted the 16 gig sd card and wiped away the last vestages of Android leaving me with a huge storage facility for pictures, I have at least 2 and music, I have an LP or 3. I know the human interface is a bit flashy and bright but I grew up in the 60s when everything was so, nothing wrong with a bit of bling.
The family member who very kindly gave me the HD2 said that WP6.5 was dead and suggested that I should only consider reinstalling it if I was going to sell the phone, instead It feels like someone has taken off the handcuffs and handed me a much more flexible bag of tools with which to organse my life. Maybe its a generational thing, I am over 60 and expect to be accorded choice.
I anticipate that I will find things on 6.5 which I don't like but as I have taken such a radical view of the advancing technology I will try not to bleat and cry about it and be content with what this system offers.
All I can do for now is thank you again, you have got me out of a real hole and I shall be an avid follower of this forum in the future as long as you don't tire of the naive questions I am likely to ask.
Kind regards to you all .............................Clive
Welcome to the forums, Clive!
Interesting, how views and taste can differ...
I purchased my HD2 with the express desire NOT to be on WM6.5. I found a perfect (in my view, of course) Android Nand ROM and could never be happier - everything works and perfectly well. In fact, I commented just last week how HTC were stupid not to go with Android as native OS for HD2 to begin with, seeing how flawlessly my toy works now as opposed to WM.
I am sorry to hear about your problems with Android and WP7, perhaps you might want to reconsider and give it another shot some time later? I'd recommend Android Nand, I feel WP7 still has some way to go.
I am not surprised by your comments about Android and if it had functioned correctly I would have been much more inclined to stay with that OS.
Whilst 6.5 gives me everything that I need and everything on the phone works I can see after using it for a couple of days now why many users moved away from it. Some of the screens are a little difficult to programme and the user interface is fiddly and over sensitive. All in all it is a bit outdated but on the up side everything works. I can't abide things that don't and neither WP7 or Andriod did, probably because of the way they were set up on the phone. Mind you, having just said that I am still of the mind that WP7 is absurdly cut back with little or no choice of settings.
I am advised that there a number of different Android ROMs and that if it a ROM of choice is installed to the NAND rather than the card then it will behave natively and the problems that I experienced with it dual booting from the SD card will not be present.
I must admit that my curiosity will probably get the better of me in due course and wild horses won't prevent me installing android on the NAND if only to see how it can operate when it is at its best.
I'm quite looking forward to that experience..........................Clive
hey, dont be fooled by the masses into thinking WM6.5 is any lesser OS than WP or android, its not, yeah it doesnt look as pretty, or run as smooth but the OS its self is a beast, it can do just about anything you throw at it and can be modified almost limitlessly, in most aspects apart from the UI its every bit as good as the newer OSs and in most cases better!
If i could dual boot WP and WM would be a very happy person and would happily pay someone to do it, as it is, i have two devices, one WP one WM
WM was great!!!
I agree, WM 6.5 was awesome! Believe or not I stuck with WM for 5 years on my beloved Blue Angel. From 2003 SE to 6.5.3. Actually, my last flashed rom was Helmi's build 2 years ago. I still have my Blue Angel. I passed up new phone after new phone until I finally decided to get an HD2. I love it just the same. WM has never given me any headaches or trouble since the last build on my Blue Angel and it now serves as my rock steady backup phone just in case my adventures on the HD2 goes awry. Shame about WM, but all good things come to an end. WP7 is a step back but its potential is sky high! Android is my filler until WP7 becomes ripe to eat with Mango! I too have a dual boot WP7 and Android. Love them both but WP7 is gonna be the one I'm looking forward to.
pharmeceutikle said:
I agree, WM 6.5 was awesome! Believe or not I stuck with WM for 5 years on my beloved Blue Angel. From 2003 SE to 6.5.3. Actually, my last flashed rom was Helmi's build 2 years ago. I still have my Blue Angel. I passed up new phone after new phone until I finally decided to get an HD2. I love it just the same. WM has never given me any headaches or trouble since the last build on my Blue Angel and it now serves as my rock steady backup phone just in case my adventures on the HD2 goes awry. Shame about WM, but all good things come to an end. WP7 is a step back but its potential is sky high! Android is my filler until WP7 becomes ripe to eat with Mango! I too have a dual boot WP7 and Android. Love them both but WP7 is gonna be the one I'm looking forward to.
Click to expand...
Click to collapse
ive still got my old Alpine kicking around, the Himilayer passed away a year ago , sadly they never did get WM6 working on the alpine so i have an old Touch HD doing the business side of things now

[Q] A way to adapt LK to Blackstone?

Hello all XDA community,
I've got an HTC Blackstone sleeping in my desk and I wondered if any possibilities could be considered to port LK on this device.
Indeed, this bootloader have received many improvements on HTC Leo and now this one can be assimilated as a "native Android device". And the most important thing, I think, is that it is open source.
So, any dev have already worked on it?
I've see that lk can be customized depending of the memory of the device in lk/target/<target_name>/atags.c such as the "startup.txt" of HaRET.
But I don't know exactly what is the compatibility of the MSM 7201A of the device with this bootloader.
I think there are a lot of modifications (screen, display, NAND type,...) to do for adapating lk but, like everything else, a start can be great
Thanks to all answer!
LK already works on the RHOD. (Still being refined, but does work).
A dev needs to pick up a Blackstone and work on porting from RHOD, it's pretty similar.
Or, as I already suggested, if someone has an extra (or unused) Blackstone, ACL will take it and in time should be able to port it pretty easily (in theory). He's working hard on RHOD right now, but I'm betting he would help Blackstone users if someone donated a device to him.
Food for thought.

Categories

Resources