How to fix legacy apps to display correctly on Android 13

EnthalpiousKitten

Well-known member
Feb 24, 2021
135
86
28
Visit site
If any of you have a collection of legacy apps and generally and into Android abandonware, you've likely encountered a weird problem with part of the app displaying on the top left of you screen and being totally unusable. After a little tinkering I discovered the issue, and it seems to be that something is really broken in Android 13's backwards compatibility with pre Android 1.6 (API level 4) emulation. The easy was to fix this is to modify the app to declare a higher minimum API level. This can effectively be used to pick the Android version that you want emulated, and you can even give older apps Holo and Material Design UIs if you set it high enough!

For this you will need anything that can modify the minimum and target API levels in apps. The apps this guide is for are so old they usually have a minimum one only. If you want a good app that also acts as a great way to decode binary XMLs like the AndroidManifest, https://f-droid.org/en/packages/com.apk.editor/. There is also APK Editor Ultra that automates the XML modding for you, but it circulates on shady parts of the internet and will not work for apps that are so old they don't declare a minimum API level.

When you open the AndroidManifest XML file, find the area with the minimum version declaration as shown in the picture. Set the minimum SDK version (aka minimum API level) from whatever lower number it is to 4 (if you wanna get it running right w/ Android 1.6 emulation). If the app is old enough to not have the declaration, add it yourself. Then just save and recompile everything and boom you should be back in business. I dont know if this is an issue with Android 13 in general or Samsung's implementation of it.
f6fc535000bd45ca19fee78a7cac2f39.jpg
 

EnthalpiousKitten

Well-known member
Feb 24, 2021
135
86
28
Visit site
There are select cases where this won't work too well though. In some cases, specifically in Mystique Chapter 1 (an old game I use to really like), the UI ends up still displaying incorrectly while the background displays properly. Launching into a new game from there just crashes it, likely due to native libraries not being compatible with modern CPUs or certain low level Android things not working right with old native libs.
 

Laura Knotek

Moderator Captain
Moderator
Jan 8, 2011
11,802
4,093
113
Visit site
There are select cases where this won't work too well though. In some cases, specifically in Mystique Chapter 1 (an old game I use to really like), the UI ends up still displaying incorrectly while the background displays properly. Launching into a new game from there just crashes it, likely due to native libraries not being compatible with modern CPUs or certain low level Android things not working right with old native libs.
At least it works for some legacy apps, which is better than none working properly.
 
  • Like
Reactions: EnthalpiousKitten

EnthalpiousKitten

Well-known member
Feb 24, 2021
135
86
28
Visit site
Here's an extreme example with Baseball Superstars 2008 that based on the dates of the APK's contents came out in December 2008, mere months after Android first came out. I can't show the gameplay cause I dont have a dpad and can't be bothered to borrow the keyboard from my PC.
8dfbfb77e7f6df2b4721e188e5aee4f4.jpg
f7636cbe80e699295604a94c7e3578a3.jpg
 

Forum statistics

Threads
943,217
Messages
6,917,887
Members
3,158,892
Latest member
ukfred