Morphing with Jellybean - Samsung Epic 4G Touch

Morph Utility with Jellybean Support
(Please note: The Mount Points in the installer script are for the E4GT and may not work with all phones)
- Modified to work with Preload partition
- As of v1.2 now creates Symlinks when flashing to Preload.
- Please backup your rom before using. I will not take responsibility for any data loss.
- Sets permissions for you.
Lots of documented information on how this utility works:
http://forum.xda-developers.com/showthread.php?t=1474686
Brief Guide
In a nutshell, this is a a flashable zip that has other uses.
TIP: APK files can be opened with Winrar and manipulated and treated the same way as a zip file. Just be careful not to modify the folder structure. The first time you open an APK file, it may ask you what to open it 'with'. Just choose Winrar as the default program to open that filetype and it will always use it in the future.
This is how it works. This is very simplified as there are many many applications for using this.
There are two folders within the zip that we work in, XTRAS and MORPH. Do not edit any other folders or files unless you know what they are for!
XTRAS = entire apk or JAR file
MORPH = only components of apk or JAR file but is a little more complicated to implement
MORPH use:
Example: We want to replace alarm_icon.png in SystemUI.apk file.
(This is just for example, I know this file probably doesn't really exist)
In the Morph folder we create folders to the path of the file (filename is case sensitive and must be the entire filename):
MORPH/system/app/SystemUI.apk/res/drawable-hdpi
Once the folders are created, we drop the new alarm_icon.png in there and it will 'Morph' (or insert) the file into SystemUI.apk without having remove the apk, add the file and push the entire apk back to the phone.
EXTRAS use:
Example: We want to install or replace widget.apk.
Add file to folder where it is going to go like above example but this time we are using entire apk.
XTRAS/system/app
We just drop the widget.apk file in there and then flash it.
A good example of using XTRAS is for the novice to reinstall missing files that were removed from a rom by a developer by putting the file in a flashable zip so they don't have to use a root explorer app and set permissions.
How to edit Morph.template.zip:
Editing the Morph.template.zip needs to be done without extracting the zip file. Open file with WinRar or other zip utility to manipulate the folders and add files. Think of it as browsing a file folder on your computer. You can create folders, delete files, copy files etc.
The Basics:
Flash full apk/jar files:
- Files get placed in XTRAS folder.
Example: SystemUI.apk - flashing entire apk
XTRAS/system/app/SystemUI.apk
Morph existing files without flashing entire apk:
- Files get placed in MORPH folder.
Example: SystemUI.apk - replacing a png file
MORPH/system/app/SystemUI.apk/res/drawable-hdpi/quickpanel.9.png
Note: Use full filename (SystemUI.apk) with extension, then folders as in example. Many filenames are case sensitive.
Restore Backup to Revert Changes:
- Files get placed in SD/UniversalFlasher folder.
- Useful if you need to revert changes/go back to previous state.
This may not work for all filetypes and filepaths. Developers, please make sure permissions are getting set for everything that you flash. If I missed something, please let me know.
As always - enjoy. TD
Code:
[B][SIZE="3"]Morph Template v1.2 Changes[/SIZE][/B]
Now supports Preload symlinks! If files are flashed to the preload the script will create a new matching symlink.
[B][SIZE="3"]Morph Template v1.1 Changes[/SIZE][/B]
Backup enabled as default and now supports preload partition.
- Backups and logs are stored in SD/UniversalFlasher folder.
- Known issue, timestamp is offset in filename. Not sure why default timestamp isn't true time in recovery.
Updated binaries and installer scripts for both main morph and backup/restore.
Mod Version enabled
- [COLOR="Red"]Use sparingly[/COLOR]. It is useful to add tagline after build info for things like tweak versions etc.
- See mod.config file in zip to make changes to morph options:
[CODE]###############################################################
MOD_VERSION=[COLOR="Blue"]Morphed_by_TD[/COLOR]
###############################################################
{
"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"
}
[/CODE]
Credits: JRsoft & Intronauta/Villainsoft for the original Villain Morphing utility & PhAkEer for his help with Symlink Scripts.

This is awesome and a life saver.
Sent from my SPH-L720 using xda premium

Thank you Sir!:beer:
Slithering from the nether regions of a twisted mind and tarnished soul

g_ding84 said:
This is awesome and a life saver.
Click to expand...
Click to collapse
You guys test it and let me know.
Had a typo when I was redoing the scripts. Wiped my entire internal SD. LOL
Fortunately, I backed it up recently.

tdunham said:
You guys test it and let me know.
Had a typo when I was redoing the scripts. Wiped my entire internal SD. LOL
Fortunately, I backed it up recently.
Click to expand...
Click to collapse
Man, that is like my biggest fear... I was screwing around with a script to swap out a few files after installs and boned my external once. Lol I copy both to my pc at least once a month now when i'm on a flashing binge.
Sent from my SPH-D710 using xda premium

Nice i like this!!!

Just so you guys know, there is a version of VRtheme that has preload support but doesn't have the flexibility like setting permissions for us which is very important so I decided to go another route.

Say what.....this is awesome....thanks TD....you're a beast indeed.....
Sent from my Galaxy S4 using Tapatalk 4

tdunham said:
Just so you guys know, there is a version of VRtheme that has preload support but doesn't have the flexibility like setting permissions for us which is very important so I decided to go another route.
Click to expand...
Click to collapse
I was checking out the VRtheme today, it is nice. Of course I was wondering if. This is awesome. Thank you TD

Very nice! I can't thank you enough for this.
Sent from my SPH-D710 using xda premium

Op updated with new version.
Backup/restore feature enabled as default and now working with preload.
Mod version tagline now working.

Can I edit build version with the new update?
Be master of mind rather than mastered by mind.

prguzman1978 said:
Can I edit build version with the new update?
Click to expand...
Click to collapse
You could but it only appends the build info line in build.prop file so you will still see the original Recalked v1.0 version info at the beginning.

What is this exactly
Sent from my SPH-D710 using Tapatalk 4 Beta

hazedabeast said:
What is this exactly
Sent from my SPH-D710 using Tapatalk 4 Beta
Click to expand...
Click to collapse
Allows you to push apk edits without replacing the apk, for themes and mods.
Team Rejectz

bilgerryan said:
Allows you to push apk edits without replacing the apk, for themes and mods.
Team Rejectz
Click to expand...
Click to collapse
Oooh OK thanks.
Sent from my SPH-D710 using Tapatalk 4 Beta

bilgerryan said:
Allows you to push apk edits without replacing the apk, for themes and mods.
Team Rejectz
Click to expand...
Click to collapse
Its amazing when you're building a theme and you have to flash a fix.
Like color matching.
Sent from my SPH-L720 using xda premium

I still don't get it..
What does it do to make it easier
Sent from my SPH-D710 using Tapatalk 4 Beta

hazedabeast said:
I still don't get it..
What does it do to make it easier
Sent from my SPH-D710 using Tapatalk 4 Beta
Click to expand...
Click to collapse
It makes it so you don't need to decompile anything and then recompile it
Slithering from the nether regions of a twisted mind and tarnished soul

Yes, it makes changing images (like icons) a whole lot easier
Team Rejectz

Related

[How To] Edit a MIUI V4 theme to include the soft keys of your choice.

I see alot of ppl asking how to do this so I will give an example. It is quite easy, after you do it once, and the process will work for any images you wish to include in your theme. So lets get to it!
I only have windows computer, so that is what I will describe. You will need to install 7-zip http://www.7-zip.org/.
ok step 1 is downloading the theme you wish to edit, and the softkeys you wish to insert.
Step 2 ( extracting the theme)
Find the theme on your computer and right click and select 7-zip / Extract Files....
Do the same for your soft keys if they are zipped and locate the softkey images.
Step 3 (extracting com.android.systemui)
In the theme you are editing find the file labeled com.android.systemui and repeat the extraction by right clicking and selecting 7-zip / extract files...
step 4 ( inserting new images)
select all of the soft key images that you want to use and right click / copy they will be labeled eg. ic_sysbar_back.png and so on. there will be images for portrait and landscape, copy them all
Open the com.android folder that resulted from extracting com.android.systemui and there will be two files (res and theme_values.xml). Open res and find the drawable-hdpi and drawable_xhdpi folders and paste your softkey images in both. If the theme already contains softkey images it will ask if you want to overwrite, select yes to all.
Ok we are almost done. Now to repack the theme so it applies properly.
Step 5 (repack the theme) Warning: Do not zip the main folder you are trying to modify, this will result in the theme not applying your changes. Only zip the files/folders that are on the root of the main folder, this applies to all archived files Or in pain english, all the archived files in the theme, and the theme itself are archives of the contents of the extracted file, not the extracted file itself. Once you understand this, this is very easy.
Repack the com.android.systemui folder by selecting both the res and theme_values.xml and right clicking selecting 7-zip / add to archive. name the resulting file com.android.systemui.zip
Copy this zip back to the main theme folder where all the other com.android.xxxxx files are.
Delete the old com.android.systemui and extracted com.android folder
Now you can rename your new zip com.android.systemui you will get a warning about instability, go ahead and rename it anyways.
Your extracted theme should now look the way it did when you first extracted it.
You have to select all files in the theme and right click select 7-zip / add to archive.
You can go ahead and rename your theme at this point to whatever you want. You can even give it the .mtz extension. Click OK to zip.
Step 6 ( load your edited theme)
Now you can Cut/Paste your theme on to your phone. I typically put it in the download folder and test it from there before adding to MIUI/theme.
Remember that you may need to reboot for all the theme to apply!
Enjoy your new softkeys!
{
"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"
}
Thanks....
Great help for miui users ...
Sent from my Galaxy Nexus using Tapatalk 2
hoppermi: post your mtz with nav bar please
jenicekk said:
hoppermi: post your mtz with nav bar please
Click to expand...
Click to collapse
Check pm
Sent from my Galaxy Nexus using Tapatalk 2
I tried putting in the zenith keys, but it didn't take. After reboot, the soft keys flickered a bit and disappeared, but then the original keys reappeared.
Any suggestions?
kwan said:
I tried putting in the zenith keys, but it didn't take. After reboot, the soft keys flickered a bit and disappeared, but then the original keys reappeared.
Any suggestions?
Click to expand...
Click to collapse
Give me a few to look at them. Then I will offer suggestions.
OK. It looks like those are xhdpi images. If your theme doesn't have a drawable_xhdpi folder you can create one and put them in there also. Let me know if that works.
Sent from my Nexus 7 using Tapatalk 2
I'll try it out tomorrow at work on my PC. I only have a Mac at home. Thanks
Sent from my Galaxy Nexus using xda app-developers app
Well I tried it on my Mac but still couldn't get it to work after adding the images to an xhdpi folder as suggested
Sent from my Galaxy Nexus using xda app-developers app
kwan said:
Well I tried it on my Mac but still couldn't get it to work after adding the images to an xhdpi folder as suggested
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
OK. Looking into it.
Sent from my Nexus 7 using Tapatalk 2
I went ahead and put them in both folders drawable_hdpi and drawable_xhdpi and it work for me
If you didn't try that, maybe your are zipping the file or theme incorrectly. that will prevent it from applying, even though it says it did.
when zipping the com.android.systemui file you need to select the res and theme_values.xml and right click, 7zip add to archive. or since you are on a mac, maybe there is a comparable program to 7zip.
then when zipping the theme, you select all files on the root of the extracted theme folder and right click / add to archive
OK. I'll try that on the pc
Sent from my Galaxy Nexus using xda app-developers app
Edit: I tried it again and this time I kept the files in both folders and it worked. Thanks again!!
kwan said:
OK. I'll try that on the pc
Sent from my Galaxy Nexus using xda app-developers app
Edit: I tried it again and this time I kept the files in both folders and it worked. Thanks again!!
Click to expand...
Click to collapse
Awesome. You are on your way to being able to make themes the way you want
Sent from my Nexus 7 using Tapatalk 2
hoppermi said:
Awesome. You are on your way to being able to make themes the way you want
Sent from my Nexus 7 using Tapatalk 2
Click to expand...
Click to collapse
Thank you for your tutorial
Would you happen to have a theme with a curved status bar that's compatible with MIUI 4.0?
kwan said:
Would you happen to have a theme with a curved status bar that's compatible with MIUI 4.0?
Click to expand...
Click to collapse
I do. I'll try to remember to send it to you when I get home later.
Sent from my Galaxy Nexus using Tapatalk 2
kwan said:
Would you happen to have a theme with a curved status bar that's compatible with MIUI 4.0?
Click to expand...
Click to collapse
https://dl.dropbox.com/u/22845252/The Dark Knight HD.mtz
Thanks for the tutorials!
Sent from my Galaxy Nexus using xda app-developers app
hoppermi said:
Check pm
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
Can you send it to me ?
For a while i don't have computer to make my own themes.Maybe you can posty here what theme you made...Is there any way to change the navbar weight?
6jaipur6 said:
For a while i don't have computer to make my own themes.Maybe you can posty here what theme you made...Is there any way to change the navbar weight?
Click to expand...
Click to collapse
I don't know of a way to change nav bar height using themes, I will see if |0xD34D| can maybe include a setting in the miui.us toolbox in the future.
I can't post the modified theme, because it is not my work, and I haven't asked permission to do so. I used BlackAndroidTheme as the base and just replaced the softkeys,and also some of the status bar images came from another theme I found. I will however send it to you via PM, for your use.

[HOW TO] Theme ALL keyboards without FCs! [A guide for beginners]

Theming a keyboard may be common knowledge to some of the amazing Devs here. But to a noob like me, it took some research and time to get it working without breaking the original signature (That's the trick!). I searched the forum and it doesn't look like anyone has posted a "How To" on theming a keyboard, so I thought I'd share my experience with you all.
**Some of these steps may seem elementary, but I tried to explain everything in layman's terms so even a beginner can theme a keyboard.
// Before you get started:
You must have a working environment setup. Check out QBKing77's awesome video "How to install the android-sdk" to get that going.http://forum.xda-developers.com/showthread.php?t=1614922
Make sure you also have installed:
Notepad++ (for editing xml) // (www.notepad-plus-plus.org)
7zip (for extracting apks) // (www.7-zip.org)
the image editor of your choice. I use Paint.Net(www.getpaint.net), and Gimp(www.gimp.org). Both FREE!
apktool (http://forum.xda-developers.com/showthread.php?t=1755243)
LatinImeDictionaryPack.apk (drop in the 'system\app' folder on your phone. Only for the LatinIME.apk) Grab it here: http://d-h.st/Ebb
// This method has worked with every keyboard that I have encountered so far. I will use 'LatinIME.apk' for reference, as that is the stock ICS keyboard. //
WARNING.. DO NOT POST DISTRIBUTION LINKS TO ANY MODDED 'Swype.apk'. XDA HAS A STANDING ORDER FROM NUANCE (MAKERS OF SWYPE), THAT DOES NOT ALLOW SUCH LINKS TO BE POSTED.
1) To start make sure you have a working copy of your keyboard apk; grab it out of a ROM, download it, or use a file manager with root access (like Root Explorer) to copy it to your SD card then to your computer.
**I would suggest dropping the keyboard apk into a folder on the desktop, seperate from anything else, and making a backup of the original so that you have a spare copy.
2) Using 7zip extract the 'res\drawable-xhdpi' folder into the folder you created. This folder will contain the pngs that control some of the keys, outlined in red on this pic:
{
"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"
}
Color these pngs to match using your favorite editor and save (bucket fill with Paint.Net is a breeze!)
3) Now that your pngs are themed.. Within the folder that you created containing your apk, hold down shift and right click. Select "Open Command Window Here" to fire up command prompt.
4) Next to decompile the keyboard apk with apktool (again using 'LatinIME.apk' for reference, but the apk may be of a different name; SamsungIME.apk, HTC_IME.apk, etc.).
Type this command:
Code:
apktool d LatinIME.apk
When it's done, you will see a folder with the apk name appear, within the folder you created. Click into it and you should see at minimun a 'res' folder and a 'smali' folder.
5) Navigate to 'res\values' folder. Depending on the keyboard you are working on, the xml controlling the remaining key colors will be contained in the 'colors.xml' or 'styles.xml' file. Open with Notepad++, and change the color codes as needed. Save and close.
6) Go back to the root of the folder containing your apk, and fire up command prompt (if it's not still open). Now it's time to build using this command (again using 'LatinIME.apk' for reference, but the apk may be of a different name; SamsungIME.apk, HTC_IME.apk, etc.)
Code:
apktool b LatinIME
7) When it's done building, you should have 4 folders minimum now (res, smali, build, dist) and it's time for the key to success. Navigate into the 'dist' folder and you will see the "Built" apk. Open it with 7zip, and extract the 'resources.arsc' file to your folder. Close 7zip.
8) Now it's time to pull it all together. Navigate back to the ORIGINAL keyboard apk, and open with 7zip.
Copy (you can drag and drop with 7zip) the 'resources.arsc' that you extracted from your "Built" apk, into the "ORIGINAL" apk overwriting the file. Then with 7zip still open and the apk loaded, navigate (within 7zip) into the 'res\drawable-xhdpi' folder where you should see the list of unthemed pngs. Simply drop your edited pngs into this folder. Close 7zip and you're done here!
9) Finally, take your "ORIGINAL" but themed apk, and push it back the 'system\app' folder on your phone.
Fix permissions to 'rw-r--r--' (only check everything under 'read' and Owner under 'write')
Reboot, and bask in the glory of your new themed keyboard!
**Alternatively, grab my empty zip installer here: http://d-h.st/oKG to flash in recovery. You must drop your themed apk into the system\app folder of the zip and save. Also, the zip already contains the 'LatinImeDictionaryPack.apk'
Please hit THANKS if I helped!! And please keep this thread alive!
Nice,
Now, we need a simple guide on how to theme Jelly Bean...all of it ... (tapping foot patiently)
Thanks!
Naddict said:
Nice,
Now, we need a simple guide on how to theme Jelly Bean...all of it ... (tapping foot patiently)
Thanks!
Click to expand...
Click to collapse
Themed the same just new xml and some new images. I got everything to decompile and recompile, just some of the xml's have changed.
---------- Post added at 09:41 PM ---------- Previous post was at 09:39 PM ----------
Thanks rompnit. I can there a whole Rom but always have issues with the keyboard. I'll try this tomorrow night.
Sorry i'm a nub but does the apktool jar file have to be in the same folder as android-sdk?
shehroze3 said:
Sorry i'm a nub but does the apktool jar file have to be in the same folder as android-sdk?
Click to expand...
Click to collapse
I actually created a folder 'C:\apktool' where I dropped everything, then added that folder to the Path system variable; same method as you would add the SDK. Otherwise, drop it into the 'platform-tools' folder within the android-sdk. When configured properly, you should be able to open command prompt in any directory, simply type 'apktool' and see a list of commands.
rompnit said:
I actually created a folder 'C:\apktool' where I dropped everything, then added that folder to the Path system variable; same method as you would add the SDK. Otherwise, drop it into the 'platform-tools' folder within the android-sdk. When configured properly, you should be able to open command prompt in any directory, simply type 'apktool' and see a list of commands.
Click to expand...
Click to collapse
ok i did what u said and put the apktool jar file into the platform-tool folder, but when i type apktool in cmd prompt nothing happens.
shehroze3 said:
ok i did what u said and put the apktool jar file into the platform-tool folder, but when i type apktool in cmd prompt nothing happens.
Click to expand...
Click to collapse
Did you also grab the "wrapper" script from the link as well? It contains a few more necessary files that go with apktool.
Sent from my SPH-L710 using xda app-developers app
time for dazed and rompnit to collaborate. maybe a simple guide for us wannabees...
recompiling never works for me, I read somewhere about empty folders being my problem...oh well, I can use 7zip though! and notepad+...
rompnit said:
Did you also grab the "wrapper" script from the link as well? It contains a few more necessary files that go with apktool.
Sent from my SPH-L710 using xda app-developers app
Click to expand...
Click to collapse
I'll check it out when I get home. Thanks
Sent from my SPH-L710 using xda premium
ok i got it to work. All i had to do was rename apktool_1.5.0 to apktool. I'm a noob, i know, try not to laugh to hard lmao
shehroze3 said:
ok i got it to work. All i had to do was rename apktool_1.5.0 to apktool. I'm a noob, i know, try not to laugh to hard lmao
Click to expand...
Click to collapse
Glad you got it to work!! And everyone has to start somewhere! Let me know how it turns out for ya!!
Sent from my SPH-L710 using xda app-developers app
Does this method work for both Odex and De-Odex ROMs??? I am currently on an Odex rom. Thanks!!
taihard said:
Does this method work for both Odex and De-Odex ROMs??? I am currently on an Odex rom. Thanks!!
Click to expand...
Click to collapse
This method will not work on .odex keyboard apk's, at least to my knowledge but I've always run deodexed ROMS. However, check to see if the keyboard apk you are working with even contains an odex file; a lot of them do not. If it does, you could always grab the apk off the web, mod it, and install it after removing the original files.
Thank you for the walk through, this is awesome
Hey Rompnit. Ok, I was having trouble getting apktool to run on my computer. That's what I was talking about on morphology anyway, so I was trying to learn how to theme an app and somehow was lead to morphology and got all caught up over there. Lol. But ya, I'm gonna have to crap clean my laptop to use this. Thanks. See ya over there
Sent from my Insanely Morphed S3 LI3 ktoonsez747 (196-2106) TW FreeGs3 2.0.0
rompnit said:
This method will not work on .odex keyboard apk's, at least to my knowledge but I've always run deodexed ROMS. However, check to see if the keyboard apk you are working with even contains an odex file; a lot of them do not. If it does, you could always grab the apk off the web, mod it, and install it after removing the original files.
Click to expand...
Click to collapse
This method WILL in fact work on odexed keyboards. Theming for an odex base is no different then a de-odexed base. You are not making any smali adjustments here so nothing that concerns the odex, thus it will not be affected.
Sent from my SPH-L710 using xda app-developers app
Guess no one was interested in theming an odexed keyboard after all huh? ....
Sent from my SPH-L710 using xda app-developers app
gruesomewolf said:
Guess no one was interested in theming an odexed keyboard after all huh? ....
Sent from my SPH-L710 using xda app-developers app
Click to expand...
Click to collapse
Guess not.. This thread's been quiet for a while... I guess people just don't want to theme keyboards in general!
Hey do you know if this process will work with keyboards from the market like SwiftKey 3? The themeson there are so boring need new colors lol
rompnit said:
Guess not.. This thread's been quiet for a while... I guess people just don't want to theme keyboards in general!
Click to expand...
Click to collapse
Guess that's what we get for trying to help. ... lol

