how to export an app (.xap) from windows 10 mobile ? - Windows 10 Mobile

i want to export the functioning version of lumia camera as i have just reset my phone and disabled auto updates. i will then share the .xap file for everyone to use. is it possible to do so using interop tools ?
also is there a registry key that can be modified to prevent lumia camera app from auto updating ? thanks in advance

yep, no one did it before , meaning upload Nokia/Lumia camera :/

Deployed xaps cant be updated. So you need to copy the install folder inside data/programs/camera app, erase WMAppPRHeader.xml, zip the content, change zip to xap extension and .... voila.

augustinionut said:
Deployed xaps cant be updated. So you need to copy the install folder inside data/programs/camera app, erase WMAppPRHeader.xml, zip the content, change zip to xap extension and .... voila.
Click to expand...
Click to collapse
any ideas how i can access these folders ? interop tools perhaps ?

ash549k said:
any ideas how i can access these folders ? interop tools perhaps ?
Click to expand...
Click to collapse
Turn the full system access via interop tools, restart phone, then plug your phone to PC. There you can access it thru windows explorer.

greenpurplishpumpkin said:
Turn the full system access via interop tools, restart phone, then plug your phone to PC. There you can access it thru windows explorer.
Click to expand...
Click to collapse
thanks for the reply. i enabled system access via mtp and looked for the installation location of lumia camera app through interop tools. it says its stored in C:/Data/Programs/WindowsAPPS/ however the windows apps folder is empty for me. i tried ticking show hidden files on my pc but still no luck. any ideas ?

Only xaps in data/programs. In C:/Data/Programs/WindowsAPPS/ are appx, but i dont know how to repack.

Related

How to override files in windows-folder?

Hello,
I'm trying to replace the sym.0409.txt in windows-folder. But this file is writeprotected, so I can't delete or replace it. when I try to paste the file to windows-dir I get a message "do you realy want to replace the file... blablabla". When I click "yes", windows creates a new file "copy of sym.0409.txt"
can anyone tell me how to replace write protected files in windows-directory?
i belief this discussion has nothing to do with WM6. perhaps it should be moved to a general discussion?
HerrVorragend said:
Hello,
I'm trying to replace the sym.0409.txt in windows-folder. But this file is writeprotected, so I can't delete or replace it. when I try to paste the file to windows-dir I get a message "do you realy want to replace the file... blablabla". When I click "yes", windows creates a new file "copy of sym.0409.txt"
can anyone tell me how to replace write protected files in windows-directory?
Click to expand...
Click to collapse
Depends how you are doing it....
Resco file explorer will allow you to "overwrite" file in the windows directory. If you install it you get 30days before you have to register it or remove it.
Hope that helps.
Some files can be overwritten by copying from within your desktop computer using Active Sync or Windows Mobile Device Centre, instead of directly on the device. I think.txt would fit this criteria.
.dll's need something like Resco Explorer installing on your device (on trial) and they will overwrite system files.
the windows-dir is not accessible from desktop-pc... but the resco-file-explorer-solution works fine
HerrVorragend said:
the windows-dir is not accessible from desktop-pc... but the resco-file-explorer-solution works fine
Click to expand...
Click to collapse
yes the windows folder is available from the Desktop PC
ok... thats new for me... can you tell me how? when I go to my device in desktop explorer I see a harddrive "/" and under "/" I see all the rootdirectories from the device - except the windows-dir. typing in directly "//Windows" doesn't work too.
perhapgs it's a vista-only phenomenon...
HerrVorragend said:
ok... thats new for me... can you tell me how? when I go to my device in desktop explorer I see a harddrive "/" and under "/" I see all the rootdirectories from the device - except the windows-dir. typing in directly "//Windows" doesn't work too.
perhapgs it's a vista-only phenomenon...
Click to expand...
Click to collapse
it works under vista too... i think there is a screen shot on mrvanx's guides....
may be.... but not out of the box... so if you can access your windows-folder under vista, please let the rest of the world know, how youget this working
HerrVorragend said:
may be.... but not out of the box... so if you can access your windows-folder under vista, please let the rest of the world know, how youget this working
Click to expand...
Click to collapse
yes you can access it out of the box... but i dont have vista here with me at the moment... but i know you can.
walshieau said:
yes you can access it out of the box... but i dont have vista here with me at the moment... but i know you can.
Click to expand...
Click to collapse
ok guy... this is my last post, after this post I will deactivate the notification.
1. I'm not a fool
2. I've installed Vista
3. You can NOT access the device windows-dir out of the box!
If you can't explain how to do it, please stop telling bull****!
walshieau said:
yes you can access it out of the box... but i dont have vista here with me at the moment... but i know you can.
Click to expand...
Click to collapse
From WMDC, File Management, Browse files ...
\ Then Windows is listed.
The reason you can't see it is because you haven't unticked Hide Protected Operating System Files in CP-Appearance-Folder Options-Show Hidden Files
Edit: Herr*: Calm down, Wash was right and tried to help you with what he had available at the time.
You can overwrite the file using freeware Pocket Total Commander. I have been able to overwrite said file with this app. Sym.txt allows for entering additional characters (with umlauts....) via hardware keyboard.
Oops - ignore this.
Ok here is how you do it, folder options, view, uncheck "hide protected operating system files (recommended)". Presto, you can see it now, at least in Vista.

Compress files

Hello,
I have an idea to make an App, and I have one problem, I have to upload one folder that its content have a lot of files and folders in order to upload to skydrive. I think that it is more easy if I compress the main folder and then upload this compressed file. How Can I compress this folder?
Thanks you
cansado2930 said:
Hello,
I have an idea to make an App, and I have one problem, I have to upload one folder that its content have a lot of files and folders in order to upload to skydrive. I think that it is more easy if I compress the main folder and then upload this compressed file. How Can I compress this folder?
Thanks you
Click to expand...
Click to collapse
have you tried zip...
dazza9075 said:
have you tried zip...
Click to expand...
Click to collapse
Hi dazza9075,
Thanks by your answer, but I thought the same, but I don't know how to use this, Can you explain about use of zip? Or, Where can I find information about this?
Thank you again
cansado2930 said:
Hi dazza9075,
Thanks by your answer, but I thought the same, but I don't know how to use this, Can you explain about use of zip? Or, Where can I find information about this?
Thank you again
Click to expand...
Click to collapse
+1 for the idea... I also want a program like winrar which also available in symbian phones.plz any dev note this and develop an app for compressing and decompressing files...
WP will unzip zip files, make the sip, copy to sky drive, open via IE, it will then give you the contents of the zip,, it can't compress files to zip though. Technically there would be little point since docs auto sync to sky drive, and WP doesnt support anything else or file system access, but its doable for unlocked devices I suppose
Sent from my SGH-i937 using XDA Windows Phone 7 App
dazza9075 said:
WP will unzip zip files, make the sip, copy to sky drive, open via IE, it will then give you the contents of the zip,, it can't compress files to zip though. Technically there would be little point since docs auto sync to sky drive, and WP doesnt support anything else or file system access, but its doable for unlocked devices I suppose
Sent from my SGH-i937 using XDA Windows Phone 7 App
Click to expand...
Click to collapse
Hi dazza9075,
Thank you by answer, I had thought that it isn't possible, because I want to compress a folder of other app that her content are a lot of files and folders. So, Do some api exist in order to compress this? Or, Have I upload files and folders one by one?
Thank you again
I think it's completely possible
sombody names Ego zheng,wrote an application. It is program manager.
u can repack your apps,and save apps data in a single .zip file.
i think he can do this
contact him for this idea.
Leo_zodiac said:
I think it's completely possible
sombody names Ego zheng,wrote an application. It is program manager.
u can repack your apps,and save apps data in a single .zip file.
i think he can do this
contact him for this idea.
Click to expand...
Click to collapse
its doable so long as you have interop unlock and WP tools installed and setup
if the Windows Phone SDK is missing Zip functionality (it may be called "DEFLATE" which is the name of the compression algorithm; ZIP is the file format) then there are surely libraries for various compression methods which you could download. Alternatively, if you don't mind using native code homebrew, there are compression libraries (zlib, etc.) that can be compiled to a native DLL, and you could then access them via COM.
i add this to new version of my file manager and now you can compress and decompress file and folders
Hi!
Thanks you by your answer, they have been very useful.
Thanks you
Hi again,
I'm using the lib "SharpZipLib" and I have problems with it. Can you explain how use it? or what is the problema? I probe in a program of pc and it working correctly but in app for my mobile say it crashed when it go to create the file, this is code:
FileStream fsOut = File.Create("Copia.zip"); //here is the problema at this moment
ZipOutputStream zipStream = new ZipOutputStream(fsOut);
zipStream.SetLevel(3);
zipStream.Password = null;
........
It can't create the file.
Thank you again
Generally speaking, Silverlight (which WP7 uses for apps) doesn't even allow normal file access, so you might just be getting a MethodAccessException on File.Create. If not, that still won't work without elevated privileges. The default working directory for a program is it's install directory. For a WP7 app, that's going to be either its install location (\Applications\Install\<GUID>\Install) or the Windows directory where the taskhost.exe file lives (\Windows\). Trying to create a file without specifying full path will crete it relative to the working directory, which in this case means creating it in the working directory directly (no path specified). Since the app can't write to the working directory, you'll get an error from that too.
To get around the permissions error, use the IsolatedStore folder (\Applications\Data\<GUID>\Data\IsolatedStore\) or run the app with full permissions ("Trusted" or root unlocked).

