yashsingh1/xdaforums huggingface dataset:
[Touch Pro2, Tilt 2 Accessories] nerv666999:
CASEMATE

The only thing positive I can say about the CaseMate that AT&T sells is that when the screen protector delaminates from the clear plastic frame it is glued into AT&T will replace the whole thing, back and front, for 1 year after initial purchase, other than that it is crap. Keep some cynoacrylate (super glue) around for when it does pop off, but when you compare the $29 they want against so many other products in this price range it just doesn't hold up. Hell it doesn't even have a clip.

In the same vein is the Body Glove but it is far superior and less money. It doesn't try to protect your screen so you will still need a screen protector, but it has a clip that acts as a stand.
[Touch Pro2, Tilt 2 Accessories] Aaron McCarthy:
A friend of mine was at a mall and going past a kiosk and they had a bunch of hard snap on cases for the touchpro 2... she had asked me if I wanted one but I didnt really. I guess they were only around 20 dollars. I saw the ones at ATT months and months ago and they looked like garbage. The one she got was pretty nice though... no crappy piece of plastic that covers the screen!

so if you are in the market for a cheaper one and dont want to wait for one to ship from ebay or whatever just go to your mall.
[Touch Pro2, Tilt 2 Accessories] csmeance:
The case mate one that ATT sells is horrid! I have it on my phone right now and it's been scratching up the chrome and gouging it! As well my back cover has scratches from where debris has come in! I'm going to return this hunk of junk and get myself something better, any recommendations besides the bodyglove?
[JAMin, XDA Neo, S200 ROM Development] domenicodeniso:
Hello to everybody,

i tried to download the Gullum Coffee rom, but the server FTP doesn't work and i didn't do it.

Can someone upload the rom on rapidshare or other site?

Thanks in advance and sorry for my bad english

Byee
[Tilt, TyTN II, MDA Vario III Themes and Apps] mancuk29:
when I had a hermes a program was contained in some of the cooked roms and it was called system update or something similar ..... it use to allow me to download all kinds of programs and ringtones etc ....

ive tried several cooked kaiser roms and its not on them ... can it be downloaded inpedendantly ??

id loved to be able to use it ...

cheers in advance

chris
[Tilt, TyTN II, MDA Vario III Themes and Apps] DavidNL:
device update

Here you go:

http://www.crc.id.au/deviceupdate/
[Tilt, TyTN II, MDA Vario III Themes and Apps] stylez:
Moved to software as not ROM Development..
[Hero CDMA General] sikclown:
As the title says is it possible that PRI 1.70_003 is causing the 100% awake issue on our Google Branded Sprint Hero's? It seems like the phones with 1.68_003 were fixed with the update and all of us with PRI: 1.70 are fixed for a day and then goes back to 100%.
[Hero CDMA General] redram38:
I am on 1.70.003 and have no issues with awake time.
[Hero CDMA General] Agimax:
I'm also running PRI 1.70_003 and went all day today with occasional use & still have 76% battery on .6b fresh ROM w/ Optimization pack overlayed & Blue Pack overlayed on that... Runs & looks great! Battery life is now amazing.
[Hero CDMA General] athlet1c:
On the Exact same with no problem to report
[Hero CDMA General] katmandu421:
I had my wake time down to around the normal level, 20-40% depending after installing 0.6. I just checked for updates on and ran across this thread and thought I'd check my status. To my surprise, I am at 100% again. I also noticed my PRI is 1.68 instear of 1.70. I was under the impression that installing a rom based on the updates would do all of the updating. I did not do an OTA when it was released. Whats up?
[Hero CDMA General] sph33r:
I'm on 1.70_003 and yesterday I flashed my phone back to stock + MR + rooted + deleted Sprint apps + Optimized/zipaligned pack from elsewhere in this forum.

Roughly 24 hours later, it went from having a very low awake time to constantly climbing. I rebooted it and now I stick at 100%. Frustrating! This is the third time I've done this entire process and it keeps happening.

