yashsingh1/xdaforums huggingface dataset:
[Hero, G2 Touch Android Development] qpop:
Hello, a quick fix for MoDaCos 1.3 patch if you can't get wifi working:

It's not actually the wifi that doesnt work its getting an IP from DHCP...

If you assign a static IP to your Hero it will connect just fine.

So, from your LAN connected computer open a command prompt

(in Windows XP/2000/Vista/Seven hit windows key + r and type cmd)

Now type ipconfig

You should get...

Wireless LAN adapter Wireless Network Connection:

Connection-specific DNS Suffix . :

Link-local IPv6 Address . . . . . : fe80::2537:f86e:d816:589c%11

IPv4 Address. . . . . . . . . . . : 192.168.1.101

Subnet Mask . . . . . . . . . . . : 255.255.255.0

Default Gateway . . . . . . . . . : 192.168.1.1

Or something similar...

Now on your Hero go to

Settings -> Wireless Controls -> Wi-Fi settings

Hit the menu key and then Advanced

Scroll down to IP settings and tick the "Use static IP" box.

Enter IP adress...

In my case as my PC's IP address is 192.168.1.101 I must use the range 192.168.1.* so enter a random number to replace * ie:

192.168.1.123

Now set the gateway IP to whatever your "default gateway" appears in your command prompt. In my case 192.168.1.1

Now set Netmask to the same as the "subnet mask" in the command prompt,

in my case: 255.255.255.0

Now with DNS 1 and DNS 2 you have 2 options:

1) Use your routers DHCP settings (not sure if this works I haven't tried)

so set the DNS server to the same IP as the gateway (in my case 192.168.1.1)

2) KNOWN TO WORK! Set the DNS servers to a company like opendns.com:

DNS1: 208.67.222.222

DNS2: 208.67.220.220

Et Voila....You now have working wifi!

Cheers.
[Hero, G2 Touch Android Development] kiz:
If your PC is *.101, it probably means your DHCP pool starts at 100. I would not recommend assigning static IPs in the same region as your DHCP pool as this could potentially cause a collision if another client was already assigned .123. Choosing a number less than 100 would be advisable. :)
[Hero, G2 Touch Android Development] paulobrien:
See above, no need to do this!

P
[Hero, G2 Touch Android Development] Dayzee:
Paul my wifi isn't a problem here at home, but do you think that is because I had a static IP anyway (as above) If I do the above, will I mess up a working wifi? I'm thinking that I might get wifi issues if I'm out and about so should solve it anyway....

Dayz
[Hero, G2 Touch Android Development] norao:
E;Failure at line 3:
[Hero, G2 Touch Android Development] paulobrien:
Dayzee, this will fix DHCP, so it's a good idea to do it! Shouldn't affect your static WiFi at home!

P
[Hero, G2 Touch Android Development] Dayzee:
I had a go, figured I have a nandroid anyway from before.

All fine and dandy on mine until this line

chmod 755 dhcpcd-hooks

I get "cannot chmod 755 dhcpcd-hooks no such file or directory

Double screwed - not got the wifi problem (as far as I can see at home) and can't do the solution ;) LOL

Dayz
[Hero, G2 Touch Android Development] paulobrien:
Oops, added me a little 'cd dhcpcd' in the instructions! ;)

P
[Hero, G2 Touch Android Development] Dayzee:
Sorted - went thru with no error messages and I erm STILL have wifi!! LOL

So that's nice.

I wiped the quoted wrong instructions from my post so as not to confuse - Ta Paul.

Glad you guys speak and understand full Android, not the phonetic parrot speaking with no understanding that I do....

