[ODEX][SCRIPT/TOOL][SHARE] Odexer Tool 1.1.1 (8/12/13) - Galaxy Y GT-S5360 Themes and Apps

Note: I'm just sharing the work of the XDA Member MatrixDJ96.
MatrixDJ96 said:
Would you like to speed up your rom, more stability, more battery life, no lag to open system app and better ram utilization? Now you can! (Only For Rooted Phone And Deodexed Rom)
This is possible with my Odexer Tool created myself.
I worked a lot of time to create this script.
What is ODEX and DEODEX?
In Android file system, applications come in packages with the extension .apk. These application packages, or APKs contain certain .odex files whose supposed function is to save space. These odex files are actually collections of parts of an application that are optimized before booting. Doing so speeds up the boot process, as it preloads part of an application. On the other hand, it also makes hacking those applicationsdifficult because a part of the coding has already been extracted to another location before execution.
THEN COMES DEODEX
Deodexing is basically repackaging of these APKs in a certain way, such that they are reassembled into classes.dex files. By doing that, all pieces of an application package are put together back in one place, thus eliminating theworry of a modified APK conflicting with some separate odexed parts.
In summary, Deodexed ROMs (or APKs) have all their application packages put back together in one place, allowing for easy modification such as theming. Since no pieces of code are coming from any external location, custom ROMs or APKs are always deodexed to ensure integrity.
Another explanation is this:
If you odex the rom, you'll have also more space in data (this is important because if you don't have partition ext4 in sdcard, you won't have too free space), increase battery life, more stability and increase perfomance( the Rom is more faster to load system and app) but you can't modifie apk after odex (you can't mod program with classes.dex).
Infact ODEX is an OPTIMIZED-DEX and Android load system and app faster than deodexed (DEOPTIMIZED-DEX) app and system.
When you have a deodex file (a lot of roms are deodexed) you have File.apk in system/app and in data/dalvik-cache/[email protected]@[email protected], but with odex file you have File.apk in system/app and File.odex in system/app
With these explanation you can understand that:
Odexed Rom = +fast -difficult_customization +more_battery_life +better_stability +less_ram_utilization
Deodexed Rom = -slow +customization -less_battery_life -less_stability -worse_ram_manager
If you run my script with remove classes.dex and zipalign disabled your rom will be odexed without "-difficult_customization"
My script does (it depends by option):
- odex framework
- odex app in system/app
- odex app in system/priv-app (if you have android kitkat)
- remove classes.dex and zipalign from jar/apk (if you enable this option)
All commands of my script:
+ frame [odex all framework]
+ sysapp [odex all system apps]
+ all [odex framework and system apps]
+ set [change settings of the script];
> 1 [enable/disable remove classes.dex and zipalign]
> 2 [back]
+ exit [exit from the script]
WORKING IN ALL ROM (Froyo, GingerBread, IceCreamSandwich, JellBean And KitKat)
AOSP - AOKP - CM - MIUI - PA - PAC - BASE STOCK - ALL!
Credits:
- @MatrixDJ96 (Me)
- MrTony68 (Beta Tester)
- @Thyrus (Beta Tester)
- @angel.sea (For Support)
To Devs
If you want to use this script to odex your ROM, please give me credit in your ROM thread.
Thanks for the cooperation
For More Info Contact Me By Email: [email protected]
ENJOY WITH MORE STABILITY, SPEED AND BATTERY LIFE!!!
Please, give me a thanks if you like my script
By MatrixDJ96
Click to expand...
Click to collapse
MatrixDJ96 said:
IMPORTANT TO ODEX YOUR ROM:
To Odex Framework (Command 'dexo -fr') You Must Have At Least 16% Of Free Space In System.
To Odex System Apps (Command 'dexo -sys') You Must Have At Least 26% Of Free Space In System.
How to odex:
- download file
- go to recovery
- install zip
- reboot
- open terminal emulator (will be installed automaticaly)
- setting terminal type "Linux"
- type su to obtain root permission
- type odex and enjoy!
IF YOU HAVE ENABLED "REMOVE CLASSES.DEX & ZIPALIGN", A FLASHABLE ZIP BY RECOVERY WILL BE CREATED WITH OPTIMIZED SYSTEM SO REBUILD IN RECOVERY AND FLASH THIS FILE (You find it in sdcard and it's called "Optimized-System_NAMEOFYOURDEVICE.zip")
I hope that all are clear
+++++++++++++++++++++++++++++++++
Download link:
Odexer Tool
+++++++++++++++++++++++++++++++++
Click to expand...
Click to collapse

Nice thread bro:thumbdown::thumbdown::thumbdown::thumbdown::thumbup::thumbup::thumbup:

This is awesome tool.
But, i cant install ver beta 5.5 via cwm. Error: install abort...:banghead:
Send from USS Enterprise CVN-65 using Tomahawk

tuan.cse06 said:
This is awesome tool.
But, i cant install ver beta 5.5 via cwm. Error: install abort...:banghead:
Send from USS Enterprise CVN-65 using Tomahawk
Click to expand...
Click to collapse
Change the updater-script with any of the other CWM flashable zip.

aniket.lamba said:
Note: I'm just sharing the work of the XDA Member MatrixDJ96.
Click to expand...
Click to collapse
UPDATE

MatrixDJ96 said:
UPDATE
Click to expand...
Click to collapse
Will update it in evening

MatrixDJ96 said:
UPDATE
Click to expand...
Click to collapse
Does not work
Sent from my Galaxy Nexus

nice one bro

Related

APK Manager v4.9 (Easy way to edit APKs)

Hey guys...heres the APK manager v4.9 by daneshm90.....its an easy way to edit apks......​
So i have written a simple script to ease the process of editing apks. Got a lot of downloads so thought its in demand
Whether you're doing basic image editing or editing the smali or xml files, on average u have to use (Brut.all or JF's smali/baksmali) awesome tool to extract the apk, edit it, then sign the apk and then adb push/install it. This process is quite tiresome if you are testing a method that needs fine tweaking.
This script should make the process a LOT smoother.
Theres an option of compiling/signing/installing all in one step
Thanks:
Goes to Brut.all for his awesome tool.
Goes to JF for ofcourse, smali/baksmali
Goes to farmatito for porting this script to linux
Features:
- Extract, Zip apk's.
- Optimize pngs (ignores .9.pngs)
- Zipalign apks
- Sign apks
- Push to specific location on phone
- Incorporates brut.all's apktool
- Pull apk from phone into modding environment.
- Batch optimize apk (Zipalign,optipng,or both)
- Quick sign an apk (Batch mode supported)
- Batch Ogg optimization
- Compression level selector (monitor status above menu)
- Batch install apk from script (option 16)
- Logging on/off has been removed. Instead a log.txt is created which logs the activities of the script organized using time/date headers
- User can change the max java heap size (only use if certain large apks get stuck when decompiling/compiling apks) (Option 19)
- Improved syntax of questions/answers
- Error detection. Checks if error occured anytime u perform a task, and reports it
- Read log (Option 20)
- U can now set this script as ur default application for apks. When u do, if u double click any apk it will install it for u.
- Supports batch installation, so if u drag multiple apks into the script (not while its running) it will install them all for u. U can ofcourse drag a single apk as well
- Added framework dependent decompiling (For non propietary rom apks). (Option 10). Checks whether the dependee apk u selected is correct.
- Allows multiple projects to be modified, switch to and from.
- Allows to modify system apk's using apktool but ensures maximum compatibility in terms of signature / manifest.xml
- Stuff i forgot i guess
Instructions (Windows):
- Place apk in appropriate folder (Any filename will work, if running for first time folders will not be there, you must run and then the folders will be created)
- Run script
- Minimize the script
- Edit files inside the project folder
- Maximize the script
Instructions (Linux):
- Place apk in appropriate folder (Any filename will work, if running for first time folders will not be there, you must run and then the folders will be created)
- Open terminal and change-directory to apkmanager (Easiest way is to type "cd ")
- Chmod 755 Script.sh
- Chmod 755 all files apps inside other folder (thanks for the tip bkmo )
- Run script by typing ./Script.sh
- Minimize the script
- Edit files inside the out folder
- Maximize the script
Requirements:
Java
Adb
Future Improvements:
- Manage multiple simultaneous apk edits (choose which apk to extract/build)
- Option to optimize the apks
- Option to adb push to user defined location
- Other stuff i dont know yet.
Windows (v4.9): Download Here
Linux (v4.3): Download Here
Here's the video!!
Got problems ?
1. Make sure your path has no spaces
2. Your filename has no wierd characters
3. Java/adb are in your path
4. It's not a proprietary rom's apk (aka Sense,Motorola,Samsung) (If u are, then use option 11 and drag the required framework, eg com.htc.resources, twframework-res...etc)
5. It's not a themed apk (if it is, expect .9 png errors, use as close to stock as possible)
6. Look at the log to know whats happening
7. If all else fails, post as much info as possible and we will try to assist you.
If U like my post, press the Thumbs Up button, i.e, Thank Me!
Bad download link. Please fix?
Please download to mediafire or multiupload
thanks
actually its not death214 link or project..and all thread he started was project by others and he just copy and paste..i remember u've been scolded by owain becoz of this,right death?=)
please upload files to other site.i cant download from rapidshare.
change link
Please click here:
http://lmgtfy.com/?q=apk+manager+xda
Nice. Rapidshare link working flawless.

[Q]How to remove&add apps before build from CM source

1.How to remove and add apps before build from CM source,and when it's done,the zip files have everything just what i want.
2.How to add Google apps before build form CM source,so i can have a zip include all google apps.
And ofcause not rebuild the zip.
I add and remove apk on system/app before package the rom.
ripclawrings said:
I add and remove apk on system/app before package the rom.
Click to expand...
Click to collapse
Do you mean dsixda's kichen?
There is no folder system/app in the CM source project.
When you are working with source, its not called system/app
all apps that are going to be baked into the ROM will be in the folder /packages/apps.
So here are the basic steps:
1.Place your app source code in /packages/apps (just drop the source folder in)
2.Create 'Android.mk' file for the app (if the app was made in eclipse, its likely to have res/R.java which is autogenerated by eclipse. This needs to be removed as the system will not recognize it.)
3.Edit /build/target/product/core.mk (or similar) and add your application in the list of PRODUCT_PACKAGES. (if you dont add it to the main make files, the app wont be compiled and it wont be in the update.zip when it is finished.
4.Run make.
IF you feel this is too complicated. create the update.zip and use dsixda's kitchen to edit the zip, add the apk manually and then resign it.
Hope this helps!
demoneyes905 said:
When you are working with source, its not called system/app
all apps that are going to be baked into the ROM will be in the folder /packages/apps.
So here are the basic steps:
1.Place your app source code in /packages/apps (just drop the source folder in)
2.Create 'Android.mk' file for the app (if the app was made in eclipse, its likely to have res/R.java which is autogenerated by eclipse. This needs to be removed as the system will not recognize it.)
3.Edit /build/target/product/core.mk (or similar) and add your application in the list of PRODUCT_PACKAGES. (if you dont add it to the main make files, the app wont be compiled and it wont be in the update.zip when it is finished.
4.Run make.
Click to expand...
Click to collapse
Thanks for the reply. However, could you elaborate on PRODUCT_PACKAGES. Where is it? And what is it?

[THEMERS] [DEV] VillainTheme System 0.4.1 - SHARE

VillainROM and Partners​Presents​VillainTheme System 0.4.1​
I am not the maker if this... I am just sharing it here...
This Theming System can be used to Modify png's, xml's inside .apk files in recovery. This will be helpful for creating Icon Packs, Theme Packs, etc. I used this in ATOMODS - For Samsung Galaxy Y. I want to share it here because Themers can Create Themes For All Roms in a Single File and Changing Just the Required Files instead of Modifying the whole framework-res.apk or SystemUI.apk.
Features:
- Will modify APKs in a ROM, without changing signatures, and can be used on any ROM where the filenames of themed files is the same.
- Should not need updated between versions of a ROM
- Zipaligns all APKs before installation
- Stores a backup of all files being modified in /cache/vrtheme-backup/
- Requires no coding abilities or editing of files - just drag and drop
- Can copy "raw" files, though at risk of not working on other devices (well, let's face it, it won't work on likely a slightly different ROM, so this feature is not recommended or encouraged)
What You Need To Know :
As a Themer? Well, here is the information:
Inside the zip, in the vrtheme folder, you can create a folder called "system" and "data". The former is required, the latter is not required unless you wanted to theme a data app (strongly not recommended, unless you know the app will be there on every phone)
Inside the system or data folder, create a subfolder "app", and in these, make subfolders named EXACTLY after the APK name. For example, to theme the Browser, you need a folder called "Browser.apk". It must be correctly capitalised.
Within there, place the files you require for your theme, in the relevant locations. So most PNGs will be in res/drawable-hdpi/. You can put in xml files too (those which are not in resources.arsc), if you compile them via apktool, and extract them with a zip tool.
In the vrtheme folder, as well as system and data folder, one called "raw" can exist. Within here, you can place files to be copied verbatim to the ROM (for example, modified JAR files). Note that using this may make the theme device dependent (read WILL make it device dependent)
And that's about it.
As a User:
You don't need to know much - just flash this zip like a regular zip, and you'll get your theme running. But you should be able to apply themes to any device, ROM, and version of the ROM, without it causing adverse effects. That means less time spent by themers making the original theme, and less time spent modifying it constantly for new versions of ROMs.
Downloads:
(Link As Given in Original Thread)
Villain Theme System 0.4.1 (Thanks To DOC)
Credits:
D.O.C for the original idea in a discussion on IRC
Stericson for the original idea of metamorph. While totally different, it's a shared goal to separate themes from ROMs
Matt from the Metamorph team, for the zip binary compiled for Android
Seshy, for testing
XDA Thread : http://forum.xda-developers.com/showthread.php?t=1207017
Reserved
Sent from my GT-S5360 using xda premium
Its really awesome...try it...
Sent from my Samsung YoUm with Flexible Display!
Reserved! I likey!
Questions? Better go to [Help Thread] by Deadly
----------------------------------
Sent via a CM'd calculator
Reserved for later info :good:
OMG its awesome
ss pls
Phone : SamSung Galaxy Y ST-5360
Rom : USRR v9 by O.G.Y Team
Kernel : White Kernel 1.3.3 by whitexp
viponline99 said:
ss pls
Phone : SamSung Galaxy Y ST-5360
Rom : USRR v9 by O.G.Y Team
Kernel : White Kernel 1.3.3 by whitexp
Click to expand...
Click to collapse
You can't expect ss for this...
It is a way of replacing png's and xml's of an apk in recovery...
Sent from my Samsung YoUm with Flexible Display!

[SHARE][MOD][TWEAKS][SCRIPTS] XTweaks V1.0

Note : I'm just sharing the work of the XDA Member DorianX.This mod was tested on stock deodexed and it was working fine.I'm not sure that it'll work on CM7 or not.Please test and report here​.
:: Introduction ::..​
XTweaks is a script pack something like others availables on XDA BUT with some of the logic from
SuperCharger V6 by zeppelinrox
(automatically set some values based on your total available RAM).
I've been using this scripts in my custom roms and it worked fine, so I decided to release it to public.
Click to expand...
Click to collapse
:: In the pack ::..​
/data/tmp/* (This is a temporary folder that contain libncurses.so and sqlite3, from android 2.3.x to 4.4.x,
these files are required to run some scripts correctly).
/system/bin:
uninstall (This is an uninstaller, in case that you don't like the mod just go to terminal emulator and type:
su [enter], uninstall [enter] then XTweaks will get uninstalled and your phone will reboot by itself).
uninstallboot (This is an uninstaller for bootanimation only just go to terminal emulator and type:
su [enter], uninstallboot [enter]).
/system/etc/init.d:
00Buildprop (This script will add some values to build.prop on first boot then will be deleted by itself).
00SQlite (This add libncurses.so to /system/lib, sqlite3 to /system/xbin, then will be deleted by itself).
01Ksm (This enable "Kernel SamePage Merging" (KSM))
02Ram_Anim (Better memory management).
03Gov_Sched_Tweaks (This contain some Governor & I/O Scheduler tweaks).
04System_Tweaks (Another memory tweaks and kernel tweaks for better battery life).
05SDCard_Tweaks (This script change the read_ahead_kb value to 2048, faster speeds on SD card).
06NetSpeed_Security (You will get faster conections on WiFi/Mobile Network).
07Cleaner (This clear some unnecessary data and disables logcat) (if you need to get a logcat delete this script).
08Fix_Emissions (This script made it by zeppelinrox fix permissions to your apps and folders every boot preventing force closes).
09Detailing (This script optimize the database for your apps every boot also made it by zeppelinrox).
10Flush-O-Matic (This script clear the cached apps every hour so will get more true free RAM also made it by zeppelinrox).
/system/media:
bootanimation.zip (Customized bootanimation based on Nexus 7's 4.4).
/system/xbin:
busybox (Is the latest busybox by Stericson (1.21.1) needed to run all the scripts, root, etc.).
/tools:
backup.sh (This is a temporary script that makes a backup of your ini.d folder and your current bootanimation (if your ROM have a regular /system/media/bootanimation.zip)).
busybox (This is a temporary busybox to get run the installer).
Click to expand...
Click to collapse
..:: Requirements ::..​
- Rooted phone.
- Android 2.3+.
- Kernel/ROM with init.d support.
- 10mb free in system.
- Custom recovery.
Click to expand...
Click to collapse
..:: Installation ::..​
- Download the latest version of this mod.
- Copy it on your sd card.
- Go to recovery mode.
- Flash it.
- Reboot.
- Enjoy!​
..:: F.A.Q. ::..​
Q. How can I uninstall this mod?
A.Go to terminal and type this :
su
uninstall
Q. How can I uninstall the integrated bootanimation?
A.Go to terminal and type this :
su
uninstallboot
Q. Is this mod compatible with other mods?
A. Maybe with Crossbreeder but you need to test it, first install this mod then install the one you want to try.
Click to expand...
Click to collapse
..:: Downloads ::.. : http://www.mediafire.com/download/a3i6wxh3rnhgng6/XTweaks-1.0.1.zip​
Original Thread : http://forum.xda-developers.com/showthread.php?t=2574443​
Credits :
DorianX
Click to expand...
Click to collapse
No one pressed the Thanks button!!

[Mini-Howto] Layers Management via Init.d script

Like many of you, I like to keep my Android system rootless and true to stock as much as possible. However, I like to be able to enjoy the native support of layers for better look n feel. I wrote the script attached to help me with it however, it doesn't come easy without root access. There are some work cut out for you, read below.
Prerequisites:
Have extracted theme from layers theme app from Play Store. No, I'm not talking about the main theme app which is used by Layers Manager. Rather, it's the apks that go into the /vendor/overlay. I tried to extract respective apks out of the main one without using Layers Manager. However, my attempts yielded no success as I'm getting FCs all over, so I must be missing something. I current have a Nexus 9 which is rooted with Layers Manager, I use N9 for testing out and bring the /vendor/overlay/*.apk onto my N6P under /sdcard for my script to process. If you know of a better way, by all means share.
Of course, kernel which support INIT.D.
TWRP installed for root access via recovery, a MUST.
Busybox installed via flashable zip
Install:
- Download the script attached
- Rename .txt to .sh
- Have all extracted themed apks in one directory. For instance, I like fa and art layers, so my directory on sdcard as such /sdcard/0flash/layers/fa/fa_*.apk
- Change up the first few lines to match your environment
- Boot into twrp, mount /system if needed
- Drop the script into /system/etc/init.d
- chmod 755 /system/etc/init.d/01layersmanager.sh
- Create a file named ".current_theme" in /sdcard/
- In the above file (.current_theme), put the name of theme you want init.d to install. Example, if I want to install "fa" then I'll just have a line of text fa in it (same goes to art, coalesce,etc). IMPORTANT: no trailing new line.
- Reboot and test it out
- If theme successfully installed, you'll see it.
- Also, the /sdcard/.current_theme file will be updated with "current" to avoid theme installation on next reboot if you don't want to install new themes.
Troubleshoot:
See /sdcard/debug.txt for info. If you want additional information dumped, edit the init.d script to echo out more.
O bio hnki
vboyz103 said:
Like many of you, I like to keep my Android system rootless and true to stock as much as possible. However, I like to be able to enjoy the native support of layers for better look n feel. I wrote the script attached to help me with it however, it doesn't come easy without root access. There are some work cut out for you, read below.
Prerequisites:
Have extracted theme from layers theme app from Play Store. No, I'm not talking about the main theme app which is used by Layers Manager. Rather, it's the apks that go into the /vendor/overlay. I tried to extract respective apks out of the main one without using Layers Manager. However, my attempts yielded no success as I'm getting FCs all over, so I must be missing something. I current have a Nexus 9 which is rooted with Layers Manager, I use N9 for testing out and bring the /vendor/overlay/*.apk onto my N6P under /sdcard for my script to process. If you know of a better way, by all means share.
Of course, kernel which support INIT.D.
TWRP installed for root access via recovery, a MUST.
Busybox installed via flashable zip
Install:
- Download the script attached
- Rename .txt to .sh
- Have all extracted themed apks in one directory. For instance, I like fa and art layers, so my directory on sdcard as such /sdcard/0flash/layers/fa/fa_*.apk
- Change up the first few lines to match your environment
- Boot into twrp, mount /system if needed
- Drop the script into /system/etc/init.d
- chmod 755 /system/etc/init.d/01layersmanager.sh
- Create a file named ".current_theme" in /sdcard/
- In the above file (.current_theme), put the name of theme you want init.d to install. Example, if I want to install "fa" then I'll just have a line of text fa in it (same goes to art, coalesce,etc). IMPORTANT: no trailing new line.
- Reboot and test it out
- If theme successfully installed, you'll see it.
- Also, the /sdcard/.current_theme file will be updated with "current" to avoid theme installation on next reboot if you don't want to install new themes.
Troubleshoot:
See /sdcard/debug.txt for info. If you want additional information dumped, edit the init.d script to echo out more.
Click to expand...
Click to collapse
Yt? Bird :
Sent from my Nexus 6P using XDA-Developers mobile app

Categories

Resources