[TOOL][SHARE] Remote Theme Injector - theme your favourite paid apk! - Galaxy Y GT-S5360 Themes and Apps

Note : I'm just sharing the work of the XDA Member Diamondback.Here's a little introduction :
Diamondback said:
Themers on XDA face a huge problem when it comes to paid apks. They can't theme apks and distribute their work since that would be considered warez.
Since we - the moderators - spend a lot of time closing threads where someone accidentially published such a theme, Forum Moderator Whiskey103 came up with an idea.
What if the themer doesn't distribute the entire apk, but only his themed parts? This would be totally allowed on XDA.
So Whiskey asked me if I can come up with a solution to this problem. And today we announce RTI - The remote theme injector!
Note: while this project is intended for paid apks, it still works with free apks too of course. This app might help you migrating themes to a new version of the apks too.
RTI basically consists of two parts:
The patcher (or themer)
And the editor which is needed to create themes
Patcher
This is a little windows app which takes the target apk and a theme file (more on that later) and automatically injects the theme into the desired apk.
Todo this, the apk gets decompiled, patched, recompiled, signed and zipaligned. All this happens automatically and requires no input from the user (which is in this case the user who wants to USE the theme)
The user has to provide the target apk on his own, this ensures no apks are distributed as part of the theme.
It can be pulled via ADB or Rootexplorer from the phone for example.
Editor
The first app was for applying a theme, the editor is for creating such themes.
It's a simple wizard style app which guides the themer through the required steps to create a theme file.
Each theme file contains not only the actually themed files but also its own version of apktool to ensure maximum compatibility and a set of settings specifically for the target apk
The settings include:
Package name of the target apk
Version number of the target apk
Which sign method to use (keep old signature, sign with a default key, sign with own key)
Whether the apk gets zipaligned or not
The workflow for the user is very easy:
Download theme (it contains the patcher and the theme file (or even multiple themes)
Fetch target apk from phone and copy it in the same directory as the patcher
Start patcher and wait until it's done
Install themed apk on device
The workflow for the themer isn't much harder:
Theme your apk just as you are used to it
provide TWO folders to the Editor, both folders need to contain the decompiled output of apktool
The first folder contains the unthemed, decompiled apk, the second one contains the themed and decompiled apk
Set the required settings in the editor and wait until generating the theme is done
Provide the user a download which contains the patcher and your created theme file
Screenshots:
Editor:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Patcher:
Changelog
2.12.1.5665
Added support for smali modification for advanced themes
Some bug fixes and UI improvements
1.9.5.191
Important: This version brings some breaking changes, so please do not mix an old rti file with the new patcher. It won't work. You have to recreate your theme files if you want to use the new patcher.
Changed signing options. Removed java jarsign and added signapk.jar instead. This has a far better compatibility and doesn't require an installed Visual C++ runtime.
Possible signing options now:
Use 'test keys': Use a pre defined set of keys from me to sign the apk
Use 'own keys': you have to provide your own set of keys (key.pk8 and certificate.pem) to sign the apk
Keep old signature: NOT recommend, this has a few use cases, but usually won't work. Use one of the other two options if you are not sure.
Improved error detection on the folder selection page. It can tell you some common errors now if you make them.
1.7.6.113
Initial release
Example themes
Tapatalk Pro/Free by Whiskey103
XDA Premium Red and Blue by Whiskey103
Requirements (this is both for Editor and Patcher)
Windows XP SP3 or newer (excluding all Windows 8 versions)
Microsoft .NET framework 4.0 FULL
Oracle JRE (Java) (Always try to use the latest Java version)
Download
RTI 2.12.1.5665
Old versions:
RTI 1.9.5.191
RTI 1.7.6.113
Credits
Whiskey103 for the excellent idea
brut.all for apktool
Google for Android
My girlfriend for tolerating my work on XDA
My dog for keeping me happy
Click to expand...
Click to collapse

Here's a explanation on how to use this :
Whiskey103 said:
I will write a guide here, for now just screenshots and a little explanation on how to use the "Patcher"
We will do our best to answer the questions about how to use and all that
Basically i came up with the idea because of the fact we have to delete a lot of themed paid apps.
Thats not nice since i know there is much time spend on it.
So now we have a solution for all the themed Swype apk,s etc etc
I really felt sorry sometimes after i had to remove some masterpiece because it was "warez"
If we start to use this, its all fine
BIG Thanks to Diamond who really liked the project from the beginning, without him this wasn't even possible.
He really was enthusiast from the moment i contacted him till where we are now.
Once again, thanks Diamond
The patcher:
You have to download a patcher theme (XDA Premium App example) my thread for screenshots
Extract that folder and grab the installed apk from your phone with Rootexplorer or ES File Explorer.
Place that apk in the extracted theme folder and run the RemoteThemeInjector.exe
In this case the RTI (Remote Theme Injector) will give you a list since i placed two themes in one folder. Just make your choice.
The patcher will do his job and spit out a Themed APK.
Copy that Themed APK to your phone (SD-Card) and install it after you removed your previous installed version of the App.
Once the apk is installed , goto menu / more / settings / Display Style / and select XDA Free.
The Editor
Click to expand...
Click to collapse
Original Thread : http://forum.xda-developers.com/showthread.php?t=1756020
Credits : Diamondback
Click to expand...
Click to collapse

Related

[TOOL] [01/23/11] Android Customization Suite 1.0 - devs read me!

Android Customization Suite 1.0
This is a program to complement your ROM. It is able to produce a CWM flashable zip with apps your ROM might be missing (T-Mob ones, launchers, utilities, etc). It also has other tools available for you. It can produce an empty flashable zip for you (read more about it here). And now, it has "repositories." Developers can upkeep their own repos with whatever files they wish. Roms, themes, mods, etc.
need Fascinate Devs to talk to me to get their work added on here!
in the mean time, you guys can mess with the Utilities in the Vibrant section just to get a feel for it
Screenshots
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Older Screenshots:
Repo Tab 0.999
Repo Tab
Utilities Tab
Launchers & Misc Tab
Vibrant Apps Tab
System Tab
Instructions
Download. Note: you must have Java installed to run this app
WHILE YOU ARE DOWNLOADING MAKE A NANDROID BACKUP
Unzip the folder. Please keep it intact. Moving files around in there will probably break the functionality.
Run ACS.jar.
Choose desired apps.
Wiping Dalvik cache is recommended, but it will take you about 5 minutes to boot
Copy flash.zip to your internal sd card
Flash with CWM
Linux users: if you are running Linux I advise you to use the run.sh file to run the program, otherwise it may use your home directory to store files
Mac users: you need to have java 1.6 installed for this to work. i tested this on a friend's mac (running 10.5.8 & java 1.5) and it wasn't working. also i was not able to update her java to 1.6 either. so i'm assuming you need to have snow leopard installed for this to work...
Devs:
Check out this reference guide for more info on setting up a repo list. Feel free to contact me for any clarification. It's really not hard to do it, just have to understand how the app works a little. The guide should give insight and instruction. Contact me to add your repo to the list.
Options Note
If you want to change the location of system apps, please make your selections first THEN change the location
Change Log
v1.0
-finished gui changes, no more tabs
-added menu bar with options option
-couple bug fixes from .9999999
v0.999
-redesigned gui
-everything is in form of a repo now (or will be at v1, too lazy to do launchers tonight)
-added functionality for different phones
-changed the way the app checks files against the server, should be much more efficient & faster
-need a new name!
v0.86
-bug fixes
-location of system apps (in the options tab) now works
v0.85
-repo functionality added
--any devs, feel free to contact me to add a section for your rom/mods/whatever
--the "repo" is maintained by you and is updated automatically when you update it, no need to recompile the app
-options tab
--new option to specify where you'd like to store apps that would originally go in /system/app currently may not work, need some script help from a dev to fix this D:
-download percent for convenience and downloading large files
-did i mention there's a repo?
v0.7 Beta
-couple GUI changes to make it prettier
-new feature to create blank CWM zips for your use, read more about it here
v0.6 Beta
-improved code to download from online server & error checking
-added modems
v0.5 Burly Beta
-Basically rewrote program...
--should be more efficient now, too
-Initial online implementation
--hopefully my web host can handle the traffic
-icon is missing, after 8 hours of working on 0.5 i'm not going to fix it right now
-file size down to less than 150k
v0.4 ALPHA
-KERNELS & MODEMS NOT INCLUDED IN THIS UPDATE, SORRY
-TouchWiz Launcher Widgets will not be added along with the launcher
-added progress bar (along with rewriting some code to make it more efficient)
-added a rename box, you can now name your .zip whatever you like
-added more tmobile bloat (sigh)
-the application will not recognize APKs and files outside of itself, so for instance if you have an APK that you want to add just put it in the corresponding folders.
-- for instance my VCK.jar is in folder /vck/, i want to add hi.apk. I could move it to /vck/data/app/hi.apk and when you click generate zip, the program should include it. please contact me if this is unclear or you have questions, this is only a minor feature
v0.3 ALHPA
-Renamed to Vibrant Customization Kitchen (thanks BruceElliot)
-re-organized tabs a little
-fixed bug where program would not work properly after generating a zip (thanks jdanisevich)
-Launchers & Misc tab should work
v0.2 ALPHA
-Most Vibrant Apps added (missing TMO TV & Media Hub for now)
-Misc Tab works now (minus GB keyboard, didn't work for me for some reason)
v0.1 ALPHA
-Initial Release
Current Known Bugs
-Please report any bugs you may have!
-If you do encounter a bug, restarting the program and trying again may help.
If you like this Tool, hit the Thank you button!
github - I don't really know what I'm doing with git, but here's my attempt at publishing it
Credits
-Scrizz - doing the hard work on the modems
-Heathen - script help
-Morfic, Eugene, Supercurio for their work (and allowing me to use their kernels)
-all ROM devs
-everyone else in this community who always help
Media Mentions
XDA Front Page (v0.3)
Android Spin (v0.4)
This looks like a really useful tool. Can't exactly use it yet until devs add their work, but thank you!
Also could be useful for most but there will always be those that mess things us and blame it on the CODE like they used to do us in the Di**network rom2, rom3, rom10 days.
Other than that great tool when you get enough repositories to cover the phone bases and keep up the coding

[TUT] Metamorph on X8

lets try something new today..
before I start let me ask you this questions.
do you like customizing your phone?
do you want to edit your apk's without a pc?
do you have belief in xrecovery (&me probably)
if you answered YES for the above questions. I've something good for you.
our map for the treasure in this journey would be a small application named
METAMORPH
MetaMorph, at heart, is simply a program that takes files from a directory and adds them to an already existing zip package.
In this case, our zip packages are apk and jar files.
Click to expand...
Click to collapse
THINGS YOU'LL NEED :
Metamorph (attached)
RootExplorer (any apk which can edit xml files)
Androzip/Astro (zip app)
Creativity & Willingness to take the Risk
Metamorph uses a zip file to apply the customize apk on your phone.
the zip file contains two things
a xml file
folder containing your mods
lets cut it sweet with an example.
----------------------------------------------------------------------------------------------------------------------------------------------------
lets suppose I want to change the icon of my apk. lets say I want to change icon of Calculator
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
to
----------------------------------------------------------------------------------------------------------------------------------------------------
Metamorph is CaseSensitive. Following Steps need the correct name & case
Click to expand...
Click to collapse
we'll do it in 2 parts
PART - 1
to do this I'll first need to create a folder named Calculator
now the icon of calculator is in the folder res\drawable-mdpi
so I'll create those folders in the Calculator folder
so the line is Calculator->res->drawable-mdpi
all I need to do now is the monster icon into this folder and name it exactly the same way it is in the original so lets rename monster.png to icon.png
PART - 2
the xml file should contain this code
Code:
[B]<?xml version="1.0"?>
<themename>[COLOR=Red]theme_name[/COLOR]</themename>
<themeversion>0.1beta</themeversion>
<screenshot></screenshot>
<author>Suhel</author>
<authorweblink>N/A</authorweblink>
<phone>Xperia X8</phone>
<rom>Sony Xperia X8 2.1 </rom>
<themedescription>Converted Theme</themedescription>
<item>[COLOR=Red]your_apk.apk[/COLOR]</item>
<path>[COLOR=Red]path_of_your_apk[/COLOR]</path>
<description></description>
[/B]
ok the red things in the above code are crucial.
1. theme_name (I'll come to this later)
2. your_apk.apk this is the name of your apk
3. path_of_your_apk this is the path of your apk
for our Calculator it should be something like this
Code:
<?xml version="1.0"?>
<themename>X8Champ</themename>
<themeversion>0.1beta</themeversion>
<screenshot></screenshot>
<author>Suhel</author>
<authorweblink>N/A</authorweblink>
<phone>Xperia X8</phone>
<rom>Sony Xperia X8 2.1 </rom>
<themedescription>Converted Theme</themedescription>
<item>[B][COLOR=Red]Calculator.apk[/COLOR][/B]</item>
<path>[COLOR=Red][B]/system/app/[/B][/COLOR]</path>
<description></description>
hope you understand. now you need to save the xml file.
now the first point. the theme_name you are going to type should be the same name as of your xml file name
ok now you're done.
all you need to do now is create a zip file and place the folder & xml file in that zip file. again make sure the name of the zip file should be the same as the xml file
put the zip file in your sdcard root
-------------------------------------------------------------------------------------------------------------------------
Applying theme with Metamorph
Tap Unzip/Extract new theme
Select the Zip file
Tap the apk you want to apply and tap apply it
Reboot your phone
-THE END-​
Why Metamorph?
​ 1. Easily Edit your Apk's & Jar files on your phone without hazzle of extracting and replacing.
(Jar files will need pc. awww but you dont edit jars too much )
2. You can Mod multiple Apk's
Code:
[B]<item>[COLOR=Red]your_apk1.apk[/COLOR]</item>
<path>[COLOR=Red]path_of_your_apk[/COLOR]</path>[/B]
[B]<item>[COLOR=Red]your_apk2.apk[/COLOR]</item>
<path>[COLOR=Red]path_of_your_apk[/COLOR]</path>
[/B]
[B]<item>[COLOR=Red]your_apk3.apk[/COLOR]</item>[/B]
[B] <path>[COLOR=Red]path_of_your_apk[/COLOR]</path>
<description></description>
[/B]
you can even edit your Framework-res.apk. just make sure the path of it is /system/framework and not /system/app
3. I don't know. I need to try it out more. I'm trying to edit a jar file for now. will tell you the results. but the potential of it are endless
4. However it doesn't work with market apps. its intended to only bug the stock things
IMPORTANT : Meta is very stringent about its filenames and fonts case and name. If you miss one thing the apk will disappear from your menu. so make sure you've a
BACKUP B4 U MESS-UP
WOW IT RHYMES LOL
Click to expand...
Click to collapse
EDIT : well you don't need to entirely backup just copy/paste the apk you want to edit. entire backup may require if you are playing with jar files or crucial apk's.
I'm not responsible for any mess done to your phone
Edit 2 : Works with framework-res.apk too
Ok. How can I change icon Phone or Music Player? I try your method and I can change only Calculator, Calender and Settings. Any ideas?
bananoss said:
Ok. How can I change icon Phone or Music Player? I try your method and I can change only Calculator, Calender and Settings. Any ideas?
Click to expand...
Click to collapse
folder path
SemcMusic\res\drawable
icon name
music_app_icon.png
Code:
[B]<?xml version="1.0"?>
<themename>SemcMusic</themename>
<themeversion>0.1beta</themeversion>
<screenshot></screenshot>
<author>Suhel</author>
<authorweblink>N/A</authorweblink>
<phone>Xperia X8</phone>
<rom>Sony Xperia X8 2.1 </rom>
<themedescription>Converted Theme</themedescription>
<item>SemcMusic.apk</item>
<path>/system/app/</path>
<description></description>[/B]
Nice tut
edit: if i need to change a app on sdcard whats the path? :S
/sdcard/foldername
Foldername would be the folder in which your app is stored
Click to expand...
Click to collapse
WHOOAA. Can I get a source for the background please? And what font are you using there?
Edit: This looks so damn good, holy crap.
a-k-t-w said:
WHOOAA. Can I get a source for the background please? And what font are you using there?
Edit: This looks so damn good, holy crap.
Click to expand...
Click to collapse
sure buddy
what about folders in zip file for framework.apk ? Where should be semc_bg.png and fonts ? Near .xml or in folder .......
Sorry for offtopic... But: Which framework do you (suhel) use? It's so awesome
thanks for this tutorial!
herbi69 said:
what about folders in zip file for framework.apk ? Where should be semc_bg.png and fonts ? Near .xml or in folder .......
Click to expand...
Click to collapse
the semc_bg should be placed in /res/drawable-mdpi
for the fonts refer this topic http://forum.xda-developers.com/showthread.php?t=933406
[email protected] said:
Sorry for offtopic... But: Which framework do you (suhel) use? It's so awesome
Click to expand...
Click to collapse
are you talking about the blue background??? I've already attached the file and fonts two posts above your post
thanks for sharing~

[APP] Absurd Bloat manager [Preview Alpha 2] | 8/25/11

Okay so some of us at The Evervolv Project have been working on an app that will take care of your bloat issues with sense roms, no matter the rom. This tool has been designed from the ground up to be geared towards sense rom developers & power users to be able to customize the app easily and fit their needs and roms.
Currently this is in preview "deep alpha". What does this mean? Well, we wanted to release a preview to users and rom developers so they could get a feel for where the app is going. This is going to be an ongoing work for quite some time, depending on interest generated. With that being said let list some of the key features, and go over what we're currently working on.
Rom developers seeking to include this in their rom, please PM me and we can talk things over and explain how to customize the app to your rom/users. This application will be open sourced, free to use by anyone and everyone. Take the code and make your own app. Decompile the app and change all the information to suit you (actually this is preferred). We'd also love input for the application from rom dev's and power users. Downloading previewers, feedback is definitely requested... but please hold off on post's referring to bugs right now. This is currently being worked on, and many of the issues will be taken care of shortly. With that said, if there is any java developers/programmers that would like to join the effort, feel free to PM me also.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Current features:
Bloat manager
Load a list of apk's from an xml file into a listview(example below)
Code:
<bloatentry>
<bloatitem>HtcLockScreen.apk</bloatitem>
<bloatitem>Idlescreen_Base.apk</bloatitem>
<bloatitem>idlescreen_photo.apk</bloatitem>
<bloatitem>idlescreen_shortcut.apk</bloatitem>
<bloatitem>IdleScreen_Stock.apk</bloatitem>
<bloatitem>IdleScreen_Weather.apk</bloatitem>
<bloatitem>com.htc.idlescreen_SN.apk</bloatitem>
</bloatentry>
Option to select one or multiple apk's to delete(Checking individual items, then click "Remove select")
Option to delete all apk's listed (Clicking "Remove all" Button)
Option to select one or multiple apk's to delete
All listed apk's are definable by the rom developer or power user.
Senseless manager
Option to make the current running rom "senseless" removing most of unnecessary applications and replacing them with AOSP or AOSP-like apps.
User can download and install applications from a list also specified in an xml document.
Multiple options on applications can be given to the user by adding links and the apk names in the xml file.
Code:
<applist>
<item>
<name>Launcher2.apk</name>
<website>http://evervolv.turnertechrepair.info/Absurd/Senseless/Launcher2.apk</website>
</item>
<item>
<name>Music.apk</name>
<website>http://evervolv.turnertechrepair.info/Absurd/Senseless/Music.apk</website>
</item>
<item>
<name>Latin_IME.apk</name>
<website>http://evervolv.turnertechrepair.info/Absurd/Senseless/Latin_IME.apk</website>
</item>
<item>
<name>Not_exist.apk</name>
<website>http://evervolv.turnertechrepair.info/Absurd/Senseless/not_extist.apk</website>
</item>
</applist>
Much more...
Rom developer/power user can have a remote xml file downloaded by the app and used to populate the senseless apps, and removable apk's.
Manifest xml url is definable via settings (menu > Settings)
Download folder is definable via settings. (requires app restart if folder is not already made, will be fixed next release)
Currently planned features:
Rom developer/power user can have a remote xml file downloaded by the app and used to populate the senseless apps, and removable apk's.
Currently only apps on the /system partition are support, apps in /data/apps is planned.
Currently only the apk for the desired app is removed from the device, removal of the app's data folder is not touched, leaving behind the app's userdata. Removing this data is planned and in the works.
Refined GUI, currently this is more of a mockup than a final product. (monochrome yuck)
Currently only qHD devices are supported, wvga device layouts will be taken care of shortly.
Custom tab design (currently using the android supplied example).
More options available to be user-definable
Much more...
Download Preview 2
App team:
milesje - java
preludedrew - java & layout
Adhvanit - graphics
Have I seen your work before? The name sounds familiar. Nah, jk. This is some great work. Everybody needs to check this out. I've used it and it's great and only going to get better.
2 Things achieved today...
The 'Remove sense' button now works as intented.
The xml file relaying all of the apk names and file downloads is now downloadable from a specified link.
Keeping an eye on this one...thanks, this is well needed.
Preview alpha 2
Changelog
'Remove sense' button now works properly (removes all apk's listed in the bloat list)
Support for wvga devices (480x800).
Support for remote manifest file (currently it downloads a test xml file specified in string resources).
Added settings
Added settings option to specify downloads folder
Added settings option to specify url link for the manifest xml file.
Miscellaneous code cleanup and duplicate removal.
Can't the same be achieved with titanium backup? Albiet not as easily understood or straightforward?
Don't get me wrong, I think this is a great idea, and I'll probably use it as well. Just trying to get clarification.
Sent from my PG86100 using xda premium
dementio said:
Can't the same be achieved with titanium backup? Albiet not as easily understood or straightforward?
Don't get me wrong, I think this is a great idea, and I'll probably use it as well. Just trying to get clarification.
Sent from my PG86100 using xda premium
Click to expand...
Click to collapse
You're right, titanium backup can do what you're wanting. This app is by far not done yet. The idea behind it is to let developers give you the chance to remove what you want, instead of removing it for you. I'm also currently working on another tab that will allow you to download specified files (specified in the xml) and either install them (apk's) or flash them via recovery (reboots the phone after downloading the zip). This allows rom developers to give you certain flashable options and not have to include them on the sdcard (taking up space).
preludedrew said:
You're right, titanium backup can do what you're wanting. This app is by far not done yet. The idea behind it is to let developers give you the chance to remove what you want, instead of removing it for you. I'm also currently working on another tab that will allow you to download specified files (specified in the xml) and either install them (apk's) or flash them via recovery (reboots the phone after downloading the zip). This allows rom developers to give you certain flashable options and not have to include them on the sdcard (taking up space).
Click to expand...
Click to collapse
In that way, it sounds even better. It'd be awesome for rom creators to include this for the "extras"
Sent from my PG86100 using xda premium

|TOOL| WINDOWS | Deviant Manager *2- APKs made simple Updated 2/4/13

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Deviant Manager 2​
Since Daneshm90 originally put out his APK manager, editing APKs has been much less of a headache. This tool is a modified/ updated continuation of APK Manager. This tool is not only a great asset to Developers in modifying/adding certain simple ROM features, but also to Themers and those who aspire to begin learning the wonderful world of Android.
Credits
Daneshm90-original APK Manager http://forum.xda-developers.com/showthread.php?t=695701
Brut.all- for Original Apktool
iBotPeaches for Updated Apktools http://forum.xda-developers.com/showthread.php?t=1755243
JF- Smali/Baksmali
Features
- Simple Extracion and Zipping of apk's.
- Optimization pngs (ignores .9.pngs)
- Zipalign apks
- Sign apks
- ADB Push
- Brut.all/ iBotPeaches apktool
- ADB Pull
- Batch optimize apk (Zipalign,optipng,or both)
- Quick sign an apk (Batch mode supported)
- Batch Ogg optimization
- Zip/Compile in Different Compression Levels
- Batch install apk from script (Optio
- Error detection. Checks if error occured anytime u perform a task, and reports it via LOG
- Read log
- Added framework dependent decompiling (For non propietary rom apks). 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
NEW FEATURE
-New drag and drop -if- to get those frameworks installed from your manager
Instructions
(Be sure to have JAVA and ADB installed correctly before attempting to use this tool)
-Download Deviant Manager
-Extract Zip
----For Modifying-----
-Drag Apk You Want To Modify To The "place-apk-here-for-modding"
-Run Script
-Perform Desired Extract/ Decompile Action
-Modify Apk In The "projects" Folder
-Perform Desired Zip/Compile Action
-Find Your New Modified APK In The "place-apk-here-for-modding" Folder As "unsigned__(your apk)__.apk"
Downloads
Deviant Manager 2 - http://d-h.st/6YW
Right now this tool only supports windows. (Dual boot is a wonderful thing)
This Version Is Confirmed Working For Jelly Bean As Well As Ice Cream Sandwich​
Mine
Mine as well lol.
Ubuntu, Windows, Mac ? Thanks
-DELTA
iDannyPR said:
Ubuntu, Windows, Mac ? Thanks
-DELTA
Click to expand...
Click to collapse
Windows, It's in the title.
iDannyPR said:
Ubuntu, Windows, Mac ? Thanks
-DELTA
Click to expand...
Click to collapse
I reiterated in the OP just in case
Sent from my SGH-T989 using xda app-developers app
Damn deviant development is killing it lol
nice work bro!
been reading for this. Thanks Team Deviant Dev. you are Awesome.
Thanks, I got this working to decompile systemui.apk question is should I decompile that .apk as with a dependency or dependents . and if the systemui.apk has been modded can I alter it with this program? thanks a million
Thank you; I want to learn how to theme and all that but been having a hard time getting everything setup properly. This sounds like it might be at least a little easier I'll let you know after testing. Thanks again for all ur time and hard work!!!
Edit: Just did an apk that I wanted to theme for my personal use and even though I need to get more familiar with Gimp ur program worked flawlessly. Many thanks!!!
Updated. Updated apktool/aapt (thnks ibotpeaches) and new drag and drop -if-
its useful tools .. thanks !!
keeps telling me that java is not detected. I updated it and I am running windows 8. Any troubleshooting I should try?
cinsity said:
keeps telling me that java is not detected. I updated it and I am running windows 8. Any troubleshooting I should try?
Click to expand...
Click to collapse
A common problem associated with Java not being detected is the architecture. You're running windows 8 but which version:
32bit (x86 or X86_32 or i586) or
64bit (X86_64 or AMD64).
If you're running win8 64bit and install the 32bit binary for java, it installs it in the C:\Program Files (x86); whereas the ADT and Deviant Manager look for java in C:\Program Files (hence a "Java is not installed" error).
Because 64bit systems can run 32bit binaries, this is a common mistake that many people make and even though Java32 will work in in win8-64, its not the correct version.
I can't thank ptmr3 enough for putting this out here for everyone, now lots of people can theme apk's so people like me have more people to ask to have an apk themed
great tool tool .... thx for share
Hoping to get a understanding using this.
Sent from my SGH-T889 using xda premium
Greetings, all!
We on the Council have been speaking with ptmr3 of late, and real life is pushing him very, very hard right now. As a result, we’ve suggested to him, and he has accepted, that he should probably back off of all of his work on XDA for a bit. We would MUCH rather see him take a break for a while than burn out and just walk away.
As a result, updates will be few and far between for a while, and the Council, as well as the other members of these threads, I am confident will jump in and help any and every way they can. This is the essence of the Jedi spirit.
ptmr3, and we as the Council, appreciate everyone’s patience and understanding in this matter.
With respect and thanks to all,
-GT247 by request of the Jedi Council
@kushXmaster
sent from my JEDI ELITE Note 3
for best xda results, click to enlarge ?
http://img268.imageshack.us/img268/9564/searchitnoob.gif

[TUTORIAL][How-To] Edit .jar or .apk files using VTS

----------------------------------------------------------------------------------------------------------
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
----------------------------------------------------------------------------------------------------------
PREFACE
Hello guys, first of all I want to say thanks to all the real developers (and not just rom-modder like me) that are here, helping us to get better performance and features everyday, so thanks to FXP, CosmicDan, DooMLorD, wedgess, smokerman, krisdee, Spizzy, Keiran, fareneith, Pizza_Dox, Bakisha, and many, many others.​
This guide is intended for those who want to make some mods, for example touchpads fix to their rom, and it's not too hard to understand how to do it (we will just use an IDE to achieve that, so it'll be pretty simple).
Let's start!​
Click to expand...
Click to collapse
----------------------------------------------------------------------------------------------------------
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
----------------------------------------------------------------------------------------------------------
DECOMPILING .APK AND .JAR FILES
without custom framework
Make sure you have installed NetFramework 4.5,
if not download it from here and then install ;
You can now install Virtuous Ten Studio (VTS):
download it from here and follow the passages to install it ;
Run VTS (you could easily find it under Start) ;
Now you can create a new Project:
simply click on File (on the left top) and select New Project ;
Projects can be of 4 kinds: apk, jar, m10 and boot.
Select apk if you want to edit an apk; select jar if you want to edit a jar ;
Compile the fields on the bottom (Solution and Project name) ;
Wait for VTS to create the folders...;
Now you can import the file you want to edit:
simply right-click on the project you have created (you can find it under Solution Explorer bar, on the left)
and select Import File, then find and select the file you want to edit ;
Here we go! VTS will now decompile our file, and when it finishes,
Solution Explorer bar will be updated to show you what your file contains (smali files and whatever) ;
Now you can make every modification you want to do;
When you have finished, you can recompile that file by right-clicking your project and selecting Build Project:
you can easily find your modded file, just click Binary (under Home tab on the top) and select your file project name;
Here we are! If you've got some questions, just ask here!
Click to expand...
Click to collapse
​​
Click to expand...
Click to collapse
​​
​
----------------------------------------------------------------------------------------------------------
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
----------------------------------------------------------------------------------------------------------
DECOMPILING .APK FILES
with custom framework
first of all, you must know what to do: just take a look at the guide above and follow the steps (from 1 to 7) ;
now you must take the custom resources needed from the apk you want to decompile to work (that resources file is another apk, generally located under /system/framework and its name contains always something like Res or Resources - for example SemcGenericUxpRes -) then place it wherever you want ;
once you've done that you can create your project (DON'T import now the app you want to modify, because you'll get errors related to missing resources) and set-up a custom framework: just right-click on your project and go under Properties ;
find External tools on the left and click on apktool: select Add single framework, import the custom-resources apk that you took from your rom ( see first step ) and set a Tag (the name you want to assign to that file) ;
now you must select that framework to be used instead of the default one: right-click on your project and go under properties; here you can find a selector called Framework tag: select the one you've just setted ;
that's it! Now you can import your custom-framework-based apk ( if you don't know how just take a look at the guide above - step 8 ) .
​
Click to expand...
Click to collapse
​
Click to expand...
Click to collapse
----------------------------------------------------------------------------------------------------------
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
----------------------------------------------------------------------------------------------------------​
When i have the time, i really have to give this program a chance. Tnx for tutorial
Sent from my R800i using xda app-developers app
Good job, I've used vts.for awile now.its a great program.
Dark Lords Development Team
Needed to learn Apk Decompiling, now i can!,
simpler than apk tool..and easy to use in small changes..comes handy. nice post.
i have a problem with decompiling resource files can anyone help plz???
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
and this is my log
raminta said:
and this is my log
View attachment 2048601
Click to expand...
Click to collapse
It seems apktool is missing, maybe an incorrect installation? Have you tried reinstalling?
CriGiu said:
It seems apktool is missing, maybe an incorrect installation? Have you tried reinstalling?
Click to expand...
Click to collapse
Yes but nothing has changed
Sent from my R800i using xda premium
raminta said:
Yes but nothing has changed
Sent from my R800i using xda premium
Click to expand...
Click to collapse
try using an older version of VTS, but I can't promise anything
it's clearly related to missing binary, and that's strange. does this happen just with that specific apk, or with all of them?
And keep in mind that you're decompiling an apk with a custom framework, so before you can decompile it, you must add its resources by right-clicking on your project, selecting properties, going under External tools and clicking on Apktool, selecting Add single framework (here you must place your resources apk file: it's generally located under /system/framework folder of your rom - the rom from which you're taking the apk you're modifing - it's something having for name SonyResources or something like that).
Then you must set that framework to be used instead of the "stock" one by right-clicking on your project and going under properties; here you can find a selector called Framework tag: select the one you've just placed in.
CriGiu said:
try using an older version of VTS, but I can't promise anything
it's clearly related to missing binary, and that's strange. does this happen just with that specific apk, or with all of them?
And keep in mind that you're decompiling an apk with a custom framework, so before you can decompile it, you must add its resources by right-clicking on your project, selecting properties, going under External tools and clicking on Apktool, selecting Add single framework (here you must place your resources apk file: it's generally located under /system/framework folder of your rom - the rom from which you're taking the apk you're modifing - it's something having for name SonyResources or something like that).
Then you must set that framework to be used instead of the "stock" one by right-clicking on your project and going under properties; here you can find a selector called Framework tag: select the one you've just placed in.
Click to expand...
Click to collapse
Ok thanks for replying:thumbup:
Sent from my R800i using xda premium

Categories

Resources