高通Android 12 push framework.jar和service.jar
1、Android framework.jar和service.jar替换注意事项
2、单编 adb push service.jar脚本 如下
adb root
adb disable-verity
adb remount
adb push services.jar system/framework
adb push services.jar.prof system/framework
adb push oat/arm64/services.art /system/framework/oat/arm64/
adb push oat/arm64/services.odex /system/framework/oat/arm64/
adb push oat/arm64/services.vdex /system/framework/oat/arm64/
@rem adb reboot
ping 127.0.0.1 -n 3 > nul
3、单编成功如下图所示,单编命令 mmm framework/base/services -j32 或者 make -j32 services
编译 services
4、adb push framework.jar 脚本 如下图所示
编译 framework
Android 12和之前版本有所差异,此处不能使用make framework -j32 或者mmm framework/base -j32都是不行的,编译命令如下:
make -j32 framework-minus-apex
只要动了framework.jar就需要so
adb root
adb disable-verity
adb remount
adb push framework.jar system/framework
adb push arm/ system/framework/arm/
adb push arm64/ system/framework/arm64/
@rem adb reboot
记得push之后adb reboot哈,否则不生效。切记!
转载请注明出处高通Android push framework.jar和service.jar-CSDN博客,谢谢!
原文地址:https://blog.csdn.net/qq_15950325/article/details/142460776
免责声明:本站文章内容转载自网络资源,如本站内容侵犯了原著者的合法权益,可联系本站删除。更多内容请关注自学内容网(zxcms.com)!