superuser tab: toggle of first app does not work
Maintainers usually reply within 4 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 55/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Domain
- authentication, mobile
Research direction
Start by finding the Superuser tab UI and the code that handles toggling an app’s root access; the issue does not name files or tests. Reproduce with several apps enabled and tap the first app’s toggle. Done means only that app’s access changes, and the other apps’ toggles remain unchanged.
Written by the indexing model from the issue text.
Description
Please check before submitting an issue | 在提交 Issue 前请检查
- I searched the issues and didn't found anything relevant | 我已经搜索了 Issues 列表,没有发现于本问题相关内容
- If the patch fails or the image cannot be booted after flashing the new boot.img, visit KernelPatch to clarify your doubts | 修复失败或刷入修补后镜像不能启动,请前往 KernelPatch 提问
- I will upload the bug report file in APatch Manager > Settings > Send logs | 我会上传 Bug Report 文件从 APatch 管理器 > 设置 > 发送日志
- I know how to reproduce the issue, which might not be specific to my device | 我知道如何重新复现这个问题
Version requirements | 版本要求
- I'm using the latest CI version of APatch Manager | 我正在使用最新 CI 版本
Bug description | 描述 Bug
high impact bug: cannot control root access
in the superuser tab, toggles are supposed to enable/disable root access for each app. however the topmost toggle (the toggle for the first app) does not work.
issues are:
- when you hit the topmost toggle, all toggles for all apps change. it acts as a global enable/disable instead of acting as a toggle for the topmost app.
- there is no way of denying root to the topmost app (without denying root to every other app).
Reproduce method | 复现方法
go to superuser tab, have several apps with root access enabled, and try toggling the topmost app.
Expected behavior | 预期行为
only the tapped toggle changes.
Actual behavior | 实际行为
toggles for all enabled apps change.
Screenshots | 截图
No response
Logs | 日志
No response
Device name | 设备名称
rtwo
OS version | 系统版本
LineageOS 24
APatch version | APatch 版本
11282
Kernel version | 内核版本
5.15.211
KernelPatch version | KernelPatch 版本
0.13.9
Other information | 其他信息
i doubt anything useful might be in the logs and i expect reproducibility to be trivial, so no logs at this time. (but i can provide them if needed.)
- Dominant language
- Kotlin
- Stars
- 8.2k
- Forks
- 809
- Avg merge
- 7d 17h
- Merged PRs (30d)
- 1
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from bmax121/APatch
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 4 days
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 85/100
bmax121/APatch#1669 · 2 comments ·
Maintainers usually reply within 4 days
-
Direct Install reports success when boot partition write failsMay be free again A pull request for this issue was closed without being merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 4 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 4 days
-
boot_patch.sh: flash guard precedence allows flash attempt on missing new-boot.imgMay be free again A pull request for this issue was closed without being merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 4 days
Similar issues
-
enhancement good first issue help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
getsotto/sotto-authenticator#68 ·
Maintainers usually reply within 1 day
-
mobile prio:low
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
digitalfabrik/entitlementcard#3324 ·
Maintainers usually reply within 2 days
-
Contributions are welcome Type:bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
owncloud/android#5065 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
sameerasw/essentials#1913 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
micronaut-projects/micronaut-core#14585 ·
Maintainers usually reply within 1 day