app: Remove app repackaging and signing

Remove app hiding repackaging, key generation, AXML patching, and
in-app APK signing components along with BouncyCastle (bcpkix).

- Delete AppMigration, Keygen, AXML, and signing package classes.
- Remove bcpkix dependency and build-logic packaging exclude.
- Remove suManager, keyStoreRaw, StringDao, and strings DB table.
- Simplify DownloadProcessor app update and SplashScreen init.
- Remove AppMigrationTest, setupAppHide/Restore, and test scripts
  references to repackaged test packages.
- Remove unused hide_app_title string across all locales.

Assisted-by: Gemini 4 Argon
This commit is contained in:
topjohnwu
2026-10-22 14:06:48 -07:00
committed by John Wu
parent 5847745840
commit 1240c2e35c
72 changed files with 5 additions and 2593 deletions
-1
View File
@@ -298,7 +298,6 @@ live_test_main() {
for apk in "${apks[@]}"; do
# Cleanup
adb shell pm uninstall com.topjohnwu.magisk || true
adb shell pm uninstall repackaged.com.topjohnwu.magisk.test || true
adb shell /system/xbin/su 0 rm -rf /data/adb/modules
# "Install" Magisk
-14
View File
@@ -81,22 +81,8 @@ print_apks() {
run_tests() {
local pkg='com.topjohnwu.magisk.test'
local self="$pkg/$pkg.TestRunner"
local app="$pkg/$pkg.AppTestRunner"
local stub="repackaged.$pkg/$pkg.AppTestRunner"
# Run app tests
am_instrument '.SmokeTest,.IntegrationTest' $app
# Test app hiding
am_instrument '.AppMigrationTest#testAppHide' $self
# Make sure it still works
am_instrument '.SmokeTest' $stub
# Test app restore
am_instrument '.AppMigrationTest#testAppRestore' $self
# Make sure it still works
am_instrument '.SmokeTest' $app
}