Skip to content

Instantly share code, notes, and snippets.

@sempf
Created April 3, 2017 22:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sempf/c43eeeb0fa6f6a9c19e62d808301c273 to your computer and use it in GitHub Desktop.
Save sempf/c43eeeb0fa6f6a9c19e62d808301c273 to your computer and use it in GitHub Desktop.
How to configure a new testing Android device in Genymotion.
Get Genymotion from https://www.genymotion.com/
Pay for it. For crying out loud.
OK, now set up a device one version of Android behind, and using a Google image.
Start it.
Click OK on the AAPT not found.
After it boots, we need the Google apps. What you thought Android was open source? HAHAHAHAHAHA.
First, we need ARM translation.
Search for "genymotion arm translation download" and pick the least eggregious download site. Make sure you are wearing a digital condom.
Now the apps.
Open http://opengapps.org/
Platform is x86, Android version is whatever you installed. Varient is Full.
Click download.
You should now have two zip files in your download folder.
Make sure you have the Android API installed.
Then drag the ARM Translation into the VM.
Wait for it to download.
Say yes when it asks you to flash.
Reboot.
Drag the open gapps archive over.
Get a beer while it transferrs. (It's big)
Wow. Get another beer. For crying out loud.
Hey, while you are waiting, throw opengapps twenty euros.
When it is done, reboot.
Give it a bit to cool down, then open Play Store.
Log in with a Google Account. I STRONGLY recommend you make a testing account.
Run updates, if necessary.
Go to Settings on the Android VM and set a PIN for opening the phone.
On a workstation, open Burp.
Got to http://burp in a proxied web browser.
Click on the Certificate link in the upper right.
Save the cert as "burp.cer".
Email it to your testing google account.
Open the email, and open the certificate.
Name it Burp.
You should get a warning in the notification bar if it worked.
Swipe down from the top twice, and left click where it says "WiredSSID".
Click More Settings at the bottom.
Long click on WiredSSID and select Modify Network.
Click Advanced Options.
Set Proxy to Manual.
Set the hostname to the IP number of your host PC.
Set the port to 8080.
Click Save.
Click home.
Head back to Burp.
Click the Proxy tab.
Click the Options tab.
Click Add.
Add a listener on port 8080 for all interfaces.
Click Yes.
Check the Running checkbox.
Click the Intercept tab in Burp.
Turn off Intercept.
Click the HTTP history tab in Burp.
In the Android VM, open Chrome.
The traffic should show up in Burp.
There you go!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment