MCPcopy Index your code
hub / github.com/buttercookie42/DisableTargetAPIBlock

github.com/buttercookie42/DisableTargetAPIBlock @1.2

Chat with this repo
repository ↗ · DeepWiki ↗ · release 1.2 ↗ · + Follow
12 symbols 23 edges 6 files 2 documented · 17%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Disable Target API Block

On Android 14, Google started blocking old apps (those targeting a target API lower than 23, i.e. anything before Marshmallow/Android 6) from being installed.

While this behaviour can be overridden by calling adb install (respectively pm install if you've got access to a root shell on your device) with the --bypass-low-target-sdk-block flag, it still breaks simple manual installation of older APKs, as well as any backup apps and other software like that which hasn't yet been updated for this new behaviour.

This Xposed module hooks the app installation process to always behave as if that flag had been passed and to therefore generally allow installation of old apps.

F-Droid support

This module can also be enabled for the official F-Droid client, which will override F-Droid's compatibility checking so that old apps no longer appear as incompatible on modern devices.

For technical reasons, you currently need to clear F-Droid's app data in order to reset the compatibility data for all old apps after enabling this module, so make sure make a backup and to note down any custom repositories you added as well as any relevant setting custom settings.

Alternatively, you can just delete /data/data/org.fdroid.fdroid/databases/fdroid_db*, but this will still lose all custom repositories you added as well as any custom repository and individual app update settings.

Compatibility

Requires at least Android 14.

Core symbols most depended-on inside this repo

checkExternalSigningConfig
called by 2
app/build.gradle.kts
applyExternalSigningConfig
called by 2
app/build.gradle.kts
hookFramework
called by 1
app/src/main/java/de/buttercookie/disabletargetapiblock/DisableTargetApiBlock.java
hookFdroid
called by 1
app/src/main/java/de/buttercookie/disabletargetapiblock/DisableTargetApiBlock.java
DisableTargetApiBlock
called by 0
app/src/main/java/de/buttercookie/disabletargetapiblock/DisableTargetApiBlock.java
handleLoadPackage
called by 0
app/src/main/java/de/buttercookie/disabletargetapiblock/DisableTargetApiBlock.java
beforeHookedMethod
called by 0
app/src/main/java/de/buttercookie/disabletargetapiblock/DisableTargetApiBlock.java

Shape

Method 7
Class 3
Function 2

Languages

Java83%
Kotlin17%

Modules by API surface

app/src/main/java/de/buttercookie/disabletargetapiblock/DisableTargetApiBlock.java6 symbols
app/src/test/java/de/buttercookie/disabletargetapiblock/ExampleUnitTest.java2 symbols
app/src/androidTest/java/de/buttercookie/disabletargetapiblock/ExampleInstrumentedTest.java2 symbols
app/build.gradle.kts2 symbols

For agents

$ claude mcp add DisableTargetAPIBlock \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact