53 Commits

Author SHA1 Message Date
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 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 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 bb5a6a1c28 Re-organize folders 2017-09-14 01:57:53 +08:00
topjohnwu 619b805894 Add secilc 2017-09-13 04:08:50 +08:00
topjohnwu 717890395b Introduce magiskinit for Pixel (XL) 2017-09-13 04:08:50 +08:00
topjohnwu 15f2a664d1 Update help messages 2017-08-15 01:25:54 +08:00
topjohnwu eae611c54d Add b64xz to handle busybox decode/decompress in scripts 2017-08-02 18:25:24 +08:00
topjohnwu 64e85da59f Merge Android.mk 2017-07-31 23:47:50 +08:00
topjohnwu 24164c8580 Add busybox to source 2017-07-30 20:14:12 +08:00
topjohnwu 9fca7011aa Move headers 2017-07-30 18:15:00 +08:00
topjohnwu e5b704eb32 Several cleanups 2017-07-13 23:42:01 +08:00
topjohnwu 504a9b4746 MagiskHide refactor 2017-07-10 23:41:21 +08:00
topjohnwu f3b68e6543 Seperate external shared libraries 2017-07-07 22:11:00 +08:00
topjohnwu 52a23e7904 Add more props for hiding 2017-07-03 01:19:15 +08:00
topjohnwu 04538372c6 Add more image commands 2017-06-24 23:37:45 +09:00
topjohnwu 17d3a87b1f Prevent resetprop function signature duplicate with libc 2017-05-30 23:34:39 +08:00
topjohnwu 14c5c60863 Improve excessive rapid root access performance 2017-05-29 18:56:00 +08:00
topjohnwu e16d604d0d Implement Magic Mount 2017-05-01 01:58:52 +08:00
topjohnwu 2a985ce6c0 Add magiskhide list management 2017-04-22 17:12:54 +08:00
topjohnwu 102a7f8723 Change flags 2017-04-22 17:12:54 +08:00
topjohnwu 08527dde9b Auto start magiskhide 2017-04-22 17:12:54 +08:00
topjohnwu dfe4b33f2f Integrate sepolicy patching with MagiskSU fixed 2017-04-22 17:12:54 +08:00
topjohnwu 6ad993704c Integrate MagiskSU into Magisk daemon 2017-04-22 17:12:54 +08:00
topjohnwu 144ff5e716 Integrate MagiskHide into Magisk Daemon 2017-04-22 17:12:54 +08:00
topjohnwu 054a1e5ea4 Add magisk daemon 2017-04-22 17:12:54 +08:00
topjohnwu 3a7e782c07 Remove separate binary support for tools rely on daemon 2017-04-22 17:12:54 +08:00
topjohnwu 8f6b33d790 Rewrite magiskhide 2017-04-22 17:12:54 +08:00
topjohnwu f476daa041 Change parts of library to shared
libsqlite and libselinux are shipped with Android systems
We build them here for the compiler to link against it,
we actually use the one in /system/lib(64)
2017-04-22 17:12:54 +08:00
topjohnwu acfde9458d Merge magiskpolicy, magiskhide, resetprop, magisksu 2017-04-22 17:12:54 +08:00
topjohnwu 82e969627a Start unifying with log monitor 2017-04-22 17:12:54 +08:00
topjohnwu b4fe4f3d10 Rename sepolicy-inject 2017-03-18 17:26:30 +08:00
topjohnwu e08d46aa76 Add lz4 support 2017-03-02 04:12:47 +08:00
topjohnwu 1437c5c63f Add ndk-compression with liblzma 2017-02-28 17:24:27 +08:00
topjohnwu a839cb787e Rename bootimgtool to magiskboot 2017-02-28 05:43:49 +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 0ccc92dc1e Minor restructure 2016-12-09 15:57:10 +08:00
topjohnwu 6e3bb48574 Add su binary into Magisk 2016-12-06 04:49:35 +08:00
topjohnwu 16d7ae62bd Move selinux submodule 2016-12-06 03:09:15 +08:00
topjohnwu 1d0c36a0ab Add resetprop to Magisk 2016-11-05 02:38:10 +08:00
topjohnwu a34ea8f131 Magisk Hide Massive Update 2016-11-01 04:21:43 +08:00
topjohnwu 9ea028f5ab Various updates, prepare for Multirom support 2016-10-30 06:50:06 +08:00
topjohnwu 3255ca3ea4 Remove unnecessary statics 2016-10-30 06:08:23 +08:00
topjohnwu 5f9bcfbefe Change the name to magiskhide 2016-10-06 02:21:12 +08:00
Pierre-Hugues Husson e1279c29c2 Add hidesu program.
This is a test program, this will probably be integrated into su daemon.
This hides su by bind-mounting something (/system) over /sbin, so that
there is no /sbin/su binary.
Usage:
hidesu /proc/<one pid of the namespace>/ns/mnt

This uses the fact that when a program wants access to /sdcard, zygote
does this using mount namespaces, so every program accessing /sdcard
will be in a custom mount namespace, that can be modified.
2016-10-05 04:07:48 +08:00