I'm trying to make changes in Android OS so I downloaded AOSP, make some changes and build it.
Now I want to replace framework.jar and framework2.jar on my device (Nexus 5, 4.4.4) but I see that this is an "odex" device - Which means - I have also framework.odex and frameork2.odex.
Can someone help me and explain me how to create those 2 files? I Google it but found only how to odex apk and not framework.
Thank you guys!
Why don't you try to flash images to device ? You need to build complete AOSP source code and flash device with below commands :
The way you are trying, framework.jar might be having different signature than system signature.