Commit Graph

5897 Commits

Author SHA1 Message Date
c248d94995 Update strings.xml 2021-11-16 21:15:02 -08:00
d4ac458d17 Ignore zygisk modules when zygisk is not enabled 2021-11-16 21:14:35 -08:00
93e443c4ad Update RU strings 2021-11-16 21:14:11 -08:00
4b3988cef9 Update pt-BR translation 2021-11-16 21:13:50 -08:00
Rom
4eb5ee17b4 Fix typo in French translation 2021-11-16 21:13:13 -08:00
e1b63d7dec Initialize mt19937 statically in function
This reduces startup time
2021-11-16 03:20:07 -08:00
4b5651bd6f Revert logging after pre specialize 2021-11-16 03:12:01 -08:00
50515d9128 Close unclosed fds from modules 2021-11-16 01:59:45 -08:00
28b5faab0c Visual changes 2021-11-14 03:58:35 -08:00
82a01c22d3 Cleanup resources 2021-11-14 00:45:39 -08:00
be9b0c2e8f Move flow.concurrentMap to ktx 2021-11-13 11:28:11 -08:00
b6affe06a5 Fix flow parallel 2021-11-13 11:28:11 -08:00
1e05f8c646 Release new canary build 2021-11-12 03:14:56 -08:00
7e9d4512b6 Update zh-rTW 2021-11-12 03:07:18 -08:00
5fa127c415 Disable modules section if Magisk is not active
Fix #4925
2021-11-12 03:02:26 -08:00
ac26681fe7 Update Slovak translation 2021-11-12 03:01:49 -08:00
3c62636133 Update zh-rCN translation 2021-11-12 03:01:30 -08:00
ca874fa12c Update Albania translation 2021-11-12 03:00:55 -08:00
Rom
c3508bbb99 Update French translation 2021-11-12 03:00:37 -08:00
6935033db5 Prevent dangling pointers 2021-11-12 02:02:05 -08:00
421277d730 Prevent race conditions in connect_companion 2021-11-12 01:55:55 -08:00
56988944b5 No need to dup fd 2021-11-12 01:54:48 -08:00
528601d25a Fix integer overflow and workaround seccomp
- Use ftruncate64 instead of ftruncate to workaround seccomp
- Cast uint32_t to off64_t before making it negative

Note: Using ftruncate with a modern NDK libc should actually be
fine as the syscall wrapper in bionic will use ftruncate64 internally.
However, since we are using the libc.a from r10e built for Gingerbread,
seccomp wasn't a thing back then, and also the ftruncate64 symbol is
missing; we have to create our own wrapper and call it instead on
32-bit ABIs.

Props to @jnotuo for discovering the overflow bug and seccomp issue

Fix #3703, close #4915
2021-11-10 03:07:20 -08:00
ddd153c00d Show module suspend notice
Close #4862
2021-11-09 23:59:37 -08:00
b8c1588284 Always unload zygisk after specialize 2021-11-07 13:05:44 -08:00
4dac9e40bd Support bootconfig on util_functions.sh
Close #4869
2021-11-07 11:22:21 -08:00
def1811d48 Fix strings in sq 2021-11-07 11:03:28 -08:00
c53e507713 Update Traditional Chinese Language 2021-11-07 11:03:15 -08:00
e0ea777249 Use ProcessCompat
Fix #4895
2021-11-07 11:02:58 -08:00
4c1962f3c7 Release new canary build 2021-11-06 23:56:50 -07:00
258e89c964 Fix script typo for Sony init.real support
- though may still be broken on magiskinit side, see #4885
2021-11-06 23:44:43 -07:00
3d3bfb42e5 Don't copy ApplicationInfo 2021-11-06 23:34:46 -07:00
6dbd8baa7e Cleanup DownloadService 2021-11-06 17:45:41 -07:00
e660fabc57 Remove BaseDownloader 2021-11-06 04:37:06 -07:00
2115bcd8b0 Relaunch and recreate is slightly different 2021-11-05 16:05:12 -07:00
1bdd6e1a9d Migrate to Activity Result APIs 2021-11-05 15:53:34 -07:00
98deec232b Minor adjustments 2021-11-05 13:55:18 -07:00
022c217cfe Migrate to SplashScreen API 2021-11-05 04:16:58 -07:00
81f57949ed Remove WorkManager as a dependency 2021-11-04 23:39:35 -07:00
fca5eb083f Always show checked app in list 2021-11-04 20:09:19 -07:00
a3695cc66b Use Kotlin coroutine instead of Java parallelStream 2021-11-04 20:09:19 -07:00
6723d20616 Cleanup AppProcessInfo 2021-11-04 20:09:19 -07:00
627ec91687 Fix visual issues for ActionBar 2021-11-04 20:09:19 -07:00
9126cf0c73 Rewrite deny list UI 2021-11-04 20:09:19 -07:00
16322ab30c Use full gzip-signature to find gzip-data.
Fall back to raw image if gzip is not found.

Fixes #4849
2021-11-03 22:23:21 -07:00
5682917356 Speed up zopfli compression
See #4810 for example
2021-11-03 22:22:29 -07:00
c91ccc8b4e Fix UB on dtb
`operator==` of string_view will create a tmp `string_view`.
It's an UB if the `const char *` is a nullptr.
`fdt_get_name` however will return a nullptr.
2021-11-03 22:21:48 -07:00
63f670fc36 Move first stage unload before fork 2021-11-02 21:53:33 -07:00
e20b07fa24 Fix #4853 2021-11-02 19:31:17 -07:00
472656517f Release new canary build 2021-11-02 04:18:30 -07:00