Update: Ready to go!
raiderep turned me onto this idea in irc. Eventually I would like to see it become a boot script to process and odex new files at startup. For now it's a standalone odexer and deodexed restoration tool.
OK. Here's the whole kit and kaboodle.
I need proof-reading, suggestions, help with the release blurb, and maybe some suckers, er testers, to try it out. ;) It's ready to go! Please get back to me ASAP. We want this released soonest.
With one click it odexes, with another click it restores. How much simpler could it get? :D
http://dl.dropbox.com/u/17599767/One...dexer_v1.0.zip
README.TXTCode:OneClickOdexer v1.0 - Linux/Mac/Windows package by Kim Middleton ( tanimn _@_ http://WWW.hotmail.com ) for ACS ( Android Creative Syndicate ) Exclusively for use on Samsung Epic 4G handsets. Based on work by Paul O'Brien @ http://www.MoDaCo.com Thanks to raiderep, joeykrim, skeeterslint, rjmjr69, and ACS. PREREQUISITES: USB Cable. Correctly installed and configured drivers for your handset. Root permissions on your handset. A NANDROID BACKUP!!! DETAILS: OneClickOdexer is an odexing and restoral tool for deodexed roms. It will determine if it has been previously run and automatically odex your rom or restore it to a deodexed state. If a critical error occurs, it will return your phone to it's previous state. Care has been taken to only odex apps that come stock with an odex file. With one click, it odexes. With one click, it restores. PROS: Increases speed by about 15% Reduces memory usage More space available on /data Reduced use of dalvik-cache CONS: Might need to re-add some widgets and home screen icons Need to restore your deodexed system to make any theme swaps (But that's just one click away...) ERRATA: Backups: Please perform a nandroid backup before making any major modifications to your handset's software. Modifications such as changing how the dalvik virtual machine functions in your phone can sometimes prove unpredictable... Mounting the SD Card: Do NOT have the sd card mounted to the PC when attempting to run this script. Do NOT attempt to run this script while your handset is scanning media. /sdcard/odex: Do not touch the /sdcard/odex folder unless you intend to flash a new rom or restore from nandroid backup. If you swap sdcards please make sure to have the correct one inserted when attempting to restore. Root: You may have to unlock your screen and accept a popup request from the Superuser application when this script executes. Manual Usage: This package includes a script called odex.sh to perform the functions with direct user control. To use that script instead of the one click method do the following: push the contents of the odex folder to /data/local/tmp on your handset via adb login to your handset via adb or local terminal su to root (if required) chmod 755 /data/local/tmp/odex.sh execute /data/local/tmp/odex.sh select your desired action from the menu
Similar Threads:
Thanks.Originally Posted by thomasskull666
It would be even sicker if it finished what it's supposed to do. ;)
I'm wondering why you would wish to re-odex your files. Please enlighten me.
Me too had the same question
Sent from my SPH-D700 using Tapatalk
The short answer is speed and space.Originally Posted by juryduty
If the benefits are good enough, I might even build it into my rom to automatically odex modified files on boot...
So themes will work while being odex correct
Sent from my SPH-D700 using Tapatalk
That's the idea, yes.Originally Posted by Perdurablo
Eventually write it into the startup so that if you install a theme, upon reboot the script detects modified files and creates new odex files for them.
Aside from a second reboot after installing the theme, it could be made to be utterly transparent to the user.
so I'm taking it we would have to run a deodex script, theme, then reboot and the theme is there optimized and re odexed. Next question is there anything I can help with with my limited knowledge
Sent from my SPH-D700 using Tapatalk
This found promising as I notice a 10% performance and stability with a odexed rom
Sent From Da Hood.
If i helped you out in away please help me and Buy Me A Beer
Follow Me On Twitter @MysteryEmotionz
ACS: Rom Cook, Themer, Trouble Maker