Solution
Place modified .dex or .jar files into a read-only location like:
/data/app/com.kabam.marvelbattle-<random>/base.apk
Ensure correct permissions:
chmod 444 filename.dex
This makes it read-only.
Alternatively, patch the check:
Use Frida or Smali edits to bypass the...