[ODEX][SCRIPT] Odexer Tool 1.6 (11-04-2014)(MM-dd-yyyy) - Galaxy Note 3 Android Development

Would you like to increase stability and battery life, to don't have lag to open system app and to have better ram utilization? Now you can! (Only for rooted phone and deodexed ROM)
This is possible with Odexer Tool created by myself.
I've worked a lot of time to create this script and I want to share it with you.
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.
My explanation is this:
If you odex the rom, you'll have more space in data (this is important because if you don't have partition ext4 in sdcard, you won't have too free space), you'll increase battery life, you'll have more stability and perfomance (the ROM is more faster to load system and app) but it's too difficult to modifie apk after odex (you can't mod APKs if there isn't classes.dex inside before deodex it).
In fact 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
Stock ROMs are all odexed to have this features and my script allow you to re-add these on your custom ROM.
With these explanations you can understand that:
Odexed ROM = Faster, more stability and battery life, less ram utilization but difficult customization of APKs and a little bit slower boot
Deodexed ROM = Slower, less stability and battery life, more ram utilization but easy customization of APKs and a little bit faster boot
If you run this script with "Remove classes.dex: Disabled", your rom will be odexed without difficult customization of APKs but remember to re-odex it after mod.
My script does (it depends by option):
- Odex framework (of course also bootstrap)
- Odex app in system/app
- Odex app in system/priv-app (if you have android kitkat)
- Remove classes.dex 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]
+ exit [exit from the script]
+ easter egg [nothing important]
WORKING WITH FOLLOWING ANDROID VERSIONS
- Froyo
- GingerBread
- Honeycomb
- IceCreamSandwich
- JellBean
- KitKat
- NO LOLLIPOP (for now)
Credits:
- @MatrixDJ96 (Me)
- MrTony68 (Beta Tester)
- @Thyrus (Beta Tester)
- @angel.sea (For Support)
- Stericson (For BusyBox)
TO DEVELOPES
If you want to use or add this script on your ROM, you MUST give me credit in your thread.
Thanks for the cooperation
Follow me here: Odexer Tool Official Community
ENJOY WITH ODEXER TOOL!!!
Please, give me a thanks if you like my work
By MatrixDJ96

CHANGELOGS:
*** Odexer Tool 1.6 ***
- Fixed TOO MANY bugs
-----------------------------------
*** Odexer Tool 1.5 TEST ***
- Fixed bugs
-----------------------------------
*** Odexer Tool 1.4 ***
- Reworked a lot of the script
- Fixed some bugs
- Added ability to start directly odex (for ex. now you can start it with 'odex all' without type before only 'odex' and after the command)
- Added support of X86 (Mips not support yet)
-----------------------------------
*** Odexer Tool 1.3 TEST ***
- Added check of root
- Reworked completely the script
- Fixed a lot of bugs
- Removed creation of update.zip (removed option)
- Only for ARMEABI
-----------------------------------
*** Odexer Tool 1.2 ***
- Fixed creation of flashable zip in some device
- Fixed a lot of bugs
- More compatible
-----------------------------------
*** Odexer Tool 1.1.1 ***
- Fixed "elif syntax error"
-----------------------------------
*** Odexer Tool 1.1 ***
- Fixed creation of flashable zip in some device
- Disabled command to change settings with kitkat
- Fixed minor bugs
-----------------------------------
*** Odexer Tool 1.0 ***
- First stable version

HOW TO FIX 'Android is upgrading...' FOR ANDROID VERSION 2.2 TO 4.3.1 :
*** Remove files classes.dex from APKs/JARs in /system/app and /system/framework that have classes.dex ***

IMPORTANT TO ODEX KITKAT ROM:
*** The options "Remove classes.dex" must be disabled (the script autodetect it and disable this option automatically) ***

HOW TO ODEX YOUR ROM:
To odex framework you must have at least 14% of free space in system.
To odex system apps you must have at least 24% of free space in system.
To odex all system you must have at least 31% of free space in system.
IT'S BETTER DOING A NANDROID BACKUP BEFORE BUT IT'S UP TO YOU
1 - Download Odexer Tool
2 - Reboot into recovery
3 - Install Odexer Tool
4 - Reboot into system
5 - Open Terminal Emulator (will be installed automaticaly)
6 - Type su to obtain root permission
7 - Type odex and enjoy!
I hope that all are clear
+++++++++++++++++++++++++++++++++
Download link:
Odexer Tool
+++++++++++++++++++++++++++++++++

v1.5 released but need test
{
"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"
}

Great tool and nice to see you here @MatrixDJ96! I just have once question, is odex file (smali) completely removed from the deodex apk files, once I read on another thread that smali files would be still remained within the apk which makes the total size of one apk+odex bigger than original ones.

kmokhtar79 said:
Great tool and nice to see you here @MatrixDJ96! I just have once question, is odex file (smali) completely removed from the deodex apk files, once I read on another thread that smali files would be still remained within the apk which makes the total size of one apk+odex bigger than original ones.
Click to expand...
Click to collapse
From first version of Android to JB 4.3.1 you could remove classes.dex from APKs to gain free space and don't show android is upgrading on every boot but on android 4.4+ use must have APKs with classes.dex inside and if you want file odex external like File.apk, File.odex because Dalvik (classes.dex and not only odexed file) is necessary if you want to change runtime to art

Nice I would try odexing my rom then. Thanks

Wich one works on N9005? X86 or Armeabi?

shapk said:
Wich one works on N9005? X86 or Armeabi?
Click to expand...
Click to collapse
armeabi....
why it's written 1.5 on the picture?????
anyway your 1.2 version work well...will try the 1.4 but not sure if it's does something on already odex rom...

rayman95 said:
armeabi....
why it's written 1.5 on the picture?????
anyway your 1.2 version work well...will try the 1.4 but not sure if it's does something on already odex rom...
Click to expand...
Click to collapse
Try v1.5 please

On deodexed rom of course

I try v1.5 now

1.5 working fine
Sent from my SM-N9005 using Tapatalk

1.5 work perfectly. Thanks

V1.5 is ok?
Do i Download it?
Sent from my SM-N9005 using Tapatalk

roozbeh158 said:
V1.5 is ok?
Do i Download it?
Sent from my SM-N9005 using Tapatalk
Click to expand...
Click to collapse
Is OK but need test (for now all results are perfect)

try it now on temasek rom....

MatrixDJ96 said:
Odexed ROM = Faster, ...
Click to expand...
Click to collapse
I have never seen a table of benchmark results comparing Odexed to Deodexed, but i guess if speed really makes at least a tiny noticeable difference then it should show up in benchmarks. Does anybody have such a comparison to show order of magnitude of difference?

Related

[KITCHEN] Team Lambent Corrosion - 4 - looking for testers

{
"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"
}
The Dark Lestat , dharammaniar , marcellusbe , peldax , gaby02 , TotorLeTaureau, benzyniarz1, dympy
present
Team Lambent Corrosion Kitchen
version 3
Customize each and every feature of your ROM by yourself.
Follow us on our FACEBOOK page.​
Warning: We are not responsible for any damage to your phone. The Base ROM's contain the bootloader files also. So please take care while flashing.
FEATURES
1) BASIC STUFF:
FLASH BASE ROM: The Stock ROM provided by Samsung which will be your base ROM.
I5800XXJPM
I5800XXJPN
I5800XWJPF
I5800XWJPI
I5800XXJPQ
I5801DDJP2
I5801DDJP4
Root: Rooting is the process by which you regain administrative access to your phone.
SuperOneClick v1.9.1
Flash Kernel: The kernel is the central component of most computer operating systems; it is a bridge between applications and the actual data processing done at the hardware level.
FuguMod 2.2 Bleeding Edge Overclock Version
FuguMod 2.2 Non Overclock Version
FuguMod 2.4 Alpha 10 Kernel – Supports Data2SD and 1% Battery MOD
FuguMod 2.4 Alpha 14 Kernel – Supports Data2SD and 1% Battery MOD
FuguMOD 2.4 beta3 Kernel
Stock kernels of each ROM
G3Mod v.1.1.0
G3Mod v.1.2.7 Lite
G3Mod v.1.2.7 Performance
G3Mod v.1.2.7 Ultimate
G3Mod v. 1.3.0 Lite
G3Mod v.1.3.0 Performance
G3Mod v.1.3.0 Ultimate
G3Mod v.1.3.0 Extreme
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 the worry 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.
I5800XXJPM
I5800XXJPN
I5800XWJPF
I5800XWJPI
I5800XXJPQ
I5801DDJP2
I5801DDJP4
2) PERFORMANCE:
Clean ROM: Removes all the unnecessary apps from the ROM.Now you can choose which apps do you want to remove.
FuguTweaks v0.2: This tweak adds responsiveness on the phone. What it does is replace app_process and system_server binaries.
JIT: Just-In-Time compilation (JIT) is a software component which takes application code, analyzes it, and actively translates it into a form that runs faster, doing so while the application continues to run.
ZipAlign: zipalign is an archive alignment tool that provides important optimization to Android application (.apk) files. The purpose is to ensure that all uncompressed data starts with a particular alignment relative to the start of the file. The benefit is a reduction in the amount of RAM consumed when running the application.
RamHack: Unlocks the full capacity of the RAM.
Data2SD: Data2SD is a script that allows the active data being used by applications to reside on the SD card vs internal memory. Basically it’s redirects requests to directories to the same directory on the card. It will allow you to have more active applications and not fill up the phone’s RAM or internal storage NAND with data.
APP2SD: App2sd is a utility which automatically moves some/all your data partition to your ext sd partition. So, your internal space is partially/not used.
App2sd-v1: It is the normal app2sd script. This script moves your /data/app/ & /data/log/ to your sdcard’s ext partition. It is very fast but your real internal space will be full if you install many apps. This version is not recommended.
App2sd-v2: It is an enchanced version of app2sd, which moves /data/app/, /data/log/ & /data/dalvik-cache/ to your sdcard’s ext partition. It is fast and you can install many apps until your internal memory reaches 0mb.. Is is recommended for sdcards class2 – class4.
App2sd-v3: It is an ultra enchanced version of app2sd, which is like data2sd, but you won’t have so many lag like data2sd. App2sd-v3 moves /data/app/, /data/log/, /data/dalvik-cache/ & /data/data/ to your sdcard’s ext partition. Your internal memory won’t be used unless you do install so many apps and your sdcard’s partition get full! SDcard class6+ is highly recommended!
Conlusion: If you have class2 or class4 sdcard use App2sd-v2. If you have class6 sdcard use App2sd-v3.
3) PERSONALIZATION:
Live Wallpaper: Well, just a LIVE wallpaper.
5 LockScreen MOD and Extended Power Menu:
Unlock Screens:Android Unlock, Samsung Unlock, Puzzle Unlock, Epic Unlock, Rotary Unlock
Extended Power Menu: REBOOT, DOWNLOAD, RECOVERY
Theme Changer: Change the themes for your epic Galaxy 3
AndrdenaTek Galaxy – gaby02
CoolGreen – coolpepe
Erebos – gaby02
Gingerbread - kyrillos13
High Voltage – gaby02
Honeycomb – arunmcops
HTC Theme – The Dark Lestat
Lestatious - The Dark Lestat
NeonGTR (Green Theme Remix) – dbrafael & pauri
Sumee – askashish
Tangerine - Peldax
BootAnimation Changer: Changes the bootanimation for your awesome Galaxy 3
Abyss – anant.0097
Android_vs_Apple – shubhamchamaria
CyanogenMod – shubhamchamaria
JumpGate - Bubble-be
Penguin_Into_Android – shubhamchamaria
SolarFlare – Bubble-be
Spinning_Android_Medallion_Blue - Bubble-be
Windows7 - shubhamchamaria
XDA – anant.0097
4) ADDITIONAL STUFF:
WorldWide APN: APN Settings for all over the world.
Launchers: The following are the launchers included in the Kitchen (the newest versions - 07/07/2011):
ADW Launcher
Gingerbread Launcher
GoLauncher EX
HeLauncher
Launcher7
LauncherPro
LauncherPro Sense UI
Regina Launcher
Touch Wiz Launcher
Zeam Launcher
ADDITIONAL APPS: The following are the additional applications provided in the Kitchen.
AdFree: AdFree removes most ads in the browser and other apps. It does this by nullifying requests to known host names in the system hosts file.
BatteryCalibration: Calibration needs to be done after flashing a new ROM, but you can calibrate any time you think your battery is miscalibrated. This program does it by removing the batterystats.bin system file. The OS generates a new clean batterystats file soon, thus any fake information from the previous ROM is removed.
BootanimationUtility: Change Bootanimations from your Galaxy 3
Dimmer: Dim your screen to the minimum allowed brightness with one touch – this is dimmer than ‘Display Settings’ allows you to go. Great for night time use.
GingerbreadKeyboard: Keyboard from Android 2.3 – Gingerbread
Move2SD: Move your applications to the memory card.
ThemeChanger: ThemeChanger App to change your themes from your Galaxy 3
XDA: The world famous XDA forums formatted for your Android phone! With this app you can browse the forums, read, post, send private messages, and more.
Modded MMS.apk: No more SMS => MMS autoconvertion, max recipants: 1000
5) CONVERSION / LAGFIX / DATA WIPE:
Convert File Systems: Convert ‘cache,’ ‘data,’ and ‘system to:
•ext2
•ext3
•ext4
•jfs
•reiserfs
•rfs
Wiping ‘cache’ and ‘data’ converts them back to rfs!
Apply Lagfix: Converts cache, data and system to ext2
Wipe Data: Wipes the /data folder.
6) Output ROM:
Factoryfs.rfs: Backup Your ROM
Datafs.rfs: Backup your /Data partition
Cache.rfs: Backup your /cache partition
Sd-ext: Backup your /mmcblk0p2 partition – FOR DATA2SD USERS
Screenshots
SLIDESHOW
System requirements:
Some free space on HDD
Sensible CPU
Admin privileges (for registering own file type)
Microsoft .NET Framework 4.0 (written in Visual C#)
Adobe Acrobat Reader with ActiveX Control, at least version 7 (for opening pdf files)
Downloads
Kitchen
Version 3.0.4
DOWNLOAD (89.73 MB)
Version 3.0.3 Attention: mount commands may be not working (problems with permission)! Bug is going to be deleted very soon.
DOWNLOAD (89.34 MB)
Version 3.0.2
DOWNLOAD (92.02 MB)
Version 3.0.1
DOWNLOAD (92.02 MB)
Version 3.0
DOWNLOAD (94.18 MB)
Note: Don't worry about huge executable file. The most space takes resources which are not loaded into memory.
Tip: Kitchen contains links to download themes, base roms, bootanimaions, etc.
Tip: Kitchen uses own file formats for files. For structure of these files see Tutorial.pdf
Note: Kitchen is using own file types (kuit and kuib fot themes and bootanimations). How to create these files.
Themes:
AndrodenaTekGalaxy - DOWNLOAD
CoolGreen - DOWNLOAD
Erobos - DOWNLOAD
Gingerbread - DOWNLOAD
High Voltage - DOWNLOAD
Honeycomb - DOWNLOAD
HTC - DOWNLOAD
NeonGTR - DOWNLOAD
Stock - DOWNLOAD
Sumee - DOWNLOAD
Tangerine - DOWNLOAD
Bootanimations
JumpGate - DOWNLOAD
Abyss - DOWNLOAD
Android vs Apple - DOWNLOAD
CyanogenMod - DOWNLOAD
Medallion Blue - DOWNLOAD
Penguin Into Android - DOWNLOAD
SolarFlare - DOWNLOAD
Windows7 - DOWNLOAD
XDA - DOWNLOAD
Kernels:
Base ROMs:
I5800XWJPF - DOWNLOAD
I5800XXJPM - DOWNLOAD
I5800XXJPN - DOWNLOAD
I5800XWJPI - DOWNLOAD
I5800XXJPQ - DOWNLOAD
I5801DDJP2 - DOWNLOAD
I5801DDJP4 - DOWNLOAD
Deodexed apps:
I5800XXJPM - DOWNLOAD
I5800XWJPF - DOWNLOAD
I5800XXJPN - DOWNLOAD
I5800XXJPQ - DOWNLOAD
I5800XWJPI - DOWNLOAD
I5801DDJP2 - DOWNLOAD
I5801DDJP4 - DOWNLOAD
To-Do
Changelog:
Version 3.0.4
[+]Disable rebooting
[']Permission denided bug deleted
[+]Deodex and output rom via bat script
[']One version of FuguTweaks - v.0.1
[+]Possibility of disabling of deleting rfs files from SD CARD after creating output files.
Version 3.0.3
[+]Add supporting of stock kernels (need to be confirmed that it's working)
[+]Creating of the log file
[+]Log window
[+]A new method of applying files - via bat scripts. Supported mods:
FuguTweaks
JIT
Lagfix
ZipAlign
RAMHACK
Live Wallpaper
Extended Power Menu and 5 Mod Lock Script
[']False amount of free space on device while installing mods (checking is in silent mode, so user doesn't see it)
[+]Some improvements in options form.
Version 3.0.2
[+]Configuration form
[+]Disable checking if device is connected
[+]FuguTweaks v.0.1
[']Separately running ADB server (I hope it'll solve problems with checking device)
[-]Mystery button1 deleted
Version 3.0.1
[']Hiding task bar in W7
[+/']New algorithm of detecting device.
Version 3.0
-base version
To-Do:
Log file [state: done]
Disabling of rebooting [state: normal]
Bugs:
Hiding task bar in Windows 7 [state: solved]
Problems with detecting device [state: solved, but need to be confirmed]
button1 to hide [state: solved]
False free space on the device while installing mods (silent method) [state: solved]
Ramhack and zipalign not working properly [state: very Important]
Version 3.0.3 - every command that needs mount sth not working [state: very Important]
Checking if device is connected is always on when run scripts option is enabled[state: normal]
Symbols:
['] Bug / Bug solved
[+] Feature added
[-] Feature removed
Reserved, ouh.. reserving posts is boring.
Reserved, probably for screenshots (or sth else)
Creating own kuit or kuib file
Program is using their own extension. You can create your own file for easy applying themes or boot animations.
The structure of the file is a little bit similar to update.zip. So kuib and kuit files are just compressed zip archives with changed extensions.
Structure looks like this:
Files from these folders will be copied to proper catalogs on the device (for example Theme.kuit\system\app\mms.apk will be copied to /system/app/mms.apk) .
The best preview size is 240x400 (or similar with kept ratio).
You can open prepared kuit or kuib files in program like WinRAR to see more.
Credits
KITCHEN - dharammaniar , The Dark Lestat , benzyniarz1 , peldax
KERNEL - marcellusbe , dharammaniar
TUTORIALS - rudolf895 , jazux , benzyniarz1
Features:
JIT - ARMV-Team
5 Lockscreen MOD: vista7k, kyrillos13
ZipAlign - kyrillos13, Darkyy
RamHack - kyrillos13, Darkyy
App2sd - kyrillos13
Themes:
AndrdenaTek Galaxy - gaby02
CoolGreen - coolpepe
Erebos - gaby02
Gingerbread - kyrillos13
High Voltage - gaby02
Honeycomb - arunmcops
HTC Theme - The Dark Lestat
Lestatious - The Dark Lestat
NeonGTR (Green Theme Remix) - dbrafael & pauri
Sumee - askashish
Tangerine - Peldax
WP7 - gaby02
BootAnimations:
Abyss - anant.0097
Android_vs_Apple - shubhamchamaria
CyanogenMod - shubhamchamaria
JumpGate - Bubble-be
Penguin_Into_Android - shubhamchamaria
SolarFlare - Bubble-be
Spinning_Android_Medallion_Blue - Bubble-be
Windows7 - shubhamchamaria
XDA - anant.0097
Additional Apps:
Theme changer - neeljinwala
BootAnimationUtility - arayray
Modded mms.apk - kyrillos13
Credits to all the developers out there for making Samsung Galaxy 3 the Best Phone...!!! \m/
(Any developer who feels his work has been used in the kitchen and his name is missing in the credits, PM me)
where to download?
greetz
Uploading, will be available in 1h.
thnx can't wait to try
DOWNLOAD LINK RELEASED
In meantime I'll be editing the rest posts...
Crash ...
Big crash when trying to apply fugutweaks :
- Window saying the phone is not found
- My windows seven task bar disapears ! (After killing explorer.exe and lunch it again, my task bar appears again)
- My phone is slower ...
No idea of what happens. My phone was connected in usb debug, i have .net v4, etc ...
Am I the only one ?
1. Is adb detecing your phone? Type "adb devices" in command prompt and paste the result. (Program is using this command to checking device)
2. I though it was only bug on my system.. I know where is the probelm - I used API command to hide icon on task bar, but W7 can interpret this command wrong so it hides whole taskbar.. Anyway, easy to solve.
3. Phone is slower after applying..? what? FuguTweaks? If program doesn't detect phone, it stops executting commands.
benzyniarz1 said:
1. Is adb detecing your phone? Type "adb devices" in command prompt and paste the result. (Program is using this command to checking device)
2. I though it was only bug on my system.. I know where is the probelm - I used API command to hide icon on task bar, but W7 can interpret this command wrong so it hides whole taskbar.. Anyway, easy to solve.
3. Phone is slower after applying..? what? FuguTweaks? If program doesn't detect phone, it stops executting commands.
Click to expand...
Click to collapse
1) Yes, I use adb a lot.
2) Ok
3) It's strange yes ! I did a backup before using KitchenV3. My ROM already has fugutweaks (v0.1) and JIT but it was just to test if your version is better. I've tried to apply JIT too. My quadrant score was about 40 less, so I restore my /system backup and got back my good quadrant score. Well, perhaps happened something else, I really don't know ...
No problem, I wait next version !
thx.
sambastrakan said:
1) Yes, I use adb a lot.
2) Ok
3) It's strange yes ! I did a backup before using KitchenV3. My ROM already has fugutweaks (v0.1) and JIT but it was just to test if your version is better. I've tried to apply JIT too. My quadrant score was about 40 less, so I restore my /system backup and got back my good quadrant score. Well, perhaps happened something else, I really don't know ...
No problem, I wait next version !
thx.
Click to expand...
Click to collapse
Please, type "adb devices" and take a screenshot of the result.. Maybe I'll need to change the algorithm of checking if a device is connected..
Anyway, program shouldn't continue working if device is not conneted.. voids should be dropped properly..
benzyniarz1 said:
Please, type "adb devices" and take a screenshot of the result.. Maybe I'll need to change the algorithm of checking if a device is connected..
Anyway, program shouldn't continue working if device is not conneted.. voids should be dropped properly..
Click to expand...
Click to collapse
here it is !
Ok, thanks..
It's strange, because phone should be detected properly.. Anyway, I'll try to impelemnt other detecing function..

[RC10] ULTIMATIC RC7T6![EXE]-=Ultimate Jar Power Tools=- w/Maximum MultiTasking Mods!

Note: NOT YET UPDATED FOR KITKAT!
==============================================================================
If this information is helpful, please Rate the thread 5 Stars and click Thanks! Or consider donating
And thanks for feedback!
==============================================================================
-=Ultimate Jar Power Tools=- (Smali Patcher Script) & -=Ultimatic Jar Patcher Tools=- (Fully Automated - .exe/.bat/.sh formats)
This is for patching services.jar on ALL Android ROMS - Froyo and up! (Froyo, Gingerbread, Honeycomb, ICS, Jelly Bean AND Sense 4.0+)
==============================================================================
Important Update! services.jar Patching is now FULLY Ultimatic!
Deodex and ODEX Supported! Windows and Linux and Mac OSX!
-=Ultimatic Jar Patcher Tools=- (zip or exe) attached to this post. Full Instructions are in Step 2A.
So now it's this easy: 1. Run V6 SuperCharger, 2. Run Ultimatic Jar Patcher Tools (Good for ANY OS), 3. SuperClean and Reboot... THAT'S IT!
==============================================================================
Attenion Devs: You can freely modify your services.jar with my script and package it in your ROM.
Just be sure to give proper credit and link to this thread. Thank You.
==============================================================================
Repackaging of this mod with other tweak or mod packages is stricly prohibited.
==============================================================================
Many of you already know that SuperCharging ICS and Jelly Bean requires the patching of services.jar.
That's where this all began...
Since I was already modding services.jar, other things came up that "needed" hacking... lol
The patcher script, formerly known as "Jelly ISCream Smali Patcher" has now grown beyond the scope of the V6 SuperCharger thread and warrants it's own home
Plus, it includes perhaps the biggest thing since SuperCharger...
{
"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"
}
It Makes Your Big Ass RAM MultiTask A Ton - And Then Some!
​ See Post 2 for more info about -=Maximum Overdrive=-
So what's included?
Mod 1. Jelly ISCream for ICS and Jelly Bean. This will SuperCharge Your Home Launcher and ADJ/OOM Priorities! Bonus: You pick launcher strength! There's some info on that here.
Mod 2. Maximum MultiTasking Mods for Froyo and above has 2 parts.
a. -=Maximum Overdrive=- This lets you run up to 70 hidden apps instead of the default 15 (RAM permitting) without breaking the lowmemorykiller!
Why only 15 by default? See the google groups link in Post 2
b. Time Killer Killer. This tries to bypass the 30 minute service inactivity limit by increasing it to 24 hours ;^]
Huge thanks to dorimanx from XDA Forums for ideas and the initial mod to bypass the lowmemorykiller for greater multitasking
Mod 3. Non-Sense App Limit for Sense 4 and above (Not needed for Sense 3.6 and below).
This eliminates additional restrictions introduced with Sense 4.
a. Visible tasks increased from 8 apps to 50 (RAM permitting)
b. Something called "HTC Recent App Fusion" is rendered a non-factor.
The Non-Sense App Limit Mod was born in the EVO 4G LTE forums... see this thread for the groundwork and continued testing.
For assistance, testing and support, thanks to: il Duce, jeffsanace, steal25, bog3nator, fernando sor, mrlakadaddy, SteelH
Bonus Sense Mod: Unlimited Recent Apps Panels by steal25.
By default, the recent apps panel will only show 8 apps.
I tried and failed to do it :cyclops: - but at least I was able to help him break a 16 panel barrier to make it Unlimited
Mods 2 and 3 (where applicable) let you use your RAM to its Fullest MultiTasking Potential!!
Don't worry about if you can't run that many apps at once - the lowmemorykiller will kick in according to your minfrees...
======================================================================
Increase the minfree values for more free ram... Lower them for more multitasking
======================================================================
I strongly recommend using V6 SuperCharger in conjunction with these mods in order to tweak the minfrees, but more importantly, take advantage of its OOM grouping fixes
The OOM grouping fixes will help ensure that the higher, supercharged ADJs won't result in an overly-aggressive lowmemorykiller.
So if do these mods and enjoy multitasking improvement without using V6 SuperCharger's grouping fix - it's even better with SuperCharger!
Get it HERE
===========================================================
Note: Do this at your own risk - regardless of how little risk there is .
............ Do a nandroid but simply reflashing your ROM or restoring services.jar will remove it.
===========================================================
Requirements:
1. Rooted Android Device.
2. Script Manager or Terminal Emulator to run the script. Stock ROMs can also use SM to load up boot scripts!
3. Busybox v1.16.2 OR ABOVE. You can use any of the ones attached to V6 SuperCharger OP which contain a Feature Rich busybox v1.19.4 by wraithdu (CWM flashable.zip, "Normal" Installation script by me and one which reinstalls BusyBox on EACH boot by me.)
OR,,,
Grab the SuperCharger Starter Kit and have busybox plus other tools (fixed su binary, zipalign binary and sqlite3 binary) installed instantly!
BusyBox WARNING: Some versions are "minimal" with many missing applets and functions! I also find v1.18.3, v1.18.4 and 1.185 VERY much a hassle with errors that should NOT be errors! Avoid any such versions! Minimal is BAD!
4. Java must be installed on your computer - Click to Verify Java Installation
5. Device drivers must be installed on your computer (so ADB works) - You can search XDA for "naked drivers" which seems to work for most devices.
===========================================================
Installation - Easy as 1, 2, 3!
Installation is the same as explained in Post 2 of the SuperCharger thread. I won't go into all the gory/smali details again so refer to that for the most part.
But this is the rundown.
Necessary Smali Files Patched:
Froyo and up - ActivityManagerService.smali (Mod 2)
ICS and Jelly Bean - ActivityManagerService.smali and ProcessList.smali (Mods 1 and 2)
Sense 4 and above - ActivityManagerService.smali, ProcessList.smali (Mods 1, 2 and 3)
You get the smali files after decompiling services.jar (In Step 2 Below)
But that doesn't even matter if you choose Option 2A or 2C since those are automatic methods
1. Run the NEWEST V6 SuperCharger script as always.
2. Patch and install services.jar by whichever method you like best.
Note: All options below require Java to be installed on your computer - Click to Verify Java Installation
Option A) Use one of the attached -=Ultimatic Jar Patcher Tools=- (exe or zip) which DO EVERYTHING for you "Fully Ultimatically" on DEODEX & ODEX ROMS!
They do everything that is explained in this tutorial - from start to finish ie. Steps 1 to 9!
These will do both Deodex AND Odex ROMS too!
Includes:
Automation tools: ultimatic_jar_patcher_adb.bat (Windows) and ultimatic_jar_patcher_adb.sh (Linux/Mac OSX)
Ultimate Jar Power Tools RC5
latest smali/baksmali v1.4.1
adb (Windows/Linux/Mac OSX)
some GNU utilities/binaries (Windows)
dexopt-wrapper (used for ODEX roms)
Requirements:
For Android device: busybox, android debugging turned on, charge only mode when plugged into computer.
For Computer: Java installed (for baksmali/smali), device drivers (so ADB works)
Usage:
Windows - use either the Ultimatic*.exe or the zip's ultimatic*.bat file - Windows exe is NOT zipped. Just remove the .zip extension!
Actually, if you have windows cygwin installed, you can even use the zip's ultimatic*.sh file lol
Linux or Mac OSX - use the zip's ultimatic*.sh file
Download attachment to your PC: zip file? - extract to a folder; exe file? - remove the zip extension
How to run -=Ultimatic Jar Patcher Tools=-
1. Connect your Android to your PC with Android Debugging ENABLED and Mass Storage DISABLED so your device has access to your sdcard. I just put it in Charge Only mode...
2. Windows: Run either the zip's *.bat or the attached *.exe
If running the exe, you can put a different ultimate jar power tools script version in the same folder and it will use that one otherwise it uses the embedded version!
If you have cygwin installed, you can even use the zip's *.sh file at the cygwin prompt.
Linux/Mac OSX: run the zip's *.sh file
Just be sure to read everything and answer Yes or No as is your preference.
Example: The script allows you to choose the level of your Launcher's Super Strength! (BulletProof, Die-Hard, or Hard To Kill)
And if you don't know how to run exes or batch files or shell scripts... then MOVE ALONG... please... god please do move along...)
3. Ultimatic Jar Patcher Tools will:
- pull services.jar/services.odex
- decompile services.jar/services.odex
- run Ultimate Jar Power Tools and apply the patches that you pick
- recompile services.jar with a new classes.dex (deodex roms)
- re-odex services.jar and make a new services.odex (odexed roms)
- install services.jar/services.odex to /system/framework and set permissions
4. Don't be stupid and READ what the hell is going on, OK?
Goto Step 3 if you did Option A!
Otherwise... Option B below is the next preferred method - but there's manual work involved.
Option B) Follow the complete I SCream SUPERCHARGER!! Tutorial and use the attached -=Ultimate Jar Power Tools=- script to automate Step 5 - the actual smali editing!
Just be sure to read everything and answer Yes or No as is your preference.
Example: The script allows you to choose the level of your Launcher's Super Strength! (BulletProof, Die-Hard, or Hard To Kill)
Also be sure to have the necessary smali files in the same folder as the script!
ODEX ROMS - ALL Stock ROMS are ODEX (I think... ) So if you have a services.odex file, press the button!
All but Step 5 is automated on Windows with a batch script courtesy of rexstor .
See [Guide][Batch][Odex Rom only!] To get another 50% v6 Supercharged script for ICS!
So you'd run the batch script, and for the editing, run my Ultimate Jar Power Tools patcher script in Step 5
* If you ever have trouble applying permissions to services.jar, just run the ICS Service Centre (Option 29 in the SuperCharger script) and permissions gets applied everytime just before returning to the main menu!
3. SuperClean & ReStart! (ie. Wipe Dalvik Cache & Reboot)
===========================================================
How do I know if it worked?
Mod 1. Run the latest V6 SuperCharger script and it will tell you if your launcher is SuperCharged!
Mods 2 and 3. Install System Tuner and put the widget on the desktop.
Make note of how many apps the widget shows running after running a whole bunch of apps.
It would look like ##/##
So feel free to post before and after screen shots!
===========================================================
Another Test for Maximum Overdrive - Install aLogcat, before and after the mod, run as many apps as you can, run aLogcat and search for longer.
Example Before and After....
Notice how there is very little killing activity after the mod?
But more importantly, notice that before the mod, app #16 gets killed. After the mod, app #71 gets killed.
Because max hidden apps went from 15 to 70
Note that you will likely see a blank screen after the mod, that means you never hit the app limit so nothing got killed
Thanks to Elloco305 for the above screen caps
===========================================================
Change Logs:
Updated Dec 25, 2012: - Ultimatic Jar Patcher Tools RC6
Important! Patch only unmodded services.jars/odex this time!
- Added - 100% Offline Mode on Windows! Windows batch/exe can patch services.jar sitting in the patch_this folder This option is only for deodex roms!
- Easier - No longer need build.prop for offline patching of services.jar (since api level not needed on deodex roms after all )
- Enhance - ODEX Support - If it fails at making a new ODEX in /system/framework, it then tries the sdcard method.
- Tweaked - Code/Interface/Messages to user ALOT!
Updated Dec 25, 2012: - Ultimate Jar Power Tools RC9
Important! Patch only unmodded files this time!
- Improved - Multitasking Mod on 4.2+ ROMS. Max hidden apps got split up - 2/3 of the total goes to empty apps and 1/3 goto hidden apps - I reversed it (why have more empty apps than hidden apps?) so now you get 1/3 empty apps and 2/3 hidden apps.
- Improved - Time Killer Killer - 4.2+ added max empty time - I bumped that up from 30 minutes to 24hrs (just like inactivity time)
- Tweaked - Code ALOT! Syntax stuff but more importantly, more cohesive edits.
- Removed - A few changes to ActivityManagerServcie.smali which, in the end, weren't needed.
- Added - A few changes to ActivityManagerServcie.smali for a much smoother mod!
- Enhanced - Interface a bit
Updated Dec 7, 2012: - Ultimatic Jar Patcher Tools RC5
- Added - Offline Mode! *.sh version (*nix PCs & Mac OSX) can be 100% offline - just put services.jar and build.prop in the new patch_this folder. This options is only for deodex roms!
- Added - Quasi Offline Mode! Windows batch/exe can patch services.jar sitting in the patch_this folder but still needs to be hooked up to Android device for editing the smali files - so it's like 95% offline for now This option is only for deodex roms!
- Added - Better backup! If you're installing services.jar, it makes a backup on the sdcard so that V6 SuperCharger can find it... so you can unsupercharge or use the Jelly ISCream Parlor to restore the original
- Added - Logging!
- Added - Special effect on startup!
- Tweaked - Code ALOT! Better odex support and geeky code stuff
- Tweaked - Interface and message ALOT!
- Learned - That if/else conditions in batch files are a ROYAL PAIN IN THE ASS! <- see? it's purple!
Updated Dec 7, 2012: - Ultimate Jar Power Tools RC8
- Tweaked - Code
- Enhanced - Interface a bit
Updated Nov 28, 2012: - Ultimatic Jar Patcher Tools RC4
- Fixed!? - Compatibility with ODEX ROMS ( I really think this is it!) Now performs dexopt-wrapper (to create services.odex in /system instead of the sdcard
Updated Nov 28, 2012: - Ultimatic Jar Patcher Tools RC3
- Tweaked - Code - better Mac OSX support
- Fixed - odex bug where dexopt-wrapper would fail if there already was a /sdcard/services.odex file
- Changed - Endoding of the windows batch file... it may have been the problem... hopefully it's THE fix...
Updated Nov 28, 2012: - Ultimate Jar Power Tools RC7
- Improved/Tweaked - Code. 100% GREAT for Jelly Bean 2 (hey, it has MORE limits... must hack more stuffz... but I did add one already...)
- Added - Another tweak to JB 4.20... it has a new MAX_EMPTY_TIME value of 30 minutes... so added to the Time Killer Killer... so made MAX_EMPTY_TIME 24 hrs as well lol
Updated Nov 27, 2012: - Ultimatic Jar Patcher Tools RC2
- Tweaked - Interface ALOT!
- Tweaked - Code ALOT!
- Added - Choice to try and relaunch adb as root
- Enhanced - Information/tips to user
Updated Nov 27, 2012: - Ultimate Jar Power Tools RC6
- Improved/Tweaked - Code for more new devices.
- Changed - Non-Sense Mod - No longer needs to edit TaskRecord.smali or ActivityStack.smali
- Added - "Reference" Values to smali files so that in future builds, I can easily display what is the current max hidden apps /recent tasks values as they're sometime hard to detect.
Updated Nov 20, 2012: - Added ALL NEW Ultimatic Jar Patcher Tools RC1
- Features: - Fully automatic patching of DEODEX and ODEX ROMS, on Windows (exe or batch file), Linux or Mac OSX (sh script)! It will pull services.jar/services.odex, decompile, do the smali edits, recompile and install back to your device in just a couple of minutes.
- Requirements: - For Android device: busybox, android debugging turned on. For Computer: Java installed (for baksmali/smali), device drivers
Updated Nov 20, 2012: - Ultimate Jar Power Tools RC5
- Improved - Maximum Overdrive code for SIII (had additional parameters ie. INIT_HIDDEN_APPS, MAX_HIDDEN_APPS_FOR_LOWMEM blah blah...) I also bypass some silly overrided (updateHiddenAppNum)
- Tweaked - Some code
- Enhanced - Information/tips
- Detects - If it's run solo (on the phone) or via Ultimatic script/batch file/exe (initiated from PC via adb) so it gives the relevant output/information.
Updated Oct 29, 2012: - Ultimate Jar Power Tools RC4
- Fixed - Bug in the ProActive Booster (Pre-ICS ROMS)
- Tweaked - Some code
Updated Oct 29, 2012: - Ultimate Jar Power Tools RC3
- Improved - Compatibility for some weird ass Sense ROM... Trickdroid 4.0 something something
- Improved - OS version/root check some more.
Updated Oct 27, 2012: - Ultimate Jar Power Tools RC2
- Added - "Minimum Hidden Protection" - keeps 15 hidden apps (doing background tasks) in memory before empty apps (least important) can push any of them out. Default is only 2!
- Added - "Service Preserver" - (Post-ICS ROMS) This prevents service apps (ie. recently ran apps) from being becoming a "worstType" and therefore, less likely to be killed.
- Added - "ProActive Booster" - (Pre-ICS ROMS) This changes the processes limit from 2 to 50 and activities limit from 20 to 70.
- Improved - OS version check - uses distinct strings in ActivityManagerService.smali to determine ROM version. Makes it possible to run the script on a PC!
- Improved - Compatibility for more smali file variations including, stock SGS3 ROMS. Samsung put in an updateHiddenAppNum parameter that overrides maximum hidden apps - until now lol
Updated Oct 12, 2012: - Ultimate Jar Power Tools RC1
- Fixed - Another bug - Mod 3 was fubarred if Mod 2 wasn't used
Updated Oct 12, 2012: - Ultimate Jar Power Tools Test 16
- Fixed - Bug in code which spat out a sed unknown command error in some instances.
Updated Oct 11, 2012: - Ultimate Jar Power Tools Test 15
- Improved - Compatibility for more smali file variations - Yesterday's was a FAIL
Updated Oct 10, 2012: - Ultimate Jar Power Tools Test 14
- Improved - Compatibility for more smali file variations
- Improved - OS version check - uses the api level found in build.prop
Updated Oct 8, 2012: - Ultimate Jar Power Tools Test 13
- Fixed - A bug in an if/else condition
- Added - A reference to this new thread
Updated Oct 1, 2012: - Ultimate Jar Power Tools Test 12
- Added - "Non-Sense App Limit" for Sense 4+ ROMS!
- Tweaked - Some more code for compatibility
Updated Sept 12, 2012: - Ultimate Jar Power Tools - Jelly ISCream + Maximum MultiTasking Mods Test 11
- New - Name since I've put all the services.jar mods in one script.
- Optional - SuperCharging services.jar optional in case you only want the MultiTasking Mods.
- Tweaked - Maximum Overdrive code to support different ProcessList.smali files
- Added - Lots of comments and info on top
Updated Sept 7, 2012: - Jelly ISCream + Maximum Overdrive + Time Killer Killer Smali Patcher Test 10
- Added -=Maximum Overdrive=- MultiTask like crazy without the 15 hidden app limit... raised it to 50 hidden apps!!! You Still control how much free ram you have... actually this gives you MORE CONTROL!
- Added - Support for ALL ROMS! (Maximum Overdrive and Time Killer Killer)
Updated Aug 27, 2012: - Jelly IScream + Time Killer Killer Smali Patcher Test_9
- Added - Ultimate Multitasking Mod - Experimental - Android kills an app after 30 minutes of inactivity no matter how much free ram you have. This tries to disable it (increases limit to 24 hrs and disables the command to change it's adj/priority)
- If it works, I should be able to do Gingerbread, Froyo, etc as well!
- Thanks to pepcisko for assistance and giving ideas
Updated Aug 23, 2012: - Jelly Scream Smali Patcher Test 8
- Tweaked - Code... should work without issue for ALL services.jars... there was a problem where some services.jars had no debug info which threw off the search for line numbers since those files have fewer lines.
Updated Aug 18, 2012: - Jelly Scream Smali Patcher Test 2
- Added - Option to pick launcher strength!!!
- Tweaked - Will not give an error if you have a space in folder names
- Tweaked - Info to user (ie. Specifies that this is STEP 5 in Post #2)
Updated Aug 15, 2012: - Jelly Scream Smali Patcher Test 1
- First Test - No more manually editing smali files!
- Run just like my other Scripts!
- Put ProcessList.smali AND ActivityManagerService.smali in the same folder as the script!
Attachments are NOT PDFs!
How To Save Attached Files
- Right click with your browser & select "save as" from menu, or use the QR Code or XDA app or Tapatalk
- Also a great method - use Opera Mini web browser. Very easy to download and it's FAST!
So... if you get an error like "line xxx: syntax error: unexpected end of file (expecting "blah blah")", it's an INCOMPLETE DOWNLOAD!
Download it again and DO IT RIGHT.
Don't Mirror Or RePackage My Files - Just link here
If you're going to download something...
Please HIT THANKS and Give a 5 Star Rating!
Here's a little more info about...
-=Maximum Overdrive=- The Multitasking Mod for ALL ROMS!!
Maximum Overdrive Origin: Read Post 1 and Post 2.
I managed to do it surprisingly fast... couple of hours?
dorimanx asked me if I could help implement is mod to set HIDDEN_APP_MIN_ADJ to 20.
This is value is "out of bounds" and breaks the lowmemorykiller so nothing ever gets killed.
Upside: You can run more apps if you have enough RAM.
Downside: You eventually run out of RAM so you need external Task Killer... otherwise the device grinds down to a halt when it gets overloaded with running apps
My initial thought on this, when dori first posted in the SuperCharger thread so many months ago, was... wtf? Thought it was the craziest thing and we actually argued... LOUDLY... LOL
Eventually I saw how it could benefit some users but still wasn't my cup of tea
Anyway, now we're friends so it's ALL GOOD
So he PMed me about putting it in ICS.
I quickly found the edit that dorimanx should try. It worked.
But I found something else that I could change... the maximum number of hidden apps.
I managed to find the various edits pretty quick.
dori tried them... and it worked!
CHECK THIS first confirmation of success!
And -=Maximum Overdrive=- was born!
Upside: You can run up to 70 apps if you have enough RAM. (Default is 15 apps lol)
Downside: NONE
===========================================================
Now it looks like CyanogenMod is following my lead... https://github.com/CyanogenMod/andr...mmit/9a8117c4f887c8b0df9cadb5d9aa7689a878752a
am: Allow more hidden apps on devices with lots of RAM
* If more than 1.5GB is present, allow up to 40 hidden apps. * Number is somewhat arbitrary, but was found to work well on D2. * Also look at the sys.mem.max_hidden_apps value if given.
Click to expand...
Click to collapse
Uh yeah... you get a 40 app limit only if you have 1.5GB of RAM - otherwise, you're STILL stuck at 15 hidden apps...
I had already seen the "sys.mem.max_hidden_apps" code in ProcessList.smali before UJPT RC1 was released - so that's already been bypassed to 70 no matter what.
I just didn't know where that setting came from lol
Of course, "sys.mem.max_hidden_apps" was introduced after my mucking around
===========================================================
So... why is Android limited to only 15 hidden apps by default?
Well... its an arbitrary number... and was decided upon more than 2 years ago when the Nexus One was the top device!
See Froyo Activity Manager and MAX_HIDDEN_APPS at Google Groups
Q. When the MAX_HIDDEN_APPS is set to the default value (15), we can see that many applications that have services running in them are killed and them immediately scheduled to be re-started. Is this the desired behavior, since we know that AM will turn right around and restart these applications? Since this is proactive killing by AM, would it be better if AM took into account running services when it decided who to kill?
Or are we missing something, and these apps with running services should be created differently, maybe as persistent, to prevent this from happening?
Also, where did the choice of 15 for MAX_HIDDEN_APPS come from?
Click to expand...
Click to collapse
A. Yes this is the desired behavior. If the device had less memory available, it would have been killing those processes anyway. This change is just for devices with fairly extreme amounts of memory (such as the nexus one), to avoid keeping around more processes than it makes any sense to.
Note that this does take into account running services -- the max count is for actual background processes. There could be some confusion though because after a service has been running continuously for a while we sneakily drop it down into the background OOM class from the service OOM class, to ensure that it will be eventually be killed and restarted. This is to avoid issues with services with memory leaks or other long-running problems.
That said, the actual number we picked is fairly arbitrary.
Dianne Hackborn
Android framework engineer
Click to expand...
Click to collapse
So... a 15 app limit may have been fine 2+ years ago... but not anymore.
Android devices are getting more powerful every day and yet, old limits are still in place!
It's so.... it's... IT'S SO CLEAN. *tear*
Sent from my T-Mobile myTouch 4G using Tapatalk 2
Im on position and waiting for a good news from here. :good:
Coryyyy said:
It's so.... it's... IT'S SO CLEAN. *tear*
Sent from my T-Mobile myTouch 4G using Tapatalk 2
Click to expand...
Click to collapse
Oh I hope not to mess it up lol
qzroeh said:
Im on position and waiting for a good news from here. :good:
Click to expand...
Click to collapse
Me too
Tho it's all already confirmed.
Mod 2 - read the maximum overdrive background (links to dori's posts)
Mod 3 - read the "groundwork" thread
Oh yeah... Mod 1 has some history
Updated OP with...
How do I know if it worked?
You are a great creator. will all of this ever become an app.?
A huge thanks for all u do for us & ur continue support.
Sent from my GT-P7510 using xda premium
Grear work mate!
All your work in aroma installer would be nice.
Thanks for sharing. :laugh:
derride8 said:
You are a great creator. will all of this ever become an app.?
A huge thanks for all u do for us & ur continue support.
Sent from my GT-P7510 using xda premium
Click to expand...
Click to collapse
The next big thing for me to learn is how to make an app... so it will take a bit of time lol
yocasta said:
Grear work mate!
All your work in aroma installer would be nice.
Thanks for sharing. :laugh:
Click to expand...
Click to collapse
I've never used aroma... but I think SuperCharger is available depending on your ROM's options, yes?
Awesome stuff zepp, running smooth as always, even together with the PDroid patches :good:.
Hey I got a new test method.
Install alogcat from market.
Run LOTS of apps... all of them
Run alogcat and search for "longer" without quotes.
What # shows up?
Supercharger is the best thing on my hacked to death rooted g2x. It made jellybean so smooth. Thanks for putting this script out for everyone. If you did make an app, I would gladly pay for it. Great work!
Sent from my Android powered coffee coaster.
Get a compiling error on the One X with sense 4+ after using the script mate
My rom (Stock 4.0.4 modificate for me) dont found the file:
==========================================
FAIL: ActivityManagerService.smali NOT FOUND
Help me!!
Edit: i has install supercharger v6 and services.jar patcher. I dont know if it is the problem...
Sent from my SK17i using xda premium
Ninoh-FOX said:
My rom (Stock 4.0.4 modificate for me) dont found the file:
==========================================
FAIL: ActivityManagerService.smali NOT FOUND
Help me!!
Edit: i has install supercharger v6 and services.jar patcher. I dont know if it is the problem...
Sent from my SK17i using xda premium
Click to expand...
Click to collapse
From the Post #1...It should be quite clear, just read it with thought
zeppelinrox said:
Necessary Smali Files Patched:
Froyo and up - ActivityManagerService.smali (Mod 2)
ICS and Jelly Bean - ActivityManagerService.smali and ProcessList.smali (Mods 1 and 2)
Sense 4 and above - ActivityManagerService.smali, ProcessList.smali, ActivityStack.smali and TaskRecord.smali (Mods 1, 2 and 3)
You get the smali files after decompiling services.jar (more on that later)
Installation - Easy as 1, 2, 3!
Installation is the same as explained in Post 2 of the SuperCharger thread. I won't go into all the gory/smali details again so refer to that for the most part.
But this is the rundown.
1. Run the NEWEST V6 SuperCharger script as always.
2. Patch and install services.jar by whichever method you like best.
A) Follow the complete tutorial and use the attached -=Ultimate Jar Power Tools=- script to automate Step 5 - the actual smali editing!
Just be sure to read everything and answer Yes or No as is your preference.
Also be sure to have the necessary smali files in the same folder as the script!
OR...
B) Equally Effective AND EASIER than A) - use the Windows Tool to patch services.jar automatically! (Does NOT yet include Mod 3!)
This does everything that is explained in the tutorial - from start to finish! Yep... it does Steps 1 to 9!
I know... it's complicated... this is what you do...
1. Plug in your phone
2. Run the Windows exe to patch and install services.jar!
OK?
* If you ever have trouble applying permissions to services.jar, just run the ICS Service Centre (Option 29 in the SuperCharger script) and permissions gets applied everytime just before returning to the main menu!
3. SuperClean & ReStart! (ie. Wipe Dalvik Cache & Reboot)
Click to expand...
Click to collapse
mwilky said:
Get a compiling error on the One X with sense 4+ after using the script mate
Click to expand...
Click to collapse
What was the error exactly?
Is it an odex rom?
If not, you can use the One X services.jar in the Sense testing thread.
Ninoh-FOX said:
My rom (Stock 4.0.4 modificate for me) dont found the file:
==========================================
FAIL: ActivityManagerService.smali NOT FOUND
Help me!!
Edit: i has install supercharger v6 and services.jar patcher. I dont know if it is the problem...
Sent from my SK17i using xda premium
Click to expand...
Click to collapse
Follow the tutorial. If not on Sense 4*, use the windows exe.
I do not understand, I have restored the original version of my android unmodified (stock 4.0.4, to see if any incorrect modifications that I made in my rom is), I'm back to patch the file services.jar with JellyScreamPatcherV6_0.9.0.6.exe, up there all right.
I then installed supercharger kit, to prepare the original rom to install v6 supercharger.
but when I run Ultimate Jar Power Tools =-SuperCharger-Maximum is still sending me the same error message, so I have no idea that do, nor is how to create those files (my level of English is very bad is these things)
If you run the windows exe, you don't need to run the Power Tools script.
zeppelinrox said:
If you run the windows exe, you don't need to run the Power Tools script.
Click to expand...
Click to collapse
OK, I did that in my newly restored custon rom, I hope that you functions, although supercharger me continues that is 100% but home is die-hard (though tells me that services.jar this supercharger) but what bothers me is that several sectors are at 25% (home) 75% (oom) and 50% (adj), use the option 15 then 25, but still keeps coming, but supercharger makes me at 100%, so do not be if this good or bad :crying:
\\\\ The One and ONLY OOM Fixer! ////
============================================
So is it working? READ MESSAGES BELOW ;^]
================================================
The Next 4 Sections Are Worth 25% Each!
================================================
Launcher is DIE-HARD! ie. SUPERCHARGED! 25%
================================================
SuperCharger ADJ Entries ARE Patched In! 50%
================================================
OOM Grouping Fixes ARE In Effect! 75%
That means the boot script ran!
================================================
Current Values MATCH Prior SuperCharge! 100%
That means that it's working! 
================================================
Current Minfrees = 8,14,55,70,85,100 MB
Prior V6 Minfrees = 8,14,55,70,85,100 MB
================================================
You have 340 MB of RAM on your device...
...512 HP settings are recommended!
-=SuperMinFree Calculator=- says:
Cust-OOMize with 8, 12, 37, 44, 51, 57 MB!
Slot 3 Sets Free RAM & Is Your Task Killer!
================================================
Nitro Lag Nullifier is Installed!
================================================
BulletProof_Apps_is_In_Effect!
================================================
/init.d/97BulletProof_Apps is Running!
================================================
Lag? Disabling Compcache May Help!
Also Run Engine Flush Every Few Hours!
Optimized for display with Script Manager.
SM can give you a quick status check...
...Put a V6 SuperCharger WIDGET on the desktop!
...Try it! ;^]
================================================
True Free 35 MB = "Free" 119 - Cached Apps 84
================================================
SuperCharger Level: 100% SuperCharged!
================================================
Ummm... 4 parts are 25% each... so if all 4 are working... that's 100% SuperCharged... you're already done.
Does the launcher ever redraw?

