XAP Deployment in Mango? Error 0x81030120 - Windows Phone 7 Q&A, Help & Troubleshooting

I can't seem to find an answer for this. I get this error trying to deploy a XAP to my device. When I look things up, people say to remove "<Capability Name="ID_CAP_INTEROPSERVICES"/>" line from the WMAppManifest.xml file but the apps that I am deploying (for instance, Battery Tool) do not contain this line.
Any help?

dreamcaster012 said:
I can't seem to find an answer for this. I get this error trying to deploy a XAP to my device. When I look things up, people say to remove "<Capability Name="ID_CAP_INTEROPSERVICES"/>" line from the WMAppManifest.xml file but the apps that I am deploying (for instance, Battery Tool) do not contain this line.
Any help?
Click to expand...
Click to collapse
I assume when you say BatteryTool, you mean Battery Percent & it does have the INTEROPSERVICES line. It's a native app. This has been said before that native apps that aren't signed by MS don't work in Mango (Except TouchXplorer, but it must be side loaded before upgrading to Mango). Please use the search feature before posting a new thread on a topic that has been discussed numerous times already in a few different threads. If you are talking about HTC's Battery Tool, it also has the INTEROPSERVICES line.
NOTE: While that HTC tool is signed, it still can't be side loaded. Native apps can only be installed via the market in mango & only OEM's are allowed native access. You can try deleting that line from the file & see if it'll work.

Thanks for the help. I did try searching, but next time I'll have to search a bit harder.

drkfngthdragnlrd said:
I assume when you say BatteryTool, you mean Battery Percent & it does have the INTEROPSERVICES line. It's a native app. This has been said before that native apps that aren't signed by MS don't work in Mango (Except TouchXplorer, but it must be side loaded before upgrading to Mango). Please use the search feature before posting a new thread on a topic that has been discussed numerous times already in a few different threads. If you are talking about HTC's Battery Tool, it also has the INTEROPSERVICES line.
NOTE: While that HTC tool is signed, it still can't be side loaded. Native apps can only be installed via the market in mango & only OEM's are allowed native access. You can try deleting that line from the file & see if it'll work.
Click to expand...
Click to collapse
I have confirmed that using this method completely eliminates the 0x81030120 error and allows sideloading of native apps (at least on Samsung devices): http://forum.xda-developers.com/showthread.php?t=1152422

MrNetrix said:
I have confirmed that using this method completely eliminates the 0x81030120 error and allows sideloading of native apps (at least on Samsung devices): http://forum.xda-developers.com/showthread.php?t=1152422
Click to expand...
Click to collapse
Yes, I'm the one who found the method. It does break most homebrew apps though. At least the apps I tested when I figured this out.
Install Homebrew Apps in Mango Beta & Resumible Apps

drkfngthdragnlrd said:
Yes, I'm the one who found the method. It does break most homebrew apps though. At least the apps I tested when I figured this out.
Install Homebrew Apps in Mango Beta & Resumible Apps
Click to expand...
Click to collapse
No, your method is a workaround to get native apps to sideload without the native part...
The method that I linked to allows sideloading of apps with ""<Capability Name="ID_CAP_INTEROPSERVICES"/>", meaning they work just fine, as long as the native DLLs used are from OEMs.

MrNetrix said:
No, your method is a workaround to get native apps to sideload without the native part...
The method that I linked to allows sideloading of apps with ""<Capability Name="ID_CAP_INTEROPSERVICES"/>", meaning they work just fine, as long as the native DLLs used are from OEMs.
Click to expand...
Click to collapse
Maybe I'm missing something, that link is how to jailbreak Mango on Samsung devices. This only works on Samsung devices as it requires the diagnosis thing you have on Samsung devices. Also, are you allowed to sideload the apps in Mango with that line in place? I can't sideload any apps that has INTEROPSERVICES, OEM or not. Navigon Select is an OEM app & is signed & it won't sideload without removing that line.

