Skip to content

Instantly share code, notes, and snippets.

View xwjqv's full-sized avatar

xwjqv

  • Germany
View GitHub Profile
@xwjqv
xwjqv / drop_root.sh
Last active January 29, 2025 15:20
Nix-on-droid login without proot but with chroot and root
#!/system/bin/sh
uid=$(stat -c %u /data/data/com.termux.nix)
pid=$(pidof -s com.termux.nix)
if test -z $pid; then
which -a pidof
pgrep com.termux.nix
echo Nix on Droid App process not found
exit
fi