topjohnwu
f4b6385f9f
Disable boot vbmeta patch when found vbmeta.img
2023-08-28 22:54:55 -07:00
topjohnwu
75d905a56d
Fix device detection scripts and logic
2023-08-28 22:13:36 -07:00
topjohnwu
b1363ee479
Do not allow user to configure boot vbmeta patching
2023-08-28 22:13:36 -07:00
残页
189c03c047
Add canyie to developer list
2023-08-28 13:21:58 -07:00
Chris Renshaw
474268a0af
manager.sh: add ro.boot.vbmeta.size + ro.product.ab_ota_partitions to vbmeta check
...
ro.boot.vbmeta.device doesn't seem to be in use on all A/B devices
2023-08-28 00:45:14 -07:00
topjohnwu
5a5d0d5d72
Add missing permissions
2023-08-27 23:29:34 -07:00
topjohnwu
a1273bc467
Update dependencies
2023-08-27 22:44:51 -07:00
I3elphegor
abcb487361
Update czech translation of strings.xml
...
Added and translated new strings.
2023-08-18 17:19:36 -07:00
vvb2060
d12d9e82f1
Force kernel to load rootfs only for legacy SAR devices
2023-08-18 17:18:34 -07:00
topjohnwu
93876b5fd3
Update dependencies, AGP, and SDK level
2023-08-11 09:38:59 -07:00
VD $ VD171 @ Priv8
0f5963f231
Update PORTUGUESE Translation
2023-08-08 00:54:01 -07:00
Arbri çoçka
1961ff2c40
Update strings.xml Albania
2023-08-08 00:53:38 -07:00
vvb2060
40003691d6
manager.sh: check vbmeta device by getprop
2023-08-08 00:53:21 -07:00
kubalav
ee34f775c3
Update Slovak translation
2023-08-05 23:19:34 -07:00
vvb2060
feb47cd88c
sulog: add migration
2023-08-02 21:18:05 -07:00
vvb2060
c6efb51f61
sulog: add more info
2023-08-02 21:18:05 -07:00
Hen_Ry
a5acf33ccd
Update De translation
2023-08-02 21:17:12 -07:00
vvb2060
ab9ee449e4
suBiometric: fix open app on second user will auto disable biometric
...
second user does not support biometric, but the config of app ignores user
2023-08-02 21:16:06 -07:00
vvb2060
9571b6f9be
SuperuserViewModel: fix updatePolicy
...
Starting biometrics may cause the SuperuserFragment to lost focus. After onResume(), doLoadWork() will refresh the itemsPolicies, so notify property changed will work on wrong items. Fixed by snapshotting items to be refreshed before starting biometrics.
2023-08-02 09:29:14 -07:00
vvb2060
207d7fd3f6
SuRequestViewModel: fix await RootService on the main thread
2023-08-02 09:21:25 -07:00
topjohnwu
cf1bc82537
Random small refactoring
2023-07-24 23:49:20 -07:00
残页
6141bb5bb3
Fix MagiskInstaller.patchBoot() error catching
2023-07-21 12:05:33 -07:00
topjohnwu
39383229d1
Update dependencies
...
Close #7128
2023-07-20 18:35:53 -07:00
残页
d390ca2fdf
Avoid using IconCompat.createFromIcon() that doesn't support bitmap icon
2023-07-17 21:46:47 -07:00
topjohnwu
f33343b4e6
Remove unused code and logic
2023-07-17 18:58:48 -07:00
topjohnwu
4caed73fe0
Always include boot image when processing tar
...
Credits: @BlackMesa123
Fix #7132 , close #7133
2023-07-09 02:04:42 -07:00
BlackMesa123
4856da1584
Ignore userdata.img
in Samsung tar firmware packages
...
Signed-off-by: BlackMesa123 <giangrecosalvo9@gmail.com>
2023-07-06 17:37:12 -07:00
Fs00
43b9a09c9b
Update Italian app strings
2023-06-30 15:57:56 -07:00
Rom
d8692de2f4
Update French translation
2023-06-30 15:57:37 -07:00
topjohnwu
46770db18b
Rename stuffs
2023-06-30 03:03:51 -07:00
vvb2060
92f980601c
Fix close
2023-06-30 02:43:38 -07:00
vvb2060
d0b8c16651
Fix file permission
2023-06-30 02:43:38 -07:00
topjohnwu
fbd1dbb20c
Manage MenuProvider with lifecycle state
2023-06-22 16:12:35 -07:00
topjohnwu
6c09fc2e64
Move addMenuProvider into onStart
2023-06-22 15:47:12 -07:00
LoveSy
f3304b482c
Fix sulog prompt always shows
2023-06-22 15:27:34 -07:00
LoveSy
0a85ef61c3
Call removeMenuProvider
on Fragment::onStop
2023-06-22 15:27:23 -07:00
vvb2060
9929b25339
Move su request path to magisk tmp
2023-06-20 03:29:06 -07:00
Arbri çoçka
0493829231
Update strings.xml sq
2023-06-16 14:15:31 -07:00
VD $ VD171 @ Priv8
e2d1952ad9
Update PORTUGUESE Translation
2023-06-16 14:14:46 -07:00
LoveSy
7450965458
Update Chinese translation
...
Co-authored-by: 南宫雪珊 <vvb2060@gmail.com>
2023-06-16 14:13:46 -07:00
Vladimír Kubala
f45384685b
Update Slovak translation
2023-06-16 14:13:01 -07:00
topjohnwu
d7d0a44693
Remove randomness from Magisk
2023-06-14 17:05:49 -07:00
topjohnwu
c79bc83275
Update dependencies
2023-05-30 01:32:43 -07:00
nikk gitanes
52f2e8c4a0
allow fast switch access with d-pad on superuser tab
2023-05-28 23:51:37 -07:00
nikk gitanes
1b2af1ed6d
correlate nextFocusRight
2023-05-28 23:51:18 -07:00
nikk gitanes
0f9b2a7df8
make module card clickable and highlight when focused
2023-05-28 23:51:18 -07:00
topjohnwu
5b8b48ccc1
Properly support streamable input
2023-05-26 14:07:11 -07:00
topjohnwu
659b9c6fee
Support extracting any partition from payload.bin
2023-05-26 13:36:47 -07:00
LoveSy
ec31cab5a7
Add zip and payload.bin support to Magisk app
2023-05-26 13:36:47 -07:00
Ernest
2d799dae0d
Update app/src/main/res/values-lt/strings.xml
...
Co-authored-by: LoveSy <631499712@qq.com>
2023-05-14 23:54:57 -07:00
Ernest
c6408babac
Update strings.xml
...
Updated all strings.
2023-05-14 23:54:57 -07:00
vvb2060
bd2651057d
Simplify prefs migration
2023-05-11 16:29:01 -07:00
StoyanDimitrov
bbda0cdffe
Update strings.xml
2023-05-05 00:39:19 -07:00
Soo-Hwan Na
0ea1257dcd
Update Korean translation
2023-05-01 12:08:12 -07:00
Mohamadreza Nakhleh
4c92677b5a
(translate)
...
update some Persian (Farsi,فارسی) translations and add more Persian equivalent
2023-05-01 12:07:50 -07:00
fadlyas07
979260bd62
app: l10n: Update Indonesian translations
...
* Added new strings based on the latest source.
* Rephrase "bisa" (informal) to "dapat" (formal).
Change-Id: I7c29951adff7e5dc086e6044571ff4cdb6366966
2023-05-01 12:07:21 -07:00
naxitoo
83d837d868
Update/refine Spanish translations
2023-04-18 11:53:22 -04:00
I3elphegor
093eb15ee1
Update strings.xml
...
Incorrectly placed punctuation marks have been removed. Word order and some expressions have been corrected. The style of the menu headings and descriptions has been unified in the settings.
2023-04-18 11:22:44 -04:00
VD $ VD171 @ Priv8
c6412c1b1b
Update PORTUGUESE translation
2023-04-18 11:22:03 -04:00
serkanege
1151393d74
tr language update
2023-04-18 11:21:32 -04:00
topjohnwu
468f3efb13
Update dependencies
2023-04-13 14:19:34 -07:00
serkanege
1840c4c486
Update strings.xml
2023-04-10 19:30:11 -07:00
serkanege
34080f3958
Update strings.xml
2023-04-10 19:30:11 -07:00
topjohnwu
e9b76b6aa5
Add monochrome adaptive icon support
...
Close #6867
2023-04-10 19:29:32 -07:00
Jakub K
b7799b53d9
Updated Czech translation
...
Added missing strings and updated few.
2023-04-09 21:24:55 -07:00
Lishoo
1e206515c7
Update PL strings
...
Update PL strings
2023-04-08 21:15:19 -07:00
sn-o-w
6bb313184d
Update Romanian
2023-04-08 21:15:02 -07:00
l3ng
2763992434
Update Azerbaijani
...
Co-authored-by: LoveSy <631499712@qq.com>
2023-04-08 21:14:41 -07:00
osm0sis
18fe0e6442
Fix scripts
...
manager.sh + boot_patch.sh:
- all listed files from boot_patch.sh header are required for boot patching, but stub.apk was being removed so install_magisk via addon.d.sh would fail without it; leave it in place
addon.d.sh:
- remove old redundant recovery_actions call (it's also performed by setup_flashable in initialize)
- print ABI to match flash_script.sh output
boot_patch.sh:
- catch and abort on any errors from ramdisk.cpio patching in the future
util_functions.sh:
- fix hiding of mount_partitions /system_root umount stderr
- quote mount_apex .pb DEST name parsing charset for safety even though both work
Fixes #6828
2023-04-08 21:13:40 -07:00
zjw
a70c73bffd
Fix config file path
...
$MAGISKTMP was redefined in commit 4e2b88b
2023-04-08 21:10:54 -07:00
topjohnwu
56707b8119
Make FilterList more accurate
2023-04-08 18:32:00 -07:00
LoveSy
c3f9533ddc
Fix inconsistency of FilterableDiffObservableList
...
`update` should also update sublist
2023-04-08 18:32:00 -07:00
Rom
3b3abd63cc
Update FR translation
2023-04-07 03:08:27 -07:00
Hen_Ry
411d3ed4e9
Update DE strings
2023-04-07 03:07:46 -07:00
LoveSy
f29cc26103
Correctly get displayName of live uri
2023-04-06 02:03:09 -07:00
Ilya Kushnir
1cd595a598
Update RU strings
2023-04-06 01:10:48 -07:00
topjohnwu
22e023b58d
Set notes on main thread
2023-04-06 00:53:06 -07:00
topjohnwu
7be958e35d
Fix crash when revoke root permission
2023-04-06 00:40:26 -07:00
topjohnwu
69b66ef637
Make core package more self contained
2023-04-05 23:04:33 -07:00
vvb2060
f827755aaf
Skip getSessionInfo
2023-04-05 01:46:33 -07:00
LoveSy
b0fc580860
Avoid crash when calling abandonSession
2023-04-05 00:36:51 -07:00
vvb2060
9279f30e89
Upload mapping and native debug symbols
2023-04-05 00:14:51 -07:00
topjohnwu
5117dc1a31
Reorganize code
2023-04-03 17:47:07 -07:00
Arbri çoçka
620fd7d124
Update sq strings.xml
2023-04-03 16:54:11 -07:00
kubalav
3e991dc003
Update Slovak translation
2023-04-03 16:53:59 -07:00
LoveSy
15cab86152
Make module mirror read only
2023-04-02 22:03:02 -07:00
LoveSy
aa785b5845
Show confirm dialog when installing local module
...
It can avoid miss click
Co-authored-by: 南宫雪珊 <vvb2060@gmail.com>
2023-04-02 21:33:13 -07:00
残页
b696dae808
Specify foregroundServiceType for DownloadService
2023-04-02 02:20:49 -07:00
topjohnwu
732a8260c2
Update dependencies
2023-04-02 02:13:47 -07:00
LoveSy
3921e9cb1b
Fix release build
2023-03-31 00:06:55 -07:00
topjohnwu
0b987dd0b0
Cleanup more databinding implementation
2023-03-31 00:05:33 -07:00
Ilya Kushnir
1620e15f99
Update RU strings
2023-03-30 13:45:13 -07:00
Arbri çoçka
958788c1aa
Update Albania
2023-03-30 13:33:26 -07:00
LoveSy
b5a8a27296
Update Chinese translation
2023-03-30 13:33:04 -07:00
kubalav
98123775ad
Update Slovak translation
2023-03-30 13:32:40 -07:00
Thonsi
c7133974be
Clean up some codes
2023-03-26 20:48:23 -07:00
LoveSy
004b193f69
Fix installation crash
2023-03-22 02:44:14 -07:00
topjohnwu
4e2b88b3d0
Rename rules to preinit
...
It is possible that we will allow more preinit files for modules.
Rename the partition and folders from rules to preinit.
2023-03-21 00:40:11 -07:00
LoveSy
7048aa1014
Rename sepolicy.rules -> rules
2023-03-21 00:40:11 -07:00
vvb2060
84e1bd7bc3
Refactor sepolicy.rules resolve app
2023-03-21 00:40:11 -07:00
LoveSy
4de93cfd4b
Use RV to show Magisk logs
2023-03-19 23:47:29 -07:00
LoveSy
54ecc001f4
Clean up more codes
2023-03-19 23:20:19 -07:00
LoveSy
5c325d9466
Fix su log with long command
2023-03-19 23:20:04 -07:00
topjohnwu
0e851cdcf8
Always fetch network state on process onStart
2023-03-19 04:11:59 -07:00
topjohnwu
af054e4e31
Bump minSdk to 23
2023-03-17 04:24:26 -07:00
topjohnwu
3cc81bb3fd
Cleanup ObservableList implementation
2023-03-17 01:40:28 -07:00
topjohnwu
fe6b658c02
Use MenuProvider
2023-03-09 18:05:37 -08:00
LoveSy
3cf66d1c57
Fix currentFocus
...
Looks like currentFocus does not always exist even after setContentView,
so I hereby use another way to check if setContentView is called
2023-03-09 17:52:38 -08:00
topjohnwu
382568bd3c
Cleanup filterable list implementation
2023-03-09 17:45:00 -08:00
LoveSy
d130aa02a1
Do not always create new adapter
2023-03-09 16:00:08 -08:00
LoveSy
d52ea1b068
Postpone showMainUI
when activity has stopped
...
Co-authored-by: topjohnwu <topjohnwu@gmail.com>
2023-03-07 21:04:04 -08:00
LoveSy
e14f7b6908
No KeyDispatch or OnBackPress when no currentFocus
2023-03-07 20:20:35 -08:00
topjohnwu
a1ce6f5f12
Fix race condition when switching root manager
...
Before this change, the root manager package name is only written into
the database after the repackaged APK is installed. In the time between
the repackaged APK being installed and the package name being written
into the database, if some operation calls `get_manager`, the Magisk
daemon will cache this result and ignore the repackaged APK, even if
the package name is set afterwards, because the cache won't be
invalidated. The result is that the repackaged manager APK will not be
recognized as the root manager, breaking the hide manager feature.
This race condition is more likely to happen when Zygisk is enabled,
because `get_manager` is called with a very high frequency in that case.
To fix the issue, we have to set the new package name into the database
BEFORE installing the repackaged APK. We also stop pruning the
database if the repackaged manager is not found, moving this logic into
the Magisk app. By doing so, we can guarantee that the instant after
the repackaged manager APK is installed, the Magisk daemon will
immediately pick it up and treat it as the root manager.
Another small optimization: when the requester is root, simply bypass
the whole database + manager package check. Since the Magisk app hiding
APK installation proces will call `su` several times to run `pm` under
different UIDs, doing this opimization will reduce the amount of
unnecessary database query + filesystem traversals.
2023-03-06 03:58:58 -08:00
LoveSy
b9213b7043
Remove redundant stub.apk
2023-03-03 11:07:36 -08:00
LoveSy
b6ea5b8984
Fix SYSTEM_ROOT not passed to boot patch
2023-03-02 23:39:50 -08:00
Takeda-senpai
ca31412c05
Update strings.xml
2023-03-02 14:34:08 -08:00
topjohnwu
2285f5e888
Fix build script
2023-03-02 03:02:10 -08:00
vvb2060
6e918ffd68
Remove fetchCustomUpdate
2023-03-02 02:05:38 -08:00
vvb2060
78df677a42
Use /data/adb/modules directly
2023-03-02 02:05:38 -08:00
topjohnwu
a721206c6f
Update items in the right thread
2023-02-27 23:00:21 -08:00
LoveSy
c7a27481f9
Update proguard rules to fix module page crash
2023-02-27 20:50:24 -08:00
LoveSy
594c304634
Fix release build
2023-02-26 22:35:20 -08:00
vvb2060
5520f0fbf7
Add stub version to apk comment
2023-02-26 14:23:02 -08:00
AndroPlus
6851d11a8e
Update Japanese translation
2023-02-26 01:16:23 -08:00
topjohnwu
9b1e173373
Update AGP
2023-02-20 01:03:35 -08:00
LoveSy
4ba365565f
Upgrade gradle
2023-02-20 00:08:23 -08:00
南宫雪珊
9a4458ffac
Update appcompat
2023-02-09 20:13:40 -08:00
LoveSy
9656cf2f86
Refine
2023-02-09 20:08:44 -08:00
BlackMesa123
584bad5314
Add init_boot.img
patching for Samsung tar firmware packages
...
Signed-off-by: BlackMesa123 <giangrecosalvo9@gmail.com>
2023-02-09 20:08:44 -08:00
topjohnwu
459088024f
Update dependencies
2023-02-09 19:53:40 -08:00
Kian-Meng Ang
f562710438
Fix typos
...
Found via `codespell -S *.xml,*.kt,./native/src/external -L crate,bu`
2023-01-18 16:35:37 +08:00
vvb2060
7769ba5f54
Remove READ_EXTERNAL_STORAGE permission added by AGP 1.8
2023-01-18 12:52:24 +08:00
canyie
2839978cc1
Use null oat dir in root service only
2023-01-12 22:38:14 +08:00
canyie
bd0409fd15
Fix busybox filename
2023-01-12 01:18:41 +08:00
topjohnwu
e38f35eab2
Update libsu
...
Fix #6488
2023-01-09 03:16:11 +08:00
canyie
cb39514705
Fix NotificationService implementation
...
- Fix #6385 . (Maybe the reason is, the call to stopForeground() with STOP_FOREGROUND_DETACH ensures the notification is shown so it reposts the notification?)
- Use FOREGROUND_SERVICE_IMMEDIATE on Android 12+ to make sure the downloading notification always shows immediately
2023-01-09 00:10:52 +08:00
topjohnwu
78a444d601
Wait for root service to bind
2022-12-30 15:52:41 -08:00
vvb2060
7871c2f595
Update deps
2022-12-26 17:16:26 -08:00
vvb2060
ad0e6511e1
Stop embedding stub.apk in magiskinit
2022-12-26 16:07:04 -08:00
vvb2060
a4a734458b
Fix network capabilities
2022-12-26 13:48:17 -08:00
Brian Kepha
f989756b93
Added Swahili Translation
2022-12-26 03:30:44 -08:00
vvb2060
13c2695e98
simplify denylist rm
2022-12-13 14:11:32 -08:00
fadlyas07
3ff60ed49f
app: l10n: Update Indonesian translations
...
* Added new strings based on the recent source.
Change-Id: I40d6e0374a0356d93c61acace7ab48c3649e85e8
2022-12-13 14:05:54 -08:00
VD $ VD171 @ Priv8
bbb1786ec3
Fix typo PT translation
...
Fix typo PT translation
2022-12-13 14:05:40 -08:00
Davy Defaud
4bfd2dac54
Fix gender of ”install” as an adjective in French
...
In French, install as an adjective depends on the gender of its related noun. For instance, “Magisk installed” is translated “Magisk installé” (masculine form), whereas “Application installed” is translated “Application installée” (feminine form).
By using “Version installée”, “installed” is related to “version” which is feminine. For consistency of the GUI, I’m also changing "home_latest_version" string to ”Dernière version” instead of “Dernière”.
2022-12-13 14:05:24 -08:00
ysard
857c12372a
Update French translations
...
Just a misspelling fix
2022-12-13 14:05:09 -08:00
topjohnwu
1e53a5555e
Update AGP
2022-10-31 16:00:42 -07:00
Hen_Ry
021ae15395
Update German translation
2022-10-12 13:08:12 -07:00
vvb2060
52cf72002a
Update resources load
...
addAssetPath supports apk and directory
2022-10-12 13:07:30 -07:00
vvb2060
978216eade
local module: filter hidden dirs
2022-10-03 14:20:09 -07:00