Glad to see I'm not alone.

BTW, I started a new thread about the problem since I'm pretty sure it's not caused by the PRI or PRL or anything like that.

http://xdaforums.com/showthread.php?t=592993
[Windows Mobile Software Development] MilaCzeque:
Use at your own risk!

/*
HTC HD2 Compass interface

MilaCzeque (at) gmail.com

This program is licensed under the terms of the GNU General Public License (GPL).
*/

#include <windows.h>
#include <service.h>

struct compass_data
{
short x;
short y;
short z;
short angle;
short d;
short dummy[10]; //just to make sure nothing get overwritten
};

struct compass
{
compass_data data;
HANDLE h;
HANDLE service;
int init()
{
h = CreateFile( TEXT( "SEN0:" ), 0, 0, 0, 3, 0x80, 0 );

if( h == INVALID_HANDLE_VALUE || h == 0 )
{
h = 0;
service = RegisterService( TEXT( "SEN" ), 0, TEXT( "HTCSensorService.dll" ), 1 );
if( service == 0 )
{
return 0;
}
h = CreateFile( TEXT( "SEN0:" ), 0, 0, 0, 3, 0x80, 0 );
if( h == INVALID_HANDLE_VALUE || h == 0 )
{
h = 0;
return 0;
}
}

if( 0 == DeviceIoControl( h, 0x3000001, 0, 0, 0, 0, 0, 0 ))
{
CloseHandle( h );
h = 0;
return 0;
}
return true;
}

short update()
{
if( !h )
{
return 0;
}
DWORD read = 0;
if( 0 == DeviceIoControl( h, 0x3000003, 0, 0, &data, 0, &read, 0 ))
{
return 0;
}
else
{
return 1;
}
}

int deinit()
{
if( h )
{
if( 0 == DeviceIoControl( h, 0x3000002, 0, 0, 0, 0, 0, 0 ))
{
CloseHandle( h );
h = 0;
return 0;
}
}
return 1;
}
};

Edit:

Plese do mind that this code is licensed under GPL and so is anything based on it (including C# and VB code in this thread). This means that if you use it in your project you MUST release it under GPL (and with source code).

I'm sick of everyone ignoring this. :-(
[Windows Mobile Software Development] l3v5y:
Multitouch and the compass at a similar time?

The Leo is definately getting better!

Thanks! :)
[Windows Mobile Software Development] maati:
Someone should inform the Layar developers about this.
[Windows Mobile Software Development] MilaCzeque:
maati:

Don't think that Layar would agree with GPL. :D

l3v5y:

It will be even better with FM Radio API working.
[Windows Mobile Software Development] l3v5y:
I had a play with this, the issue is, at current I haven't found exactly what the "angle" is. Do you know whether it's the angle between the device and North? or the bearing of the device?
[Windows Mobile Software Development] MilaCzeque:
It's the same number as you can see in original compass application. Angle between device and magnetic north.
[Windows Mobile Software Development] barty22:
MilaCzeque, thanks a lot the leo is indeed getting better and better!

I don't think you can help with this, but do you have any idea about how we might get hardware compass support in Google Maps, iGO, and other software?

I'd like to refer to this thread by the way. Thx!
[Windows Mobile Software Development] MilaCzeque:
Maybe someone can write program which will emulate COM port with nmea from internal gps but with heading from compass.
[Windows Mobile Software Development] L_o_k_i:
@MilaCzeque

Hi,

See here: http://xdaforums.com/showthread.php?t=571266
[Windows Mobile Software Development] clody:
Is it possible to see some sample code written in C# as well ?

Thank you very much.
[Windows Mobile Software Development] pckshd:
Thanks!

Anyone managed to get into the proximity sensor?
[Windows Mobile Software Development] AgentBignose:
Great!!!

How can this be used in C# or Vb.net ?