drkfngthdragnlrd said:
Maybe I'm missing something, that link is how to jailbreak Mango on Samsung devices. This only works on Samsung devices as it requires the diagnosis thing you have on Samsung devices. Also, are you allowed to sideload the apps in Mango with that line in place? I can't sideload any apps that has INTEROPSERVICES, OEM or not. Navigon Select is an OEM app & is signed & it won't sideload without removing that line.
Click to expand...
Click to collapse
Well I only have one Windows Phone, which is a Samsung, so I do not know what is available or not on other brands.
Yes, I am allowed to sideload any valid XAP, unsigned, signed, interop or not on Mango. It is an unexpected side-effect of using the unlock.xml with the GPRS Manager. As I said, it removes the interop sideloading error completely. I have no idea why it happens, but it does. I was not even aware that the error existed until I saw people talking about it.

MrNetrix said:
Well I only have one Windows Phone, which is a Samsung, so I do not know what is available or not on other brands.
Yes, I am allowed to sideload any valid XAP, unsigned, signed, interop or not on Mango. It is an unexpected side-effect of using the unlock.xml with the GPRS Mananger. As I said, it removes the interop sideloading error completely. I have no idea why it happens, but it does. I was not even aware that the error existed until I saw people talking about it.
Click to expand...
Click to collapse
Hum, interesting. It seems Samsung users are lucky than. I looked at the unlock.xml & there's nothing there. It must be something the diagnosis app is doing.

Related

Mango & custom apps.

It looks like Mango will not allow us to run any custom tools/code like regeditors or anything thats not from the market place.
I get Error - 0x81030120
Am i the only one?
I found that my device wasn't being recognised as being developer unlocked, so I couldn't run or deploy any side loaded apps.
I then ran the developer unlocker tool (the real one) and it said I was already unlocked and since then I've been able to side load.
Some apps just won't work now though. The restrictions have been tightened and any app using Interop services won't work.
Casey
advanced config and explorer touch experience all dont seem to work
dawgmeat said:
advanced config and explorer touch experience all dont seem to work
Click to expand...
Click to collapse
Ye ive been having the same problem, which is a shame. Looks like the devs will have to start all over again
Hopefully they can find a way before it goes out to everyone.
Casey_boy said:
I found that my device wasn't being recognised as being developer unlocked, so I couldn't run or deploy any side loaded apps.
I then ran the developer unlocker tool (the real one) and it said I was already unlocked and since then I've been able to side load.
Some apps just won't work now though. The restrictions have been tightened and any app using Interop services won't work.
Casey
Click to expand...
Click to collapse
I didnt have a problem using the real dev unlock tools. Only problem i have now is the restriction that only allows to deploy 3 apps. Not that i want to install anything other then MSN Video which we dont get in the UK.
advanced config and explorer touch experience all dont seem to work
Did you confirm that you can only sideload 3 apps?
Mango no longer supports apps that use interop services to make COM calls.
http://www.withinwindows.com/2011/06/20/short-windows-phone-mango-blocks-interop-services-apps/
PG2G said:
Mango no longer supports apps that use interop services to make COM calls.
Click to expand...
Click to collapse
That sucks big time, extremely disappointed
I was excited by the possibilities of having Mango and tweaking it to my liking but now I can't do any of that and after searching around it appears there is no work around, devastated

I unlocked my devise through App Hub. How can I install xap files?

Hello,
I registered my device through the App Hub, I am a student. I registered it through the Windows Phone Developer Registration.
Now, can I install XAP files, downloaded from the forum? I tried Tom Xap Installer without luck.
Thank you for any info.
If you registered your phone as a device under https://users.create.msdn.com/Account/Devices then you should definitively be able to install any xap file you want.
For more information look at the huge documentation from Microsoft:
http://msdn.microsoft.com/en-us/library/gg588378(v=VS.92).aspx
I tried to install 2 applications, Registry Editor (TouchXperience), and Sms Backup but I got an error code. I searched and find that if you have a registered device you can not install homebrew xaps. Something about interop-unlock.
What does that mean and is there a way to pass it ?
I also tested this http://forum.xda-developers.com/showthread.php?t=1149186 it gave me a successful message but it is not showing in my phone though.
You're partially right. All apps which haven't been committed to the MS Marketplace are "homebrew" apps. Technically there isn't even a difference between homebrewn and "official" apps. So usually you should be able to deploy any app to your phone.
The problem is (in your case) that some apps require more security rights on your phone than others - simply spoken. For example those are apps which try to access the registry or any system-near functions (like text messages). Those apps require you to interop-unlock your phone which is more complex and depends on various factors.
Just use the forum search to find "wp7 interop unlock mango".
There's a huge market of non-interop apps which you can just deploy like any other self-developed app.
I hope I could help you.
Thank you. One last question. Can you point me a link of non-interop apps?
When you were researching that error code and found out about interop-unlock, did you also miss the thread on how to interop-unlock your phone? OK, not all phones can be IUed, but many can. http://forum.xda-developers.com/showthread.php?t=1271963 has info about interop-unlock, and the steps (and tools) required to get it (on supported phones).
As for non-interop homebrew, I'm not sure there's a full list anywhere. A few examples, though:
Screen Capturer
Mango Webserver
Folders
DllImport project (and most things made using it)
Orientation Lock
OEM Marketplace XAPs (not really apps, they just take advantage of the app installer)

