[XAP][27/02/2016][0.7] CustomWPSystem - patch XAPs easily within WPSystem folder - Windows Phone 8 Development and Hacking

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
- small UI fix and bugfix
- Update made with the collaboration of WojtasXda :good:
v0.5 (31/12/2014) HAPPY NEW YEAR! [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
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.
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!]
Download the app and move it to SD card (using storage sense)
Pin the app into the start screen (obviusly you can't pin extras and infos before Update 2)
Choose the custom XAP (the app uses the integrated file picker)
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!

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
Pasquiindustry said:
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?
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
Download the app and move it to SD card (using storage sense)
Choose the custom XAP (the app uses the integrated file picker)
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!
Changelog
v 0.1 (16/12/2014)
- first release
Click to expand...
Click to collapse

I've the XAP but it seems doesn't work, I've tried to apply the program manually and with CustomWPSystem, but Preview For Developers doesn't open...
I could try to make a port...

megasounds said:
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
Click to expand...
Click to collapse
here you go
http://www7.zippyshare.com/v/93645961/file.html

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?

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...

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?

That XAP isn't working for me too. I've Tried manually but the app still stuck to loading screen.
However I'm on Build 14219.
I will try to make my own regeditor based on that XAP

Hi all,
Did some cleaning of OT posts. Please keep this thread on topic
-snickler

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

Hi, I understand why that doesn't function and I will send soon an update.
Try to soft-reset your phone, sometimes are the wpsystem folder permissions that cannot be unlocked

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

Version 0.2 available now!
Now it's possible to patch correctly apps for Preview For Developers and Glance Background
0.3 version will be available soon to fix other small things

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

Pasquiindustry said:
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
Click to expand...
Click to collapse
still it doesnt work . acess denied . tried teboot .but still same error
by manually coping reg app contents it worked though

Check this solution here http://forum.xda-developers.com/showpost.php?p=57697453&postcount=7

0.4 update available now, I think this will be the latest one for now I think

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.

winphoneuser said:
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.
Click to expand...
Click to collapse
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 .

irshad2809 said:
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 .
Click to expand...
Click to collapse
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.
Click to expand...
Click to collapse
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!

Related

PUMa (Patch Utility Manager)

PUMa - Patch Utility Manager​
The program is designed to install patches in the most universal applets\libraries firmware of Samsung-communicators. It works with both odexed, and with deodexed components of many firmware of devices I9100/I91**,I9300,I9500,G850,G900*,G920*/G925*,G928*,G930*/G935*,N7000,N7100,N900*,N910*,N920*,I9001,I9250(Galaxy NEXUS),I8150,P5100/5110,T310/311. Likely to install some patches and other communicators based on the Android OS. It works with external patch (the description of the format and work with them, see Puma_extpatch.txt file.. while only in Russian). Optionally, the added ability to load external data from internet. Information about loading the file is stored in the archive dllink.bin.
The following types of downloads:
• Modem FW (modem firmwares)
• Dump FW (dump stock firmware (aka the contents of the folder /system))
• Dump Content (content dump the firmware, broken into pieces by certain categories)
• Camera (camera firmwares)
• Firmware (common firmwares of devices)
• Program (program & tools)
Working with the program:
0) program preferably placed in a folder without spaces and in the Latin alphabet
1) before running the program in the folder "In" place the files that need to be applied patch/es or used submenu Necessary files for to obtain the necessary files
2) in the program indicate the type of device, AndroidOS version, the class of the patch on the right side select desired patch and click Apply. If you install the patch unnecessary, it is necessary will be shut down and run again, showing only the necessary patches.
At the end of the program components can be patched to pick up from folder "Out". Also, the after applying the patch, the program may specify a update to flashing with help ClockworkMode. While working with a patch program provides information on the processed applet\libraries as follows:
Installed - the patch is applied
Present - patch is already installed in the object
Impossible - impossible to apply the patch to the object
Partially installed - installed only a few points of patch
Mismatch - firmware version of the object is failing the established type device/AOS patch
Attention! Due to the fact that some antivirus programs (Norton360, NOD32, Avast,...) have a somewhat paranoid algorithm for determining the virus, they "found a virus" in PUMa.exe. This is a lie, because the program simply packed EXE-packer to save space. Place the file in the Exceptions PUMa.exe antivirals, so it will not annoy you. Also below is a MD5-hash of the file PUMa.exe, according to which you can verify its correctness, upon receipt of any sources
Patches supported by the program : Post #2
Donations to the project (special thanks ) : bezbo, pglmro
v 4.8
- Added Value_Res tool (Tools-Working with resources-Value_Res). It allows you to change resource values of APK-file (variables of xml-files from the folder res\values) without decompiling\recompile the applet. Currently supported by work with variables of type bool, color, dimen, integer. The algorithm works with the tool:
1. select the apk-file for editing; will automatically upload the names and values resources in the tabs
2. double click on a line change\edit variable (value changed resources are marked in bold)
3. at the end of the work click the Save button (a new file will be created with the current name, the old file is renamed to *.apk.bak)
- Added tool Obfuscation (Tools-Smali-Debug-Obfuscation). In the current version implemented methods of obfuscation of class names, methods, fields on algorithms Mirroring, Numeric order, NDP and Randomized in smali-code (the name and the algorithms invented by me). Distinctive features of the algorithms on a 5-point scale:
a) readability (1-good..5-bad)
b) difficulty in decryption (1-simply..5-impossible)
c) final code length (1-more..3-same..5-less)
Code:
(a) (b) (c)
Mirroring: 3 2 3
Numeric order: 2 4 5
NDP: 4 3 2
Randomized: 4 5 4
For general use available obfuscation method field names with algorithm Mirroring. Tool results on other methods and algorithms are only available by personal request.
- Changed algorithm decompilation\recompile applets with multiple dex-component
- Font in the program changed to Tahoma
- Supplied with the program added to the external patches:
N910*_6.0.*
N920*_6.0.*
G930*/G935*_6.0.*
• System-Removing the signature verification applications
• System-Increasing the speed of response Automatic Brightness Control (ABC)
• System-Adding buttons 'Only once/Always' in task 'To open with'
MD5 : 6498af8f3e16c9657d3af5c7253dd0a7 *PUMa.exe
Download mirror link : >>> Here are stored PUMa <<<
Patches supported by the program:
(for new dev&AOS... older please see list in PUMa_eng.txt)
Grate concept ! i'll try it asap.
realy good job man .
if you can added many usefull mod . exampel : extended power - battery % - scroling cyanogen - . . .
tanks for perfect job.
Nice to see you here!
Great work!
nice !!
thank you.
Pako7 said:
1) before running the program in the folder "In" place the files that need to be applied patch/es
Click to expand...
Click to collapse
Works with Samsung stock roms?
alberto888zz said:
Works with Samsung stock roms?
Click to expand...
Click to collapse
with any.. stock and custom
mehrzad1363 said:
realy good job man .
if you can added many usefull mod . exampel : extended power - battery % - scroling cyanogen - . . .
tanks for perfect job.
Click to expand...
Click to collapse
Not all patches can be added to the program, but only those that are unifying the code
I am guessing this must work for i9100g series awell?
manishdev said:
I am guessing this must work for i9100g series awell?
Click to expand...
Click to collapse
i don't know.. you can try.. put your files in folder IN, select device I9100 and go forward.. If your files can be patched - this program will
Does not find the file even if I have placed in the folder In...what's wrong?
alberto888zz said:
Does not find the file even if I have placed in the folder In...what's wrong?
Click to expand...
Click to collapse
what files? what firmware? Odexed or deodexed? what patches?.. please say
Pako7 said:
what files? what firmware? Odexed or deodexed? what patches?.. please say
Click to expand...
Click to collapse
I have stock 2.3.6 KK1 ITV on my GS2. I have rooted it and transferred the system files by rootexplorer from sd to my computer.
Now i put the files (mms.apk, phone.apk, contacts.apk, etc...) in In folder but when i press apply on your PUMa Manager don't work.
Sorry for my bad english
alberto888zz said:
Now i put the files (mms.apk, phone.apk, contacts.apk, etc...) in In folder but when i press apply on your PUMa Manager don't work.
Click to expand...
Click to collapse
I tried on KK2 - all o'k..
1. if in the field "Necessary files" required files are odex-files (type DEX), then they must be placed in a folder "In", but not apk
2. try to put the program in the root of drive C, for example in the folder c:\PUMa
Pako7 said:
I tried on KK2 - all o'k..
1. if in the field "Necessary files" required files are odex-files (type DEX), then they must be placed in a folder "In", but not apk
2. try to put the program in the root of drive C, for example in the folder c:\PUMa
Click to expand...
Click to collapse
See this!
alberto888zz said:
See this!
Click to expand...
Click to collapse
i see this is strange
After running PUMa in folder OUT is a file Mms.apk? If not - can try handly copy this file from IN to OUT and press Apply
Tried on i9100G, shows installed etc, but when i try the sms to more than 10 persons it dsnt work. Even the call end immediately and noise reduction on by default dsnt work
manishdev said:
Tried on i9100G, shows installed etc, but when i try the sms to more than 10 persons it dsnt work. Even the call end immediately and noise reduction on by default dsnt work
Click to expand...
Click to collapse
all can be .. on I9100G program has not been tested. Tell us what you have firmware and if I have it I'll try to see applets mms and phone
ps.. i see mms & phone applet (only on old fw DZKJ2) - patches "call end immediately", "noise reduction on by default" should work. Under question - "disable control of number sending". In next version i try it's patch rewrite
Great job, working perfect for I9100 XWKK5 with russian contacts rule, cancel delay rings and stop converting SMS to MMS. Was installed by one zip file via CWM. Are donated ($100 - Confirmation number: 2SC26619W1027282U).
Thanks a lot.

