Giter Site home page Giter Site logo

nihilityt / mipushframework Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lelemka0/mipushframework

541.0 541.0 18.0 7.96 MB

Let supported push service run system-ly on every Android devices

Home Page: https://mipush.yuuta.moe/

License: GNU General Public License v3.0

Java 98.35% Kotlin 1.65% Vim Script 0.01%

mipushframework's People

Contributors

fython avatar heruoxin avatar jamesits avatar lelemka0 avatar mlgmxyysd avatar nihilityt avatar oasisfeng avatar timothyzhang023 avatar trumeet avatar wzv5 avatar xhebox avatar yfdyh000 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

mipushframework's Issues

美团 脉脉 招商银行 三个app无法注册

如题,MiPushFaker MiPushDeviceFake模块伪装都无法让app启动注册,清除/data/data/包名/share_perf 下的mipush.xml也没用
是无反应不是注册异常,
强制注册时包名显示null

配置文件目录消失

Describe the bug/
A clear and concise description of what the bug is.
配置文件目录被删除

To Reproduce
Steps to reproduce the behavior:(如何复现错误,也就是您的操作步骤)

  1. 下载官方图标配置文件
  2. 复制到配置文件目录下的icon文件夹
  3. 静置一段时间配置文件目录消失

Expected behavior
A clear and concise description of what you expected to happen.(您希望发生什么)
修复该bug

Screenshots(截图)
If applicable, add screenshots to help explain your problem.

Logs (日志)
Logs are very important, this can help us solve the problem.
Please upload your log file and paste the address here:(请上传您的日志文件,在这里粘贴地址:)
logs-2024-45-05-8-45-55.zip

ROM and version(manager): (你的 ROM 和 manager 的版本)

  • Name: oneui 4.1
  • Android Version: 12
  • Version 0.3.11-16 alpha

Additional context
Add any other context about the problem here.(更多关于问题的内容写在这里)

flyme10无法通知

Describe the bug/
应用注册成功后,但是无法查看通知类型

To Reproduce

  1. 安装mipush和mipush服务
  2. lsp里mipush勾选作用域,系统框架和mipush服务,以及需要推送的软件,导入配置文件
  3. 重启手机
  4. 应用注册成功,但是没有通知类型,然后不能收到推送通知。
  5. 作用域的软件是有通知权限和mipush都是有通知权限的。

Expected behavior
收到推送后能在通知栏看见通知

Screenshots(截图)
S40402-22375019_com xiaomi xmsf
S40402-22360993_com xiaomi xmsf
S40402-22385278_com xiaomi xmsf

Logs (日志)
logs-2024-39-02-22-39-23.zip

ROM and version(manager): (你的 ROM 和 manager 的版本)

  • Name: flyme10
  • Android Version: 14
  • Version 0.3.10

Additional context
Add any other context about the problem here.(更多关于问题的内容写在这里)

尝试注册推送,出现null

Describe the bug/
A clear and concise description of what the bug is.(解释一下出了什么问题)

尝试注册推送,null

To Reproduce
Steps to reproduce the behavior:(如何复现错误,也就是您的操作步骤)

  1. 下载软件,授权root
  2. 无脑下一步,给所需的权限
  3. 打开app看到null

Expected behavior
A clear and concise description of what you expected to happen.(您希望发生什么)
成功注册,并推送消息

Screenshots(截图)
If applicable, add screenshots to help explain your problem.
Screenshot_20240428-084721.png

Logs (日志)
Logs are very important, this can help us solve the problem.
Please upload your log file and paste the address here:(请上传您的日志文件,在这里粘贴地址:)
我应该怎么提交??
ROM and version(manager): (你的 ROM 和 manager 的版本)

  • Name: piexlos
  • Android Version: 14
  • Version 14

Additional context
Add any other context about the problem here.(更多关于问题的内容写在这里)

西瓜视频记录里有收到推送通知栏里不通知

