yashsingh1/xdaforums huggingface dataset:
[Windows Phone 7 Development and Hacking] SimzzDev:
Couldn't we get a rom dump of Mango to see how the Marketplace works, and how it installs apps, then make our own copy then just install the app from the cloud? Unless the marketplace itself has the InteropServices flag, then we wouldn't be able to deploy it...
[Windows Phone 7 Development and Hacking] fiinix:
As posted before in another thread, i had de-comiled NoDo's xap installer and there are no holes that seen yet.

From the mango build, i dont think anybody have extracted the "PacmanInstaller.exe" yet, if so, i would like to have the exe. (x86 (Emu) exe is fine to)

See attachment, that's how it works.

- C code.

"Unless the marketplace itself has the InteropServices"

- Marketplace runs under the process name: Meux.exe (Its a native app)

> Its not a xap and does not need a "Interop Services"
[Windows Phone 7 Development and Hacking] SimzzDev:
OK, thanks.
[Windows Phone 7 Development and Hacking] drkfngthdragnlrd:
Pacmaninstaller.exe from Mango attached. Most likely an Emulator Dump. Dumper didn't state if it's an emulator dump or not.
[Windows Phone 7 Development and Hacking] fiinix:
Great, just wat i needed :)

CPU Type: x86 (Verified) (Emulator) (i386)

- Used a program

WP7v: "Subversion: 7.10" (Verified) (Mango)

- Same program

edit:

Added de-compiled Mango version of PacmanInstaller.exe (C code)
[Windows Phone 7 Development and Hacking] fiinix:
Huh, big surprise for me (maybe you too)

The so called "AppManifest.xml" becomes on the phone "AppManifest.xaml"

No wonder my method always returned false

- FileExists(@"\Applications\Install\B2A1493F-42E1-4C0E-A5CB-EF204B677C43\Install\AppManifest.xml")

> false
[Windows Phone 7 Development and Hacking] CopyCounsler:
ARRGH! Everytime I try to write to the file, it fails. It was so much simpler in NODO to write files wherever I wanted. I am trying to update the xaml (not xml) file after publishing without success. Any pointers? I've got my Studio up and going with a test app right now..
[Windows Phone 7 Development and Hacking] DavidinCT:
The Provxml hack does not work on the the Verizon Trophy too... ugh
[Windows Phone 7 Development and Hacking] ceesheim:
is that a cdma phone ?

if yes that could be normal because they don't have sim cards
[Windows Phone 7 Development and Hacking] CopyCounsler:
I ABSOLUTELY do NOT want to hijack this thread but take a look here:

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

If the carrier database file can be modified properly for the new phones, then the ProvXML hack could work again. I tried about every value that made sense without luck. Follow through the tangled threads to find out exactly where I left it off.

And back to the discussion. INTEROP MANGO!
[Windows Phone 7 Development and Hacking] MrNetrix:
I think some people are getting confused (I was as well) because interop homebrew apps that used to work on NoDo, such as WP7 Root Tools are not working on Mango, making it seem like the interop functionality is not working on Mango, even after using the unlock.xml with GPRS method. They simply try to run, then quit right away.

However, the Samsung Registry Editor (SamReg MalMod) works great on my Samsung Focus. The point is that it uses the interop capabilities. The method that I used is this: http://xdaforums.com/showthread.php?t=1152422

I am having a problem though. When I try to use ComBridge on a COM DLL of my own, it gives the error message: "Additional information: COM object with CLSID '[GUID]' cannot be created due to the following error: The request is not supported. ." The issue is most likely that the DLL that the Samsung Registry Editor uses is signed. Is there any way of getting around this yet?
[Windows Phone 7 Development and Hacking] DavidinCT:
Yep, it's a CDMA phone but, it is a world phone with a Sim slot and card...Not sure if that helps any bit ?
[Windows Phone 7 Development and Hacking] (nico):
Only Microsoft signed applications can use the interop API. Which means you have to go through the marketplace to activate interop, which MS won't allow if you're not the phone manufacturer.

That's what we are trying to bypass...
[Windows Phone 7 Development and Hacking] MrNetrix:
That is incorrect, though I was unclear in my previous post. Through Visual Studio, I can build, deploy, and run the Samsung Registry editor that I mentioned, which uses interop on a COM DLL (meaning I can debug the app as it does the interop). The app itself is not signed and there is no marketplace involved. However, the DLL that it uses interop on is signed.

So using interop is restricted to signed COM DLLs, but that is a different issue than what you are talking about (signed applications through the marketplace).
[Windows Phone 7 Development and Hacking] GoodDayToDie:
@MrNetrix: If true, that's very interesting. Most registry editors, for example, use a homebrew DLL for registry read, not a signed one, so that could be why most of them don't work. That gives a decent chance of making this work by bootstrapping using the abilities available through signed binaries, although it may fragment homebrew even further (since those binaries differ so much in capability from OEM to OEM).
[Windows Phone 7 Development and Hacking] MrNetrix:
Well, it is true. If you have a Samsung Windows Phone, you could try it out yourself (see here: http://xdaforums.com/showpost.php?p=10619966&postcount=16). If not, I guess you would have to find a signed DLL that is compatible with your device.

A major problem is that the homebrew would be limited to the functionality that the signed DLLs provide, which might be insufficient in many cases. Another issue is that it would still mean that no native homebrew would be possible.
[Windows Phone 7 Development and Hacking] (nico):
Also, we still need an easy way to deploy those apps to our phone (without going back to Nodo each time we want to deploy something).
[Windows Phone 7 Development and Hacking] sensboston:
(nico), which of HTC's signed dll provides access to the registry? I hope the solution, similar to Samsung's registry editor - with only one native and officially signed dll - will work on HTC Mango.
[Windows Phone 7 Development and Hacking] MrNetrix:
Using the Application Deployment program seems easy enough to me.
[Windows Phone 7 Development and Hacking] jakelou:
It's seems as though at this point we'll need to focus more on the Native area and start exploiting the OS ... MS has done a pretty damn good job on protecting literally everything.
[Windows Phone 7 Development and Hacking] MalooMF9:
Wow, I'm pretty amazed that my little tweak to an old registry editor to use a different exploit showed up here so much later. I've been trying to figure out how to get registry editing on the mango, and the source code has been sitting on my computer the whole time. Hahaaa.

Glad to contribute.
[Windows Phone 7 Development and Hacking] ManelScout4Life:
For some reason I can't deploy your registry editor. I get the 81030120 error
[Windows Phone 7 Development and Hacking] MrNetrix:
What happens if you open the solution in Visual Studio and build/deploy/run it through there?
[Windows Phone 7 Development and Hacking] MalooMF9:
As mentioned earlier in the thread, the only way to deploy this to the phone and run it on mango is to first restore to NoDo, deploy it, upgrade to mango while maintaining dev unlock, THEN run it. There is still no published way to sideload apps that use interop.
[Windows Phone 7 Development and Hacking] ManelScout4Life:
Fack. All I want to do is enable the dehydration hack so I can use multitasking on mango like it's suppose to work. I guess I'll just wait for the apps to get updated. There is no way I am going back to Nodo for the second time.
[Windows Phone 7 Development and Hacking] MrNetrix:
Uh... I deploy it just fine on my Samsung Focus with Mango through Visual Studio. As I said in my previous posts, I can even debug your Registry editor while it performs the interop.

I can also deploy it using the Application Deployment tool. I have yet to experience this 'dreadful' 81030120 error...
[Windows Phone 7 Development and Hacking] (nico):
Sorry for the question, but I have to ask: Are you sure you're in Mango?

You're the first one who seems to be able to deploy a XAP with has the interop flag set in the manifest.

Edit: And if you are using Mango, could you tell us the version you're using? I'm on 7661, like most of us.
[Windows Phone 7 Development and Hacking] (nico):
For example for registry you can use one of ComRegRw_*.dll coming from one of HTC apps. If you using HTC Hub the dll is ComRegRw_HTCHub.dll.

This should be easy to test, but I don't really have the patience of reverting to Nodo and upgrading again, as I suspect it doesn't work. I guess there is something special about Netrix phone as he can deploy native apps directly to Mango.
[Windows Phone 7 Development and Hacking] MrNetrix:
Yes... Of course I am using Mango. The same version you have.

All I did was use this method on my Samsung Focus: http://xdaforums.com/showthread.php?t=1152422
[Windows Phone 7 Development and Hacking] rudelm:
Is there some kind of unofficial documentation around XDA or other sites where I can look into this whole HTC dll stuff? It looks to me as if all developers use Reflector/IDA to disassemble the DLL file. This is new to me and I need somehow a good starting point or a good how to/example project.
[Windows Phone 7 Development and Hacking] MrNetrix:
Reflector is for .NET code. You just drag a .NET module onto Reflector and the rest is obvious. For native DLLs, such as the one you are talking about, you would have to use IDA, but if you would have to learn ARM assembly for it to be of any use to you.
[Windows Phone 7 Development and Hacking] sensboston:
(nico), after small research I can tell: for some strange reasons the behavior of HTC and Samsung handsets on Mango beta is different! On Samsung I can deploy app with ID_CAP_INTEROPSERVICES and manufacturer's signed native dll; on HTC - I can't (getting 0x81030120 error).

P.S. Just remembered the difference: I unlocked Focus by using attached xml (using provxml method) for some reasons; HTC was unlocked by standard way. So, I'm suspecting these keys are responsible for ID_CAP_INTEROPSERVICES restriction (sound really strange but I have no other variants):

<characteristic type="HKLM\Software\Microsoft\DeviceReg">
<parm name="PortalUrlProd" value="" datatype="string" />
<parm name="PortalUrlInt" value="" datatype="string" />
</characteristic>
[Windows Phone 7 Development and Hacking] MrNetrix:
I have confirmed that using the GPRS method (unlock.xml) has the sideeffect of eliminating the 0x81030130 error completely.

I reverted back to NoDo, then updated to Mango. Before doing anything else other than the normal device registration, I attempted to sideload interop apps and got the 0x81030120 error. Immediately after loading the unlock.xml, I was able to sideload interop apps without a problem.
[Windows Phone 7 Development and Hacking] piaqt:
Don't know if this helps, but: "Using Isolated Storage to save/load files on Windows Phone 7" http://bit.ly/n9kIXE
[Windows Phone 7 Development and Hacking] DavidinCT:
Ok, if anyone follows this process, please Hit thanks, I spent many hours rolling back to NoDo and reupgrading to Mango (5 times, trying different things).

This worked on my CDMA Verizon HTC Trophy. Where the HTC Connection manager works (loads, and runs),it should work across the board with HTC based Devices. This gave me full unlimited (22 so far with no issues)deployments and full file manager access. Regsitry access to some keys are still in question but, otherwise everything works.

Assuming you are Dev unlocked or via another unlocked process.

You need to mostly follow the process here (just understand what is going on)

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

But, use the attached file.

Roll back to NoDO, use Windows Phone Device Manger to transfer that unrar'ed CustClear.provxml to your phone (prefer your My Documents).

-Make sure you have the Current HTC Connection Manager installed and have ran it at least once (make sure it's updated)

-You need TouchXplorer installed (seach here you'll find it)

-After you are at this point,

copy

the CustClear.provxml to the \Windows folder via TouchXplorer.

-I also had RemoveSideloadLimit.xap installed as well.(you don't need this, it's just a 2nd running of the mod, the CustClear does the same thing)

Now step towards mango... Follow the Provision thing, Do the backup (very important)

then it will upgrade you to 7401, At this point STOP !!!!!!

(Just close the notfication that you have an update available)

Now, if you installed the RemoveSideloadLimit.xap, run it now, then also run the Connection manager. Reboot the Phone. Try to sideload a few apps, confirming that it works fine at this point. Use TouchXplorer again to re-copy the CustClear.provxml to the \Windows folder, just in case.

Once you confirm that you are unlocked and can deploy a few apps with out any limit issues, then plug back into Zune and upgrade to 7661 (mango b2).

When mango finally loads up, you will be unlocked, your sideload apps should still work (if over 3) and TouchXplorer should still run.

At this pont your limits are gone, File acces does work and you are where you want to be.

The Trick is to install the hacks in 7401 and not in 7661, I found this out the hard way. Please post back with your results and again don't forget to leave thanks if it worked for you.
[Windows Phone 7 Development and Hacking] Wind Dancer:
I too have done the Mango update a few times only to have a locked phone when I am all done.

The only difference I see in your process is you didn't run Connection Setup after update to 7661. Is that what made it work for you? Most other tutorials say to run it after 7661 update.
[Windows Phone 7 Development and Hacking] DavidinCT:
Yea, and tried that 4 times with no luck, I confirmed 2 times that it took all the hacks from 7401 to 7661...
[Windows Phone 7 Development and Hacking] SimzzDev:
HTC Connection Setup won't run on the HTC Arrive.
[Windows Phone 7 Development and Hacking] DavidinCT:
Really ? Someone else said it did...Hmmmm

You can try to apply the hack via the other tool I said...
[Windows Phone 7 Development and Hacking] SimzzDev:
What other tool? Sorry I must have missed it.
[Windows Phone 7 Development and Hacking] CopyCounsler:
I've been trying the prov hack for quite some time without success. FOllow my earlier efforts here: http://xdaforums.com/showthread.php?t=1035392
[Windows Phone 7 Development and Hacking] Wind Dancer:
Still didn't work. Everything was working in 7403, but alas 7661 now it's relocked, again!
[Windows Phone 7 Development and Hacking] DavidinCT:
Not if it was a 7401 thing to 7403.... Sorry, Tried to help
[Windows Phone 7 Development and Hacking] killerkhatiby009:
So you said this worked on a CDMA Trophy? Because HTC Connection Setup does not load on the CDMA Sprint HTC Arrive and I thought I remember reading HTC Connection Setup does not load on the Trophy either. Did you get an older version of connection setup or something?
[Windows Phone 7 Development and Hacking] DavidinCT:
Not sure if the fact that the Trophy is a world phone with a sim card has anything to do with it.

The version of the HTC connection setup was taken down from the marketplace... and it was updated once.
[Windows Phone 7 Development and Hacking] musicmaniaccro:
Try this (it worked for me)

1. TAp connection setup and hold it - uninstall option appears - UNINSTALL it.

2. Go to marketplace ON YOUR phone (not in Zune) and search for connection setup

It should be found (i did it).

3. When it's found tap it and install it

And.... miracle... It's working...
[Windows Phone 7 Development and Hacking] DavidinCT:
ANd what phone do you have ?
[Windows Phone 7 Development and Hacking] musicmaniaccro:
My phone - HTC HD7
[Windows Phone 7 Development and Hacking] schizo440:
will the sideloaded apps from previous bilds work or should i do clean install
[Windows Phone 7 Development and Hacking] Arktronic:
FYI - today's Mango B2 Refresh update (build 7712) includes a new version of PacmanInstaller.exe.
[Windows Phone 7 Development and Hacking] fiinix:
Heh, that was unexpected... not :)

Cant they help homebrew instead...

inb4 bla bla homebrew bla; i know.
[Windows Phone 7 Development and Hacking] drkfngthdragnlrd:
Yeah, nice job MS. You're sabotaging the Official Chevron Unlock. The whole reason people want it is for native apps like customization, registry editors, file explorers. How about you (MS) give us official File Explorer/Registry Editor with administrator rights for all devices so we don't have to hack around like we are. Also, allow native code. Those of us who do this are more than happy to take responsibility for what happens if we mess up. We are not computer illiterate users & want control over our devices.
[Windows Phone 7 Development and Hacking] piaqt:
Have you been reading my posts to MSFT? ;) Amen.
[Windows Phone 7 Development and Hacking] thesecondsfade:
With HSPL available now for HTC devices, maybe someone could cook a ROM to include Nodo's PacmanInstaller.exe with Mango, which should allow sideloading of XAPs with ID_CAP_INTEROPSERVICES.
[Windows Phone 7 Development and Hacking] XeKToReX:
But you then have to worry about what else will break if new features have been added to Pacmaninstaller.exe since NoDo's release.

XeKToReX
[Windows Phone 7 Development and Hacking] drkfngthdragnlrd:
True, the best method would be for an experience Hex Editor to edit the Pacmaninstaller.exe & what ever other EXE's/DLL's etc. might have this block in them. Not an easy task, but I'm sure there's someone experienced enough to do this w/o breaking anything.
[Windows Phone 7 Development and Hacking] GoodDayToDie:
The idea of using a modified PacManInstaller.exe is interesting - it shouldn't be too hard to NOP out the INTEROP flag check, though you'd have to make sure it didn't break anything else (like installing the app but not even noticing it had Interop, so the COM APIs still fail).

However, I assume it's a signed binary. Doing this would invalidate the signature, which might make the phone refuse to run it at all (no installing of any XAP, homebrew or otherwise, in that case).
[Windows Phone 7 Development and Hacking] drkfngthdragnlrd:
I don't think a signature would be a problem. XBoxMod made a HD2 ROM that has custom icons which requires editing a few different dll's & it hasn't effected his ROM.
[Windows Phone 7 Development and Hacking] ceesheim:
no this isn't a problem when cooking but if you try to copy it on a running os then it will dev hard reset the phone.

all files are threaded as authentic when cooked.

for others reading this :p

it isn't easy to cook in dfrouter.xap and get it to work because we don't have a license file

and I think that you can't copy a installed one from another phone and cook that one as installed (because on first boot all folders are made and after that has happend the .xap's are installed)
[Windows Phone 7 Development and Hacking] diboze:
totally offtopic...but do you know which dlls/muis he edited to change the icons?

EDIT: And i thought recmod'ing the dll/exe isnt solved with wp7?
[Windows Phone 7 Development and Hacking] drkfngthdragnlrd:
I forget which DLL's have the built in apps & status bar icon off hand. Also, I believe this recmod is working on WP7.
[Windows Phone 7 Development and Hacking] piaqt:
Dumb question: What's recmod?
[Windows Phone 7 Development and Hacking] drkfngthdragnlrd:
To make it short, some of the dll's/mui's/exe's(?) in the ROM are modules. Basically, when dumped, they appear as a folder with a bunch of part files inside it. You use RecMod to merge these parts back together into the original dll/etc. so you can edit it.
[Windows Phone 7 Development and Hacking] fiinix:
Ok, i got some interesting attachments. Ill come back to them later.

___

"{A32942B7-920C-486b-B0E6-92A702A99B35}"="Generic power-manageable devices"

"{8DD679CE-8AB4-43c8-A14A-EA4963FAA715}"="Power-manageable block devices"

"{12D9C52E-B9CA-4381-91E1-1919B414A370}"="Power-manageable flash devices"

"{7119776D-9F23-4e4e-9D9B-9AE962733770}"="Power-manageable touch devices"

"{0007AE3D-413C-4e7e-8786-E2A696E73A6E}"="Power-manageable backlight"

"{F7723D0D-ABF5-4002-A417-F7441CBBEFDE}"="Power-manageable ALS"

"{98C5250D-C29A-4985-AE5F-AFE5367E5006}"="Power-manageable NDIS miniports"

"{EB91C7C9-8BF6-4a2d-9AB8-69724EED97D1}"="Power-manageable display"

"{3267CC03-F391-4fb1-BADD-36FBB8815E86}"="Power-manageable sensor" ;sensors that turn off in UserIdle & power manager proximity power management

"{353AB542-D75F-41F8-A793-1C7047CF00E7}"="Power-manageable keyboard"

Device Power States (D0, D1, D2, D3, D4)

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\State\UserIdle\{0007AE3D-413C-4e7e-8786-E2A696E73A6E}]

"Default"=dword:4 ; D4 ; backlight off

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\State\UserIdle\{F7723D0D-ABF5-4002-A417-F7441CBBEFDE}]

"Default"=dword:4 ; D4 ; ALS off

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\State\UserIdle\{3267CC03-F391-4fb1-BADD-36FBB8815E86}]

"Default"=dword:4 ; D4 ; sensor off

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\State\UserIdle\{EB91C7C9-8BF6-4a2d-9AB8-69724EED97D1}]

"Default"=dword:4 ; D4 ; display off

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\State\UserIdle\{7119776D-9F23-4e4e-9D9B-9AE962733770}]

"Default"=dword:4 ; D4 ; touch off

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\State\UserIdle\{353AB542-D75F-41F8-A793-1C7047CF00E7}]

"Default"=dword:3 ; D3 ; keyboard "sleep"

Before we did control wifi in "The DllImport Project" (still do):

private static int wifiCall(string m, int _1, int _2)
{
return DllImportCaller.lib.StringIntIntCall("coredll", m, "{98C5250D-C29A-4985-AE5F-AFE5367E5006}\\BCMSDDHD1", _1, _2);
}
public static void SetState(PowerState state)
{
var notify = wifiCall("DevicePowerNotify", (int)state, 1);
var set = wifiCall("SetDevicePower", 1, (int)state);
}

Thus:

My idea is to take control over "camera flashlight", making a real light instead of "screen brightness lamp"

Maybe: {12D9C52E-B9CA-4381-91E1-1919B414A370} (flash devices)

____

The other attachments are system certificates indicating a signed dll (managed) (not sure)

- Because we added certificates to registry before, but did not seem to be enough to pass the "allow that what is ordinary blocked (default)"

Thats about it for the moment
[Windows Phone 7 Development and Hacking] ceesheim:
here is the pacmaninstaller.exe from build 7714

just rename the .zip to .exe

just for the ones who want it.
[Windows Phone 7 Development and Hacking] fiinix:
Would be thankful to also get this file (IDA wants it) (more accurate de-compile):

- ossvcs.dll

edit:

Found some interesting data:

ID_CAP_OEMPUBLICDIRECTORY

- New CAP flag?

Also, asm in attachment.

___

BitsPerPixel, HubType, IsBeta, SingleInstanceHost, Version, Title, RuntimeType, ...

___

"IsEncryptedXap".........

___

YES THERE WE GO "ID_HW_FRONTCAMERA"
[Windows Phone 7 Development and Hacking] ceesheim:
just remove .zip :D
[Galaxy S I9000 General] hql:
Hi guys, i bought an i9000 and made regular backups of pictures videos etc, my phone was recently stolen, so I was wondering is there a way to extract the data from the backup files and where are the backup files stored on my machine, I used kies to create the backups.,

Any help would be appreciated :(
[Galaxy S I9000 General] hql:
Just to add on, under preferences > device I can see the two backups I made their .sbu files so does anyone know how to get them and extract the data? would be a life saver if this can be done
[Nexus S General] kyleds:
hey guys,

I don't know if this still a problem with people. but I'm on win7 64bit and I can't seem to connect my nexus s, to my computer. I always have to upload from computer to dropbox then download the file from DB on my phone... usb plug doesn't work. I tried the same cable with my wifes Samsung vibrant and it recognizes it, but when i plug in my nexus s the debug icon shows up on my phones status bar for like 1 second and disappears. then window on my compter says "USB Device Not Recognized"

need help please.