[MOD] Re-Odex your rom - G2 General

Hi,
This is not my work but I want to share it, the original thread is here:
[SCRIPT TO ODEX] Universal Odex Script Version 6.3 (10-09-2013)(MM-dd-yyyy)
I was on stock rom so Odexed and I flashed a custom Deoxeded rom (for some features and mods)... But I loose the smoothess of my stock rom..., some kind of lags and stutters scrolling in settings, openning an app the transition animation is not smooth, etc... And by searching on the Android Development and Hacking forum I found this thread above...
I had a doubt about the real improvement... But who knows? Nandroid backup, I follow the guide and... My phone is smooth as before, apps open faster, like on stock! All the mods flashed before works, no bootloop, no force closes, all is fine
BUT there is always a but, you're custom Deodexed rom is now Odexed, nothing dramatic but good bye the mods for Deodexed rom (bootloop) so before flashing a mode make sure it's for Odexed rom...
You can flash your favorite Deoxeded rom, flash some mods and then Odex your rom, you'll keep your mods (at least for me).
For Deoxeded... Reflash your rom or a backup (Deoxeded).
Download the attached file.
Place it on your sdcard.
Reboot in recovery and in the first place make a Nandroid backup then flash the zip in recovery and reboot.
You'll see that the app Script Manager was installed, open it then type (press enter after each line):
su
dexo -all
Click to expand...
Click to collapse
A line will appear then type "Yes" and press enter, the procedure will start, maybe you'll have some Force Closes, it's normal then the phone will reboot... and enjoy!
For more details about what exactly does the script, a better explanation, etc... Take a look to the original thread.
Don't odex the Data app or you'll need to reinstall your paid apps (and before delete the .dex files), you'll encouter a lot of force closes, etc...
I tested on LG rom only...
I hope this will help
Credits to MatrixDJ96

@viking37 Thanks for sharing

MatrixDJ96 said:
@viking37 Thanks for sharing
Click to expand...
Click to collapse
Hi MatrixDJ96,
You're welcome
Thanks to you for your work, there is really an improvement

viking37 said:
Hi MatrixDJ96,
You're welcome
Thanks to you for your work, there is really an improvement
Click to expand...
Click to collapse
Sir update v6.3.1

Sorry but I there is something I couldn't understand
If I want some MODs
can I use this script to Odex after flashing my MODs on Deodexed ROM ??
will my MODs work ??:highfive:

yousefageaz said:
Sorry but I there is something I couldn't understand
If I want some MODs
can I use this script to Odex after flashing my MODs on Deodexed ROM ??
will my MODs work ??:highfive:
Click to expand...
Click to collapse
Hi,
It depends of the mods?
Generally, use your mods then Odex your rom, there is a chance that after Odexed your rom you can't properly apply other mods...
I think the OP is clear...:
Hammer_Of_The_Gods said:
BUT there is always a but, you're custom Deodexed rom is now Odexed, nothing dramatic but good bye the mods for Deodexed rom (bootloop) so before flashing a mode make sure it's for Odexed rom...
You can flash your favorite Deoxeded rom, flash some mods and then Odex your rom, you'll keep your mods (at least for me).
For Deoxeded... Reflash your rom or a backup (Deoxeded).
Click to expand...
Click to collapse
For the last version of the script, see the original thread (link in OP).
Sent from my LG-D802 using xda premium

Related

[REQ] Deodexed Stock ROM just rooted with Stock kernel with CWM

