0

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 at 17:18
  • Thanks, can you please explain, what does this error actually mean? – Keselme Mar 14 at 17:22
1

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
    
New contributor
Tukpw is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
  • 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 yesterday

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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