[Q]Odex files - Samsung Captivate Glide

I just deleted the system ui odex file for the 14 toggles mod, and I was wondering if anything negative will happen if I remove all of them, and what the benefits of doing so are. I realize there are deodexed roms out there, but I'm not sure of what that does.
Sent from my SGH-I927R running stock ICS

MorrowindFan said:
I just deleted the system ui odex file for the 14 toggles mod, and I was wondering if anything negative will happen if I remove all of them, and what the benefits of doing so are. I realize there are deodexed roms out there, but I'm not sure of what that does.
Sent from my SGH-I927R running stock ICS
Click to expand...
Click to collapse
in .odex files some apps are outsourcing libraries and other stuff.
so it seems no good idea to simply delete them
Source: http://www.droidwiki.de/DEODEXED (german)

Alright. Thank you!
Sent from my SGH-I927R running stock ICS

Related

What's Deodex and Odex?

I've been seeing those words a LOT in recent threads.
Any detailed explanation on them please?
[search] deodex [/search]
Berzerker said:
De-odex: Apk files have respective odexes that devs use to supposedly save space. Deodexing means you convert it back to a .dex file and put it back inside the apk. This allows you to easily replace files (not having to worry about odexes), but the main point was to deodex services.jar so that you can change all text to different colors (such as the clock color to white) and to deodex services.jar, you need to deodex everything.
Click to expand...
Click to collapse
danknee said:
[search] deodex [/search]
[/I]
Click to expand...
Click to collapse
How does it matter to regular user?
donniezazen said:
How does it matter to regular user?
Click to expand...
Click to collapse
Themes mostly.
sk63 said:
Themes mostly.
Click to expand...
Click to collapse
Thanks. Are themes available in Deodex or Odex? Sorry for noob questions.
Related question also....
- Which can live with which? (Deodexed ROM + Odexed Theme? or Odexed ROM + Deodexed Theme?)
You know, like type O is universal donor and type AB is universal recipient...do these work similar or only deodexed with deodexed...?
(where is that darn wiki??)
sablesurfer said:
Related question also....
- Which can live with which? (Deodexed ROM + Odexed Theme? or Odexed ROM + Deodexed Theme?)
You know, like type O is universal donor and type AB is universal recipient...do these work similar or only deodexed with deodexed...?
(where is that darn wiki??)
Click to expand...
Click to collapse
Dear GOD,
Please come down from heaven and explain by some magic show what the hell these deodexed and odexed means?
Thank you,
A non-believer.
donniezazen said:
Dear GOD,
Please come down from heaven and explain by some magic show what the hell these deodexed and odexed means?
Thank you,
A non-believer.
Click to expand...
Click to collapse
Deodexed ROMs have their .apk's (which are basically the application packages) repackaged in a certain way. An "odex" can be thought of as a collection of parts of applications that have been pulled out and optimized before booting. This speeds up the boot process - in a way, it preloads part of the applications - but it also makes hacking those apps difficult because part of the original code is already extracted somewhere else.
Deodexing is just a process of putting those pieces back into the original applications. It takes a while to extract those parts and build the .dex cache (aka Dalvik cache), but only because the relevant parts aren't in an easy-to-access place for the system. The advantage of this is that an app can be modified effectively and the developer doesn't have to worry about conflicts from the separate odex part of the code.
So, short version: "Deodexed" ROMs have all their apps put back together. If an app can be themed, for example, a deodexed version of that app will not get messed up when the modified .apk tries to mesh with the odex of the original un-modified .apk. Because it's not there.
If you want an aftermarket theme, you need a deodexed ROM. I'm not sure if deodexing can be done to individual apps within a non-deodexed ROM.
I think that's the general idea, anyway.
sablesurfer said:
Related question also....
- Which can live with which? (Deodexed ROM + Odexed Theme? or Odexed ROM + Deodexed Theme?)
You know, like type O is universal donor and type AB is universal recipient...do these work similar or only deodexed with deodexed...?
(where is that darn wiki??)
Click to expand...
Click to collapse
You will never find an odexed theme since the odex file would contain things that needed to be changed, thus themes are deodexed. Themes basically just replace the .apk or .jar with their version, which wouldn't work on an odexed rom.
donniezazen said:
Dear GOD,
Please come down from heaven and explain by some magic show what the hell these deodexed and odexed means?
Thank you,
A non-believer.
Click to expand...
Click to collapse
Basically, Android uses a a java based virtual machine as the bases for running programs. This virtual machine is called Dalvik. A .dex file contains the cache used by the Dalvik VM (called Dalvik-cache) for a program and is stored inside the .apk. A .odex file is an optimized version of the .dex file which gets stored next to the .apk as opposed to inside the .apk. This process is done by default to system apps. Deodexing is the process of converting the .odex files back into .dex to be stored inside the .apk so that things can be more easily modified. So a deodexed rom is one that has been through the deodexing process. Deodex can just as easily be called Unodex or any other pre-fix you wish to use.
Hopefully that cleared that up.
EDIT: Darn, beaten.
Thank you all. So...themes are deodexed. And only run on deodexed rom...got it. Meaning...I need a deodexed version of the new Froyo to keep my white Rosie. Cool.
faster3200 said:
EDIT: Darn, beaten.
Click to expand...
Click to collapse
Yeah, but you clearly know it better than I do.
if you install a de-odexed rom, will the system automatically rebuild the Dalvik cache and appropriately odex the apk's, or is this something that a dev needs to do manually beforehand? In other words, are there any disadvantages to a de-odexed rom other than an initially slower phone? will the phone eventually rebuild the cache and perform as an odexed system would?
^bump^
Same question as vinconti - will a deodexed ROM run slower than an odexed one?
Thanks
<InigoMontoya>You keep using that word. I do not think it means what you think it means.</InigoMontoya>
Thanks for the explanations, all. I just rooted my D2 but haven't done any themes yet. This helps, but only from the standpoint of I'll have to get back into flashing. I thought I left that behind when I trashed my Omnia.
I have a regular odexed ROM. I replace some of the apk+odex files by deodexed APK's, so that seems to be no problem. But I was wondering whether this would also work for jar+odex files (e.g. android.policy.jar)....
kasper_h said:
I have a regular odexed ROM. I replace some of the apk+odex files by deodexed APK's, so that seems to be no problem. But I was wondering whether this would also work for jar+odex files (e.g. android.policy.jar)....
Click to expand...
Click to collapse
If this does actually work without problems does that mean we'd only have to de-odex certain .apks rather than the whole ROM?
KrushR said:
<InigoMontoya>You keep using that word. I do not think it means what you think it means.</InigoMontoya>
Thanks for the explanations, all. I just rooted my D2 but haven't done any themes yet. This helps, but only from the standpoint of I'll have to get back into flashing. I thought I left that behind when I trashed my Omnia.
Click to expand...
Click to collapse
Thanks for the Inigo moment. You made my night.
Question to the room: Do I need this deodexing thing just to install apps and run the wifi tether (the whole reason I'm venturing into root territory to begin with)? I don't care what it looks like, I just want it to provide wifi to my soon-to-be-rooted Nook Color. Thanks in advance.
But... All I want is WiFi tethering!
lngwstx said:
Question to the room: Do I need this deodexing thing just to install apps and run the wifi tether (the whole reason I'm venturing into root territory to begin with)? I don't care what it looks like, I just want it to provide wifi to my soon-to-be-rooted Nook Color. Thanks in advance.
Click to expand...
Click to collapse
This is pretty much my question as well. This whole Odex/Deodex thing is totally frying my brain.
I'm not trying to do anything fancy, I just want to use the WiFi tether feature. Which one is good enough for just doing THAT?
keep your advice for yourself
donniezazen said:
Dear GOD,
Please come down from heaven and explain by some magic show what the hell these deodexed and odexed means?
Thank you,
A non-believer.
Click to expand...
Click to collapse
keep your advice for yourself
How to Deodex?

[Q] Request Stock 4.22.651.2 odexed % Battery Mod

So far every mod or method I have attempted to complete, sends my phone into a start up boot loop.
I am on stock rooted 4.22.651.2 odexed. I can change the stock icons using ninjamorph, but once I attempt to change any xml, the phone fails to function.
Any help would be appreciated.
Odexed roms can't be themed or modded, if you want themes and mods you have to use a deodexed rom that's why.
Odexed=no themes, faster startup
Deodexed=themes, mods etc
Sent from my PC36100
dirkyd3rk said:
Odexed roms can't be themed or modded, if you want themes and mods you have to use a deodexed rom that's why.
Odexed=no themes, faster startup
Deodexed=themes, mods etc
Sent from my PC36100
Click to expand...
Click to collapse
Ok, my bad. I thought it was possible since I was able to change the battery icons using ninjamorph.
If I install a deodexed rom and make the changes I want can i backup the rom as a odexed rom?

Themes for odex?

So I am actually enjoying the stock feel of my gs3. I of course have rooted, however I cannot seem to find any themes compatible with odex. Maybe I'm a noob and they just don't exist, but here's what I'm asking:
Are there any themes that work for stock odex?
If not how do I keep my current system and setup and deodex it?
Sent from my SPH-L710 using xda app-developers app
i havent seen any theme for odex yet but i recommend StrongSteve Blue Odex rom, thats what im running and its awsome...good luck hope it helps
As I understand it if you want to theme an odexed Rom you basically have to replace most of the rom and it ends up very rom specific. I don't think anyone would go through the effort. If you want to play with themes you should probably run a deodexed rom. The downside is that deodexed roms run a tiny bit slower. I doubt that is even noticeable on an SGS3.
Me, I don't care about themes and the stock rom has been awsome.
poit said:
As I understand it if you want to theme an odexed Rom you basically have to replace most of the rom and it ends up very rom specific. I don't think anyone would go through the effort. If you want to play with themes you should probably run a deodexed rom. The downside is that deodexed roms run a tiny bit slower. I doubt that is even noticeable on an SGS3.
Me, I don't care about themes and the stock rom has been awsome.
Click to expand...
Click to collapse
odex themes are too specific like mentioned above. DL a stock deodexed rom, and give one of my themes a try. JellyBomb Domination is my fav.
yoniinfante said:
i havent seen any theme for odex yet but i recommend StrongSteve Blue Odex rom, thats what im running and its awsome...good luck hope it helps
Click to expand...
Click to collapse
+10000 for StrongSteve!! :good:
Thanks for the replies. I figured there wouldn't be any odex themes I was just hoping for the best. I love the pics domination theme I just don't know if I want to run a different from on this phone yet since it runs so great right now. I flashed dozens of roms to my epic 4g so I'll probably eventually end up doing it when I get bored with what I have and some nice tweaks and mods come out.
Sent from my SPH-L710 using xda app-developers app
Do you have custom recovery? If you are up for it I can give you instructions on how to turn a theme into odex yourself. Let me know if you are game.
Sent from my SAMSUNG-SGH-I747 using xda premium
poit said:
As I understand it if you want to theme an odexed Rom you basically have to replace most of the rom and it ends up very rom specific. I don't think anyone would go through the effort. If you want to play with themes you should probably run a deodexed rom. The downside is that deodexed roms run a tiny bit slower. I doubt that is even noticeable on an SGS3.
Me, I don't care about themes and the stock rom has been awsome.
Click to expand...
Click to collapse
Umm.. Yeah.. I went through the effort.. smh
---------- Post added at 04:40 PM ---------- Previous post was at 04:39 PM ----------
crawrj said:
Do you have custom recovery? If you are up for it I can give you instructions on how to turn a theme into odex yourself. Let me know if you are game.
Sent from my SAMSUNG-SGH-I747 using xda premium
Click to expand...
Click to collapse
my ol buddy..
strongsteve said:
Umm.. Yeah.. I went through the effort.. smh
---------- Post added at 04:40 PM ---------- Previous post was at 04:39 PM ----------
my ol buddy..
Click to expand...
Click to collapse
Been a long time! I am starting to work my way back into things. I would like to catch up with you at some point.
crawrj said:
Do you have custom recovery? If you are up for it I can give you instructions on how to turn a theme into odex yourself. Let me know if you are game.
Sent from my SAMSUNG-SGH-I747 using xda premium
Click to expand...
Click to collapse
Hi craw. I do have CWM and am rooted, so if the instructions are rather simple in converting a theme into odex I'm game to try it! I would love the ICS Domination theme but I just don't think I'm ready yet to start flashing Custom Roms. Like I said I did it all the time on my GS1 Epic 4g but I actually like the way this phone is running stock I just can't stand the green and want blue!
StrongSteve I have reviewed the posts on your thread for the themed odex rom you built and if I were to start running a Custom Rom yours would be the first I would try so I thank you for your efforts.
mmayo01 said:
Hi craw. I do have CWM and am rooted, so if the instructions are rather simple in converting a theme into odex I'm game to try it! I would love the ICS Domination theme but I just don't think I'm ready yet to start flashing Custom Roms. Like I said I did it all the time on my GS1 Epic 4g but I actually like the way this phone is running stock I just can't stand the green and want blue!
StrongSteve I have reviewed the posts on your thread for the themed odex rom you built and if I were to start running a Custom Rom yours would be the first I would try so I thank you for your efforts.
Click to expand...
Click to collapse
You would definitely enjoy his rom. Very fast and snappy with no green.
Sent from my SGS3. while experiencing some Wicked Sensations.
mmayo01 said:
Hi craw. I do have CWM and am rooted, so if the instructions are rather simple in converting a theme into odex I'm game to try it! I would love the ICS Domination theme but I just don't think I'm ready yet to start flashing Custom Roms. Like I said I did it all the time on my GS1 Epic 4g but I actually like the way this phone is running stock I just can't stand the green and want blue!
StrongSteve I have reviewed the posts on your thread for the themed odex rom you built and if I were to start running a Custom Rom yours would be the first I would try so I thank you for your efforts.
Click to expand...
Click to collapse
ok just got home. If you or someone can go to the root directory of the phone and view init.rc. A few lines down you will see bootclass... copy and paste that line for me.
Sent from my SAMSUNG-SGH-I747 using xda premium
crawrj said:
ok just got home. If you or someone can go to the root directory of the phone and view init.rc. A few lines down you will see bootclass... copy and paste that line for me.
Sent from my SAMSUNG-SGH-I747 using xda premium
Click to expand...
Click to collapse
Can you be a little more specific. I opened init.rc in root explorer, but i couldn't find anything that was related to "bootclass"
mmayo01 said:
So I am actually enjoying the stock feel of my gs3. I of course have rooted, however I cannot seem to find any themes compatible with odex. Maybe I'm a noob and they just don't exist, but here's what I'm asking:
Are there any themes that work for stock odex?
If not how do I keep my current system and setup and deodex it?
Sent from my SPH-L710 using xda app-developers app
Click to expand...
Click to collapse
there is a stick deoxed rooted flash in development... Freeza made it
Sent from my SPH-L710...if some one helps you press the thanks button
mmayo01 said:
Can you be a little more specific. I opened init.rc in root explorer, but i couldn't find anything that was related to "bootclass"
Click to expand...
Click to collapse
You are looking for this. If it is the same just let me know.
export BOOTCLASSPATH /system/framework/core.jar:/system/framework/core-junit.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/framework2.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/apache-xml.jar:/system/framework/filterfw.jar:/system/framework/sec_edm.jar:/system/framework/seccamera.jar
Sent from my SAMSUNG-SGH-I747 using xda premium
export BOOTCLASSPATH /system/framework/core.jar:/system/framework/core-junit.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/framework2.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/apache-xml.jar:/system/framework/filterfw.jar:/system/framework/sec_edm.jar:/system/framework/seccamera.jar
Sent from my SPH-L710 using xda app-developers app
mmayo01 said:
export BOOTCLASSPATH /system/framework/core.jar:/system/framework/core-junit.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/framework2.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/apache-xml.jar:/system/framework/filterfw.jar:/system/framework/sec_edm.jar:/system/framework/seccamera.jar
Sent from my SPH-L710 using xda app-developers app
Click to expand...
Click to collapse
First of all I want to thank StrongSteve for being the one who helped me learn how to Odex way back on the olden S2 with gingerbread
OK so let's get started. I am not positive if this is necessary but I have been doing it this way since I started Odexing. If you have multiple jar files that you are going to Odex follow the bootclass order when Odexing.
Remember to make a backup first just in case.
What you need. You will need the Deodexed files that you want to Odex, custom recovery, ADB (attached if needed), an Odexed rooted Rom that you want to use your mod on, busybox and the attached dexopt-wrapper.
The below is an example. You will replace the text marked in red with the actual jar that you want to Odex.
What I do is make a folder called Odexed on the root of my internal storage
I keep the dexopt-wrapper file on the root of my internal storage
Copy the Deodexed files that you want to odex into the Odexed folder
Do a nandroid backup of your phone
Make sure you are rooted
Make sure your phone has usb debugging enabled
Attach your phone to your computer
Open a command prompt and go to the adb folder
Type adb shell
Type su (check your phone to see if it is asking for permission and allow it if so)
Enter the following commands
mount -oremount,rw /dev/block/mmcblk0p14 /system
cp /sdcard/dexopt-wrapper /system/xbin
cp /sdcard/odexed/core.jar /system/framework
dexopt-wrapper /system/framework/core.jar /system/framework/patched_core.odex /system/framework/core.jar:/system/framework/core-junit.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/framework2.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/apache-xml.jar:/system/framework/filterfw.jar:/system/framework/sec_edm.jar:/system/framework/seccamera.jar
chmod 777 /system/framework/core.odex
chmod 777 /system/framework/patched_core.odex
busybox dd if=/system/framework/core.odex of=/system/framework/patched_core.odex bs=1 count=20 skip=52 seek=52 conv=notrunc
cp /system/framework/patched_core.odex /sdcard/odexed/core.odex
rm /system/framework/patched_core.odex
If you are odexing other files repeat the process starting from step 14
Once all of the Jar files are done you can Odex any apk files that you have. Note: framework-res.apk was never odexed so you can just skip that file.
For apks you only need to run this command dexopt-wrapper sdcard/odexed/SystemUI.apk sdcard/odexed/SystemUI.odex replacing SystemUI with the apk name that you are Odexing
Now copy all of the files from the Odexed directory on the phone to your computer
Open each of the jar and apk files with a program like winrar and delete the classes.dex file
Copy the files back into the respective folders on the phone, apps into system/app and framework into system/framework
Alternatively you can take the original theme zip and replace the files with the ones you just created including the odex files and flash in recovery. *Probably the best way to do it
If you have any questions or issues let me know and I will try and help you out. Good luck and let us know how it goes either way.
Nice detailed write up......Than you! ^^

[ICS][MOD][CWMR]Long Press volume changes music track

So after desperatley wanting this mod to work on my captivate glide at any cost, i went after it myself. It looked easy at first but turned out to consume a lot of hours figuring out how to compile decompile and understand basics of smali.
What it does ?
As in the title, pressing the volume buttons a little longer (400 ms) will make the stock music player skip to next track (up vol) or previous track (down vol). This only works while the screen is off and phone locked which is basically the purpose . Right now will work on deodexed ROMs only, meaning pepole having "android.policy.odex" file in the system/framewrok folder would not be able to use this mod.
Caution : The mod if goes wrong can/will make your phone stuck at the boot animation unless the mod is removed. Copy both the files so you can restore your original file back in case it doesn't work for you.
How to Install
1) Make sure you are rooted. and boot into CWMR.
2) Flash LongPressVol.zip - Installs the mod and takes backup
3) Wipe Dalvik and Cache partition
4) Reboot and "Upgrading android" screen should show up.
You are done and now test it and let me know if it works for you. Enjoy!!!
Restore original/Remove Mod :
1) Boot into CWMR.
2) Flash LongPressVolRemove.zip - Restores your original android.policy.jar file
3) Wipe Dalvik and Cache partition
4) Reboot
Tested to be working fine on following ROMs
Nardholio's NardROM 0.4
Thegreatergood's LiteROM .4
Credits : Ported with help from the guide posted by jakubklos -> http://forum.xda-developers.com/showthread.php?t=1770564
Next update :
CWM flashable zip (will need some time to learn how to do that - Done
Post the Diff and the code to make it easier for other roms to include it if the android.policy.jar changes. - In progress
Awesome, been missing this mod since leaving my DHD
CWM Flashables worked great..... But since I'm using the stock rom which has not been deoxed it did not work.
It booted though didn't notice any adverse affects
Not to put you on the spot but do you think you could use the UCLH2 .jar and make a version that will use odex. not sure if anything would have to be done to the odex file but I have included the non odexed android.policy.jar files if you wouldn't mind taking a stab at it. If you could just modify the .jar file I'll test it. I would be forever in your debt!
Sent from my SGH-I927 using xda premium
Force closes PowerAMP and Nova Launcher.
Tested on ICS Leak.
Just delete the odex file and clear cache and you should be fine. You don't have to deodex the whole ROM.
or for extra points you can reodex, which theoretically will boost speeds a bit (although I'm experiencing wonderful speeds on my ROM). Redodexing is pretty easy (just Google it) and doesn't require him to do his mod again.
Cool thanks for the tip!
Sent from my SGH-I927 using xda premium
ludacris1 said:
Force closes PowerAMP and Nova Launcher.
Tested on ICS Leak.
Click to expand...
Click to collapse
Strange works for me. Nova didn't quit at all throughout my testing. I tried Poweramp trial and works fine as well. Did you clear dalvik and cache after flashing in the Mod ?
Nardholio said:
Just delete the odex file and clear cache and you should be fine. You don't have to deodex the whole ROM.
or for extra points you can reodex, which theoretically will boost speeds a bit (although I'm experiencing wonderful speeds on my ROM). Redodexing is pretty easy (just Google it) and doesn't require him to do his mod again.
Click to expand...
Click to collapse
Tried with no success stuck at boot screen. Thanks for the hint I'll try re odexing it and see if that will work next.
I like all the bloat that the stock has except the att apps, I would love to try your ROM but I would prefer a completely stock version of it with little modification and fixes. I have tried to do it myself with no success and simple don't have the patience for it. As my computer would end up at the muzzle end of a AR15. I really don't want to waste ammo or buy a new computer just yet. LOL ^o^
I'm very happy with the stock rom after applying the keyboard, tethering fix, and sdcard swap. It will be perfect when I get this working on it. And if its true that having it odexed is faster, I don't know but it is very smooth and battery is awesome.
Sent from my SGH-I927 using xda premium
enewman17 said:
Awesome, been missing this mod since leaving my DHD
CWM Flashables worked great..... But since I'm using the stock rom which has not been deoxed it did not work.
It booted though didn't notice any adverse affects
Not to put you on the spot but do you think you could use the UCLH2 .jar and make a version that will use odex. not sure if anything would have to be done to the odex file but I have included the non odexed android.policy.jar files if you wouldn't mind taking a stab at it. If you could just modify the .jar file I'll test it. I would be forever in your debt!
Sent from my SGH-I927 using xda premium
Click to expand...
Click to collapse
As evident from your last post, it does not work for you on UCLH2. As i said in my OP that i've not tested it on LH2 and it might not work as the android.policy.jar may be different. It should work on the UCLG9 and the ROM's based on it for sure.
I'll see later what i can do for the LH2. Can you post me a link of your whole system/framework folder, so i can download the same ? I'll maybe try later in the day to see the difference.
Thanks you, much appreciated! http://db.tt/0PnPOv4p
Sent from my Transformer TF101 using XDA Premium HD app
enewman17 said:
Thanks you, much appreciated! http://db.tt/0PnPOv4p
Sent from my Transformer TF101 using XDA Premium HD app
Click to expand...
Click to collapse
Deodexed your files and compared the PhoneWindowManager.smali file with mine, they are binary equals. So technically this mod should work for you. As your ROM is odexed, you need to manually delete the android.policy.odex and android.policy.jar file and then copy the android.policy.jar file from the zip attached to the OP. Remember to clear dalvik and cache partition as the last step before rebooting your phone. As Nardholio suggested this should work and you don't need to deodex the whole ROM.
Updated OP with the name of the ROM's tested to be working fine with this mod. Will try some more and keep adding.
Sent from my SGH-I927
Nardholio said:
Just delete the odex file and clear cache and you should be fine. You don't have to deodex the whole ROM.
or for extra points you can reodex, which theoretically will boost speeds a bit (although I'm experiencing wonderful speeds on my ROM). Redodexing is pretty easy (just Google it) and doesn't require him to do his mod again.
Click to expand...
Click to collapse
Do not delete the odex file... in an odex ROM all the code, java and smali are located in the odex class until you deodex which pulls the classes out and compresses them into a classes.dex into the particular apk and/ or jar file. So, if you delete the odex file the jar or apk is useless as you just deleted all the java and smali code it uses to communicate with the DVM..
Sent from my SGH-I897 using xda premium
dman3285 said:
Do not delete the odex file... in an odex ROM all the code, java and smali are located in the odex class until you deodex which pulls the classes out and compresses them into a classes.dex into the particular apk and/ or jar file. So, if you delete the odex file the jar or apk is useless as you just deleted all the java and email code it uses to communicate with the DVM..
Sent from my SGH-I897 using xda premium
Click to expand...
Click to collapse
Deodexing is all clear and i know the procedure, but can you let me know some link or tutorial to follow to odex it back again ? I think it needs the whole rom and needs some more files like framework etc. to be odexed again ?
Note: still learning and long way to go
In my trying to learn all of this too, seems you can re-odex a rom. But everything I found has to be done on the phone it self with terminal and a odex wrapper script. Haven't found a way of doing it on a computer yet.
Sent from my SGH-I927 using xda premium
enewman17 said:
In my trying to learn all of this too, seems you can re-odex a rom. But everything I found has to be done on the phone it self with terminal and a odex wrapper script. Haven't found a way of doing it on a computer yet.
Sent from my SGH-I927 using xda premium
Click to expand...
Click to collapse
I've read some tutorials as well, but lemme know if you find a easier way to do this. I'm almost certain that the odex files are specific to a specific rom, but i can be wrong as well. That's the reason i believe that the generic mods are only for the deodexed ROMs.
enewman17 said:
Awesome, been missing this mod since leaving my DHD
CWM Flashables worked great..... But since I'm using the stock rom which has not been deoxed it did not work.
It booted though didn't notice any adverse affects
Not to put you on the spot but do you think you could use the UCLH2 .jar and make a version that will use odex. not sure if anything would have to be done to the odex file but I have included the non odexed android.policy.jar files if you wouldn't mind taking a stab at it. If you could just modify the .jar file I'll test it. I would be forever in your debt!
Sent from my SGH-I927 using xda premium
Click to expand...
Click to collapse
I don't realize there was a Dial Home Device on earth, I though it was never found
*stargatefan*
TheHow7zer said:
I don't realize there was a Dial Home Device on earth, I though it was never found
*stargatefan*
Click to expand...
Click to collapse
Lol love stargate
Sent from my Desire HD using xda premium
---------- Post added at 07:13 PM ---------- Previous post was at 06:47 PM ----------
ninthsense said:
I've read some tutorials as well, but lemme know if you find a easier way to do this. I'm almost certain that the odex files are specific to a specific rom, but i can be wrong as well. That's the reason i believe that the generic mods are only for the deodexed ROMs.
Click to expand...
Click to collapse
Yes the odex file is specific per app so if any changes were made, the odex file which contains most of the data for each app would also have to reflect those changes. As the changes you made were part of .smali which is part of the dex file. So on a stock rom the odex file is loaded into the Dalvik machine during boot. This is why when flashed on a odexed rom the mod does not take, because the non modded odex file was already loaded. I gave up as I'm happy using literom4 with your mod.
Edit: Ok here is why it has to be done using the phone, all has to do with BOOTCLASSPATH http://classictomatoe.net/dexo-universal-odex-tool/
If you wanted to make this mod for folks still using the stock rom. All that needs to be done is decompile the .odex file using baksmali make the changes to the necessary files and then smali ?I think? don't quote me on that.
Can you share the how to four this? I'm setting up a rom and would like to add this
Sent from my SGH-I927 using xda app-developers app
kick buttowski said:
Can you share the how to four this? I'm setting up a rom and would like to add this
Sent from my SGH-I927 using xda app-developers app
Click to expand...
Click to collapse
Would you use the new uclj3 ? Send me the androidpolicy jar from your rom and hopefully it should be the same. I've not upgraded to .8 literom yet so not sure if it will work as .8 is based on the newer uclj3 released by samsung.
Sent from my SGH-I927
ninthsense said:
Would you use the new uclj3 ? Send me the androidpolicy jar from your rom and hopefully it should be the same. I've not upgraded to .8 literom yet so not sure if it will work as .8 is based on the newer uclj3 released by samsung.
Sent from my SGH-I927
Click to expand...
Click to collapse
Here ya go

[Q] (REQ) multi view mod zip file

I see the multi view mod on a few roms but i was wondering if someone would post or make a zip file to flash for stock rooted Roms.
it seems like no ones willing to share the working mod.
thanks ahead of time.
Maybe because its not just a simple mod it requires flashing a good portion of /system partition to work. Its in frameworks, flashbar, android policy etc etc etc. So you might as well just flash a whole rom with it already added
I like to break stuff!
-EViL-KoNCEPTz- said:
Maybe because its not just a simple mod it requires flashing a good portion of /system partition to work. Its in frameworks, flashbar, android policy etc etc etc. So you might as well just flash a whole rom with it already added
I like to break stuff!
Click to expand...
Click to collapse
It's only a few files and one app. It could be thrown on an. Installer in no time. I tried a few times to manually do it but couldn't get it right.
Galaxy S 3 32gb ...Sprint
jelly bean 4.1.2 MA4 rooted....yahhhyuhhh
Robalboa said:
It's only a few files and one app. It could be thrown on an. Installer in no time. I tried a few times to manually do it but couldn't get it right.
Galaxy S 3 32gb ...Sprint
jelly bean 4.1.2 MA4 rooted....yahhhyuhhh
Click to expand...
Click to collapse
Actually its not, I've been working on porting it over to the et4g and it requires edits in dozens of files as well as the frameworks-res apk plus the flashbar apk android.policy.jar android services.jar damn near every file in /system partition with the exception of a few need to be edited to activate multiwindow
I like to break stuff!
Read forum rules before posting
Questions go in Q&A
Thread moved
Thanks
FNM
-EViL-KoNCEPTz- said:
Actually its not, I've been working on porting it over to the et4g and it requires edits in dozens of files as well as the frameworks-res apk plus the flashbar apk android.policy.jar android services.jar damn near every file in /system partition with the exception of a few need to be edited to activate multiwindow
I like to break stuff!
Click to expand...
Click to collapse
This has been done on the gs3. All the files and smali changes have been done on lj7. Just asking someone to share
Galaxy S 3 32gb ...Sprint
jelly bean 4.1.2 MA4 rooted....yahhhyuhhh
Robalboa said:
This has been done on the gs3. All the files and smali changes have been done on lj7. Just asking someone to share
Galaxy S 3 32gb ...Sprint
jelly bean 4.1.2 MA4 rooted....yahhhyuhhh
Click to expand...
Click to collapse
You're not understanding what I'm saying. Due to the amount of changes you're better off flashing the whole rom with the mod already added, just the mod alone could easily break whatever rom you flash it to from all the replaced system files not matching up with the other mods in the rom. It's not like you're flashing a modded systemui only its a good portion of the files in /system than have yo be edited to "turn on" the feature so essentially you'd be flashing 3/4 of the roms /system partition which could/would break something in the rom.
I like to break stuff!
-EViL-KoNCEPTz- said:
You're not understanding what I'm saying. Due to the amount of changes you're better off flashing the whole rom with the mod already added, just the mod alone could easily break whatever rom you flash it to from all the replaced system files not matching up with the other mods in the rom. It's not like you're flashing a modded systemui only its a good portion of the files in /system than have yo be edited to "turn on" the feature so essentially you'd be flashing 3/4 of the roms /system partition which could/would break something in the rom.
I like to break stuff!
Click to expand...
Click to collapse
This guy already posted earlier asking if anyone had the apk.
So. My advice to you my friend, is to offer your advice to more open ears
Sent from my SPH-L710 using xda premium

Categories

Resources