推送服务为:0817版本,手机为k20pro,刷的类原生android12.1系统。
问题:
⒈西瓜视频已经提示注册成功,记录里也有收到的推送消息记录,但是通知栏不显示;
log如下:
Developer Info:
XmPushActionContainer(action:SendMessage, encryptAction:true, isRequest:false, pushAction:08 00 01 00 00 00 05 02 00 02 01 02 00 03 00 0B 00 04 00 00 02 F0 E5 99 85 16 51 9D 99 CA 6F A6 D0 5E 09 97 E6 92 2D F4 D8 5E 5F FD 0A A1 43 BD 57 46 EE FC 60 D4 52 86 85 ED 25 E9 23 96 E1 B0 75 A5 38 05 D9 3D 95 73 1E 95 2B 3D BA D4 26 CD FF F1 FC B0 21 99 27 A5 FF C0 7D 2A FC 9A CD 2E B5 D4 B3 4D 08 D6 45 FC E7 E5 EA 14 EE E0 05 D1 A5 22 BB A2 7F 4B 1E C7 7C 0C D2 C1 C4 6F A1 6E..., appid:2882303761517484698, packageName:com.ss.android.article.video, target:Target(channelId:5, userId:72892661408, server:xiaomi.com, resource:anfbO7Ix), metaInfo:PushMetaInfo(id:adm61704661505317818bY, messageTs:1661505317820, title:西瓜视频, description:北京颐和园发现慈禧本人画像,这才是真实相貌,和想象中差别太大, notifyType:0, passThrough:1, notifyId:0, extra:{__check_alive=true, __target_name=1412237446099757, fe_ts=1661505317818, callback.type=241, notification_style_type=1, callback=http://i.snssdk.com/cloudpush/callback/mipush/?appid=32&rid=23861761, __m_ts=1661505318216, __awake=false}, ignoreRegInfo:false))
Screenshot_20220826-162358_推送服务
Screenshot_20220826-162405_推送服务
⒉酷安app每次打开都提示注册成功,但收不到任何推送。

feature request: 隐藏正在运行通知

Is your feature request related to a problem? Please describe.(该功能是否与问题有关?请描述)
不想看到這個通知

Describe the solution you'd like(说一下您想解决什么问题,想要做什么)
增加一个选项

Describe alternatives you've considered(简要描述您考虑过的替代方案)
N/A

Additional context
Add any other context or screenshots about the feature request here.(更多需要告诉我们的内容)

升级到20221026显示应用自身注册异常,功能不受影响

Screenshot_20221029-090816_推送服务
从0.3.7.20220928.6de1a204升级至0.3.7.20221026.92d4eb92显示自身注册异常,其他应用推送功能不受影响,尝试重启手机无效

按照faq中指引清除com.xiaomi.xmsf的/data/data…mipush.xml并重启手机后问题解决,如果为个例请忽略

系统:PixelOS Android 12.1

停止运行

Describe the bug/
A clear and concise description of what the bug is.(解释一下出了什么问题)
停止运行

To Reproduce
Steps to reproduce the behavior:(如何复现错误,也就是您的操作步骤)
开机自启的时候,显示停止运行

Expected behavior
A clear and concise description of what you expected to happen.(您希望发生什么)

Screenshots(截图)
If applicable, add screenshots to help explain your problem.

Logs (日志)
Logs are very important, this can help us solve the problem.
Please upload your log file and paste the address here:(请上传您的日志文件,在这里粘贴地址:)
time: 1672483865149 msg: android.app.StackTrace: Last startServiceCommon() call for this service was made here stacktrace: android.app.RemoteServiceException$ForegroundServiceDidNotStartInTimeException: Context.startForegroundService() did not then call Service.startForeground(): ServiceRecord{348679e u0 com.xiaomi.xmsf/com.xiaomi.push.service.PushServiceMain} at android.app.ActivityThread.generateForegroundServiceDidNotStartInTimeException(ActivityThread.java:2005) at android.app.ActivityThread.throwRemoteServiceException(ActivityThread.java:1976) at android.app.ActivityThread.-$$Nest$mthrowRemoteServiceException(Unknown Source:0) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2241) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loopOnce(Looper.java:201) at android.os.Looper.loop(Looper.java:288) at android.app.ActivityThread.main(ActivityThread.java:7868) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936) Caused by: android.app.StackTrace: Last startServiceCommon() call for this service was made here at android.app.ContextImpl.startServiceCommon(ContextImpl.java:1915) at android.app.ContextImpl.startForegroundService(ContextImpl.java:1870) at android.content.ContextWrapper.startForegroundService(ContextWrapper.java:822) at androidx.core.content.ContextCompat$Api26Impl.startForegroundService(ContextCompat.java:931) at androidx.core.content.ContextCompat.startForegroundService(ContextCompat.java:703) at com.xiaomi.xmsf.push.service.XMPushService.forwardToPushServiceMain(XMPushService.java:106) at com.xiaomi.xmsf.push.service.XMPushService.onHandleIntent(XMPushService.java:46) at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:78) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loopOnce(Looper.java:201) at android.os.Looper.loop(Looper.java:288) at android.os.HandlerThread.run(HandlerThread.java:67)

ROM and version(manager): (你的 ROM 和 manager 的版本)

  • Name: Evolution X
  • Android Version: 13
  • Version 版本 0.3.7.20221026.92d4eb92

Additional context
Add any other context about the problem here.(更多关于问题的内容写在这里)

闪退

Describe the bug/
A clear and concise description of what the bug is.(解释一下出了什么问题)
其他功能一切正常,只是闪退,打开一次后就再也打不开了
To Reproduce
Steps to reproduce the behavior:(如何复现错误,也就是您的操作步骤)

  1. 重装并从安装器打开
  2. 借助其他软件打开(不一定打得开)
  3. 同上

Expected behavior
A clear and concise description of what you expected to happen.(您希望发生什么)

Screenshots(截图)
If applicable, add screenshots to help explain your problem.

Logs (日志)
Logs are very important, this can help us solve the problem.
Please upload your log file and paste the address here:(请上传您的日志文件,在这里粘贴地址:)

ROM and version(manager): (你的 ROM 和 manager 的版本)

  • Name: [e.g. Lineage OS]
  • Android Version: [e.g. 8.1]
  • Version [e.g. 0.3.4 stable]
  • realme ui4.0 a13

Additional context
Add any other context about the problem here.(更多关于问题的内容写在这里)

网易支付APP注册和反注册

Describe the bug/

网易支付APP最新版,注册后再次打开网易支付后必反注册。

To Reproduce

手动注册后依然反注册,试过push多版本和模块都是如此。

Expected behavior

作者有空帮忙看下,怎么回事,是否能够修复支持网易支付APP。

Logs (日志)
logs-2023-24-13-12-24-40.zip
LSPosed_2023-07-13T12_21_25.392.zip

ROM and version(manager): (你的 ROM 和 manager 的版本)

红米k30s-miui13-A12

MIUI14语音唤醒由于xmsf框架导致FC

Describe the bug/
安装xmsf和mipush模块后小爱语音注册推送导致语音唤醒apk崩溃

To Reproduce
Steps to reproduce the behavior:(如何复现错误,也就是您的操作步骤)

  1. 安装xmsf和mipush模块,给小爱语音注册xmsf模块推送
  2. 等待一会或录制小爱语音唤醒词
  3. 无法使用小爱同学的语音唤醒功能,语音唤醒APP发生FC,从小爱同学设置界面点进语音唤醒功能也发生FC

Expected behavior
A clear and concise description of what you expected to happen.(您希望发生什么)
小爱同学语音唤醒功能可以正常使用

Logs (日志)
Logs are very important, this can help us solve the problem.
Please upload your log file and paste the address here:(请上传您的日志文件,在这里粘贴地址:)

