-
Notifications
You must be signed in to change notification settings - Fork 361
Description
Describe the bug
When decompiling MIUISystemUIPlugin, there are different initialization framework versions during decompilation and compilation.
To Reproduce
Steps to reproduce the behavior:
- Used version 1.4.7
- Operating system Ubuntu24.04
Log/Stacktrace
java -jar APKEditor.jar d -f -i MIUISystemUIPlugin.apk -o ./mod/MIUISystemUIPlugin
00.000 I: [DECOMPILE] Using: APKEditor version 1.4.7, ARSCLib version 1.3.8
-t = xml
-load-dex = 3
-dex-lib = internal
-comment-level = basic
-i = MIUISystemUIPlugin.apk
-o = ./mod/MIUISystemUIPlugin
-f = true
00.009 I: [DECOMPILE] Loading ...
00.120 I: [DECOMPILE] Decompiling to xml ...
00.377 I: [DECOMPILE] Initializing android framework ...
00.378 I: [DECOMPILE] Loading android framework for version: 34
00.420 I: [DECOMPILE] Initialized framework: android-34 (14)
00.448 I: [DECOMPILE] [SANITIZE]: Sanitizing paths ...
00.455 I: [DECOMPILE] Validating resource names ...
00.496 I: [DECOMPILE] All resource names are valid
00.496 I: [DECOMPILE] Decode: archive-info.json
00.501 I: [DECOMPILE] Decode: uncompressed-files.json
00.516 I: [DECOMPILE] Decoding: AndroidManifest.xml
00.576 I: [DECOMPILE] public.xml: miui.systemui.plugin -> package_1
00.596 I: [DECOMPILE] Res files: resources
02.190 I: [DECOMPILE] Dex files: 4
02.682 I: [DECOMPILE] Baksmali: v039<5192> classes.dex
06.012 I: [DECOMPILE] Baksmali: v039<3195> classes2.dex
07.752 I: [DECOMPILE] Baksmali: v039<1995> classes3.dex
09.637 I: [DECOMPILE] Baksmali: v039<263> classes4.dex
09.757 I: [DECOMPILE] Extracting root files ...
09.816 I: [DECOMPILE] Dumping signatures ...
09.817 I: [DECOMPILE] Saved to: ./mod/MIUISystemUIPlugin
java -jar APKEditor.jar b -f -i ./mod/MIUISystemUIPlugin -o ./mod/MIUISystemUIPlugin_modified.apk
00.000 I: [BUILD] Using: APKEditor version 1.4.7, ARSCLib version 1.3.8
-t = xml
-dex-lib = internal
-i = ./mod/MIUISystemUIPlugin
-o = ./mod/MIUISystemUIPlugin_modified.apk
-f = true
00.010 I: [BUILD] Scanning XML directory ...
00.038 I: [BUILD] Scanning: MIUISystemUIPlugin
00.202 I: [BUILD] Initializing android framework ...
00.202 I: [BUILD] Loading android framework for version: 33
00.361 I: [BUILD] Initialized framework: android-33 (UpsideDownCake)
00.361 I: [BUILD] Set main package id from manifest: @mipmap/ic_launcher
00.365 I: [BUILD] Main package id initialized: id = 0x7f, from: @mipmap/ic_launcher
00.365 I: [BUILD] Encoding attrs ...
00.463 I: [BUILD] Encoding values ...
00.657 [BUILD] Encoding: package_1/res/values/styles.xml
ERROR:
at ./mod/MIUISystemUIPlugin/resources/package_1/res/values/styles.xml [line = 1940]
Resource not found for: '@android:string/config_pointing_ui_class', frameworks size=1 [android-33]: @android:string/config_pointing_ui_class
Bugs:
00.420 I: [DECOMPILE] Initialized framework: android-34 (14)
00.361 I: [BUILD] Initialized framework: android-33