path=`pm path com.tencent.tmgp.pubgmhd | sed -E  's/(.*):(.*)/\2/'| sed -E 's/(.*)base.apk/\1/'`"lib/arm64/"
cp -f `pwd`"/inject.so" $path"inject.so"
chmod 777 $path"inject.so"
cp -f `pwd`"/libtr.so" $path"/libtr.so"
chmod 777 $path"libtr.so"

am start -n com.tencent.tmgp.pubgmhd/com.epicgames.ue4.SplashActivity
sleep 1

$path"inject.so" --pname com.tencent.tmgp.pubgmhd --libpath $path"libtr.so"