4 ms·
The thing is, it used to be possible on iOS but along the way Apple crippled it. Back in the days you'd connect iOS devices to your computer and sync them, the
by kccqzy 6y ago
The thing is, it used to be possible on iOS but along the way Apple crippled it. Back in the days you'd connect iOS devices to your computer and sync them, the syncing can involve transferring *.ipa files from the device to the computer, and can also install new apps. If you wanted to roll back, just delete the installed app on the device and ask iTunes to reinstall it using the file from the computer.
Eventually other features (app thinning?) got prioritized and this is no longer possible.
- saurik 6y agoStarting in August, Google is requiring new apps in the Play Store to start using app bundles instead of APKs; I have never tried to work with these .apkm files, but I would be concerned Android is moving in the same direction here.
- grishka 6y agoThe big difference is that Android doesn't require apps to go through Google.
- dan1234 6y agoThey may not require it, but if companies the size of Epic can't survive away from the Play store[1], I don't hold much hope for indie apps. [1]https://www.theverge.com/2020/4/21/21229943/epic-games-fortnite-google-play-store-available-third-party-software https://www.theverge.com/2020/4/21/21229943/epic-games-fortn...
- Anon1096 6y agoI believe what the parent comment is saying is that since you can sideload apps on Android, if you want to roll back an update, all you need to do is grab the apk from a website such as apkmirror and then install it. The Play Store moving to app bundles shouldn't affect this.
- grishka 6y agoYeah it's this. Android itself has no idea about Google Play requirements. edit: just tried to back up an app that was definitely installed as a bundle, and yes, the result was a regular apk
- saurik 6y agoThat doesn't make any sense at all, even merely cryptographically (as you would need the signing key to merge the bundle back into a normal apk file and sign that new different file), and doesn't match the behaviors people talk about on various blogs and stack overflow.
- grishka 6y agoWell, the app I tested — YouTube Vanced — is installed as a bundle, you can see Vanced Manager download its parts. I did check with jadx, that apk is validly signed with v1, v2, and v3 signatures. Now, as far as my own knowledge of apk signing goes, v1 signature should definitely be fine because it operates on files inside the archive, so naturally merging multiple apks signed with the same certificate would keep it valid. But v2 signs the archive itself, which means merely repacking it would render the signature invalid. I don't have much of an idea about v3. Maybe there's some algorithm to merge multiple apks such that signatures remain valid. Related question that needs research: how are bundle apps stored after installation? I know that installing a regular apk copies it into /data/app, extracts native libraries from it, and adds its metadata to some XML files I forgot names of. Again, it's been too much time since I did something serious for Android, so I'm not quite up to date on this stuff. (are you the guy behind Cydia btw?) edit again: apparently it doesn't back up the additional parts $ pm path com.vanced.android.youtube package:/data/app/~~JVhMJHpiRhB5U1ZM1MHNmw==/com.vanced.android.youtube-iqpVMVaXRD4XezgeqdjBHQ==/base.apk package:/data/app/~~JVhMJHpiRhB5U1ZM1MHNmw==/com.vanced.android.youtube-iqpVMVaXRD4XezgeqdjBHQ==/split_config.arm64_v8a.apk package:/data/app/~~JVhMJHpiRhB5U1ZM1MHNmw==/com.vanced.android.youtube-iqpVMVaXRD4XezgeqdjBHQ==/split_config.en.apk package:/data/app/~~JVhMJHpiRhB5U1ZM1MHNmw==/com.vanced.android.youtube-iqpVMVaXRD4XezgeqdjBHQ==/split_config.ru.apk The apk I backed up earlier is base.apk, so that mystery is solved. It probably just adds them all to the classpath in runtime like regular JVM does with a bunch of jars.
- smoldesu 6y ago> They may not require it, but if companies the size of Epic can't survive away from the Play store[1], I don't hold much hope for indie apps. What does this have to do with backing up your apps? You can still install APKs even if they do that.
- xuki 6y agoUp until recently you could modify network requests to download earlier versions of an app, but it seems Apple has patched that :(
- brigandish 6y agoIs it possible to fix this (badly) by backing up prior to an update and then then rolling back the whole phone? It's horrible but it may work, I haven't paid attention to whether apps are restored to a previous state or just data.
- OkGoDoIt 6y agoIn theory, but in my experience when restoring a backup most apps don’t actually get fully restored, it’s more like a metadata pointer which downloads it from the App Store. But sometimes you’ll actually get your older version of the app from the backup this way. I successfully used this technique to restore an old copy of Slack on my phone for a year after they changed the app logo, purely out of spite. But it doesn’t seem to work consistently, I think it’s dependent on something about the way the app is published which I don’t fully understand.
- brigandish 6y ago> I successfully used this technique to restore an old copy of Slack on my phone for a year after they changed the app logo, purely out of spite Someone after my own heart!