<aside>
💡
All the steps can also be followed on physical device except for the Rooting method
</aside>
Setting up Android For BurpSuite & Frida to pentest and app testing
Emulator setup
[!IMPORTANT]
Download & Install Android Studio from here
- Create a Virtual Device in Android Studio.
- *( I have used Android 12 'S' (API 31) for this Setup Process)
Rooting The AVD (Android Virtual Device)
- Start the AVD Via device manager.
- Clone the rootAVD. link
- Open the Directory where you have installed rootAVD
- Open CMD in same directory
- run
rootAVD.bat ListAllAVDs to list all the Installed Android IMGs Computer
(note : run rootAVD.sh ListAllAVDs if your using Linux OS)
- Look for your android emulator ramdisk.img
- ex: "system-images\android-31\google_apis_playstore\x86_64\ramdisk.img"
- copy the full ramdisk.img path
- run
rootAVD.bat <ramdisk.img PATH>
- select option '1' to install the stable version of magisk
- Now the AVD will shutdown, you'll have to manually the start the AVD again using via Device Manager
- if the magisk app is installed then DONE
Setting Up BurpSuite
- export BurpSuite Certificate in '.crt' extenstion
- copy the BurpSuite Certificateto AVD
adb push cacert.crt /sdcard/Download