shroudedcode / apk-mitm

🤖 A CLI application that automatically prepares Android APK files for HTTPS inspection
https://npm.im/apk-mitm
MIT License
3.6k stars 337 forks source link

App thinks my device is rooted after patching? #80

Open jimmyleet opened 2 years ago

jimmyleet commented 2 years ago

I am trying to patch the LG Thinq app so I can mitmproxy and get some commands for a home automation project, however when I patch the .apk and try to launch it the app closes and gives me an error "app cannot be run on rooted device" However my phone is not rooted, and if I load the same .apk without it being patched it launches fine with no problems?

hendrikeichler commented 2 years ago

Same problem here!

LionisIAm commented 2 years ago

I think the problem is app developers checking for app and sign hashes and see difference and does not run then. You have to find and remove this if somewhere inside BaseApplication class I guess.