Skip to content

[BUG] Camera APK has assets/obfu_res/res files which are real ones and dummy ones in res, failed to open app #3891

@HassanMirza01

Description

@HassanMirza01

Information

  1. Apktool Version (apktool -version) - 2.9.2 (whatever latest snapshot ongoing)
  2. Operating System (Mac, Linux, Windows) - Linux
  3. APK From? (Playstore, ROM, Other) - ROM
  4. Java Version (java --version) - 21.0.1

Stacktrace/Logcat

Camera crashes, or misses many modes

Steps to Reproduce

  1. apktool d MiuiCam.apk

Frameworks

If this APK is from an OEM ROM (Samsung, HTC, LG). Please attach framework files
(.apks that live in /system/framework or /system/priv-app): Link of app and frameworks: https://drive.google.com/drive/folders/1lOKwBOKVR6S8D2mjADuYDNykUUIYX81M?usp=sharing

This app has some issues in decompiling, there is assets/obfu_res/res folder with drawables obfuscated names which are real ones, and dummy ones are placed for same name under apk/res/ which ofcourse wont work on repack.

Also there are issues with .9.png patch, i can see such extension files in apk/res folder but on decompile, all drawables of .9.png extension changed to .png only, which break many things i guess!

Also, is this normal? W: Could not find 9patch chunk in file: "aLb.9.png". Renaming it to *.png.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions