Shaka Huang
dfe1f2c108
Call freecon() when fgetfilecon() succeeds
2021-04-04 01:58:59 -07:00
Thomas Bertels
f42a87b51a
Fix spelling in French translation
2021-03-29 09:15:23 -07:00
ahmouse15
ab25857176
Update docs to use the Magisk Manager's revised name
2021-03-29 09:14:21 -07:00
topjohnwu
7da36079c1
Always delete existing ro props at setprop
...
Close #4113
2021-03-29 04:16:18 -07:00
topjohnwu
2bef967af1
Make systemproperties more match AOSP
2021-03-29 03:46:07 -07:00
topjohnwu
7e4194418a
Update libcxx
2021-03-28 04:55:56 -07:00
topjohnwu
aa02057895
Do not use -f flag for readlink
...
Close #4104 , fix #4098
2021-03-28 04:47:13 -07:00
topjohnwu
fb8dc07599
Release new canary build
2021-03-25 02:09:51 -07:00
topjohnwu
66e30a7723
Build libc++ ourselves
2021-03-25 01:00:10 -07:00
vvb2060
0298ab99c4
Update AGP
2021-03-24 04:43:45 -07:00
vvb2060
d11358671e
Fix isolated process display
2021-03-24 04:43:45 -07:00
vvb2060
8b5cb4c7b0
Fix #3735
2021-03-24 04:43:45 -07:00
vvb2060
aad52ae743
Fix UID removed action
2021-03-24 04:43:45 -07:00
vvb2060
8ddab84745
Don't auto hide microG
...
close #3559
2021-03-24 04:43:45 -07:00
vvb2060
6865652125
Fix process name in MagiskHide
...
close #3997
2021-03-24 04:43:45 -07:00
topjohnwu
ed4d0867e8
Make sure navigation happens on main thread
...
Fix #4044
2021-03-24 03:23:11 -07:00
Kazuki H
1c71e02454
Update Japanese translations
2021-03-24 03:10:21 -07:00
Matthew Mirvish
f332e87cab
Ensure the installer knows the API version when running from addon.d
2021-03-24 03:08:59 -07:00
osm0sis
023dbc6cb5
scripts: fix empty module cleanup
...
- should be sufficient for all basic modules, see https://github.com/topjohnwu/Magisk/issues/3119#issuecomment-704000783 for ideas for fixing it further on the daemon module-processing side
Fixes #3119
2021-03-24 03:06:57 -07:00
osm0sis
4dd3f55407
App: add versionCode to magisk_patched.img filenames
2021-03-24 03:06:57 -07:00
osm0sis
7b9a71c9af
scripts: improve boot_patch 64bit detection
...
- use existing api_level_arch_detect function
Fixes #3961
2021-03-24 03:06:57 -07:00
osm0sis
901d22cdfa
scripts: add boot_patch unpack error catching
...
- failure to unpack wasn't being caught so boot_patch would continue to build a new cpio out of nothing and attempt to repack it (identified in #4049 )
2021-03-24 03:06:57 -07:00
osm0sis
93e1266ee7
scripts: fix find_boot_image using wrong partition list on non-slot
...
- revert logic changes introduced by ec8fffe61c
which break find_boot_image on NAND devices and any others using non-standard naming supported by the A-only device boot partition name list
- despite being accepted equivalents in modern shells -n does not work on Android in some shell/env scenarios where ! -z always does
2021-03-24 03:06:57 -07:00
osm0sis
0a4e7eea41
scripts: clean up remaining Manager references
2021-03-24 03:06:57 -07:00
Shaka Huang
e3801d6965
Fix overflow
...
`totalsize` might be a big (invalid) number so instead of checking the end address we check the size of the image.
Fix #4049
2021-03-24 03:02:46 -07:00
topjohnwu
336f1687c1
Be more careful with signals
...
Fix #4040
2021-03-18 03:28:02 -07:00
topjohnwu
d4e2f2df6e
Release new canary build
2021-03-16 05:47:29 -07:00
topjohnwu
f152b4c26e
Make LiveData nullable
2021-03-16 05:34:54 -07:00
topjohnwu
bd935b0553
Cleanup fragment navigations
2021-03-16 04:58:02 -07:00
topjohnwu
a9b3b7a359
Update dependencies
2021-03-16 03:44:25 -07:00
vvb2060
7a007b342a
Correct comment
...
For file-based encryption, /data/adb is always required to encrypt
https://android.googlesource.com/platform/system/extras/+/refs/tags/android-7.0.0_r36/ext4_utils/ext4_crypt_init_extensions.cpp
68258e8444
%5E%21/
2021-03-13 21:10:02 -08:00
vvb2060
0783f3d5b6
Fix mount rules dir
...
close #4006
2021-03-13 21:10:02 -08:00
Rikka
afe3c2bc1b
Fix "rm_rf" in build.py on Windows
...
prebuilt/windows-x86_64/bin/libpython2.7.dll
prebuilt/windows-x86_64/lib/python2.7/config/libpython2.7.dll.a
These two files in NDK has read-only attribute on Windows, remove these files with Python will get "WindowsError: [Error 5] Access is denied". It will finally make "build.py ndk" unable to remove the "magisk" folder.
This commit add a onerror callback for "shutil.rmtree" which clear the "read-only" attribute and retry.
2021-03-13 17:51:39 -08:00
topjohnwu
82f8948fd4
Separate setting log functions and starting log daemon
2021-03-13 17:50:48 -08:00
Shaka Huang
b9cdc755d1
Returned fds[0] in socketpair() might be STDOUT
...
* There will be garbage output when executing `su` (#4016 )
* Failed to check root status and showing N/A in status (#4005 )
Signed-off-by: Shaka Huang <shakalaca@gmail.com>
2021-03-13 17:50:48 -08:00
topjohnwu
a6f81c66e5
Bypass stdio
2021-03-13 16:17:28 -08:00
topjohnwu
1ff45ac5f5
Proper pattern matching
...
Fix #3998
2021-03-09 04:08:34 -08:00
Alexandru Scurtu
48bde7375f
uninstaller: consistency improvements
...
since there's no more "Magisk Manager"
2021-03-09 03:05:47 -08:00
topjohnwu
0601fa3b3d
Release new canary build
2021-03-09 02:59:07 -08:00
vvb2060
d0d3c8dbfd
Disable blank issues
2021-03-09 02:51:20 -08:00
vvb2060
8057de1973
Auto close issues
2021-03-09 02:51:20 -08:00
topjohnwu
43c1105d62
Use dedicated thread for writing logfile
2021-03-09 02:40:12 -08:00
topjohnwu
6adf516b30
Release new canary build
2021-03-07 04:39:47 -08:00
topjohnwu
bf80b08b5f
Fix build script
2021-03-07 04:34:06 -08:00
topjohnwu
3e0b1df46d
Update README
2021-03-07 04:12:32 -08:00
topjohnwu
84811c80b6
Release new canary build
2021-03-07 02:51:10 -08:00
LLZN
45e0df9c57
Update strings.xml
2021-03-07 01:56:02 -08:00
vvb2060
bc51ce7c7b
Fix reboot menu
2021-03-07 01:55:19 -08:00
vvb2060
b693d13b93
Proper implementation of cgroup migration
...
https://www.kernel.org/doc/Documentation/admin-guide/cgroup-v1/cgroups.rst
https://www.kernel.org/doc/Documentation/admin-guide/cgroup-v2.rst
2021-03-07 01:55:19 -08:00
topjohnwu
39982d57ef
Fix logging implementation
...
- Block signals in logging routine (fix #3976 )
- Prevent possible deadlock after fork (stdio locks internally)
by creating a new FILE pointer per logging call (thread/stack local)
2021-03-06 13:55:30 -08:00