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

[Request] KSU Support #20

Open
JeelsBoobz opened this issue Oct 27, 2023 · 1 comment
Open

[Request] KSU Support #20

JeelsBoobz opened this issue Oct 27, 2023 · 1 comment

Comments

@JeelsBoobz
Copy link

JeelsBoobz commented Oct 27, 2023

I hope next update support for KSU

Logs:

Fri Oct 27 16:36:21 WIB 2023
versionCode=202112070
849: grep -iq noAutoMount /data/adb/vr25/fbind-data/config.txt
850: apply_config
23: typeset 'i='
25: '[' -f /data/adb/vr25/fbind-data/config.txt ']'
26: grep -iq ^permissive /data/adb/vr25/fbind-data/config.txt
29: grep -q '^extsd_path ' /data/adb/vr25/fbind-data/config.txt
29: default_extsd
122: typeset 'df='
123: typeset 'dir='
124: typeset 'size=0'
125: typeset 'newSize=0'
126: false
126: wait_until_true grep -q /mnt/media_rw/ /proc/mounts
692: typeset '_='
693: '[' -n grep ']'
0: seq 100
695: eval grep -q /mnt/media_rw/ /proc/mounts
695: grep -q /mnt/media_rw/ /proc/mounts
696: false
697: sleep 3
699: set +x
127: grep -q /mnt/media_rw/ /proc/mounts
33: is_mounted /mnt/user/0/emulated
213: 2>/dev/null 
213: mountpoint -q /mnt/user/0/emulated
33: prefix=/mnt/user/0 
33: break
35: '[' -n /mnt/user/0 ']'
35: intsd=/mnt/user/0/emulated/0 
36: is_mounted
213: 2>/dev/null 
213: mountpoint -q ''
36: extsd=/mnt/user/0/emulated/0 
37: obb=/mnt/user/0/emulated/0/Android/obb 
38: extobb=/mnt/user/0/emulated/0/Android/obb 
40: >/dev/.vr25/fbind/tmpf 
40: grep -E '^extsd_path |^intsd_path |^part |^loop ' /data/adb/vr25/fbind-data/config.txt
41: . /dev/.vr25/fbind/tmpf
42: rm /dev/.vr25/fbind/tmpf
851: grep -Eq '^int_extf|^bind_mount |^obb.*|^from_to |^target ' /data/adb/vr25/fbind-data/config.txt
851: bind_mount_wrapper
77: false
103: '[' -n '' ']'
106: >/dev/.vr25/fbind/tmpf 
106: grep -E '^int_extf|^bind_mount |^obb|^from_to |^target ' /data/adb/vr25/fbind-data/config.txt
109: . /dev/.vr25/fbind/tmpf
1: bind_mount /mnt/user/0/emulated/0/Android/data/ir.ilmili.telegraph/files/Telegram /mnt/user/0/emulated/0/Telegram
47: typeset 'i='
48: is_mounted /mnt/user/0/emulated/0/Telegram
213: 2>/dev/null 
213: mountpoint -q /mnt/user/0/emulated/0/Telegram
49: false
53: wait_storage /mnt/user/0/emulated/0/Android/data/ir.ilmili.telegraph/files/Telegram /mnt/user/0/emulated/0/Telegram
682: echo /mnt/user/0/emulated/0/Android/data/ir.ilmili.telegraph/files/Telegram /mnt/user/0/emulated/0/Telegram
682: grep -Eq '/data/media/|/storage/emulated/|/mnt/user/0/'
683: wait_until_true
692: typeset '_='
693: '[' -n '' ']'
693: set -- grep -Eq \'' /storage/emulated (fuse|sdcardfs) '\' /proc/mounts
0: seq 100
695: eval grep -Eq \'' /storage/emulated (fuse|sdcardfs) '\' /proc/mounts
695: grep -Eq ' /storage/emulated (fuse|sdcardfs) ' /proc/mounts
695: break
685: echo /mnt/user/0/emulated/0/Android/data/ir.ilmili.telegraph/files/Telegram /mnt/user/0/emulated/0/Telegram
685: grep -q /mnt/media_rw/
55: mkdir -p /mnt/user/0/emulated/0/Android/data/ir.ilmili.telegraph/files/Telegram /mnt/user/0/emulated/0/Telegram
56: >/dev/null 
56: which bindfs
57: su -Mc bindfs -o nosuid,nodev,noexec,noatime,nonempty -u 0 -g 9997 -p a-rwx,ug+rw,ugo+X '--create-with-perms=a-rwx,ug+rw,ugo+X' --xattr-none --chown-ignore --chgrp-ignore --chmod-ignore '"/mnt/user/0/emulated/0/Android/data/ir.ilmili.telegraph/files/Telegram"' '"/mnt/user/0/emulated/0/Telegram"'
Unrecognized option: 'o'
KernelSU

Usage: su [options] [-] [user [argument...]]

Options:
    -c, --command COMMAND
                        pass COMMAND to the invoked shell
    -h, --help          display this help message and exit
    -l, --login         pretend the shell to be a login shell
    -p, --preserve-environment 
                        preserve the entire environment
    -s, --shell         use SHELL instead of the default /system/bin/sh
    -v, --version       display version number and exit
    -V                  display version code and exit
    -M, --mount-master  force run in the global mount namespace
60: echo '(i) Trying "mount -o bind"...'
(i) Trying "mount -o bind"...
61: mount -o bind '"/mnt/user/0/emulated/0/Android/data/ir.ilmili.telegraph/files/Telegram"' '"/mnt/user/0/emulated/0/Telegram"'
259: su -Mc /system/bin/mount -o rw,noatime -o bind '"/mnt/user/0/emulated/0/Android/data/ir.ilmili.telegraph/files/Telegram"' '"/mnt/user/0/emulated/0/Telegram"'
Unrecognized option: 'o'
KernelSU

Usage: su [options] [-] [user [argument...]]

Options:
    -c, --command COMMAND
                        pass COMMAND to the invoked shell
    -h, --help          display this help message and exit
    -l, --login         pretend the shell to be a login shell
    -p, --preserve-environment 
                        preserve the entire environment
    -s, --shell         use SHELL instead of the default /system/bin/sh
    -v, --version       display version number and exit
    -V                  display version code and exit
    -M, --mount-master  force run in the global mount namespace
259: 2>/dev/null 
66: is_mounted /mnt/user/0/emulated/0/Telegram
213: 2>/dev/null 
213: mountpoint -q /mnt/user/0/emulated/0/Telegram
69: rmdir /mnt/user/0/emulated/0/Telegram
110: rm /dev/.vr25/fbind/tmpf
111: rescan_media
600: </dev/null 
600: >/dev/null 
600: 2>&1 
600: /system/bin/am broadcast -a android.intent.action.MEDIA_MOUNTED -d file:///sdcard/ -p com.android.providers.media
113: false
852: grep -q '^remove ' /data/adb/vr25/fbind-data/config.txt
853: break
864: exit 0
864: exxit
180: typeset 'exitCode=0'
181: echo

182: 2>/dev/null 
182: rm /data/adb/vr25/fbind-data/.FUSE.tmp
183: exit 0
@mareliada
Copy link

mareliada commented Nov 26, 2024

Not sure if you found it already by yourself, but you will find newer builds for fbind only (for some reason) here on telegram, where KernelSU is also working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants