topjohnwu
53e51f1735
Allow incomplete update JSONs
2018-07-29 23:36:29 +08:00
topjohnwu
40b63bfebe
Don't use DownloadManager for Magisk
2018-07-29 22:58:22 +08:00
topjohnwu
89861eceef
Install to Second Slot -> Install to Inactive slot
2018-07-29 15:45:04 +08:00
topjohnwu
b8eaff66fa
Shrink snet APK, and prevent crashing
2018-07-28 23:40:41 +08:00
topjohnwu
a747fdd27d
Organize dialog code
2018-07-28 22:52:40 +08:00
topjohnwu
27851bdefa
Update README.md
2018-07-28 15:10:06 +08:00
topjohnwu
3fdeb40ddf
Update SNET extension dialog interface
2018-07-28 14:56:14 +08:00
topjohnwu
546c7cebd3
Fix #411
2018-07-27 22:44:09 +08:00
topjohnwu
473902f5f4
Proper detect MagiskHide status
2018-07-27 22:32:47 +08:00
topjohnwu
41c0721159
Use internal thread pool for update repos
2018-07-27 21:59:30 +08:00
topjohnwu
413d4badfd
Strip logging code with Proguard
2018-07-27 21:52:09 +08:00
topjohnwu
c5d67ebf72
Update libsu to 2.0.0
2018-07-27 04:48:32 +08:00
topjohnwu
91818cfa1a
Support compiling split cils via magiskpolicy CLI
2018-07-21 05:12:22 +08:00
topjohnwu
6263d684d9
Migrate to JobIntentService to prevent boot notification
2018-07-21 02:59:36 +08:00
topjohnwu
07140d33a7
Bring back installing to second slot after OTA on A/B devices
2018-07-21 01:59:28 +08:00
topjohnwu
4ffc388491
Allow bootctl to run
2018-07-20 22:22:49 +08:00
topjohnwu
0ef026c610
Remove system root when running addon.d
2018-07-20 00:37:38 +08:00
topjohnwu
153c7fdf20
Script update, artificially bump version
2018-07-19 18:12:53 +08:00
topjohnwu
90379eeb35
Detect ramdisk partition
...
Because Huawei, fix #400
2018-07-19 17:48:51 +08:00
topjohnwu
3ae959af95
Do not early mount on symlinks on half Treble devices
...
Fix #399
2018-07-19 17:43:37 +08:00
topjohnwu
c8cc652b71
Prevent build fail when APK is first built without out folder
2018-07-19 16:25:11 +08:00
topjohnwu
4b6285e5c2
Bump Magisk Manager to v5.8.2
2018-07-19 04:27:05 +08:00
topjohnwu
013de7b3ef
Switch channel and snet APK links
2018-07-19 04:18:08 +08:00
topjohnwu
e11e88a9c5
Huawei hardcodes the slot suffix, don't append the suffix twice
2018-07-19 03:12:28 +08:00
topjohnwu
7cec8baa55
Merge magiskpolicy into Magisk main repo
2018-07-18 18:45:21 +08:00
topjohnwu
e987db9fb5
Move magiskpolicy sources to native/jni/magiskpolicy
2018-07-18 18:44:43 +08:00
topjohnwu
c603b9084f
Remove magiskpolicy as submodule
2018-07-18 18:43:36 +08:00
topjohnwu
492d6dfcf0
Merge MagiskSU into Magisk main repo
2018-07-18 18:40:13 +08:00
topjohnwu
a3e0f2dcc3
Remove MagiskSU as submodule
2018-07-18 18:40:10 +08:00
topjohnwu
cf211e26f4
Move MagiskSU sources to native/jni/su
2018-07-18 18:23:36 +08:00
topjohnwu
c5aaaa7c55
Merge Magisk Manager into Magisk main repo
2018-07-18 17:52:56 +08:00
topjohnwu
f86d077e27
Remove Magisk Manager as submodule
2018-07-18 17:50:13 +08:00
topjohnwu
f8076825cb
Move Magisk Manager files into subfolder
2018-07-18 17:47:53 +08:00
topjohnwu
201d8a97d4
Prevent crashing on broken module.prop
2018-07-18 04:01:06 +08:00
topjohnwu
d08f326990
Log fatal errors in debug mode only
2018-07-18 03:25:36 +08:00
topjohnwu
8dc9d3bc78
Dump binaries to header at build, not at request
2018-07-18 00:54:31 +08:00
topjohnwu
adf95ce3a0
Read fstab from device tree
...
In previous versions, magiskinit will not early mount if /sepolicy is detected. However on OP5/5T latest betas, the devices are fully trebelized,
but for some reason the file /sepolicy still exists, making magiskinit think it is NOT a treble device and doesn't work properly.
So to properly fix this issue, I will have to use the "official" way - check fstab in device trees. Any block mentioned in the fstab in device trees
are supposed to be early mounted. Currently magiskinit will only mount system and vendor even if other partitions exists in the dtb fstab, since other
partitions are not used to construct sepolicy (currently).
These changes can also fix #373 , since we dynamically detect PARTNAME from device trees.
2018-07-18 00:45:10 +08:00
topjohnwu
3c1aca114f
Wrap accept4 since some device does not have it
2018-07-17 06:52:23 +08:00
topjohnwu
18d0fd9d2a
MagiskInit optimizations
2018-07-17 06:18:36 +08:00
topjohnwu
c2e673f978
Less boilerplate in build script
2018-07-16 06:52:18 +08:00
topjohnwu
2bde8a1975
EMUI's logcat will change output file's permission and break ADBD
2018-07-16 06:42:36 +08:00
topjohnwu
bf9927c7dd
Sync source with AOSP
2018-07-14 04:34:48 +08:00
topjohnwu
f339a087a2
Let Magisk compile against SDK 16
2018-07-13 22:14:32 +08:00
topjohnwu
6ccc5f3788
Use xwrap functions
2018-07-13 22:10:24 +08:00
topjohnwu
1affb91f17
Support compiling against lower SDK
...
Reduce even more size for static binaries
2018-07-13 05:41:29 +08:00
topjohnwu
7779c3e372
Update Magisk Manager
2018-07-13 05:19:29 +08:00
Taras
49ba7ad22e
update Ukrainian language
2018-07-12 11:45:25 +08:00
topjohnwu
6ad33d60f7
Bump to 5.8.1
2018-07-12 11:44:16 +08:00
topjohnwu
0117274061
Better Windows support
2018-07-12 11:14:27 +08:00
topjohnwu
e50192a407
Use standard ANDROID_NDK_HOME instead of ANDROID_NDK
2018-07-12 11:01:01 +08:00