Where are the xap's Stored? - Windows Phone 8 Q&A, Help & Troubleshooting

Hey Guys,
I have a question..
I have an unlocked Ativ S with full file access.
Now iam searching for an installed XAP on my Device.
For my knowledge the xaps are encrypted and after installing them from the marketplace they are decrypted.
And what i want to know where can i find them on my phone?
especially iam searching for the gopro app which is a free app but doesn't work with the new gopro 4 version.
So i hope i can find a way to fix that with the xap.
But thats only possible if i can open the xap with a zip tool.
Hope you guys can help me and understand what i mean.
thx

The decompressed xaps are stored under D:\Data\Programs\ You'll see many GUIDS which coincide with the APP GUID. If you search for the app on windowsphone.com, you'll be able to see the app guid in the url segment.

You can't get the decrypted xap.
But you can repack the unencrypted .xap by zipping the collection of installed content as a same.
"C:\Data\Programs" (for WP8.0 Apps)
"C:\Data\Programs\WindowsApps (for WP8.1 Apps)

snickler said:
The decompressed xaps are stored under D:\Data\Programs\ You'll see many GUIDS which coincide with the APP GUID. If you search for the app on windowsphone.com, you'll be able to see the app guid in the url segment.
Click to expand...
Click to collapse
Under that string, there are only a few Cached pics:
Computer\Samsung ATIV S\Phone\Data\programs\{BCA90C60-10C7-4009-B8B0-13DF4EBCF9DA}

You may not be using full filesystem access, just the low-privilege version that you get if MtpSvc runs from C:\ but not as LOCALSYSTEM. Assuming you're capability-unlocked, you can use the AllCapabilities version of my webserver to access the install folders of each app.
Note that the actual "\Data\Programs\" folder is not readable by the webserver, but if you know the subfolder you want (such as an app's GUID) you can use that to browse and it works fine.
Note also that the apps are installed in a subfolder (called Install) of the GUID folder. So for example, the install directory for the GoPro app is
Code:
\Data\programs\{BCA90C60-10C7-4009-B8B0-13DF4EBCF9DA}\Install

Related

Alpha: Storage Space Analyzer

Are you curious why space on your phone is using up so quickly? Do you want to know what this "Reserved space and other content" actually mean?
Just want to share an application I developed using Heathcliff74's WP7 Root SDK. It can help to show some light on the mystery "Reserved and Other" space shown in Zune desktop.
What it does:
This application will scan your phone and tell you how many space it takes for each category of files and each folder.
Categories including:
1. Music, Video and Picture.
The real space it takes. Including downloaded content and content not managed by Zune.
2. Applications
Know how much space each application you installed has taken, including their install file and their data file.
Space used by each folder on the phone is also listed.
Known issues:
1. Files and some Folders in root folder are not enumulated. I did not find a way to enum the root folder using Root SDK yet. So I have do perform a manul list of folders I think should be located at the root folder.
It is still in early stage. I even did not add the about page yet. It is pretty useful even at this stage. We can also start many interesting discussions from the data revealed. I want to share it anyway.
System Requirement: Any system that supports WP7 Root Tools!
Help needed: Anyone can suggest an icon and spash screen image for this tool?
A big thank to Heathcliff74 for the Root SDK!
How to obtain root access using WP7 Root Tools
1. Download WP7 Root Tools. Download from http://www.wp7roottools.com.
2. Install WP7 Root Tools. You may need to reboot your phone a few times during the install.
3. In WP7 Root Tools, go to Policies page, assign "Trusted" permission for Storage Analyzer.
Discussions:
1. Why music, pictures and video folders take more space that they show in Zune?
2. Each application will has their own "Content.IE5" folder. It will be a good idea to clean them up.
3. What are thees folders called Volatile*? Are they safe to delete?
Can you add the GUID of the applications in the listing... same as appSiege

[Q] Where do my files go?

Hi
I download mp3's and xap's from UC Browser on my Unlocked WP7.8 on HD2. Where do I locate these files in File manager ?
First of all, this is the WP8 forum. You want the WP7 forums, which are here: http://forum.xda-developers.com/windows-phone-7 The two platforms work completely differently.
Second, files downloaded using an app *usually* go into the app's isolated storage. I no longer remember the path to the IsoStore for a WP7 app (it's different on WP8) but it's something like \Applications\Data\{GUID}\IsolatedStore\. The GUID is the app's Product ID.
Note that homebrew apps may well write to other places on the file system instead.

[Q] IDEA: Adding cappabilities to app

GoodDayToDie said:
Two problems with that.
First of all, the app's install directory is read-only to the app permissions. You can't create, delete, or modify any file there from within the app (without some sort of "jailbreak" at least).
Second, and possibly more importantly, the permissions sandbox (or "appcontainer") that the phone uses to restrict an app is created at app install. Modifying the manifest is unlikely to have any benefit whatsoever (it certainly didn't help on WP7).
A good idea, though. Always glad to see people checking for such things.
Click to expand...
Click to collapse
As wp8.1 allows to move an app to the sd-card, I think point one should be ok. So how about modifying the app? I plugged my sd-card to the pc but all app files are kind of encrypted..
I tried it with @GoodDayToDie Webserver 0.5.0. http://1drv.ms/1flmBN4
thanks
gipfelgoas said:
As wp8.1 allows to move an app to the sd-card, I think point one should be ok. So how about modifying the app? I plugged my sd-card to the pc but all app files are kind of encrypted..
I tried it with @GoodDayToDie Webserver 0.5.0. http://1drv.ms/1flmBN4
thanks
Click to expand...
Click to collapse
as my phone doesn't support SD Card please send me one of does little apps you moved to sd card (please send a free app to me)
I will check it
but if you want to try adding Capabilities to app then re-write it in the folder it's surely not possible .
application capabilities are all checked and stored in your phone exactly when you install them (from your pc using Developer Unlock or from store)
Le Sigh...
This has been discussed extensively long, long ago. The manifest is only parsed at installation. You can do whatever you want to the manifest afterwards; it doesn't seem to have any effect.
It wouldn't help much anyhow. You wouldn't be able to *launch* a sideloaded app with Interopservices if not interop-unlocked. This can be tested by interop-unlocking a phone, sideloading an interop app, resetting the MaxUnsignedApp value to undo the unlock, and trying to run the app.

[Q] Hijack Samsung [FCRouter] RPC Server to Lumia.

I've Hijack Samsung Drivers and Services to Lumia Device.
All .Dsm .Reg files working fine. All registry entries has been successfully applied.
Placed "Non-Production Errors.txt" to Phone Documents Folder.
But RPCComponent.winmd not working yet. (External Component thrown an Exception Errors)
I've attached Package files here. It's from Samsung Ativ S GDR 1 Image.
C:\Windows\Packages\DsmFiles\Samsung.M8X30SOC.FCRouter.dsm.xml
C:\Windows\Packages\RegistryFiles\Samsung.M8X30SOC.FCRouter.reg
C:\Windows\Packages\RegistryFiles\Samsung.M8X30SOC.FCRouter.rga
C:\Windows\System32\CSCMgr.dll
C:\Windows\System32\FCRouter.dll
C:\Windows\System32\FMFTM.dll
C:\Windows\System32\Drivers\FCDriver.sys
C:\Windows\System32\Drivers\FCRouter.dll
C:\Windows\System32\CATROOT\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Samsung.M8X30SOC.FCRouter.cat
djamol said:
I've Hijack Samsung Drivers and Services to Lumia Device.
All .Dsm .Reg files working fine. All registry entries has been successfully applied.
Placed "Non-Production Errors.txt" to Phone Documents Folder.
But RPCComponent.winmd not working yet. (External Component thrown an Exception Errors)
I've attached Package files here. It's from Samsung Ativ S GDR 1 Image.
C:\Windows\Packages\DsmFiles\Samsung.M8X30SOC.FCRouter.dsm.xml
C:\Windows\Packages\RegistryFiles\Samsung.M8X30SOC.FCRouter.reg
C:\Windows\Packages\RegistryFiles\Samsung.M8X30SOC.FCRouter.rga
C:\Windows\System32\CSCMgr.dll
C:\Windows\System32\FCRouter.dll
C:\Windows\System32\FMFTM.dll
C:\Windows\System32\Drivers\FCDriver.sys
C:\Windows\System32\Drivers\FCRouter.dll
C:\Windows\System32\CATROOT\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Samsung.M8X30SOC.FCRouter.cat
Click to expand...
Click to collapse
Is it free to copy files in this folders only using MTP hack or you did something else to copy these files ?
as I remember you have to run RPCComponents service too .
also you can find witch services are running (someone share xap file to see all running services let me search for it )
@ngame
I did this using InteropServices cap and RPC lib's from extras+info app.
Some "NdtkSvc", "NokDeviceHubSvc" services runs as LocalSystem so there is no any restriction for read/write.
Wait, I'll send you a auto-patcher xap 2moro.
djamol said:
@ngame
I did this using InteropServices cap and RPC lib's from extras+info app.
Some "NdtkSvc", "NokDeviceHubSvc" services runs as LocalSystem so there is no any restriction for read/write.
Wait, I'll send you a auto-patcher xap 2moro.
Click to expand...
Click to collapse
Ok so it need to be replaced with ex info yes ?
But my doesn't support sd card i have to test somewhere else
So, OEM uses their own custom service host. M I Ryt ?
djamol said:
@ngame
I did this using InteropServices cap and RPC lib's from extras+info app.
Some "NdtkSvc", "NokDeviceHubSvc" services runs as LocalSystem so there is no any restriction for read/write.
Wait, I'll send you a auto-patcher xap 2moro.
Click to expand...
Click to collapse
can u plz send me the xap too

[idea]Possible trick to regain interop unlock on Windows Phone 8.1 :D

I remember when @djamol released the "root tool" app to the Windows store, which requires you to install it on SD Card, then to use the registry editor, you actually need to replace the files inside the XAP, which is quite genius
Anyways, I was thinking if the same trick done on root tool can be done on the old version of Extras + Info app too before Microsoft decides to remove its ability to move it to SD Card...
Modifying the WMAppManifest.xml inside the old XAP (removing anything related to interopservices to avoid throwing Error 0x81030120), set storage sense to SD Card, deploy app with App Deployment 8.1, then after deploying it, manually replace the modified XML file with the original untouched one (yes, the one with ID_CAP_INTEROPSERVICES and such) on SD Card with a PC (needs to unlock WPSystem folder first, we already did this in the past... ) open the app and see if Extras + Info still works and if yes, BOOTSTRAP vcReg and Interop unlock your device right away!
This might actually work! Someone should try this!
@djamol @vcfan @WojtasXda please take a look at this and see if it might actually work . We might be able to Interop Unlock WP8.1 again even after that Extras + Info app update lol XD
Sent from Ponyville
mrchezco1995 said:
I remember when @djamol released the "root tool" app to the Windows store, which requires you to install it on SD Card, then to use the registry editor, you actually need to replace the files inside the XAP, which is quite genius
Anyways, I was thinking if the same trick done on root tool can be done on the old version of Extras + Info app too before Microsoft decides to remove its ability to move it to SD Card...
Modifying the WMAppManifest.xml inside the old XAP (removing anything related to interopservices to avoid throwing Error 0x81030120), set storage sense to SD Card, deploy app with App Deployment 8.1, then after deploying it, manually replace the modified XML file with the original untouched one (yes, the one with ID_CAP_INTEROPSERVICES and such) on SD Card with a PC (needs to unlock WPSystem folder first, we already did this in the past... ) open the app and see if Extras + Info still works and if yes, BOOTSTRAP vcReg and Interop unlock your device right away!
This might actually work! Someone should try this!
@djamol @vcfan @WojtasXda please take a look at this and see if it might actually work . We might be able to Interop Unlock WP8.1 again even after that Extras + Info app update lol XD
Sent from Ponyville
Click to expand...
Click to collapse
I didn't really get your idea completely but as far as I get you want to modify WMAppMainfest.xaml file .
I have an application to edit any App Manifest but it doesn't work . you can't gain new capabilities to applications .
ngame said:
I didn't really get your idea completely but as far as I get you want to modify WMAppMainfest.xaml file .
I have an application to edit any App Manifest but it doesn't work . you can't gain new capabilities to applications .
Click to expand...
Click to collapse
Here's what I mean...
1. Modify the old Extras + Info app's WMAppManifest.xml file, removing every capability that requires Interop unlock first before actually sideloading the app.
2. Sideload the app to Lumia, with storage sense set it to SD Card.
3 . After sideload, check if Extras + Info app is installed on Settings but don't open it just yet.
4. Remove SD Card, insert it to PC, access WPSystem folder and find where the Extras + Info app is installed...
5. Once found, swap the modified WMAppManifest.xml file with the original unmodified one (yes, the one that had ID_CAP_INTEROPSERVICES and any capabilities OEM can only achieve)
6. Return SD Card to phone, and see if Extras + Info app opens... If it does open, Bootstrap vcReg.
7. After bootstrap, open Extras + Info and see if vcReg does run
Sent from Ponyville
mrchezco1995 said:
I remember when @djamol released the "root tool" app to the Windows store, which requires you to install it on SD Card, then to use the registry editor, you actually need to replace the files inside the XAP, which is quite genius
Anyways, I was thinking if the same trick done on root tool can be done on the old version of Extras + Info app too before Microsoft decides to remove its ability to move it to SD Card...
Modifying the WMAppManifest.xml inside the old XAP (removing anything related to interopservices to avoid throwing Error 0x81030120), set storage sense to SD Card, deploy app with App Deployment 8.1, then after deploying it, manually replace the modified XML file with the original untouched one (yes, the one with ID_CAP_INTEROPSERVICES and such) on SD Card with a PC (needs to unlock WPSystem folder first, we already did this in the past... ) open the app and see if Extras + Info still works and if yes, BOOTSTRAP vcReg and Interop unlock your device right away!
This might actually work! Someone should try this!
@djamol @vcfan @WojtasXda please take a look at this and see if it might actually work . We might be able to Interop Unlock WP8.1 again even after that Extras + Info app update lol XD
Sent from Ponyville
Click to expand...
Click to collapse
I've suggested this idea more than a year ago, but I heard from GDTD that it doesn't work as the WMAppManifest capabilities are only checked on deployment. Changing it after deployment would not work. Which is why they use the Preview for Developers app. It already has Interop capabilities and changing the manifest afterwards would not work, so they change the contents of the app instead, as this way any interop functions would work.
This is the current method now. You install an Interop app from the store and change the content.
AlvinPhilemon said:
I've suggested this idea more than a year ago, but I heard from GDTD that it doesn't work as the WMAppManifest capabilities are only checked on deployment. Changing it after deployment would not work. Which is why they use the Preview for Developers app. It already has Interop capabilities and changing the manifest afterwards would not work, so they change the contents of the app instead, as this way any interop functions would work.
This is the current method now. You install an Interop app from the store and change the content.
Click to expand...
Click to collapse
You know the root tool app released on store by @djamol ? The original WMAppManifest doesn't have any capabilities that enables it to read and write to the registry but after swapping the WMAppManifest file with the one that had interop capabilities, the app now works as what its intended.....
Sent from Ponyville
Try with OEM HTC Apps from store
mrchezco1995 said:
You know the root tool app released on store by @djamol ? The original WMAppManifest doesn't have any capabilities that enables it to read and write to the registry but after swapping the WMAppManifest file with the one that had interop capabilities, the app now works as what its intended.....
Click to expand...
Click to collapse
trick works for store apps, but it doesn't work with third party apps(sideloaded apps) because third party app can't use interopservices capability.
vcfan said:
trick works for store apps, but it doesn't work with third party apps(sideloaded apps) because third party app can't use interopservices capability.
Click to expand...
Click to collapse
so no luck for sideloaded OEM apps? That's sad
Sent from Ponyville
del......
WojtasXda said:
del......
Click to expand...
Click to collapse
What happened ?? Why you deleted your post ??
Have you stopped on working for new interop unlock method for wp8.1 that you tell us few days back ??
Is there any problem ??
Hello Guys is anybody please here to solve the problem of wp 8.1 interop unlock please we need it..?
I think Microsoft not allowing download Extra & Info to SD Card...thats the issue
_But but but....mixradio......
augustinionut said:
_But but but....mixradio......
Click to expand...
Click to collapse
What do you mean MixRadio?
vartanarsen said:
What do you mean MixRadio?
Click to expand...
Click to collapse
I mean this: http://forum.xda-developers.com/showpost.php?p=64118288&postcount=281
mrchezco1995 said:
Here's what I mean...
1. Modify the old Extras + Info app's WMAppManifest.xml file, removing every capability that requires Interop unlock first before actually sideloading the app.
2. Sideload the app to Lumia, with storage sense set it to SD Card.
3 . After sideload, check if Extras + Info app is installed on Settings but don't open it just yet.
4. Remove SD Card, insert it to PC, access WPSystem folder and find where the Extras + Info app is installed...
5. Once found, swap the modified WMAppManifest.xml file with the original unmodified one (yes, the one that had ID_CAP_INTEROPSERVICES and any capabilities OEM can only achieve)
6. Return SD Card to phone, and see if Extras + Info app opens... If it does open, Bootstrap vcReg.
7. After bootstrap, open Extras + Info and see if vcReg does run
Sent from Ponyville
Click to expand...
Click to collapse
actually the WMManifest.xml file is encoded with some kind of encoding so i don't think it's possible
i'm new to this forum please respond if i am wrong to say this
ngame said:
I didn't really get your idea completely but as far as I get you want to modify WMAppMainfest.xaml file .
I have an application to edit any App Manifest but it doesn't work . you can't gain new capabilities to applications .
Click to expand...
Click to collapse
try this
http://forum.xda-developers.com/win...erop-unlock-oem-unlock-windows-phone-t3467191
---------- Post added at 07:26 AM ---------- Previous post was at 07:25 AM ----------
Ranjan kataria said:
Hello Guys is anybody please here to solve the problem of wp 8.1 interop unlock please we need it..?
Click to expand...
Click to collapse
try this
http://forum.xda-developers.com/win...erop-unlock-oem-unlock-windows-phone-t3467191
---------- Post added at 07:27 AM ---------- Previous post was at 07:26 AM ----------
try this people....
http://forum.xda-developers.com/win...erop-unlock-oem-unlock-windows-phone-t3467191

Categories

Resources