[教程向]本地構(gòu)建帶有狐貍面具和Google服務(wù)的安卓子系統(tǒng)

這里是詳細(xì)的文字版教程
構(gòu)建過(guò)程:
1.安裝依賴項(xiàng)和requests庫(kù)
sudo apt-get install lzip patchelf e2fsprogs python3 python3-pip aria2 p7zip-full attr unzip sudo whiptail qemu-utils
pip install requests
2.克隆存儲(chǔ)庫(kù)
git clone https://github.com/LSPosed/MagiskOnWSALocal.git --depth 1
3.編輯Magisk下載鏈接
MagiskOnWSALocal/scripts/generateMagiskLink.py
可以用VSCode或wsl自帶的vim手動(dòng)編輯上述文件,將原先的鏈接改為 HuskyDG/magisk-files/debug.json
4.構(gòu)建并復(fù)制出WSA包
執(zhí)行 ./build.sh --remove-amazon 構(gòu)建
找到output文件夾,拷貝出來(lái)WSA包
另外附上UP主做的包:
https://pan.baidu.com/s/1OHT0VkGqq01BEZw7RhOU2A?pwd=ar9n
標(biāo)簽: