SMT Shell v2.0
GitHub: https://github.com/BLuFeNiX/SMTShellHi everyone! After seeing the recent controversy over a similar tool, I have decided to maintain my own version of the Samsung system shell exploit, targeting CVE-2019-16253.
Original CVE: CVE-2019-16253
What does it do?
This tool allows most Samsung devices to achieve a system shell (UID 1000). It was patched in OneUI 5.1, but will work on Android 13 running OneUI 5.0 or older, as well as some very early versions of OneUI 5.1 (like the S23). It should work as far back and Android 9.0 (and maybe earlier).It has a feature set similar to Samsung Toolkit, but I've added even more stuff, and have additional plans for the future. It also has an API so you can write your own apps. You can think of it like SuperSU/Magisk for uid 1000 instead of root.
API source code and instructions: https://github.com/BLuFeNiX/SMTShell-API
Usage (with Shizuku)
Simply run the app and grant Shizuku access.Usage (no Shizuku)
- Downgrade the TTS app to the version provided (this must be done after every reboot):
adb install -d com.samsung.SMT_v3.0.02.2.apk
alternatively, you can usepm install -d /data/local/tmp/com.samsung.SMT_v3.0.02.2.apk
if you copy the file to your device first, viaadb push
- Install and open the SMT Shell app.


Troubleshooting
- Try clearing the Samsung SMT app data:
adb shell pm clear com.samsung.SMT
- kill and run the SMT Shell app again
- If the above fails, reboot and follow the usage instructions again.
Thanks to @flanker017 !!!
This work is based purely off of the original 2019 exploit code, authored by flanker017. Although other similar projects may exist, this uses absolutely no code from them. You can find the original work at the following links:* https://github.com/flankerhqd/vendor-android-cves (specifically the SMT-CVE-2019-16253 folder).
* https://blog.flanker017.me/text-to-speech-speaks-pwned/
Changes from the original exploit
I have refactored/simplified nearly all of the code, as well as implemented my own reverse shell.Suggestion? Bug report?
Feel free to discuss here, but I will be most responsive if you create an issue on GitHub.Update!
Added Shizuku support! (v1.2)Attachments
Last edited: