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
v11.1
2017-02-07 07:50:55 +08:00
topjohnwu
e7c314fefc
Add sepolicy-inject back to PATH
v11.0
2017-02-06 07:20:01 +08:00
topjohnwu
faab79b41a
Update uninstaller
2017-02-06 07:20:01 +08:00
topjohnwu
14204c9bfc
Busybox path changed; stock one is enough for detection
2017-02-06 00:14:03 +08:00
topjohnwu
45dbd4464b
Add general purpose script execution
2017-02-06 00:13:25 +08:00
topjohnwu
472255924a
Auto switch to pseudo enforced if permissive
2017-02-05 23:43:01 +08:00
topjohnwu
6d3ac2aa55
Check before enable/disable
2017-02-05 23:42:57 +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
d4149d4b7a
Update native parts
2017-02-01 06:03:05 +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
f72205c401
Fix binary outdated complain
v10.1
2017-01-03 09:37:45 +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
v10
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
94a861e318
Update uninstaller
2017-01-02 03:35:30 +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
2b72f40cec
Upgrade phh su
2017-01-02 01:28:24 +08:00
topjohnwu
ff5c0d6361
MagiskHide small fix
2017-01-01 20:31:08 +08:00
topjohnwu
198b14e5fc
Fixed various Magic Mount bugs
2017-01-01 19:45:06 +08:00
topjohnwu
f9fea265cf
Small updates for MagiskHide
2017-01-01 18:54:13 +08:00
topjohnwu
668601ca23
Separate all binaries and makefile
2016-12-31 02:44:24 +08:00
topjohnwu
99406f2099
Separate all Android.mk files
2016-12-30 06:06:19 +08:00
topjohnwu
632b3cb9ae
Higher priority; compare whole string instead substr
2016-12-30 06:05:33 +08:00
topjohnwu
0bf04c04f9
Final fix for MagiskHide, all is well!
2016-12-29 23:25:11 +08:00
topjohnwu
dc29018ec0
Reduce wait interval and various bug fixes
2016-12-28 15:28:42 +08:00
topjohnwu
b6412afe96
Fix Magisk Hide losing root issue
...
This is the issue that has been haunting since day 1. Root and mounted files randomly disappears, and only an reboot can fix it.
The issue is that Zygote requires some time to isolate the mount namespace for the children it forks (read: most processes), so in rare cases such as the CPU is on heavy load, or CPU is in deep sleep, it takes longer than usual to finish the mount namespace isolation. Magisk Hide kicks in before the isolation is done, and it will switch to Zygote's namespace and do the unmounting. All children will then lose the mounted files, which includes root.
The solution is to first find the namespace id of Zygote, and wait a small period of time and retry if the namespace isn't isolated yet.
2016-12-28 04:02:35 +08:00
topjohnwu
4e88186903
Move /sbin binaries to new location for root
...
Finally fix #12
2016-12-22 20:03:35 +08:00
Paulo d'Castro
f387378b69
Bump support
2016-12-22 20:02:29 +08:00
Paulo d'Castro
f894e6b4ea
Uninstaller 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
b2431b982f
Prettify code
2016-12-11 05:10:48 +08:00
topjohnwu
8d6d619eed
Fork once only
...
Right now there are three threads (process)
1. Main thread in parent: monitor logcat
2. Second thread in parent: monitor hidelist
3. Children: switch namespace and unmounts
2016-12-11 04:56:01 +08:00
topjohnwu
70e332b9e8
MagiskHide small update
2016-12-11 03:41:29 +08:00
topjohnwu
0a53c42a8a
Improve phh su installation
2016-12-10 23:48:24 +08:00
topjohnwu
0ccc92dc1e
Minor restructure
2016-12-09 15:57:10 +08:00
topjohnwu
c9157cc13b
Fix bug in clone dummy
2016-12-08 21:31:34 +08:00