topjohnwu
9e737df534
Update high compression mode detection logic
2018-03-10 15:55:55 +08:00
topjohnwu
a94fa81195
Support non skip_initramfs device with slot suffix
2018-02-14 00:57:52 +08:00
topjohnwu
6728445542
Support separate ramdisk images
2018-02-10 03:34:13 +08:00
topjohnwu
10ed299c78
Detect recovery on FBE devices with no DE access
2018-02-10 03:31:00 +08:00
topjohnwu
e5c3183025
Update scripts
2018-01-01 16:46:28 +08:00
topjohnwu
d8bb3af06b
Miscellaneous
2017-12-29 04:25:30 +08:00
topjohnwu
74da6e1dc0
Support new 1500 template
2017-12-26 03:23:58 +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
4db0ad32f0
Fix install scripts
2017-12-18 03:08:53 +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
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
9f6a27c20d
Add high compression ramdisk support
2017-12-06 12:51:16 +08:00
topjohnwu
d8b8adb88c
Fix is_mounted function
2017-11-22 22:22:29 +08:00
topjohnwu
bc21a1fb71
Update internal paths
2017-11-22 16:04:24 +08:00
topjohnwu
3bc31374ac
Fix issue of touch command on Android 5.0
2017-11-20 04:13:51 +08:00
topjohnwu
32ee8e462c
Properly and fully support dtbo patching
2017-11-15 05:48:31 +08:00
topjohnwu
912c188b53
Add dtbo.img patch support
2017-11-11 01:33:50 +08:00
topjohnwu
b438cc9335
Remove unnecessary monogisk
2017-11-10 00:54:54 +08:00
topjohnwu
1d3d30fa45
Get potential slot info
2017-11-09 03:05:25 +08:00
topjohnwu
e710848345
Unify Magisk configuration
...
Introduce monogisk tool
2017-11-06 06:22:45 +08:00
topjohnwu
a831110816
Add boot signing to installation
2017-10-31 17:05:24 +08:00
topjohnwu
bb7099376b
Improve daemon startup and log management
2017-10-11 02:26:28 +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
dbfe49c56f
Unlock blocks before flashing boot image
2017-09-28 00:54:01 +08:00
topjohnwu
98e21f9f5b
Update uninstaller
2017-09-27 15:26:21 +08:00
topjohnwu
9cb1cf756f
Update scripts
2017-09-26 20:21:43 +08:00
topjohnwu
9b4ae8fcc5
Adjust scripts
2017-09-16 03:48:58 +08:00
topjohnwu
a1a2c52409
Patch sepolicy at boot time
2017-09-16 01:32:09 +08:00
topjohnwu
590e7f7724
Proper support for Magisk Manager installation
2017-09-15 18:02:25 +08:00
Shaka Huang
4d61e5e319
Fix error generating binary for x86
...
fix typo
Signed-off-by: Shaka Huang <shakalaca@gmail.com>
2017-09-14 14:33:37 -05:00
topjohnwu
e5e34797a8
Patch fstab from dtb
2017-09-15 02:52:53 +08:00
topjohnwu
518f3d229f
Slight adjustments to scripts
2017-09-13 15:51:45 +08:00
topjohnwu
46c91f923d
Update scripts to support Pixel (XL)
2017-09-13 04:08:50 +08:00
topjohnwu
cd5f5d702f
Fix stock image dump not stored correctly
2017-09-13 04:08:44 +08:00
topjohnwu
0eb79e5acd
Update scripts
2017-09-06 23:33:46 +08:00
topjohnwu
cd8dd65a65
chcon on Android 5.0 doesn't support -h options
2017-09-05 21:44:53 +08:00
topjohnwu
50c56f8b50
Simplify flash scripts
2017-09-05 21:44:22 +08:00
topjohnwu
9e9f8ca8f3
Restore cwd
2017-09-02 23:28:17 +08:00
topjohnwu
f63af0601c
Support Magisk Manager boot image file patch
2017-08-31 03:08:09 +08:00
topjohnwu
9522255e3a
Proper magisk manual injection support
2017-08-17 03:46:01 +08:00
topjohnwu
6eb7c0b5d6
Add new util functions for new template version
2017-08-12 23:15:39 +08:00
topjohnwu
750872cc37
Add boot actions
2017-08-12 17:03:31 +08:00
topjohnwu
d6547f0701
Fix installer options not read properly
2017-08-04 23:49:22 +08:00
topjohnwu
eae611c54d
Add b64xz to handle busybox decode/decompress in scripts
2017-08-02 18:25:24 +08:00
topjohnwu
b37bad35c2
Fuse busybox into update-binary and remove from Magisk Manager APK
2017-08-02 02:22:33 +08:00
topjohnwu
cb70eebb08
Update scripts
2017-07-31 03:03:52 +08:00
topjohnwu
b13eb3fd40
Force start logd ASAP
2017-07-25 05:33:25 +08:00
topjohnwu
b7986a351c
Overcome some quirks in Android Lollipop
2017-07-25 05:33:25 +08:00
topjohnwu
ce87591c62
Fix unable to get SHA1 value issue
2017-07-25 02:40:26 +08:00
topjohnwu
25c289ad3e
Fix typo in uninstaller
2017-07-19 03:24:07 +08:00
topjohnwu
7f7dda9ec2
Update uninstaller
2017-07-19 02:22:07 +08:00
topjohnwu
a87ad35a50
Check Android version before actually doing anything
...
Close #233
2017-07-14 01:13:49 +08:00
topjohnwu
c4d7001489
Fix Pixel C flashing errors
...
Use return values instead of creating a file to indicate a chromeos image
Fix #264
2017-07-13 02:14:10 +08:00
topjohnwu
d27d04783f
Add version info into util_functions
2017-07-11 01:54:11 +08:00
topjohnwu
3d43c3c5bc
Update scripts
2017-07-10 00:17:34 +08:00
topjohnwu
bf42fce17e
Update boot patch method and scripts
2017-07-03 01:19:15 +08:00
topjohnwu
2a86bc8695
Update scripts
2017-06-24 23:39:24 +09:00
topjohnwu
9430ed66cd
Add addon.d survival script
2017-06-19 00:15:44 +08:00
topjohnwu
96f8efc27a
Several small fixes
2017-06-16 15:27:28 +08:00
topjohnwu
a90e8b6112
Only use binaries/libs in /system
2017-06-16 04:09:36 +08:00
topjohnwu
1e877808bc
Fix link errors for flash scripts
2017-06-13 00:46:20 +08:00
topjohnwu
4e801788d7
Fix shared library linking error
2017-06-11 01:40:08 +08:00
topjohnwu
6c0ba66f17
Add excessive logging for debug mode
2017-06-08 03:25:15 +08:00
topjohnwu
17684ed8a8
Fix uninstaller and build with 'all'
2017-06-04 00:04:58 +08:00
topjohnwu
e780c76c93
Massive build script refactor
2017-06-03 20:31:02 +08:00
topjohnwu
d66c284bed
Fix several small issues
2017-05-05 04:39:09 +08:00
topjohnwu
d3d5703f3f
Reduce duplicate code for MagiskBoot
2017-04-28 21:53:44 +08:00
topjohnwu
623a879797
Update scripts
2017-04-22 17:12:54 +08:00
topjohnwu
08527dde9b
Auto start magiskhide
2017-04-22 17:12:54 +08:00
topjohnwu
c079c598f2
Update scripts, MagiskSU now works fine
2017-04-22 17:12:54 +08:00
topjohnwu
d274e45587
Fix SuperSU installation
2017-03-31 06:25:22 +08:00
topjohnwu
81d054a525
Adjust scripts
2017-03-31 02:54:39 +08:00
topjohnwu
2e185f4ec9
Add core props support
2017-03-30 02:47:40 +08:00
topjohnwu
67f347f880
Live patch policy in service mode
2017-03-30 02:29:10 +08:00
topjohnwu
a6427d081e
Fix typo
2017-03-29 02:22:33 +08:00
topjohnwu
8c7fbe20f9
Daemons cannot run in /data on Samsung, move to magisk.img
2017-03-27 07:23:53 +08:00
topjohnwu
64d61bae08
Start MagiskHide even if disabled (MagiskSU only mode)
2017-03-26 21:47:54 +08:00
topjohnwu
9862265465
Add Samsung RKP hexpatch back
2017-03-26 21:44:44 +08:00
topjohnwu
624b7616d0
Another freakin stupid typo
2017-03-21 05:15:13 +08:00
topjohnwu
d53f33bed8
I shall test Samsung before release...
2017-03-21 04:25:49 +08:00
topjohnwu
02e039d792
Small fixes
2017-03-20 05:03:52 +08:00
topjohnwu
9f9333315e
Update build script and remove redundant file
2017-03-19 05:02:20 +08:00
topjohnwu
0d10b812fe
Handle MagiskSU and MagiskHide differently
2017-03-19 05:00:12 +08:00
topjohnwu
b4fe4f3d10
Rename sepolicy-inject
2017-03-18 17:26:30 +08:00
topjohnwu
88d19a4ca4
Several fixes
2017-03-18 16:57:04 +08:00
topjohnwu
529aa754f5
Update scripts
2017-03-15 19:32:25 +08:00
topjohnwu
3c7e865555
The long awaited vendor mount fix
2017-03-15 03:43:28 +08:00
topjohnwu
9a7e9b736e
Typo
2017-03-13 04:17:39 +08:00
topjohnwu
c421e45fa0
Small improvements and bug fixes
2017-03-12 19:22:15 +08:00
topjohnwu
8833d21ac3
Update scripts for MagiskBoot
2017-03-12 18:21:50 +08:00
topjohnwu
c6e9270590
Add busybox to uninstaller and bug fixes
2017-02-14 07:13:36 +08:00
Drgravy
bae2c9bc63
fix LG bump support for uninstaller
2017-02-14 03:39:53 +08:00
Drgravy
5ac68f8df8
fix up bump support for LG g2/g3 devices
2017-02-14 03:39:53 +08:00
topjohnwu
06d3b94804
Several improvements
2017-02-07 07:50:55 +08:00
topjohnwu
e7c314fefc
Add sepolicy-inject back to PATH
2017-02-06 07:20:01 +08:00
topjohnwu
faab79b41a
Update uninstaller
2017-02-06 07:20:01 +08:00
topjohnwu
45dbd4464b
Add general purpose script execution
2017-02-06 00:13:25 +08:00
topjohnwu
9ad03994d1
Handle disabling
2017-02-05 23:40:50 +08:00
topjohnwu
35228f80b8
Several minor fixes
2017-02-05 01:45:53 +08:00
topjohnwu
69ded881c6
Treat symlinks as new files
2017-02-05 01:36:07 +08:00
topjohnwu
d9bce45db4
Fix props not loading correctly
2017-02-05 00:37:30 +08:00
topjohnwu
5e92b4faa9
Update binaries
2017-02-04 18:59:52 +08:00
topjohnwu
db501822ef
Update busybox handling
2017-02-04 18:44:07 +08:00
topjohnwu
ef9948a967
Move MagiskHide initialization to Magisk Manager
2017-02-01 23:22:26 +08:00
topjohnwu
298f09402f
Introduce MagiskSU
2017-02-01 06:08:59 +08:00
topjohnwu
3315228a90
Properly handle loading prop files
...
1. Add new trigger "load_magisk_props_action" in init.magisk.rc
2. Patch init*.rc with new trigger
3. Update resetprop to handle prop value with spaces
4. Handle the case when modules contains file/folder names with spaces
2017-01-09 02:23:00 +08:00
topjohnwu
11862bbaee
Remove apps from whitelist, causes issues
2017-01-03 09:37:03 +08:00
topjohnwu
8d846993ee
Load system.prop; longer waiting time
2017-01-03 01:55:19 +08:00
topjohnwu
1f84626278
Handle /cache/su.img
2017-01-02 17:48:50 +08:00
topjohnwu
b4cfe6e9c0
Proper vendor support
2017-01-02 17:48:34 +08:00
topjohnwu
1421e775d2
Remove system root
2017-01-02 03:00:03 +08:00
topjohnwu
f8eab72c7a
Install Magisk Manager stub if not installed
2017-01-02 02:31:59 +08:00
topjohnwu
2afd2f0d3b
More SuperSU support
2017-01-02 02:00:53 +08:00
topjohnwu
198b14e5fc
Fixed various Magic Mount bugs
2017-01-01 19:45:06 +08:00
Paulo d'Castro
f387378b69
Bump support
2016-12-22 20:02:29 +08:00
topjohnwu
e33f5996f3
Disable MagiskHide when SuperSU detected
2016-12-18 22:50:27 +08:00
topjohnwu
8f7f1ff7dd
Fix boot image backup overwrites when upgrade
2016-12-18 22:45:31 +08:00
topjohnwu
54a0e52e05
Minor script fix
2016-12-18 19:05:18 +08:00
topjohnwu
0a53c42a8a
Improve phh su installation
2016-12-10 23:48:24 +08:00
topjohnwu
c9157cc13b
Fix bug in clone dummy
2016-12-08 21:31:34 +08:00
topjohnwu
2b1270381d
Install phh su if no SuperSU detected
2016-12-08 01:50:10 -08:00
topjohnwu
1e3586621b
Magic Mount Total Re-factor Part 2
...
1. It seems that many part of the system is upset about symlinks, revert to bind mounts
2. New system and vendor mirror implementation found, no need to copy anything
3. Thanks to the new mirror implementation, adding new items to /system and /vendor is now possible
4. Re-written some coding style
2016-12-08 00:58:22 -08:00
topjohnwu
c07e9ac29d
Magic Mount total re-factor
...
1. Remove stage 4 bind which mount files back, use symlinks instead
2. libs do not support symlink, make a copy to data if needed
3. Proper support for adding new files into /system/vendor on devices with separate vendor partition
2016-12-07 01:45:09 +08:00
topjohnwu
670fe8590c
Various fixes
...
Fixes #13 and #17
2016-11-29 04:19:36 +08:00
topjohnwu
85dc669ddf
Mount magisk.img with option suid
...
Should fix #12 , hope so :)
2016-11-14 11:00:56 +08:00
topjohnwu
397c1a1c2b
Magisk Hide won't play well with dummy lib
2016-11-14 05:02:57 +08:00
topjohnwu
f1d3e35aac
Proper support for special mounts
2016-11-14 04:30:05 +08:00
topjohnwu
5921d3a42a
Update scripts
2016-11-13 21:02:35 +08:00
topjohnwu
dbbc85719e
MagiskHide: Unmount cache mounts and check UID
2016-11-13 19:27:01 +08:00
topjohnwu
0ddb6c3f10
Various small changes
2016-11-13 16:58:43 +08:00
topjohnwu
e13281726c
Add bootanim, host, busybox
2016-11-09 05:17:14 +08:00
topjohnwu
3068738a70
MagiskHide small tweak
2016-11-07 23:57:21 +08:00
topjohnwu
7ac41652f7
Brand new dummy cloning: No bugs and faster
2016-11-06 04:47:54 +08:00
topjohnwu
bcdd74514f
Adjust scripts for resetprop
2016-11-05 02:38:10 +08:00
topjohnwu
a34ea8f131
Magisk Hide Massive Update
2016-11-01 04:21:43 +08:00
topjohnwu
d5087858ca
Add build scripts
...
Building through the build script will compile all binaries, and generate a properly signed zip
Should work on linux and macOS environments
2016-10-30 19:11:26 +08:00