yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Development and Hacking General] RonaldoR9:
hi everybody,

i've got a strange problem using the edb functions in windbase_edb.h. i create a new c++ smartdevice project in vs2008, targeting Windows Mobile 6.1 Pro.

although CeMountDBVolEx returns true [ie successfully mounted], GetError() shows that some ERROR_INVALID_PARAMETER happened inside.

then, CeOpenDatabaseInSession returns an INVALID_HANDLE_VALUE handle, ie the call log didn't open, and GetError() shows that some ERROR_INVALID_PARAMETER happened inside again.

please help, what am i doing wrong?

thank you very much.

code as follows:

HWND hWnd;
CEGUID guidVol;
bool isVolMounted;
HANDLE aDbHandlers[EDB_MAX];
DWORD aDbUsers[EDB_MAX];
CENOTIFYREQUEST aNotifyReqs[EDB_MAX];

CEGUID m_ceguidInitDB;
CEOID oidDB=0;
HANDLE m_hDBCLog = INVALID_HANDLE_VALUE;
CEVOLUMEOPTIONS moPim = { 0 };

DWORD err= 0;

//CREATE_INVALIDEDBGUID(&m_ceguidInitDB);

moPim.wVersion = CEVOLUMEOPTIONS_VERSION;
moPim.dwFlags = CEDB_BUFFERPOOL;
moPim.cbBufferPool = EDBDATA_PIM_VOL_BUFFER;

err = GetLastError();	// if we see an error already... @#$@#$@# !!!
err=0;	// clear the error variable so we can see it flip

BOOL MountResult = CeMountDBVolEx(&guidVol, L"\\pim.vol", &moPim, OPEN_EXISTING | EDB_MOUNT_FLAG);
err=GetLastError();	// even though MountResult returns true, err sees 87, ERROR_INVALID_PARAMETER

if(MountResult != TRUE)
{
return;
}

err=0;	// clear the error variable so we can see it flip

m_hDBCLog =CeOpenDatabaseInSession( NULL,&m_ceguidInitDB, &oidDB, L"clog.db", 0, CEDB_AUTOINCREMENT, NULL);
err=GetLastError();	// err sees 87, ERROR_INVALID_PARAMETER

if (m_hDBCLog != INVALID_HANDLE_VALUE)
{
// todo: read the log entries, do some stuff, etc
// for some reason, m_hDBCLog does have an INVALID_HANDLE_VALUE... why?
err = 0;
}

CeUnmountDBVol(&m_ceguidInitDB);
[Windows Mobile Development and Hacking General] rogeriodeluca:
Problem

Hi...

Have you seen the FileDB sample on whe Windows Mobile 6 SDK? I created my software using that example and it works fine.
[Windows Mobile Development and Hacking General] RonaldoR9:
hi rogeriodeluca,

first of all, thank you for your suggestion. next, sorry it's taken so long for me to get back to you [life... don't talk to me about life!]

the filedb example you suggested creates a new database for the program to play with, and when run as is, works fine. unfortunately, when i fiddle the filedb code to try to open the pim.vol's contact database, i get exactly the same errors. running on the emulator, it returns the error code mentioned in my original post. running on the phone itself, it just craps out and goes back to the today screen.

i'm at my wit's end... anything else i can try?
[Windows Mobile Development and Hacking General] rogeriodeluca:
Take a look at this link:

http://social.msdn.microsoft.com/Forums/en-US/vssmartdevicesnative/thread/d0caf390-cce6-4bef-ad0e-e9c05e63f050/
[Windows Mobile Development and Hacking General] RonaldoR9:
sorry, i forgot to return and say thank you!

thank you, your help was invaluable in figuring out this goofy problem!
[Windows Mobile Development and Hacking General] conflipper:
This should be a central Thread for all Topaz and Rhodium Files. Some of these might Still be in WVGA, but It will still give links to everything. No need to have multiple threads in different places. Maybe A Mod can go through and Merge some of these threads together.

HTC Calculator

http://xdaforums.com/showthread.php?t=485349 (Cab)

http://xdaforums.com/showthread.php?t=485341 (Cab)

http://xdaforums.com/showthread.php?t=484599 (Cab)

Manila3D

http://xdaforums.com/showthread.php?t=486471 (Not Yet Released)

http://xdaforums.com/showthread.php?t=484808 (OEM)

Collection OF OEM

http://xdaforums.com/showthread.php?t=485396 (OEM)

http://xdaforums.com/showthread.php?t=485294 (OEM)

Album

http://xdaforums.com/showthread.php?t=485417 (cab)

Opera

http://xdaforums.com/showthread.php?t=484704 (cab)

Keyboard

http://xdaforums.com/showthread.php?t=486227 (cab)
[Windows Mobile Development and Hacking General] conflipper:
I noticed someone has posted a supposed Touch Pro 2 Calculator .cab:

http://mylostblog.altervista.org/software/freeware/per-htc/htc-freeware-htc-calculator-esclusiva. It looks great other than it is a huge install and it only works on WVGA. Looking at the cab file, there appears to be an XML file which skins the app. I'm throwing down the gauntlet to see who can first adjust all the layout so it fits on a VGA screen.

Also, I notice some images are .bmp and some are .png, so for extra credit see if you can convert all of them to .png and maybe save some space. I'm gonna look into this myself, but I know someone else can beat me to completing this.

P.S. - Not sure if you'll have to resize the button graphics to fit, or if the w/h parameters in the layout xml will do that for you on load.

^Dude read...

WVGA - 800 x 480

VGA - 640 x 480

http://en.wikipedia.org/wiki/File:Vector_Video_Standards2.svg

I've done it (before reading this thread). But I don't know how to create cabs.

I resized the buttons (both portrait and landscape) and updated the coordinates and dimensions in the file "CalculatorMain_NoImgPkg.xml" (installed in the \Windows folder).

And also, I don't like all these small bmp files in my windows folder, so I moved the whole bunch to "\storage card\program files\htccalc"

I attach the buttons in a zip file, and the converted xml (also zipped).

This is not much use for most of you, but could be a good base for a VGA version.

"Installation":

1. install the original mylostblog version

2. delete the calc_*.bmp files from your windows folder

3. create the folder "htccalc" under "program files" in your storage card

4. unzip "buttons.zip" into the "htccalc" folder

5. replace "CalculatorMain_NoImgPkg.xml" in "\Windows" with the attached "CalculatorMain_NoImgPkg.xml"

To get to the scientific version slide out the keyboard or use a screen rotation utility.
[Windows Mobile Development and Hacking General] herg62123:
i am only posting it here

2 versions

non fuze and fuze

found here http://www.mediafire.com/?sharekey=d70bc95672875df0d2db6fb9a8902bda

UPDATE: install official flash lite cause this one supports flash

UPDATE: it also has the slide zoom on the bottom of the screen

Pictures by bugsykoosh

INSTALL ISSUES LOOK HERE

open opera

open help

click about opera

does it say

version:9.5

Build: 15613

if it does you are done

if not close opera with a task manager and try again

if that doesn't work soft reset
[Windows Mobile Development and Hacking General] pfcsabre:
[OEM] Custom Touch Pro 2 Manila

Got the dependencies working on the Touch Pro 2 files from the dumpity-dump, here's the Manila:

http://www.4shared.com/file/88620823/b845055a/PACKAGE_CustomRhodium_Manila.html

Same launch as the others-- open SIP keyboard while launching. The sure fire way is on Today->Items, open SIP keyboard before checking TF3D. Let's see if others can modify it faster than xboxmod (I'm busy with my ROM this will take take to resize) :D

EDIT: this is an OEM, not a cab, if you don't know what to do with it, then... :p

EDIT 2: this has not been resized, it's in CFC form, this came from the Dutty dump coming from SatScan.
[Windows Mobile Development and Hacking General] DupinBJK:
Welcome to the EzInput 2.0 Keyboard Suite project.

Ok, the time has come.

HTC has rushed to prepare a pre-release of its EzInput 2.0 technology just in time for the MWC in Barcelona, and we have it here ready for our tweaks, hacks and workarounds.

These are the new layouts - only Phone Keypad and Full Qwerty, this time.

The first two Beta cabs are ready for download, but beware,

this is just for experienced users only

.

As you'll see, the known issues are a bit annoying, especially if compared to what we're accustomed to with the 1.5 release.

But that said, the huge use of .xml configuration files will probably mean a quite easily customizable experience for all the known form factors.

Sadly, it seems that although the .xml configuration files might be ok, the keyboard in its current form presents too many bugs to be acceptable for a day-to-day use.

Feel free to make your tests and prepare your cabs and packages. A better release will arrive as soon as the first Rhodium and Topaz phones will be ready for prime time...

Downloads

WVGA

NoKbd - Phones without keyboard

FullKbd - Phones with full hardware keyboard

Known Issues

Availability of Keypad Layout.

The Keypad layout is available and working, but not selectable using the settings or the old Input Panel.

To select it, you have to use the new SipMenu, included in cab B1.1 and above.

Only the newer phones from HTC can use the SipMenu (Elfin, Diamond, Raphael, Opal, Jade, Blackstone, Iolite).

The layout can be forced - in Portrait mode - using the registry.

Languages Availability and Selection.

Not all languages are available on the pre-release rom.

The Beta1 cab includes English, German, French, Italian and Spanish.

There's no way to select them using the standard Input Panel.

To select it, you have to use the new SipMenu, included in cab B1.1 and above.

Only the newer phones from HTC can use the SipMenu (Elfin, Diamond, Raphael, Opal, Jade, Blackstone, Iolite).

The old Language Packs made for V1.5 are *NOT* compatible with V2.0.

It seems that the main language can be forced through a registry setting, but it has not yet been verified.

Landscape mode keys don't work as expected.

In Landscape mode, a few keys don't seem to work at all.

The .xml layout definition files seem to be ok, so this might be a bug in the code.

Changelog

25-Feb-09: Beta1.3

Solved the space issue.

Removed an extra Tegic setting (coming from V1.5 customizations) that was causing it.

23-Feb-09: Beta1.2

Added tick.wav sound file.

23-Feb-09: Beta1.1

Added the new SipMenu.

Updated the PQSym_Bg_Inv.png file.

21-Feb-09: Beta1

First release
[Windows Mobile Development and Hacking General] NisseDILLIGAF:
SensorSDK from Diamond2

U can use the new SensorSDK from Diamond2 to flip the screen

With this you don't need a extra app for tilting the screen to Landscape in apps

Diamond2 SensorSDK cab (enable automatic rotation of HTC calc)

Thanx iago_00

For Advanced users! (OEM Package)

U can use the new SensorSDK from Diamond2 to flip the screen

With this you don't need a extra app for tilting the screen to Landscape in apps

You just add the class name of the app to registry...

Found: here

HTC Diamond2/Pro2 Calculator

I changed the size of the calculator from Diamond2 to fit a VGA screen

Should work on all HTC VGA phones...

If u have a other language ROM

then you won't see Copy and About

You'll have to change the name of htcCalculator.exe.0409.mui to your country code (and, if u want... translate with ResHacker)

Country codes can be found here

NEW PNG version

New fixed files 2009-02-23

English version

Spanish version (thanx mclein)

Swedish version

Norwegian Version (thanx Fraction)

Italian version (thanx neoceltic)

German version (thanx RideTheTube)

Dutch version (thanx Crazyrooster & Scalage)

Polish version (thanx cichy3000)

Chinese version (thanx childe9)

Danish version (thanx Crazyrooster)

French version (thanx to dr-jo, guizzzmo and netdrg)

Thanx to panosha, who posted the Blackstone version

The files will always install to windows!

It won't replace standard Calculator! (Look for HTC Calculator in Start->Programs)
[Windows Mobile Development and Hacking General] mbarvian:
Hey all,

I'm sure all of you have seen the new Diamond2 and Touch Pro2 devices. Well, thanks to this post:

http://xdaforums.com/showthread.php?t=484599

I was able to grab the beautiful calculator .cab, and port if over to all screen resolutions! (QVGA, VGA, WQVGA, QVGA!)

Just download the .cab that fits your screen and enjoy!

Screenshots

Portrait:

Landscape:

Downloads

QVGA: Main Memory | Storage Card | Internal Storage

wQVGA: Main Memory | Storage Card | Internal Storage

VGA: Main Memory | Storage Card | Internal Storage

wVGA: Main Memory | Storage Card | Internal Storage

Language Packs:

English | French | Spanish

Notes

Main Memory puts everything in the Windows directory

Storage Card puts all the images in Storage Card\Program Files\HTC Calculator, and the other files in Windows

Internal Storage puts all the images in Internal Storage\Program Files\HTC Calculator, and the other files in Windows

To install a language pack, close the Calculator program completely, then install the .cab, then re-open the program (you may have to soft-reset to see the changes)

I will gladly upload your language pack if you tell me the words for "About", "Copy (infinitive)", "Calculator"

enjoy ;)
[Windows Mobile Development and Hacking General] SatScan:
OEM's from dumped ROM 5.2.21018.1.6.0 [ONLINE]

He you somewhere out there...

After making a dump from a OS 5.2.21018.1.6.0 rom now the extracted OEM's.

This is work/sharing in progres !!!

Thank you all for sharing the "goodies"

OEM APPLICATIONS INCLUDED

Rhodium/Topaz oem's

Part 1

BT Ftp v1.2.33309.95

Concurrence Mgr v1.5.19111625.0000

Device Info v1.32.0.0

DRM Middleware v1.0.090106.0

EnlargeStartMenu v1.2.35862.1

HTC Calculator v1.0.1822.4128

HTC Animation v1.1.5.2

HTC Application v1.9.3.0

Outlook Enhancement v1.1.1822.3121

Picture Enhancement v1.50.18201227.c2r2

RSS Hub v2.1.1.1080.01

USSD.Service v4.33.0.0

Version Info v1.0.19111626.0

Part 2

DataDisconnect v1.14.0.0"

RandomAccess v4.1.18224021.0"

StreamingSrcFilter v2.5.18222524.00"

WiFiSettingsv v1.2.0.0"

WLANSettings v2.4.3.3"

BTSAP v3.2.0.R6"

MP3Trimmer v1.2.18222528.2"

StorageLow v1.0.0.3"

SensorSDK v4.0.19112326.0"

A big thanks to my friend Cracing! Without you... yeah you know ;)

Part 1

http://rapidshare.com/files/201022199/OS_5.2.21018.1.6.0_OEM_Part1.rar

Part 2

http://rapidshare.com/files/201447351/Rhodium_Topaz_OEMS_Part2.zip

Missing file for calculator calc_divide_dn.bmp posted by Ameet see #7

Yesterday I spent asleep

Woke up in my clothes in a dirty heap

Spent the night trying to make a deadline

Grtz
[Windows Mobile Development and Hacking General] herg62123:
[APP]UPDATED VERSION HTC Album Version 3.0.1911.1826 from TP2 (MADE VGA)

In other news here is the HTC ALBUM Version 2.5.1820.4127 and 3.0.1911.1826. the only thing i see different is 2.5 version does have Album Social Networking and it works with FOOTPRINTS. 3.0 is truely from TP2 and doesn't support footprints. other than that it moves quicker than other albums. this is all i can see that is different.

(THANKS TO CONFLIPPER FOR THE CORRECTIONS)

to use it with FOOTPRINTS with version 2.5 you must have it installed already. When you click on a picture that has gps lat and long cordinates in it select menu and scroll down. under save to contacts you will see 2 blanked out lines. the one under save contacts opens google maps while the one under that one opens up footprints.

Version 2.5.1820.4127 that works with footprints, you can download from here: http://www.mediafire.com/download.php?ynjlvtjawvc

Version 3.0.1911.1826 that doesn't work with footprints and is from TP2, you can download from here: http://www.mediafire.com/download.php?ktjiyjzzytn

