fei-ke / HMSPush

让非华为设备支持 HMS 推送,同时避免唤醒目标应用
https://t.me/HMSPush
GNU General Public License v3.0
560 stars 26 forks source link

OPPO(realme)系统推送不成功 hmspush概率黑屏 #9

Closed ghost closed 2 years ago

ghost commented 2 years ago

1,官方教程 -》推送不成功,libchecker查看广播被划线。应用通知无其他,酷安机型为显示更改 2,使用机型伪装模块 -》推送不成功,libchecker查看广播被划线。应用通知无其他 3,使用老版本magisk模块-》 推送不成功,libchecker查看广播被划线。应用通知无其他

未黑屏log LSPosed_2022-08-18T09_09_40.451.zip

黑屏log LSPosed_2022-08-18T09_33_04.813.zip

fei-ke commented 2 years ago

HMS Core 给自启权限,不要用其他工具对其进行阻止或禁用,日志显示HMS Core一直在重复启动,重复崩溃

Crash unexpectedly: java.lang.RuntimeException: Unable to get provider com.huawei.hms.commonkit.config.CommonKitProvider: java.lang.ClassNotFoundException: Didn't find class "com.huawei.hms.commonkit.config.CommonKitProvider" on path: DexPathList[[zip file "/data/app/~~LCA-faZDvAHNiqXP5WuF9Q==/com.huawei.hwid-jDdEDNGXSqIkMprQ6McgkA==/base.apk"],nativeLibraryDirectories=[/data/app/~~LCA-faZDvAHNiqXP5WuF9Q==/com.huawei.hwid-jDdEDNGXSqIkMprQ6McgkA==/lib/arm64, /data/app/~~LCA-faZDvAHNiqXP5WuF9Q==/com.huawei.hwid-jDdEDNGXSqIkMprQ6McgkA==/base.apk!/lib/arm64-v8a, /system/lib64, /system_ext/lib64, /vendor/lib64, /odm/lib64]]
    at android.app.ActivityThread.installProvider(ActivityThread.java:7816)
    at android.app.ActivityThread.installContentProviders(ActivityThread.java:7352)
    at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7238)
    at android.app.ActivityThread.access$1500(ActivityThread.java:302)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2144)
    at android.os.Handler.dispatchMessage(Handler.java:106)
    at android.os.Looper.loop(Looper.java:260)
    at android.app.ActivityThread.main(ActivityThread.java:8258)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:612)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1006)
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.huawei.hms.commonkit.config.CommonKitProvider" on path: DexPathList[[zip file "/data/app/~~LCA-faZDvAHNiqXP5WuF9Q==/com.huawei.hwid-jDdEDNGXSqIkMprQ6McgkA==/base.apk"],nativeLibraryDirectories=[/data/app/~~LCA-faZDvAHNiqXP5WuF9Q==/com.huawei.hwid-jDdEDNGXSqIkMprQ6McgkA==/lib/arm64, /data/app/~~LCA-faZDvAHNiqXP5WuF9Q==/com.huawei.hwid-jDdEDNGXSqIkMprQ6McgkA==/base.apk!/lib/arm64-v8a, /system/lib64, /system_ext/lib64, /vendor/lib64, /odm/lib64]]
    at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:207)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
    at android.app.AppComponentFactory.instantiateProvider(AppComponentFactory.java:147)
    at androidx.core.app.CoreComponentFactory.instantiateProvider(SourceFile:1)
    at android.app.ActivityThread.installProvider(ActivityThread.java:7800)
    ... 10 more
ghost commented 2 years ago

但是不破溃 也无法推送,有系统默认通道

ghost commented 2 years ago

HMS Core 给予自启权限,不要显示一直在进行禁止或禁止使用其他日志工具,HMS Core 一直在重复启动,重复退出

Crash unexpectedly: java.lang.RuntimeException: Unable to get provider com.huawei.hms.commonkit.config.CommonKitProvider: java.lang.ClassNotFoundException: Didn't find class "com.huawei.hms.commonkit.config.CommonKitProvider" on path: DexPathList[[zip file "/data/app/~~LCA-faZDvAHNiqXP5WuF9Q==/com.huawei.hwid-jDdEDNGXSqIkMprQ6McgkA==/base.apk"],nativeLibraryDirectories=[/data/app/~~LCA-faZDvAHNiqXP5WuF9Q==/com.huawei.hwid-jDdEDNGXSqIkMprQ6McgkA==/lib/arm64, /data/app/~~LCA-faZDvAHNiqXP5WuF9Q==/com.huawei.hwid-jDdEDNGXSqIkMprQ6McgkA==/base.apk!/lib/arm64-v8a, /system/lib64, /system_ext/lib64, /vendor/lib64, /odm/lib64]]
  at android.app.ActivityThread.installProvider(ActivityThread.java:7816)
  at android.app.ActivityThread.installContentProviders(ActivityThread.java:7352)
  at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7238)
  at android.app.ActivityThread.access$1500(ActivityThread.java:302)
  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2144)
  at android.os.Handler.dispatchMessage(Handler.java:106)
  at android.os.Looper.loop(Looper.java:260)
  at android.app.ActivityThread.main(ActivityThread.java:8258)
  at java.lang.reflect.Method.invoke(Native Method)
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:612)
  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1006)
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.huawei.hms.commonkit.config.CommonKitProvider" on path: DexPathList[[zip file "/data/app/~~LCA-faZDvAHNiqXP5WuF9Q==/com.huawei.hwid-jDdEDNGXSqIkMprQ6McgkA==/base.apk"],nativeLibraryDirectories=[/data/app/~~LCA-faZDvAHNiqXP5WuF9Q==/com.huawei.hwid-jDdEDNGXSqIkMprQ6McgkA==/lib/arm64, /data/app/~~LCA-faZDvAHNiqXP5WuF9Q==/com.huawei.hwid-jDdEDNGXSqIkMprQ6McgkA==/base.apk!/lib/arm64-v8a, /system/lib64, /system_ext/lib64, /vendor/lib64, /odm/lib64]]
  at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:207)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
  at android.app.AppComponentFactory.instantiateProvider(AppComponentFactory.java:147)
  at androidx.core.app.CoreComponentFactory.instantiateProvider(SourceFile:1)
  at android.app.ActivityThread.installProvider(ActivityThread.java:7800)
  ... 10 more

经过各种方法,在realme宣告失败

ghost commented 2 years ago

强制打开广播后再打开应用,还是不行, LSPosed_2022-08-18T12_00_53.776.zip

fei-ke commented 2 years ago

@n0raml https://github.com/fei-ke/HMSPush/actions/runs/2881537158 下这个包试试试,传一下日志

ghost commented 2 years ago

@n0raml https://github.com/fei-ke/HMSPush/actions/runs/2881537158 下这个包试试试,传一下日志

无多出的分类。也不能通 LSPosed_2022-08-19T10_53_32.810.zip

ghost commented 2 years ago

@n0raml https://github.com/fei-ke/HMSPush/actions/runs/2881537158 下这个包试试试,传一下日志 modules_2022-08-19T12_09_18.201.log