- 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).

- Wait or manually shutdown the AVD (Android Virtual Device) then restart it.


- After restarting, open **Magisk**.

- It will automatically reboot. Then open Magisk again, turn on **Zygisk**, then reboot again =)))

- 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.

- Install `antoine.der` (BurpSuite CA Certificate) as **user certificate**.


- 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).

