收藏
回答

我们使用全新的emmc,但是微信的小程序还是报错,安卓系统已经关闭了optee功能,这问题要怎么查?

我们用mmc工具测试了,emmc里面第一次没有key,但是你们的小程序还是不可激活状态,rpmbd服务也加了

回答关注问题邀请回答
收藏

2 个回答

  • 高
    05-29

    不可激活报的什么错?

    05-29
    有用
    回复
  • 悟仲景
    悟仲景
    05-29

    帮看看

    05-07 18:08:47.318   459   459 V StorageManagerService: Package com.tencent.wmpf has legacy storage

    05-29 17:56:50.211  1873  1933 V wmpf    : init success:

    05-29 17:56:50.230  1873  2003 I IPC.IPCBridgeManager: [getIPCBridge] tid=[214] com.hxjy.clsapp -> com.tencent.wmpf

    05-29 17:56:50.231  1873  2003 I IPC.IPCBridgeManager: [getIPCBridge] com.hxjy.clsapp -> com.tencent.wmpf connecting,id:33851414347

    05-29 17:56:50.233  1873  2003 I IPC.IPCBridgeManager: [getIPCBridge]bindService(bw:172960623, id:33851414347, tid:214, intent:Intent { cmp=com.tencent.wmpf/.app.WMPFService (has extras) }, conn:164331644)

    05-29 17:56:50.278   459   496 I ActivityManager: Start proc 2004:com.tencent.wmpf/u0a123 for service {com.tencent.wmpf/com.tencent.wmpf.app.WMPFService}

    05-29 17:56:50.381  2004  2004 I om.tencent.wmpf: type=1400 audit(0.0:607): avc: denied { write } for name="com.tencent.wmpf-GLbKSTVNJVibSXTdLeADtg==" dev="mmcblk2p14" ino=204404 scontext=u:r:untrusted_app_29:s0:c123,c256,c512,c768 tcontext=u:object_r:apk_data_file:s0 tclass=dir permissive=1 app=com.tencent.wmpf

    05-29 17:56:50.690  2004  2004 I MMKV    : <MMKV.cpp:207::initializeMMKV> root dir: /data/user/0/com.tencent.wmpf/files/mmkv

    05-29 17:56:50.798  2004  2004 I WMPF.XLogSetup: init done nameprefix:com.tencent.wmpf false

    05-29 17:56:50.809  2004  2004 I WMPF.XLogSetup: init done nameprefix:[com.tencent.wmpf] isDebug:[false] logDir:[/storage/emulated/0/Android/data/com.tencent.wmpf/files/xlog]

    05-29 17:56:50.982  2004  2004 I TetheringManager: registerTetheringEventCallback:com.tencent.wmpf

    05-29 17:56:51.028  2004  2004 I ilink:fake_dlfcn: 7863d82000-7863e27000 r-xp 00000000 b3:0e 204496                         /data/app/~~MbdhudGysppl90C1zL9oEg==/com.tencent.wmpf-GLbKSTVNJVibSXTdLeADtg==/lib/arm64/libwechatxlog.so

    05-29 17:56:51.029  2004  2004 I ilink:fake_dlfcn: /data/app/~~MbdhudGysppl90C1zL9oEg==/com.tencent.wmpf-GLbKSTVNJVibSXTdLeADtg==/lib/arm64/libwechatxlog.so loaded in Android at 0x7863d82000

    05-29 17:56:51.041  2004  2004 I Vending-HeavyWo: type=1400 audit(0.0:608): avc: denied { write } for name="tasks" dev="cgroup" ino=20 scontext=u:r:untrusted_app_29:s0:c123,c256,c512,c768 tcontext=u:object_r:cgroup:s0 tclass=file permissive=1 app=com.tencent.wmpf

    05-29 17:56:51.041  2004  2004 I Vending-HeavyWo: type=1400 audit(0.0:609): avc: denied { open } for path="/dev/stune/background/tasks" dev="cgroup" ino=20 scontext=u:r:untrusted_app_29:s0:c123,c256,c512,c768 tcontext=u:object_r:cgroup:s0 tclass=file permissive=1 app=com.tencent.wmpf

    05-29 17:56:51.442  1873  2003 I IPC.IPCBridgeManager: [getIPCBridge] bw:172960623, id:33851414347, process:com.tencent.wmpf pingBinder:true

    05-29 17:56:51.445  1873  2003 I IPC.ObjectRecycler: addIntoSet(com.tencent.wmpf)

    05-29 17:56:51.491  1873  2003 I IPC.IPCBridgeManager: [getIPCBridge] tid=[214] com.hxjy.clsapp -> com.tencent.wmpf

    05-29 17:56:51.491  1873  2003 I IPC.IPCBridgeManager: [getIPCBridge] bw:172960623, id:35111536390, process:com.tencent.wmpf pingBinder:true

    05-29 17:56:51.492  1873  2003 I IPC.ObjectRecycler: addIntoSet(com.tencent.wmpf)

    05-29 17:56:51.501  2004  2004 I ilink_net_lp: type=1400 audit(0.0:610): avc: denied { open } for path="/dev/__properties__/u:object_r:net_dns_prop:s0" dev="tmpfs" ino=19568 scontext=u:r:untrusted_app_29:s0:c123,c256,c512,c768 tcontext=u:object_r:net_dns_prop:s0 tclass=file permissive=1 app=com.tencent.wmpf

    05-29 17:56:51.501  2004  2004 I ilink_net_lp: type=1400 audit(0.0:611): avc: denied { getattr } for path="/dev/__properties__/u:object_r:net_dns_prop:s0" dev="tmpfs" ino=19568 scontext=u:r:untrusted_app_29:s0:c123,c256,c512,c768 tcontext=u:object_r:net_dns_prop:s0 tclass=file permissive=1 app=com.tencent.wmpf

    05-29 17:56:51.501  2004  2004 I ilink_net_lp: type=1400 audit(0.0:612): avc: denied { map } for path="/dev/__properties__/u:object_r:net_dns_prop:s0" dev="tmpfs" ino=19568 scontext=u:r:untrusted_app_29:s0:c123,c256,c512,c768 tcontext=u:object_r:net_dns_prop:s0 tclass=file permissive=1 app=com.tencent.wmpf

    05-29 17:56:51.509  1873  1933 I WMPFIPCInvoker: invokeSync >>>> request [ACTIVATE_DEVICE] [AbstractWMPFSyncInvokeRequest{clientVersion=0, clientApplicationId='null', clientInvokeToken='null', invokeTimestamp=-1, clientProcessName='null'}WMPFActivateDeviceSyncRequest{wmpfDevice=WMPFDevice{hostAppId='wxee3010323e0e4197', productId=5224, keyVersion=1, deviceId='2852f91b6cad', signature='MEQCIBWb+0ujRGF2h7eElVlhyaq3Ky5G7sWNVnEfxdWeY6mMAiBh33r7HW8qQhnu1IqycP2YBibTbcmi6qj+71eg+vMs5w==', features='[]'}}] rId [2] 

    05-29 17:56:51.509  1873  2078 I IPC.IPCBridgeManager: [getIPCBridge] tid=[220] com.hxjy.clsapp -> com.tencent.wmpf

    05-29 17:56:51.510  1873  2078 I IPC.IPCBridgeManager: [getIPCBridge] bw:172960623, id:35130590100, process:com.tencent.wmpf pingBinder:true

    05-29 17:56:51.510  1873  2078 I IPC.ObjectRecycler: addIntoSet(com.tencent.wmpf)

    05-29 17:56:51.531  2004  2004 I mars::2083: type=1400 audit(0.0:613): avc: denied { read } for name="route" dev="proc" ino=4026532079 scontext=u:r:untrusted_app_29:s0:c123,c256,c512,c768 tcontext=u:object_r:proc_net:s0 tclass=file permissive=1 app=com.tencent.wmpf

    05-29 17:56:51.534  2004  2004 I mars::2083: type=1400 audit(0.0:614): avc: denied { open } for path="/proc/2004/net/route" dev="proc" ino=4026532079 scontext=u:r:untrusted_app_29:s0:c123,c256,c512,c768 tcontext=u:object_r:proc_net:s0 tclass=file permissive=1 app=com.tencent.wmpf

    05-29 17:56:51.534  2004  2004 I mars::2083: type=1400 audit(0.0:615): avc: denied { getattr } for path="/proc/2004/net/route" dev="proc" ino=4026532079 scontext=u:r:untrusted_app_29:s0:c123,c256,c512,c768 tcontext=u:object_r:proc_net:s0 tclass=file permissive=1 app=com.tencent.wmpf

    05-29 17:56:51.581  2087  2087 I ip      : type=1400 audit(0.0:616): avc: denied { search } for name="net" dev="mmcblk2p14" ino=302525 scontext=u:r:untrusted_app_29:s0:c123,c256,c512,c768 tcontext=u:object_r:net_data_file:s0 tclass=dir permissive=1 app=com.tencent.wmpf

    05-29 17:56:52.075  1873  1992 I wmpf    : method: arg: null

    05-29 17:56:52.095  1873  1933 V wmpf    : active device fail:2--1-DEVICE_CHANGED

    05-29 17:56:52.095  1873  1933 W System.err: com.tencent.wmpf.cli.api.WMPFApiException: errType: 2, errCode: -1, errMsg: DEVICE_CHANGED

    05-29 17:56:52.100  1873  1933 W System.err: at com.tencent.wmpf.cli.task.pb.WMPFIPCInvoker.invokeSync(WMPFIPCInvoker.java:159)

    05-29 17:56:52.100  1873  1933 W System.err: at com.tencent.wmpf.cli.task.pb.AbstractWMPFSyncInvokeRequest.call(AbstractWMPFSyncInvokeRequest.java:94)

    05-29 17:56:52.100  1873  1933 W System.err: at com.tencent.wmpf.cli.api.WMPFDeviceApi.activateDevice(WMPFDeviceApi.java:68)

    05-29 17:56:52.101  1873  1933 V wmpf    : first active fail, repeat active

    05-29 17:56:57.103  1873  2003 I IPC.IPCBridgeManager: [getIPCBridge] tid=[214] com.hxjy.clsapp -> com.tencent.wmpf

    05-29 17:56:57.105  1873  2003 I IPC.IPCBridgeManager: [getIPCBridge] bw:172960623, id:40724423954, process:com.tencent.wmpf pingBinder:true

    05-29 17:56:57.107  1873  2003 I IPC.ObjectRecycler: addIntoSet(com.tencent.wmpf)

    05-29 17:56:57.122  1873  2084 I IPC.IPCBridgeManager: [getIPCBridge] tid=[221] com.hxjy.clsapp -> com.tencent.wmpf

    05-29 17:56:57.124  1873  2084 I IPC.IPCBridgeManager: [getIPCBridge] bw:172960623, id:40742012331, process:com.tencent.wmpf pingBinder:true

    05-29 17:56:57.124  1873  2084 I IPC.ObjectRecycler: addIntoSet(com.tencent.wmpf)

    05-29 17:56:57.134  1873  1933 I WMPFIPCInvoker: invokeSync >>>> request [ACTIVATE_DEVICE] [AbstractWMPFSyncInvokeRequest{clientVersion=0, clientApplicationId='null', clientInvokeToken='null', invokeTimestamp=-1, clientProcessName='null'}WMPFActivateDeviceSyncRequest{wmpfDevice=WMPFDevice{hostAppId='wxee3010323e0e4197', productId=5224, keyVersion=1, deviceId='2852f91b6cad', signature='MEQCIBWb+0ujRGF2h7eElVlhyaq3Ky5G7sWNVnEfxdWeY6mMAiBh33r7HW8qQhnu1IqycP2YBibTbcmi6qj+71eg+vMs5w==', features='[]'}}] rId [5] 

    05-29 17:56:57.134  1873  2078 I IPC.IPCBridgeManager: [getIPCBridge] tid=[220] com.hxjy.clsapp -> com.tencent.wmpf

    05-29 17:56:57.135  1873  2078 I IPC.IPCBridgeManager: [getIPCBridge] bw:172960623, id:40755699665, process:com.tencent.wmpf pingBinder:true

    05-29 17:56:57.135  1873  2078 I IPC.ObjectRecycler: addIntoSet(com.tencent.wmpf)

    05-29 17:56:57.171  1873  1933 V wmpf    : active device fail:2--1-DEVICE_CHANGED

    05-29 17:56:57.172  1873  1933 W System.err: com.tencent.wmpf.cli.api.WMPFApiException: errType: 2, errCode: -1, errMsg: DEVICE_CHANGED

    05-29 17:56:57.172  1873  1933 W System.err: at com.tencent.wmpf.cli.task.pb.WMPFIPCInvoker.invokeSync(WMPFIPCInvoker.java:159)

    05-29 17:56:57.172  1873  1933 W System.err: at com.tencent.wmpf.cli.task.pb.AbstractWMPFSyncInvokeRequest.call(AbstractWMPFSyncInvokeRequest.java:94)

    05-29 17:56:57.172  1873  1933 W System.err: at com.tencent.wmpf.cli.api.WMPFDeviceApi.activateDevice(WMPFDeviceApi.java:68)


    05-29
    有用
    回复 5
    • 高
      05-30
      https://developers.weixin.qq.com/community/develop/doc/00000455e68020f87690f1f9e6b000?highLine=DEVICE_CHANGED
      05-30
      回复
    • 悟仲景
      悟仲景
      05-30回复
      换了wmpf-arm64-alpha-release-v2.1.0-9010017-signed.apk这个版本之后,报这个错误:wmpf : active device fail:1-10017-device id not registered,帮看看,谢谢
      05-30
      回复
    • 悟仲景
      悟仲景
      05-31回复
      麻烦帮看看 productid: rBj3kQxeRGZRG_yOPZsKIQ
      hostappid: wxee3010323e0e4197  sn:28:52:f9:1b:6c:ad
      05-31
      回复
    • 高
      06-03回复悟仲景
      1) SN 先要 addDevice 好。2)WMPF 会缓存第一次注册的SN等,若换了 SN 请清理下WMPF缓存。
      06-03
      回复
    • 悟仲景
      悟仲景
      06-05回复
      没用,报一样的错,设备都注册好的
      06-05
      回复
登录 后发表内容
问题标签