[CWM] [STOCK] Deodexed | Odexed DDMD1 | UNIVERSAL GY KERNEL SUPPORT

DEODEXED/ODEXED DDMD1​
You can use this ROM as base for your ROM, Just PM me with a link to the thread!
This is the "FULL ROM" not just the /app and /framework folder. :highfive:
Click to expand...
Click to collapse
FEATURES:
Latest Busybox (Completely Symlinked).
Latest Indian firmware.
Rooted with latest Superuser.
No scrolling bug (as in DDLK2).
Fully stock, no changes in UI.
Now works with any kernel.
Bugless & Rock Solid Stock Build.
The successor of DDLK2.
INCLUDED KERNEL DETAILS:
Latest DDMD1 Kernel
DOWNLOADS:
Deodexed DDMD1
Odexed DDMD1
Mod Edit: Link removed due to using pay per click's site Mirror - File Repository[/URL]
CREDITS:
Samsung
Evanlocked
SamFirmware
dsixda Kitchen
nolinuxnoparty
d3cka
zalzondabuzz
RiddlerA
SCREENSHOTS:
Lidroid Toggles:
{
"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"
}
Settings Mod:
Evolution X4 Statusbar:
4 Way Boot Menu:
ADDONS & PATCHES:
Swipe To Remove Notifications
All Kernel Fix (Call, IMEI, etc.) (MD5: 1EBAE85470D1ECF388A358241B1096A4)
Evolution X4 StatusUI
4 Way Boot Menu
Lidroid Toggles
Settings with embedded QuickPanel Options
For Deodex:
Rename to Settings.apk
Push to /system/app
Set permissions r w- r-- r--
Reboot!
For Odex:
Rename to Settings.apk
Push to /system/app
Remove Settings.odex from /system/app
Set permissions r w- r-- r--
Reboot!
INSTALLATION:
Newbies:
Flash DDMD1 Stock ROM via Odin.
Reboot in Recovery.
Flash Temporary CWM.
Wipe Data & Cache.
Flash ROM.
Advanced users:
Reboot into CWM.
Format system, cache and data.
Mount all partitions.
Flash ROM.
ADDITIONAL INFORMATION:​​
Know why you should "even" think of using the odexed version.
WHAT IS AN ODEX FILE?
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 applications difficult 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 the worry 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.
HOW THIS WORKS
For the more geeky amongst us, Android OS uses a Java-based virtual machine for running applications, called the Dalvik Virtual Machine. A deodexed, or .dex file contains the cache used by this virtual machine (referred to as Dalvik-cache) for a program, and it is stored inside the APK. An .odex file, on the other hand, is an optimized version of this same .dex file that is stored next to the APK as opposed to inside it. Android applies this technique by default to all the system applications.
Now, when an Android-based system is booting, the davlik cache for the Davlik VM is built using these .odex files, allowing the OS to learn in advance what applications will be loaded, and thus speeds up the booting process.
By deodexing these APKs, a developer actually puts the .odex files back inside their respective APK packages. Since all code is now contained within the APK itself, it becomes possible to modify any application package without conflicting with the operating system’s execution environment.
ADVANTAGES & DISADVANTAGES
The advantage of deodexing is in modification possibilities. This is most widely used in custom ROMs and themes. A developer building a custom ROM would almost always choose to deodex the ROM package first, since that would not only allow him to modify various APKs, but also leave room for post-install theming.
On the other hand, since the .odex files were supposed to quickly build the dalvik cache, removing them would mean longer initial boot times. However, this is true only for the first ever boot after deodexing, since the cache would still get built over time as applications are used. Longer boot times may only be seen again if the dalvik cache is wiped for some reason.
For a casual user, the main implication is in theming possibilities. Themes for android come in APKs too, and if you want to modify any of those, you should always choose a dedoexed custom ROM.
Prevent this thread from dying.
Rate this thread ★★★★★
Press "Tip us?"
Press thanks
Post in this thread (I am not asking you to spam!)
Click to expand...
Click to collapse
At last.Deodexed version is up!
Please upload it Asap
No longer switching to old Stock ROM's because of GNU Kernel, Hells Fusion Kernel, etc. not working!
NOTE: The problem why DDMD1 was not so commonly used is that if you flash a custom kernel other than the one provided with this, then you can't call anyone and IMEI is not displayed.... That is due to some changes in new libs and it is now fixed by flashing the lib provided in OP.
NOTE: To fix all Call & IMEI Problem, you need to flash the above (posted in OP) fix!
NOTE: According to some reports, that although network problems are fixed with above patch, IMEI does not appear with custom kernels. This error should not have occurred if you have followed EXACT instructions as in OP.​
Thread Changelogs:
CURRENT:
18-09-2013 WEDNESDAY
--------------------------------------
Added 4 Way Boot Menu to Addons.
OLD:
05-07-2013 FRIDAY
--------------------------------------
Added ODEXED | DEODEXED DDMD1 (no addons till now)
06-07-2013 SATURDAY
--------------------------------------
Added ADDONS - Lidroid Toggles, QuickPanel Settings, Swipe To Remove
08-07-2013 MONDAY
--------------------------------------
Removed Swipe 2 Remove. (Bootloop)
19-08-2013 MONDAY
--------------------------------------
Added Broadcom Radio Interface Layer fix.
boot.img
Do you guys have kernel of ddmd?
I need it for r&d.
CharsiBabu said:
Do you guys have kernel of ddmd?
I need it for r&d.
Click to expand...
Click to collapse
The above package also contains the DD MD1 kernel.
You may download and extract it.
low on data pack
Yash98 said:
The above package also contains the DD MD1 kernel.
You may download and extract it.
Click to expand...
Click to collapse
If I could, I would've downloaded the entire package.
But since I can't, I simply asked for it.
nvm.
Another thing,
can you provide me link to update 4 source?
Because i can't find it on their official page.
Link:-
http://opensource.samsung.com/reception/receptionSub.do?method=search&searchValue=5360
Its not yet released
(source)
Here is your boot.img
CharsiBabu said:
If I could, I would've downloaded the entire package.
But since I can't, I simply asked for it.
nvm.
Another thing,
can you provide me link to update 4 source?
Because i can't find it on their official page.
Link:-
http://opensource.samsung.com/reception/receptionSub.do?method=search&searchValue=5360
Click to expand...
Click to collapse
Can I ask you a question?
What would you do with the RamDisk?
The ODIN firmware(zip)package you've provided contains only one .tar.md5 file, but not separated PDA/MODEM/CSC files we've seen in earlier packages(DDLA2,DDLC2,DDLK2, and so on) and this cannot be flashed via ODIN. Even after checking a guide on XDA on how to use ODIN( I know how to use ODIN but I was confused when I found this only one file) and it fails to flash via ODIN. Later I flashed DDMD1 using this one. Please check the firmware package you've provided.
l0lh4rd said:
The ODIN firmware(zip)package you've provided contains only one .tar.md5 file, but not separated PDA/MODEM/CSC files we've seen in earlier packages(DDLA2,DDLC2,DDLK2, and so on) and this cannot be flashed via ODIN. Even after checking a guide on XDA on how to use ODIN( I know how to use ODIN but I was confused when I found this only one file) and it fails to flash via ODIN. Later I flashed DDMD1 using this one. Please check the firmware package you've provided.
Click to expand...
Click to collapse
Then how did I flash it?
Bro, that 1 .tar.md5 is to be put in PDA section and then start flashing.
You'll be suprised when it works!
You are right, but that was believed some time back
Like for example when you download ODIN flashable kernel .tar, do you get all the three tar's: PDA/CSC/MODEM ?
Yash98 said:
Then how did I flash it?
Bro, that 1 .tar.md5 is to be put in PDA section and then start flashing.
You'll be suprised when it works!
You are right, but that was believed some time back
Click to expand...
Click to collapse
Doesn't work
EDIT: Anyways I don't want to bother you with my problems( latest one: can't flash any custom kernels; might be due to new ramdisk as mentioned by member: Nitzz). Nice work
[REVERTED BACK TO OLD BASEBAND; FORGOT TO PROVIDE LOGCAT ]
Bro, if you want I can PM you the three PDA/CSC/MODEM .tar.md5 files by splitting this package, what say?.
Yash98 said:
Bro, if you want I can PM you the three PDA/CSC/MODEM .tar.md5 files by splitting this package, what say?.
Click to expand...
Click to collapse
No thanks but I already got from this thread http://forum.xda-developers.com/showthread.php?t=2335690&highlight=ddmd1 (thread closed but links not removed )
Yash98 said:
Bro, if you want I can PM you the three PDA/CSC/MODEM .tar.md5 files by splitting this package, what say?.
Click to expand...
Click to collapse
Nice idea :thumbup:
PM me too!
aniket.lamba said:
Nice idea :thumbup:
PM me too!
Click to expand...
Click to collapse
Here: http://www.mediafire.com/download/023udvzhhrgnb4z/S5360_DDMD1_ODDMD1_DDMD1.zip
Please report me if it is not 3 package!
l0lh4rd said:
Doesn't work
EDIT: Anyways I don't want to bother you with my problems( latest one: can't flash any custom kernels; might be due to new ramdisk as mentioned by member: Nitzz). Nice work
[REVERTED BACK TO OLD BASEBAND; FORGOT TO PROVIDE LOGCAT ]
Click to expand...
Click to collapse
yo yo!
m back..
yeah just read my thread..
latest firmwares support either my kernel or latest stock kernel..
what are the problems u all are facing?
Update Changelog:
Added Mirror
Update Changelog:
Added Swipe 2 Remove
Added Settings mod
Updated Credits
Can anybody provide me the latest stock kernal of ddmd1??
Sent from my room using sgy evo-x4//
I m always there to help.

[SCRIPT TO ODEX] Universal Odex Script Version 6.4.2 (02-19-2014)(MM-dd-yyyy)

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)
IF YOU TRIED AN OLD VERSION AND YOUR PHONE STUCK IN BOOTLOOP, YOU SHOULD DOWNLOAD LAST VERSION AND YOU SHOULD TRY AGAIN
This is possible with my Universal Odex Script Version 6.4.2 created by me (for base I used script dexo from Universal Dexo 3.1).
I worked 8 mounth to modifie and complete this script to make it "Universal" and now I want to share it with you.
The difference between by my script and the orginal is:
- Added Commands To Odex What Do You Want
- You Can Do It Without Computer
- More Universal Than Original
- Very Simple To Use
- This Script Is Supported By Me And I Add New Features On Every Update
- Flashable Zip By Recovery
- All Tools Included In My Zip
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. So:
Odex = +speed -customization
Deodex = -speed +customization
I think that you like more speed and less customization (less costumization for dev because is to difficult mod an odex file) and for this reason you press thank and download my work!
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
My script DO (it depends by option):
- odex framework
- odex app in system
- odex app in preload (if your phone has preload partition for device like Galaxy S2)
- odex app in data
- remove classes.dex from framework, app in system, app in preload and app in data
- zipalign from app in system, app in preload and app in data
- remove libs from app in system and app in preload because are useless (android wants libs in system/lib not in the apk) to make more free space to odex
- delete dalvik of system, of preload, of data and of framework from data/dalvik-cache
How to odex:
- download file
- go to recovery
- install zip
- reboot
- open terminal emulator (will be installed automaticaly)
- type su to obtain root permission
- type dexo -h to show possible commands for your phone
- type dexo -one of the option that you have decided
Type 'dexo -(one of the option that you have decided) -log' to create a log on sdcard
Command For Dexo:
+ dexo -bs (odex only boot file, bootstrap, of framework)
+ dexo -fr (odex all framework)
+ dexo -csa (odex only specific app in system
+ dexo -sys (odex all app in system)
+ dexo -fcs (odex all framework and specific app in system)
+ dexo -pa (odex preload partition)
+ dexo -cpa (odex only specific app in preload
+ dexo -all (odex all rom) (bootstrap, framework, system, preload) (NOT DATA!)
+ dexo -dat (odex app in data)
To Use dexo -csa and dexo -fcs you must create a file called csa.txt in your sdcard
In this file you write the name of apk that you want to odex, like this:
Phone.apk Browser.apk Mms.apk Dialer.apk
To Use dexo -cpa you must create a file called cpa.txt in your sdcard
In this file you write the name of apk that you want to odex, like this:
Browser.apk Mms.apk Gmail.apk Vending.apk
IMPORTANT TO ODEX YOUR ROM
To Odex Bootstrap (Command 'dexo -bs') You Must Have At Least 10% Of Free Space In System.
To Odex Framework (Command 'dexo -fr') You Must Have At Least 15% Of Free Space In System.
To Odex System Apps (Command 'dexo -sys') You Must Have At Least 20% Of Free Space In System.
To Odex Preload Apps (Command 'dexo -pa') You Must Have At Least 25% Of Free Space In Preload.
For More Info Contact Me By Email: [email protected]
WORKING IN ALL ROM (Froyo, GingerBread, IceCreamSandwich and JellyBean) NOT KITKAT
AOSP
AOKP
CM
PA
PAC
BASE STOCK
ALL!
Changelog:
Universal Odex Version 6.4.2
- Fixed Minor Bug
----------------------------------
Universal Odex Version 6.4.1
- Fixed Bugs Of V6.4
----------------------------------
Universal Odex Version 6.4
- Important Update
- Updated Terminal Emulator
- Remove Possibility To Odex KitKat
- Added Script To Remove Useless Odex In Data/App
----------------------------------
Universal Odex Version 6.3.1
- Minor Bugs Fixed
- CSA Fixed
- Skip Odex Of Jkay Deluxe Settings
----------------------------------
Universal Odex Version 6.3
- A Lot Of Bugs Fixed
----------------------------------
Universal Odex Version 6.2
- Added 1 New Command To Odex Your Rom
> Now You Can Odex:
+ Only Specific Preload Apps ('dexo -cpa')
----------------------------------
Universal Odex Version 6.1 Private
- Fixed Minor Bug
- Rewritten Script
- Changed Command 'dexo -psa' In 'dexo -pa'
----------------------------------
Universal Odex Version 6.0 Private
- Added Controll Of Free Space In System
- Added New Command To Activate Log
> Type 'dexo -(one of the option that you have decided) -log'
----------------------------------
Universal Odex Version 5.2 Private
- Removed 'fixbox' Script Because Now There Aren't Necessary Symlink Of BusyBox
- Added Check Of Root Permission
- Updated Command 'dexo -all' To Odex Also Preload Apps
----------------------------------
Universal Odex Version 5.1
- Fixed Bug Of Odex System And Preload
----------------------------------
Universal Odex Version 5.0
- Added 1 New Command To Odex Your Rom
> Now You Can Odex:
+ Only Preload Apps ('dexo -psa') (if your phone has preload partition)
- Skipped Odex Of RootExplorer If Is Installed In System Or Preload Or Data (beacause old version can't be odexed and i prefer old version)
- Fixed A Lot Of Bug
- Changed A Little Bit The Interface
- More Universal Now
- Add New Script (Type 'fixbox') To Fix Error Of Busybox (Like clear: not found)
----------------------------------
Universal Odex Version 4.2.3
- Added 1 New Command To Odex Your Rom
> Now You Can Odex:
+ App In Data ('dexo -dat')
----------------------------------
Universal Odex Version 4.2.2
- Fixed Grep Of 'dexo -csa' And 'dexo -fcs'
----------------------------------
Universal Odex Version 4.2.1
- Fixed Bug Of Commands 'dexo -csa' And 'dexo -fcs'
----------------------------------
Universal Odex Version 4.2 Beta
- Added 2 New Command To Odex Your Rom
> Now You Can Odex:
+ Only Specific App ('dexo -csa')
+ Framework With Specific App ('dexo -fcs')
----------------------------------
Universal Odex Version 4.1.3
- Fixed BootLoop On Device Like Galaxy S2 (Fixed Permission)
----------------------------------
Universal Odex Version 4.1.2
- Updated Android Terminal Emulator
----------------------------------
Universal Odex Version 4.1.1.1
- More Compatible
----------------------------------
Universal Odex Version 4.1.1
- Fixed Remove Temp File
- Fixed Zipalign For ICS And JB
- System Now Is Mounted By Busybox
- Add Info For Android JB 4.3 And KLP 5.0
- System Apps Now Have The BCP For Odex
----------------------------------
Universal Odex Version 4.0.1
- Edited Script To Fix Some Words
----------------------------------
Universal Odex Version 4.0
- Added 4 New Command To Odex Your Rom:
> Now You Can Odex:
+ Only Bootstrap ('dexo -bs')
+ Bootstrap and Framework ('dexo -fr')
+ Only System Apps ('dexo -sys')
+ All Rom ('dexo -all')
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
Credits:
- Tommy Nguyen (For Universal Dexo Version 3.1)
- @MatrixDJ96 (Creator Of Universal Odex Version 6.2)
- MrTony68 (Beta Tester)
- @angel.sea (For Support)
- You (For Your Download)
Download link:
Universal Odex Script
++++++++++++++++++++++++++++++++++++++++++++++++
ENJOY WITH MORE STABILITY, SPEED AND BATTERY LIFE!!!
Please, Give Me A Thank If You Like My Work And Give Feedback About Odex
By MatrixDJ96
Important
During the odexing process some apps will go in force close. It's normal
After reboot you can lost widget and google account. It's normal
Other......
i tried you tool today. It was scary to see all the apps force close.
Is it possible to run the the tool in TWRP?
I have two feature requests.
#1 create a log file
#2 since a system app need its libraries in /system/libs we can remove them from the apk. doing this will give even more free space. as far as i know there is only one app (titanium backup) that breaks when removing the libs.
Success fully odexed my galaxy wonder. Its really give me more ram free. Without side effect!
Sent from my GT-I8150 using xda premium
UnitedOceanic said:
i tried you tool today. It was scary to see all the apps force close.
Is it possible to run the the tool in TWRP?
I have two feature requests.
#1 create a log file
#2 since a system app need its libraries in /system/libs we can remove them from the apk. doing this will give even more free space. as far as i know there is only one app (titanium backup) that breaks when removing the libs.
Click to expand...
Click to collapse
Yes I think that you can do it in TWRP and... Fantatics Ideas!! Remove lib i add this in new version
Ps:in v6 i add checking for root permission, checking free space in system and add log.. Now I'm testing and in a few days i share it with you
How long does it take to boot after odexing all? Mine sat about the boot animation for 10-15 minutes before I restored a nandroid.
Sent from my SPH-L900 using xda premium
sorry just download your zip file. but when I try to install it rhough normal reovery, it always show install aborted (both enable and disable signature). maybe I miss something?
my ROM is 4.1.2 odex and AOSP. thanks
in odex rom, no more dalvik cache but it will have odex file for each apps. i wonder where will the odex store? can it be move to somewhere else?
Because i using sd2ext and my dalvik cache already move to ext partition.
Natedog1 said:
How long does it take to boot after odexing all? Mine sat about the boot animation for 10-15 minutes before I restored a nandroid.
Sent from my SPH-L900 using xda premium
Click to expand...
Click to collapse
It dipends... If you have installed a lot if apps it takes 10/15 min but if there aren't a lot of apps the boot takes 2/3min
Normal recpvery is stock? Because you must use CWM or TWPR
jasonkhoo87 said:
in odex rom, no more dalvik cache but it will have odex file for each apps. i wonder where will the odex store? can it be move to somewhere else?
Because i using sd2ext and my dalvik cache already move to ext partition.
Click to expand...
Click to collapse
When you have a deodex app in system you have:
/system/app/Phone.apk
/data/dalvik-cache/[email protected]@[email protected]
When you have odexed app in system you have:
/system/app/Phone.apk
/system/app/Phone.odex
So you mustn't change location of odex file because if you moved odex file in sd-ext (manually with symlink) you'd lose the benefit of odex (no more speed)
MatrixDJ96 said:
When you have a deodex app in system you have:
/system/app/Phone.apk
/data/dalvik-cache/[email protected]@[email protected]
When you have odexed app in system you have:
/system/app/Phone.apk
/system/app/Phone.odex
So you mustn't change location of odex file because if you moved odex file in sd-ext (manually with symlink) you'd lose the benefit of odex (no more speed)
Click to expand...
Click to collapse
Now i understand, i think for now its very risky for me.. because i have a lot of apps, worry that when i convert to odex, my internal cannot support all odex files put inside same partition...
MatrixDJ96 said:
Normal recpvery is stock? Because you must use CWM or TWPR
Click to expand...
Click to collapse
ah no wonder. yup i'm using normal recovery. since my android is less popular china brand, haven't found CWM or TWPR for mine.
will try it later after found CWM.
thanks mate
MatrixDJ96 said:
It dipends... If you have installed a lot if apps it takes 10/15 min but if there aren't a lot of apps the boot takes 2/3min
Click to expand...
Click to collapse
OK thanks. I will try it again later and give it more time to boot.
Sent from my SPH-L900 using xda premium
Thanks, ran the script on my old Frosty GN2 rom with xposed framework and it worked great. I did the dexo -all, do I still need to do the -dat option? Thanks again.
Noellenchris
EDIT: I see after browsing the file system that I will need to do the dexo -dat also as they are not odex'd. I will give this a shot as well and see how it goes. Still seems nice, it did update my apps on 2nd boot as well, wonder if it will keep doing that on each reboot.
can you make deodex tool
Hi,
So basically, I just used the dexo -all to Odex all of the following options?
Simone said:
Hi,
So basically, I just used the dexo -all to Odex all of the following options?
Click to expand...
Click to collapse
All without odex data app
MatrixDJ96 said:
All without odex data app
Click to expand...
Click to collapse
Successfully did it. Thanks.

(UPDATE 12/10/13)[SCRIPT TO ODEX] Universal Odex Script Version 6.3

Source..... http://forum.xda-developers.com/showthread.php?t=2360074
Would you like to speed up your rom, more stability, more battery life and no lag to open system app? Now you can! (Only For Rooted Phone)[/SIZE][/COLOR]
IF YOU TRIED AN OLD VERSION AND YOUR PHONE STUCK IN BOOTLOOP, YOU SHOULD DOWNLOAD LAST VERSION AND YOU SHOULD TRY AGAIN
This is possible with my Universal Odex Script Version 6.3 created by MatrixDJ96 (for base he used script dexo from Universal Dexo 3.1).
He worked 5 mounth to modify and complete this script to make it "Universal" and now I want to share it with you.
The difference between by my script and the orginal is:
- Added Commands To Odex What Do You Want
- You Can Do It Without Computer
- More Universal Than Original
- Very Simple To Use
- This Script Is Supported By Me And I Add New Features On Every Update
- Flashable Zip By Recovery
- All Tools Included In My Zip
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. So:
Odex = +speed -customization
Deodex = -speed +customization
I think that you like more speed and less customization (less costumization for dev because is to difficult mod an odex file) and for this reason you press thank and download my work!
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
My script DO (it depends by option):
- odex bootstrap
- odex framework
- odex app in system
- odex app in preload (if your phone has preload partition for device like Galaxy S3)
- odex app in data
- remove classes.dex from framework, app in system, app in preload and app in data
- zipalign from app in system, app in preload and app in data
- remove libs from app in system and app in preload because are useless (android wants libs in system/lib not in the apk) to make more free space to odex
- delete dalvik of system, of preload, of data and of framework from data/dalvik-cache
How to odex:
- download file
- go to recovery
- install zip
- reboot
- open terminal emulator (will be installed automaticaly)
- type su to obtain root permission
- type dexo -h to show possible commands for your phone
- type dexo -one of the option that you have decided
Type 'dexo -(one of the option that you have decided) -log' to create a log on sdcard
--- The phone will be rebooted automatically! ---
Command For Dexo:
+ dexo -bs (odex only boot file, bootstrap, of framework)
+ dexo -fr (odex all framework)
+ dexo -csa (odex only specific app in system
+ dexo -sys (odex all app in system)
+ dexo -fcs (odex all framework and specific app in system)
+ dexo -pa (odex preload partition)
+ dexo -cpa (odex only specific app in preload
+ dexo -all (odex all rom) (bootstrap, framework, system, preload) (NOT DATA!)
+ dexo -dat (odex app in data)
To Use dexo -csa and dexo -fcs you must create a file called csa.txt in your sdcard
In this file you write the name of apk that you want to odex, like this:
Phone.apk Browser.apk Mms.apk Dialer.apk
To Use dexo -cpa you must create a file called cpa.txt in your sdcard
In this file you write the name of apk that you want to odex, like this:
Browser.apk Mms.apk Gmail.apk Vending.apk
IMPORTANT TO ODEX YOUR ROM
To Odex Bootstrap (Command 'dexo -bs') You Must Have At Least 10% Of Free Space In System.
To Odex Framework (Command 'dexo -fr') You Must Have At Least 15% Of Free Space In System.
To Odex System Apps (Command 'dexo -sys') You Must Have At Least 20% Of Free Space In System.
To Odex Preload Apps (Command 'dexo -pa') You Must Have At Least 25% Of Free Space In Preload.
For More Info Contact Him By Email: [email protected]
WORKING IN ALL ROM (Froyo, GingerBread, IceCreamSandwich and JellBean)
AOSP
AOKP
CM
PAC
BASE STOCK
ALL!
Changelog:
Universal Odex Version 6.3
- A Lot Of Bugs Fixed
----------------------------------
Universal Odex Version 6.2
- Added 1 New Command To Odex Your Rom
> Now You Can Odex:
+ Only Specific Preload Apps ('dexo -cpa')
----------------------------------
Universal Odex Version 6.1 Private
- Fixed Minor Bug
- Rewritten Script
- Changed Command 'dexo -psa' In 'dexo -pa'
----------------------------------
Universal Odex Version 6.0 Private
- Added Controll Of Free Space In System
- Added New Command To Activate Log
> Type 'dexo -(one of the option that you have decided) -log'
----------------------------------
Universal Odex Version 5.2 Private
- Removed 'fixbox' Script Because Now There Aren't Necessary Symlink Of BusyBox
- Added Check Of Root Permission
- Updated Command 'dexo -all' To Odex Also Preload Apps
----------------------------------
Universal Odex Version 5.1
- Fixed Bug Of Odex System And Preload
----------------------------------
Universal Odex Version 5.0
- Added 1 New Command To Odex Your Rom
> Now You Can Odex:
+ Only Preload Apps ('dexo -psa') (if your phone has preload partition)
- Skipped Odex Of RootExplorer If Is Installed In System Or Preload Or Data (beacause old version can't be odexed and i prefer old version)
- Fixed A Lot Of Bug
- Changed A Little Bit The Interface
- More Universal Now
- Add New Script (Type 'fixbox') To Fix Error Of Busybox (Like clear: not found)
----------------------------------
Universal Odex Version 4.2.3
- Added 1 New Command To Odex Your Rom
> Now You Can Odex:
+ App In Data ('dexo -dat')
----------------------------------
Universal Odex Version 4.2.2
- Fixed Grep Of 'dexo -csa' And 'dexo -fcs'
----------------------------------
Universal Odex Version 4.2.1
- Fixed Bug Of Commands 'dexo -csa' And 'dexo -fcs'
----------------------------------
Universal Odex Version 4.2 Beta
- Added 2 New Command To Odex Your Rom
> Now You Can Odex:
+ Only Specific App ('dexo -csa')
+ Framework With Specific App ('dexo -fcs')
----------------------------------
Universal Odex Version 4.1.3
- Fixed BootLoop On Device Like Galaxy S2 (Fixed Permission)
----------------------------------
Universal Odex Version 4.1.2
- Updated Android Terminal Emulator
----------------------------------
Universal Odex Version 4.1.1.1
- More Compatible
----------------------------------
Universal Odex Version 4.1.1
- Fixed Remove Temp File
- Fixed Zipalign For ICS And JB
- System Now Is Mounted By Busybox
- Add Info For Android JB 4.3 And KLP 5.0
- System Apps Now Have The BCP For Odex
----------------------------------
Universal Odex Version 4.0.1
- Edited Script To Fix Some Words
----------------------------------
Universal Odex Version 4.0
- Added 4 New Command To Odex Your Rom:
> Now You Can Odex:
+ Only Bootstrap ('dexo -bs')
+ Bootstrap and Framework ('dexo -fr')
+ Only System Apps ('dexo -sys')
+ All Rom ('dexo -all')
Old Changelog:
Revision 19
- fixed bug when script can't grep preloaded-classes (now if failed, busybox will be restored)
---------------------------------
Revision 18
- Initial Public Release
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
Credits:
- Tommy Nguyen (For Universal Dexo Version 3.1)
- @MatrixDJ96 (Creator Of Universal Odex Version 6.2)
- MrTony68 (Beta Tester)
- @angel.sea (For Support)
- You (For Your Download)
Download link:
https://googledrive.com/host/0B2ftBoBlBHTIWVZITGRMenpQeWM
++++++++++++++++++++++++++++++++++++++++++++++++
ENJOY WITH MORE STABILITY, SPEED AND BATTERY LIFE!!!
Please, Give Me A Thank If You Like My Work And Give Feedback About Odex
By MatrixDJ96
Sorry mate, I did not understand head or tail from it.
Test it guys and then report here
iyengar said:
Sorry mate, I did not understand head or tail from it.
Click to expand...
Click to collapse
It will again odex your rom to improve performance like stock which is already odexed
Only for custom roms.
san122 said:
Only for custom roms.
Click to expand...
Click to collapse
hello sir
can you add a link of my original thread?
thanks
Update please
try n giv reviews
Thread updated added source
wat happen to my dialer
lost all my files
san122 said:
Thread updated added source
Click to expand...
Click to collapse
Thanks
san122 said:
Thread updated added source
Click to expand...
Click to collapse
New Update

Categories

Resources