-
Install the the
shadowsocks-libev
package from apt repository.sudo apt update sudo apt install shadowsocks-libev
-
Save
ss.json
as/etc/shadowsocks-libev/config.json
.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# To run this: | |
# bash <(curl -sL https://gist.githubusercontent.com/2shrestha22/b2f15066c1627085e0913ac52d243d62/raw/2c477da35d44b77a510783a1d1494cc90feb9217/magisk_flash.sh) | |
BOOT_IMAGE_FILE_NAME="boot.img" | |
BOOT_IMAGE_FILE_PATH="./$BOOT_IMAGE_FILE_NAME" | |
echo -e "Helper srcipt to flash Magisk patched boot.img for non A/B device...\n" | |
if adb shell getprop ro.build.ab_update | grep -q true; then |
OlderNewer