You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it's dex2oat64 logcat output of baksmali services.jar with apktool 2.10.1-dirty
method_verifier.cc:5114] Verification error in boolean com.android.server.BinaryTransparencyService$Digest.equals(java.lang.Object)
method_verifier.cc:5114] boolean com.android.server.BinaryTransparencyService$Digest.equals(java.lang.Object) failed to verify: boolean com.android.server.BinaryTransparencyService$Digest.equals(java.lang.Object): [0x0] invalid argument count (2) exceeds outsSize (0)
method_verifier.cc:5114] Verification error in int com.android.server.BinaryTransparencyService$Digest.hashCode()
method_verifier.cc:5114] int com.android.server.BinaryTransparencyService$Digest.hashCode() failed to verify: int com.android.server.BinaryTransparencyService$Digest.hashCode(): [0x0] invalid argument count (1) exceeds outsSize (0)
method_verifier.cc:5114] Verification error in java.lang.String com.android.server.BinaryTransparencyService$Digest.toString()
method_verifier.cc:5114] java.lang.String com.android.server.BinaryTransparencyService$Digest.toString() failed to verify: java.lang.String com.android.server.BinaryTransparencyService$Digest.toString(): [0x0] invalid argument count (1) exceeds outsSize (0)
compiler_driver.cc:903] Had a hard failure verifying all classes, and was asked to abort in such situations. Please check the log.
Information
apktool -version
) - 2.10.1-dirtyjava --version
) - 17.0.9Stacktrace/Logcat
it's dex2oat64 logcat output of baksmali services.jar with apktool 2.10.1-dirty
Steps to Reproduce
apktool d -r ./services.jar
apktool b -r ./services.jar.out
adb shell dex2oat64 --abort-on-hard-verifier-error --no-abort-on-soft-verifier-error --compilation-reason=prebuilt --instruction-set=arm64 --instruction-set-features=default --instruction-set-variant=generic --dex-file=/data/local/tmp/3/services.jar(location of source jar) --boot-image=/data/misc/apexdata/com.android.art/dalvik-cache/boot.art:/data/misc/apexdata/com.android.art/dalvik-cache/boot-framework-adservices.art --oat-file=/data/misc/apexdata/com.android.art/dalvik-cache/arm64/system@[email protected]@classes.odex(output oat target location) --app-image-file=/data/misc/apexdata/com.android.art/dalvik-cache/arm64/system@[email protected]@classes.art(output image target location) --profile-file=/system/framework/services.jar.prof --compiler-filter=speed-profile
dex2oat will first to verify dex file and if add args of ''--abort-on-hard-verifier-error --no-abort-on-soft-verifier-error" that will throw exception
the source of verify failed code location is https://cs.android.com/android/platform/superproject/main/+/main:frameworks/base/services/core/java/com/android/server/BinaryTransparencyService.java;l=1710;drc=999a4bd19623527972619f517f408252762bbde5;bpv=1;bpt=1
it is a record of java
the services.jar pull from Android15 ROM which is ColorOS 15.0
Frameworks
If this APK is from an OEM ROM (Samsung, HTC, LG). Please attach framework files
(
.apks
that live in/system/framework
or/system/priv-app
)use the default one
APK
If this APK can be freely shared, please upload/attach a link to it.
services.zip
Questions to ask before submission
apktool d
,apktool b
without changing anything? -yesThe text was updated successfully, but these errors were encountered: