Source: ghost. You need to regenerate system. IMG. I used to use make systemimage, but this process is too slow and annoying. Therefore, we can use the make output information to find a fast method, which only compiles modules and generates system. IMG, saving other processes and re-generating system. IMG, which is much faster.
The following command modifies the Services Module:
CD frameworks/base/services
Mm
CD-
Out/host/linux-x86/bin/mkyaffs2image-f out/target/product/generic/system. img
Other modules are similar ~
After modifying the Android system module, You need to regenerate system. IMG. I used to use make systemimage, but this process is too slow and annoying. Therefore, we can use the make output information to find a fast method, which only compiles modules and generates system. IMG, saving other processes and re-generating system. IMG, which is much faster.
The following command modifies the Services Module:
CD frameworks/base/services
Mm
CD-
Out/host/linux-x86/bin/mkyaffs2image-f out/target/product/generic/system. img
Other modules are similar ~