topjohnwu
7b9a45f1a8
Fix post ota scripts
2019-01-13 13:08:39 -05:00
topjohnwu
04088b34a2
Update gradle scripts
2019-01-04 17:55:17 +08:00
topjohnwu
3edcd2004e
Upgrade dependencies
2019-01-04 14:09:12 +08:00
topjohnwu
7bd52d0245
Update net module
2019-01-01 18:45:48 +08:00
topjohnwu
267868c3b0
Switch internal download dir to cache dir
2018-12-31 16:05:29 +08:00
topjohnwu
646a10d9bf
Use foreground service for downloading modules
2018-12-29 17:49:41 +08:00
topjohnwu
496b22026f
Backwards compatible to SDK 17
2018-12-28 05:15:59 +08:00
topjohnwu
da9c6f6e23
Switch to WorkManager
2018-12-27 22:07:47 +08:00
topjohnwu
920b60da19
Support SDK 17 for stub APK
2018-12-27 14:35:55 +08:00
topjohnwu
8d210b5e37
Enhance EMUI 9 user experience
2018-12-25 01:08:46 +08:00
topjohnwu
01344c451f
Move more logic to core module
2018-12-24 21:16:51 +08:00
topjohnwu
2c42c79482
Fix crashes on OOS
2018-12-24 21:04:58 +08:00
topjohnwu
75c2cfe7bf
Run onResult in main thread
2018-12-24 20:51:14 +08:00
topjohnwu
aad9aced18
Render Markdown natively
...
Stop using problematic WebView
2018-12-23 19:29:25 +08:00
topjohnwu
fd7786633d
Small refactoring fixes
2018-12-13 06:05:19 -05:00
topjohnwu
bce9cfa39a
Update LocaleManager
2018-12-13 05:53:39 -05:00
topjohnwu
ff3d66a661
Separate backend logic from frontend UI
2018-12-13 04:35:50 -05:00
topjohnwu
328fc44194
Rename module core to native
2018-01-27 09:11:28 +08:00
topjohnwu
558f95cf7e
Improve APK installation and add logging
2018-01-13 06:28:07 +08:00
topjohnwu
18f6ead891
Fix alignment when boot image has head offset
2018-01-13 06:28:07 +08:00
topjohnwu
10bd25be52
Suppress harmless error logs
2018-01-12 00:23:38 +08:00
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
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
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
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
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
a3c49de6a5
Refactor magiskboot
2017-12-21 03:36:18 +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
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