I unlocked my devise through App Hub. How can I install xap files? - Windows Phone 7 Q&A, Help & Troubleshooting

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)

Related

XAP Deployment in Mango? Error 0x81030120

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.

[Q] HTC Titan unlocking

Hello I'm new to Windows Phone 7 (was into the whole jailbreaking on iPhone before) but before I try the whole unlocking thing I want to know a few things:
Is it possible to install and use Advanced Config to change accent colors etc on my HTC Titan.
Secondly is it possible to use this whole unlocking thing to install for example Samsung or Nokia exclusive apps on my HTC Titan.
If either of these two are possible I'd like to unlock with Chevronlabs (already paid for it), if not, then I don't see any reason to unlock or whatever.
Also how do I proceed after that. I mean I looked into the hacking en developing board but I don't understand any of it. With all those different Mango versions and different device requirements etc. It was all way easier with the iPhone/iPad.
Device model: HTC Titan X310e
Software: Windows Phone 7.5
OS: 7.10.7720.68
Hello,
acutally you can only unlock the phone using developer unlock (official or chevron) to sideload XAPs files. However on Mango it is not possible to install XAPs requiring the INTEROP capability (such as registry editors or, unfortunately, Advanced Config).
You will have to wait for a INTEROP-UNLOCK for HTC to install that program since the only way to do this is to downgrade to NoDo and hack it, which I think is not possible on HTC Radar since it comes with Mango preinstalled.
EDIT: For Nokia or Samsung apps I do not know but I hope for Nokia ones .
Thanks. So no reason to unlock yet Really hoped for Advanced Config too bad.
Oh, there are some good homebrew apps that don't need ID_CAP_INTEROPSERVICES.
Webserver: Easy way to transfer files between computers; don't even need a USB cable just wifi and a web browser which are pretty much everywhere.
Screen capture: Sometimes it's useful to be able to make screenshots, to show something off or explain something more clearly.
Folders: Categorize and group your apps. It's basically custom "hubs" of apps, except the tiles can deep-link as well.
There are a few more, those are just the ones that come to mind. If you've got any coding and/or security skills, feel free to start taking apart the ROM dumps or HTC apps and trying to find a way to interop-unlock them. I'm sure there's a way; we still have a ton to learn about this OS. Three months or so back, we didn't think it was possible to run native code at all without interop-unlock.
GoodDayToDie said:
Screen capture: Sometimes it's useful to be able to make screenshots, to show something off or explain something more clearly.
Folders: Categorize and group your apps. It's basically custom "hubs" of apps, except the tiles can deep-link as well.
Click to expand...
Click to collapse
Sounds interesting. I'll give it a try then anyway thanks.

[Q] Chevron unlock guide?

I know it's fairly simple process (if nothing goes wrong), but if possible, i would appreciate if someone can confirm if i understand prerequisites:
1) phone name in Zune must be unique.
I hate that kinda, but ok.
2) i need to have WP SDK installed.
Is that that huge install of a couple of GBs?
I would give a link, but download center keeps redirecting to some windows server update
3) chevron unlock tool
Am i missing something?
Again, i know there is FAQ on chevron, but it's thin on SDK part.
1) Best to ask them on Twitter @chevronwp7 or @WithinRafael.
2) Download the Support Tools or the SDK from here ( 14 Mb Each )
32-bit system, download the WPSupportToolv2-x86.msi package.
64-bit system, download the WPSupportToolv2-amd64.msi package.
3) chevron unlock tool is cheaper solution but if you need to put your apps in Market place you need App Hub Account
Chevron Tool basically uses The SDK and Zune to communicate with WP to unlock.
Let me know if you have more questions. I have written a tutorial on how to do it and it includes a bit length video if you want it.
Thanks alot!
Lol I though that I will have my phone inter-op unlocked after buying the token key.
What am i missing if i don't have interop?
If so you are not able to deploy apps that need root permissions such as wp7 root tool etc, apps that needs access to registry, write are not permitted
Sent from my OMNIA7 using XDA Windows Phone 7 App
Thank you.
wpxbox
Welcome Everybody. Dont forget to hit the thanks button if it helped you
nguyenhoangvk said:
If so you are not able to deploy apps that need root permissions such as wp7 root tool etc, apps that needs access to registry, write are not permitted
Click to expand...
Click to collapse
So i might miss out on some "more advanced" homebrew apps?
Do you maybe have concrete examples?
the reason i'm interested in unlocking is, and i'm not ashamed to admit it, to pirate apps from marketplace.
WP has been on the market where i live (Croatia) almost right from the start, and i've been an early adopter (got my omnia in feb). And there is still not a mention of when paid marketplace and various other services will be available.
Also, because i had to create another live account registered to UK and use it as my main phone account (for free marketplace access), my office hub is empty, and there are no skydrive photo albums in pictures hub, since all of them are on the live account i actually use, and not on this token i had to create. I missing out on great features.
With that in mind, do i need interop unlock for marketplace apps?

[Q] Will an unlocked phone stay unlocked?

I have an LG Quantum running Mango that is developer-unlocked.
I'm a student developer (signed up with an .edu account), which means I'm still on my free year. Once that free year expires, will my phone remain unlocked?
If not, can I use this tutorial to keep it unlocked? http://forum.xda-developers.com/showthread.php?t=974874
Thanks,
David
The phone will automatically re-lock once your AppHub account expires (although, if you're still a student at that point, I believe you can renew for free).
However, there's really no reason to limit yourself to the AppHub account. That tutorial you linked will work just fine, but it's missing one more value that you should set: MaxUnsignedApp (under the same registry key). This value controls how many non-Marketplace apps you're allowed to install (which, on your student account, is the painfully low value of 3). It also controls whether your phone is "interop-unlocked"; set it to at least 300 to be able to install apps that can use high-privilege system services nd drivers to break out of their sandboxes (for example, my MutilTaskToggle app and the upcoming WP7 Root Tools for LG both require this). Most people just set the value to 2,000,000,000 or so.
GoodDayToDie said:
The phone will automatically re-lock once your AppHub account expires (although, if you're still a student at that point, I believe you can renew for free).
However, there's really no reason to limit yourself to the AppHub account. That tutorial you linked will work just fine, but it's missing one more value that you should set: MaxUnsignedApp (under the same registry key). This value controls how many non-Marketplace apps you're allowed to install (which, on your student account, is the painfully low value of 3). It also controls whether your phone is "interop-unlocked"; set it to at least 300 to be able to install apps that can use high-privilege system services nd drivers to break out of their sandboxes (for example, my MutilTaskToggle app and the upcoming WP7 Root Tools for LG both require this). Most people just set the value to 2,000,000,000 or so.
Click to expand...
Click to collapse
Thanks! I've used this thread http://forum.xda-developers.com/showthread.php?t=1271963 to interop-unlock my phone already. Does this do the trick?
Also, is the WP7 Deployment tool offered from AppHub the only deployment tool available? Just curious.
Yeah, the Interop Unlock thread works fine. You'll notice it instructs you to do basically the same things as the other one, except it also instructs you to change MaxUnsignedApp.
It's not the only or even the best tool, no. However, most third-party tools rely on having the SDK installed anyhow, so you might want to do that nonetheless.
GoodDayToDie said:
Yeah, the Interop Unlock thread works fine. You'll notice it instructs you to do basically the same things as the other one, except it also instructs you to change MaxUnsignedApp.
It's not the only or even the best tool, no. However, most third-party tools rely on having the SDK installed anyhow, so you might want to do that nonetheless.
Click to expand...
Click to collapse
Can you direct me to some better deploying tools, by any chance?
TouchXperience works just fine, and has the additional advantage of tracking which apps are installed for purposes of backing up data from them.
Otherwise, just do a search for XAP Deployer. I've tried a few, but most have either had some bugs or not been worth the advantages they offered. I've forgotten which other tools worked best, but you can probably make some guesses by the popularity of the threads.
If the official tool would just associate with XAP files correctly, that would be fine. Instead, it doesn't do so automatically and even if you associate it manually you still have to manually select the file when the program starts.

[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!

Categories

Resources