Commit Graph
7 Commits
Author SHA1 Message Date
topjohnwu 5f2faee618 native: Remove custom package and cert validation
Remove support for custom/repackaged manager package names
(su_manager / repackaged_pkg) and secondary certificate verification
(repackaged_cert) from the native daemon and database.

- Remove SuManager from DbEntryKey in CXX bridge and db.rs.
- Remove unused get_db_string and rm_db_string methods from MagiskD.
- Delete check_dyn and check_stub in package.rs.
- Remove repackaged_* fields from ManagerInfo and derive Default.
- Simplify find_apk_path, get_package_uid, and get_manager to target
  APP_PACKAGE_NAME and verify against TRUSTED_CERT.
- Bump SQLite DB_VERSION to 13, drop strings table on migration, and
  remove create_strings from new database initialization.
- Remove obsolete hidden/stub app sections from FAQ documentation.

Assisted-by: Gemini 4 Argon
2026-10-22 14:06:48 -07:00
topjohnwu 63231d97ce Properly handle db downgrades 2025-02-16 17:01:36 -08:00
topjohnwu 7edd8be169 Minor changes 2025-01-04 02:24:08 -08:00
topjohnwu 24650eefe4 Bind SQLite to Rust 2025-01-04 02:24:08 -08:00
topjohnwu 8e1a44e7eb Use argument binding for query 2025-01-04 02:24:08 -08:00
topjohnwu 2722875190 Use better C++ SQL APIs 2025-01-04 02:24:08 -08:00
topjohnwu 3ca6d06f69 Cleanup database code 2025-01-04 02:24:08 -08:00