Commit Graph

7057 Commits

Author SHA1 Message Date
005560a4c5 Always rescan manager APK when database is updated 2024-12-26 12:18:38 -08:00
231a5d1853 Cleanup test code 2024-12-25 22:26:30 -08:00
9e2b59060d Drive app migration tests through instrumentation
Make tests less flaky
2024-12-25 22:26:30 -08:00
08ea937f7c Test su request via instrumentation 2024-12-25 22:26:30 -08:00
2baedf74d1 Install and test LSPosed through test app 2024-12-25 22:26:30 -08:00
32faa4ced6 Redesign test APK architecture
The test APK and the main APK share the same process and classloader,
and in the non-hidden case, the test APK's classes take precedence over
the ones in the main APK. This causes issues because the test APK and
main APK share some dependencies, but don't always use the same
version. This is especially problematic for the Kotlin stdlib and
AndroidX dependencies.

The solution here is to rely on R8's obfuscation feature and repackage
all potentially conflicting classes into a separate package in the test
APK. To ensure that the test classes are always using the same classes
as the main APK, we have to directly implement all tests inside the main
APK, making the test APK purely a "test runner with test dependencies".

As a result, the test APK can only be used when built in release mode,
because R8 no longer allow class obfuscation to be enabled when building
for debug versions.
2024-12-25 20:17:57 -08:00
ccdb0b5d13 Add ability to skip certain test variants 2024-12-25 20:11:21 -08:00
8506b672ad Update CI operating system 2024-12-23 22:52:30 -08:00
ce2e33bb20 Cleanup test scripts 2024-12-23 20:42:54 -08:00
6707b72260 Fix AVD tests 2024-12-23 20:41:42 -08:00
5885b8c20d Add new tests for app hiding 2024-12-18 17:22:31 -08:00
820710c086 Fix incorrect SQLite syntax 2024-12-18 17:22:31 -08:00
51cf196bf7 Always use root to hide/restore app 2024-12-18 17:22:31 -08:00
dadba44cf9 Update module installer guide about META-INF 2024-12-17 16:36:40 -08:00
2ce4a5543b Make ndk-build happy when Rust libs are missing 2024-12-13 17:00:40 -08:00
9112a3a4f5 Introduce instrumentation tests 2024-12-13 12:07:42 -08:00
24615afda1 Remove usage of ProcessLifecycle 2024-12-13 12:07:42 -08:00
c5778f398b Cleanup imports 2024-12-13 12:07:42 -08:00
4eb4097b9b Split file processing into its own class 2024-12-13 12:07:42 -08:00
c512496847 install_module: simplify script 2024-12-12 10:08:09 -08:00
506961a10d flash module: ignore META-INF 2024-12-12 10:07:47 -08:00
3414415907 Support zip files with unsupported compresssion method 2024-12-12 02:50:19 -08:00
dc2ae7cfd1 Disable CI on master push
Changes should be done through PRs for CI
2024-12-12 02:50:19 -08:00
2e86d21c29 16k pages only work on Android B on x64 2024-12-09 20:13:27 -08:00
2654382c43 Address clippy warnings 2024-12-09 18:26:39 -08:00
9e26b73813 Update rust dependencies 2024-12-09 18:26:39 -08:00
10cd13bf80 Update ONDK r28.1 2024-12-09 18:26:39 -08:00
f10ee5f887 Test 16K pages with AVD instead of Cuttlefish 2024-12-09 14:16:08 -08:00
47cc532d96 Release new canary build canary-28101 2024-12-06 18:19:06 -08:00
218327f92b Release Magisk v28.1 v28.1 2024-12-06 17:45:41 -08:00
4eae66a1a7 Add v28.1 release notes 2024-12-06 17:38:43 -08:00
b09ceeb43c scripts: sync avd_magisk.sh with mgiskinit 2024-12-06 02:21:17 -08:00
4fb539c110 core: use a new tmpfs as worker 2024-12-06 02:19:43 -08:00
849b284da5 core: insert symlink magisk_node 2024-12-06 02:19:32 -08:00
895b5f6cbf Release new canary build canary-28003 2024-12-04 01:28:31 -08:00
cb3d4ea514 strings.xml
The strings have been translated into Ukrainian.
2024-12-04 01:26:39 -08:00
0d89a2a97d Update AGP 2024-12-04 01:25:44 -08:00
3ca5913055 Update Russian Translation 2024-12-03 19:52:53 -08:00
df6b808f49 Cleanup DesugarClassVisitorFactory 2024-12-03 19:52:39 -08:00
09c7ac754b Simplify MagiskD Rust/C++ FFI 2024-12-03 15:51:17 -08:00
805da67c23 Update cxx-rs 2024-12-03 14:16:14 -08:00
3c6889505b Stop using polymorphism in magiskinit 2024-12-03 02:18:22 -08:00
c8e9ce7627 Cleanup mount code in magiskinit 2024-12-03 02:18:22 -08:00
837c679a31 Update avd_test API versions 2024-12-03 02:18:22 -08:00
06616659b8 Only desugar ZipEntry's methods 2024-12-02 19:55:28 -08:00
a34c04f999 Release new canary build canary-28002 2024-12-01 14:59:57 -08:00
da43ac89a0 Allow all domains to access tmpfs files
Fix #8457
2024-11-30 23:21:33 -08:00
830fc758b9 init: Use apex dir to determine whether 2SI 2024-11-30 23:03:29 -08:00
0f3cfef278 Revert "init: support 2SI devices with skip_initramfs"
This reverts commit b38fd1ca5f.
2024-11-30 23:03:29 -08:00
b32d7bfafd Update gradle version 2024-11-21 21:05:35 -08:00