新增加载新版内核的binder功能

This commit is contained in:
2023-05-02 13:03:02 +08:00
parent 59e2ccfd63
commit 1d3ca4bf2d
2 changed files with 20 additions and 0 deletions

7
LoadingBinder/load.sh Normal file
View File

@@ -0,0 +1,7 @@
#!/bin/bash
if [[ `whoami` != root ]]; then
echo 这不是 root 用户,结束
exit 1
modprobe binder_linux
mkdir /dev/binderfs
mount -t binder binder /dev/binderfs