apk-parser icon indicating copy to clipboard operation
apk-parser copied to clipboard

Bug: Unable to fetch app icons of some apps properly

Open AndroidDeveloperLB opened this issue 3 years ago • 3 comments

Running the sample, I've found these apps that it failed to get their app-icons:

can't get app icon for "com.google.android.flipendo" in: "/system_ext/app/Flipendo/Flipendo.apk" isSystemApp?true can't get app icon for "com.google.android.permissioncontroller" in: "/apex/com.android.permission/priv-app/GooglePermissionController@M_2022_05/GooglePermissionController.apk" isSystemApp?true can't get app icon for "com.google.android.packageinstaller" in: "/system/priv-app/GooglePackageInstaller/GooglePackageInstaller.apk" isSystemApp?true can't get app icon for "com.google.android.gms" in: "/data/app/~~GwZpIzS5WIcv3titJUfL1Q==/com.google.android.gms-lBioJwnNFoNoiZOfntH9wQ==/base.apk" isSystemApp?true can't get app icon for "com.android.settings" in: "/system_ext/priv-app/SettingsGoogle/SettingsGoogle.apk" isSystemApp?true can't get app icon for "com.android.bluetooth" in: "/system/app/Bluetooth/Bluetooth.apk" isSystemApp?true

Might be related: https://github.com/hsiafan/apk-parser/issues/132 https://github.com/hsiafan/apk-parser/issues/113 https://github.com/hsiafan/apk-parser/issues/108

Attached some of these problematic APK files :

apks.zip

For SettingsGoogle.apk:

SettingsGoogle.zip

For base.apk , it became quite large, so I had to split it. Rename "base.zip" to "base.zip.001" and "base2.zip" to "base.zip.002":

base.zip

base2.zip

EDIT: more cases:

can't get app icon for "com.google.pixel.exo" in: "/system_ext/app/Exo/Exo.apk" can't get app icon for "com.android.bips" in: "/system/priv-app/BuiltInPrintService/BuiltInPrintService.apk" can't get app icon for "com.android.systemui" in: "/system_ext/priv-app/SystemUIGoogle/SystemUIGoogle.apk" can't get app icon for "com.android.traceur" in: "/system/app/Traceur/Traceur.apk"

apks.zip

SystemUIGoogle.zip

AndroidDeveloperLB avatar Jun 05 '22 22:06 AndroidDeveloperLB

Another example, originated from Vivo V23:

can't get app icon for "com.vivo.crontab" in: "/system/app/BBKCrontab/BBKCrontab.apk" isSystemApp?true can't get app icon for "com.bbk.updater" in: "/system/app/Updater/Updater.apk" isSystemApp?true can't get app icon for "com.vivo.gamecube" in: "/system/app/GameCube/GameCube.apk" isSystemApp?true can't get app icon for "com.android.settings.intelligence" in: "/system/priv-app/SettingsIntelligence/SettingsIntelligence.apk" isSystemApp?true can't get app icon for "com.vivo.globalanimation" in: "/system/app/GlobalAnimation/GlobalAnimation.apk" isSystemApp?true can't get app icon for "com.android.settings" in: "/system/priv-app/Settings/Settings.apk" isSystemApp?true

GlobalAnimation.zip apks.zip

For Settings.apk , it became quite large, so I had to split it. Rename "Settings.zip" to "Settings.zip.001" and "Settings2.zip" to "Settings.zip.002":

Settings.zip Settings2.zip

AndroidDeveloperLB avatar Jun 11 '22 13:06 AndroidDeveloperLB

Another example, from Samsung Galaxy A32:

can't get app icon for "com.android.nfc" in: "/system/app/NfcNci/NfcNci.apk" isSystemApp?true can't get app icon for "com.samsung.knox.securefolder" in: "/system/priv-app/SecureFolder/SecureFolder.apk" isSystemApp?true can't get app icon for "com.samsung.advp.imssettings" in: "/system/app/ImsSettings/ImsSettings.apk" isSystemApp?true can't get app icon for "com.samsung.crane" in: "/system/priv-app/Crane/Crane.apk" isSystemApp?true

apks.zip

AndroidDeveloperLB avatar Jun 11 '22 14:06 AndroidDeveloperLB

Got more examples:

  • can't get app icon for "com.google.android.apps.betterbug" in: "/data/app/~~_fegAyGF9ast6OmwZK0dQg==/com.google.android.apps.betterbug-8ua_pyJ7wO91mSt3F9A0Uw==/base.apk" isSystemApp?false
  • can't get app icon for "com.google.pixel.livewallpaper" in: "/data/app/~~qm6dMW8loC2SGZusaHizKQ==/com.google.pixel.livewallpaper-knzWGFQIN9sdUj8BG0EH2w==/base.apk" isSystemApp?true
  • can't get app icon for "com.teslacoilsw.launcher" in: "/data/app/~~mG6BUjK5HolX8gYlUMPhJg==/com.teslacoilsw.launcher-pDTTiqjRNidZWHdvw9OX8g==/base.apk" isSystemApp?false
  • can't get app icon for "com.diune.pictures" in: "/data/app/~~DnnIfkj34O3IvUCZmZIewA==/com.diune.pictures-G2-oQBABFDDIYHaxhZLMpA==/base.apk" isSystemApp?false
  • can't get app icon for "com.google.android.apps.safetyhub" in: "/data/app/~~g9eEu9bMZzkT7tjgQmsMGA==/com.google.android.apps.safetyhub-U22JKlXFCjpWTzWft3byxg==/base.apk" isSystemApp?true
  • can't get app icon for "com.google.android.apps.accessibility.voiceaccess" in: "/data/app/~~frOYPJ0gPnfOwxXAo_duvQ==/com.google.android.apps.accessibility.voiceaccess-lkWC9mZm6jjz43CQK8GZKA==/base.apk" isSystemApp?true
  • can't get app icon for "scd.lcex" in: "/data/app/~~SNgeuupsywXdyAmgoxNmrw==/scd.lcex-xlnNS7WOnNGEV8G1tku0Zg==/base.apk" isSystemApp?false
  • can't get app icon for "com.google.android.pixel.setupwizard" in: "/system_ext/priv-app/PixelSetupWizard/PixelSetupWizard.apk" isSystemApp?true
  • can't get app icon for "com.google.android.apps.security.securityhub" in: "/data/app/~~aJYGFtJcq6cgL1VM1dqG4g==/com.google.android.apps.security.securityhub-vQ1yyDeqPsmd8B0FDjmYGA==/base.apk" isSystemApp?true
  • can't get app icon for "com.google.android.setupwizard" in: "/product/priv-app/SetupWizardPrebuilt/SetupWizardPrebuilt.apk" isSystemApp?true
  • can't get app icon for "com.android.printspooler" in: "/system/app/PrintSpooler/PrintSpooler.apk" isSystemApp?true
  • can't get app icon for "com.android.bips" in: "/system/priv-app/BuiltInPrintService/BuiltInPrintService.apk" isSystemApp?true
  • can't get app icon for "com.google.audio.hearing.visualization.accessibility.scribe" in: "/data/app/~~sNGEE6QgGW3bGxlZMGEkFw==/com.google.audio.hearing.visualization.accessibility.scribe-y8pPgbOUoWVbFpGI0GYMug==/base.apk" isSystemApp?true
  • can't get app icon for "com.google.android.captiveportallogin" in: "/data/app/~~FQ3aJMWdPC4M2v-JfWoMuA==/com.google.android.captiveportallogin-VEtsFK7j_A8hrckvIgTLgw==/base.apk" isSystemApp?true
  • can't get app icon for "com.google.android.accessibility.soundamplifier" in: "/data/app/~~Jh8v5MCsPBAxyN1qrLk17w==/com.google.android.accessibility.soundamplifier-h9UyVNDLFaPmx-acUCUC5g==/base.apk" isSystemApp?true
  • can't get app icon for "com.teslacoilsw.launcher.prime" in: "/data/app/~~tVojAfGzGn1m90YIWEJyUg==/com.teslacoilsw.launcher.prime-2omkiwAL8iIRftry4f36Ag==/base.apk" isSystemApp?false
  • can't get app icon for "com.android.chrome" in: "/data/app/~~uqghYDagwJ4HRXZ1eTZ1BQ==/com.android.chrome-Bx5ofMFfn38jQIdka4QhFw==/base.apk" isSystemApp?true
  • can't get app icon for "com.google.android.gms" in: "/data/app/~~gSs-mFe870vInoHbtyZ9WQ==/com.google.android.gms-hqIw0UcMb2PwqDv7YFTLRg==/base.apk" isSystemApp?true
  • can't get app icon for "com.google.android.apps.nexuslauncher" in: "/system_ext/priv-app/NexusLauncherRelease/NexusLauncherRelease.apk" isSystemApp?true
  • can't get app icon for "com.topjohnwu.magisk" in: "/data/app/~~qou4Sslw_eOuKSlEgUKl_w==/com.topjohnwu.magisk-co4NTcCKsVO7R3iW7gvpCg==/base.apk" isSystemApp?false
  • can't get app icon for "com.google.android.documentsui" in: "/data/app/~~GaqA00q5hbxuBSPxe8CRwQ==/com.google.android.documentsui-Klh6aiAdrM8932cEEOtQDg==/base.apk" isSystemApp?true
  • can't get app icon for "com.android.settings" in: "/system_ext/priv-app/SettingsGoogle/SettingsGoogle.apk" isSystemApp?true
  • can't get app icon for "com.primatelabs.geekbench5" in: "/data/app/~~Gbnnhe7wqeRnoIfCUKKRCw==/com.primatelabs.geekbench5-PIuRQ7Jlu5nHtdAtR9INyQ==/base.apk" isSystemApp?false
  • can't get app icon for "com.termux" in: "/data/app/~~tEC8R_NSikLLEffoETF13w==/com.termux-KUXoePBSz8cBDRPTYTCeSQ==/base.apk" isSystemApp?false
  • can't get app icon for "com.google.android.settings.intelligence" in: "/data/app/~~ZCAa4XUYldYOdQ2wN1oKsw==/com.google.android.settings.intelligence-TNTo5wEDvgK8YbGnZLmMcw==/base.apk" isSystemApp?true
  • can't get app icon for "com.google.android.projection.gearhead" in: "/data/app/~~I_IkbptvMtCY-cSF__xxSg==/com.google.android.projection.gearhead-JBbz07-MTn6rbd4syLwvPw==/base.apk" isSystemApp?true
  • can't get app icon for "com.google.android.apps.turbo" in: "/data/app/~~pFMHEwRV6WNeZvGqoZdMgA==/com.google.android.apps.turbo-lUVj4ZJRpdaaLJMNmq6M2A==/base.apk" isSystemApp?true
  • can't get app icon for "com.google.android.apps.dreamliner" in: "/product/priv-app/DreamlinerPrebuilt/DreamlinerPrebuilt.apk" isSystemApp?true
  • can't get app icon for "com.google.android.apps.wallpaper" in: "/system_ext/priv-app/WallpaperPickerGoogleRelease/WallpaperPickerGoogleRelease.apk" isSystemApp?true
  • can't get app icon for "com.google.android.odad" in: "/data/app/~~dK0MT0d38Kx5-CghYePsZg==/com.google.android.odad-uaoqsiNNR2jS2umwYKJs5g==/base.apk" isSystemApp?true
  • can't get app icon for "com.google.android.apps.recorder" in: "/data/app/~~259XymT0oJS9e7-liDMAeQ==/com.google.android.apps.recorder-paasXqbsHND5IKHRTMz1uw==/base.apk" isSystemApp?true
  • can't get app icon for "com.ebay.mobile" in: "/data/app/~~QenMILyPnFAyoefzyfj54Q==/com.ebay.mobile-8FJMwNqRszpkBeol2X4XZQ==/base.apk" isSystemApp?false
  • can't get app icon for "com.android.traceur" in: "/system/priv-app/Traceur/Traceur.apk" isSystemApp?true
  • can't get app icon for "com.google.android.apps.helprtc" in: "/data/app/~~2L7INoW2dEB0qfcPSbAu7g==/com.google.android.apps.helprtc-jkbQKN2Hr1xHp8GRalWykg==/base.apk" isSystemApp?true
  • can't get app icon for "com.android.bluetooth" in: "/system/app/Bluetooth/Bluetooth.apk" isSystemApp?true
  • can't get app icon for "com.google.android.GoogleCamera" in: "/data/app/~~V6ZYqMMNkXc_Ouc755fvuQ==/com.google.android.GoogleCamera-OU_KXWLrOObDuVe_v2NBbQ==/base.apk" isSystemApp?true

Attached for some, as this is quite a long list...

files.zip

AndroidDeveloperLB avatar Jun 29 '22 20:06 AndroidDeveloperLB