i need to use original android emluator which comes with Android Studio with name AVD.
but i want to use is as root.. root in emulator not in shell...
i tried to succesfully root it after many tries but after when root is done if i reboot emulator it goes to bootloop or after reboot root access is not available
method i used to root emulator is i closed android studio and from terminal i opened emulator by using -writable-system.. after emulator started
i used adb root and adb remount command on shell and then i pushed su into /system/bin/su after that i give permission of 775 to /system/bin/su and used
adb shell su -install && -daemon and install supersu apk in android and updated binary... after this i got succesfull root access..
but after that if i reboot it goes to bootloop or loose root access.
i read somewhere that system image file for android emulator not let us save changes.. and it was written somewhere to copy temporary system file to orignal systemfile but after doing alot of tries i am not able to find temporary system image file...
so kindly give me some solution to root with other method or keep root forever on emulator with this method..
but i want to use is as root.. root in emulator not in shell...
i tried to succesfully root it after many tries but after when root is done if i reboot emulator it goes to bootloop or after reboot root access is not available
method i used to root emulator is i closed android studio and from terminal i opened emulator by using -writable-system.. after emulator started
i used adb root and adb remount command on shell and then i pushed su into /system/bin/su after that i give permission of 775 to /system/bin/su and used
adb shell su -install && -daemon and install supersu apk in android and updated binary... after this i got succesfull root access..
but after that if i reboot it goes to bootloop or loose root access.
i read somewhere that system image file for android emulator not let us save changes.. and it was written somewhere to copy temporary system file to orignal systemfile but after doing alot of tries i am not able to find temporary system image file...
so kindly give me some solution to root with other method or keep root forever on emulator with this method..




![[Image: 0kRL0i7.gif]](https://i.imgur.com/0kRL0i7.gif)