[ 2023-02-23T23:27:10.965    10175: 11533: 11840 E/AndroidRuntime  ] FATAL EXCEPTION: Connection Controller Thread
Process: com.miui.voicetrigger, PID: 11533
java.lang.IllegalArgumentException: com.miui.voicetrigger: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent.
Strongly consider using FLAG_IMMUTABLE, only use FLAG_MUTABLE if some functionality depends on the PendingIntent being mutable, e.g. if it needs to be used with inline replies or bubbles.
	at android.app.PendingIntent.checkFlags(PendingIntent.java:404)
	at android.app.PendingIntent.getBroadcastAsUser(PendingIntent.java:674)
	at android.app.PendingIntent.getBroadcast(PendingIntent.java:661)
	at com.xiaomi.push.ex.a(Unknown Source:13)
	at com.xiaomi.push.ex.a(Unknown Source:76)
	at com.xiaomi.push.ew.a(Unknown Source:41)
	at com.xiaomi.push.service.XMPushService.e(Unknown Source:13)
	at com.xiaomi.push.service.XMPushService.a(Unknown Source:0)
	at com.xiaomi.push.service.bx.a(Unknown Source:2)
	at com.xiaomi.push.service.av.a(Unknown Source:52)
	at com.xiaomi.push.service.XMPushService.a(Unknown Source:127)
	at com.xiaomi.push.service.XMPushService.c(Unknown Source:1910)
	at com.xiaomi.push.service.XMPushService.a(Unknown Source:0)
	at com.xiaomi.push.service.XMPushService$h.a(Unknown Source:4)
	at com.xiaomi.push.service.XMPushService$i.run(Unknown Source:20)
	at com.xiaomi.push.service.h$c.run(Unknown Source:159)
[ 2023-02-23T23:27:11.326     1000:  2853:  8983 I/LSPosed-Bridge  ] [ INFO] 02-23 23:27:11 (PmsHookTarget33) @shouldFilterApplication: query from com.miui.voiceassist
[ 2023-02-23T23:27:11.329     1000: 11323: 12244 I/LSPosed-Bridge  ] [MIUIPerfSaver] config updated. supportFps: [120, 90, 60, 40, 30, 24], global: null, fpsMap: 0
[ 2023-02-23T23:27:14.019     1000:  2853:  3502 I/LSPosed-Bridge  ] [ INFO] 02-23 23:27:14 (ZygoteArgsHook) @startViaZygote force mount data: 10175 com.miui.voicetrigger

日志压缩包:

ROM and version(manager): (你的 ROM 和 manager 的版本)

  • Name: MIUI 14
  • Android Version: 13
  • Version: V14.0.23.2.13.DEV

Send notification as target application instead of xmsf (API >=29)

Is your feature request related to a problem? Please describe.(该功能是否与问题有关?请描述)
Currently the notifications are sent in the name of MipushFramework, so all the channels/stats management are with this app. But in MIUI, the notifications are displayed as from the target app, not the pushframework.

Describe the solution you'd like(说一下您想解决什么问题,想要做什么)
I hope MipushFramework could do the same.

Additional context
Starting from API 29, android as an API called notifyAsPackage , I think it could fulfill the purpose. If permission is a problem, Shizuku should be helpful.

停止运行

Describe the bug/
A clear and concise description of what the bug is.(解释一下出了什么问题)
停止运行

To Reproduce
Steps to reproduce the behavior:(如何复现错误,也就是您的操作步骤)
看了一下通知记录,收到酷安的通知,然后停止运行

Expected behavior
A clear and concise description of what you expected to happen.(您希望发生什么)

Screenshots(截图)
If applicable, add screenshots to help explain your problem.

Logs (日志)
Logs are very important, this can help us solve the problem.
Please upload your log file and paste the address here:(请上传您的日志文件,在这里粘贴地址:)
time: 1674264502671 msg: java.lang.IllegalArgumentException: width and height must be > 0 stacktrace: java.lang.IllegalArgumentException: width and height must be > 0 at android.graphics.Bitmap.createBitmap(Bitmap.java:1111) at android.graphics.Bitmap.createBitmap(Bitmap.java:1078) at android.graphics.Bitmap.createBitmap(Bitmap.java:1028) at android.graphics.Bitmap.createBitmap(Bitmap.java:989) at top.trumeet.common.utils.ImgUtils.cropTransparent(ImgUtils.java:166) at top.trumeet.common.utils.ImgUtils.convertToTransparentAndWhite(ImgUtils.java:111) at top.trumeet.common.cache.IconCache$WhiteIconProcess.convert(IconCache.java:122) at top.trumeet.common.cache.IconCache$3.gen(IconCache.java:93) at top.trumeet.common.cache.IconCache$3.gen(IconCache.java:86) at top.trumeet.common.cache.AbstractCacheAspect.get(AbstractCacheAspect.java:18) at top.trumeet.common.cache.IconCache.getIconCache(IconCache.java:96) at com.xiaomi.xmsf.push.notification.NotificationController.processIcon(NotificationController.java:371) at com.xiaomi.xmsf.push.notification.NotificationController.notify(NotificationController.java:226) at com.xiaomi.xmsf.push.notification.NotificationController.publish(NotificationController.java:212) at com.xiaomi.push.service.MyMIPushNotificationHelper.doNotifyPushMessage(MyMIPushNotificationHelper.java:314) at com.xiaomi.push.service.MyMIPushNotificationHelper.lambda$notifyPushMessage$0(MyMIPushNotificationHelper.java:156) at com.xiaomi.push.service.MyMIPushNotificationHelper$$ExternalSyntheticLambda1.run(Unknown Source:6) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637) at java.lang.Thread.run(Thread.java:1012)

ROM and version(manager): (你的 ROM 和 manager 的版本)

  • Name: Evolution X
  • Android Version: 13
  • Version 0.3.7.20230120.c2d6eda

Additional context
Add any other context about the problem here.(更多关于问题的内容写在这里)

小米12mipush一直注册服务未成功

Describe the bug/
A clear and concise description of what the bug is.(解释一下出了什么问题)
系统环境:a13-miui14
mipush一直注册服务未成功 一点记录并刷新就卡在那里转圈圈
To Reproduce
Steps to reproduce the behavior:(如何复现错误,也就是您的操作步骤)

  1. 恢复系统推送服务为出厂版本
  2. 刷入精简模块
  3. 启动mipush并给予需要权限
  4. 删除基本上所有的mipush.xml
  5. 重启应该自动注册的应用
  6. 错误复现,应用一直注册mipush失败
    Expected behavior
    A clear and concise description of what you expected to happen.(您希望发生什么)
    他应该成功注册而且推送通知
    Screenshots(截图)
    If applicable, add screenshots to help explain your problem.
    image

Logs (日志)
Logs are very important, this can help us solve the problem.
Please upload your log file and paste the address here:(请上传您的日志文件,在这里粘贴地址:)
logs-2023-48-23-21-48-59.zip

ROM and version(manager): (你的 ROM 和 manager 的版本)

  • Name: [e.g. Lineage OS] miui 14 stable cn 14.0.6
  • Android Version: [e.g. 8.1] 13
  • Version [e.g. 0.3.4 stable] stable cn 14.0.6
  • magisk delta 25210+lsposed 6898
    Additional context
    Add any other context about the problem here.(更多关于问题的内容写在这里)
    期待作者回复 且 mipush在另外一台miui的机器上工作正常
    日志中有权限不足的提示,还有网络连接失败的提示,这让我很困惑
    毕竟我在清除数据之后已经给予了全部必要的权限。甚至在卸载重装之后仍是如此
    切换代理之后注册服务也无法连接

MIUI EU自带服务框架版本号过高

Describe the bug/
A clear and concise description of what the bug is.(解释一下出了什么问题)
刷的是MIUI EU,米10,miui14。自带小米服务框架版本号为5.4.10,精简不起作用,因无法降级而安装xmsf失败。

To Reproduce
Steps to reproduce the behavior:(如何复现错误,也就是您的操作步骤)

  1. 刷MIUI EU
  2. 刷magisk
  3. 安装xmsf

