Create Android AOSP system.img from the modified framework.jar file

I am trying to change something in android.webkit files in an Android platform platform, and then use

 mmm frameworks/base 

to build this in the framework.jar file.

How do I create a system.img file to link this jar file? In addition, without creating an entire system.

+4
source share
2 answers

As you noted above, you can make snod just make a system image without dependencies.

You can make out/target/product/your-device/system.img , which I suppose will create a system image plus its dependencies, but nothing more.

Just make will probably not do what you want, because the Android build system will create everything, even material that is not addicted - it builds all the other packages in case they are broken into changes in the APIs.

+6
source

According to JBQ :

make snod is what you need. This means "system without dependencies", and it collects a system image from any modules that you created, regardless of which of the modules should be in the system, the image is missing from us.

It worked for me.

+3
source

Source: https://habr.com/ru/post/1494273/


All Articles