Commit Graph

61 Commits

Author SHA1 Message Date
7b9a45f1a8 Fix post ota scripts 2019-01-13 13:08:39 -05:00
04088b34a2 Update gradle scripts 2019-01-04 17:55:17 +08:00
3edcd2004e Upgrade dependencies 2019-01-04 14:09:12 +08:00
7bd52d0245 Update net module 2019-01-01 18:45:48 +08:00
267868c3b0 Switch internal download dir to cache dir 2018-12-31 16:05:29 +08:00
646a10d9bf Use foreground service for downloading modules 2018-12-29 17:49:41 +08:00
496b22026f Backwards compatible to SDK 17 2018-12-28 05:15:59 +08:00
da9c6f6e23 Switch to WorkManager 2018-12-27 22:07:47 +08:00
920b60da19 Support SDK 17 for stub APK 2018-12-27 14:35:55 +08:00
8d210b5e37 Enhance EMUI 9 user experience 2018-12-25 01:08:46 +08:00
01344c451f Move more logic to core module 2018-12-24 21:16:51 +08:00
2c42c79482 Fix crashes on OOS 2018-12-24 21:04:58 +08:00
75c2cfe7bf Run onResult in main thread 2018-12-24 20:51:14 +08:00
aad9aced18 Render Markdown natively
Stop using problematic WebView
2018-12-23 19:29:25 +08:00
fd7786633d Small refactoring fixes 2018-12-13 06:05:19 -05:00
bce9cfa39a Update LocaleManager 2018-12-13 05:53:39 -05:00
ff3d66a661 Separate backend logic from frontend UI 2018-12-13 04:35:50 -05:00
328fc44194 Rename module core to native 2018-01-27 09:11:28 +08:00
558f95cf7e Improve APK installation and add logging 2018-01-13 06:28:07 +08:00
18f6ead891 Fix alignment when boot image has head offset 2018-01-13 06:28:07 +08:00
10bd25be52 Suppress harmless error logs 2018-01-12 00:23:38 +08:00
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
1c743839ea Add MS_SILENT to xmount and cleanup function wraps 2018-01-11 03:06:20 +08:00
bcae9dec41 Fix a bug when only one script will run 2018-01-11 02:48:15 +08:00
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
66cca24453 Samsung need more rules :) 2018-01-02 00:11:26 +08:00
e733484fab Some devices don't like all log buffers 2018-01-01 23:58:13 +08:00
e5c3183025 Update scripts 2018-01-01 16:46:28 +08:00
930c82316a Slightly change logging style 2017-12-31 21:54:39 +08:00
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
d8c51cb286 Update sepolicy handling 2017-12-31 19:32:04 +08:00
2f79d0c3b3 Fix segfault while patching dtb 2017-12-31 19:30:56 +08:00
e139e8777b Fix faulty magiskboot ramdisk patch code 2017-12-29 04:25:03 +08:00
d52d7cfbd9 Update magiskpolicy 2017-12-26 04:24:48 +08:00
74da6e1dc0 Support new 1500 template 2017-12-26 03:23:58 +08:00
84ffdf0ed5 Eliminate a possbility to cause segfault 2017-12-25 05:21:40 +08:00
022b18c8ce Properly detect /data status 2017-12-25 05:21:40 +08:00
b92b1dcddb cil: Allow redeclare types[attributes] and disable neverallow 2017-12-25 05:21:40 +08:00
1472dbb291 Add cache magisk image merging support 2017-12-22 16:10:38 +08:00
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
f6ae7e1bf1 Allow su to work when manager uninstalled 2017-12-22 00:30:08 +08:00
a3c49de6a5 Refactor magiskboot 2017-12-21 03:36:18 +08:00
d21264d01b Let magiskinit directly spawn new magisk_daemon process 2017-12-19 14:27:54 +08:00
b0567eadfd Reduce effort and memory of log monitor 2017-12-18 18:17:37 +08:00
5fc2058336 Show version code when report client 2017-12-18 16:00:44 +08:00
d0567d29d2 Update su to match Linux's implementation 2017-12-18 15:46:18 +08:00
d065040321 Fix magiskinit invincible mode and logcat monitor 2017-12-18 02:51:27 +08:00
17f0fea3fc Fix unreleased resource in rootfs 2017-12-16 04:42:16 +08:00
8ca1e43533 Move all /data files into /data/adb 2017-12-16 04:42:16 +08:00
bd01c314dc Change database location 2017-12-12 03:04:55 +08:00