[29 Oct 2012][Final] Remove Bloatware,Lite-ROM Creator-Windows Base Script Generator

Lite-Rom Creator cross-phone released .
Please check main thread here.
New version download @ main thread
http://forum.xda-developers.com/showthread.php?t=1954547
Tested on Galaxy Note ,should work to all android *ROOTED* phone .Bug report is welcome
Main Therad : http://forum.xda-developers.com/showthread.php?t=1478918
*Since v1.06 ,you can edit database yourself
*Since v1.05 ,file is backup to [SDCard/fishliterom] ,you can delete that folder if you want
What the app do
This is a window base program ,that create a script remove build-in Apps
Something like VPN ,encrypt and etc will NOT use by normal user ,you can use this script to remove them after flash new rom
What you need
a Rooted phone ,System Tuner (Maybe Script Manager can do that ? I don't know).
I test this with Samsung Galaxy Note ,but it should work with all android phone
Why I need to do that ?
Never use mean it's meaningless to keep in your phone
Some apps will run as service ,you CANNOT kill them by task killer ,so simple remove them for little juice
Same some space of launcher lol
Caution !
Do a CWM backup first ,or you may get serious problem with your phone like force close balabala ..
How to use
Unzip ,run lite-rom_creator.exe (If there is a update version ,simple get 'exeonly' zip packet ,replace the exe file
Select app that you want to remove from your phone ,double click to include ,or double click again to exclude .
After selection ,click [Export Lite-ROM Script] ,you will get a file [fish-literom.txt] ,put it in your SDCard .Then open System Tuner ,go to terminal ,select fish-literom.txt ,tick SU ,run the script.
You may get some Force Close message when running script ,ignore it .
After that ,reboot your phone ,ENJOY
You may try to resize the window of ROM Creator ,the height of grid list will change at the same time .
Beta version ,please report bug
My [fish-literom] script is stupid ,I know ,please tell me if I can improve .I'm not famous in Linux platform .
Hit thanks if you like this
You can live well with stock rom without remove any app ,so please leave this app alone if you think that lite rom is not what you need .
Download Link :
For previous user ,please copy old userapp.CDX ,userapp.dbf to new program folder
Run the program by double click lite-rom_creator.exe
Edit app list database by double click DBEdit.exe
Full with blank DB .
https://sites.google.com/site/literomcreator/Lite-ROM Creator Public v1.06.zip?attredirects=0&d=1
Change log :
2012 March 31
v 1.06 :
-Move database from internal to external ,now you can modify db yourself .Do it at your own risk
-lite-rom_creator.exe is the main program ,DBEdit is use for edit database
-applist.cdx,applist.dbf is program database ,userapp.cdx and userapp.dbf is your list,
BACKUP ALL if you update software
2012 Feb 7
v 1.05 :
Changed keyword [killed/unkill] to [remove/include]
Now file backup to /sdcard/fishliterom ,you may restore the app by copy file to /system/app and set permissions
2012 Feb 4
v 1.04 :
Fixed - Double click grid will not jump to top anymore.
Minor fix
Updated v 1.05
v 1.05 :
Changed keyword [killed/unkill] to [remove/include]
Now file backup to /sdcard/fishliterom ,you may restore the app by copy file to /system/app and set permissions
v1.06 Released . Download @ #1
Please report bug ,it's a quick release as required lol
v 1.06 :
-Move database from internal to external ,now you can modify db yourself .Do it at your own risk
-lite-rom_creator.exe is the main program ,DBEdit is use for edit database
-applist.cdx,applist.dbf is program database ,userapp.cdx and userapp.dbf is your list,
BACKUP ALL if you update from old lite-rom creator
Thanks for script

[Linux][UTILITY][TOOL] APK Multi-Tool

GgI am currently working on a major update to the apk manager application as well and changing the name to APK Multi-Tool with some new added features and also to fix some issues with some code errors.
I am also changing a lot of the features as well since a lot of the code has been outdated for a while.
I have updated all the files and modified Apk manager's Scripts to fix many user reported bugs from Daneshm90 apk manager which he had written a simple script to ease the process of editing apks. Got a lot of downloads so thought its in demand
Whether you're doing basic image editing or editing the smali or xml files, on average u have to use (Brut.all or JF's smali/baksmali) awesome tool to extract the apk, edit it, then sign the apk and then adb push/install it. This process is quite tiresome if you are testing a method that needs fine tweaking.
This script should make the process a LOT smoother.
Theres an option of compiling/signing/installing all in one step
Thanks:
Goes to Daneshm90 the Original Writer of APK Manager
Goes to Brut.all for his awesome tool.
Goes to JF for ofcourse, smali/baksmali
Features:
- Added framework dependent decompiling (For non propietary rom apks). (Option 10). Checks whether the dependee apk u selected is correct.
- Allows multiple projects to be modified, switch to and from.
- Allows to modify system apk's using apktool but ensures maximum compatibility in terms of signature / manifest.xml
- Batch optimize apk (Zipalign,optipng,or both)
- Batch Ogg optimization
- Batch install apk from script (option 19)
- Batch Theme Image Transfer TOOL
- Batch Theme optipng TOOL
- Batch Theme Zipalign APK TOOL
- Compression level selector (monitor status above menu)
- Error detection. Checks if error occurred anytime u perform a task, and reports it
- Extract, Zip apk's.
- Incorporates brut.all's apktool
- Improved syntax of questions/answers
- Logging on/off has been removed. Instead a log.txt is created which logs the activities of the script organized using time/date headers
- Optimize pngs (ignores .9.pngs)
- Pull apk from phone into modding environment.
- Push to specific location on phone
- Quick sign an apk (Batch mode supported)
- Read log (Option 24)
- Sign apks
- Supports batch installation, so if u drag multiple apks into the script (not while its running) it will install them all for u. U can ofcourse drag a single apk as well
- User can change the max java heap size (only use if certain large apks get stuck when decompiling/compiling apks) (Option 19)
- U can now set this script as ur default application for apks. When u do, if u double click any apk it will install it for u.
- Zipalign apks
- Much Much More
Instructions:
- Place apk in appropriate folder (Any filename will work, if running for first time folders will not be there, you must run and then the folders will be created)
- Run script
- Minimize the script
- Edit files inside the project folder
- Maximize the script
Requirements:
Java 1.7
Android SDK
FAQ
Resulting apk file is much smaller than original! Is there something missing?
First: compression of resources.arsc file. Sometimes this file is compressed in original apk, sometimes not and apktool always compress it. Second: lack of META-INF dir. Apktool builds unsigned apks, so they lack signatures stored in this dir. Third: apktool uses newest Android SDK, so it could optimize files better, especially if original app is old. So: unpack both original and resulting apk, remove META-INF from original and then compare sizes. If they're still much different, then you could report on XDA or somewhere.
There is no META-INF dir in resulting apk. Is this ok?
Yes. META-INF contains apk signatures mostly and after modifying apk in no longer signed, so there are no signatures in it. You have to sign resulting apk and then META-INF dir will be created.
What do you call "magic apks"?
Sometimes there are some apks which (for my current knowledge) are invalid, broken, theoretically they shouldn't exist. There may be many reasons of their existence: my lack of understanding of Android resources; some non-public, maybe future SDK tools or custom modifications of these; manual hacking of binaries, etc. Usually I can't do anything about it, but you could at least try to replace broken parts by something valid. Actually it's quite likely that they aren't even used, because if they would, then application would crash.
Got problems ?
1. Make sure your path has no spaces
2. Your filename has no wierd characters
3. Java/adb are in your path
4. It's not a proprietary rom's apk (aka Sense,Motorola,Samsung) (If u are, then use option 11 and drag the required framework, eg com.htc.resources, twframework-res...etc)
5. It's not a themed apk (if it is, expect .9 png errors, use as close to stock as possible)
6. Look at the log to know whats happening
7. If all else fails, post as much info as possible and we will try to assist you.
TO DO LIST
Add new feature to Randomly Generate a new Key File for signing the apk files after modifying and recompiling of the apk files this will also allow of uploading to the android market as this added feature will allow you to sign apk files that you may of compiled without signing beforehand.
Modify the Signapk script to be compatible with the Randomly Generation feature in the works
and a few other added features are in the works as I am redesigning the application and rewriting a lot of the code to fix issues as well as some of the new features have broken parts as some features have been moved and broken some command line prompts.
Installing APK Multi-Tool Itself
Instructions (Linux):
1-Download, create a folder in your sdk called "APK-Multi-Tool" and extract into it.
2-Goto the the "sdk/APK-Multi-Tool" folder and rename "Script.sh" to "script.sh".
3-Go into the "other" folder, right click on one file at a time, goto "permissions" in the new window and check the execute box.(do this with all the files)
4-To add the path to your folder open up a terminal and type in -
sudo su
PATH=$PATH:/THE PATH TO YOUR "SCRIPT.SH"
(for me this looks like the following)
PATH=$PATH:/sdk/APK-Multi-Tool/other/
5-export PATH
6-install "sox"
7-Type into the terminal "cd PATH TO YOUR SCRIPT.SH"
7.5 export PATH={PATH}:/PATH TO Your SDK/sdk/platform-tools/adb
8-Type "./script.sh"
9-You should have a running APK-Multi-Tool.
how to install sox:
Open the software center of the linux service and searched for sox. Installed it and it there you will have SOX working.
- Place apk in appropriate folder (Any filename will work, if running for first time folders will not be there, you must run and then the folders will be created)
- Open terminal and change-directory to APK-Multi-Tool(Easiest way is to type "cd ")
- Chmod 755 Script.sh
- Chmod 755 all files apps inside other folder
- Run script by typing ./Script.sh
- Minimize the script
- Edit files inside the out folder
- Maximize the script
Downloads:
https://github.com/APK-Multi-Tool/APK-Multi-Tool-Linux/archive/master.zip
Please check back daily or weekly as this project is under active Development and I am releasing Alpha releases on the website for Testing and bug reports.
Lol, why has nobody commented on this?
You're a savior. This is awesome. Can't wait for the rewrite.
AW: [Linux][UTILITY][TOOL] APK Multi-Tool
+1
Haven't seen this also available for Linux, so this is great.
Sent from my Galaxy Nexus using xda premium
Binary updates
UPDATED to apktool-cli-1.5.3-SNAPSHOT
-Updated to smali/baksmali to v1.4.2
-Fixed (issue #396) - Correctly handle android:debuggable while in debug
mode.
-Fixed (issue #340) - Fixed superclass errors on debug mode.
-Updated to Gradle 1.4
-Updated known bytes for configurations to 38 (from addition of layout
direction)
-Fixed NPE when handling odex apks even with --no-src specified. (Thanks
Rodrigo Chiossi)
-Fixed (issue #427) - Correctly handles `--frame-path` on uild
Error 404 on GitHub download page
xcly said:
Error 404 on GitHub download page
Click to expand...
Click to collapse
Fixed
Sent from my DROID RAZR CDMA XT912 using Tapatalk 2
I merged a few projects together instead of having multiple Android developer projects. I did some spring cleaning and deleted a few projects that was not useful and served no purposes. Also renamed the project organization which broke the link forgot to update lol.
Sent from my DROID RAZR CDMA XT912 using Tapatalk 2
I ran the script but I can't see any folders being created.. Trying to sign an apk. Looked up on google and all I can find is your instructions to put apk in appropriate folder (which I can't see..)
Thanks in advance
I will look into this ABCs see what's up
Sent from my DROID RAZR CDMA XT912 using Tapatalk 2
I ran the apksign tool separately using terminal for now
I got
The program sox is missing or is not in your PATH,
please install it or fix your PATH variable
If I go to the other folder there is no sox like in the windows version.
I will look into this asap once I get some free time
Sent from my DROID RAZR CDMA XT912 using Tapatalk 2
civato said:
I got
The program sox is missing or is not in your PATH,
please install it or fix your PATH variable
If I go to the other folder there is no sox like in the windows version.
Click to expand...
Click to collapse
I had the same problem but it was fixed once I installed sox. There was a tutorial on google search for setting up apk manager you might wanna have a look at.
Sent from my GT-I9300 using xda premium
raziel23x said:
I will look into this asap once I get some free time
Sent from my DROID RAZR CDMA XT912 using Tapatalk 2
Click to expand...
Click to collapse
xcly said:
I had the same problem but it was fixed once I installed sox. There was a tutorial on google search for setting up apk manager you might wanna have a look at.
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
I got it solved , I just entered the Ubuntu software center and searched for sox. Installed it and it works.
Maybe good to add this in OP when using linux. It is stupid of me thinking it was something harder so thank you for your help and fast response.
A other methode I found here
PS:
You don't need to type in ./Script.sh in teminal in linux , just clicking on it (Script.sh) and select "run in terminal" does the trick without typing anything.
updated the original post with detailed instructions
raziel23x said:
updated the original post with detailed instructions
Click to expand...
Click to collapse
Put updated info into the README file. Made a few corrections (hope you like).
AndyOpie150 said:
Put updated info into the README file. Made a few corrections (hope you like).
Click to expand...
Click to collapse
pushed your changed to github all code changes are welcome even forking the repo on github and making changes and doing pull request are welcome
raziel23x said:
pushed your changed to github all code changes are welcome even forking the repo on github and making changes and doing pull request are welcome
Click to expand...
Click to collapse
Just uploaded changed attachment. Fixed minor typos in Installation Instructions. Sorry I didn't get it straight before you pushed to github.
I deleted the info for Windows in previous attachments as well due to this being for the Linux version. Didn't know if you caught that.
PS: Thought I would let you decide if you liked my hair brained ideas first.
Is there any way to have a .jar file work without having to rename to .apk, or is that a mind bogling code rewrite. I'm all for learning.
Hey, I made some changes to the script to act more like the windows version of this tool. I added a setup.sh which will create all the folders and set permissions to everything. i also the ability to have multiple projects going at the same time, and also added a separate jar/dex folder so there is no need to rename the jar files to .apk to edit it. and other updates as well. its not 100% up to par with the windows one, but these few changes make a huge difference. Would you be interested in this?
---------- Post added at 11:38 AM ---------- Previous post was at 11:36 AM ----------
AndyOpie150 said:
Just uploaded changed attachment. Fixed minor typos in Installation Instructions. Sorry I didn't get it straight before you pushed to github.
I deleted the info for Windows in previous attachments as well due to this being for the Linux version. Didn't know if you caught that.
PS: Thought I would let you decide if you liked my hair brained ideas first.
Is there any way to have a .jar file work without having to rename to .apk, or is that a mind bogling code rewrite. I'm all for learning.
Click to expand...
Click to collapse
actually yes there is..i made an updated version of the script which has those features
clmowers said:
Hey, I made some changes to the script to act more like the windows version of this tool. I added a setup.sh which will create all the folders and set permissions to everything. i also the ability to have multiple projects going at the same time, and also added a separate jar/dex folder so there is no need to rename the jar files to .apk to edit it. and other updates as well. its not 100% up to par with the windows one, but these few changes make a huge difference. Would you be interested in this?
---------- Post added at 11:38 AM ---------- Previous post was at 11:36 AM ----------
actually yes there is..i made an updated version of the script which has those features
Click to expand...
Click to collapse
Make a pull request on github and in will merge it
Sent from my Xoom using Tapatalk HD

[APP] Amazon FireTV Side App Installer

Hi Guys,
I've created GUI app to easily sideload your apks to the FTV.... I will be updating it over time with extra bells and whistles.
Please be advised I do not take any responsibility if you root your device and it gets bricked.
The link will direct you to a URL to download the app. Sorry for any inconvenience, as it's the only way I can think to help fund my app.
https://drive.google.com/folderview?id=0ByfFwjYTfWSbejlSdXFtajZJdHc&usp=sharing#list
1. Unzip the folder to "C:\FTV"
2. Launch app "FTV Side App Installer.exe"
3. CMD will launch automatically and run the ADB commands.
4. Once its all done it will confirm "Success" in the CMD window.
I've only tested it on Win8, but should work on Win7.
Enjoy
Updates
Changelog v0.16
Minor tweak to version info
Added and moved IP Address to Settings Menu
Added option to Minimise/Hide the CMD window in Settings Menu
Changelog v0.15
Added Cache Video Buffering config - Details at http://wiki.xbmc.org/index.php?title=HOW-TO:Modify_the_video_cache#Examples
Reboot FTV confirmation
Screen Capture now has Date and time stamp (no need to move file before another capture)
Changelog v0.14
Bugfix for Firmware Upgrade/Downgrade
Added forum link in dropdown menu
Changelog v0.13
Updated XBMC keymapping v1,v2 ,v3 details http://wiki.xbmc.org/index.php?title=Alternative_keymaps_for_Fire_TV_remote
Added Firmware Upgrade/Downgrade
Towel Root updated to v3 (updated a couple of versions back but forgot to log it)
Changelog v0.12
Basic screen capture (rename the file or move before taking another capture or it will replace the previous)
Changelog v0.11
Added OTA Disable
Added OTA Enable
Added FTV Reboot
Changelog v0.10
Switch ClassicTV icon with XBMC icon
Removed OTA Update (until brick recovery fix is found)
Removed reboot
Added Shell access
Changelog v0.9
Fixed Root package install
Changelog v0.8
Updated Root install
Added OTA update - Enable
Added OTA update - Disable
Added Reboot device
Changelog v0.7
Added Root
Changelog v0.6
The ability to downgrade apps i.e install previous version of xbmc (handy if you install nightly build)
Changelog v0.5
Command Window now in focus when running
Llama apk file updated
Added Llama XBMC config file upload
Disabled the X from top right of app
Changelog v0.4
Select app location default folder changed
XBMC keymapping v3 button added
XBMC Restore bug fixed
Added Llama install
Added Wiki Link in menu
Changelog v0.3
Backup now Userdata, Splashscreen, Addon
Install App *fix for updates
Install AutoPilot
Changelog v0.2
Added XBMC custom Splashscreen upload
Added XBMC backup and restore
Changelog v0.1
Sideload apk files to you FTV
Very nicely done. I will test it tonight.
But you should post it in App section, not in general section.
To ADMIN Please delete this trend.
pbcal said:
Very nicely done. I will test it tonight.
But you should post it in App section, not in general section.
Click to expand...
Click to collapse
Thanks buddy... appreciate the feedback.
Hope an admin will see this and delete it... I have created a new trend in the Apps section.
I've downloaded the .zip from dropbox, but it will not unpack. Error with both winzip and winrar.
Winzip error is "The archive is either in unknown format or damaged"
Winrar 'extract files' error is "No archives found"
archa1c said:
I've downloaded the .zip from dropbox, but it will not unpack. Error with both winzip and winrar.
Winzip error is "The archive is either in unknown format or damaged"
Winrar 'extract files' error is "No archives found"
Click to expand...
Click to collapse
Might want to try downloading it again..... Sounds like you have a corrupted file.
imtiajmeah said:
Might want to try downloading it again..... Sounds like you have a corrupted file.
Click to expand...
Click to collapse
I downloaded it thrice. No luck. Strange...
Works like a charm, Thanks
..
archa1c said:
I downloaded it thrice. No luck. Strange...
Click to expand...
Click to collapse
4th time's a charm!
Really nice app. Great looking interface.
One thing I would add (if it wasn't a total PITA) would be device discovery (like you see with a lot of iOS device jailbreak tools) where the app scans the LAN for devices in the correct MAC range and displays them in the app window.
As it stands, this is still a nice app.
Updates and discussion moved
Hi All,
Thanks for your comments so far
I have just updated the app to v0.2 and will be maintaining and continuing updates at the flowing link below.
http://forum.xda-developers.com/showthread.php?t=2736774
imtiajmeah said:
Hi All,
Thanks for your comments so far
I have just updated the app to v0.2 and will be maintaining and continuing updates at the flowing link below.
http://forum.xda-developers.com/showthread.php?t=2736774
Click to expand...
Click to collapse
Awesome program, thanks for your work!
I tried to update from RC1 to the file posted May 1, 2014 and received a failure install failed already exists
So I guess it won't update / overwrite the existing files
Slickjack said:
Awesome program, thanks for your work!
I tried to update from RC1 to the file posted May 1, 2014 and received a failure install failed already exists
So I guess it won't update / overwrite the existing files
Click to expand...
Click to collapse
Hi Slickjack,
Thanks for your feedback. I have fixed the bug and you will be able to update / overwrite the existing files in the next release.
Great app man.
Sent from my SAMSUNG-SGH-I337 using Tapatalk
Hey, I installed this on a pc with windows vista and windows 7 and I'm having the same problem with both. When I run the app all the buttons are black so I cant see what they say. Anyone else have this problem?
HenryFord33 said:
Hey, I installed this on a pc with windows vista and windows 7 and I'm having the same problem with both. When I run the app all the buttons are black so I cant see what they say. Anyone else have this problem?
Click to expand...
Click to collapse
Hi HenryFord33,
I don't know why you re having this issue.... but my guess is it might be a windows theme related issue. Can you reset your Windows Desktop theme to default and see if that helps.
imtiajmeah said:
Hi HenryFord33,
I don't know why you re having this issue.... but my guess is it might be a windows theme related issue. Can you reset your Windows Desktop theme to default and see if that helps.
Click to expand...
Click to collapse
That did indeed fix the problem my friend. I guess my old school looking windows themes on both PC's were the issue. Can can now see the text on the buttons. Well done with this app.
I keep getting cannot find program. Even though I am loading the .apk file.
moz68 said:
I keep getting cannot find program. Even though I am loading the .apk file.
Click to expand...
Click to collapse
Make sure you don't have any spaces in the apk file name. Replace with a full stop or remove any spaces.
2 things i noticed .,
shorten file name by removing numericals helped.
you don't have "bluestacks" running on the machine, you may have to kill it in task manager as well.
thanks..

[XAP] vcREG:Lumia Reg Editor+Jailbreak WP8 version NO LONGER SUPPORTED

WP8 version no longer supported by me, but if others offer fixes, I will post them here. W10M version is discussed in this thread here http://forum.xda-developers.com/win...creg-lumia-reg-editor-interop-unlock-t3451723
WP8/8.1 MixRadio easy method working with instructions from @xboxmod
https://forum.xda-developers.com/showpost.php?p=64350590&postcount=318
WP8/8.1 HERE Maps method working with instructions from @slavanap
WP8.1 instructions (SD card needed)
1.Do device registration to allow sideloading of apps
2. Install HERE Maps (microsoft.com/en-us/store/p/here-maps/9wzdncrfhw6b) from the store, and move it to sd card. Download installation file manually ( wpsnitch.appspot.com ), if you want to install it from SD card.
3.Install Windows Explorer, keep it on phone
https://www.microsoft.com/en-us/stor...r/9wzdncrdrl4w
4.Sideload WPSystem_Folder_Unlocker_Release_ARM.xap(thanks @djamol and @contable),keep it on phone
5.Extract Install.zip from below , and put the extracted "Install" folder on the root of your sd card. The Install folder should have 4 files in it.
6.Open WPSystem Folder Unlocker app. Hit Unlock WPSystem Folder(sd card) button. It should say Success. Now close it
7.Open Windows Explorer.
8.Hit the app bar, go to "access folders",hit the +, choose sd card, then click the check mark
9.Navigate to D:\WPSystem folder. Rename the Apps folder to Apps1. Now open Apps1 folder
10. Navigate to {EFA4B4A7... or {6C28635B-... (I got the second GUID after reinstall)
11. Delete all directories here except Install . Then navigate to Install folder. Delete following 3 files from there: AppManifest.xaml NokiaRegistryUtils.dll NokiaRegistryUtils.winmd
12.Navigate to D:\WPSystem folder and rename Apps1 back to Apps
13. Navigate to the root of your sd card. Get into "Install" folder we put here earlier. Choose all 4 files from there to Copy.
14.Navigate to D:\WPSystem\Apps\{EFA4B4A7-74...}\Install folder. Hit the app bar then paste.
15. Go to your apps list and run HERE Maps. vcREG should open. Apply unlock.
16. After you apply the unlock, you can sideload vcREG_1_2_SIDELOAD.xap to have the app available in your applist for future use.
Q&A
HOW TO USE THE APP TO CAP UNLOCK
now that the app is open, you want to unlock all capabilities. hit the app bar, and tap "templates". here we see two options, interop/caps unlock, and full fs access through MTP. check your options, and click apply. Reboot for MTP.
HOW TO USE THE REGISTRY EDITOR
the main registry editor is pretty straightforward. put the correct path, the key name and value if its a write.
string: it will read as one string. writing is the same,write a string, no spaces, hit write
multistring: multiple strings are read as strings separated by spaces. to write multiple strings, separate each string by a space, hit write.
dword: it will read as 8 characters of ascii. so a value of 1 will read as 00000001. writing is the same. you MUST write 8 characters or it wont write it,so a 1 is 00000001 and B0000 is 000B0000. all bytes are hex, not decimal.
binary: when you read, the app will return 20 bytes, regardless of how long the binary is. if the whole binary sequence is 11 22 33, it will read as 112233 and then 17 00s. the reason for this is that there isnt a method to know how long the binary sequence is,so i hardcoded it to read 20. even if its longer than 20 bytes, you will only get 20 bytes back. i can up the limit at a later time if its something people need.
writing binary is also limited to a max of 20 bytes. if you are writing less than 20 bytes though, dont put the extra zeroes. if you are writing 4 bytes such as 11 22 33 44, then simply write it like this 11223344(no spaces) then hit write.
DO THESE REGISTRY CHANGES PERSIST AFTER A HARD/FACTORY RESET?
no. if you hard reset, you will revert back to the stock rom and any changes you made to the registry will be lost. you will have to make the changes again after a hard reset. file system changes, especially in the windows folder can persist though.
[/HIDE]
Work with me very fine.
THANKS
Is there a way to sideload marketplace apps such as tetra lock screen 1.2.0.0 ? I loved that app.
---------- Post added at 08:11 PM ---------- Previous post was at 08:10 PM ----------
And thanks for bringing us another option. It brings our community closer together
followed your steps. thank you. not sure how to do this though:
"Once completed, you can remove the app and put extras+info back". How to remove it....
never mind. renamed apps folder on SDCard to appx, deleted the app, renamed the folder back to apps, rebooted, changed time to 2115 and was able to uninstall and reinstall.
cheers
derausgewanderte said:
followed your steps. thank you. not sure how to do this though:
"Once completed, you can remove the app and put extras+info back". How to remove it....
never mind. renamed apps folder on SDCard to appx, deleted the app folder, renamed the folder back to apps, rebooted, changed time to 2115 and was able to uninstall and reinstall.
cheers
Click to expand...
Click to collapse
updated the first post with a dead easy method I use
Ok did everything from the package you PM'ed me and ya phn is now interop unlocked.. Changed the MaxUnsignedApp to 170(thats enough for me) I didn't have time to check the homebrew apps I'll try them later. Thnx for this
Pretty Awesome Bro !!!
So what i was looking for... Good job mate.
NTDK Server is a great more than Samsung RPCComponent.
I hope that you can expand it to the more API's.
Like File System API and much more.
Other people's. Please do not spam such thread with your questions. Leave it completely for development related.
Your Q/A goes Here.
@vcfan
So this is similart to what root access on android phone? What is the main advantage if we do this, what do we gain? For me on android the bes thing was customization of the look, and the possibility to block ads in free applications . The ads in windows phone aplications are really annoying when the pop up through whole screen, it would be great if there was a way to block them with host file or something, like in android.
I wonder if we can add an extra quick action. I tried editing the "AllowedQuickSettingsElements" registry but it reverts back to 4 as soon as I pull down the action bar.
MultiPDev said:
I wonder if we can add an extra quick action. I tried editing the "AllowedQuickSettingsElements" registry but it reverts back to 4 as soon as I pull down the action bar.
Click to expand...
Click to collapse
Same happens with my 630 .
Will this work on W10 TP?
As im trying to ,the system wont grant WPCustomSystem access to change the name of the "Apps" folder so that the data can be patched
surya467 said:
Will this work on W10 TP?
As im trying to ,the system wont grant WPCustomSystem access to change the name of the "Apps" folder so that the data can be patched
Click to expand...
Click to collapse
No it doesn't work with wp10 tp . You should get unlocked before going for 10 tp.
irshad2809 said:
No it doesn't work with wp10 tp . You should get unlocked before going for 10 tp.
Click to expand...
Click to collapse
I did it, but i cant deploy some apps, maybe something went wrong, thanks
surya467 said:
I did it, but i cant deploy some apps, maybe something went wrong, thanks
Click to expand...
Click to collapse
As I know I wasn't able to change names or access wpsystem folder with file managers other than official one . How did you do that?
Has anyone tried to replace black background under All apps (the list of all apps) with some custom wallpaper?
Can anyone with a Lumia 830 confirm this is working?
irshad2809 said:
As I know I wasn't able to change names or access wpsystem folder with file managers other than official one . How did you do that?
Click to expand...
Click to collapse
What I did was,
I had Windows Phone 8.1 Update 2 installed with developer unlock
I unlocked the phone with Interop Unlock but did not hard reset
Then i updated WP 8.1 to Win 10 TP and then i hard reset
it seems the unlock worked.
I can deploy ,
App data manager which WORKS
CustomWPsystem which works but cannot patch because Win10 TP doesnt allow permissions to WPSystem folder
I deployed vcREG: Lumia Reg Editor too
but since i hard reset developer unlock should be removed, so im guessing its interop unlock
The only issue is i cannt deploy io explorer, wphtweaks and accept colors app
Is this only bcuz of power tools ? IDK because i have VS 2013 on home PC and it still gives manifest file error.
---------- Post added at 11:13 AM ---------- Previous post was at 11:11 AM ----------
irshad2809 said:
As I know I wasn't able to change names or access wpsystem folder with file managers other than official one . How did you do that?
Click to expand...
Click to collapse
XDRdaniel said:
Can anyone with a Lumia 830 confirm this is working?
Click to expand...
Click to collapse
Yes ofcourse it is
https://onedrive.live.com/redir?res...08447&authkey=!AAkZG-uRpRAzdbM&ithint=folder,
take the data.bin file from here, depends on your RM though
surya467 said:
What I did was,
I had Windows Phone 8.1 Update 2 installed with developer unlock
I unlocked the phone with Interop Unlock but did not hard reset
Then i updated WP 8.1 to Win 10 TP and then i hard reset
it seems the unlock worked.
I can deploy ,
App data manager which WORKS
CustomWPsystem which works but cannot patch because Win10 TP doesnt allow permissions to WPSystem folder
I deployed vcREG: Lumia Reg Editor too
but since i hard reset developer unlock should be removed, so im guessing its interop unlock
The only issue is i cannt deploy io explorer, wphtweaks and accept colors app
Is this only bcuz of power tools ? IDK because i have VS 2013 on home PC and it still gives manifest file error.
---------- Post added at 11:13 AM ---------- Previous post was at 11:11 AM ----------
Yes ofcourse it is
https://onedrive.live.com/redir?res...08447&authkey=!AAkZG-uRpRAzdbM&ithint=folder,
take the data.bin file from here, depends on your RM though
Click to expand...
Click to collapse
Nope, the same. Crash right after i press "Aply XAP" :'(
XDRdaniel said:
Nope, the same. Crash right after i press "Aply XAP" :'(
Click to expand...
Click to collapse
its not an unlock issue, your not able to patch the app, that is an sd card issue
I think u can do it manually or format SD card and try again
thanks for the app but I can't write any reg key? i wonder if it did not send me the confirmation notification or it just can't?

Categories

Resources