[XAP][27/02/2016][0.7] CustomWPSystem - patch XAPs easily within WPSystem folder

Pasquiindustry

Recognized Developer
Jul 9, 2012
175
234
0
Conversano
pasquiindustry.com
Hi, following XDA user djamol tutorial, I've created an helper that allows in less click to patch system app to use OEM APIs
This app is based on This tutorial from this topic (ok... seems that there's no more tutorial there)
Remember that you need an SD card into your phone!

NOTE | I've updated this app to 0.7 and some of the functionalities are changed, so some of the tutorials created for 0.6 or less may be obsolete!

how does this work?
Detailed instructions are available within the app. Just swipe to go to the next section.

Changelog
Latest release
v 0.7 (27/02/2016)
- added MixRadio support
- new Interface and icon
- other bugfixes

Old releases
v0.6 (08/06/2015) [Still available]
- added extras and infos app support :D
- small UI fix and bugfix
- Update made with the collaboration of WojtasXda :good:

v0.5 (31/12/2014) HAPPY NEW YEAR! :D [Still available]
- trying to fix ACCESS DENIED error
- fixed scrollviewer bug
- better english (please let me know if I can write better)
- Added Field Medic app for testing purpose

v0.4 (23/12/2014)
- better naming messagge errors
- changed try-catch positions
- definitive "about" structure (not content)

v 0.3 (22-23/12/2014)
- fixed another crash
- now xap apps subfolder gets copied too!

v 0.2 (22/12/2014)
- fixed a crash
- fixed app patching for Glance Background and Preview For Developers

v 0.1 (16/12/2014)
- first release


Text related to versions 0.6 and less
  1. NEW IMPORTANT! Give SD card permissions
    • Tap "SD Card permissions" button
    • Tap only "SD card"
    • Press the check button into the bottom appbar
    • "SD Card permissions" button will became green
    • It isn't necessary to set the "Unhide WPSystem" green.
  2. Choose the app target
    With this first version it's possible to choose five target apps, i will add other apps soon:
    • Live Lock Screen beta
    • Glance Background beta
    • Preview for developers
    • Field Medic
    • Extras and infos [NEW!]
  3. Download the app and move it to SD card (using storage sense)
  4. Pin the app into the start screen (obviusly you can't pin extras and infos before Update 2)
  5. Choose the custom XAP (the app uses the integrated file picker)
  6. Patch!

FAQ
Q: I'm getting ACCESS DENIED error
A: When you get this error, an error message will appear, make sure that "SD Card permissions" is GREEN and not RED

Q: the app crashed immediately after patch
A: ehm... I don't know, please advice me within this topic. Try to deploy again the app.

Q: Preview For Developers (or other apps) vanished from app list and I can't reinstall or unistall
A: Use Storage Sense to unistall the app

Q: Can I restore original apps?
A: Sure! Unistall and reinstall the target app

OTHER TROUBLESHOOTING
> Remove/unistall the app from the app list within your phone
> Be sure that in Storage Sense default location for app storage is INTERNAL MEMORY
> Deploy the app with "Windows Phone Application Deployment 8.1" (the 8.1 is relly important, the name may change, don't use 8.2, 8.0 or without numbers). Some Visual Studio versions have multiple deployers included, use the 8.1 version.

Glossary
  • Swapper: CustomWPSystem app
  • App target: The first/second party app to patch (Preview For Developers for example)
  • Homebrew XAP: the dev-made XAP that you can patch to target apps (CutomPFD for Example)


Thanks to everyone that is related with this project ;)
Sorry for bad english and enjoy! :D
 

Attachments

Last edited:

megasounds

Senior Member
May 7, 2007
317
119
0
Looks great thanks
does anybody have the latest "registry editor" form djmol ?
i want to try the "preview voor developers" with the latest "registry editor" from djmol
please share the link

many thanks in advance
michael


Hi, following XDA user djamol tutorial, I've created an helper that allows in less click to patch system app to use OEM APIs
This app is based on This tutorial from this topic (ok... seems that there's no more tutorial there)

How does it functions?

  1. Choose the app target
    With this first version it's possible to choose only three target apps, i will add other apps soon:
    • Live Lock Screen beta
    • Glance Background beta
    • Preview for developers
  2. Download the app and move it to SD card (using storage sense)
  3. Choose the custom XAP (the app uses the integrated file picker)
  4. Patch!

The app will automatically patch the app
This is the first release ever, so there may be bugs. I've tried with a custom lockscreen and it worked.

Remember that you need an SD card into your phone!

Sorry for bad english and enjoy! :D

Changelog
v 0.1 (16/12/2014)
- first release
 

HD2Owner

Inactive Recognized Developer
Oct 9, 2009
2,340
2,472
0
Neuhausen am Rheinfall
i am having problems too. i am on build 8.10.14203. when i launch the patched app, it's stuck on "...loading..".
can people that have it working please post their wp81 build numbers and firmware revision number?
 

Pasquiindustry

Recognized Developer
Jul 9, 2012
175
234
0
Conversano
pasquiindustry.com
Mhm... which apps are you trying to patch?
I've added a lot of try-catch during patching with detailed message error and the app stay opened after patching (it will show up a message too)

Check the SD card root for wpsystem folder, there is apps or asspx folder?
Maybe the app that are you trying to apply doesn't have a compatible manifest...

Try to apply them manually and check if that works...
 

HD2Owner

Inactive Recognized Developer
Oct 9, 2009
2,340
2,472
0
Neuhausen am Rheinfall
please let me know your wp8 build number.
i would appreciate a regeditor that is already adjusted to be compatible with preview for developers hijacking.
i tried the regeditor from djamol posted above with PFD.
but no luck. stuck on ..loading... when i try to launch it.

i don't know what else to try. can anyone with build 14203 or above confirm that the regeditor above is working with PFD?
 

Pasquiindustry

Recognized Developer
Jul 9, 2012
175
234
0
Conversano
pasquiindustry.com
Ok, I've tried to make my own registry edititor based on DevProgramUI, but I can't patch it to Preview For Developers, the app crashes on startup (as DevProgramUI...). I've tried with my program and manually with a file Explorer...

I Will post soon the registry editor to a new topic, bug I don't know if it writes correctly registry Keys after patching the app :/

UPDATE: I have tried Glance Background Registry editor (the djamol one) and it works without problems with my tool

UPDATE 2: I'm writing here for the preview for developers crash problem: http://forum.xda-developers.com/win...-capabilitiy-hack-t2937089/page2#post57606692

UPDATE 3: I maybe found the solution! I will publish as sson as possible the new XAP ;)
 
Last edited:

Pasquiindustry

Recognized Developer
Jul 9, 2012
175
234
0
Conversano
pasquiindustry.com
Yes, with this first version, only patching Live Lockscreen works because that app didn't remove every file/folder under guid folder for wp8 apps (preview for developers and glance background)
For wp8.1 apps it isn't necessary to delete every file/folder

I've fixed that with the next release that is coming soon
 
Last edited:

irshad2809

Senior Member
May 24, 2014
223
34
28
pune
Sorry for third consecutive post, but I've updated again the tool

Now it's posssible to copy and patch entire XAP with subfolders and their files
still it doesnt work . acess denied . tried teboot .but still same error

by manually coping reg app contents it worked though
 
Last edited:

winphoneuser

Senior Member
Jan 31, 2014
59
9
0
Ekaterinburg
I have still no luck using it.

Here is some minor mistakes with this app:
  • Apps folder getting renamed to apps (littlecase first digit "A")
  • Four stage of Applying... called Defualt app backup (instead of Default)
and the "swapper" doesn`t starting if installed on SD card and then being moved to Internal/Phone storage. Just infinite Loading... appears if you made it. I was forced to install it directly to Phone storage to work.

I`m trying to apply your registry editor to Preview for Developers app. And getting errors (permissions and E_ACCESSDENIED/0x80070005) at the last stage (Default app backup line is filled and Applying custom XAP file is at the dots animation stage). And I`m able to rename Apps forlder with Pocket File Manager, WPSystem folder attributes unchecked correctly, Preview for Developers folder {178AC... is empty after your app`s activity.

I had successfully installed @djamol registry editor but it is now broken by your app

I`m running Lumia 620 with Cyan update that was installed on PfD build which allows to install Cyan onto it. Extras+info app shows Core Build ID 3058.50000.1425.10479. OS version is 8.10.14176.243.
 

irshad2809

Senior Member
May 24, 2014
223
34
28
pune
I have still no luck using it.

Here is some minor mistakes with this app:
  • Apps folder getting renamed to apps (littlecase first digit "A")
  • Four stage of Applying... called Defualt app backup (instead of Default)
and the "swapper" doesn`t starting if installed on SD card and then being moved to Internal/Phone storage. Just infinite Loading... appears if you made it. I was forced to install it directly to Phone storage to work.

I`m trying to apply your registry editor to Preview for Developers app. And getting errors (permissions and E_ACCESSDENIED/0x80070005) at the last stage (Default app backup line is filled and Applying custom XAP file is at the dots animation stage). And I`m able to rename Apps forlder with Pocket File Manager, WPSystem folder attributes unchecked correctly, Preview for Developers folder {178AC... is empty after your app`s activity.

I had successfully installed @djamol registry editor but it is now broken by your app

I`m running Lumia 620 with Cyan update that was installed on PfD build which allows to install Cyan onto it. Extras+info app shows Core Build ID 3058.50000.1425.10479. OS version is 8.10.14176.243.
if you are using pfd app then follow these steps
1. try using above app
2. it will show error , ignore it .
3. now manually copy contents of reg app and paste them in pdf app . ( for copy - paste use "file Manager" or "Folders" app )
4. done
It worked for me .
 
  • Like
Reactions: winphoneuser

winphoneuser

Senior Member
Jan 31, 2014
59
9
0
Ekaterinburg
if you are using pfd app then follow these steps
1. try using above app
2. it will show error , ignore it .
3. now manually copy contents of reg app and paste them in pdf app . ( for copy - paste use "file Manager" or "Folders" app )
4. done
It worked for me .
Finally done it manually. After your post I tried to remove PfD app, redownloaded it from store and then with "swapper" tried to swap the apps. After the error messages I did use Pocket File Manager and realized that this time Preview for Developers folder was not empty, there was Install folder into it. I have renamed folder apps to Appx, erased the content of Preview for Developers folder ( {178AC... ) and then renamed folder Appx to Apps.

"Swapper" is the name of the CustomWPSystem app. @GoodDayToDie used it the first time (see original post). I do liked it and then used by myself. Probably that naming making problems for translating sites. Sorry for the inconvience.
Using Metro Commander Pro (paid one, but I got it for free during giveaway) I have copied content of {27D6A090... to {178AC... and:



It works!
 
Last edited:
  • Like
Reactions: DilanChd