dex2oat --instruction-set=arm64 --dex-file=uimremoteclient.apk --oat-file=uim.odex dex2oat --instruction-set=arm64 --dex-file=uimremoteclient.apk --oat-file=uim.vdex
还有
–runtime-arg
–boot-image=
–instruction-set-variant=
–instruction-set-features=
–include-patch-information –runtime-arg -Xnorelocate –no-generate-debug-info
/apex/com.android.runtime/bin/dex2oat
--input-vdex-fd=-1
--output-vdex-fd=11
--resolve-startup-const-strings=true
--max-image-block-size=524288
--compiler-filter=verify
--classpath-dir=/system/product/app/uimremoteclient
--class-loader-context=PCL[]{PCL[/system/framework/android.hidl.manager-V1.0-java.jar]{PCL[/system/framework/android.hidl.base-V1.0-java.jar]}#PCL[/system/framework/android.hidl.base-V1.0-java.jar]#PCL[/product/framework/uimremoteclientlibrary.jar]#PCL[/product/framework/qti-telephony-hidl-wrapper.jar]}
--generate-mini-debug-info
--compact-dex-level=none
--compilation-reason=boot
--inline-max-code-units=0
参考资料