Expected behavior
A clear and concise description of what you expected to happen.(您希望发生什么)
安装成功

Screenshots(截图)
If applicable, add screenshots to help explain your problem.
Screenshot_2023-06-13-11-15-54-490_com miui packageinstaller

Logs (日志)
Logs are very important, this can help us solve the problem.
Please upload your log file and paste the address here:(请上传您的日志文件,在这里粘贴地址:)

ROM and version(manager): (你的 ROM 和 manager 的版本)

  • Name: MIUI EU V14.0.3.0.TJBCNXM_v14-13
  • Android Version: 13
  • Version 0.3.9

Additional context
Add any other context about the problem here.(更多关于问题的内容写在这里)

安装MiPush模块后仅保留一个应用名称

Is your feature request related to a problem? Please describe.(该功能是否与问题有关?请描述)
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...](简单描述问题所在)
问题在于标题中会有两个应用名称

Describe the solution you'd like(说一下您想解决什么问题,想要做什么)
A clear and concise description of what you want to happen.
_8d18b3204806682051beda16a02ca051_247193200_IMG20230817142840
安装MiPush模块后移除金色的QQ标题

网络短信失效

Describe the bug/
如题

To Reproduce
覆盖安装xmsf

Expected behavior
网络短信能正常使用

Screenshots(截图)
Screenshot_2023-09-14-19-38-54-380_com android mms

Logs (日志)
log中只有载入配置文件的内容。

ROM and version(manager):

  • Name: miui15
  • Android Version: 13
  • version: 0.3.11

Additional context

MIUI双开推送服务后启用mipush模块无法正常推送

Describe the bug/
A clear and concise description of what the bug is.(解释一下出了什么问题)
1.在工作空间的推送服务在mipush模块打开推送详情页后闪退,能接收到推送,但不弹出通知
2.会在重启后自动卸载
To Reproduce
Steps to reproduce the behavior:(如何复现错误,也就是您的操作步骤)
1.将mipush模块与推送服务克隆到空间中
2. 在lsposed中启用mipush模块
3. 推送服务详情页闪退

Expected behavior
A clear and concise description of what you expected to happen.(您希望发生什么)
修复这两个bug,使第二空间的推送服务正常使用
Screenshots(截图)
If applicable, add screenshots to help explain your problem.
Screenshot_2023-07-17-13-56-41-410_com fankes apperrorstracking
Screenshot_2023-07-17-13-58-46-633_com miui securitycenter

Logs (日志)
Generated by AppErrorsTracking
Project Url: https://github.com/KitsunePie/AppErrorsTracking

