[Q] OEM Capabilities Hack and AppX package modification - Windows Phone 8 Q&A, Help & Troubleshooting

Hello guys,
the recent Capailities Hack, that allows replacing XAP installation files with arbitrary ones if they are place on SD card, can also be extended to Windows Runtime (AppX) applications?
Is there any tutorial around?
Thanks a lot
Sandro

Related

how to create a big pack install app?

sorry for the newbie question, but searching I didn't find a solution.
is possible to create a single install pack for some applications that, normally, are installed one by one?
for example, I usually install SPB Pocket Plus, SPB Pocket Diary, SPB Gprs Manager, CallSMS Blocker and few others.
I'd like to create a single install pack to install everything in 1 step.
is this possible or I'm only... dreaming?
thx in advance!
leo
You could create a 2577 file on your storage card and add the cab files from the software you want to install. Can't remember what i had to alter (something to do with the autorun bit - add all the cab file names). Only thing with this is that it always asks if you want to install "x" so you still have to take time to do the installs.
Suggest you research the 2577 file and how to alter them ( look for ext rom stuff)
Hope this helps.
i've lost myself
can't find any info about this 2577 file!
heeeeeeeeeelp
You can use this.
http://forum.xda-developers.com/showthread.php?t=305962

How to merge multiple .cab files into single .cab file

Hi,
I am looking for a utility to merge multiple small ( free ) utilities into a single .cab file to automate the installation; just to ease the installation process after the hard reset or ROM upgrade.
Though i tried Win CE Cab Manager but unable to achieve that functionality - its look like to me that i am missing something somewhere.
Regards.
I'd like to know this too...
Does this help? Not used it myself
http://forum.xda-developers.com/showthread.php?t=392983
mic_888 said:
Does this help? Not used it myself
http://forum.xda-developers.com/showthread.php?t=392983
Click to expand...
Click to collapse
Thanks mic for the link... But according to that software ... one have to place all the required cab files in a specially designated directory and software start installing the files from there one by one...
But; what i am looking is a software that creat a single .cab file which includes all the required ( individual ) cab files along with the parameters e.g. installation location ( Device or Storage Card )....
sashami is the best solution which was actually inspired by a script called autorun back in the days of win mo but only way to do a auto install of cabs or all one one would be to attempt and cook into you're own rom or see if it's possible to cook all cabs into 1
Maybe extract all cabs with ini or XML file. Merge ini or XML place all extracted components in same folder and use cab building program to build cab from ini/xml...
Maybe.
This is the best thing I have found........not really an app per se.
What is UC? It is a feature contained in UC capable ROMs. A UC capable ROM extends initial customization to your SD card so you can load cabs and install XML files that are located there too. What this means is that once you get your customization scripts right, you can flash any UC capable ROM and all your apps and settings will be restored as part of the initial customization process whenever your SD card is inserted in the slot.
http://forum.xda-developers.com/showthread.php?t=366337
I have been using Slueth's ROM and this UC method for quite a while now and it works fantastically. Takes a little effort but anything worth it's oats will take atleast a little effort.
http://forum.xda-developers.com/showthread.php?t=366284
I just come a across while searching, here is another solution:
http://www.pocketpctoolkit.com/
this should not be a advertisement, because it is not freeware, but a suggestion.
you can add cabs and the program builds an desktop or device installer and merges the cabs (and other files). the device installer is a exe not a cab....
if you look deeper in the internet you find a full time solution...
hope it helps...
chipsxj said:
This is the best thing I have found........not really an app per se.
What is UC? It is a feature contained in UC capable ROMs. A UC capable ROM extends initial customization to your SD card so you can load cabs and install XML files that are located there too. What this means is that once you get your customization scripts right, you can flash any UC capable ROM and all your apps and settings will be restored as part of the initial customization process whenever your SD card is inserted in the slot.
http://forum.xda-developers.com/showthread.php?t=366337
I have been using Slueth's ROM and this UC method for quite a while now and it works fantastically. Takes a little effort but anything worth it's oats will take atleast a little effort.
http://forum.xda-developers.com/showthread.php?t=366284
Click to expand...
Click to collapse
i flash phones like everyday. using that method is for doing a couple of cabs. if you are trying to do like 100 cab files it will take a loooooooooooong time.
wince cab manager
if you just want to make one cab i would use Wince Cab Manager (OCP Software) (google it) to extract all the neccesary information from all the cab files.
then re-import all the information (links, registry, files etc) into a brand new Cab File.
so long as you keep all the extracted cab files separated this should be easy enough, but time taking.
Hope that helps. =D
Dan