see pictures below from version 2.5 that works with footprints

UPDATE 2/26/2009: version 3 has some pics still need to be resized in should be posted soon as i am working on it as we speak.
[Windows Mobile Development and Hacking General] xboxmod:
Firstly thanx to NisseDILLIGAF,6Fg8,Dharvey,Sztupy & All Members who help me on this project.

This is a port of Manila from Touch Pro 2 on vga device. (Diamond & Raphael)

with all the new features.

-New calendar tab

-new Contact tool and Email setup

-new world clock

-new landcape

-New Notification process replacing large title bar

-and lots of features which makes life much easier.

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

More info:

-Manila 3.0.38196.3

-HTC_EmailSetupWizard

-NewContactCard

-NewMailAccount

-Notification_Enhancement

-HTC_EmailSetupWizard

-ContactUtilityEngine

you can see 1st video of manila tp2 on diamond here

this project start 1 week Ago.

For now we've fix some tab size but not yet the slider bar!!

this Manila doesn't work like others because New landscape use slide bar to

it use more lua and we have some problem to decompile it.

We work hard to release this Manila soon as possible.

but we can't announce a release date because we don't know.

this project is not an easy task so i ask you to be patient

an please don't spam the thread to ask for a release date.

NOT YET RELEASED​

last news:

autoloader fixed

all lua soon decompiled a giant leap for this project! THX To Sztupy

I'm a Blackstone owner I don't really need this!

i do this only because i love what we do together on xda.

This is what the word community mean.

​

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------​

Fixed

Auto-loader is now fixed!!

Some tabs re-sized to VGA!!

All tabs functional and all features working!!

Major crash issues seem resolved!!

To Do......

Slider bar is still not showing - NEED LUA HELP IF YOU CAN!!

Some tabs still need resizing in both portrait and landscape.

Other than that it's almost done guys. As xboxmod said in his post up above, PLEASE do not beg and whine and complain. It will be released when it is released and currently there is no tentative release date.

We will keep you updated as we go so please be patient.

Thanks for your understanding,

Dan.

EDIT:: [2/25/09]Small update - Weather tab in landscape mode now appears to be almost fixed completely. Update text is in the works :D Arrows to switch cities are being left out because of the gap they create on the far right side.
[Windows Mobile Development and Hacking General] Ameet:
Guys. I have merged the threads mentioned by con in 1st post. Although since it is not possible to merge the entire thread, I have only merged the 1st post of each thread. Do let me know in case if anything more needed. Also I have only soft deleted those threads, so can get them back in case if needed

p.s. Con, please inform all the owners so nobody has any confusion and so they can also let me know if anything missed out
[Windows Mobile Development and Hacking General] davidebeatrice:
all the links on first post not working for me...:(
[Windows Mobile Development and Hacking General] carburano:
Hi friend... links are not working... please help us...
[Windows Mobile Development and Hacking General] CRACING:
Hello,

Great work ameet. Now its looking neat and decent...........:)

Hope you fix those link asap.

Thanks and regards
[Windows Mobile Development and Hacking General] woeds:
Wow xboxmod, it's coming along great! Just bought you a beer for your efforts :)
[Windows Mobile Development and Hacking General] DupinBJK:
I guess there has been a bit of misunderstanding... The merge idea is great, but we should make it gradually...

Let's wait for Ameet to be back logged in... :)
[Windows Mobile Development and Hacking General] AF241:
Having all the links in one place is good idea but deleting the original threads is bad. Now it's not possible to share information, experiences and etc in an easy manner.
[Windows Mobile Development and Hacking General] DupinBJK:
Yes, a better idea would be to use a main thread to post the download links, and separate threads for the ongoing discussions... trying to follow posts regarding each package would be overwhelming, in a single merged thread...
[Windows Mobile Development and Hacking General] CRACING:
Hello,

The merging of ezinput to oem's was not the good ides:(

Anyway; Today I have again started the conversion of wvga ezinput 2.0 to qvga so I have successfully completed 30% of work but still there is lot to do. Here is the screenshot.

Thanks and regards
[Windows Mobile Development and Hacking General] Ameet:
Sincerly sorry guys. I guess I misunderstood the whole idea of merging requests :(

I'll start the restoration as soon as I reach home. Regret the inconvenience once again
[Windows Mobile Development and Hacking General] guizzzmo:
HTC EzInput

Hello,

my htc ezinput is not scale to the screen on my diamond in landscape

it's normal? you too ?
[Windows Mobile Development and Hacking General] DupinBJK:
It depends on the cab you're using...

I've personally posted only WVGA cabs, but other users have posted several VGA versions, for which there's (or better, there will soon be again :)) a poll going on.

I'm quite sure that a VGA with a landscape resized to 640px has been posted, though. You can now go back to the original thread. We'll collect all the working cabs on the Conflipper's thread later.
[Windows Mobile Development and Hacking General] Ameet:
Threads are restored and links are working fine now. can you guys check and let me know if anyhing more needed. Really sorry for all the trouble caused
[Windows Mobile Development and Hacking General] DupinBJK:
Good !

What about removing the arrows ? It should be easy for Portrait, and it will require some tweaks for Landscape, but on QVGA it would give us more real estate and bigger keys...

Since I'm going to redraw the VGA Landscape to remove the arrows and make it more consistent with the V1.5 layout, when it will be ready it will be easy to have a QVGA version too.

I'm just a bit too busy right now, but that's on the TODO list... ;)

Edit:

Discussions will continue on the original thread.
[Windows Mobile Development and Hacking General] DupinBJK:
No problem Ameet, sorry for not being clear enough...

I've checked the thread and it's ok. I just have to unmerge the first and second post, but that's easily done.

Thanks !!
[Windows Mobile Development and Hacking General] Ather:
Stickied the Thread for few days :)
[Windows Mobile Development and Hacking General] shirreer:
Thanks

Good job guys, we appreciate your hard work, and will donate where needed... ehem, also, uh..I'm willing to kill Ameet -on serious requests only, so, if anyone should feel pressed by the necessity.....
[Windows Mobile Development and Hacking General] vinokirk:
Bit of a n00b in this area so I do apologize but I am not a complete retard when it comes to this type of thing.

In the archives in this thread- http://xdaforums.com/showthread.php?t=485396how How do i install these on my device? Do i need to make them into .cab files using say wincecab manager?
[Windows Mobile Development and Hacking General] S.V.I:
Sweet! glad to see some new updates. can't wait to try the qvga keyboard. :)
[Windows Mobile Development and Hacking General] htctoucher:
i would go crazy if that manila3d would work on my poor lil htc Sprint touch!

a man can dream.. :D
[Windows Mobile Development and Hacking General] rling:
Bug report: Added the QVGA main memory version to my ROM. Working well except the fullstop (point button) not active.
[Windows Mobile Development and Hacking General] HertogJanNL:
The links in the first post are outdated. E.g. the link to Manila3D (not yet finished) should be: http://xdaforums.com/showthread.php?t=486471 , and the link to the new keyboard is dead, while it should point to http://xdaforums.com/showthread.php?t=486227 .
[Windows Mobile Development and Hacking General] Ameet:
Thanks. Corrected. If you find any more do let us know :)
[Windows Mobile Development and Hacking General] wassss:
install oem

please how installing oem ?

I know how installing cab but not oem
[Windows Mobile Development and Hacking General] faeArai:
Hi,

where to get the new Rhodium Enhanced Menu? I couldn't find any link to an OEM so please share it with me.

Thx
[Windows Mobile Development and Hacking General] CRACING:
Official Rhodium Tones.

Download : Link

Thanks and regards
[Windows Mobile Development and Hacking General] Driskol:
Hi all!

Anyone have the new Audio Booster? Cab or OEM, i want to make it a cab to give it a try :)

Bye!
[Windows Mobile Development and Hacking General] animelover:
Does anybody have a CAB or OEM (which I prefer :D) for the NotificationEnhancement with the nice-looking notification graphics? I mean the icons like those:

by the way: what are the dependencies for this app?