topjohnwu
65511845d2
Fix APK installation on some devices
...
Close #367 . Android 6.0 and before doesn't like the new path
2018-01-11 20:57:05 +08:00
topjohnwu
1c743839ea
Add MS_SILENT to xmount and cleanup function wraps
2018-01-11 03:06:20 +08:00
topjohnwu
bcae9dec41
Fix a bug when only one script will run
2018-01-11 02:48:15 +08:00
Shaka Huang
482c9af41f
Fix segmentation fault
...
When both keepverity and keepforceencrypt are false, ‘e’ will be freed after removing ‘verity_key’ and segmentation fault might happened in strstr(e->filename, “fstab”)
Signed-off-by: Shaka Huang <shakalaca@gmail.com>
2018-01-11 02:08:52 +08:00
topjohnwu
2bf2e7461f
Update diagram URL
2018-01-09 06:50:03 +08:00
topjohnwu
7d1082b1cb
Fix magiskhide in graph
2018-01-09 06:48:58 +08:00
topjohnwu
0dbae83aec
Update diagram URL
2018-01-09 06:08:54 +08:00
topjohnwu
f927c1b997
Update procedure diagram
2018-01-09 06:07:12 +08:00
topjohnwu
89ec7dad2b
Update documentation to v15.2
2018-01-08 22:33:55 +08:00
topjohnwu
4fd61345af
Happy New Year
2018-01-02 01:27:20 +08:00
topjohnwu
66cca24453
Samsung need more rules :)
2018-01-02 00:11:26 +08:00
topjohnwu
e733484fab
Some devices don't like all log buffers
2018-01-01 23:58:13 +08:00
topjohnwu
e5c3183025
Update scripts
2018-01-01 16:46:28 +08:00
topjohnwu
930c82316a
Slightly change logging style
2017-12-31 21:54:39 +08:00
Shaka Huang
3dc22db265
Support loading split sepolicy on non skip_initramfs devices
...
For certain device (e.g ZenFone 4 ZE554KL) there’s no sepolicy under rootfs and no a/b partition (implies no vendor partition) Magisk will failed to patch SELinux policy database and the system won’t boot up.
In order to cope with this configuration the status of loading policy db needs to be checked, once it failed we have to mount the system partition and do patch_sepolicy() again.
Signed-off-by: Shaka Huang <shakalaca@gmail.com>
2017-12-31 21:30:56 +08:00
topjohnwu
d8c51cb286
Update sepolicy handling
2017-12-31 19:32:04 +08:00
topjohnwu
2f79d0c3b3
Fix segfault while patching dtb
2017-12-31 19:30:56 +08:00
topjohnwu
d8bb3af06b
Miscellaneous
2017-12-29 04:25:30 +08:00
topjohnwu
e139e8777b
Fix faulty magiskboot ramdisk patch code
2017-12-29 04:25:03 +08:00
topjohnwu
d52d7cfbd9
Update magiskpolicy
2017-12-26 04:24:48 +08:00
topjohnwu
4f74a259e3
Update Magisk Manager
2017-12-26 04:00:01 +08:00
topjohnwu
74da6e1dc0
Support new 1500 template
2017-12-26 03:23:58 +08:00
topjohnwu
84ffdf0ed5
Eliminate a possbility to cause segfault
2017-12-25 05:21:40 +08:00
topjohnwu
022b18c8ce
Properly detect /data status
2017-12-25 05:21:40 +08:00
topjohnwu
b92b1dcddb
cil: Allow redeclare types[attributes] and disable neverallow
2017-12-25 05:21:40 +08:00
topjohnwu
1472dbb291
Add cache magisk image merging support
2017-12-22 16:10:38 +08:00
topjohnwu
d58a8dc868
Update Magisk Manager
2017-12-22 06:44:22 +08:00
topjohnwu
e94be0b70e
Prevent creating 128M images
...
make_ext4fs will fail creating 128M ext4 images, LOL WTF? Change it to 132M to fix this issue
2017-12-22 02:39:44 +08:00
topjohnwu
f6ae7e1bf1
Allow su to work when manager uninstalled
2017-12-22 00:30:08 +08:00
topjohnwu
f7b4935677
Add recommend KEEPVERITY and KEEPFORCEENCRYPT flags
2017-12-21 15:42:03 +08:00
topjohnwu
a3c49de6a5
Refactor magiskboot
2017-12-21 03:36:18 +08:00
topjohnwu
e8dd1b292f
Update snet
2017-12-19 15:51:01 +08:00
topjohnwu
d21264d01b
Let magiskinit directly spawn new magisk_daemon process
2017-12-19 14:27:54 +08:00
topjohnwu
b0567eadfd
Reduce effort and memory of log monitor
2017-12-18 18:17:37 +08:00
topjohnwu
5fc2058336
Show version code when report client
2017-12-18 16:00:44 +08:00
topjohnwu
d0567d29d2
Update su to match Linux's implementation
2017-12-18 15:46:18 +08:00
topjohnwu
4db0ad32f0
Fix install scripts
2017-12-18 03:08:53 +08:00
topjohnwu
d065040321
Fix magiskinit invincible mode and logcat monitor
2017-12-18 02:51:27 +08:00
topjohnwu
17f0fea3fc
Fix unreleased resource in rootfs
2017-12-16 04:42:16 +08:00
topjohnwu
8ca1e43533
Move all /data files into /data/adb
2017-12-16 04:42:16 +08:00
topjohnwu
bd01c314dc
Change database location
2017-12-12 03:04:55 +08:00
topjohnwu
e404476609
Fix logs on decrypted /data
2017-12-07 23:25:43 +08:00
topjohnwu
942c870981
Properly handle KEEPVERITY and HIGHCOMP
2017-12-07 04:20:27 +08:00
topjohnwu
baff9256c5
Dynamic patch verity and forceencrypt flag
2017-12-07 03:21:13 +08:00
topjohnwu
b4c0a255fc
Separate pattern logic
2017-12-07 01:30:48 +08:00
topjohnwu
9f6a27c20d
Add high compression ramdisk support
2017-12-06 12:51:16 +08:00
topjohnwu
742dc137ed
More fail proof to magiskinit
2017-12-05 21:05:20 +08:00
topjohnwu
39a6bd33ce
Fix critical bug
2017-12-05 05:32:15 +08:00
topjohnwu
4672a5fad6
Add cpio extract all feature
2017-12-05 03:32:37 +08:00
topjohnwu
e649b0a2df
Update README.md
2017-12-04 22:59:29 +08:00