Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] 经过mt管理器绕过签名校验的apk无法修补 #33

Open
1 task done
qmzqd opened this issue Jun 12, 2024 · 1 comment
Open
1 task done

[Bug] 经过mt管理器绕过签名校验的apk无法修补 #33

qmzqd opened this issue Jun 12, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@qmzqd
Copy link

qmzqd commented Jun 12, 2024

Steps to reproduce/复现步骤

  1. 通过mt管理器绕过一个apk文件签名校验
  2. 使用onpatch对此apk文件进行修补

Expected behaviour/预期行为

正常修补文件

Actual behaviour/实际行为

修补apk报错

Xposed Module List/Xposed 模块列表

本地加载器模式,未注入模块

NPatch version/NPatch 版本

0.0.7

Shizuku version/Shizuku 版本

N/A

Version requirement/版本要求

  • I am using latest Release version of LSPatch and enable verbose log/我正在使用最新 Release 版本且启用详细日志

Apk file/Apk 文件

报错apk.zip

Logs/日志

Launch patch
, Processing /data/user/0/org.lsposed.onpatch/cache/apk/App Ops - Permission manager_9.0.7.r1709.96c7869d_opt_kill.apk -> /data/user/0/org.lsposed.onpatch/cache/apk/App Ops - Permission manager_9.0.7.r1709.96c7869d_opt_kill-7-onpatched.apk
, apk path: /data/user/0/org.lsposed.onpatch/cache/apk/App Ops - Permission manager_9.0.7.r1709.96c7869d_opt_kill.apk
, Parsing original apk...
, Failed to read zip file '/data/user/0/org.lsposed.onpatch/cache/apk/App Ops - Permission manager_9.0.7.r1709.96c7869d_opt_kill.apk'.
, java.io.IOException: Failed to read zip file '/data/user/0/org.lsposed.onpatch/cache/apk/App Ops - Permission manager_9.0.7.r1709.96c7869d_opt_kill.apk'.
	at y4.y.<init>(Unknown Source:227)
	at y4.t.<init>(Unknown Source:6)
	at b9.a.a(Unknown Source:326)
	at h8.c.h(Unknown Source:23)
	at l7.a.u(Unknown Source:5)
	at a8.h0.run(Unknown Source:111)
	at kotlinx.coroutines.internal.f.run(Unknown Source:12)
	at kotlinx.coroutines.scheduling.i.run(Unknown Source:2)
	at kotlinx.coroutines.scheduling.a.run(Unknown Source:76)
Caused by: java.io.IOException: Cannot read entry 'assets/SignatureKiller/origin.apk' (offset: 1841680, size: 10270819) because it overlaps with 'META-INF/services/rikka.appops.gb0' (offset: 9870133, size: 83)
	at y4.y.N(Unknown Source:885)
	at y4.y.<init>(Unknown Source:155)
	... 8 more
@qmzqd qmzqd added the bug Something isn't working label Jun 12, 2024
@HSSkyBoy
Copy link
Owner

@qmzqd MT去签后安装包中会有一个原包,需自行修改

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants