Frida as debugging tool for Android
summary
Uses Frida to attach over ADB to a rooted emulator by running frida-server in /data/local/tmp and a desktop frida client; injects a JS script using Java.perform to override a Kotlin mapper.map and a generated data class constructor, logs incoming JSON, swaps latitude and longitude in the hooked constructor, reinstantiates the Location model and hot-reloads the script so the app immediately shows the corrected scooter pins (fix confirmed). Also demonstrates SSL pinning bypass and HTTP interception capabilities.
AI-written summary · about
chapters (10)
- 0:00Introduction to Frida
- 2:01Problem with production debugging
- 5:57What is instrumentation
- 8:28Frida as a tool
- 12:47Frida capabilities overview
- 14:38Demo setup and bug creation
- 20:20Hooking and logging in Frida
- 25:37Constructor hooking and fixes
- 32:46Advanced Frida use cases
- 33:51Useful links and resources
related talks
35mFlipper – the best darn Android development tool you’ve never heard of
36mDAAS: Debugging as a skill!
37mDebugging Android Devices in the Field
44mCatch Me If You Can: Detecting Root and Frida
33mDebugging: All You Need to Know
43mAndroid Dev Tools and Workflows
26mFlipper: A Debugging Platform for Mobile Developers
28mBuilding a Security Module for Android