[for any programmer/hacker] Want to install the Homebrew App (.Xap) for freely?

I have one idea for great solution [need help from experts].
Hey guys, about two months I started to find some way to unlock my HTC HD7.5 with Mango at the latest update.
But up till now, I never find a concrete way to Unlock my Windows Phone because I find any different problems when I tried to Unlock my Device.
It was a true damnation for me, because I like so much to personalize my things, it's my passion and sincerely I don't accept to have one phone with the same aspect of the all originals.
Now I explain my idea,
With the original Microsoft Marketplace App on our Smartphones, we can always download and install directly the Apps (.Xap) inside and without Chevron.
For the Homebrew it's not the same, we can't install this directly like Marketplace, we need always the unlock.
But now the idea coming in my mind, if we study this App function and adapt it for install the custom Apps by the Web browser, and we put it on same blog with his website gadget, can also make that functions?
Pratically I think:
We create some blog/site with info, news, and the App-gadget who can simulate the Marketplace functions, with the running and installing process.
After we can open that through our Smartphone's IE9 and we feely download ad install the homebrews apps, also the jailbreaks/unlocks (if we create some kind of new).
Anyway it's a great idea, and I'm sure we need the concrete gadget, me I can't realize because I don't have some programmator experiences, but I find this bast**d idea
Here there are much programmators, for they maybe it's not a problem to realize!
I hope xD
It's entirely possible that I'm misunderstanding due to your English (though I doubt I'd do as well in whatever your native language is) but I *think* what you're suggesting is already well-known to not be possible.
First of all, the phone will neither install nor execute unsigned apps (that is, homebrew) unless it is developer-unlocked. You can test this on a dev-unlocked phone; temporarily revoke the dev-unlock, and try to launch any app that you sideloaded onto the phone. It won't work. Since it's extremely unlikely that will be able to add the Marketplace signature to homebrew XAP files, that's a no-go.
Second, we already know how to install apps from IE on the phone (if you look at my XapHandler app, that's what it does). However, just because we know how to do it doesn't mean it can be done on every phone. First, you need dev-unlock just so you can execute unsigned code on the phone at all. Second, you need root-unlock so the XAP installation code runs with enough privileges to install apps.
If instead you mean just make a website that spoofs the Marketplace, that's easy to do but it won't help. The phone doesn't actually really care what Marketplace site it connects to; it just downloads the app over HTTP from some web server. The problem is that the XAP file needs to be signed (first issue that I mentioned) or a dev-locked phone won't install it.
GoodDayToDie said:
It's entirely possible that I'm misunderstanding due to your English (though I doubt I'd do as well in whatever your native language is) but I *think* what you're suggesting is already well-known to not be possible.
First of all, the phone will neither install nor execute unsigned apps (that is, homebrew) unless it is developer-unlocked. You can test this on a dev-unlocked phone; temporarily revoke the dev-unlock, and try to launch any app that you sideloaded onto the phone. It won't work. Since it's extremely unlikely that will be able to add the Marketplace signature to homebrew XAP files, that's a no-go.
Second, we already know how to install apps from IE on the phone (if you look at my XapHandler app, that's what it does). However, just because we know how to do it doesn't mean it can be done on every phone. First, you need dev-unlock just so you can execute unsigned code on the phone at all. Second, you need root-unlock so the XAP installation code runs with enough privileges to install apps.
If instead you mean just make a website that spoofs the Marketplace, that's easy to do but it won't help. The phone doesn't actually really care what Marketplace site it connects to; it just downloads the app over HTTP from some web server. The problem is that the XAP file needs to be signed (first issue that I mentioned) or a dev-locked phone won't install it.
Click to expand...
Click to collapse
Uhm ok, I understand.
Too bad, because it was a good idea!

Nokia's Camera Extras

Is it safe to download Camera extras to my omnia 7?
Or does it needs a tweak for my phone?
edit: tried to deploy via pc. but does nowhere show up
edit2: ok it does. but it says its not compatible and i need an update.
so who makes a tweak for the app?
gl123 said:
Is it safe to download Camera extras to my omnia 7?
Or does it needs a tweak for my phone?
edit: tried to deploy via pc. but does nowhere show up
edit2: ok it does. but it says its not compatible and i need an update.
so who makes a tweak for the app?
Click to expand...
Click to collapse
+1 Same here... "ok it does. but it says its not compatible and i need an update.
so who makes a tweak for the app?"
gl123 said:
Is it safe to download Camera extras to my omnia 7?
Or does it needs a tweak for my phone?
edit: tried to deploy via pc. but does nowhere show up
edit2: ok it does. but it says its not compatible and i need an update.
so who makes a tweak for the app?
Click to expand...
Click to collapse
camera extras requires tango i believe. Plus there is a good chance it will not work on non-nokia devices
I have tried it on my HTC Trophy running Tango, I still get the 'needs updating' message.
Hopefully someone will be able to bypass this soon
I'm running ceesheim's ROM http://forum.xda-developers.com/showthread.php?t=1571068 (v3.4 though) and managed to sideload it on.
It installed fine and stuff but I don't get all the extra features....well....it gives me an option to change the camera output to 8megapixels which isn't obviously true.
But it doesn't give me any of the other goodies :crying:
bump
I've managed to get it installed on my omnia 7 (currently on mango) and found out that by changing the device name and oem in the registry editor to "NOKIA Lumia 900" the "update" message disappeared, so I guess this doesn't need tango to be running. Perhaps we need nokia dll's :\ Or some other tweak...
For me the app works without changing something....but we need the dll to run the app properly
but I have no extra options in my camera-settings
First of all, there's almost no chance of this working on non-Nokia stock firmware. It will rely on software components that other firmwares won't have, and that non-fully-unlocked ROMs won't be able to install and use.
Second, for people like @slipnarf: Revert that change to the DeviceTargetingInfo registry values *immediately*, or you will probably brake the Marketplace DRM and your phone will be unable to either install or run Marketplace apps. This break appears to take a day or two, but is irreversible except by reverting a backup or doing a hard-reset once it occurs. (This warning should be present in every thread that talks about those registry values, but for some reason people continue to muck with DeviceTargetingInfo and mess up their phones.)
Go to Omnia7 Dev section, mirolg has cooked a fully unlocked ROM which contains the Nokia DLL's and therefore the camera extras.
hi
please can anyone upload the dll-files for nokia camera extras!!??
i don't can find them in forum or with help of google..
thanks a lot!!
in the deepshining rom are the nokia camera extras work fine, but i don't want to flash my device again for this features..

Is there any way to re-interop? Focus S.

Hello,
In all my excitement over Tango, I neglected to read any of the warnings posted around the forums/web. I installed Tango via the cab sender method (neglected to make a backup) and everything still worked, or at least the homebrew apps I launched still did. Searching the forums, I found the Samsung firmware somewhere in the replies to the cab thread, and pushed it also. This was late at night and it wasn't until the next day I noticed I can't launch almost half of my homebrew apps. It's said restoring from a backup (don't have one) or flashing back to Mango is the only way to fix this. Is that true? Well ****. Because there is no ROMs (stock nor custom) for the Focus S..
What should I do?
Thanks in advance,
6-4.
64GUNSHIP said:
Hello,
In all my excitement over Tango, I neglected to read any of the warnings posted around the forums/web. I installed Tango via the cab sender method (neglected to make a backup) and everything still worked, or at least the homebrew apps I launched still did. Searching the forums, I found the Samsung firmware somewhere in the replies to the cab thread, and pushed it also. This was late at night and it wasn't until the next day I noticed I can't launch almost half of my homebrew apps. It's said restoring from a backup (don't have one) or flashing back to Mango is the only way to fix this. Is that true? Well ****. Because there is no ROMs (stock nor custom) for the Focus S..
What should I do?
Thanks in advance,
6-4.
Click to expand...
Click to collapse
Yeah... I want to say you're unfortunately screwed :-\.
To make matters worse, the Wireless manager no longer appears to work for configuring MMS when carrier unlocked. I guess I'll just go back my Quantum's for hacking and hard reset this device ..ill wait a while though.
Sent from my SGH-i937 using XDA Windows Phone 7 App
Do you have *any* homebrew apps that
A) you can still run
B) you marked as Trusted in WP7 Root Tools?
It sounds like what happened is that your phone reverted from interop-unlock to simple dev-unlock (you presumably have an AppHub account?). However, this does *not* revert root-unlock as applied by WP7 Root Tools. Root Tools itself requires ID_CAP_INTEROPSERIVCES, and as such can't be run without interop-unlock. However, the apps that it has marked as Trusted will continue to run with full permissions (root unlock).
So, here's what you do.
First, identify an app that you can run (i.e. that isn't interop) and that is marked as Trusted.
Second, take the GUID of that app, and use that GUID to replace the ProductId of the Tango-update-workaround app (which essentially just restores interop-unlock).
Third, remove homebrew apps from your phone (but not the target app, the trusted one you can still run) until you are able to deploy an app (usually, this means reduce to 9 homebrew apps).
Fourth, use a XAP deployer that supports updating, and do an update-install of the workaround app (upgrade, because it's using the GUID of the already-installed target).
Fifth, run the workaround app, and then re-install your normal apps.
I did as you instructed, however I still have the 10 sideload limit and am unable to deploy any interop services.By tango workaround app, you meant relockprevent, correct?
Is there something I may have missed?
Like I said, I installed the Samsung LE2 update for the Focus S which is basically the KK2 equivalent, so provxml will no longer work.
Also, I do not have an apphub account.
Bump. Anyone have any ideas? A friend put a support ticket in with Samsung internal support to see if they can get the ROM.
64GUNSHIP said:
Bump. Anyone have any ideas? A friend put a support ticket in with Samsung internal support to see if they can get the ROM.
Click to expand...
Click to collapse
Oh so it was that firmware update that just broke interop. Yeah I want to say at this point you are stuck. I doubt that Samsung will give the ROM since it isn't an issue that is preventing you from doing out of the box functionality.
Sent from my SGH-i917 using XDA Windows Phone 7 App
snickler said:
Oh so it was that firmware update that just broke interop. Yeah I want to say at this point you are stuck. I doubt that Samsung will give the ROM since it isn't an issue that is preventing you from doing out of the box functionality.
Sent from my SGH-i917 using XDA Windows Phone 7 App
Click to expand...
Click to collapse
isnt the provxml method using diagnostic tools the reason for this no longer working, what i mean by that is if you were to install the older version of the diag tool would that not restore functionality, or has the lock down of that gone much deeper? if you are able to install XAPs then find an older OEM update version pre KK2/LE2, open it up and rip out the diagnostic tool XAP, remove any previous installed version then send over the XAP....
just a thought, it might not work, but essentially i think thats what happens unless of course there are other dlls or drivers that the tool needs that have also been updated....
course it would be great to find someone willing and able to help crack the bootloader
dazza9075 said:
isnt the provxml method using diagnostic tools the reason for this no longer working, what i mean by that is if you were to install the older version of the diag tool would that not restore functionality, or has the lock down of that gone much deeper? if you are able to install XAPs then find an older OEM update version pre KK2/LE2, open it up and rip out the diagnostic tool XAP, remove any previous installed version then send over the XAP....
just a thought, it might not work, but essentially i think thats what happens unless of course there are other dlls or drivers that the tool needs that have also been updated....
course it would be great to find someone willing and able to help crack the bootloader
Click to expand...
Click to collapse
Yeah I gave the suggestion to him in the Cab Sender thread to try and look on here for the Diag v 0109 or even 0210. That's the version that I have. Actually in the Cab Sender thread, I posted the cab file to the samsung firmware for Mango that should have that diagnostics version in the cab. You may be able to push that to your device
The old version was still installed after updating, it didn't work.
64GUNSHIP said:
The old version was still installed after updating, it didn't work.
Click to expand...
Click to collapse
Ok, that means that the firmware also pushed out new Dlls to prevent proxvml. You are stuck unfortunately :-\
Ive been asking around and doing some research and as of today your stuck, sorry!
I did some poking around on DFTs website as well and there is absolutely ZERO work being done on it, mostly because it seems like the focus S is an AT&T only phone, there just isnt a pressing needed to do anything, plus most folk dont have a focus S to work with.
i dont know what it would take to get some help or even guidance on getting the bootloader replaced but at the moment, until another method is found, thats all there is.
Tho This might be interesting to look in to but DONT DO IT!
did i read somewhere else you dont have a preupdated backup or was it that the backup didnt work?
snickler said:
Ok, that means that the firmware also pushed out new Dlls to prevent proxvml. You are stuck unfortunately :-\
Click to expand...
Click to collapse
There is a lot of changes in those updates, if we could insert our own certificate to allow us to build our own signed cabs we could probably work it out, but alas we can only add a cert in to a custom ROM then flash it...
Yes, unfortunately I bought the phone from a guy here on XDA in May, never had to update it (had been cab updated to 8107 before I got it), never made a backup before installing tango (it's a small update, what could it possibly **** up, right?) Anyway the Focus S was announced yesterday as being available online at some Australian website so maybe there will be ROMs available in the future. I still haven't heard back from internal Samsung support, but have also asked the user I purchased the phone from if he has any backups, which I would restore from and immediately reset again to ensure his privacy.
Honestly, I wouldn't mind losing interop-unlock until 7.8 comes around, or WP8 (whichever I can afford first), but MMS also can't be configured using the Wireless Manager anymore, and that's an absolutely vital feature for me. Although, the WM has been known to not work for a lot of people, even pre-tango, but it worked flawlessly OOB for me prior to updating.
64GUNSHIP said:
Yes, unfortunately I bought the phone from a guy here on XDA in May, never had to update it (had been cab updated to 8107 before I got it), never made a backup before installing tango (it's a small update, what could it possibly **** up, right?) Anyway the Focus S was announced yesterday as being available online at some Australian website so maybe there will be ROMs available in the future. I still haven't heard back from internal Samsung support, but have also asked the user I purchased the phone from if he has any backups, which I would restore from and immediately reset again to ensure his privacy.
Honestly, I wouldn't mind losing interop-unlock until 7.8 comes around, or WP8 (whichever I can afford first), but MMS also can't be configured using the Wireless Manager anymore, and that's an absolutely vital feature for me. Although, the WM has been known to not work for a lot of people, even pre-tango, but it worked flawlessly OOB for me prior to updating.
Click to expand...
Click to collapse
so you updated to the LE2 samsung update, was that via zune? (the last update it does in a row 3rd or 4th perhaps!) or did you cab send that as well?
if you went via zune then it does a backup as well, settings>update>restore
It was all done through the cab sender. There is no backup.
Just wanted to mention here... you know that CAB Sender is perfectly capable of making backups, right? It's one of the core operations the tool is capable of. Don't blame CAB Sender for you pressing S instead of B.
I just don't want people getting the impression that "through the cab sender" implies "there is no backup."
Fully aware, thank you.
?
Hello guys!
Got my device on the 8773 and did the samsung update...
Is there anyway to get my interop back ?
I have my backups (one the last 8773 without samsung update and the other is 7740 without anything =] )
Thanks a lot.
Restore your backup, do a little bit more reading on the subject of Tango with Interop Unlock, install the prevention app and mark it as trusted, and have at it. (Specifically, Tango will reset the "prevent relock" registry values, so you have to avoid the phone connecting to Microsoft until you have cleared them again).

Categories

Resources