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

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

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