
Who did what
The author enabled developer options, pulled and disassembled the APKs, grepped the Smali to pick the candidate class, and tested on real phones. Reconstructing the listener method took extra searching after the first pass.
What was done
Gemini read decompiled Smali from Kyocera's framework and rebuilt the softkey guide API as Java, which was used to fix a softkey quirk in the author's podcast app. The run cost about 47K tokens (~$0.05).
Tom Barrasso used Gemini 3 Flash Preview inside OpenCode to rebuild a hidden softkey API from decompiled Smali on a Kyocera DuraXV Extreme E4810 flip phone. The model reconstructed the KCfpSoftkeyGuide class as Java in a few seconds, using 47,573 tokens (about $0.05), and Barrasso used the API to fix softkey behaviour in the PodLP podcast app.
How it was done
Barrasso enabled developer options, listed installed packages with adb shell cmd package list packages, and pulled the likely APKs with a small shell script. Apktool disassembled them to Smali. Barrasso grepped the Smali for interfaces of interest and found that the Voice Recognition app's TopHelpActivity calls into jp/kyocera/kcfp/util/KCfpSoftkeyGuide.
Barrasso then asked OpenCode to reassemble that activity and reconstruct the APIs it calls in the jp.kyocera.kcfp package. The agent globbed for the related Smali files, read them, and wrote a Java version of the activity plus reconstructed KCfpSoftkeyGuide and KCfpWidgetUtil interfaces. Barrasso says almost no prompt engineering was needed.
Results
After more searching, Barrasso reconstructed the full API, including setSoftkeyEventListener and its listener. Before the change, pressing the physical volume keys made the softkey bar appear and stay visible; after integration the app no longer had that quirk. Barrasso notes that the API had already been documented in a Russian post on r/flipphones. The post also covers the Sonim XP3+, where softkeys are set through an android.intent.action.CHANGE_NAV_BAR intent. Barrasso concludes that Gemini in OpenCode is much faster than reconstructing hidden APIs by hand, though testing on physical devices is still necessary.
Discussion
Sources
Sources reviewed · Added
An AI model drafted this entry from the sources above. Checked against the sources on 14 Oct 2026. The figures are the author's. How entries are checked. Something wrong? Tell me.


