yashsingh1/xdaforums huggingface dataset:
[Windows Phone 7 Development and Hacking] fiinix:
Just providing with some information.

You are probably searching for those dll's:

- \SYS\CommsPlatform\unistore.dll

Resource data (not dll exports):

EDB_ReadRecordPropsWithPrimaryId
EDB_CeWriteRecordProps
EDB_CeReadRecordPropsEx
EDB_SeekAndReadRecordProps
EDB_CeDeleteRecord
EDB_CeOpenStream

-\SYS\CoreOS\coredll.dll

HANDLE CeOpenDatabase(PCEOID poid, LPWSTR lpszName, CEPROPID propid, DWORD dwFlags, HWND hwndNotify)
HANDLE CeOpenDatabaseEx(PCEGUID pguid, PCEOID poid, LPWSTR lpszName, CEPROPID propid, DWORD dwFlags, CENOTIFYREQUEST *pReq)
HANDLE CeOpenDatabaseEx2(PCEGUID pguid, PCEOID poid, LPWSTR lpszName, SORTORDERSPECEX *pSort, DWORD dwFlags, CENOTIFYREQUEST *pReq)

BOOL CeMountDBVol(PCEGUID pguid, LPWSTR lpszVol, DWORD dwFlags)
BOOL CeUnmountDBVol(PCEGUID pguid)
BOOL CeDeleteRecord(HANDLE hDatabase, CEOID oidRecord)
HANDLE CeFindFirstDatabaseEx(PCEGUID pguid, DWORD dwClassID)
BOOL CeGetDBInformationByHandle(HANDLE hDbase, LPBY_HANDLE_DB_INFORMATION lpDBInfo)

- CeOpenDatabase
[Windows Phone 7 Development and Hacking] Jaxbot:
Ah, nice find! Any chance of running these DLLs on my desktop? I know the emulator is x86, but not sure about how marshal calls would work on an emulator module..
[Windows Phone 7 Development and Hacking] fiinix:
Phone.Search.SearchFor("OMG how is this even possible :O");

-- Phone.AppLauncher.LaunchBuiltInApplication(AppLauncher.Apps.SearchHome, "SearchResults?QueryString=" + value);

---- LaunchApplication(GuidFromApp(app), value);

------ internalLaunch(guid, task);

[

var args = string.Format("app://{0}/{1}", guid.ToString("D").ToUpper(), task ?? "");

var re = DllImportCaller.lib.StringCall("aygshell", "SHLaunchSessionByUri", args);

]

The glorious "SHLaunchSessionByUri" allows us to start anything with any application guid.

Phone.AppLauncher.LaunchApplication("{8dc5214e-88fa-4c2d-a379-2cd74fe24b72}", "_default");

- To start DllImport Project from within DllImport Project :P

---------- Post added at 02:17 PM ---------- Previous post was at 02:08 PM ----------

http://www.koders.com/csharp/fid0E5D18C95EDCC856BA4CB706535EC9933250BD56.aspx?s=usb

[PreserveSig]
IntPtr CeOpenDatabaseEx(
ref Guid pceguid,
ref int poid,
[In, MarshalAs(UnmanagedType.LPWStr)] string lpszName,
int propid,
[In] int dwFlags,
ref IntPtr /*CENOTIFYREQUEST*/ pReq);

This is the C# signature.

To be able to execute it, a c++ COM+ must make the call due c# cant do it alone.
[Windows Phone 7 Development and Hacking] Jaxbot:
Not even C# on my desktop, eh? hmm...
[Windows Phone 7 Development and Hacking] fiinix:
Heh, NOPE, needs and can only be executed from WP7
[Windows Phone 7 Development and Hacking] Jaxbot:
Well, at least direct support suddenly became less of an issue =p But, won't we need higher privileges to go snooping around system databases?
[Windows Phone 7 Development and Hacking] fiinix:
Direct edit [blocked, umad?].

Edit on external placed EDB [ok]

<Macro Id="ELEVATED_RIGHTS_RESOURCE_GROUP_NAME" Description="Elevated Rights Resource Group SID" Value="S-1-5-112-0-0X14" />