[TWEAK] Install homebrew apps as settings apps

In the WMAppManifest.xml of the app, add HubType="268435456" to the App tag, and deploy the app. See attached images.
You can also pin Extras to Start for quick access.
Really useful for keeping harmful editing stuff out of the way of people who feel the need to use your phone without your permission.
Good find, bud! He-he, someone should try to publish the app with that hack (if store will not block it of course)
Needed to restart phone after deploy to show in settings.
4-5yrs old trick anyway, just keep search on xda even in WP7.8 forum
Djtonka, how to pin to start apps from settings?
remove the HubType="268435456 from manifest file
So why before audio settings had the posibility to pin to start? It was in settings,-extras. before....
it has been redesigned for Win10
Nevermind: if on the last fast ring build cant open any deployed app, modify the wpappmanifest to deploy in HUB. Then the app will work. Happend to me with custom pfd, wptweaker, roottool jailbreak version.
Hi,
Can you please give me an xap file which include HubType="268435456" tag in WMAppManifest.xml of the app. I tried to add but not able to save the xml as it gives some error. If possible, please send me the xap
Thanks
winphouser said:
In the WMAppManifest.xml of the app, add HubType="268435456" to the App tag, and deploy the app. See attached images.
You can also pin Extras to Start for quick access.
Click to expand...
Click to collapse
Open the xml file as text with notepad, or right click-edit.
how to modify .appx as settings apps?
Read this
https://msdn.microsoft.com/en-us/library/windows/hardware/dn707973(v=vs.85).aspx
winphouser said:
In the WMAppManifest.xml of the app, add HubType="268435456" to the App tag, and deploy the app. See attached images.
You can also pin Extras to Start for quick access.
Click to expand...
Click to collapse
does not work.
1. open the .xap in the archive
2. add HubType = "268435456" in WMAppManifest.xml
3. Close the file, saving changes.
4. copy the .xap into the phone, install, and .... nothing is installed ..
I tried and so
1. Unzip the files in the .xap in folder
2. add HubType = "268435456" in WMAppManifest.xml
3. archived back to zip archive. renamed zip into a .xap. and again nothing ...
assembly 15245. Can already removed the opportunity?
Deploy from PC.
augustinionut said:
Deploy from PC.
Click to expand...
Click to collapse
WPAD 8.1
Error - Package was not found.
What app are you trying to deploy?
I did find the way to change and make appx to install it under Extras badge
augustinionut said:
What app are you trying to deploy?
Click to expand...
Click to collapse
CustomPDF & WPTweaks

How to delete apps manually ?

Greetings,
I've a problem un-installing Telegram, so, i've installed interop tools and unlocked system files hoping that i can delete telegram manually but i couldn't.
So, can any one help me with this ? locating "Telegram/any" app files manually and delete them ?!
Touch the app and hold. Tap uninstall.
If you never want the app to install automatically during hard reset and it is a preloaded app look under C:\Programs\Commonfiles\xaps and delete the desired appx or xap file out of there.
Or depending on your device type check C:\Programs\Commonfiles\OEM\Public\PreloadedApps\tier3apps\ for other xaps and appx files you do not want provisioned to your phone. I recommend backing them up before you remove any of them though.
Edit: All the currently installed apps are found in C:\Data\Programs
nate0 said:
Touch the app and hold. Tap uninstall.
If you never want the app to install automatically during hard reset and it is a preloaded app look under C:\Programs\Commonfiles\xaps and delete the desired appx or xap file out of there.
Or depending on your device type check C:\Programs\Commonfiles\OEM\Public\PreloadedApps\tier3apps\ for other xaps and appx files you do not want provisioned to your phone. I recommend backing them up before you remove any of them though.
Edit: All the currently installed apps are found in C:\Data\Programs
Click to expand...
Click to collapse
tapping the app and press uninstall didn't work
searching the first and the second directory, i couldn't find telegram
the third directory in the EDIT, the folders names are with numbers not in plain text.
nate0 said:
Touch the app and hold. Tap uninstall.
If you never want the app to install automatically during hard reset and it is a preloaded app look under C:\Programs\Commonfiles\xaps and delete the desired appx or xap file out of there.
Or depending on your device type check C:\Programs\Commonfiles\OEM\Public\PreloadedApps\tier3apps\ for other xaps and appx files you do not want provisioned to your phone. I recommend backing them up before you remove any of them though.
Edit: All the currently installed apps are found in C:\Data\Programs
Click to expand...
Click to collapse
Question: How can I access those paths on my phone?
install https://www.microsoft.com/en-us/store/p/interop-tools-preview/9ntgwlc0d3cs
and then install extensions from here in the attachments https://forum.xda-developers.com/showpost.php?p=72779593&postcount=887
sasatefa2009 said:
install https://www.microsoft.com/en-us/store/p/interop-tools-preview/9ntgwlc0d3cs
and then install extensions from here in the attachments https://forum.xda-developers.com/showpost.php?p=72779593&postcount=887
Click to expand...
Click to collapse
I had already installed those required programs, so how can I access the paths/folders?
Got it. Thanks for that.
---------- Post added at 13:07 ---------- Previous post was at 12:40 ----------
sasatefa2009 said:
tapping the app and press uninstall didn't work
searching the first and the second directory, i couldn't find telegram
the third directory in the EDIT, the folders names are with numbers not in plain text.
Click to expand...
Click to collapse
Did you turned on the "Full Filesystem Access" inside the Interop Tools?
About the folder names are with numbers, I suggest you to use this app: https://forum.xda-developers.com/wi...-apps-data-manager-windows-10-mobile-t3523048

HELP - Photo corrupt in L1020 impossible to remove

help
I have a lumia 1020 with the last CU build, using the "blink" app sequence I'm left with a damaged photo that I can not eliminate, does anyone know how to remove it from mass storage or another way? it's very annoying and I do not want to restart the phone
https://ibb.co/hv22kG
you tried with any file explorer (total commander, Pocket File manager for example)?
or via USB from PC?
dxdy said:
you tried with any file explorer (total commander, Pocket File manager for example)?
or via USB from PC?
Click to expand...
Click to collapse
yes, the file does not appear, it must be in some system folder in hidden
Juanz1986 said:
yes, the file does not appear, it must be in some system folder in hidden
Click to expand...
Click to collapse
If that's your guess, just enable to see hidden files and search for it inside your phone once you connect to pc.
If the idea from xxJMarian does not help you reveal where that corrupted file is, then I am wondering if the Photos app itself has a cache of it remaining some place. Do we know where the post processing takes place on the Lumia/Windows camera or photo app? Could take a look there.
@Juanz1986
Blink Data Folder is
Data\USERS\DefApps\APPDATA\{3E185AC7-2D21-4A74-9CAD-3D4729509446}\Local\Photos

Categories

Resources