Dayz xx
[Hero, G2 Touch Android Development] qpop:
Paul, sorted 100% thanks!
[Hero, G2 Touch Android Development] spiderman_anhvu:
I have a brand new HTC Hero and it is unrooted, of course! Should I root my Hero using Modaco Patch 1.4!? Does it make my wifi stop working like 1.3? Any one give me a comment? thank you.
[Hero, G2 Touch Android Development] deeren:
There is no prob now. patch 1.4 is working without any problem. users with patch 1.3 had some wifi probs at the beginning but paul fixed that up already so u dont have to worry . Cheers !!!
[Hero, G2 Touch Android Development] spiderman_anhvu:
In case my Hero meet some problem with the getting root. And there is no way to fix at this moment. So, how can i roll back my hero to the orginal state?
[Touch HD General] bigmaz:
Hi

I have been encoding videos with the HTC encoder to watch on my Touch HD. Fantastic encoder. Only thing is, some video's are quite quiet, and hard to hear. I would accept that it just depends on the volume of the original .avi file, but it happens when i encode DVD files ripped straight from the original DVD. Has anyone else had this problem? If there is not a solution with the encoder itself, is there any way i can increase the normal Touch volume, or even re-encode the encoded MP4 video to adjust the volume?

Thanks in advance guys

Bigmaz
[Touch HD General] bigmaz:
Anyone got any suggestion? :confused:
[Windows Mobile Development and Hacking General] Draque:the_Plaque:
HARDWARE COMPASS IN ALL HTC DEVICES WITH THE AK8976A CHIP?!?!

As said by some (tuxhero for example => here) ,the Touch HD has a real hardware compass inside waiting to be activated by some clever dev.

If you are such a dev here is some bounty for you as a little encuragement.

Goal:

Build a little proof of concept application (for winmo) and open the sources for all xda devs.

As for the bounty:

050$ Draque:the_Plaque

050$ maati + additionl 100$ if it works in google maps. (But only if released before the HTC Leo

050$ tids2k

050$ LC40

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

200$
[Windows Mobile Development and Hacking General] Draque:the_Plaque:
reserved for more
[Windows Mobile Development and Hacking General] tuxhero:
It's nice but i am not sure. Please don't go on my words. Some one said that me and i said it to you. No real Proofs.
[Windows Mobile Development and Hacking General] THE GRIZZ:
i thought the new Samsung OmniaII/pro was the only WM devices that has hardware for a digital compass

in the dailer press *#0*#

what other devices has this
[Windows Mobile Development and Hacking General] THE GRIZZ:
it might be worthwhile to extract the compass application from the omnia2 rom dump for testing purposes
[Windows Mobile Development and Hacking General] Draque:the_Plaque:
Is this screen from the omnia2 or pro?

And is this a test app from microsoft?
[Windows Mobile Development and Hacking General] burning snow:
It doesn't work on my HTC Touch HD.
[Windows Mobile Development and Hacking General] Da_G:
Hi, there is a test app that comes with the HTC Debug Tools set for this compass, some time ago I analyzed it and determined that it was likely present in the hardware, but I have never gotten it to function on my Raphael.

Lacking an HD device to test with, I can't say if it works there, but I can provide the app :) I will attach it shortly.
[Windows Mobile Development and Hacking General] mike2nl:
About the AK7986A sensor.

In the test application under help:

AKEMD 2007 (name and year is viewed)

Link to the webpage:

http://www.akemd-eu.com/smart_sensor_system/e_compass/index.html
[Windows Mobile Development and Hacking General] lambstone:
The app is not signed.
[Windows Mobile Development and Hacking General] Vesperial:
Da_G, i just tried on my HD the soft you shared to us;

-open and close seem to be ok but nothing happens

if you choose to re-open without closing before it will give this logical error:board already connected.

edit:

-init, start and stop give this logical error without open : board not found

-init, start and stop give this logical error with open : board already connected

So the soft is probably ok but for our HD we need to use the good input/output in the dll
[Windows Mobile Development and Hacking General] chalid:
You have to copy the DDLs to Windows folder. However, "init" or "start" from the menu only brings up an error message "The board is not connected". Some graphical glitches as well ... seems to be made for QVGA.
[Windows Mobile Development and Hacking General] IceEyz:
So with a small possibility that Layar (3.0 ?) will come to Windows Mobile based phones, we really need a working compass for that to work.

Anyone still working on this? Would be a great addition for all our HTC devices!

Ps. For those who don't know Layar yet; it's an Augmented Reality app for Android and soon iPhone 3.0. Go visit http://layar.eu/ and think of trading WM for Android ;).
[Windows Mobile Development and Hacking General] oltp:
Same happens on a Rhodium, would be very nice to have it working.
[Windows Mobile Development and Hacking General] stepw:
It needs a device called ECS1:, this driver is not present on Touch HD.
[Windows Mobile Development and Hacking General] shamus:
Maybe first we should check if any of new WM devices actually have AKM chip inside?
[Windows Mobile Development and Hacking General] maati:
Does Windows Mobile provide any kind of a compass API? How difficult would it be to write a program like Layar or Wikitude or build compass support into Google Maps?

I'm thinking about buying an Omnia II or waiting for the HTC Leo, both should probably have the compass hardware, but how about any apps that use the compass? How long do you think it will take until we see an augmented reality apps for Windows Mobile?
[Windows Mobile Development and Hacking General] Draque:the_Plaque:
Does anyone know which compass is used in the htc polaris?

Ar are the cab files for the polaris hw compass available by chance?

btw: if anyone wants to raise the bounty for this project just pm me or write it directly into the thread.
[Windows Mobile Development and Hacking General] Da_G:
I did some more research into this, I am working with a driver for this for raph right now..

Let's see what I can come up with :)
[Windows Mobile Development and Hacking General] gizhola:
Awesome! Thanks Da_G. Keep us posted.
[Windows Mobile Development and Hacking General] Da_G:
Here's the driver (ECS.dll) and the registry settings to load it (DCompass.reg)

the app talks to this driver when both g-sensor driver (which also uses ECS1:) and dcompass driver are loaded, but it doesn't seem to communicate when only one is loaded. Seemed to work with g-sensor on ECS0: and dcompass on ECS1:

oh, and the g-sensor was not working when the dcompass driver was loaded.

Yar the banditos!
[Windows Mobile Development and Hacking General] lambstone:
So does this mean you got the compass to work?
[Windows Mobile Development and Hacking General] fards:
no different on HD I'm afraid. Same results as before.
[Windows Mobile Development and Hacking General] Da_G:
did you check to see if the driver is loaded in the active registry key? did you make it load on ECS1:? did you move g-sensor to ECS0:?

I get different errors when the driver is loaded than when it's not, things like "board is already connected"...
[Windows Mobile Development and Hacking General] ktemkin:
Just wanted to share a problem:

The system-in-a-chip IC that contains the accelerometer and triaxial compass uses the Hall Effect (wikipedia) to determine the polarity of the earth's magnetic field. Earth's magnetic field is detected using three neutrally-charged metal plates, each placed perpendicularly to each other. As the magnetic field passes through the plates, it creates a small, temporary potential gradient, or voltage. This voltage can then be measured using a A-to-D converter and utilized to determine the plate's position in the earth's magnetic field.

However, the sensor IC in these devices is placed within a large mass of internal circuitry- many of which produce small electric/magnetic fields of their own. As the earth's magnetic field is weak at best, the inductive fields provided by these components will almost certainly interfere with the correct operation of the internal compass.

Hence, even if compass drivers are developed, the compass might not point north.
[Windows Mobile Development and Hacking General] lambstone:
What about those devices that already have the compass in built like the HTC hero? The same problem should then theoretically exist. But they don't (not for the hero). So I'm guessing there would be a default work around for it.
[Windows Mobile Development and Hacking General] ktemkin:
I believe devices like the Hero or iPhone 3GS actually have the compass both shielded from interference (in hardware) and situated towards the device edge, away from interference.
[Windows Mobile Development and Hacking General] fards:
no I didnt it was late last night ;)

I can get the "board not connected" "board already connected" when pressing open twice eitehr using the dll or not.

I'll check the reg now.
[Windows Mobile Development and Hacking General] kosmodisk:
should i make some backup before using the regkey? i´m going to try it on diamond, i think he has very similar hw to G1 so there could be the compass chip...
[Windows Mobile Development and Hacking General] NeoS:
Now this is interesting. I thought the MSM7201A chipset didn't have such a hardware feature... I hope i'm wrong about that. Da_G, did you actually gat any

results?

edit: guess i was wrong: http://www.ilsole24ore.com/fc?cmd=d...cellulari/iphone/scheda-Htc-Magic.pdf?cmd=art

:)
[Windows Mobile Development and Hacking General] IceEyz:
I don't think the MSM7201A chipset has anything to do with it; I thought we we're talking on the AK8976A chip, that combines Accelerometer functionality with a Digital Compass.

The funny thing is, it seems noone has ever disassembled a Diamond, Pro or HD enough to bits and pieces, to possibly identify the actual hardware. We should try HTC themselves for an answer. They answered the TV-Out-question on the HD as well.
[Windows Mobile Development and Hacking General] gizhola:
I could not get this working on my Touch Pro 2. Same result as before.
[Windows Mobile Development and Hacking General] stepw:
It's unlikely that AK8xxx ICs are used in last year's HTC devices.

AFAIK, Kionix KXSD9 Series accelerometers are used in Diamond and HD.

See http://www2.electronicproducts.com/HTC_Diamond_P3700-whatsinside_text-73.aspx

There are some ICs that could not be identified by the people who disassembled the devices. Check out www.phonewreck.com.
[Windows Mobile Development and Hacking General] NeoS:
Is anyone looking into this actually?
[Windows Mobile Development and Hacking General] kniller:
At least in my HTC Magic, baught 2 weeks ago, has an AK8976A on board.

following code snipped:

List<Sensor> li = mSensorManager.getSensorList(Sensor.TYPE_ALL);

Iterator it = li.iterator();

int k = 1;

while(it.hasNext()){

Sensor sen = (Sensor)it.next();

sLog = String.format("s%d %s",k,sen.getName());

canvas.drawText(sLog,1.0f,fTop+(k*10.0f),paint);

k++;

}

prduced following listing:

s1 AK8976A 3-axis Accelerometer

s2 AK8976A 3-axis Magnetic field sensor

s3 AK8976A Orientation sensor

s4 AK8976A Temperature sensor

regards Werner
[Windows Mobile Development and Hacking General] jahooyao:
Would you mind post your program here? Then i can test it on my Blackstone.
[Windows Mobile Development and Hacking General] Heiksta:
i have tested it, shows quite strange behavior:

The File and [second, unreadable] Labels on top are scrambled with dots of random color, the compass is top-left quarter of the screen only.

When driver is not running the app starts and the menu toggles "Init" and "Start" give a "The Board is not connected" error. Compass doesnt move (obviously)

When the driver is supposed to be running (regentries done by hand, my regeditor reports the .reg file to be corrupt, so i opened it with an editor) the "File" And [dunno] menus do not work and the compass does not move. But the little editingbox at the bottom can still be edited (what is it good for?)

For confirmation, this are the three regedits i did.

in [HKLM\Drivers\BuiltIn\ECS] i created:

DLL - String with "ECS.dll" (without ")

Index - DWord with "1" (without ")

Prefix - String with "ECS" (without ")

I use an O2 Germany Branded Touch Pro (which afaik is stock TP apart from casing) with EnergyRom wm6.5 23016 "Warhawk". Both states are reproducable.

edit: just tested it with gsensor moved to ECS:0... Testing tools is runnung with functioning menus, giving "the board is not connected" errors
[Windows Mobile Development and Hacking General] jahooyao:
I mean to test kniller's code on Blackstone;

Then we can confirm it has AK8976A hardware or not.
[Windows Mobile Development and Hacking General] stepw:
It's using Android specific APIs that aren't exposed in WinMo.
[Windows Mobile Development and Hacking General] Cythrelo:
I just gave this a shot on my Telus HTC Touch Diamond. With the drivers loaded, I hit File> Open, then File> Init and got a blank messagebox with the title "Error". That's about it. :(
[Windows Mobile Development and Hacking General] purec0de:
so anyone tried booting android in haret and testing... or do that oclude low level hardware/api visibility?
[Windows Mobile Development and Hacking General] NeoS:
No one has been able to run Android bugless yet on HD, let alone that they could test the compass feature...
[Windows Mobile Development and Hacking General] rmcsilva:
Any news about this? Thanks.
[Windows Mobile Development and Hacking General] NeoMatrixJR:
What's the process to get this code to run?

Save as ? compile? can you give a step-by-step to get this to run?
[Touch Diamond, MDA Compact IV ROM Development] Snowgay:
Hi, sorry if there is any thread that already is about a german win 6.5 rom

but i was not able to finde it.

So there is my problem. I have found a german version of tf3d2

but i ned the german rom of the new win mobile.

can anybody help me?

thx

Snow
[Touch Diamond, MDA Compact IV ROM Development] DerLeo:
@admin

I don't know, if it is allowed to link to another forum...

If it is not please delete!

@snowgay

Here you can find one:

http://htc-developers.de/viewtopic.php?f=85&t=3284
[Touch Diamond, MDA Compact IV ROM Development] DerLeo:
Sorry, doublepost :-(
[Touch Diamond, MDA Compact IV ROM Development] Snowgay:
thx now everything is fine
[myTouch 3G, Magic General] vikeor:
Is it possible to recieve Gtalk msg or Gmail mail when the Magic is connected to my PC using only USB?
[myTouch 3G, Magic General] vikeor:
anyone? :(
[Touch Pro2, Tilt 2 Windows Mobile General] qwsoftware:
Hello all,

I have a new HTC Touch Pro 2 (Raphael) and I have spent the last 2 house trying to get the system audio and mic (not phone audio) to route to my bluetooth headset or bluetooth audio in my car hands free and I can't seam to get any working..

This is what I have tried:-

Bluemusic V2

audioroute V1.2.020 (via XDA developers) - this works great allowing system audio to go through the phone speaker but no bluetooth function.

Sound Destination Gotlandh (via XDA developers) - works on old HTC Hermes but not HTC Touch Pro 2. - also needs headset button to set route audio but no button on car handsfree.

BTaudio (via XDA developers) - BTAudioOff.exe BTAudioOn.exe files - this would be great but I get an error when try to run - Failed to enable BT audio.

Surely with this latest phone I can use Skype/an SIP VOIP application/media player with the bluetooth headset - anyone got it working?

Thank you
[Touch Pro2, Tilt 2 Windows Mobile General] mindfrost82:
Which phone do you have? The Raphael isn't the TP2. The TP2 is the Rhodium found here.
[Touch Pro2, Tilt 2 Windows Mobile General] qwsoftware:
Opps,

thanks mindfrost82 - I made a mistake, it is a HTC touch pro 2 - please can a moderator move this to the Rhodium forum?
[Touch Pro2, Tilt 2 Windows Mobile General] Genesis3:
I have the same desire - I use this regularly and it appears that the WIDCOMM stack is sufficiently different that the existing little program (BTAudioOn/Off and BTAudioToggle) no longer work.

Blargh - anyone have a solution?

THERE IS! Its built in - go to the Bluetooth config screen, go to SETTINGS/Advanced, and in there under "Audio" is an option to route system sounds to the handsfree.

DONE!

Note that it has a side effect - it leaves the connection open forever if there's an audio stream available to it, so be cautious or you can drain the hell out of your battery, plus you won't ring normally (it will ring through to the headset) until you turn it off.
[Touch Pro2, Tilt 2 Windows Mobile General] qwsoftware:
Hahaha - I discovered this today as well by accident!

Well done Genesis3!

I have tried the bluetooth headset with Skype and SJphone VOIP application and the bluetooth headsets speaker and mic work, the only strange thing is for some reason the bluetooths mic sound is speeded up the other end when heard on both Skype, Fring and SJphone, it sounds like I have inhaled a helium baloon!!

As soon as I disable bluetooth headset and speak with the speakerphone, the sound heard the other end is normal again.

Any Ideas anyone?

I have tried many bluetooth audio router software to get this far and I wonder if some registry settings are messed up. (the standard bluetooth connection to a normal phone call is fine)
[Touch Pro2, Tilt 2 Windows Mobile General] bombastus:
Same thing here. Cant use skype through my bluetooth. Audio is routed to rer speaker :(
[Touch Pro2, Tilt 2 Windows Mobile General] Mountain343:
I just wanted to say Thank You! I've been going around in circles trying different btaudio this btaudio that to find a working solution and was even willing to pay 30 bucks for a program that would do it! Suffice to say, this worked perfectly with mortplayer and the audio stream I wanted to monitor.
[Touch Pro2, Tilt 2 Windows Mobile General] woodyrox:
Audio thru Bluetooth

Sure this works but isn't there a quick button (hopefully from the taskbar) that can accomplish this without going thru the 6 screens to get this done? Something similiar to Audioroute that would work on a Touch Pro 2 would be ideal..
[Touch Pro2, Tilt 2 Windows Mobile General] bigjezza:
Hi,

I thought I might risk it without a screen protector and kinda regret that decision.

I ordered a digiziter from ebay http://cgi.ebay.com.au/ws/eBayISAPI.dll?ViewItem&item=350227180757

I am wondering how easy is it to replace? Can I just remove the plastic/chrome sides and replace this bit from the top down? Or do I have to remove the LCD and everything else to get to it?
[Tilt, TyTN II, MDA Vario III General] salterlee:
Hi. I have a Tytn II that was originally locked to Orange but was purchased unlocked. I upgraded to ROM 3.29.422.1 WWE but the keyboard mapping for symbols is screwed up. I have been reading postings and have tried the Tilt keyboard fix as well as Alex keyboard fix for Tytn II. None have worked.

The specific problem is

fn + Q=! (should be @)

fn + W=@ (should be !)

fn + C = = (should be :)

fn + L = & (should be =)

fn + D = : (should be %)

fn + V = # (should be *)

fn + T = * (should be #)

All the other symbols are fine. Really would appreciate help pleeeeaaasseeee
[Tilt, TyTN II, MDA Vario III General] grayden:
Try the AE Keyboard Mapper (google it) to make the changes you want.
[Tilt, TyTN II, MDA Vario III General] salterlee:
Thanks for the advice. Installed and tried to make changes but it doesn't seem to allow me to change the secondary character (i.e. the one you get by pressing "FN"). I can sway, say, Q with W but I only want to swap @ with ! -

Any other ideas? PPPLLLEEEEASSSEEE!!!!
[Tilt, TyTN II, MDA Vario III General] WillardZ:
Did the Kaiser ever work correctly? If it did, I would suspect you added an app that caused the problem. Try Settings>System>Remove Programs and remove what you added one at a time to isolate the cause of the problem. You can always reinstall the clean apps. If that fails, try a HARD RESET. Hope that helps.
[Tilt, TyTN II, MDA Vario III General] whistler4ever:
Looks like you the AT&T Tilt keyboard mapping.... I believe there is a registry setting to correct that.
[Tilt, TyTN II, MDA Vario III General] rusreid:
Mine's doing the same thing. It does it with all the ROM's I've tried excapt stock ROM. Anybody know the reg key, if there is one, to fix this?
[Tilt, TyTN II, MDA Vario III General] DaveTheTytnIIGuy:
Try installing this, it's the opposite of the Tilt Keyboard Fix.
[Tilt, TyTN II, MDA Vario III General] igo470:
Fn Key problem too

Having the same problem as poster #1. None of the suggested solutions have worked. Any more suggestions e.g. registry editing?

Thanks
[Tilt, TyTN II, MDA Vario III General] igo470:
This worked for me