Hello,
I have request.
I would like stock deodexed ROM just rooted with busybux + su + necessary tweak.
Stock kernel with ClockWorkmod recovery.
This would have a base stock for those who just want to customize a stock rom.
Please Dev's make a simple stock ROM without theme or glow effet, CRT effect.
Just simple!
Thanks you
cerede2000 said:
Hello,
I have request.
I would like stock deodexed ROM just rooted with busybux + su + necessary tweak.
Stock kernel with ClockWorkmod recovery.
This would have a base stock for those who just want to customize a stock rom.
Please Dev's make a simple stock ROM without theme or glow effet, CRT effect.
Just simple!
Thanks you
Click to expand...
Click to collapse
If you're after this, try VillainROM 2.1 with CF-Root KG2 kernel.
That is basically what you just asked for
2.1 isn't totally deodexed (if deodexed, it will cause a browser lag to return), but all the APKs in /system/app are deodexed, and themeable, and I believe you can theme the frameworks fine too
HTH
I try your rom immediately
I like VillainROM!!
And pulser_g2 is verry accessible!
Good!
pulser_g2 said:
If you're after this, try VillainROM 2.1 with CF-Root KG2 kernel.
That is basically what you just asked for
2.1 isn't totally deodexed (if deodexed, it will cause a browser lag to return), but all the APKs in /system/app are deodexed, and themeable, and I believe you can theme the frameworks fine too
HTH
Click to expand...
Click to collapse
Is it possile to do away with your custom bootanimation. Ain't exactly my taste (sorry about that)
pulser_g2 said:
That is basically what you just asked for
Click to expand...
Click to collapse
how can y ou tell that. its themed a lot and even gmail app is removed.
its far away from stock
snudel said:
how can y ou tell that. its themed a lot and even gmail app is removed.
its far away from stock
Click to expand...
Click to collapse
I have written a "How To deodex" in this section.
Just follow it. It's working perfectly with KG2 firmware.
In order to avoid the lag deodexed browser :
In your customROM folder, just left the odexed framework folder
In the /system folder, replace deodexed browser.apk with stock odexed browser
Click to expand...
Click to collapse

[MOD][v0.0.3] re-light mod for Omega v11 Stock [absolute minimum]

