KareemAksh/android-gki-wifi-injection — reverse-engineered prompt
Reverse engineered prompt
Build me a simple Android app and the supporting code so I can use a rooted Redmi Note 13 4G on stock Android 13 with an OTG Realtek RTL8188FU USB wifi adapter for monitor mode, packet injection testing, scanning, and deauth against networks I own for research. I want it to work without reflashing the phone or installing a custom kernel, just by loading the right modules at runtime and swapping out the stock wifi stack when needed.
The app should handle the whole flow as root, prepare the phone, detect the adapter, test injection, scan nearby access points, run deauth, and then restore the normal state or prompt for reboot if needed. Please bundle whatever driver changes, embedded firmware, and static command line tools are required so it actually runs on device. A basic Flutter interface is fine. Also make it clear that the internal Qualcomm wifi can sniff in monitor mode but cannot inject, so the USB adapter is required. Look up current docs online if you need to.
Want more depth? Deep Reverse