echo -e "\033[41m框架专用\033[0m"
echo 开始清理封号残留
echo 禁网残留清理


am force-stop com.xyn.wskai
mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/mapversion.ini /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/.mapversion.ini
mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SrcVersion.ini /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/.SrcVersion.ini
mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/.Config
mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/.SaveGames
mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Paks /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/.Paks
mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/rawdata /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/.rawdata
rm -rf /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/*
mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/.mapversion.ini /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/mapversion.ini
mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/.SrcVersion.ini /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SrcVersion.ini
mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/.Config /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config
mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/.SaveGames /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames
mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/.Paks /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Paks
mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/.rawdata /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/rawdata
mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/.Saved
rm -rf /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/*
mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/.Saved /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved

mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/.ShadowTrackerExtra
rm -rf /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/*
mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/.ShadowTrackerExtra /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra

mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/.ShadowTrackerExtra
rm -rf /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/*
mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/.ShadowTrackerExtra /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra

mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/.UE4Game
mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/ProgramBinaryCache /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/.ProgramBinaryCache
rm -rf /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/*
mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/.ProgramBinaryCache /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/ProgramBinaryCache
mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/.UE4Game /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game

mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/.files
rm -rf /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/*
mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/.files /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files
mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig1

mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig1 /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig

echo
echo 马上清除全部封号信息√
echo
echo 请修改设备ID
echo
echo 否则游戏又会在本地生成该设备的封禁信息日志

echo 开始运行第二步
am force-stop com.tencent.ig
mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/mapversion.ini /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/.mapversion.ini
mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SrcVersion.ini /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/.SrcVersion.ini
mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/.Config
mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/.SaveGames
mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Paks /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/.Paks
mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/rawdata /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/.rawdata
rm -rf /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/*
mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/.mapversion.ini /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/mapversion.ini
mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/.SrcVersion.ini /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SrcVersion.ini
mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/.Config /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config
mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/.SaveGames /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames
mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/.Paks /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Paks
mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/.rawdata /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/rawdata
mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/.Saved
rm -rf /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/*
mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/.Saved /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved

mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/.ShadowTrackerExtra
rm -rf /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/*
mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/.ShadowTrackerExtra /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra

mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/.ShadowTrackerExtra
rm -rf /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/*
mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/.ShadowTrackerExtra /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra

mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/.UE4Game
mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/ProgramBinaryCache /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/.ProgramBinaryCache
rm -rf /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/*
mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/.ProgramBinaryCache /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/ProgramBinaryCache
mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/.UE4Game /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game

mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/.files
rm -rf /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/*
mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/.files /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files

#mv /data/data/com.tencent.ig/lib /data/data/com.tencent.ig/.lib
#rm -rf /data/data/com.tencent.ig/*
#mv /data/data/com.tencent.ig/.lib /data/data/com.tencent.ig/lib

mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig1

mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig1 /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig
echo 成功！开始更换ID 
echo 成功！开始更换ID 

PKG=com.tencent.ig
ID=$(grep $PKG /data/system/users/0/settings_ssaid.xml | awk -F'"' '{print $6}')
for i in $(seq 16)
do P=$P$(uuidgen|head -c 1|tr '-' -d)
done
sed -i s/$ID/$P/g /data/system/users/0/settings_ssaid.xml

echo 开始第三步

echo 开始运行清理残留
am force-stop com.tencent.ig
mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/mapversion.ini /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/.mapversion.ini
mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SrcVersion.ini /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/.SrcVersion.ini
mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/.Config
mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/.SaveGames
mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Paks /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/.Paks
mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/rawdata /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/.rawdata
rm -rf /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/*
mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/.mapversion.ini /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/mapversion.ini
mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/.SrcVersion.ini /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SrcVersion.ini
mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/.Config /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config
mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/.SaveGames /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames
mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/.Paks /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Paks
mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/.rawdata /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/rawdata
mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/.Saved
rm -rf /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/*
mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/.Saved /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved

mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/.ShadowTrackerExtra
rm -rf /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/*
mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/.ShadowTrackerExtra /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra

mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/.ShadowTrackerExtra
rm -rf /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/*
mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/.ShadowTrackerExtra /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra

mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/.UE4Game
mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/ProgramBinaryCache /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/.ProgramBinaryCache
rm -rf /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/*
mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/.ProgramBinaryCache /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/ProgramBinaryCache
mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/.UE4Game /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game

mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/.files
rm -rf /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/*
mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/.files /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files

#mv /data/data/com.tencent.ig/lib /data/data/com.tencent.ig/.lib
#rm -rf /data/data/com.tencent.ig/*
#mv /data/data/com.tencent.ig/.lib /data/data/com.tencent.ig/lib

mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig1

mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig1 /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig
echo 成功 更改ID

PKG=com.tencent.ig
ID=$(grep $PKG /data/system/users/0/settings_ssaid.xml | awk -F'"' '{print $6}')
for i in $(seq 16)
do P=$P$(uuidgen|head -c 1|tr '-' -d)
done
sed -i s/$ID/$P/g /data/system/users/0/settings_ssaid.xml

echo 正在执行第4步
system_path=/private/var/mobile/Containers/Data/Application
app_path=""
for file in $system_path/*; do
    if [ -d "$file/Documents/ShadowTrackerExtra" ];then
		app_path="$file"
	fi
done

echo -e "找到pung根目录: $app_path"

# 删除 /Documents/tss_tmp
delete_path=$app_path/Documents/tss_tmp
rm -rf $delete_path
echo "删除 $delete_path 完成"

# 删除 /Documents/tdm.db
delete_path=$app_path/Documents/tdm.db
rm -rf $delete_path
echo "删除 $delete_path 完成"

# 删除 /Documents/tss_app_915c.dat
delete_path=$app_path/Documents/tss_app_915c.dat
rm -rf $delete_path
echo "删除 $delete_path 完成"

# 删除 /Documents/tss_cs_stat2.dat
delete_path=$app_path/Documents/tss_cs_stat2.dat
rm -rf $delete_path
echo "删除 $delete_path 完成"

# 删除 /Documents/api.tpns.sh.tencent.com_IPXL3G6EADY4_xgvipiotprivateserialization.b
delete_path=$app_path/Documents/api.tpns.sh.tencent.com_IPXL3G6EADY4_xgvipiotprivateserialization.b
rm -rf $delete_path
echo "删除 $delete_path 完成"

# 删除 /Documents/tss.i.m.dat
delete_path=$app_path/Documents/tss.i.m.dat
rm -rf $delete_path
echo "删除 $delete_path 完成"

# 删除 /Documents/tersafe.update
delete_path=$app_path/Documents/tersafe.update
rm -rf $delete_path
echo "删除 $delete_path 完成"

# 删除 /Documents/ShadowTrackerExtra/Saved/Logs
delete_path=$app_path/Documents/ShadowTrackerExtra/Saved/Logs
rm -rf $delete_path
echo "删除 $delete_path 完成"

# 删除 /Documents/ShadowTrackerExtra/Saved/Config
delete_path=$app_path/Documents/ShadowTrackerExtra/Saved/Config
rm -rf $delete_path
echo "删除 $delete_path 完成"

# 删除 /Library/Caches
delete_path=$app_path/Library/Caches
rm -rf $delete_path
echo "删除 $delete_path 完成"

# 删除 /Library/'Saved Application State'
delete_path=$app_path/Library/'Saved Application State'
rm -rf $delete_path
echo "删除 $delete_path 完成"

# 删除 /Library/MidasLog
delete_path=$app_path/Library/MidasLog
rm -rf $delete_path
echo "删除 $delete_path 完成"

# 删除 /Library/WebKit
delete_path=$app_path/Library/WebKit
rm -rf $delete_path
echo "删除 $delete_path 完成"

# 删除 /Library/Cookies
delete_path=$app_path/Library/Cookies
rm -rf $delete_path
echo "删除 $delete_path 完成"

# 删除 /Library/'Application Support'
delete_path=$app_path/Library/'Application Support'
rm -rf $delete_path
echo "删除 $delete_path 完成"

# 删除 /Library/APWsjGameConfInfo.plist
delete_path=$app_path/Library/APWsjGameConfInfo.plist
rm -rf $delete_path
echo "删除 $delete_path 完成"

# 删除 /private/var/gg_address
delete_path=/private/var/gg_address
rm -rf $delete_path
echo "删除 $delete_path 完成"

# 删除 /Documents/sp_default.plist
delete_path=$app_path/Documents/sp_default.plist
rm -rf $delete_path
echo "删除 $delete_path 完成"

# 删除 /Library/'ts.records'
delete_path=$app_path/Library/'ts.records'
rm -rf $delete_path
echo "删除 $delete_path 完成"

# 删除 /Library/ts
delete_path=$app_path/Library/ts
rm -rf $delete_path
echo "删除 $delete_path 完成"

echo 正在清理...
am force-stop com.tencent.ig
mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/mapversion.ini /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/.mapversion.ini
mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SrcVersion.ini /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/.SrcVersion.ini
mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/.Config
mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/.SaveGames
mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Paks /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/.Paks
mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/rawdata /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/.rawdata
rm -rf /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/*
mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/.mapversion.ini /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/mapversion.ini
mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/.SrcVersion.ini /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SrcVersion.ini
mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/.Config /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config
mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/.SaveGames /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames
mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/.Paks /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Paks
mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/.rawdata /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/rawdata
mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/.Saved
rm -rf /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/*
mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/.Saved /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved

mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/.ShadowTrackerExtra
rm -rf /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/*
mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/.ShadowTrackerExtra /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra

mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/.ShadowTrackerExtra
rm -rf /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/*
mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/.ShadowTrackerExtra /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra

mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/.UE4Game
mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/ProgramBinaryCache /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/.ProgramBinaryCache
rm -rf /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/*
mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/.ProgramBinaryCache /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/ProgramBinaryCache
mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/.UE4Game /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game

mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/.files
rm -rf /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/*
mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/.files /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files


mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig1

mv /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig1 /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig

echo 正在执行第五步

echo 0 > /proc/sys/net/nf_conntrack_max
echo 清理成功
echo 0 > /proc/sys/net/unix/max_dgram_qlen
echo 清理成功
echo 0 > /proc/sys/kernel/max_lock_depth
echo 清理成功

rm -rf /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/cache/GameJoyRecorder/logs/
rm -rf /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/cache/GCloudSDKLog/GCloud/
rm -rf /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/tbslog/
rm -rf /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/tencent/TPush/Logs/
rm -rf /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/tencent/mobileqq/opensdk/logs/
rm -rf /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/TGPA/Log/
rm -rf /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Logs/
rm -rf /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/UpdateInfo/
rm -rf /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/PandoraV2/Logs/
rm -rf /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/login-identifier.txt
rm -rf /storage/emulated/999/Android/data/com.tencent.ig/cache/GameJoyRecorder/logs/
rm -rf /storage/emulated/999/Android/data/com.tencent.ig/cache/GCloudSDKLog/GCloud/
rm -rf /storage/emulated/999/Android/data/com.tencent.ig/files/tbslog/
rm -rf /storage/emulated/999/Android/data/com.tencent.ig/files/tencent/TPush/Logs/
rm -rf /storage/emulated/999/Android/data/com.tencent.ig/files/tencent/mobileqq/opensdk/logs/
rm -rf /storage/emulated/999/Android/data/com.tencent.ig/files/TGPA/Log/
rm -rf /storage/emulated/999/Android/data/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Logs/
rm -rf /storage/emulated/999/Android/data/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/UpdateInfo/
rm -rf /storage/emulated/999/Android/data/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/PandoraV2/Logs/
rm -rf /storage/emulated/999/Android/data/com.tencent.ig/files/login-identifier.txt
rm -rf /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/midas/log/com.tencent.ig/

iptables -F 
iptables -X 
iptables -Z
ip6tables -F
ip6tables -X
ip6tables -Z

chmod 0 /data/data/com.tencent.ig/files/ano_tmp
chmod 0 /data/data/com.tencent.ig/files/ano_tmp/ace.r_k2.dat
chmod 0 /data/data/com.tencent.ig/files/ano_tmp/ano_app_915c.dat
chmod 0 /data/data/com.tencent.ig/files/ano_tmp/ano_cef.dat
chmod 0 /data/data/com.tencent.ig/files/ano_tmp/ano_cs_stat2.dat
chmod 0 /data/data/com.tencent.ig/files/ano_tmp/ano_emu_c2.dat
chmod 0 /data/data/com.tencent.ig/files/ano_tmp/ano_lcp.dat
chmod 0 /data/data/com.tencent.ig/files/ano_tmp/ano_r_record.dat
chmod 0 /data/data/com.tencent.ig/files/ano_tmp/ano.ano3.dat
chmod 0 /data/data/com.tencent.ig/files/ano_tmp/ano.i.m.dat
chmod 0 /data/data/com.tencent.ig/files/ano_tmp/cache.crc.dat
chmod 0 /data/data/com.tencent.ig/files/ano_tmp/comm.dat
chmod 0 /data/data/com.tencent.ig/files/ano_tmp/config2.xml.7edce36a
chmod 0 /data/data/com.tencent.ig/files/ano_tmp/mn_cache.dat
chmod 0 /data/data/com.tencent.ig/files/ano_tmp/mrpcs.data
chmod 0 /data/data/com.tencent.ig/files/ano_tmp/tdm_cache.dat
chmod 0 /data/data/com.tencent.ig/files/ano_tmp/tersafe.update
chmod 0 /data/data/com.tencent.ig/files/ano_tmp/tss_base.dat
chmod 0 /data/data/com.tencent.ig/files/ano_tmp/tss_cfg2.dat
chmod 0 /data/data/com.tencent.ig/files/ano_tmp/tss_gp5.dat
chmod 0 /data/data/com.tencent.ig/files/ano_tmp/tss_ice_bolt.dat
chmod 0 /data/data/com.tencent.ig/files/ano_tmp/tss_lof.dat
chmod 0 /data/data/com.tencent.ig/files/ano_tmp/tss_tcj.dat 
echo 8192 > /proc/sys/fs/inotify/max_user_watches
echo 128 > /proc/sys/fs/inotify/max_user_instances
echo 99999 > /proc/sys/fs/inotify/max_queued_events
chmod 000 /data/data/com.tencent.ig/databases
chmod 000 //data/data/com.tencent.ig/files/*tmp*
chmod 000 /data/data/com.tencent.ig/files/ano_tmp
PKG=com.tencent.ig
ID=$(grep $PKG /data/system/users/0/settings_ssaid.xml | awk -F'"' '{print $6}')
for i in $(seq 16)
do P=$P$(uuidgen|head -c 1|tr '-' -d)
done
sed -i s/$ID/$P/g /data/system/users/0/settings_ssaid.xml


echo -n "时间："
date "+%Y年%H时%M分%S秒"
echo -n "设备："
getprop ro.product.brand
echo -n "设备类型："
getprop ro.product.model

echo 修改完成，需重启系统后生效 √

echo -e "\033[41m清理成功 \033[0m"

echo 正在执行第六步
echo 0 > /proc/sys/net/nf_conntrack_max
echo 0 > /proc/sys/net/unix/max_dgram_qlen
echo 0 > /proc/sys/kernel/max_lock_depth

rm -rf /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/cache/GameJoyRecorder/logs/
rm -rf /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/cache/GCloudSDKLog/GCloud/
rm -rf /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/tbslog/
rm -rf /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/tencent/TPush/Logs/
rm -rf /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/tencent/mobileqq/opensdk/logs/
rm -rf /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/TGPA/Log/
rm -rf /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Logs/
rm -rf /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/UpdateInfo/
rm -rf /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/PandoraV2/Logs/
rm -rf /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/login-identifier.txt
rm -rf /storage/emulated/999/Android/data/com.tencent.ig/cache/GameJoyRecorder/logs/
rm -rf /storage/emulated/999/Android/data/com.tencent.ig/cache/GCloudSDKLog/GCloud/
rm -rf /storage/emulated/999/Android/data/com.tencent.ig/files/tbslog/
rm -rf /storage/emulated/999/Android/data/com.tencent.ig/files/tencent/TPush/Logs/
rm -rf /storage/emulated/999/Android/data/com.tencent.ig/files/tencent/mobileqq/opensdk/logs/
rm -rf /storage/emulated/999/Android/data/com.tencent.ig/files/TGPA/Log/
rm -rf /storage/emulated/999/Android/data/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Logs/
rm -rf /storage/emulated/999/Android/data/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/UpdateInfo/
rm -rf /storage/emulated/999/Android/data/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/PandoraV2/Logs/
rm -rf /storage/emulated/999/Android/data/com.tencent.ig/files/login-identifier.txt
rm -rf /storage/emulated/0/Android/data/com.xyn.wskai/oas0tzg9m/com.tencent.ig/files/midas/log/com.tencent.ig/

chmod 0 /data/data/com.tencent.ig/files/ano_tmp
chmod 0 /data/data/com.tencent.ig/files/ano_tmp/ace.r_k2.dat
chmod 0 /data/data/com.tencent.ig/files/ano_tmp/ano_app_915c.dat
chmod 0 /data/data/com.tencent.ig/files/ano_tmp/ano_cef.dat
chmod 0 /data/data/com.tencent.ig/files/ano_tmp/ano_cs_stat2.dat
chmod 0 /data/data/com.tencent.ig/files/ano_tmp/ano_emu_c2.dat
chmod 0 /data/data/com.tencent.ig/files/ano_tmp/ano_lcp.dat
chmod 0 /data/data/com.tencent.ig/files/ano_tmp/ano_r_record.dat
chmod 0 /data/data/com.tencent.ig/files/ano_tmp/ano.ano3.dat
chmod 0 /data/data/com.tencent.ig/files/ano_tmp/ano.i.m.dat
chmod 0 /data/data/com.tencent.ig/files/ano_tmp/cache.crc.dat
chmod 0 /data/data/com.tencent.ig/files/ano_tmp/comm.dat
chmod 0 /data/data/com.tencent.ig/files/ano_tmp/config2.xml.7edce36a
chmod 0 /data/data/com.tencent.ig/files/ano_tmp/mn_cache.dat
chmod 0 /data/data/com.tencent.ig/files/ano_tmp/mrpcs.data
chmod 0 /data/data/com.tencent.ig/files/ano_tmp/tdm_cache.dat
chmod 0 /data/data/com.tencent.ig/files/ano_tmp/tersafe.update
chmod 0 /data/data/com.tencent.ig/files/ano_tmp/tss_base.dat
chmod 0 /data/data/com.tencent.ig/files/ano_tmp/tss_cfg2.dat
chmod 0 /data/data/com.tencent.ig/files/ano_tmp/tss_gp5.dat
chmod 0 /data/data/com.tencent.ig/files/ano_tmp/tss_lof.dat
chmod 0 /data/data/com.tencent.ig/files/ano_tmp/tss_tcj.dat 
echo 8192 > /proc/sys/fs/inotify/max_user_watches
echo 128 > /proc/sys/fs/inotify/max_user_instances
echo 99999 > /proc/sys/fs/inotify/max_queued_events
chmod 000 /data/data/com.tencent.ig/databases
chmod 000 //data/data/com.tencent.ig/files/*tmp*
chmod 000 /data/data/com.tencent.ig/files/ano_tmp
echo -e "\033[41m---清理文件成功---\033[0m"
sleep 1s


echo -e "\033[41m---正在自动为你检查一遍是否清理成功---\033[0m"
echo -e "\033[41m---请稍等马上检查完成---\033[0m"
sleep 5s

PKG=com.tencent.ig
ID=$(grep $PKG /data/system/users/0/settings_ssaid.xml | awk -F'"' '{print $6}')
for i in $(seq 16)
do P=$P$(uuidgen|head -c 1|tr '-' -d)
done
sed -i s/$ID/$P/g /data/system/users/0/settings_ssaid.xml

echo -e "\033[41m---清理文件成功---\033[0m"
echo -e "\033[41m---清理完推荐再用SD女仆清理一下---\033[0m"
echo -e "\033[41m------\033[0m"
