AASAParser阻止了一些APK

时间:2018-08-17 02:31:17

标签: android apk samsung-mobile

某些Samsung APK文件无法安装,因为它们被AASAParser阻止。

例如:

07-19 11:03:38.631  1468  1720 I AASAASKS: list is removed : com.sec.android.app.sbrowser
07-19 11:03:39.867  1468  1720 I AASATokenParser:  advanced hash::f3bf2885bda58ad4ab756072177976b8d7bbce0442fadc7239fa1d2252f9d88d
07-19 11:03:39.900  1468  1720 I AASATokenParser:  AASA_VerifyToken START
07-19 11:03:40.033  1468  1720 I AASATokenParser: index : 1.1
07-19 11:03:40.033  1468  1720 D AASATokenParser: mTokenName : SEC-INF/buildinfo.xml SignerVersion : 
07-19 11:03:40.036  1468  1720 I AASATokenParser: Token is verificated in checkIntegrity!
07-19 11:03:40.039  1468  1720 I AASATokenParser: signerCert is verificated!
07-19 11:03:40.041  1468  1720 I AASATokenParser: CAcert is verificated!
07-19 11:03:40.041  1468  1720 I AASATokenParser: rootCert is verificated!
07-19 11:03:40.042  1468  1720 E AASATokenParser: Violate security policy of MSTG. Package(com.sec.android.app.sbrowser) is blocked  *******. 
07-19 11:03:40.044  1468  1720 I AASAASKS: writeBlockApkList() Success
07-19 11:03:41.296  1468  1720 I AASATokenParser:  advanced hash::f3bf2885bda58ad4ab756072177976b8d7bbce0442fadc7239fa1d2252f9d88d

我在APK文件中找到了这些属性。

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<TOKEN>
<MODE TYPE="0"/>
<PACKAGE name="com.samsung.android.app.notes"/>
<DIGEST value="040f3e0051c717b9da7a0666850fc9d3150d998a9e4e6f1f38edc0d7b0689354"/>
<CREATE date="20180607"/>
<VERSION value="18448835"/>
<INDEX value="1.1"/>
</TOKEN>

将它们与未被阻止的APK文件进行比较后,我观察到以下内容:

if MOD TYPE = 0, then PackageManager blocks the apk.
if MOD TYPE = 1, then PackageManager does not block it.

三星为什么要这样做?

谢谢。

0 个答案:

没有答案