[Device Model]: MIX 2S
[Display]: unknown
[Android Version]: 13
[Android API Level]: 33
[System Locale]: zh_CN
[Process ID]: 16692
[User Id]: 999
[CPU ABI]: none
[Package Name]: com.xiaomi.xmsf
[Version Name]: 0.3.9-34-ga05626e
[Version Code]: 1003003000
[Error Type]: JVM
[Crash Time]: 2023-07-17T13:59:31.893
[Stack Trace]:
java.lang.RuntimeException: Unable to pause activity {com.xiaomi.xmsf/top.trumeet.mipushframework.permissions.ManagePermissionsActivity}: java.lang.SecurityException: getNotificationChannelGroupsForPackage: uid 99910135 does not have android.permission.STATUS_BAR_SERVICE.
at android.app.ActivityThread.performPauseActivityIfNeeded(ActivityThread.java:5256)
at android.app.ActivityThread.performPauseActivity(ActivityThread.java:5207)
at android.app.ActivityThread.handlePauseActivity(ActivityThread.java:5159)
at android.app.servertransaction.PauseActivityItem.execute(PauseActivityItem.java:47)
at android.app.servertransaction.ActivityTransactionItem.execute(ActivityTransactionItem.java:45)
at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:176)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:97)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2381)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:210)
at android.os.Looper.loop(Looper.java:299)
at android.app.ActivityThread.main(ActivityThread.java:8235)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:559)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:954)
Caused by: java.lang.SecurityException: getNotificationChannelGroupsForPackage: uid 99910135 does not have android.permission.STATUS_BAR_SERVICE.
at android.os.Parcel.createExceptionOrNull(Parcel.java:3011)
at android.os.Parcel.createException(Parcel.java:2995)
at android.os.Parcel.readException(Parcel.java:2978)
at android.os.Parcel.readException(Parcel.java:2920)
at android.app.INotificationManager$Stub$Proxy.getNotificationChannelGroupsForPackage(INotificationManager.java:3603)
at java.lang.reflect.Method.invoke(Native Method)
at n3.c.j(Unknown Source:70)
at l3.r.H(Unknown Source:27)
at q3.b.beforeHookedMethod(Unknown Source:41)
at de.robv.android.xposed.XposedBridge$AdditionalHookInfo.callback(Unknown Source:79)
at LSPHooker_.getNotificationChannelGroups(Unknown Source:11)
at top.trumeet.mipushframework.permissions.ManagePermissionsActivity$ManagePermissionsFragment.onCreatePreferences(ManagePermissionsActivity.java:353)
at moe.shizuku.preference.PreferenceFragment.onCreate(PreferenceFragment.java:227)
at top.trumeet.mipushframework.permissions.ManagePermissionsActivity$ManagePermissionsFragment.onCreate(ManagePermissionsActivity.java:216)
at androidx.fragment.app.Fragment.performCreate(Fragment.java:2949)
at androidx.fragment.app.FragmentStateManager.create(FragmentStateManager.java:475)
at androidx.fragment.app.FragmentStateManager.moveToExpectedState(FragmentStateManager.java:278)
at androidx.fragment.app.FragmentManager.executeOpsTogether(FragmentManager.java:2189)
at androidx.fragment.app.FragmentManager.removeRedundantOperationsAndExecute(FragmentManager.java:2100)
at androidx.fragment.app.FragmentManager.execPendingActions(FragmentManager.java:2002)
at androidx.fragment.app.FragmentManager.dispatchStateChange(FragmentManager.java:3138)
at androidx.fragment.app.FragmentManager.dispatchPause(FragmentManager.java:3090)
at androidx.fragment.app.FragmentController.dispatchPause(FragmentController.java:284)
at androidx.fragment.app.FragmentActivity.onPause(FragmentActivity.java:390)
at android.app.Activity.performPause(Activity.java:8705)
at android.app.Instrumentation.callActivityOnPause(Instrumentation.java:1619)
at android.app.ActivityThread.performPauseActivityIfNeeded(ActivityThread.java:5246)
... 14 more
Caused by: android.os.RemoteException: Remote stack trace:
at android.app.ContextImpl.enforce(ContextImpl.java:2250)
at java.lang.reflect.Method.invoke(Native Method)
at org.lsposed.lspd.nativebridge.HookBridge.invokeOriginalMethod(Native Method)
at de.robv.android.xposed.XposedBridge$AdditionalHookInfo.callback(Unknown Source:110)
at LSPHooker_.enforce(Unknown Source:35)

ROM and version(manager): (你的 ROM 和 manager 的版本)

  • Name: MIUI14
  • Android Version: 13
  • Version 0.3.9-34-ga05626e(群内最新内测版)

Additional context
Add any other context about the problem here.(更多关于问题的内容写在这里)
Screenshot_2023-07-17-13-59-38-445_com fankes apperrorstracking

注册成功后无法收到通知

应用都注册成功了,但是自此之后再也没收到通知。例如酷安、微博,打开酷安、微博后才收到了应用自己的通知。

换为debug版本后期推送设置如下
图片

日志如下
logs-2024-37-23-19-37-50.zip

我的ROM为Crdroid 10
Android Version:14
手机为:红米K30 至尊纪念版

无法注册任何应用

Describe the bug/
A clear and concise description of what the bug is.(解释一下出了什么问题)
任何应用都无法注册,/data/data/com.xiaomi.xmsf/shared_prefs/push_message_ids.xml内容空白。 MiPush未在后台,但早已加入自启及白名单(墓碑/黑域)

To Reproduce
Steps to reproduce the behavior:(如何复现错误,也就是您的操作步骤)

  1. /data/data/com.xiaomi.xmsf/shared_prefs/push_message_ids.xml文件是手动创建的,权限已更改,文件内容一直空白
  2. 卸载重装过 MiPushMiPushFramework,且均为最新版/内测版

Expected behavior
A clear and concise description of what you expected to happen.(您希望发生什么)
我希望能够成功注册应用

Screenshots(截图)
If applicable, add screenshots to help explain your problem.
42C21F07A7D8E6C459D89F1FA239A796

Logs (日志)
Logs are very important, this can help us solve the problem.
Please upload your log file and paste the address here:(请上传您的日志文件,在这里粘贴地址:)
logs-2024-23-16-19-23-22.zip

ROM and version(manager): (你的 ROM 和 manager 的版本)

  • Name: [e.g. Color 13]
  • Android Version: [e.g. 13]
  • Version [e.g. 0.3.11 stable]

Additional context
Add any other context about the problem here.(更多关于问题的内容写在这里)

快速清除mipush.xml的脚本

#!/bin/sh

cd /data/data/
dirs=($(find . -maxdepth 1 -type d))
for dir in "${dirs[@]}"; do
    src="${dir}/shared_prefs/mipush.xml"
    dest="${dir}/shared_prefs/_mipush.xml"
    if [[ -f "$src" ]]; then
        mv "$src" "$dest"
    fi
done

通过KernelSU模块固化软件到系统时软件会崩溃闪退

Describe the bug/
A clear and concise description of what the bug is.(解释一下出了什么问题)

通过KernelSU模块固化软件到System/app/,重启系统卸载更新之后会导致软件崩溃闪退。

To Reproduce
Steps to reproduce the behavior:(如何复现错误,也就是您的操作步骤)

  1. 安装软件本体
  2. 提取软件本体及oat文件夹的所有内容打包为KernelSU模块
  3. 安装模块,重启系统,为软件本体卸载更新(固化到系统的软件会自动安装,这里是卸载用户分区的软件)

Expected behavior
A clear and concise description of what you expected to happen.(您希望发生什么)

能正常运行软件

Screenshots(截图)
If applicable, add screenshots to help explain your problem.

闪退无截图,无法进入软件界面

Logs (日志)
Logs are very important, this can help us solve the problem.
Please upload your log file and paste the address here:(请上传您的日志文件,在这里粘贴地址:)

time: 1693558883640
msg: java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.res.Configuration android.content.res.Resources.getConfiguration()' on a null object reference
stacktrace: java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.res.Configuration android.content.res.Resources.getConfiguration()' on a null object reference
at android.app.ConfigurationController.updateLocaleListFromAppContext(ConfigurationController.java:271)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6714)
at android.app.ActivityThread.-$$Nest$mhandleBindApplication(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2134)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7966)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:942)

ROM and version(manager): (你的 ROM 和 manager 的版本)

  • Name: [e.g. Lineage OS] Evolution X
  • Android Version: [e.g. 8.1] 13.0
  • Version [e.g. 0.3.4 stable] 0.3.11-3-g0585c7a9

Additional context
Add any other context about the problem here.(更多关于问题的内容写在这里)

希望提供root申请开关

当前,只有首次安装app,才有出现root申请弹窗。

过去,有个“全局伪装”,可视作root申请开关。

如果因为某种原因(比如清除cache分区),magisk su掉了,即便重新刷回来,那些需要root权限的app仍然需要重新申请。

在过去,直接重新设置一下“全局伪装”就可以,现在不可能了。

如果卸载掉push app后重新安装,就能再次申请root权限,但更会产生注册异常的问题。

所以,希望出现这个root申请的设置选项。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.