Inspect HTTPS App Traffic with Charles Proxy on a Cloud Android Phone (2026)
You want to see exactly what your app sends over https: every header, every token, every json body. You can, but only if you capture it off a real phone on a real carrier, because the traffic an emulator produces does not match what a real handset on a real mobile network sends. This guide shows how to run Charles proxy on your machine, point a real cloud Android phone at it over the network, decrypt that phone’s https, and read every request your app makes.
For context, I run a cloud Android farm in Singapore. Every phone is real hardware on a rack, each on its own persistent Singapore mobile ip, and I reach all of them over adb.
Why this needs a real phone
Many apps now refuse to run on emulators, or behave differently when they detect one. They check build props, sensors, and the network. On a real cloud phone there is nothing to detect, because it is a real phone with a real model string and a real Singapore carrier ip. So the traffic you capture is the real production traffic, with the real carrier headers and the real timing your users see.
Install and start Charles
Download Charles, install it, and launch it. By default it listens on port 8888. Check which ip address your machine has on the network the phone can reach: open Help, then Local IP Address. The phone will send its traffic to that ip on port 8888, so the two have to see each other on the network.
Connect adb and point the phone at Charles
Run adb connect adb-sg.cloudf.one:5555, then adb devices to confirm it shows as device. Set the phone’s global http proxy to your machine in one command: adb shell settings put global http_proxy <your-ip>:8888. From that moment the phone routes its http and https through Charles. When you open the app, Charles pops a dialog asking whether to allow the connection from the phone, and you allow it. Plain http requests appear immediately. https stays locked, and fixing that is the next step.
The certificate problem
https is encrypted, so to read it Charles presents its own certificate and the phone has to trust it. Here is where everyone gets stuck. Since Android Nougat, apps do not trust certificates installed as a normal user certificate. By default an app only trusts the system certificate store. Installing the Charles cert the easy way, through the browser, lands it in the user store, and your app still refuses it. You see Charles report an ssl handshake failure and think the proxy is broken when it is not.
| Approach | Cert store | App trusts it? |
|---|---|---|
| Browser install | User store | No, on Android 7+ |
| System cert via adb root | System store | Yes |
| Debug build, network security config | App config | Yes, your own app only |
Install the Charles cert as a system certificate
This needs root, and cloud phones can be provisioned with adb root for exactly this kind of debugging. Save the Charles root certificate from Help, ssl proxying, save Charles root certificate. Android wants system certs named by a hash of the subject, in a specific format, placed in the system certificate folder. So compute that hash name, push the cert file with adb push, run adb root and adb remount so the system partition is writable, move the file into the system certificate directory, set its permissions to read for all, and reboot the phone. After the reboot the app trusts Charles, because the cert now sits in the system store the app actually reads.
Turn on ssl proxying and read a call
Even with the cert trusted, Charles only decrypts hosts you tell it to. Open Charles, Proxy menu, ssl proxying settings, and add the api hostnames your app talks to, or a wildcard while you explore. Reopen the app, drive the flow, and watch. You see each https request fully decrypted: the method, the url, the headers including the auth token, and the json bodies.
Walk a login call. You tap login and submit. Charles shows a post to the auth endpoint. You read the request body, the username and device fields your app sends, then the response, the access token and its expiry, then the next request reusing that token in an authorization header. That is the entire auth handshake in the clear, exactly as it left a real Singapore phone. This is how you catch a token logged where it should not be, or a field your app leaks.
The honest wall: certificate pinning
Some apps pin their certificate, hard coding the exact server cert they expect and rejecting anything else, including Charles, even with a system cert installed. If the app pins, your decrypted traffic stops at the pinned host. What honestly works is testing against a debug build of your own app with pinning disabled, which you control if it is your app. What does not honestly work is pretending you can quietly defeat pinning on someone else’s app. The legitimate use here is your own app and your own traffic.
Clean up and scope
Always clean up. When you are done, clear the proxy with adb shell settings put global http_proxy :0, so you do not leave the phone routing through a machine that is no longer listening. A leaked proxy setting is the most common reason a teammate says the phone has no internet. Keep ssl proxying scoped to the hosts you care about so the session stays readable, and use the focus feature to hide noise from analytics and crash reporters.
Try it on a real phone
If you want phones to debug against, that is exactly what I run: real cloud Android phones in Singapore on dedicated hardware, each with a persistent Singapore mobile ip, an adb endpoint per phone, adb root where you need it, and an api to list and lock the fleet. Start at cloudf.one and use code YT30 for thirty percent off your first month.
Get new guides and videos first — join the Telegram channel.