Sitemap

How to root an Android Emulator with Tiramisu (Android 13)

2 min readNov 1, 2022

--

First you need to create an Android Emulator from Android Studio.

Go to “Device Manager” which is located on the right of the screen of Android Studio and choose “Create Device”. I chose pixel3a with PlayStore.

Then choose the Tiramisu with Google APIs Image to be installed on the device and press Next:

Select to download the Tiramisu system image. After the Tiramisu is downloaded click “Next” .

Note: You cannot edit the RAM of the emulator since the selected device has google play store. The option is grayed out. There are some workarounds if you want to try them out. (I have not tested them)

Root the Device:

Download rootAVD from here “https://gitlab.com/newbit/rootAVD”.

Run the below command while the emulator is running:

./rootAVD.sh ListAllAVDs

The image of the emulator I am running is android-33 with google playstore so I run the below command:

./rootAVD.sh ~/Android/Sdk/system-images/android-33/google_apis_playstore/x86_64/ramdisk.img

The root process has been completed. Attempt for root shell on the emulator:

adb shell
emu64xa:/ $ su
emu64xa:/ # whoami

The emulator has been successfully rooted.

--

--

No responses yet