- Download [RootAVD](https://github.com/newbit1/rootAVD/archive/refs/heads/master.zip). - Run the command `rootAVD.bat %LOCALAPPDATA%\Android\Sdk\system-images\android-34\google_apis\x86_64\ramdisk.img` in the downloaded **RootAVD** folder (if using Windows) or `rootAVD.sh` (if using Linux). ![](https://hackmd.io/_uploads/HJFEqsqKh.png) - Wait or manually shutdown the AVD (Android Virtual Device) then restart it. ![](https://hackmd.io/_uploads/BksDqjct2.png) ![](https://hackmd.io/_uploads/rJg2cj5Yh.png) - After restarting, open **Magisk**. ![](https://hackmd.io/_uploads/BkYWioct3.png) - It will automatically reboot. Then open Magisk again, turn on **Zygisk**, then reboot again =))) ![](https://hackmd.io/_uploads/B1zjso9Yn.png) - Download [MagiskTrustUserCerts](https://github.com/NVISOsecurity/MagiskTrustUserCerts/releases/download/v0.4.1/AlwaysTrustUserCerts.zip), [generate BurpSuite CA Certificate] (`antoine.der`), then add them to AVD by `adb push` command. ![](https://hackmd.io/_uploads/r1p-6oqK3.png) - Install `antoine.der` (BurpSuite CA Certificate) as **user certificate**. ![](https://hackmd.io/_uploads/BJeKAoqF3.png) ![](https://hackmd.io/_uploads/HJh5AscK2.png) - Now we need to turn `antoine.der` into **system certificate**, open **Magisk** then press `Install` to install **AlwaysTrustUserCerts** (choose `AlwaysTrustUserCerts.zip` file located in the AVD). ![](https://hackmd.io/_uploads/rk0-RiqY3.png) ![](https://hackmd.io/_uploads/Sy3Hyh5t2.png)