Andrew Gunnerson
b3cd83bbca
magiskinit: Only unmount /system and /vendor if it was mounted by magisk
...
This fixes an issue where if /system or /vendor was already mounted
prior to magiskinit running, then they would get unmounted.
Signed-off-by: Andrew Gunnerson <andrewgunnerson@gmail.com>
2018-06-03 15:25:38 +08:00
topjohnwu
b8bd83ba05
Update busybox to 1.28.4
2018-06-03 15:17:31 +08:00
topjohnwu
34dcf49fbc
Update restorecon implementation
2018-06-03 14:43:03 +08:00
topjohnwu
f31a24b16d
Update setenv functions (also fixes uninstalling)
2018-05-26 23:14:09 +08:00
topjohnwu
b436bce565
Minor optimizations
2018-05-26 21:25:59 +08:00
topjohnwu
bcdadc6581
Update busybox
2018-05-20 02:34:06 +08:00
topjohnwu
36448191b7
Fix applet invocation
2018-05-20 00:49:48 +08:00
topjohnwu
c9ca42aaa9
Support fixing Magisk environment
2018-05-13 18:14:44 +08:00
topjohnwu
c0e2f44092
Use wrapper script to prevent crazy LD_XXX flags
2018-05-13 14:32:21 +08:00
topjohnwu
1412fcbb22
Update sepolicy rules
2018-05-13 14:30:41 +08:00
topjohnwu
c3c78428c4
Use lower API level for static binaries
2018-05-13 05:22:46 +08:00
topjohnwu
c6d2bf577f
Massive building system rewrite
2018-05-13 03:04:40 +08:00
topjohnwu
88fae36b8a
Hide sub-services of apps for hiding
...
Close #383
2018-04-29 15:10:35 +08:00
topjohnwu
cecc0b932d
Remove some traits
2018-04-29 12:34:36 +08:00
topjohnwu
0faed7159c
Add invincible mode back
2018-04-29 12:17:28 +08:00
topjohnwu
fb491cfdcf
Add Protobuf support to resetprop
2018-04-29 01:20:48 +08:00
topjohnwu
fc706dcb40
Bump busybox to 1.28.3
2018-04-22 14:28:16 +08:00
topjohnwu
a2c1b024f3
Use 32-bit binaries only
2018-04-22 14:13:27 +08:00
topjohnwu
76ef1d0d86
Cleanup sepolicy rules
2018-04-22 03:06:40 +08:00
topjohnwu
9484ec0c17
Massive refactoring
...
Remove post-fs mode
2018-04-22 02:16:56 +08:00
topjohnwu
614c552e55
Improve daemon startup
2018-04-21 20:16:59 +08:00
topjohnwu
7db3d84ba2
Forgot to update the default file secontext
2018-04-21 13:20:42 +08:00
topjohnwu
87f6018468
Massive sepolicy refactor
2018-04-15 03:18:18 +08:00
topjohnwu
7ff45974c6
Upstream selinux
2018-04-14 17:18:29 +08:00
topjohnwu
2533a4fc4a
Fix APK installation on Android P
2018-04-08 03:22:22 +08:00
topjohnwu
42284c5efb
Test logcat instead of checking logd
2018-04-08 02:12:40 +08:00
topjohnwu
ac05e2f2e2
Fix tail size calculation
...
Close #381
2018-03-27 00:45:18 +08:00
topjohnwu
787f7b3035
Remove backwards compatibility symlinks
...
These links cause magiskhide unable to work ideally and add complications. I think I gave enough time for migration
2018-03-27 00:35:59 +08:00
topjohnwu
31bd642b80
Update to busybox 1.28.2
2018-03-26 22:12:04 +08:00
topjohnwu
f0bac6b154
Resetprop small refactor
2018-03-26 21:21:48 +08:00
topjohnwu
e8a44646b8
Update Magisk Manager
2018-03-18 12:34:07 +08:00
topjohnwu
ae97d011ae
Change MagiskHide state if logd is disabled
2018-03-18 12:17:10 +08:00
topjohnwu
5665e04014
Force using system binaries
2018-03-17 21:42:42 +08:00
topjohnwu
9855877b03
Update rules for Android P
2018-03-11 08:36:20 +08:00
topjohnwu
76c9188fae
Android P renamed nonplat_properties
2018-03-11 02:53:57 +08:00
topjohnwu
e4e5269836
Android P have no make_ext4fs, use mke2fs as fallback
2018-03-11 02:52:24 +08:00
topjohnwu
9e737df534
Update high compression mode detection logic
2018-03-10 15:55:55 +08:00
Shaka Huang
0b3192c4d5
Check dtb even if kernel is not available
...
By the flow of unpacking boot image of Chrome OS there will be no kernel file but an dtb image. In that case the dtb image won’t be added when repacking boot image.
Signed-off-by: Shaka Huang <shakalaca@gmail.com>
2018-03-03 20:57:55 +08:00
Shaka Huang
968e6237bd
Fix error parsing MTK boot.img
...
Should be copy & paste error:
1. boot->r_fmt should be re-checked instead of boot->k_fmt once MTK header was found in ramdisk.
2. ramdisk_size should be restored instead of kernel_size when uncompressed ramdisk was found.
3. Correct header of ramdisk
Signed-off-by: Shaka Huang <shakalaca@gmail.com>
2018-03-03 20:57:37 +08:00
worstperson
d780b5a0e4
Add support for the Nook Tablet, Acclaim
...
Also changed occurences of NOOK with NOOKHD
2018-03-03 20:55:44 +08:00
worstperson
3e48427eaf
Add support for the new NOOK_MAGIC
...
The new cmdline value that's been in use since Marshmallow
2018-03-03 20:55:44 +08:00
worstperson
31360c34ed
Set NOOK_PRE_HEADER_SZ from 0xFFFFF to 0x100000
...
All applicable Nook HD/HD+ roms are using this offset
2018-03-03 20:55:44 +08:00
topjohnwu
e9624e2304
Update submodules
2018-02-22 02:49:54 +08:00
topjohnwu
9c6e64f47d
Workaround compiler optimization bug
2018-02-21 14:44:24 +08:00
topjohnwu
0afa601551
Fix F2FS manager crashing
2018-02-20 05:15:06 +08:00
topjohnwu
a94fa81195
Support non skip_initramfs device with slot suffix
2018-02-14 00:57:52 +08:00
topjohnwu
7da205f4c8
Round sizes to nearest integer
2018-02-12 04:56:50 +08:00
topjohnwu
754fafcfe9
Check logd before logging
2018-02-12 02:48:15 +08:00
topjohnwu
bd7766b17e
Prevent small memory leak
2018-02-11 21:55:57 +08:00
Andrew Gunnerson
70b7d73453
utils/cpio.c: Fix off-by-one error in cpio_vec_insert
...
Previously, if `cpio_vec_insert()` needed to replace a file and the file
already exists as the first entry, then a duplicate entry would get
created.
This fixes the bug I reported at:
https://forum.xda-developers.com/showpost.php?p=75449768&postcount=22647
Signed-off-by: Andrew Gunnerson <andrewgunnerson@gmail.com>
2018-02-11 18:50:42 +08:00