I just want to make some mod for Mi8.But after unpacking system.img,I wonder how to deodex the app.My friends,is there anyway to deodex apps and jars for andriod 9?
Related
Hey guys, im on amon_ra's rom and as those who are on it know its odexed. So my question is has anyone successfully deodexed services.jar ? I mean i can deodex and compile using smali just fine but when i put it in services.jar and remove the odex file from /system/framework/ I get a lot of "died" in my log upon boot
Any help would be appreciated, thnx
Hi, just have a question regarding modding apks inside /app in odexed roms.
Have read a few threads regarding deodexing and decompiling apks, and just wish to clarify one thing:
For apks which have a corresponding odex file, is it possible to modify them without deodexing the whole rom? Intend to edit some xml files in the Contacts.apk file but wasn't sure of the exact procedure.
Here's what I tried:
1. Used xultimate to deodex
2. Used apktool to decompile apk
3. Edited xml
4. Used apktool to compile
5. Added META-INF and AndroidManifest.xml from original apk using 7zip
6. Deleted Contacts.apk and Contacts.odex
7. Copied Contacts.apk over
Thanks in advance!
ock said:
Hi, just have a question regarding modding apks inside /app in odexed roms.
(...)
For apks which have a corresponding odex file, is it possible to modify them without deodexing the whole rom? Intend to edit some xml files in the Contacts.apk file but wasn't sure of the exact procedure.
Click to expand...
Click to collapse
+1
I am also interested in the answer ...
I would like to theme some widgets and theme the statusbar on a stock ROM. I am not sure is it possible ? And what is the procedure with the odexed files ?
Before I get started, I understand the difference between an odexed rom and de-odexed rom. I understand what that means for themes.
But my question is, is there way to rebuild the odex file for an apk?
The story is, I'm on a Stock 2.1 Rom on my Samsung Captivate. I've changed fonts around already. But I want to add some framework animations, similar to the ones found in a few custom ROMs. I understand that with APK manager I can decompile an apk so that changes can be made. I also understand that because my ROM is odexed that I can't just put the apk back on the phone and everything will be fine.
Isn't there a way to take a de-odexed apk and make an odex file for it so that it can work again?
i really wish someone had answered this.. because i'm in the same boat. I'm using Gingeritis... an odexed rom for my tbolt. LOVE it. but i want to theme it. and its odexed and idk wtf to do
traumahawk said:
i really wish someone had answered this.. because i'm in the same boat. I'm using Gingeritis... an odexed rom for my tbolt. LOVE it. but i want to theme it. and its odexed and idk wtf to do
Click to expand...
Click to collapse
In a odexed ROM (not sure if using properly the word, I mean a ROM with apk and odex files) You can change the apk and odex files of the file (delete both) and put in a deodexed apk (framework-res.apk for example) of a deodexed ROM (not just deleting the odex. You need to fins a deodexed ROM, then pick the .apk
It will probably work (most devs do that and I have done that too with framework-res.apk and other system apk. Just change apk and odex for a "full" apk of another deodexed ROM
After trying several days to DEODEX an ODEXED ROM, I gave up because It's not working good for me, Bootloops, APK FC's and many more. So I decided to stick with ODEX Stock till someone does it properly. Im still new to this.
So since im on ODEX Stock -> I need to know whether its possible to -
* Mod PNG files inside APK's using Winzip
* Mod Framework-Res.APK to edit the XML "Bools" file to add CRT effect
* Use Deodexed APK's inside System/app folder
If the above is possible, are there things that I should keep in mind to not mess up the system ?
Thanks a lot guys !
Just download an already deodexed custom ROM. Most are.
Sent from my superior GT-N7000 using Tapatalk
hi
?
i just want to know that how to convert Odex to deodex kindly help. also pls tell me whats the diff. btwn odex, deodex & Zipaligned ???
To deodex a rom there are several tools.
I use dsixda kitchen which can be found on xda. This will deodex zipalign etc.
Deodex offers benefits when using themes etc as stock roms have both the app and classes.odex file. Deodexing reorganises into a single apk file. That's the simple explanation.
When deodexing make sure you pick correct api level
Gb is api level 10
Ics is api level 15
Jb is api level 16
This can be set in the kitchen by selecting option v I believe before deodexing both folders
If you take a look in my rom thread in development I have posted a complete YouTube guide in how to do the above and create a custom rom for the note from scratch
Just look in the Cassies xtraliterom thread
Sent from my iPad Mini using Tapatalk HD