Rooted Android Emulator Mac

When developing a small Xamarin forms app I wanted the android emulator to connect to an intranet identity provider. That didn’t work. The id server was using an SSL certificate issued by an untrusted CA. Here’s what I did to get it working.

Rooted

First, you will need the CA certificate so android can trust the SSL cert. If you don’t have the cert, you can export it using Chrome on mac or Chrome on windows:

Launch Terminal Emulator for Android, and type the following command: su. This will get you superuser access on your Android device. You will require a rooted device for this. Next, type: ifconfig interfacename hw ether newmacaddress Hit enter, and your MAC address will have changed. You can confirm the change in your MAC address,. Android is a big platform which has many apps that are not present in Computers or other OS. So to enjoy all the apps and games on other OS emulator is the solution for this. Here are 10 Best Android Emulator to Run Android on PC & Mac. These are the best Android emulator for pc, Windows 10, Mac.

Exporting certificate using chrome

Next, push the .cer to the emulator using adb push command. Note that even though I’m pushing the cert to the sdcard it actually shows in a different location. I’m not sure why my emulator is doing that but I’ve seen others that work just fine. Just make sure to search in all folders when installing the cert in the emulator.

Rooted Android Emulator Mac Download

Rooted Android Emulator Mac

Run Android Apps On Mac

Before installing the certificate, you will need to enable device lockscreen security. Finally, install the certificate using Settings app:

Importing certificate to Android Emulator

Rooted Android Emulator Mac Free

After import, you can check your certs in User credentials under Encryption & credentials and more importantly, navigate to the SSL site without errors.

Rooted Android Emulator Machinery

Cheers!