I rooted my device to install an app as a system app. However after the installation of the app, I see the following error in the log cat

2019-03-14 18:19:19.319 4197-4197/? E/zygote64: Dex checksum does not match for dex: /system/priv-app/bmw.apk.Expected: 3853989528, actual: 1306952148

What does this error mean? How can I fix this?

  • If you have Magisk, you can avoid all of this hassle by using the Magisk module systemize. See my answer for more details. android.stackexchange.com/a/208090/96277 – Firelord Mar 14 '19 at 17:18
  • Thanks, can you please explain, what does this error actually mean? – Keselme Mar 14 '19 at 17:22

A Dex file contains code which is ultimately executed by the Android Runtime. Every APK has a single classes.dex file, which references any classes or methods used within an app.

You need to remove all updates and the packages in /system/priv-app, and for this you need to root the device by following the under-mentioned steps.

  1. Install adb on the PC.
  2. Connect the phone to the PC.
  3. From command prompt, run:

    adb root 
    adb remount
    adb shell rm /system/priv-app/bmw.apk
  • When I try to remove it, I get the following message: ' rm: /system/priv-app/bmw.apk: Read-only file system '. I can remove the app with another app with superuser permissions, however if I try to reinstall it, I get that Dex Checksum error. – Keselme Mar 17 '19 at 9:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.