!!---DISCLAIMER---!!
!---use at your own risk---!
mod/addon for:
OMEGA v11 Stock
Android 4.0.3
XWLP8 Android 4.03 (Date: 03/04/2012)
Modem XXLPS
I am already using Omega ROM v11, why do i need this crap?
if you are using Omega ROM v11 (Stock), then congratulations, you are using a very good ROM.
this mod makes it even smaller and fixes some nasty bugs.
it removes everything thats not needed to run the ROM. if you need any system app back, just push it to the phone from the original OMEGA v11 Stock rom!
Why not install the OMEGA v11 Stock ROM and remove the apps later?
if you start with all the apps, they leave traces, call home and other things.
so its better to start a ROM without these apps ever running, not even 1 time.
Where is my google maps, youtube, blabla app?
install it from the market (now called "Google Play")
Surely you stole this stuff, and you are very bad.
well, no. I have all the sources of the mods included.
Maybe i am very bad who knows
What is included?
the base for the modification is:
[ROM][XWLP8][21Apr] Omega v11 Stock
*) all apps that can be installed from the market are removed (like googlemaps, youtube ...)
*) removed Swype!!! (its the crappy version with extra umlaut-keys) if you need swipe you can install it later, or PM me for a version without extra umlaut keys
*) Phone.apk with callrecording (this time done the proper way, no FCs, compressed format for files)
*) Contacts.apk with configuable view, meaning no sms in call logs (this time done the proper way, no FCs. and settings are saved in prefs)
*) TouchWiz30Launcher.apk modded for clean startup with clean desktop (this time done the proper way)
*) moved Omega_Files_ICS_v0.1.apk from /system/app to /data/app (this thing should not be in /system/app)
*) exchanged the bootanim to NEXUS S (from Omega files), because it just looks nicer [ok, so stone me for that ...]
*) removed some annoying sounds
Charger_Connection.ogg
TW_Battery_caution.ogg
TW_Low_Battery.ogg
(so when you plugin the USB cable, it does not make that loud PING anymore)
*) removed lots of system apps/widgets and services
*) removed auto reboot after installing the ROM (you need to manually reboot after installing)
You have annoyed me long enough, how do I install this thing?
you need to download the BASE ROM (from indie's thread)
http://forum.xda-developers.com/showpost.php?p=22359679&postcount=1
download "Omega v11 Stock" !!! (it does not work for the other themes!!!)
unpack the zip file on your desktop PC
download omg11stock_patch.zip from
http://crazy5.net/omg11stock_patch.zip
unpack the omg11stock_patch.zip file into the SAME directory
answer "yes" to overwrite any files
pack the resulting directory to a new XXXX.zip file
push the XXXX.zip file to your SDCARD and flash via CWM (it does not wipe! but it is highly recommended that you WIPE !!)
Ok why do you not post the flashable zip file , why do i need to do this thing manually
i do not have persmission to post the resulting ROM.
the mod is based on ::indie:: OMEGA v11 Stock. so i can only post a mod, sorry.
If you like it, or use it, or i sets your cat on fire, please post some feedback or give thanks
reserved
thans i will try
Hi mate, I would like to try this but I use the ICS theme ROM, will it work with that??
bulla80 said:
Hi mate, I would like to try this but I use the ICS theme ROM, will it work with that??
Click to expand...
Click to collapse
i fear it will work, but you will have stock look on some applications
ask indie to support it, then i will make it for all future OMEGA roms
Have you ask indie ? Have you the permissions?
downloading tongiht..will report back!
i have NOT tested with OMEGA v11.1 (only with v11)
but i think it will work also, i may test tomorrow
karl999999 said:
i have NOT tested with OMEGA v11.1 (only with v11)
but i think it will work also, i may test tomorrow
Click to expand...
Click to collapse
How are you getting on with this Karl999999?
I repeat my question : Have you ask indie ? Have you the permissions?
If you haven't ask Indie, you will be banned.
sangosnip69 said:
I repeat my question : Have you ask indie ? Have you the permissions?
If you haven't ask Indie, you will be banned.
Click to expand...
Click to collapse
a) whats your problem dude?
b) i am in contact with indie, he knows about this post even before i posted it
c) this is just a mod, its NOT a rom. everything inside this zip is MY WORK!
if you ban this, then i dont know whats going on here ...
nickmax1 said:
How are you getting on with this Karl999999?
Click to expand...
Click to collapse
have not yet had the time. anybody else test this on v11.1 ?
i will try this weekend for sure (if there is not yet another version published)
can you explain what you mean exactly by extra umlaut keys on Omegas version of swype?? Is this for German language only??
nickmax1 said:
can you explain what you mean exactly by extra umlaut keys on Omegas version of swype?? Is this for German language only??
Click to expand...
Click to collapse
yeah its for german only. you can see it in this picture:
http://www.mobiflip.de/wp-content/uploads/2011/12/swype-razr-600x202.jpg
left normal, right with extra umlaut keys. and you have to use them.
or here also with extra umlaut keys:
http://static.androidnext.de/swype-3-2-6-screenshot.png
if you are looking for a swype version that is working fine on OMEGA v11 and v11.1
then PM me
Thanx for this lite version, i for one enjoy lite, even super lite(thinking of insanity)
It will work for v11.1 because the only thing you modified which changed in this version is the phone mod (you just won't have the full screen photo mod).
I took a look at your work, and your updater-script is REALLY messy...
You also delete the data/app folder which contains the user's apps. Not cool.
Some important files are also deleted, strange (here) ! Everything is still working after applying this ? ._.
It takes 5 minutes to theme the 3 apps modified, why didn't you do it ? ... If you modded these apps properly, it should be easy for you.
Here are the two zips themed for BB and ICS. I didn't test. It should work (as the stock one do).
Black blue
ICS
Joravis said:
I took a look at your work, and your updater-script is REALLY messy...
You also delete the data/app folder which contains the user's apps. Not cool.
Some important files are also deleted, strange (here) ! Everything is still working after applying this ? ._.
Click to expand...
Click to collapse
messy? not really.
yeah data/app is deleted because those can be installed from the market. not everybody want so much stuff installed
and yes everything works after applying this. thats the point. everything useless is removed. if you need any of those samsung bloatware things, dont use this mod

{2.3.4 - API LEVEL 10} General Odex Script

General ODEX Script
By Various Devs
-----------------------------------------------------------------------------------------
Seeing other devs recently ODEX-ing their roms in order to decrease boot and app load time I fought of those roms that may not be ODEX.
Therefore I want to share this zip that will ODEX any GB rom out here.
This is the general script those ODEX-ed roms we have use.
Download:
http://www.mediafire.com/?l4aau7pmmgtid
-----------------------------------------------------------------------------------------
Credits
I don't really know lol
​
(Not Tested on CM7)
why should anyone want to increase their boot and app loading times? lol
alex.mircea0509 said:
why should anyone want to increase their boot and app loading times? lol
Click to expand...
Click to collapse
Sorry I miswrote lol.
Increasing The Decreasement of Loading Times which is what I meant. (Yeah it kinda does not make sense.)
and how do you use this? you just simply flash it? was it tested? of what improving are we talking about? is it noticeable?
i'm on NXT 1.3 (I guess it's based on 58 or 64 GB... donno anymore.. i'm stable for almost 6 months now).. will it work on this?
thx
alex.mircea0509 said:
and how do you use this? you just simply flash it? was it tested? of what improving are we talking about? is it noticeable?
i'm on NXT 1.3 (I guess it's based on 58 or 64 GB... donno anymore.. i'm stable for almost 6 months now).. will it work on this?
thx
Click to expand...
Click to collapse
Flash It Like A Rom/Zip
It works on all slots (Multiboot) if using Turbo Kernel
Boot Time Change is noticeable.
why is this script deleting all files in /data/dalvik-cach/ ? wouldn't making sense to just delete dex files of the newly odexed system apps or framework ?
sheraro said:
why is this script deleting all files in /data/dalvik-cach/ ? wouldn't making sense to just delete dex files of the newly odexed system apps or framework ?
Click to expand...
Click to collapse
A mixture of ODEXed and Deodexed files can cause problems.
Some apps have different dalvik when ODEX.
It is a stability measure.
Sent from my GT-I9300 using xda app-developers app
Any assurance of this mod to work?? Just curious.
Regards,
Sdojoin
sdojoin said:
Any assurance of this mod to work?? Just curious.
Regards,
Sdojoin
Click to expand...
Click to collapse
Tested on DEODEXED Aurora and My Rom
Something like this is possible on ics or jb roms?
farenheith said:
Something like this is possible on ics or jb roms?
Click to expand...
Click to collapse
There are a lot of ODEX methods and scripts out there.
I just uploaded the CWM Method used in the ODEX Roms we currently have.
This could work on JB/ICS but not guaranteed (Phone/Contacts apks may FC)
i flashed tihs on dixperia2 rom and it dosen't boot anymore it freezes on boot logo
funnies7 said:
i flashed tihs on dixperia2 rom and it dosen't boot anymore it freezes on boot logo
Click to expand...
Click to collapse
Clean install?
Sent from my GT-I9300 using xda app-developers app
funnies7 said:
i flashed tihs on dixperia2 rom and it dosen't boot anymore it freezes on boot logo
Click to expand...
Click to collapse
It's usually because of your android.policy.jar.
Either that or you have jar's that contain no 'meta-data'.
Open up all your Jar's in /System/Framework and see what's missing.
half of my system apps don't have their odex files even after fllashing the zip multiple times ! i don't know what's keeping them from odexing
also if i transfer any new app to system/app , its odex file can't be generated ...
sheraro said:
half of my system apps don't have their odex files even after fllashing the zip multiple times ! i don't know what's keeping them from odexing
also if i transfer any new app to system/app , its odex file can't be generated ...
Click to expand...
Click to collapse
It is a small script that does not ODEX everything but only small amount of files.
Full ODEXing is reccomended through ADB and not CWM.
Some things can't be ODEXed in CWM
Also this only ODEXes apps used by system, your own apps will not be ODEXed even if you move to system and re-run script
Sent from my GT-I9300 using xda app-developers app
Dude, how come the statusbar disappear after odexing?? Its like there's no systemui present. Not even an fc popup. Just no statusbar. I've tried several times still got the same result. Any clue what might be the prob??
Regards,
Sdojoin
sdojoin said:
Dude, how come the statusbar disappear after odexing?? Its like there's no systemui present. Not even an fc popup. Just no statusbar. I've tried several times still got the same result. Any clue what might be the prob??
Regards,
Sdojoin
Click to expand...
Click to collapse
I have no idea, I just decided to share the script other devs use for those who are unaware/want to ODEX their roms, I can't tell you exactly.
Cache and Dalvik clean are recommended though.
Noted.
Regards,
Sdojoin
Does this work on Xperia NXT 2 r1 by krisdee?

Smart call handling ported from Z2

Thought to share this mod from http://forum.xda-developers.com/showthread.php?t=2667925 for our Z Ultra.All credits goes to the dev,i just share it here.
Edit :For deodexed ROM only.Tested on Monx ROM.
Sent from my C6802 Monxdified ROM
how bout the settings?
did you have seetings.apk for z ultra?
U just need to flash the zip file from inside the link provided
Sent from my C6802 Monxdified ROM
Not working for me. Have monx installed
before i get your thread, i was already flashing from that thread before, copying their setting mess up mine, need to restore system
I read the thread and decide to just flash the zip file, for stock rom
and it shows up, smart call handling, in settings
thanks dude ^^
Justin^Tan said:
before i get your thread, i was already flashing from that thread before, copying their setting mess up mine, need to restore system
I read the thread and decide to just flash the zip file, for stock rom
and it shows up, smart call handling, in settings
thanks dude ^^
Click to expand...
Click to collapse
Glad that's help u dude
Sent from my C6802 Monxdified ROM
-delete
I flaahed it twice again. Now it works finally, thanks for.the mod ?
skylinestan said:
Thought to share this mod from http://forum.xda-developers.com/showthread.php?t=2667925 for our Z Ultra.All credits goes to the dev,i just share it here.
Edit :For deodexed ROM only.Tested on Monx ROM.
Sent from my C6802 Monxdified ROM
Click to expand...
Click to collapse
It will work on ODEXED stock rom?
Feodorus 4PDA said:
It will work on ODEXED stock rom?
Click to expand...
Click to collapse
I'm not sure if it's works for odexed ROM..u can try but make sure to backup 1st before flashing this mod
Sent from my C6802 Monxdified ROM
skylinestan said:
I'm not sure if it's works for odexed ROM..u can try but make sure to backup 1st before flashing this mod
Sent from my C6802 Monxdified ROM
Click to expand...
Click to collapse
At Odexed Rom doesn't work. When deleting SemcSettting.odex the "SETTING" icon in applications disappears.
All files in system/framework need to be either odexed or deodexed (unlike system/app which can have a mix). If you haven't deodexed all files in framework then you must have an odex version for this, which we don't, so deodexed only (deleting odex files doesn't work as deodexing is merging the two files not just deleting one of them)
Sent from my C6833 using Tapatalk

Question

hi all
is there nobody out ( @Rajeev, @Pandemic, @niaboc79 ...) for cooking a simple non-customized Stock D6503 23.4.A.1.232 flashable ROM
which is deodexed, pre-rooted and with Super User Mod (patched services.jar) inside???
All stock ROMs 232 are modified the more the less by its builder.
But i just want a clean one with the things mentioned above.
Creating a flashable ROM with PRFcreator will do the trick, but these ROMs aren´t deodexed and have no Super User Mod inside.
So come on guys...
moonryder said:
hi all
is there nobody out ( @Rajeev, @Pandemic, @niaboc79 ...) for cooking a simple non-customized Stock D6503 23.4.A.1.232 flashable ROM
which is deodexed, pre-rooted and with Super User Mod (patched services.jar) inside???
All stock ROMs 232 are modified the more the less by its builder.
But i just want a clean one with the things mentioned above.
Creating a flashable ROM with PRFcreator will do the trick, but these ROMs aren´t deodexed and have no Super User Mod inside.
So come on guys...
Click to expand...
Click to collapse
deodexing your rom is pretty easy, I wrote a short guide here : http://forum.xda-developers.com/showpost.php?p=63302497&postcount=2
as for patching system.jar , if you use xposed it can be done easily using one of the adds
this way you can stay up to date with a deodexed rom
ticktock666 said:
deodexing your rom is pretty easy, I wrote a short guide here : http://forum.xda-developers.com/showpost.php?p=63302497&postcount=2
as for patching system.jar , if you use xposed it can be done easily using one of the adds
this way you can stay up to date with a deodexed rom
Click to expand...
Click to collapse
i will try it, thx for that
one questions: before this procedure i need an installed pre-rooted stock rom created with PRF-creator. Right?
moonryder said:
hi all
is there nobody out ( @Rajeev, @Pandemic, @niaboc79 ...) for cooking a simple non-customized Stock D6503 23.4.A.1.232 flashable ROM
which is deodexed, pre-rooted and with Super User Mod (patched services.jar) inside???
All stock ROMs 232 are modified the more the less by its builder.
But i just want a clean one with the things mentioned above.
Creating a flashable ROM with PRFcreator will do the trick, but these ROMs aren´t deodexed and have no Super User Mod inside.
So come on guys...
Click to expand...
Click to collapse
If there's such a demand for it perhaps you could make this for others?
Cluey said:
If there's such a demand for it perhaps you could make this for others?
Click to expand...
Click to collapse
i tried it but i have no success in deodexing (tried it about 1 day with different methods) - after flashing the deodex_patch.zip with the deodexed files inside i always stuck in bootloop.
I'd love to do this, but I have a super ****ty connection and it would take me forever to upload, not to mention connection dropping completely.
Any suggestions for and app that will allow me to upload somewhere and resume on connection drop ? will dropbox work, or the mega app ?

Categories

Resources