Skip to content

Commit

Permalink
doscumentation: explain mode 7
Browse files Browse the repository at this point in the history
  • Loading branch information
backslashxx committed Dec 1, 2024
1 parent 7c73f13 commit f71157f
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 6 deletions.
20 changes: 16 additions & 4 deletions Documentation/modes.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,11 @@
## mode=2
### plain bindhosts
- mount --bind
- Actually works on all managers, but not really preferable as it leaks the global mount
- only useful as a last resort, only available as opt-in
- Actually works on all managers, highest compatibility
- **OPT-IN** only due to high susceptability to detections
- leaks a globally modified hosts file
- Adaway compatible
- Hiding: none at all
- Hiding: none at all, but some don't detect this.

---

Expand Down Expand Up @@ -74,7 +75,7 @@

---

## mode=6:
## mode=6
### ksu_source_mod
- KernelSU only
- **OPT-IN** only
Expand All @@ -84,3 +85,14 @@
- Hiding: okay-ish, hidden, but at this point, you're already modding ksu source eh, why not go susfs?

---

## mode=7
### generic_overlay_rw
- generic overlayfs rw mount
- should work on all managers
- **OPT-IN** only due to high susceptability to detections
- leaks an overlayfs mount, leaks globally modified hosts file
- Adaway compatible
- Hiding: essentially no hiding, needs assistance

---
14 changes: 12 additions & 2 deletions Documentation/modes_dev_manual.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ mode=1

mode=2
plain bindhosts, mount --bind
actually works on all managers but not really preferrable as it leaks that nasty global mount
actually works on all managers but not really preferrable as it leaks a global mount
Adaway compatible
hiding: none at all
hiding: essentially no hiding, needs assistance

mode=3
apatch_hfr, hosts file redirect
Expand Down Expand Up @@ -61,4 +61,14 @@ mode=6
Adaway compatible
hiding, best in its class as long as path_umount is available

mode=7
generic_overlay_rw
generic overlayfs rw mount
requires overlayfs
ALL Managers
opt-in only due to high susceptability to detections
echo "mode=7" > /data/adb/bindhosts/mode_override.sh
Adaway compatible
hiding: essentially no hiding, needs assistance

# EOF

0 comments on commit f71157f

Please sign in to comment.