yashsingh1/xdaforums huggingface dataset:
[Wing, P4350 ROM development] fzzyrn:
you would probably need a coder. I haven't read much about android, but you could probably port over WM6 drivers (depending on programming language?)
[Wing, P4350 ROM development] bodyman:
I don't think that that will work. I think that you need to start with the basic linux drivers and see if you can port them to mobile.

And yes, you would need a coder for that. And sorry to say, that isn't me. But, it t-mobile gets the diamond/whatever they're going to call it, I think that I will be first in line.
[Wing, P4350 ROM development] ivanmmj:
Perfect reason for an Just2Clean variant! lol
[Wing, P4350 ROM development] CommZ:
WM6 are hardly running on our 200 MHz OMAPs and you want to put another OS on top of it? Laughing out loud.
[Wing, P4350 ROM development] slimag:
are you serious? hardly running? its sometimes (quite often to be honest) faster than qualcomm 400mhz... (most of users are still believers of MHZ GOD... ).
[Wing, P4350 ROM development] CommZ:
I know how fast my machine is. It is often annoyingly slow.
[Wing, P4350 ROM development] fzzyrn:
these days, frequency doesn't matter as much as FSB does!

But anyway, you would definitely have to write your own drivers, which makes android porting more the responsibility of the manufacturer than of the end user
[Wing, P4350 ROM development] ivanmmj:
It's not the RAM. I cleared up 25MB and I'm still getting the same issue.

I've noticed that sometimes when I softreset after the screen goes white, I can see the boot text for a split second.
[Wing, P4350 ROM development] darkstar62:
I've got something I'd like you all to try posted under the bug for the white screen problem:

https://apps.sourceforge.net/trac/wing-linux/ticket/1#comment:3

Please give it a go and post back there with your results. I'd like to start moving the conversation there more, so we have a good cohesive record of all we've tried.

Thanks

- d
[Wing, P4350 ROM development] Fenopy:
log posted :)

i dont really know how to debug linux, but with my programming experience, i dont really see an error in there... but maybe you can compare it to your own logs...
[Wing, P4350 ROM development] ivanmmj:
Posted as a reply on that page.
[Wing, P4350 ROM development] darkstar62:
...and replied back. :) Shall we continue this discussion there?

- d
[Wing, P4350 ROM development] ivanmmj:
Definitively.
[Wing, P4350 ROM development] quicksite:
just an FYI video: FIRST LOOK, hands on with new HTC MAGIC (on Android)

VIEW YouTube Video: from SlashGear

from androidcommunity.com, today, Feb 17, 2009:
[Wing, P4350 ROM development] N3xt2N0N3:
Updated Post #4 as Current Status.

Can anyone take photos of the boot up?
[Wing, P4350 ROM development] ivanmmj:
I talked to dzo and his initrd is open source. He basically just took the Android initrd and added a couple of scripts to set up the modem and mount the filesystem from the card. (Instead of having to partition the card.)
[Wing, P4350 ROM development] darkstar62:
Sweet. We're making progress with the white-screen issue too.

N3xt2N0N3: I'd take some, but my camera is acting up on me... :(
[Wing, P4350 ROM development] MVrah:
volume key

thanx for this i press the keys and the volume, camera,and the home key seems to work but they display a sorry message say activity home(in process ...... and the force close / wait. and also when the screen reload the clock tends to change

i think will have android run well very quickly
[Wing, P4350 ROM development] mpc8248:
Hello developers !

I tryed it on the prophet but the kernel couldn't mount /dev/mmcblk0p3 .. I formatted a SD and a MMC ..always the same... kernel could find filesystem. Is there such a difference between herald and prophet ? I thought the serial interface is part of SoC from omap850. Flash and RAM size is the same. Can anyone give me the make menuconfig files for herald default setup ?

where can i download the toolchain for export CROSS_COMPILE= ? and export ARCH= ? for this ARM9

At the moment i do svn co https://wing-linux.svn.sourceforge.net/svnroot/wing-linux wing-linux ...
[Wing, P4350 ROM development] darkstar62:
I've been using a toolchain I built using OpenEmbedded (http://www.openembedded.org). There's other toolchains you can get too, like CodeSourcery's ARM toolchain:

http://www.codesourcery.com/sgpp/lite/arm/portal/subscription?@template=lite

(Get the EABI one.) Once you have that, you can get the default herald config with:

make ARCH=arm htcherald_defconfig

Then you can go straight to building, or modify the config as you please.

As to the memory card issue...If you partitioned your card like it states in the INSTALL file, it should work...Take a look at the output next time you boot. You should see a line akin to:

p1 p2 p3

If you see that, it's finding all the partitions on the card. If instead you get a lot of MMC timeout errors, you'll need to reboot. I've particularly had problems booting when WIFI is enabled, so make sure that's disabled before you boot. Not sure how different the two phones are, but I would think with an OMAP850, the SD card controllers would be the same. Since you're getting that far, it seems likely that you'll have luck with that.

Good luck.
[Wing, P4350 ROM development] apathetic:
Use Asergs remove hardspl it is the ONLY one that worked on 3 wings for me.
[Wing, P4350 ROM development] ivanmmj:
I haven't heard from darkstar62 in over a week...:(
[Wing, P4350 ROM development] darkstar62:
I'm still here. :) Things just slowed down a bit. Getting the development and testing environment assembled is proving harder than I was hoping, and I've found myself with less free time lately.

My end goal is to be able to build a distro (Wing Linux I'm calling it) using OpenEmbedded that can be copied straight to our phones and booted, with software for debugging, launching Android, etc. I've so far got all the apps compiling, but assembling the image is failing.

Hopefully something will happen soon -- don't lose hope, I haven't stopped working on it :) I'd be glad to share what I've got if someone would like to pick up this part too -- just a few extra build recipes and a config file addition to the development OE distribution. Check out http://www.openembedded.org if you're interested in that, and lemme know -- I'll pass what I have along.

- d
[Wing, P4350 ROM development] chymnon:
Thanks you, darkstar62. Keep going ^ ^
[Wing, P4350 ROM development] Black Hawk90:
Any Updates?
[Wing, P4350 ROM development] darkstar62:
Nothing yet. I'm attempting to compile the Ångstrom distribution with our kernel. It's a much more feature-rich Linux distribution for mobile devices, and it should afford us most everything we need to debug.

Also, it has Opie, which is a rather nice graphical touchscreen interface. Not android, but still useful.

Just need to get some time...maybe this weekend.

- d
[Wing, P4350 ROM development] quicksite:
darkstar -- and all developers on this project -- I find all of this so inspiring, the sheer determination to make this work, and the slow-but-sure chipping away daily the various roadblocks and obstacles. This is the software entrepreneurial spirit I love to see; it's like artists and musicians at work.

I'm NOT a developer (am a usability/ information designer), but I would like to make a donation to your, darkstar, as a little contribution. Please tell me where to send a paypal donation.

Thank you,

/quicksite
[Wing, P4350 ROM development] darkstar62:
I'm happy to do what I can, and I echo the sentiment towards everyone who's helped get us this far. I have a passion for Linux, so getting it running on our phones is just icing on the cake. :) Being able to release our work back to the community makes it all that much better.

There's a donate button on the wing-linux homepage (http://wing-linux.sourceforge.net) that you can use. Some of your donation goes to Sourceforge to help maintain their site, so I would highly recommend you go that route, since they're providing us with a free service.

Your contribution is much appreciated. It'll help keep the project rolling along. :)
[Wing, P4350 ROM development] ivanmmj:
I'm not sure what I'm doing wrong (I'm gonna redo everything from scratch) but it won't boot with either kernel (It doesn't let me log in and reboot the system from the white screen OR ssh to it.)
[Wing, P4350 ROM development] darkstar62:
Angstrom boots into a graphical environment by default, so the normal log-in and reboot blind won't work in that case.

You can try changing the "init=" parameter to "init=/sbin/sh" to the beginning of your CMDLINE in the default.txt file -- that instructs it to boot to emergency console mode. You should be able then to type "reboot" to directly reboot (no log-in necessary that way). If you want to then use the USB, you'll need to reboot and change the init= parameter back to what it was ("init=/sbin/init").

Lemme know if that doesn't work. Angstrom takes a bit longer to start up than the other system, so you may have to wait a while before the USB will become functional.
[Wing, P4350 ROM development] xsdx:
I have the same issue.. neither kernel will boot with the new root fs.

I have waited quite a while and USB is active, but it doesn't respond to pings nor does ssh ever become active...

am I missing something?
[Wing, P4350 ROM development] darkstar62:
OK, I guess something weird is going on with the image...

New plan: Try this kernel:

http://dl.getdropbox.com/u/198699/linux_wing/zImage20

You need to change your MTYPE to 1232 to use it -- I've created new machine configurations for us now, so we get our own number.

This kernel includes automatic resets for the I2C bus to set it to what I was hoping to accomplish with the other commands. Angstrom may still not boot with it, but at least we'll know if the resets accomplish bringing back a usable screen. It also includes other goodies like LED support and backlight controls.

Lemme know how that works.

- d
[Wing, P4350 ROM development] xsdx:
I get the same thing with this kernel and the mtype changed as mentioned.

Just to be clear, the kernel IS booting but a shell is never spawned. I see the penguin, the screen fades to white, flashes to black and the kernel text scrolls across the screen. its too fast to read but the final text shown is:

and when I plug in my usb cable:

The device doesnt' respond to anything when i press buttons on the keypad and requires a reset to get it back. I have re-formatted my root partition a couple of times to make sure everything was set up right and untarred the root tarball in place.
[Wing, P4350 ROM development] ivanmmj:
With which root file system am I supposed to run this? The original, the Android or the Armstrong?
[Wing, P4350 ROM development] darkstar62:
Ack, I'm stupid! I forgot to include the /bin directory in the distribution...No wonder it isn't working for anyone!

@xsdx: Thanks a lot for that -- would've been a lot harder to debug (unless I tried it on my own phone...oops!)

I've attached the bin directory -- it's a zip file that contains a tar.gz file (the board won't let me upload a .tar.gz, and I can't get to my Dropbox account from work anymore :(). Untar that to your SD card over top of what's already there. Things should start working after that.

Remember to use "sudo" to untar as root, so permissions are maintained.

- d
[Wing, P4350 ROM development] darkstar62:
Doesn't much matter -- what I'm looking to see is that after a second or two in the kernel, the framebuffer is restored. If you can read a kernel panic from not being able to boot the root filesystem, that's an improvement. Then you can use whatever filesystem you want to and things should be good.

If you say stuck at whitescreen, we've still got work to do.

- d
[Wing, P4350 ROM development] xsdx:
Thanks! I don't have a linux machine to do this at work so I will try it later tonight and let you know.
[Wing, P4350 ROM development] ivanmmj:
Ok, so after setting up the bin, I can finally get SOME sort of aknowledgement from my laptop that the phone exists.

But when I try to SSH to it, I get the following:

EDIT: Nevermind, my fault. I fixed that easily enough.

Now off to test.
[Wing, P4350 ROM development] ivanmmj:
Now I always get:

Warning - write failed

Warning - data mismatch - wrote 0x01, read back 0xff

And although I can control the dimming and the screen stopped making a high pitch noise, it's still white.

I'm going to try the newer kernel you released.
[Wing, P4350 ROM development] darkstar62:
Yeah, those warnings are normal. The chips don't behave quite like i2cset is expecting.

I didn't know you were hearing high-pitched noises...crazy

- d
[Wing, P4350 ROM development] ivanmmj:
I'm still seeing a white screen. I can control the backlighting, and the high pitch noise is back to normal (the level you would hear in windows) and I can SSH to it, but I still have a white screen with both the 11 and 20 kernels.
[Wing, P4350 ROM development] darkstar62:
OK, try these commands:

i2cset -y 1 0x3 0x84 0x01
i2cset -y 1 0x3 0x04 0x01
i2cset -y 1 0x4 0x0e 0x01
i2cset -y 1 0x4 0x1e 0x01
i2cset -y 1 0x4 0x4e 0x01
i2cset -y 1 0x4 0x5e 0x01
i2cset -y 1 0x4 0x9e 0x01
i2cset -y 1 0x4 0xce 0x01
i2cset -y 1 0x4 0xde 0x01
i2cset -y 1 0x5 0x00 0x01
i2cset -y 1 0x5 0x80 0x01
i2cset -y 1 0x5 0x01 0x01
i2cset -y 1 0x5 0x81 0x01
i2cset -y 1 0x6 0x00 0x01
i2cset -y 1 0x6 0x01 0x01
i2cset -y 1 0x6 0x03 0x01
i2cset -y 1 0x6 0x23 0x01
i2cset -y 1 0x6 0x63 0x01
i2cset -y 1 0x6 0xa3 0x01
i2cset -y 1 0x6 0xe3 0x01

These toggle all the unknown bits in various combinations on all the chips. Maybe one of them has an effect on your phone. You can do this with either kernel.

- d
[Wing, P4350 ROM development] ivanmmj:
None of them did. :-/
[Wing, P4350 ROM development] darkstar62:
Alright...I think that's about as far as I'm going to be able to get without my build environment handy. I want to try the other video mode I added a while back with all these commands, but I'll need to build a new kernel for that.

I'll post back later when I've got that.

- d
[Wing, P4350 ROM development] darkstar62:
This may sound totally random, but can you try booting with flight-mode turned on? I saw a thread where that worked for some with an elfin.

- d
[Wing, P4350 ROM development] ivanmmj:
I'll try it as soon as I get a working phone again. (Working on JustStable and flashed a bad flash.)
[Wing, P4350 ROM development] xsdx:
Replacing the bin directory allows me to boot. That new gui is interesting.. :) Reminds me of the OLLLD palm devices where everything was over simplistic.

I can start android via SSH, but still have the same issue I always got which is where the UI (in android) doesn't update. Someone mentioned a few pages back that if you play with the volume control, it will slightly update but will never consistantly respond realtime.. :)
[Wing, P4350 ROM development] darkstar62:
Just thought I'd give everyone an update, since I've been on hiatus for a little bit. Things are moving slowly now -- we're in the midst of a move, so I haven't had much time to devote to this lately. We should be all moved in in a couple of weeks, so hopefully I'll have more time to devote to this after that.

I'll keep you posted :)

- d
[Wing, P4350 ROM development] N3xt2N0N3:
updated post #2 with the dream_ruu
[Wing, P4350 ROM development] Saew:
This is fantastic :D I'll finally be able to rid myself of Windoze Mobile!

I've installed this on my Herald and I'm correct in remarking making any calls or sending messages doesn't work yet, does it? Or is there something wrong with my phone?

In any case, I'm looking forward to darkstar having finished moving or to someone being able to give him a hand ^^
[Wing, P4350 ROM development] darkstar62:
You're correct, phone calls and network access of any kind right now don't work. You can get internet through it if you do so through the USB network connection, but it's a bit difficult to set up and far from optimal.

I'm going to try and assemble the kernels and root images I've put together so far into a release (0.2). It should support a bunch of new things, like LED / backlight support. Still no love for those having problems with white screen, but we're getting there.

How is your installation working? Can you get into Android? (More importantly, does your display go white or can you still see it as it boots?)

- d
[Wing, P4350 ROM development] Saew:
Wow, that was a quick response ^^

So far I've only tried Angström (with the accent on the a as well, yes ^^) but right now I don't have anything with me to access my phone to change it to Android :) What are the files I need for Android again? Is it the linux installation that I need to change?

I -was- having a lot of problems booting Angstrom as well, but that was because I made several mistakes during the installation of it all ^^;

Cheers
[Wing, P4350 ROM development] darkstar62:
All you need for Android is the /android directory from one of the images (I think the Angstrom image I posted has that too), and the runAndroid script (also I think included). From within Angstrom, start up the terminal and run "runAndroid"...I think that's the one. Might be runAndroid.sh or runandroid (or any combination of those :)) Been too long since I messed with it. You managed to get the nice graphical interface of Angstrom up, right?

- d
[Wing, P4350 ROM development] darkstar62:
Oops, should be "startAndroid", not "runAndroid" (just checked on my own installation).

- d
[Wing, P4350 ROM development] neoobs:
Just curious have you looked at the Orange RUU for Android?
[Wing, P4350 ROM development] darkstar62:
Can't say I have. I wasn't aware of such a beast. Do you have a link?

- d
[Wing, P4350 ROM development] neoobs:
Sure thing, here it is http://android.smartphonefrance.inf...range_FR_1.58.73.2_test_signed_WithDriver.exe

I am not sure if it will work, but it could help in the future.
[Wing, P4350 ROM development] ivanmmj:
That's for the HTC Dream. You can always just pull the source code of Android's 1.5 cupcake instead.

If we just had the drivers... Have you tried talking to the wonderful minds over at the dream development forum? JesusFreke, Haykuro and theDude are great at this stuff, but the issue of drivers still stands...
[Wing, P4350 ROM development] darkstar62:
Indeed, the drivers are our biggest issue. Given that the Dream is a completely different machine than our wings, I doubt any of their driver settings will help us. The Android system in the ROM image may though, if for nothing else but as a reference for what we should be shooting for in a working system. Who knows, we may actually even be able to use some of it (Android is written in Java, afterall).

Trying Cupcake 1.5 is probably our best bet though -- might even be able to get the touch screen working with that.

- d
[Wing, P4350 ROM development] darkstar62:
Wing Linux 0.2 Out!

Whee! Wing Linux 0.2 is out! Go and get it here:

http://wing-linux.sf.net

- d
[Wing, P4350 ROM development] Saew:
Oh! I didn't notice Android was already there! And yes it works... in a way... I get the graphical interface, but then it seems to freeze up.

But then again, I should try with 0.2 ^^

Wuh? Oh, that makes everything a lot more interesting for me! Even though I've only had one year of IT classes, I shall have a fiddle with it. Or at least have a look at it ^^

*downloads Wing Linux 0.2*

Edit: Ahh... right.. I don't have anything with me to access my microsd card...

Edit2: Is it okay to use haret 0.5.2 rather than 0.5.1?
[Wing, P4350 ROM development] apreichner:
I don't think this will help anything, but I do remember a project I used once on Linux Desktop called ndiswrapper which allowed it to use Windows network drivers in Linux. Perhaps this could be modified in some way to support Windows Mobile drivers and run on the Mobile Linux environment, maybe for the wifi... Just a random thought...

I wonder if emailing HTC support and asking what chipset goes in the T-Mobile Wing would work... :)

EDIT:

Okay I emailed them to ask Customer Support.

:D :D :D
[Wing, P4350 ROM development] darkstar62:
Should work just fine. I only included 0.5.1 because that's what I happen to be on.

How does it freeze? The touchscreen should work there (don't use the directional buttons yet, there's a bug in the driver code that causes the system to freeze when they're used).

Nice, it'll be interesting to see what they say. I think it's all built in to the omap850 (I think the wizard is like that), but I could be wrong. :)

- d
[Wing, P4350 ROM development] ivanmmj:
It is. It's an Omap850 which means that its core is:

ARM926TEJ (which has the ARM5TEJ execution set.)

Actually, here is all its info.
[Wing, P4350 ROM development] expone:
Now, it seem to be work...

After Android boot, the desktop is showing. After a short duration, android display a message, that the calendar (com.android.calendar) is not responding.

I don't know, wether the surface is frozen or there is no keyboard / touchscreen support.

Is there a possible to interact with android surface? Directly via Herald or perhaps with vnc?
[Wing, P4350 ROM development] expone:
UPDATE: It seems to be that the surface is frozen.

Communication via SSH is no more possible. Soft reset necessary.

Is it possible to manipulate Android "Autostarts" like calendar?
[Wing, P4350 ROM development] darkstar62:
Yeah, the touchscreen isn't responsive in Android right now. If you hit Enter, it'll open and close the drawer, but that's about it.

Also, don't use the direction keys (or the D-pad), as that will freeze your phone. There's a problem with the driver code for those buttons, and it causes a kernel crash.

As for the autostarts, I donno, haven't tried.

- d
[Wing, P4350 ROM development] apreichner:
Alright so I got a reply from HTC, but I have a feeling it was some auto-reply, here's what it says...

I had a good laugh at that line I put in bold-face. Because it is definitely VERY important for a consumer to know what wireless chipset and bluetooth chipset goes into their device. I mean I thought that was a no-brainer thing to advertise, duh. :)
[Wing, P4350 ROM development] darkstar62:
That's hilarious! Yeah, every customer should know what chipsets are in their phone. :) It'll be interesting to see if they get back to you and what they say. I'm really hoping we get some details on the wifi, bluetooth, and sound drivers especially, since I haven't the slightest idea what those are (though wifi and bluetooth are part of the omap850, as is sound...just not sure if Linux has drivers for them or not). Good times!

- d
[Wing, P4350 ROM development] N3xt2N0N3:
Yeah we should base it off of 1.5 and i will ask haykuro.

One question what is the HTC Magic chipset? Is it the same as the HTC Dream?
[Wing, P4350 ROM development] ivanmmj:
The HTC Magic, the HTC Dream, the HTC Diamond, the HTC Touch Pro, and a lot of other newer HTC devices share the same chip set.

The Qualcomm MSM 7201A 528 MHz
[Wing, P4350 ROM development] apreichner:
Well, to my surprise i received a reply from HTC Support. Here's what it says:

Oh too bad, and for a bit I thought maybe they would actually tell me... Oh well... Think I should file a complaint?
[Wing, P4350 ROM development] ivanmmj:
One big note is that the HTC Dream and HTC Magic (as well as every other phone that has a working version of Android) is not only similar in the chipset, but has the ARM6 instruction set while our phones only have the ARM5jte instruction set.
[Wing, P4350 ROM development] darkstar62:
Can't say I'm too surprised, they probably consider that proprietary information. Thanks for trying though.

Some quick updates for everyone...Android 1.5 (cupcake) works, and boots much faster than the 1.0 release. I had to do some sensor fooling, as without a working battery sensor, 1.5 tries to immediately turn off the phone. But with that in place, all seems well.

Also, i've made some progress getting the touchscreen to work. Android can now detect events and respond to pendown and penup. But for now it's only getting position at 0x0 (upper-left corner). Need to do more work to figure that one out.

- d
[Wing, P4350 ROM development] expone:
Is this current work checked in to svn?

Where can I find it?