Commit Graph

289 Commits

Author SHA1 Message Date
topjohnwu 25bdbcf526 Add new file operations 2017-10-12 14:32:40 +08:00
topjohnwu bb7099376b Improve daemon startup and log management 2017-10-11 02:26:28 +08:00
topjohnwu 0327fd9710 Restart MagiskHide if daemon restarted 2017-10-10 19:49:15 +08:00
topjohnwu e645c6e465 Refactor resetprop 2017-10-10 02:04:50 +08:00
topjohnwu 78a3d36ccc Allow devices without separate vendor partition 2017-10-09 21:53:50 +08:00
topjohnwu 3942858ccd Introduce a single general purpose logcat monitor 2017-10-09 05:39:40 +08:00
topjohnwu 03c8d716cc Introduce Invincible Mode: Self recover service 2017-10-08 22:00:22 +08:00
topjohnwu c215447405 Fix Pixel C installation 2017-10-07 22:08:10 +08:00
topjohnwu 89330b89d8 Clone attributes to new tmpfs mountpoint 2017-09-29 01:07:28 +08:00
topjohnwu a78ba44709 Always create core directories 2017-09-28 05:50:06 +08:00
topjohnwu cfae6c63b5 Remove sepolicy-inject alias 2017-09-28 01:01:46 +08:00
topjohnwu dbfe49c56f Unlock blocks before flashing boot image 2017-09-28 00:54:01 +08:00
topjohnwu 83af0497e4 Don't use dummy directory; directly use tmpfs 2017-09-27 04:36:01 +08:00
topjohnwu 6ce37b44db Improve logging 2017-09-27 04:36:01 +08:00
topjohnwu ffa005e4ab Don't patch FBE flags 2017-09-26 02:04:07 +08:00
topjohnwu af102e47f1 Fix a small bug in deleteprop 2017-09-25 17:47:30 +08:00
topjohnwu 73064a816d Fix ramdisk patches 2017-09-25 13:44:00 +08:00
topjohnwu a1a2c52409 Patch sepolicy at boot time 2017-09-16 01:32:09 +08:00
topjohnwu 9a0b26e0b0 Proper FBE support 2017-09-15 18:05:42 +08:00
topjohnwu b805b96e16 Read SHA1 from overlay ramdisk 2017-09-15 18:03:56 +08:00
topjohnwu 8c8a63ebfb Use external functions in init
Don't reinvent the wheel
2017-09-15 03:22:23 +08:00
topjohnwu e5e34797a8 Patch fstab from dtb 2017-09-15 02:52:53 +08:00
topjohnwu 8516ebe6f5 Add libfdt 2017-09-15 02:52:53 +08:00
topjohnwu 9f6205f47f Refactor ramdisk pattern patches 2017-09-15 02:52:53 +08:00
topjohnwu 8b2ec23a89 Re-organize MagiskBoot 2017-09-15 02:52:53 +08:00
topjohnwu 1816ca6b02 Seperate logging to another header 2017-09-15 02:52:53 +08:00
topjohnwu 7394ff9346 Rename cpio_file -> cpio_entry 2017-09-15 02:52:53 +08:00
topjohnwu bb5a6a1c28 Re-organize folders 2017-09-14 01:57:53 +08:00
topjohnwu b614b06736 Search for dtb only if not existed 2017-09-14 01:57:44 +08:00
topjohnwu 7a376c9efc Adjust the daemon for Pixel support 2017-09-14 01:57:44 +08:00
topjohnwu 3a2262dfb3 Use backup init if booted as recovery 2017-09-13 04:08:50 +08:00
topjohnwu ff7c38f8e9 Add runtime ramdisk patch support 2017-09-13 04:08:50 +08:00
topjohnwu 4229ba364f Update lz4 to v1.8.0 2017-09-13 04:08:50 +08:00
topjohnwu ba8e7a211a Use default preferences from lz4 cli 2017-09-13 04:08:50 +08:00
topjohnwu 6b41653a32 Add kernel decompression and appended dtb support 2017-09-13 04:08:50 +08:00
topjohnwu 59c1125e72 Refactor MagiskBoot compression methods 2017-09-13 04:08:50 +08:00
topjohnwu b536046720 MagiskBoot refactor 2017-09-13 04:08:50 +08:00
topjohnwu 619b805894 Add secilc 2017-09-13 04:08:50 +08:00
topjohnwu 8662537883 Add ramdisk overlay to magiskinit 2017-09-13 04:08:50 +08:00
topjohnwu 717890395b Introduce magiskinit for Pixel (XL) 2017-09-13 04:08:50 +08:00
topjohnwu b7b4164f4f Add cpio-mv action 2017-09-13 04:08:44 +08:00
topjohnwu 7e65296470 Small improvement to cpio 2017-09-13 04:08:44 +08:00
topjohnwu eceba26894 Make MagiskHide work without magisk.img 2017-09-06 02:25:40 +08:00
topjohnwu 0bf404f75e Bump busybox to 1.27.2 2017-09-05 21:45:13 +08:00
topjohnwu f63af0601c Support Magisk Manager boot image file patch 2017-08-31 03:08:09 +08:00
topjohnwu 189c671ce2 Rewrite environment setup 2017-08-31 02:20:06 +08:00
topjohnwu bb39a01361 Minor adjust magiskpolicy 2017-08-28 02:14:14 +08:00
topjohnwu 764999704a Collect va_list before fork 2017-08-27 02:17:37 +08:00
topjohnwu ecfa4aafc1 Fix clone_attr 2017-08-26 23:19:56 +08:00
topjohnwu e3df62d812 Refactor several utility functions 2017-08-20 21:36:32 +08:00