ImranR98 / Obtainium

Get Android app updates straight from the source.
https://obtainium.imranr.dev
GNU General Public License v3.0
8.24k stars 179 forks source link

Shizuku Mode: Incompatible #1985

Open IlIllIl opened 1 week ago

IlIllIl commented 1 week ago

Prerequisites

Describe the bug

https://apps.obtainium.imranr.dev/redirect?r=obtainium://app/%7B%22id%22%3A%22eu.kanade.tachiyomi.extension.en.ultralightscans%22%2C%22url%22%3A%22https%3A%2F%2Fobserveroftime.github.io%2Ftachiyomi-extensions%2Fapk%2F%22%2C%22author%22%3A%22observeroftime.github.io%22%2C%22name%22%3A%22Tachiyomi%3A%20UltraLight%20Scans%22%2C%22preferredApkIndex%22%3A0%2C%22additionalSettings%22%3A%22%7B%5C%22intermediateLink%5C%22%3A%5B%5D%2C%5C%22customLinkFilterRegex%5C%22%3A%5C%22tachiyomi-en.ultralightscans-%5C%22%2C%5C%22filterByLinkText%5C%22%3Afalse%2C%5C%22skipSort%5C%22%3Afalse%2C%5C%22reverseSort%5C%22%3Afalse%2C%5C%22sortByLastLinkSegment%5C%22%3Afalse%2C%5C%22versionExtractWholePage%5C%22%3Afalse%2C%5C%22requestHeader%5C%22%3A%5B%7B%5C%22requestHeader%5C%22%3A%5C%22User-Agent%3A%20Mozilla%2F5.0%20(Linux%3B%20Android%2010%3B%20K)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F114.0.0.0%20Mobile%20Safari%2F537.36%5C%22%7D%5D%2C%5C%22defaultPseudoVersioningMethod%5C%22%3A%5C%22partialAPKHash%5C%22%2C%5C%22trackOnly%5C%22%3Afalse%2C%5C%22versionExtractionRegEx%5C%22%3A%5C%22(%5B0-9%5D%2B%5C%5C%5C%5C.)*%5B0-9%5D%2B%5C%22%2C%5C%22matchGroupToUse%5C%22%3A%5C%22%5C%22%2C%5C%22versionDetection%5C%22%3Atrue%2C%5C%22useVersionCodeAsOSVersion%5C%22%3Afalse%2C%5C%22apkFilterRegEx%5C%22%3A%5C%22%5C%22%2C%5C%22invertAPKFilter%5C%22%3Afalse%2C%5C%22autoApkFilterByArch%5C%22%3Atrue%2C%5C%22appName%5C%22%3A%5C%22%5C%22%2C%5C%22shizukuPretendToBeGooglePlay%5C%22%3Afalse%2C%5C%22allowInsecure%5C%22%3Afalse%2C%5C%22exemptFromBackgroundUpdates%5C%22%3Afalse%2C%5C%22skipUpdateNotifications%5C%22%3Afalse%2C%5C%22about%5C%22%3A%5C%22%5C%22%2C%5C%22supportFixedAPKURL%5C%22%3Afalse%7D%22%2C%22overrideSource%22%3Anull%7D

To Reproduce Shizuku Mode:

  1. Import this raw json from link.
  2. Tap on 'Install'
  3. See error Incompatible but the file exists in /Android/data/dev.imranr.obtainium/files/app_data
  4. Tap 'Download latest assets', see error PathNotFoundException: Cannot open file, path = '/storage/emulated/0/Download/https://observeroftime.github.io/tachiyomi-extensions/apk/tachiyomi-en.ultralightscans-v1.4.8.apk.part' (OS Error: No such file or directory, errno = 2) [https://observeroftime.github.io/tachiyomi-extensions/apk/tachiyomi-en.ultralightscans-v1.4.8.apk]

Screenshots and Logs

Please complete the following information:

Additional context

ImranR98 commented 3 days ago

Note about Shizuku and root related issues: https://github.com/ImranR98/Obtainium/issues/1718#issuecomment-2227211895