[PC-APP] GalaxyS3 Mod Tool

I made this tool originally for SonyEricsson Xperia X10, but have now modified it to work for our Samsung Galaxy S3. I hope it will make life a little easier when modifying files on the device. It uses ADB to pull and push files, change file permissions and much more - so users don't need to remember long command prompt/terminal emulator commands! It also has a nifty little application manager, which allows for quick installation, backup, and removal of both pre and self -installed software. It has a LogCat function to read and save logs on the go when investigating errors, as well as functionality to decompile/recompile APK, JAR and ODEX files, sign and zipalign APKs, and decompile System images. ADB Shell will be released in v0.6.2.
{
"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"
}
Instructions:
1. Extract archive.
2. Install LinuxReader to GalaxyS3ModTool\tools\LinuxReader.*
3. Run GalaxyS3ModTool.jar
*This step is only needed for the Decompile System function in the ROM Manager.
Note: Make sure your phone is connected in debug mode, you have root privileges, and unsecured your device's shell. The application will try to unsecure your shell if you haven't already, but worst case scenario you might have to do this manually.
Also, the manage ROMs functionality is still experimental, and the Recompile System function is disabled. If you know how these processes can be automated, let me know and I will incorporate the functionality.
If you have problems, let me know and I will try to sort them out with you. Keep in mind that often when a modification goes wrong, you can simply push back the original files and reboot. So keep backups handy!
Reserved in case of future expansions.
Reserved in case of future expansions.
Thank you!
I'll finally be able to modify the ODEX files :victory:
Is it possible to recompile an ODEX file to .odex (not .jar)?
Great tool
Thanks!!!
Great tool. Looks very promising
Sent from my GT-I9300 using Tapatalk 2
Saleen NS said:
Thank you!
I'll finally be able to modify the ODEX files :victory:
Is it possible to recompile an ODEX file to .odex (not .jar)?
Click to expand...
Click to collapse
Yes modifying ODEX:ed filesystems has become a breeze Just remember to remove the original *.ODEX file from your system if you incorporate it into its associated APK or JAR.
As ODEX is a device-specific format, compiled to be most effective on specific hardware, recompiling with baksmali to *.DEX and renaming to *.ODEX is not enough. I don't know of any way to recompile to proper *.ODEX, but I mean it has to be possible, and if anyone knows how - please drop a line here or PM me. However the rule of thumb is to not decompile and incorporate the *.ODEX unless smali-code is being edited. This will allow you to keep the efficiency of the original *.ODEX file, and just replace the APK or JAR - i.e. having no negative effect on performance.
EDIT: Realized there is a way to recompile to *.ODEX on the device via the dexopt binary. Working on implementing the functionality.
Thanks for your work!
Warren87 said:
Thanks for your work!
Click to expand...
Click to collapse
shahed26 said:
Great tool. Looks very promising
Sent from my GT-I9300 using Tapatalk 2
Click to expand...
Click to collapse
SETdown said:
Great tool
Thanks!!!
Click to expand...
Click to collapse
Great to hear you guys like it!
I've got version 0.6.1 in testing now, with proper ODEX recompilation functionality incorporated. Will upload it soon.
Unable to run d App!
I downloaded d files & followed above instructions...but clicking on GalaxyS3ModTool.jar opens the archive! What am i doing wrong?
Very promising tool! I will test in weekend and give a feedback!:good:
Mr.Mefisto said:
Very promising tool! I will test in weekend and give a feedback!:good:
Click to expand...
Click to collapse
Good stuff! Looking forward to that.
harryS2 said:
I downloaded d files & followed above instructions...but clicking on GalaxyS3ModTool.jar opens the archive! What am i doing wrong?
Click to expand...
Click to collapse
Do you have Java installed?
harryS2 said:
I downloaded d files & followed above instructions...but clicking on GalaxyS3ModTool.jar opens the archive! What am i doing wrong?
Click to expand...
Click to collapse
Java must be installed on your PC and .jar files associated with java.
Sent from my GT-I9300 using xda premium
Thnx this is what i need.
Works great.
Version 0.6.1 is now uploaded in first post!
Updates:
I have implemented proper ODEX recompilation functionality. However, it requires the device to be connected as the operation has to be performed from within the system and then pulled back out. The tool will let you know when to connect your phone. For the process to be possible, a wrapper for the binary dexopt needs to be pushed to /system/bin - so this is also done programatically.
Some user prompts have been added to make human mistakes less likely. For example if you say you want to decompile an associated ODEX file, you must also specify the framework directory - or nothing will happen.
A fancy automagic script has been added for JAR-decompilation. It turns out since the dex-optimizing of ROMs, some JAR-files don't include a classes.dex file anymore, which makes baksmali.jar cough up errors. But recompiling the ODEX file as classes.dex and inserting it into the JAR makes it decompile properly - so this is what the script has automated when it recognizes the situation.
I have actually rewritten most of the decompilation/recompilation code to execute more efficiently. When time flies and inspiration runs amok, this sadly results in djungle-code. So I had to clear everything up into reusable functions so that nothing is repeated or unnecessary slow.
Happy modding folks!
ADB Shell has been implemented in the coming version. Screenshots updated in first post.
Wow, what a quite bunch
Version 0.6.2 is uploaded in first post.
Changelog:
ADB Shell functionality implemented
Some bug fixes
Fantastic work!
If anyone notices this tool working on another device - please post the device name here with any related problems. I'm looking into extending the device support for this tool.
This tool is very convenient .. I used it for the nexus 7 with firmware 4.1.2
too bad that does not work with 4.2, we look forward to updates
still great

RUJELUS22's AIO script (Updated 2-16-13)

The Goods​
About My Script:
I have been using and working on this script for sometime now, I started back when ICS first came out and we where no longer able to decompile apks in 1 step. All of the mods and things that I have posted on xda in the last year, have been made with this script. This script allows for editing those apks with a few buttons clicks. It can edit apks from any version of android. It has been posted on the Team Venum Forum and has been working for many of the Team Venum members.
With this script you will be able to:
Compile/decompile (Odexed and Deodexed) apks and jars
Make CWM zips of your projects
Flash and Push things to the phone
Make and install signed apk projects
Search decompiled apks
and much much more...
Sections:
Header bar: This displays the script info and current project.
AIO Tool: These are all options that you can use to mod. They will all be highlighted if they are available, otherwise they will be grayed out and have a short description why it’s not available.
Mid Section: 11 and 100 will always available. 11 allows you to choose your project from the “place-here-for-modding” folder. 100 will refresh the menu (usually for connecting/dis your phone).
Odex Section: These options will only be enabled if a phone is plugged in. The phone you are working with is needed for odexing and deodexing.
- 20 Deodex the entire ROM on your phone
- 21 Deodex just one apk or jar file
- 22 Odex the entire ROM on your phone
- 23 Odex a single file
Special Items section: These are portable apps and options.
- 91 Open Color edit. Allows you to visually view and change the color.xml file
- 92 Compile all .9 images inside the dot9 folder
- 93 MD5 Checker – Seldom used, handy to double-check MD5 to verify good file downloads.
- 94 Phone/Emulator – menu for phone and emulator choices.
- 95 Search tools – app to search inside smali or res files (ie textColor="#ffc0c0c0"). (Must have C++ runtime or PRGrep installed)
- 96 Open Notepad++ – best Windows/Android editor that has smali and log syntax highlighting tweek.
- 97 Color Wheel – color wheel with cool color drag and drop from anything feature.
- 98 Color Change – for smali only. Converts from hex to smali.
- 99 Options & Misc – set Header Bar options, clean folders and check logs, Sounds, and color theme for the Script.
- ** Exit the App – usually a better option for closing the Script because it closes the ADB running in the background.
I tried to designed this to make editing apks and doing things with your phone as easy as possible.
{
"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"
}
So here you go. If you have any questions or would like to see something added just let me know.
To Install: (For Windows Only)
1. Extract the zip file to a folder on your computer that does not have spaces in the name Ex. C:\apk\
2. Run the Start_AIO script (When this is opened it will check for updates and make sure adb and java are installed. Will also make all of the needed folders in the AIO dir)
3. Place an apk or jar in the place-here-for-moddding folder and have fun.
To Update: (For Windows Only)
1. Extract the new zip into you previous AIO folder.
2. Let it overwrite the current version files
3. Have Fun.
Requirements:
1. Java JDK must be installed
2. Android SDK must be installed and up to date
Downloads:
Downloads on TeamVenum.com
ChangeLog:
Version 2.0.0.3
-Added New chgcolor that is smaller
-Added New hex to smali script from Allockse and removed xUltimates colorchange.exe
Version 2.0.0.2
-Added Updated apktool 1.5.2
Version 2.0.0.1
-Added Updated apktool 1.5.1
-Updated aapt
-Updated notepad++
-Fixed a few bugs in the script
Setting up your PC for success!
1. Download and install the Java JDK from here
http://www.oracle.com/technetwork/java/javase/downloads/index.html
2. Download and install the Android SDK
http://developer.android.com/sdk/index.html
3. After the SDK is installed open it and check and install these boxes
Android SDK Tools
Android SDK Platform-tools
Check the whole folder for any version you want to work on (You can check multiple, I have from 4.1 to 2.3.3)
When installing if any ask for a password just click cancel on those
4. Set your windows environment path
Follow this guide until step 3 - http://www.itechtalk.com/thread3595.html
In the image in step 4 find the Path Variable in the bottom section (Double Click to edit it)
Add your android sdk platform-tools folder (Usually C:\Program Files (x86)\Android\android-sdk\platform-tools or C:\Program Files\Android\android-sdk\platform-tools
So at the end of what is already there in Path put this ;C:\Program Files (x86)\Android\android-sdk\platform-tools (Make sure to add the ; before the whole string)
Click ok and save all of that
5. Open my script and setup your framework files
Choose option 99, hit enter
Choose option 4, hit enter
Choose your phone, or choose the last option to put the files in manually.
Choose option 11, select your apk and have fun modding.
6. At this point you should be all setup and should be able to decompile and compile apks and jars successfully.
Please let me know if I forgot something, it has been a minute since I set it up.
Nice work :good:
Sent from my SPH-D710 using Tapatalk 2
You are a beast, thanks for the awesome script!
DarkJelly Gnex on JellyBro sent this from the app.
Thanks! Awesome work!
This will be in Android Development for all phones very soon. This is real development. Congrats and thanks to my friend Rujelus. If a noob like me is starting to understand it, this is going to make themers lives so much easier.
Sent from my Galaxy Nexus using Xparent SkyBlue Tapatalk 2
This is an awesome time-saving tool. Thanks for sharing.
Sent from my SPH-D710
thank you for this. tyvm.
So please forgive the noobish question, but I've been doing some reading in preparation of trying to learn how to theme.
Could I literally create a theme for a TW Rom using this tool? I say SystemUI mentioned but not Framework, so I wasn't sure if I could create an entire theme using this tool or not.
You sir are the man! Thank you for such a great tool. :thumbup::beer:
Sent from my SPH-D710 using xda premium
Thanks for all your work to make it easier for us. Great Tools. :victory:
Working on a new version the last few days that will have the ability to, work with odexed ROMs. It will be able to make a flashable zip to deodex and odex the ROM. It will also be able to pull a file deodex it, then you can mod it. Then it will compile it, reodex it and push it back to the phone.
Still got a bit of work to do on it, but I wanted to see if there was interest in this, or if there was something else in regards to odexing that you would like to see added.
mjs2011 said:
So please forgive the noobish question, but I've been doing some reading in preparation of trying to learn how to theme.
Could I literally create a theme for a TW Rom using this tool? I say SystemUI mentioned but not Framework, so I wasn't sure if I could create an entire theme using this tool or not.
Click to expand...
Click to collapse
Yes you can mod any apk or jar with this. The only other thing you would need is some sort of image editor. Like photoshop or paint.net
rujelus22 said:
Working on a new version the last few days that will have the ability to, work with odexed ROMs. It will be able to make a flashable zip to deodex and odex the ROM. It will also be able to pull a file deodex it, then you can mod it. Then it will compile it, reodex it and push it back to the phone.
Still got a bit of work to do on it, but I wanted to see if there was interest in this, or if there was something else in regards to odexing that you would like to see added.
Click to expand...
Click to collapse
Great concept. Are you sticking strictly with the apk's or will this script be able to deal the jar files as well for odex/deodexing?
tdunham said:
Great concept. Are you sticking strictly with the apk's or will this script be able to deal the jar files as well for odex/deodexing?
Click to expand...
Click to collapse
It does apks and jars
Sent from my SPH-D710 using Tapatalk 2
rujelus22 said:
Yes you can mod any apk or jar with this. The only other thing you would need is some sort of image editor. Like photoshop or paint.net
Click to expand...
Click to collapse
Thanks, I'm going to use this as my starting point for making themes!
So the new AIO is almost ready. I have some people testing it out. What is everyone's thoughts about a free and a pro version for $1. The pro version would allow for batch odexing and deodexing of a rom in minutes with one click. The free version would still allow for editing and modding odexed files the same way we do deodexed now.
With this it will make it so there is no reason to have a deodexed ROM.
New things that have been added are
-odexing full ROMs
-deodexing full ROMs
-odexing and deodexing single files
-editing of odexed apks and jars with no extra steps
-making/restoring/deleting/and fixing md5 mismatch for nands
-Tons of optimized code
-Redone most menus for easier viewing
-More I am sure I am forgetting
Let mess know what you think. I would definitely like some opinions.
Sent from my SPH-D710 using Tapatalk 2
You do so much for us that I think giving back is always good. I am up for it.
Sent from my SPH-D710 using Tapatalk 2
A dollar for the project version..?
I say go for it..a dollar is not much and some devs would charge way more for those types of options
-TeaM VeNuM Like A Boss
-Galaxy Note II Edition

Removing Battery Icon MB4

1) T-Mobile (and probably others) Note 2 has to be rooted.
2) Copy your SystemUI.apk file (from system/app) to your PC.
3) Open it with WinRAR or other archiving program
4) Go to the res\drawable folder
5) Delete stat_sys_battery.xml (or rename it to .xmbak)
-- you can delete the charging one too but I like to see my stuff charging...
6) Repack the .apk using WinRAR
7) *** SAVE YOUR ORIGINAL SYSTEMUI.APK!!! ***
8) do this by renaming your existing SystemUI.apk to SystemUI.bak
9) Copy the new SystemUI.apk to your system/app folder.
10) Reboot and enjoy. Worked for me, should work for you.
DISCLAIMER - I am not responsible if you screw anything up, which is why you should ALWAYS back up your phone and the SystemUI.apk before screwing with it.
Picture attached of result.
{
"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"
}
svavrek said:
1) T-Mobile (and probably others) Note 2 has to be rooted.
2) Copy your SystemUI.apk file (from system/app) to your PC.
3) Open it with WinRAR or other archiving program
4) Go to the res\drawable folder
5) Delete stat_sys_battery.xml (or rename it to .xmbak)
-- you can delete the charging one too but I like to see my stuff charging...
6) Repack the .apk using WinRAR
7) *** SAVE YOUR ORIGINAL SYSTEMUI.APK!!! ***
8) do this by renaming your existing SystemUI.apk to SystemUI.bak
9) Copy the new SystemUI.apk to your system/app folder.
10) Reboot and enjoy. Worked for me, should work for you.
DISCLAIMER - I am not responsible if you screw anything up, which is why you should ALWAYS back up your phone and the SystemUI.apk before screwing with it.
Click to expand...
Click to collapse
Note: com.android.systemui has stopped working because I'm an idiot and didnt name the file correctly... learn from my mistake LOL!
There any way u can post ur .apk I am not home and will like to try this ty
Yup. Here it is.
NOTE: I am running a T-Mobile Galaxy Note II with Frosty JB v7.5 (see my signature) - I am newer to all this stuff so use this at your own risk, again backup prior to changing anything!! I actually copied the apk that came with the ROM and made 2 backups of it and then put my new file in place, renamed it to SystemUI.apk, and over-wrote the existing one. worked like a charm.
just a quick question, If I edit stat_sys_battery to where I add maxLevels for all 100 %s and add drawables for them, would this make the 1%Mod??
eurohomie said:
just a quick question, If I edit stat_sys_battery to where I add maxLevels for all 100 %s and add drawables for them, would this make the 1%Mod??
Click to expand...
Click to collapse
I have no Idea... like I said, I am new to this stuff and NOT a developer - so edit at your own risk.
It works prefect ty
You're welcome Now I need to find out how to make this a "Mod" and flashable from recovery... I have to learn more of this stuff, I love it!
svavrek said:
1) T-Mobile (and probably others) Note 2 has to be rooted.
2) Copy your SystemUI.apk file (from system/app) to your PC.
3) Open it with WinRAR or other archiving program
4) Go to the res\drawable folder
5) Delete stat_sys_battery.xml (or rename it to .xmbak)
-- you can delete the charging one too but I like to see my stuff charging...
6) Repack the .apk using WinRAR
7) *** SAVE YOUR ORIGINAL SYSTEMUI.APK!!! ***
8) do this by renaming your existing SystemUI.apk to SystemUI.bak
9) Copy the new SystemUI.apk to your system/app folder.
10) Reboot and enjoy. Worked for me, should work for you.
DISCLAIMER - I am not responsible if you screw anything up, which is why you should ALWAYS back up your phone and the SystemUI.apk before screwing with it.
Picture attached of result.
Click to expand...
Click to collapse
thanks for this, tried your apk but center clock is blue. i decided to mod the systemui and all works. thanks
Two things.
1) I couldnt find the old post, but Foreverloco was the one a while ago that said to do it this way, so a big thanks to him also. I could not remember so I was messing with it today and remembered how to do it.
2) Also, the center clock is blue - not sure how to change that pulled it from another mod, I didnt make it centered that was from the post in themes for the deodexed addons.
svavrek said:
Two things.
1) I couldnt find the old post, but Foreverloco was the one a while ago that said to do it this way, so a big thanks to him also. I could not remember so I was messing with it today and remembered how to do it.
2) Also, the center clock is blue - not sure how to change that pulled it from another mod, I didnt make it centered that was from the post in themes for the deodexed addons.
Click to expand...
Click to collapse
here's what i did to my systemui.apk, of course big thanks to you.
View attachment 1838860
can you tell me how to move battery around, and clock
Sent from my SGH-T889 using Tapatalk 2
amorek13 said:
can you tell me how to move battery around, and clock
Sent from my SGH-T889 using Tapatalk 2
Click to expand...
Click to collapse
I'm doing some research now, actually, on that. I love the center clock but that was something I flashed. I want to learn how to make an entirely custom status bar up top, so that's going to be my new project (and first) I think.
let me know please would like to move the clock, i have n2 tmo, tried the apk but made my whole status bar disapear, so i went in manually and did it works fine, thank you
There's one HELL of a good guide here on all this stuff...
http://forum.xda-developers.com/showthread.php?t=1989533
and also
http://forum.xda-developers.com/showthread.php?t=1237528
I think changing the clock to center requires mod in frameworks or mod in systemUI, that means need to use apktool. Tried this once with my gnex, trial and error
Sent from my SGH-T889 using xda premium
I've been playing with it. I have decompiled and recompiled the SystemUI.apk a few times last night and this morning before work and changed around a little bit of things like font sizes and colors... just need to find out where to change the size and color of the battery percentage text and then do some nicer icons and my status bar preferences will be all good
I'd also like to modify the weatherbug apk file needed to make the temperature text in the status bar match the rest of it, because its darker than the other blue I have picked out... so we'll see this weekend how it goes.
And they just replied on the post for APKTool... http://forum.xda-developers.com/showthread.php?p=39660963#post39660963
eurohomie said:
just a quick question, If I edit stat_sys_battery to where I add maxLevels for all 100 %s and add drawables for them, would this make the 1%Mod??
Click to expand...
Click to collapse
Yes, you must add all the 100 % to the XML and also put all PNG to drawable-xhdpi, you should change also stat_sys_battery_charge.xml like stat_sys_battery.xml to make the 1% mod also available when your phone is charging.
Gave it a try worked great thanks
Sent from my Rooted Speak & Spell using xda app-developers app
Works perfect! thanks a lot!

Categories

Resources