Skip to content

Commit

Permalink
documentation: sync up to current events
Browse files Browse the repository at this point in the history
magic mount on both APatch and KernelSU hurray!
  • Loading branch information
backslashxx committed Dec 9, 2024
1 parent 4a6962b commit 5348867
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 6 deletions.
9 changes: 7 additions & 2 deletions Documentation/hiding.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
## APatch
Hiding in APatch is a bit challenging due to the following reasons:
1. it uses OverlayFS but lacks a built-in unmount mechanism
2. bind-mount mode (magisk mount) is NOT set as default
2. magic mount is NOT set as default

Recommendations:
- use hosts_file_redirect kpm
- [Usage Tutorial](https://github.com/backslashxx/bindhosts/issues/3)
- [Download here](https://github.com/AndroidPatch/kpm/releases)
- if hosts_file_redirect fails, install [ZN-hostsredirect](https://github.com/aviraxp/ZN-hostsredirect/releases)
- OR, move to bind-mount mode and install [Zygisk Assistant](https://github.com/snake-4/Zygisk-Assistant)
- OR, move to magic mount and install [Zygisk Assistant](https://github.com/snake-4/Zygisk-Assistant)

## KernelSU
Hiding in KernelSU should just work, provided that:
Expand All @@ -32,3 +32,8 @@
- some root detections now includes and check for modified hosts file.
- How do I check for detections?
- Read [how to check for detections](https://github.com/backslashxx/bindhosts/issues/4)
- How do I move to magic mount on APatch?
- open termux and then ```su -c touch /data/adb/.bind_mount_enable```

## Glossary of terms
- magic mount - mounting method primarily used by magisk
12 changes: 8 additions & 4 deletions Documentation/modes.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,17 @@

## mode=0
### default mode
- **APatch** - OverlayFS / magic mount
- magic mount is Adaway compatible ?
- **APatch**
- OverlayFS / magic mount
- magic mount is Adaway compatible, OverlayFS is NOT
- Hiding: for OverlayFS mode, none.
- Hiding: for magic mount [zygisk-assistant](https://github.com/snake-4/Zygisk-Assistant)
- **Magisk** - magic mount
- **Magisk**
- magic mount
- Adaway compatible
- Hiding: Denylist / [Shamiko](https://github.com/LSPosed/LSPosed.github.io/releases) / [Zygisk Assistant](https://github.com/snake-4/Zygisk-Assistant)
- **KernelSU** OverlayFS + path_umount
- **KernelSU**
- OverlayFS + path_umount, (magic mount? soon?)
- No Adaway compatibility
- Hiding: umount modules (for non-GKI, please backport path_umount)

Expand Down Expand Up @@ -110,3 +113,4 @@
- Hiding: good method but ksu_susfs_bind is easier

---

0 comments on commit 5348867

Please sign in to comment.