Is it possible to deodex single framework jar and leave everything else intact? I've tried deodexing android.policy.jar with baksmali-1.2.7-dev_roach.jar and got a boot loop. Am I doing something wrong?
Related
I have an HTC Explorer, rooted on stock ROM (and I don't want to install a custom ROM). As it is a stock ROM, all the framework jars are odexed. Most system apps are also odexed. I am currently in the process of applying a little modification to framework.jar and SystemUI.apk. I have deodexed versions of both files (manually deodexed framework.jar, SystemUI.apk I downloaded deodexed).
Basically my question is this: If I replace the stock versions of these files with the deodexed files, will that cause problems? Do I need to re-odex them? Do I need to delete the corresponding .odex files from my phone for it to work (by my understanding, classes.dex from inside the jar/apk will be ignored if there is an odex file)?
[I have already replaced SystemUI.apk with the deodexed version, and the phone functions fine, but I have not deleted the .odex and I don't think there are any changes to the apk, so I don't know if the deodexed version is being "used" so to speak. I have also been told that deodexing just one jar from the framework folder will prevent the phone from booting, which I would rather avoid]
Hello all;
I have an LG p698 device, with a custom ROM (ZemDroid)(Gingerbread). Everything is working fine, but I wanted to add Arabic support to it, and for that, I need a deodexed framework.
I pulled the entire /system/framework directory, copied and modified the BOOTCLASSPATH as necessary, and used smali and baksmali 2.0.3. They reported no errors in disassembling the framework.odex file, created the "out" directory, and then using smali created the classes.dex file, which I shoved into the framework.jar file using Ark (Kubuntu 13.10).
I made a copy of the working framework.jar and framework.odex files on device, and put the new jar, and of course, deleted the odex.
wiped the dalvik cache for good measure, and rebooted.. The phone got stuck on LG logo :/ (It didn't even reach the custom splash image)
I can reboot into CWM, I can even adb into it in this state, but it won't continue starting up. Replacing original ones lets the device start normally, but my deodexed framework.jar won't
Any ideas?
I just want to deodex the framework.odex to a full framework.jar file on my stock Samsung rom. Not my entire rom.
If I I only deodex the framework file without deodexing the entire rom, will my phone still work like this??
I am not worried about what happens to the /system folder as I can re-flash it w/ Odin but this is a pain in the a** as I will need to root and make all my root based changes all over again.
Can someone please help me with this?? I have spend hours trying to convert my framework.odex to a framework.jar and every single method and tool that I have found online has given some kind of error every time. I do not want to spend any more time on this unless I know it will even work with the device.
Thanks.
Hello to everyone
I have a problem with my GT-I8260(Galaxy Core) while deodexing its stock rom
Every time I start the deodex process It pops up an error for an odex file then I delete the file but the real problem here is that It pops up errors for ALL the odex files
Can someone help me please?
Hello. Lets assume I have odexed firmware. There's no trouble at all to deodex apk files without deodexing the whole rom.
But what if I want to deodex jar file (Android-telephony.jar), make some changes, then odex it and run normally changed code?
What are the requirements? Is it possible
Long ago it was possible via check summ replacement in hex editor.
But now there're oat files, arm64 folders...
Anyway, Is there a guide or something?
Thanks
Anyone