topjohnwu
8d446fcc16
Move all core code into the same parent package
2024-07-11 16:49:01 -07:00
topjohnwu
881d3b5221
App migration minor refactoring
2024-07-11 16:28:56 -07:00
topjohnwu
fe9ec3bc6d
Move app initialization routine into core module
2024-07-11 16:10:49 -07:00
topjohnwu
480198dcd0
Improve package migration
2024-07-11 15:50:40 -07:00
topjohnwu
4ab7bc0d97
Minor SettingsItem cleanup
2024-07-11 02:44:38 -07:00
topjohnwu
7173693d1b
Use platform LocaleManager if possible
2024-07-11 02:44:38 -07:00
topjohnwu
6b81716440
Update stub implementation
2024-07-11 02:44:38 -07:00
topjohnwu
88e8e15607
Create singleton AppContext
2024-07-11 02:44:38 -07:00
LoveSy
69181a6b72
Fix wrong sepolicy rule
2024-07-08 12:09:45 -07:00
Wang Han
b11b81122a
Tighten rules for tmpfs file
...
Before magiskd is executed, all files in magisk tmpfs still shares
tmpfs label. This commit tightens the rule to only allow init, zygote
and shell to access magisk tmpfs files. Zygotes rules is needed
because lower Android versions don't have rule for zygote itself
using memfd even memfd is supported in kernel.
2024-07-08 12:06:49 -07:00
Wang Han
648e3ee36b
Update build.yml
2024-07-08 12:02:51 -07:00
LoveSy
724b94f320
Update README.MD ( #8192 )
...
Co-authored-by: 南宫雪珊 <vvb2060@gmail.com>
2024-07-08 12:02:14 -07:00
topjohnwu
a6e65f9a7e
Fix building release builds
2024-07-06 01:55:09 -07:00
topjohnwu
af5c4d09c4
Re-enable nonTransitiveRClass
2024-07-06 01:31:43 -07:00
topjohnwu
872394cb58
Decouple core module from AppCompatActivity
2024-07-05 00:49:26 -07:00
topjohnwu
fcbbe9a22e
Move :app to :app:apk
2024-07-04 02:27:20 -07:00
topjohnwu
b168163ef0
Move :stub to :app:stub
2024-07-04 00:21:34 -07:00
topjohnwu
3e38b8fed1
Separate core codebase into its own module
...
- Separate UI specific code and resources outside of the core
application logic
- Allow most of the code to move forward and use KSP for annotation
processing and isolate rotton code that is stuck with databinding
- Make full UI rewrite more feasible
2024-07-04 00:02:42 -07:00
kubalav
f90c548f27
Update Slovak translation
2024-07-03 22:55:31 -07:00
igor
c981c40218
Update Portuguese translation
2024-07-03 22:55:12 -07:00
Rom
dcbf37c5e8
Update French translation
...
To match with changes of "Add option to disable filename randomization"
2024-07-03 22:54:47 -07:00
topjohnwu
300b233a27
Simplify MediaStoreUtils
2024-07-02 17:15:27 -07:00
topjohnwu
e32cd03d0b
Update docs to cover riscv64
2024-07-02 14:53:46 -07:00
LoveSy
a07b9315a5
Add riscv64 support
2024-07-02 14:34:22 -07:00
topjohnwu
e9694c6195
Add option to disable filename randomization
2024-07-02 14:28:26 -07:00
Wang Han
4a2a37c87a
Catch PendingIntent.CanceledException caused by send()
...
Accidentally changed in 050a073.
2024-07-02 14:24:27 -07:00
vvb2060
7dca5b831a
check empty init_boot partition
...
For upgrading devices that continue to use Android 12 or older kernel versions, the generic ramdisk remains where it was with no requirement for a new init_boot image.
2024-07-02 14:23:28 -07:00
topjohnwu
be5ff68140
Exclude apache commons codec resources
2024-07-01 18:56:08 -07:00
topjohnwu
59f40d5fe5
Move manager.sh to app_functions.sh
2024-07-01 18:42:05 -07:00
topjohnwu
1fbd053a42
Prevent polluting global shell env
2024-07-01 18:20:21 -07:00
topjohnwu
966c6314f8
Cleanup configs
2024-07-01 17:23:48 -07:00
Li Hua
c92204c724
Update Simplified Chinese Translation
...
Signed-off-by: Li Hua <lihua@email.com>
2024-07-01 14:51:06 -07:00
igor
bb9947d4d2
Update Portuguese translation
2024-07-01 14:50:52 -07:00
Wang Han
7c8cdb4ad6
Set default visibility of restart button to GONE
...
This fixes the issue that button still shows when installation fails.
2024-07-01 14:50:34 -07:00
Wang Han
bd7f9c9e46
Unset FLAG_ACTIVITY_NO_HISTORY for SuRequestActivity
...
This fixes device credential confirm activity on OnePlus devices
because SuRequestActivity is accidentally finished before a valid
response is delivered to it.
2024-07-01 14:50:09 -07:00
vvb2060
9a33a4dfe2
Fix StackOverflowError
...
Now field from base class java.io.ByteArrayOutputStream shadows the property with custom getter from derived class com.topjohnwu.magisk.core.utils.AXML.RawByteStream. This behavior will be changed soon in favor of the property. Please use explicit cast to java.io.ByteArrayOutputStream if you wish to preserve current behavior. See https://youtrack.jetbrains.com/issue/KT-55017 for details
2024-07-01 14:36:20 -07:00
topjohnwu
47e918bc92
Fix vbmeta.img tar patching
2024-07-01 03:20:09 -07:00
Wang Han
c194168d9b
Fix item match when extracting lib from stub
...
Close #8083 .
2024-06-29 22:14:24 -07:00
topjohnwu
cacc60b1ac
Migrate to Apache commons-compress
...
Close #8121
2024-06-29 22:11:02 -07:00
topjohnwu
52063b3652
Update to Kotlin 2.0.0
2024-06-29 17:04:40 -07:00
topjohnwu
85a4eaff59
Release new canary build
2024-06-28 16:16:41 -07:00
topjohnwu
45fa1fce70
Update libsu
2024-06-28 15:45:40 -07:00
loselarry
2112c916f5
chore: remove repetitive word
...
Signed-off-by: loselarry <bikangning@yeah.net>
2024-06-22 19:17:20 -07:00
LoveSy
d6e159bff9
Use pidfd in more senarios
2024-06-22 19:16:58 -07:00
LoveSy
2f710a564f
allow more -v
for build.py
for more verbose output
2024-06-22 19:16:37 -07:00
Fontan030
27cfc4945c
Kazakh translation
2024-06-22 18:53:14 -07:00
eklerismunir
7cdada92c8
Improve azerbaijani locales and add the missing strings
2024-06-22 18:52:59 -07:00
topjohnwu
8f1e57d4f9
16k pages on x64 is broken
2024-06-22 18:51:44 -07:00
topjohnwu
8178666b49
Add 16k page testing in CI
2024-06-21 03:13:16 -07:00
topjohnwu
313532dcaa
Disable verbose output by default
2024-06-21 02:45:48 -07:00