You will need "Elevated Rights" to edit the file (when located @ /PACKAGEMANAGER/*)

- Editing from /Applications/Install/{GUID}/Install/ (you are OK)

- (Solution) Edit => override system file (maybe possible?)

"PACMAN.EDB" block policy

<Rule PriorityCategoryId="PRIORITY_HIGH" ResourceIri="/FILESYS/PRIMARY/APPLICATION%20DATA/MICROSOFT/PACKAGEMANAGER/PACMAN.EDB" SpeakerAccountId="S-1-5-112-0-0-1" Description="Allow all in Standard Rights Chamber to access the Package Manager database ">
<Authorize>
<Match AccountId="S-1-5-112-0-0X14" AuthorizationIds="FILE_ALL_ACCESS, FILE_GENERIC_READ, FILE_GENERIC_WRITE, FILE_GENERIC_EXECUTE, FILE_READ_ATTRIBUTES, FILE_WRITE_ATTRIBUTES, FILE_LIST_DIRECTORY" />
<Match AccountId="S-1-5-112-0-0X23" AuthorizationIds="FILE_GENERIC_READ, FILE_READ_ATTRIBUTES, FILE_LIST_DIRECTORY" />
</Authorize>
<Stop>
<Match AccountId="S-1-5-112-0-0XFF" />
</Stop>
</Rule>

edit:

<Macro Id="STANDARD_RIGHTS_RESOURCE_GROUP_NAME" Description="Standard Rights Resource Group SID" Value="S-1-5-112-0-0X23" />

"Standard Rights" for enumerating the installed info.
[Windows Phone 7 Development and Hacking] Jaxbot:
Ok, got a plan then =P If I have time today, I'll try and create a C# program to read edb files, and place my pacman files in the Install directory. My C++ is rusty though, so if you have time to waste, feel free to beat me to it :p
[Windows Phone 7 Development and Hacking] fiinix:
Not sure if im doing it right :P

- First time working with CE databases (Using google)

[Testing] Ill just check the error codes if success.

CEOID poid;

CeOpenDatabase(&poid, L"pacman.edb", 0,CEDB_AUTOINCREMENT, 0);

CEOIDINFO * info = (CEOIDINFO*)malloc(sizeof(CEOIDINFO));

ZeroMemory(info, sizeof(CEOIDINFO));

CeOidGetInfo(poid, info);

edit:

Making some progress:

- returned: ERROR_FILE_NOT_FOUND

MSDN: CeMountDBVol is obselete => use CeMountDBVolEx (above returned -1 (CeOpenDatabase))

Help code (Ce lib): http://nah6.com/~itsme/cvs-xdadevtools/itsutils/dll/PoomInterface.cpp

Current code:

typedef BOOL (*FN_CeMountDBVolEx)( PCEGUID pGuid, LPWSTR lpwszDBVol, CEVOLUMEOPTIONS* pOptions, DWORD dwFlags);

STDMETHODIMP CMangoClass::DatabaseTestWork()
{
FN_CeMountDBVolEx CeMountDBVolEx = (FN_CeMountDBVolEx)GetProcAddress(LoadLibrary(L"coredll.dll"), L"CeMountDBVolEx");
LPWSTR str = TEXT("pacman.edb"); // => ERROR_FILE_NOT_FOUND (different path needed)

CEGUID _mvolguid;
memset(&_mvolguid, 0, sizeof(CEGUID));

BOOL ok = CeMountDBVolEx(&_mvolguid, str, NULL,OPEN_EXISTING);
return ok;
}

edit 2:

Aw! FFS!

Changed to: TEXT("\\Applications\\Install\\8DC5214E-88FA-4C2D-A379-2CD74FE24B72\\Install\\pacman.edb");

- ERROR_ACCESS_DENIED

Maybe needs to be located in isolation storage or \Data\

edit 3:

WOAH :P

- NO_ERROR

TEXT("\\Applications\\Data\\8DC5214E-88FA-4C2D-A379-2CD74FE24B72\\Data\\IsolatedStore\\pacman.edb");

I could expect this due the WRITE+READ under \Install\ is policy blocked, where \IsolatedStore\ is full access (sandbox: "this-app")

edit 4:

What im currently able doing:

var db = "\\Applications\\Data\\8DC5214E-88FA-4C2D-A379-2CD74FE24B72\\Data\\IsolatedStore\\pacman.edb";
bool suc;
int guidAddr = DllImportCaller.lib.EDB_Mount(db, out suc);
if (!suc)
{
var erra = (WinError)DllImportCaller.lib.GetLastError7();
}
else
{
var sessionHandle = DllImportCaller.lib.EDB_OpenMounted(db, guidAddr);
//Currently trying to get this one working (erra: INVALID_PARAMETER) => Probably "SORTORDERSPECEX"
var erra = (WinError)DllImportCaller.lib.GetLastError7();
}

edit 5:

The db handles mounted (within pacman):

805306371,

805306369,

805306383,

805306381,

805306373

var first = DllImportCaller.lib.EDB_FindFirstDB(guidAddr);

var dbHandles = new List<int>();
int dbHandle;
var erraA = (WinError)DllImportCaller.lib.GetLastError7();

while ((dbHandle = DllImportCaller.lib.EDB_FindNextDB(first, guidAddr)) != 0)
{
dbHandles.Add(dbHandle);
var erra = (WinError)DllImportCaller.lib.GetLastError7();
}
var sortDuplicate = dbHandles.Distinct().ToArray();
[Windows Phone 7 Development and Hacking] Heathcliff74:
Hey! I was working on that a while ago. But I'm too busy with other things, so I put it on hold. Good luck!

http://xdaforums.com/showthread.php?p=15205597#post15205597

Ciao,

Heathcliff74
[Windows Phone 7 Development and Hacking] fiinix:
Could you send the C++ code for that?

I have come a long way, but it would speed up more :)
[Windows Phone 7 Development and Hacking] Heathcliff74:
Pwoo. I really got to look for that. Not sure I still have this. I will look for it tomorrow.
[Windows Phone 7 Development and Hacking] fiinix:
"Because i can"-moment: Attachment

Mom, look, i extracted the tables lol

Well, it works fast extracting the table names :P
[Windows Phone 7 Development and Hacking] GoodDayToDie:
Guys, this is awesome, and fantastic job whipping it up so fast - I'll try and step in when I can.

If you can edit the database file, it's quite possible we'll be able to replace it using the XAP exploit. No guarantee of course - the installer may take a lock on the DB file before unpacking the XAP, in which case the unpack would fail.

Of course, you'd need to not overwrite the database or your installed apps (and quite possibly the built-in ones) would probably stop working. I wonder if the phone would load a pacman3.edb if you put it in the right folder...
[Galaxy S II General] kbxdauser2011:
is there any app to control colour saturation of SGS2 SAP Panel?

i have just ordered a Sgs2 & the live demo of it at store imo produced too much saturated eye dazzling colours..So,can i lower those in any way?
[Galaxy S II General] crypticc:
Set to standard in settings display. Then if you are rooted download vodoo screen, and set to native.
[Galaxy S II General] kbxdauser2011:
Thanks for the Quick Reply! :)
[Galaxy S II General] crypticc:
Welcome
[Galaxy S II General] THUDUK:
Screen filter on the market
[Droid Incredible Q&A, Help & Troubleshooting] whfissler:
I just attempted an install of OFMGB's nightly 1.3.1 and got an error message. Here's what I got:

Installing update package...

assert failed: getprop("ro.product.device") == "ace" || getprop("ro.build.product") == "ace" E:Error in /sdcard/OMFGB_ace-1.3.1_nightly-0-06.zip

(Status 7)

Installation aborted.

Any thoughts on what could be the problem would be much appreciated!!
[Droid Incredible Q&A, Help & Troubleshooting] watt9493:
You sure you have the right rom for the incredible? I see ace in the error, so id look and redownload. And ive had wifi drops with OMFGB. Theyre consistent and predictable. Id go with cm7. Basicly the same thing, just get gingerbread launcher from the market. Hope i can help!

-My life is a shooting range, people never change-
[Droid Incredible Q&A, Help & Troubleshooting] whfissler:
yeah, i just went with something else...there's too many ROMs out there to be stuck trying to get just one to work.
[Verizon Droid Charge] bossku69:
I'm getting frustrated with my Charge, but less frustrated now since its rooted.

I've been trying to mess around with this but need some help. I'll even pay for someones time to get my phone on track and setup how I want! I know this sounds like a wishlist but I'm pulling out my hair spending hours reading, trying, deleting, retrying, deleting again...

Here is my current screen:

Fixes:

1) Since I rooted my phone, it has NO clock. I want the time at the top right side.

2) When I get a text message, I use handset, it shows a notification at the top left after I close out the window.

3) My visual voicemail is gone. I pay $3/mo for this from Verizon and the apps I downloaded dont work for crap or run to much and eat up the battery

4) Email is delayed or doesnt sync unless I do it manually

- 2 gmail accounts, 1 pop3 and ms exchange

5) Not sure how this happens, but I use my phone for an alarm clock. about once or twice a week I wake up to find my phone is off.. and its plugged in.

What I want:

1) Profiles - I used to have this on my old Nokia. It would select not only the ring volume, but also who could call. When I set it to "Sleepy Time" all calls went to vm except parents and wife, and so on with others.

2) Better email - I need something that is a better email client that sync's emails for each account at certain times and has better signatures, one for each email.

3) Battery management - I use "CPU Profiles" now but doesn't seem to shut 4G off... EVER. I heard this is the same with other apps, but there has to be something better out there.

4) Camera hack so I can still use it when the battery is less than 10%

What Id like but not necessary:

1) Ability to connect Wii-motes to my phone to play old school games

2) LED to flash when a text comes in. I like it and think its neat :)

If you have some skills or know what the F im doing wrong, hit me up. Have some $$ in paypal that I'd pay for a consultation fee ;)
[Verizon Droid Charge] blueis300:
Don't know about the rest of the stuff but in the Market there is an app called

NoLed and you can set it up to flash different colors for different things such as texts,email.
[Verizon Droid Charge] JihadSquad:
Fixes:

1) You are on on Gummy from what i can see. To get the clock go to settings -> TSM Parts -> Statusbar Settings -> Text Color -> Whatever color (default is black that's why you can't see it). Reboot the phone

4) Ive never gotten non-gmail accounts to "push" or notify me right when I got an e-mail. This is the aspect of blackberries I miss the most. Gmail accounts work fine, but make sure you are using the gmail app, not the e-mail app.

What you want:

1) Android is missing this too (used it on my blackberry). I have looked for apps but I couldn't find any free ones

3) Look for "LTE switch" in the market to turn off 4g. Juice Defender is nice for battery management. I personally don't use it, but some people here do. You have to pay to get most of the good features.

4) Look here You have to be on froyo i cant tell from your screenshot whether it is gummy fe or gbe.

What you would like:

1) I don't think it is possible. I have a wii and i think those remotes work off IR. The charge has no IR reciever. You MIGHT however be able to take an old (non-wireless) xbox controller, change that usb to a micro usb, and write some code into the rom/hardware. It would take some serious hacking though.

2) See above on noLED. I personally dont like it but a bunch of people use it. Keeping a few pixels on the AMOLED screen on doesn't consume a lot of power since there is no backlight and a pixel only consumes power if it is on.
[Verizon Droid Charge] xmoox:
About the wii mote it actualy works off bluetooth and has an infared camera on it. So to use the tracking u would need an led light source for it to track. Also with your phone you will need drivers and a way to calibrate. I dont know how to connect on phone ive used a wii mote on my computer to make a multitouch surface
[Verizon Droid Charge] bossku69:
There are apps in the market, but they don't work with the Charge. A friend has his Wii mote hooked up to his EVO.

After the reinstall of the ROM it seems to now be working. Read there was a bug with the one release that wasnt showing the clock and alarm.

There was even an app I had on my iPhone that would go and check every 15 minutes. Was nice because I would set it for every 2 hours on the weekend and 15 during the week.

Its just a shortcut, you can't activate or deactivate it :(

THANK YOU!!!!!

Just doent work with the Charge :( There are a few other options to connect controllers, but not sure if it is worth spending $50 on them or not

I wanted the LED light on the back to flash, not just icons on the screen. oh well
[Verizon Droid Charge] diablospeed:
Vvm is in the gummy toolbox... Go to terminal emulator, type su, hit enter, it will ask for root rights. Then hit menu and toggle soft keyboard to see it again. Type gummytoolbox, then hit enter. Choose the option for tweaks I believe. Or maybe its apps. Either way just find it and choose to install vvm. It will give you an option for update/reinstall or something like that. Choose it and finish. Then go to app drawer and there will be a blue vm icon that will allow you to sync to vvm.

For email.. In that same toolbox you might try to update the email app. This may fix it. since this is a basic email apk it does not act like the stock one. Settings include "frequency"... You should probably choose hourly unless you have an extended battery.

Speed rules...
[Verizon Droid Charge] diablospeed:
Edit... In gummy tsm parts controls what shows in the status bar. Go to your tsm settings. Adding/removing the clock will most likely require a reboot.

Speed rules...
[Verizon Droid Charge] diablospeed:
Ok. This a hotboot. Sometimes it will reboot and other times it will not. Try the gummy 2.1.. Or remember to clear cache partition and davlik cache every 3 days. All roms that do not update daily can see this. I just clear cache and "poof" its back to normal.

Speed rules...
[Verizon Droid Charge] bossku69:
thank you, thank you, thank you!!!
[Atrix 4G Q&A, Help & Troubleshooting] dgraziotin:
Hi everyone,

I've got a retail, international Atrix (bought from Expansys) that came with Android 2.2.2. Now it is unlocked and I installed Cyanogenmod on it (therefore, Android 2.3.7).

I am located in Italy.

The Radio I installed is Orange France N_01.100.00R, that appears to be the best one for Intl. users with Gingerbread.

When I am on the home screen, is it normal to see the 3G icon becoming H and coming back to 3G within a couple of seconds?

When I use an application requiring Internet (e.g. Google Maps, Browser, ..), the icon switches to H and appears to stay in that state. When the application does not need the connection anymore (e.g. when the web page has been loaded), the icon flips back to 3G.

Is this a normal behavoir, or is this a Radio problem? :confused:
[Atrix 4G Q&A, Help & Troubleshooting] decker39:
Yes it's normal for it to toggle between 3G & H, the H means high speed data connection, does it on my UK Orange Atrix all the time
[Atrix 4G Q&A, Help & Troubleshooting] Nebbeh:
Can you elaborate? I think I have OPs problem as well. The "toggling" is constant. Like every half second it will switch from 3g to h, while standing in the same area. Its not like a toggle that happens every 20 minutes as we move from one cell tower to another. You get that too?
[Atrix 4G Q&A, Help & Troubleshooting] dgraziotin:
I meant the same thing, the bouncing randomly happens in an interval between about a half second and less than ten seconds
[Atrix 4G Q&A, Help & Troubleshooting] andresalonika:
Diasable fast dormancy
[Atrix 4G Q&A, Help & Troubleshooting] dgraziotin:
fast-what? :) where is this option located and what is it needed for?
[Atrix 4G Q&A, Help & Troubleshooting] DarkRyoushii:
disabling fast dormancy is easier said than done on the Atrix.. use titanium backup to freeze modemfastdormancy_____ i forgot the end of it.. lol but yea freeze it and reboot (:
[Atrix 4G Q&A, Help & Troubleshooting] dgraziotin:
Ok I disabled fast dormancy (adb logcat confirms that). What is it for?

Anyway, the 3G/H flipping has not completely stopped,but it is more rare. A big thanks to everybody!
[Atrix 4G Q&A, Help & Troubleshooting] ccrows:
More than likely you are in a fringe coverage area. Really the only way that I can see you improving this issue even more is flashing a different radio to your phone, but that's not even a guarantee that it will truly fix things. It could also make things worse.

For what it is my phone switches from H to Edge in my own home at different points during the day. I've tried forcing my phone in 3G only, but all that did was drain my battery faster.

Bottom line - you could change the radio, or try to get used to it... :)
[HD2 General] Vampir1c:
Okay so I've had my HD2 for a year (Wasn't new, drove about 20 miles to get the thing lol) and now the digitizer is going bad (That famous problem with pressing the red button too much wearing out the digitizer wiring) so I've been in a dilemma for a while either buy the replacement LCD+Digitizer combo or buy the HTC Sensation. Call me crazy but I've gotten almost like an emotional bond with my HD2, like having a child and watching it grow into an adult lol.

I refuse to get rid of it, and all these phones have dual core processors and all that nice fancy stuff, but even that new graphically intensive game Shadowgun runs at full speed on the HD2 with Chainfire3D. Anywho, I'm just ranting here but I would like to thank all you guys for making the HD2 more than a phone. I've ordered the replacement screen and hope I can extend its life. I should be getting it next week, and I'll report if its in stable condition. Just felt like sharing, and hopefully I'm not the only one who feels this way :D
[HD2 General] johnerz:
No your not :) :)

I hope the transplant breathes more life back in to the phone
[HD2 General] cordaylec:
Same Boat.

My Power Button is out also, using a combo of Button Savior and Button Remapper. Thinking of upgrading to the Amaze 4g, but it just seems T-Mobile is behind in the Smartphone game as of late, so just waiting for something worth my wild.
[HD2 General] ElectroBeijing:
Oh, you're definitely not the only one. I mean, sometimes I feel a little behind when my friends have newer phones with front facing cameras, 1080p recording, dual core CPUs, etc etc, but then I remember that they can only boot 1 OS and I have 5 or so to choose from! Until it gets as slow as an iPhone 3G with iOS4, I'm not upgrading anytime soon!
[HD2 General] hittzman:
@ Vampir1c

Your definitely not the only one! I just stepped into the Android arena and the HD2 (flashed with Android) is the first phone I got (used) that is a touch screen. It is very mod-able and I am in love with it. I have even studied a few guides in contemplation of something going wrong because I plan on keeping it for a while. May the repair go smoothly and your HD2 be resurrected back to full functionality my friend.:)
[HD2 General] Robbie P:
+1 on this, best of luck and don't overdo the anaesthetic;)
[HD2 General] Vampir1c:
Thanks guys, I will be undergoing the operation later tonight, I'm so nervous! :(
[HD2 General] Vampir1c:
MY HD2 LIVES!!!!! :D I'm so happy! Thank you guys so much for the support and not to mention the guides all over this forum. Thank you especially to Perlitschke your guide even though I don't understand German, could not come at a better time (The pictures were more than good enough!). It helped me all the way with my LCD/Digitizer replacement!
[HD2 General] smeddy:
This thread makes me feel warm and fuzzy :) I love my HD2, even despite my urge to generally be an early adopter.... i went to the Samsung Note launch in London and I felt like I was cheating on my girlfriend! I'm so glad the transplant went well :)
[HD2 General] jillora:
ITA, I love this phone and while I've looked at the incredible S. There's just no reason to upgrade. This phone runs most anything I throw at it.

Sigh. I did drop it into done concrete a couple of months ago and after watching a YouTube video of the process, I decided to pay done random phone repair place to do it. They were not good and I took it back there 5 or 6 tomes. in the end, I have dust under my screen and the buttons sometimes bend a lot, but its pretty functional, for now.

I would like to but a second one and give this one to my sister. She has my old Behold 2 and its slow and has no space for apps and will never get being beyond Android 1.6.
[HD2 General] mr pean:
I love this phone!!! Not also brand new but im keeping it... faster internet compared to other 1ghz processor i used... cheers!!!
[Samsung Epic 4G Touch] syed239:
What case works best and looks the best on the Epic 4G Touch? I found out that Incipio hasn't made a made a case for the Epic so I'm stuck trying to find another case. I want one that keeps the phone relatively slim and is protective. Any suggestions?
[Samsung Epic 4G Touch] schwab002:
If price doesn't matter that much the casemate brushed aluminum barely there case looks great. I have a cheap TPU case which isn't bad looking and does the job well, but if I had money to spend I'd probably get the casemate. I think it sells for cheaper than 40$ if you look around enough.
[Samsung Epic 4G Touch] miketucky350:
Case mate

When i picked up my sgs2 they had the brushed aluminum case mate case for only $20 at the sprint store. It looks and feels wonderful. It easily snaps on and removed unlike some that always break the 2nd time you remove it. aka body glove

the only downside i would say is that its still a tad slippery if you know what i mean. With out the case the phone is easily dropped. This helps ALOT but is not grippy like some. I like it as i remove my case alot when flashing and this case is the king for that.
[Samsung Epic 4G Touch] smcf81:
don't really like casemate.
[Samsung Epic 4G Touch] jermzz:
I went to 3 hub sprint stores locally and they all looked at me funny when I asked if they had a casemate aluminum case for E4GT. lol