Skip to content

[BUG] framework-res.apk not booted rom after repack with minimal change/only repack #199

Description

@HassanMirza01

Describe the bug
rom not booted, gave java.lang.IllegalStateException: Failed to load frameworks package; check log for warnings error

To Reproduce
Steps to reproduce the behavior:

  1. Used version 1.4.4
  2. Operating system Linux
  3. Command in log file

Log/Stacktrace

log_recompile.txt

07-27 23:53:23.363  3445  3445 E AndroidRuntime: *** FATAL EXCEPTION IN SYSTEM PROCESS: main
07-27 23:53:23.363  3445  3445 E AndroidRuntime: java.lang.IllegalStateException: Failed to load frameworks package; check log for warnings
07-27 23:53:23.363  3445  3445 E AndroidRuntime: 	at com.android.server.pm.InitAppsHelper.scanSystemDirs(Unknown Source:221)
07-27 23:53:23.363  3445  3445 E AndroidRuntime: 	at com.android.server.pm.InitAppsHelper.initSystemApps(Unknown Source:11)
07-27 23:53:23.363  3445  3445 E AndroidRuntime: 	at com.android.server.pm.PackageManagerService.<init>(Unknown Source:1848)
07-27 23:53:23.363  3445  3445 E AndroidRuntime: 	at com.android.server.pm.PackageManagerService.main(Unknown Source:371)
07-27 23:53:23.363  3445  3445 E AndroidRuntime: 	at com.android.server.SystemServer.startBootstrapServices(Unknown Source:616)
07-27 23:53:23.363  3445  3445 E AndroidRuntime: 	at com.android.server.SystemServer.run(Unknown Source:454)
07-27 23:53:23.363  3445  3445 E AndroidRuntime: 	at com.android.server.SystemServer.main(Unknown Source:31)
07-27 23:53:23.363  3445  3445 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
07-27 23:53:23.363  3445  3445 E AndroidRuntime: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(Unknown Source:9)
07-27 23:53:23.363  3445  3445 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(Unknown Source:371)

Used apk file
https://drive.google.com/file/d/1L2qPdsuPKap5rbLQ99gFI2TZ25jRjXSA/view?usp=sharing

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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