[Q] Create cab files from installed application

Hi..i've already search for a topic regarding to this, and most of the findings only talks about how to edit it or combine it and such that it will be installed automatically.However, my main question is that how would i make/create a cab file for applications which had been installed into the phone?as there are some application which i had updated it through the phone and it will take some time if i intended to install it back in case i've formatted my phone. So any help would be appreciated and if there's somewhere it had been discussed before please show me the way..thank you
Anyone? Need some help here. Thank you.
It's not completely impossible, but very impractical.
To "cab" (to make it a verb) something, you'd need to know every single file the program uses (sometimes, applications install dll's into the windows folder) and every registry key as well. You'd have to gather all these files and then create a new cab and import them to the proper paths.
I believe SKTools has an option to view what files a program uses.
It's next to impossible for applications that are installed through an installation DLL in the cab - it's hard to track what exactly changes when you install these apps.
Best way to do it though - find the original cab. You could try to combine cabs, but it'd get messy, best use an automatic cab installer then.
Thank you
Thank you for the reply. From ur opinion it is indeed difficult to find the changes made especially with the updates involved. Thank again.
Well it is really simple, just have to know if it has any keys in the registry, what dependencies it has like any dll or other things and then you use visual studio and make a smart device cab ant put in there the files in the folders needed, the shortcut and the key registry you compile the cab and in less then a minute you have a cab

maps to SDCARD found on microsoft.com a intersting xml code file any ideas how use?

Hi Im having a htc windows phone 8s with windows phone 8.1 think (gdr1) and unlocked it to get accsess to the phone via windows phone power tools 2.8.3 . Is this "real rooted" or not?
Im searching for a solution to get maps to sdcards ...
Im finding two things
first the lumia storage check
and that you can change the regestry . But the tools sawapu are for samsung phones only and a regestry editor can't edit the regestry of dwords ..
I have found follow interesstings maybe can anyone make a xap out of this??
the code i found on follow adress
https://dev.windowsphone.com/en-US/OEM/docs/Customization/Map_data_on_an_SD_card_and_map_preload (of juli)
there is followed i found:
Map data on an SD card and map preload
Customization and runtime configuration > Customizations for maps
July 22, 2014
Applies to: Windows Phone hardware development
Map data is used by the Maps application and the map control for third-party applications. OEMs can choose to store this data on an SD card, which provides the advantage of saving internal memory space for user data and allows the user to download more offline map data. Microsoft recommends enabling the UseExternalStorage setting on phones with less than 8 GB of user storage and has an SD card slot.
UseExternalStorage can be used whether or not an SD card with preloaded map data is included on the phone. If no SD card is present, the system uses internal storage until an SD card is available and then automatically switches to using an SD card for map storage. The user's ability to download map regions is disabled until an SD card is available.
Important note
SD card performance can affect the quality of the Maps experience when maps are stored on the SD card. When an SD card is used, Microsoft recommends that OEMs test the Maps experience and the speed of map downloads with the specific SD card part that will be used on retail phones to determine if performance is satisfactory.
Sample: UseExternalStorage
Use the customization samples
Constraints: None
Instructions:
Microsoft recommends enabling UseExternalStorage on phones with less than 8 GB of user storage and has an SD card slot.
Create a customization answer file using the contents shown in the following code sample or use the sample UseExternalStorage.xml file.
Copy code
<?xml version="1.0" encoding="utf-8" ?>
<ImageCustomizations xmlns="http://schemas.microsoft.com/embedded/2004/10/ImageUpdate"
Name="PreloadedMapData"
Description="Use to preload map data on an SD card."
Owner=""
OwnerType="OEM">
<Static>
<!-- Enable external storage for map data on an SD card -->
<Settings Path="Maps/Storage">
<Setting Name="UseExternalStorage" Value="" />
</Settings>
</Static>
</ImageCustomizations>
Specify an Owner.
Set the Value to one of the following:
Value
Description
0 or No
Do not store map regions on an SD card.
1 or Yes
Store map regions on an SD card.
If including an SD card with the device, add the preloaded map data to the SD card. Unzip the appropriate map variant data package and copy the “diskcache” folder onto the SD card under the d:\MapData directory.
Note
When unzipping the appropriate map variant data package, you must use a file compression/decompression utility that preserves the file attributes and timestamps. If the utility does not preserve this information, the map(s) will be treated as invalid by the OS.
Testing:
Flash a build that contains this customization on a phone.
Launch the Maps application and open Settings from the application bar.
Click on the Download Maps button and verify that the expected region displays under downloaded maps.
Click to expand...
Click to collapse
what says this ? i don't check what we have to do to use this solution.
Informations
to use the *.xml file you need a zip and visual basic 2013???
https://dev.windowsphone.com/en-US/OEM/docs/Customization/Use_the_customization_samples
Use the customization samples
Customization and runtime configuration
July 22, 2014
Applies to: Windows Phone hardware development
Partners can download and use the sample customization answer files to get started with customizing Windows Phone 8.1.
To obtain the sample customization answer files
Download the WPBlue_Customization_Code_Samples.zip file from the Connect site. This .zip contains sample customization answer files for the majority of customizations documented in this section.
For a list of all customization samples, see Customization samples index.
To use the sample customization answer files and build a custom phone image
Ensure that you have an updated kit installation, and that you can build a phone image using it and flash that image to your engineering device.
If you have not already done so, create a folder for your packages in %WPDKCONTENTROOT%. Name the folder OEMCustomizationPackages or give it a similar name so you know this folder contains all your customizations. Note that this folder can include many subfolders.
Copy a sample customization folder from WPBlue_Customization_Code_Samples.zip to the OEMCustomizationPackages folder.
Open the sample XML customization answer file and modify it to optionally change the values from the sample customization answer file and provide any required values:
Note
The values used in the root customization answer file (or the one you specify as the input customization answer file during ImgGen.cmd or CustomizationGen.cmd in Step 6) is used to determine the package owner so it is important to provide these required values.
Name
Description
Owner
OwnerType (in the customization samples this is typically already set to 'OEM').
Any files, assets, or other settings specific to the customization. See the corresponding topic in the Customization and runtime configuration section of the documentation for more information about what to change and how.
You must also update or replace any additional files included in the sample folder. Instructions are provided in the customization topic in the documentation.
Note that you’ll be using the customization answer file as one of the inputs when building your customization package or OS image.
Open a Developer Command Prompt for VS2013 window (if you have installed Visual Studio 2013) or a Command Prompt window (if you have not installed Visual Studio 2013) as an administrator. Configure the environment variables in this window as described in the Set up environment variables section of Preparing for Windows Phone development.
Depending on what you want to do, you can use the customization answer file to create a package containing your customization(s) or use the answer file as one of the inputs to create an OS image.
To use the customization answer file to generate a package without building an OS image, see Generating customization packages without creating an image in Building a phone image using ImgGen.cmd to find out how to use CustomizationGen.cmd.
To build an image as an .ffu file using the customization answer file as one of the inputs, see Using ImgGen.cmd to generate the image in Building a phone image using ImgGen.cmd to find out how to use ImgGen.cmd.
Flash the .ffu file to a phone. For more information, see Use the flashing tools provided by Microsoft.
See the Testing steps section in the corresponding customization topic to verify that the customization has been configured properly.
Click to expand...
Click to collapse
hmmmmm im searching for it this one hmmmm WPBlue_Customization_Code_Samples.zip
maybe we have a solution don't know
ah ok microsoft flashing tool for wp phones maybe interesting but complicated
https://dev.windowsphone.com/en-US/.../Use_the_flashing_tools_provided_by_Microsoft
and you have special drivers hmmmmmmmmmmmmmmmmmmmmmmmmmm very complicated

[Q] need the location of the following things

So I need the location of some small things
1.default location of the startup and shutdown boot images of my phone
2.default location of the big NOKIA screen pic of my phone
3.places where junk files are stored in my phone memory..... cause the storage cleaner app is not working on lumias
4.default location of storage of downloaded update files
5.registry key which enables the custom startup and shutdown boot pics
6.Appdata folder of phone memory apps where the savegames of games are located
Additionally if anyone with a interop unlock device have the whatsapp beta can he share it
If anyone knows the location of this things plz share it
Most of that is quite easy to find on your own...
1) I'm not sure, but I'd start by looking in the partitions used for booting, or possibly in the Windows folder somewhere.
2) See #1
3) Storage cleaner is open source. You can see all the paths used in the source code.
4) Pretty sure that's actually in Storage Cleaner. If not, look under "DU" (Device Update) folders and similar; the file system isn't that big.
5) Don't know, but there's whole threads devoted to registry edits and there's a search tool...
6) ... really? Make a trivial app that open the IsolatedStorage StorageFolder and then get the folder's full name. Or just find it using file system access; not hard.

Categories

Resources