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
topjohnwu
fd8dbe3eff
Greatly reduce Gradle sync time and frequency
2017-12-04 22:21:19 +08:00
topjohnwu
bb97cc594d
Cleanup and small fixes
2017-12-04 18:05:07 +08:00
topjohnwu
70a322263e
Fix Android Studio gradle sync
2017-12-04 15:32:18 +08:00
topjohnwu
c6f144d482
Update README.md
2017-12-04 15:21:06 +08:00
topjohnwu
3709489b3a
Massive project restructure
2017-12-04 15:16:41 +08:00
topjohnwu
145ef32e28
Tidy up external
2017-12-04 03:37:00 +08:00
topjohnwu
2212800a23
Add symlink feature to cpio
2017-12-04 03:37:00 +08:00
topjohnwu
2e25431bb6
Generalize cpio functions
2017-12-04 03:37:00 +08:00
topjohnwu
32c8e7522f
More precise logging configuration
2017-12-01 17:38:57 +08:00
topjohnwu
a5e4f3cc6b
Separate cpio logic from MagiskBoot
2017-12-01 17:17:24 +08:00
topjohnwu
a30777bd9f
Fix bug in compiling split cil
2017-12-01 03:33:25 +08:00
topjohnwu
e989195a68
Update magiskpolicy
2017-11-30 20:57:40 +08:00