Commit Graph

5345 Commits

Author SHA1 Message Date
Ilya Kushnir 93e443c4ad Update RU strings 2021-11-16 21:14:11 -08:00
DanGLES3 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
topjohnwu e1b63d7dec Initialize mt19937 statically in function
This reduces startup time
2021-11-16 03:20:07 -08:00
topjohnwu 4b5651bd6f Revert logging after pre specialize 2021-11-16 03:12:01 -08:00
topjohnwu 50515d9128 Close unclosed fds from modules 2021-11-16 01:59:45 -08:00
RikkaW 28b5faab0c Visual changes 2021-11-14 03:58:35 -08:00
topjohnwu 82a01c22d3 Cleanup resources 2021-11-14 00:45:39 -08:00
LoveSy be9b0c2e8f Move flow.concurrentMap to ktx 2021-11-13 11:28:11 -08:00
LoveSy b6affe06a5 Fix flow parallel 2021-11-13 11:28:11 -08:00
topjohnwu 1e05f8c646 Release new canary build 2021-11-12 03:14:56 -08:00
topjohnwu 7e9d4512b6 Update zh-rTW 2021-11-12 03:07:18 -08:00
RikkaW 5fa127c415 Disable modules section if Magisk is not active
Fix #4925
2021-11-12 03:02:26 -08:00
kubalav 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
Arbri çoçka 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
topjohnwu 6935033db5 Prevent dangling pointers 2021-11-12 02:02:05 -08:00
topjohnwu 421277d730 Prevent race conditions in connect_companion 2021-11-12 01:55:55 -08:00
topjohnwu 56988944b5 No need to dup fd 2021-11-12 01:54:48 -08:00
topjohnwu 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
topjohnwu ddd153c00d Show module suspend notice
Close #4862
2021-11-09 23:59:37 -08:00
topjohnwu b8c1588284 Always unload zygisk after specialize 2021-11-07 13:05:44 -08:00
LoveSy 4dac9e40bd Support bootconfig on util_functions.sh
Close #4869
2021-11-07 11:22:21 -08:00
Arbri çoçka 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
LoveSy e0ea777249 Use ProcessCompat
Fix #4895
2021-11-07 11:02:58 -08:00
topjohnwu 4c1962f3c7 Release new canary build 2021-11-06 23:56:50 -07:00
Chris Renshaw 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
topjohnwu 3d3bfb42e5 Don't copy ApplicationInfo 2021-11-06 23:34:46 -07:00
topjohnwu 6dbd8baa7e Cleanup DownloadService 2021-11-06 17:45:41 -07:00
topjohnwu e660fabc57 Remove BaseDownloader 2021-11-06 04:37:06 -07:00
topjohnwu 2115bcd8b0 Relaunch and recreate is slightly different 2021-11-05 16:05:12 -07:00
topjohnwu 1bdd6e1a9d Migrate to Activity Result APIs 2021-11-05 15:53:34 -07:00
topjohnwu 98deec232b Minor adjustments 2021-11-05 13:55:18 -07:00
topjohnwu 022c217cfe Migrate to SplashScreen API 2021-11-05 04:16:58 -07:00
topjohnwu 81f57949ed Remove WorkManager as a dependency 2021-11-04 23:39:35 -07:00
topjohnwu fca5eb083f Always show checked app in list 2021-11-04 20:09:19 -07:00
topjohnwu a3695cc66b Use Kotlin coroutine instead of Java parallelStream 2021-11-04 20:09:19 -07:00
topjohnwu 6723d20616 Cleanup AppProcessInfo 2021-11-04 20:09:19 -07:00
RikkaW 627ec91687 Fix visual issues for ActionBar 2021-11-04 20:09:19 -07:00
vvb2060 9126cf0c73 Rewrite deny list UI 2021-11-04 20:09:19 -07:00
Chaosmaster 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
Chaosmaster 5682917356 Speed up zopfli compression
See #4810 for example
2021-11-03 22:22:29 -07:00
LoveSy 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
topjohnwu 63f670fc36 Move first stage unload before fork 2021-11-02 21:53:33 -07:00
LoveSy e20b07fa24 Fix #4853 2021-11-02 19:31:17 -07:00
topjohnwu 472656517f Release new canary build 2021-11-02 04:18:30 -07:00
topjohnwu d232cba02d Fix first stage unload 2021-11-02 04:12:56 -07:00
vvb2060 e49d29a914 Fix fragments lifecycleOwner 2021-11-02 03:10:29 -07:00