I dont develop in C++ for Windows Mobile.
[Windows Mobile Software Development] iperov:
retrieving capacitive sensor data similar. Hack touch.dll and get DeviceIOControl codes....
[Windows Mobile Software Development] p51d:
Can anybody translate that code in C#?
[Windows Mobile Software Development] shirreer:
Better yet, let's make a .net library so its accessible to everyone! l3v5y?
[Windows Mobile Software Development] AgentBignose:
That would be the best.
[Windows Mobile Software Development] harddisk_wp:
I tried this:

Imports System.Runtime.InteropServices

Public Class clsCompass
<DllImport("coredll.dll", SetLastError:=True, CharSet:=CharSet.Unicode)> _
Private Shared Function CreateFile(ByVal lpFileName As String, ByVal dwDesiredAccess As System.UInt32, ByVal dwShareMode As System.UInt32, ByVal lpSecurityAttributes As IntPtr, ByVal dwCreationDisposition As System.UInt32, ByVal dwFlagsAndAttributes As System.UInt32, ByVal hTemplateFile As IntPtr) As Integer
End Function
<DllImport("coredll.dll", SetLastError:=True, CharSet:=CharSet.Unicode)> _
Private Shared Function RegisterService(ByVal lpszType As String, ByVal dwIndex As System.UInt32, ByVal lpszLib As String, ByVal dwInfo As System.UInt32)
End Function
<DllImport("coredll.dll", CharSet:=CharSet.Unicode, SetLastError:=True)> Public Shared Function DeviceIoControl(<[In]()> ByVal hDevice As Integer, <[In]()> ByVal dwIoControlCode As Integer, <[In]()> ByVal lpInBuffer As IntPtr, <[In]()> ByVal nInBufferSize As Integer, <Out()> ByVal lpOutBuffer As IntPtr, <[In]()> ByVal nOutBufferSize As Integer, <Out()> ByRef lpBytesReturned As Integer, <[In]()> ByVal lpOverlapped As IntPtr) As <MarshalAs(UnmanagedType.Bool)> Boolean
End Function

Const DIO_INIT As Int32 = &H3000001
Const DIO_READ As Int32 = &H3000003
Const DIO_QUIT As Int32 = &H3000002
Const INVALID_HANDLE_VALUE As Int64 = -1

Structure compass_data
Public x As Short
Public y As Short
Public z As Short
Public angle As Short
Public d As Short
Public dummy As String
End Structure
Private devHandle As Integer
Private srvHandle As Integer
Public compassData As New compass_data
Public Function initCompass()
devHandle = CreateFile("SEN0:", 0, 0, 0, 3, &H80, 0)
If devHandle = INVALID_HANDLE_VALUE Or devHandle = 0 Then
devHandle = 0
srvHandle = RegisterService("SEN", 0, "HTCSensorService.dll", 1)
If srvHandle = 0 Then Return False
devHandle = CreateFile("SEN0:", 0, 0, 0, 3, &H80, 0)
If devHandle = INVALID_HANDLE_VALUE Or devHandle = 0 Then Return False
End If
If DeviceIoControl(devHandle, DIO_INIT, 0, 0, 0, 0, 0, 0) = 0 Then Return False
Return True
End Function
Public Function updateData()
Dim readBytes As System.UInt32
If devHandle = 0 Then Return False
If DeviceIoControl(devHandle, DIO_READ, 0, 0, compassData, 0, readBytes, 0) = 0 Then
Return False
Else
Return True
End If
End Function
Public Function shutdownCompass()
If devHandle <> 0 Then
If DeviceIoControl(devHandle, DIO_QUIT, 0, 0, 0, 0, 0, 0) = 0 Then
Return False
Else
Return True
End If
End If
Return True
End Function
End Class

However, this does not compile:

Error	2	Value of type 'GPSLib.clsCompass.compass_data' cannot be converted to 'System.IntPtr'.	C:\Dokumente und Einstellungen\Marco\Eigene Dateien\Visual Studio 2008\Projects\GPSLib\GPSLib\clsCompass.vb	44	55	GPSLib

I have no idea how to convert this instance of a struct to a int pointer... any ideas??
[Windows Mobile Software Development] xeonvs:
Thanks for the code!

This simple modification of code to return structure compass_data:

Public Structure compass_data
Public x As Short '0-1
Public y As Short '2-3
Public z As Short '3-4
Public angle As Short '5-6
Public d As Short '7-8
End Structure

Public cData As compass_data

Overrides Function toString() As String
Return _
"X: " + cData.x.ToString + vbNewLine _
+ "Y: " + cData.y.ToString + vbNewLine _
+ "Z: " + cData.z.ToString + vbNewLine _
+ "a: " + cData.angle.ToString + vbNewLine _
+ "d: " + cData.d.ToString + vbNewLine
End Function

Public Function updateData()
Dim buf(8) As Byte
Dim result As Integer

Dim getMemory As New IntPtr
Dim data As compass_data

If devHandle = 0 Or devHandle = IntPtr.Zero Then Return False

getMemory = LocalAlloc(LPTR, buf.Length)
Marshal.Copy(buf, 0, getMemory, buf.Length)
result = DeviceIoControl(devHandle, DIO_READ, IntPtr.Zero, 0, getMemory, buf.Length, 0, IntPtr.Zero)
Marshal.Copy(getMemory, buf, 0, buf.Length)

data = BulidStructure(buf, data.GetType)

If getMemory <> IntPtr.Zero Then LocalFree(getMemory)

If result = 0 Then
Return False
Else
cData = data
Return True
End If

End Function

Private Function BulidStructure(ByVal Buff() As Byte, _
ByVal MyType As System.Type) As Object
Dim MyGC As GCHandle = GCHandle.Alloc(Buff, GCHandleType.Pinned)
Dim Obj As Object = Marshal.PtrToStructure(MyGC.AddrOfPinnedObject, MyType)
Return Obj
MyGC.Free()
End Function

other code not modified
[HD2 General] Gustopher:
There is an interesting mix of 'stuff' on this forum at present and what seems to be a considerable amount of interest and emotion around the HD2. There are:

Threads asking for opinions on upgrades

Threads slating the device

Threads doing the basic 'work' of the forum (in my opinion) i.e. sharing information, trying to find ways of making things work, helping one another out, etc

Judging by the critical threads and by those jumping in to defend the device, there are two essentially polarised schools of thought; those who love it and those who loath it (and of course, many shades in between).

Many of those who hate the device seem to be inclined to share their dissatisfaction in the interests of providing balance for those considering a purchase, so instead of the emotion and mud slinging, how about a simple poll so that everyone can submit their own view in as dispassionate a manner as possible?
[HD2 General] H2D2:
No comment!
[HD2 General] FunMCRider:
IPhone Windows Style

I cant wait until My Pink Photo phone is warrantied so I can load a different ROM on it. This phone out of the box is so locked down on features it even hides two games. To install owner information you have to fill out your contact card not Owner information through windows because it is nonexistent without reg edit. If I didn't know how do do some Reg Editing I think I might have thrown this phone even at the $800 US Price tag. I cannot even switch the view to landscape in Excel, so now I can only see half of my spread sheets.

On the plus side the 1 GHZ processor runs all of my programs at lightning fast speeds. The screen is big enough to enjoy anything you do on this phone. The cellular radio has great reception I have not dropped a call yet.
[HD2 General] audscott:
I'm in the US, so like many of my brethren, I'm waiting for my order to be shipped.

I may have some problems with the phone, but truthfully, if not for the trailblazers and those having problems, I would be lost in most of the issues I'll run across.

Ultimately, the specs on this device make it too delicious not to love.
[HD2 General] Xaddict:
Positive

This is the best device I have ever owned.

I started with an XDAII, which was classic and the 2nd of it's kind, that is, a computer phone.

HTC pioneered this, making the first, the XDA.

They solved many of the power issues and other technical issues of earlier pda's and melded the mobile phone with the pocket computer.

It was instantly better than any Nokia.

I have owned many classics like O2 Mini, Atom, Polaris and HD.

Though it is a good phone without needing any major changes, I couldn't stand not being able to customise my phone at the cellular level.

But then, I have built a dozen hi performance pc's in my time and similarly would not be happy with a DELL or a Mac or anything like that. I owned a top line powermac 12 years ago that cost 22 G's but my HD2 is 10 times more powerful, has the same size storage and fits in my pocket.

There are plenty of phone-computers that cannot be customised and so there is no scope for the problems that can arise in trying to mod a phone to make it do things an ordinary phone can't.

What's not to like?
[HD2 General] GodsGift:
Have to say when I got mine i was sooo impressed and yes for a while it was unconditional love.

Realised the shortfalls pretty quickly but they are minor and I can live with them.

However after 3 days the phone completely died and (fingers crossed) the replacement is due this morning.

C'mon vodafone / parcelforce ... make me happy again ......

GG
[HD2 General] Archer:
lol very wise mate.
[HD2 General] Gustopher:
Initial Analysis...

With just over 50 responses in, the poll results, to me at least, are a more accurate reflection of end user response to the HD2, with around 70% of respondees either liking or loving the device.

Interestingly, the modal response (just) is currently 'like it, but accept that it needs tweaking'.

Around 10% of responses are ambivalent and

less than 10%

dislike or hate the device. This tends to back up the suspicion that the noisy negative threads reflect the minority, rather than the majority.

The balance of responses are in the 'don't have it yet, but will/won't get it', where there is little to choose between the two responses.

I'd like to believe that the poll approach gives everyone a chance to state their opinion in non-emotive terms, so for those contemplating a purchase the XDA recommendation currently seems to be 'go for it'.

I'm also of the personal opinion that a 70% early adopter approval rating isn't too bad for a bleeding edge device that will only improve with HSPL/USPL and cooked ROMs.
[HD2 General] Shifty-PK:
Nice, i like your thinking and giving objective statistics to the crowd!
[HD2 General] Gustopher:
I'm going to give this a gentle nudge as I'd like to be sure it captures the opinions of as many HD2 users as possible, plus there are still people asking for opinions on the phone and whether they should upgrade.

As it stands, there have been 73 responses (I think 64 of those are from people who actually own the device) and the dislikers/haters number precisely 5 of that 64, with a further 6 ambivalent.

Unless a good many HD2 owners are so appalled by the device that they won't even register their vote it seems clear that the overwealming majority are happy with the device.

Wouldn't be wonderful if that meant a bit more of a useful tone in some of the threads in this forum. At least the number of 'Kill all HTC emplyees, kill them all and slaughter their families, beat them to beath with iPhones' type threads does seem to have dropped off a bit...which is nice.
[HD2 General] Magic Rat:
I've had my HD2 since Monday 30th November and I am very pleased with it.

I upgraded from a Touch HD and found the capacitive screen ( using the pad of my finger ) on the HD2 compared to the resistive screen ( using my fingernail ) on the Touch HD took a bit of getting used to. Once I mastered the new typing style required by the HD2 I found it very fast and accurate to use. I have not applied any fixes for the screen.

The only problem I have with this PPC is stopping myself from playing with it :cool:
[HD2 General] Gustopher:
In light of the threads that seem to keep being opened by those with an axe to grind against the HD2, I'm going to give this a nudge as I still feel that a nice, simple poll is the best, emotion-free way to gather opinion about the HD2.

I truly don't go big on conspiracy theories and smear campaigns but the evidence of 98 votes in the poll so far say that two users don't like their HD2 but are stuck with it and another three users hated it so much they have binned it.

Approximately 5% of HD2 users therefore seem to be accounting for an awful lot of noise, heat and light. Worse still, they are clogging up a forum that should be helping those of us that do like the device to get the most from it. I don't know about anyone else, but that's why I'm here, not to have increasingly petty arguments. There is an old proverb about a wise man arguing with a fool; very quickly it becomes difficult to tell which is which. Sound familiar?

I don't hate the iPhone - don't rate it either, nor did my wife, a convinced technophobe who is now very happily using my old HD having binned the iphone - and I don't think that people who don't like the HD2 are intrinsically bad people, but I do wish what appears to be a very small minority would have their say and jog on.

The fact that they don't and that they keep on (and on and on (and on and on and on)) making their points about the HD2 is suspicious, but maybe the poll is lying. So here's a bump - if you haven't already voted, do so now, especially the HD2 haters. Let's have some objectivity and balance instead of flame...ready? Go
[HD2 General] freyberry:
This should be sticky :D

75% satisfaction and 10% ambivalent is better than what the iPhone scored in some surveys. :)
[HD2 General] Stephen Selby:
Well I definitely like it. :) No digital device has ever wowed me so much that I didn't want to tweak it. The 'killer app' of the HD2 is in fact its tweakability (is that in the dictionary?) That's what makes it win out over the iPhone.

All of my frustrations are with the WM 6.5 operating system, and all my admiration is with HTC for virtually relegating WM to a background sub-system, where it belongs. (Don't hold your breath hoping that WM 7 is going to be a better user interface than HTSense.:D)
[HD2 General] chris_ah1:
I've been trying to get a HD2 and not going anywhere. I've got two vodafone accounts (one for 14years, one for over 10) and they totally screwed me over in getting the HD2 by deliberately sending a Satio in my order instead of the HD2 thus removing me from the order list which I had got on the 15th, one day after the device was released.

They never then called me back when they got stock of course despite putting in several more orders. Even getting my PAC got me nowhere.

Sadly all vodafone reps on the phone say they love the HD2 instead of the iphone. I personally feel that vodafone are bullying people into the sub-standard iphone and especially 360 devices for profits.

What I did agree on with the vodafone reps are that:

Pros of HD2

a) Great large screen

b) still surprisingly pocketable (like TG01)

c) faster than any other device.

d) Battery DOES last longer than iphone (I got 5hours of iphone 3gS use on vodafone greece network with mild usage).

e) high-res screen.

f) will support WM7.

g) has more ROM space than many other devices.

h) You do not have to jailbreak the device and worry about apple updates bricking your device. HSPL lets you put in new cooked ROMs, you cannot even do that on an iphone.

i) Less jokey than the iphone. I dont see it as a serious device.

j) If you can cope with the technical stuff and the sheer volume of tweaks a WM6.5 device can be anything you want it to be!!!

k) it is not out of the question in the future to put android on the HD2 either.

l) Tons of useful software, not just gimmick stuff!!!

m) microsdhc can be up to 32GB now, just released in Times Square in Hong Kong. branded 16GB dirt cheap (class 6).

Cons:

a) SMS issue is worrying for a prospective user especially as the problems seem widespread on Vodafone UK.

b) Yes, pink camera issue, but i couldnt care less about it.

c) HSPL for official ROM upgrades around vodafone is almost like jailbreaking.

d) the tweaks and stuff is quite technical - and there is just so much of it!!! but of course this is also a pro!!

e) Battery quality seems variable. Some good units out there, some bad.

f) So much to tinker, so much to break!!!!

In short, the HD2 has no competitor due to the processor and the screen size and its resolution. Sure it's not 16M, but that can come with an upgrade.

It has the grunt for the future with the CPU, you have chainfire to compete with cortex+gpu, and enough ROM and RAM and you can tweak it to your heart's content!!!

I say the HD2 is a WINNER - I CAN fix most of the issues or ignore them, or avoid them just like i do with my E65 every day. What I can't get on another device is the screen. I do pray that I dont get teh SMS issue though.

I just have to make sure HD2 fits in my tight pockets!!! (31" waist).