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
topjohnwu
15e27e54fb
Migrate to new endpoints
2021-03-05 05:09:25 -08:00
topjohnwu
851404205b
Update NDK to r21e
2021-03-02 23:18:44 -08:00
topjohnwu
117ae71025
Use custom class instead of std::map
2021-03-02 23:16:10 -08:00
topjohnwu
027ec70262
Patch AVB structures
...
Disable vbmeta verification in flags
2021-03-02 20:37:37 -08:00
topjohnwu
55fdee4d65
Use memmem for searching byte patterns
2021-02-28 14:37:12 -08:00
topjohnwu
0d42f937dd
Refactor magiskboot
2021-02-28 14:37:12 -08:00
vvb2060
ac8372dd26
Add cgroup2 path
...
https://android-review.googlesource.com/c/platform/system/core/+/1585101
2021-02-26 21:36:58 -08:00
vvb2060
5e56a6bbee
Fix isolated process name before Android 10
2021-02-26 21:36:58 -08:00
etmatrix
3c6c409df0
Fix #3916
2021-02-25 21:25:21 -08:00
vvb2060
d05408c89f
Delete outdated policies when refresh
2021-02-25 20:08:42 -08:00
vvb2060
ee0ec3fbfa
Use UID_REMOVED action for multi-user and shared user id compatibility
2021-02-25 20:08:42 -08:00
vvb2060
122a73e086
Always show hidden apps
2021-02-25 20:08:42 -08:00
omerakgoz34
29a9b18c4c
Update Turkish translation
2021-02-25 19:56:05 -08:00
孟武.尼德霍格.龍
1561272109
更新繁體中文
...
更新並改善繁體中文的翻譯
2021-02-25 19:55:25 -08:00
Ilya Kushnir
3e61ab0d25
Update RU strings
2021-02-25 19:54:58 -08:00
Francesco Saltori
a49dc6ccb7
Update Italian translation
2021-02-25 19:54:21 -08:00
topjohnwu
60f3d62f00
Proper synchronization
2021-02-24 02:50:55 -08:00
topjohnwu
e613855a4f
Do not check PXA header signatures
...
Fix #3876
2021-02-24 02:27:42 -08:00
sn-o-w
22662d7e03
Update Romanian
2021-02-24 02:08:46 -08:00
Arbri çoçka
6e7e5be1a2
Update values-sq
2021-02-24 02:06:42 -08:00
vvb2060
8b2ab778c9
Fix show canary channel on stable build
2021-02-24 02:06:20 -08:00