topjohnwu
912009494d
Revert accidental build script change
2020-05-08 01:44:10 -07:00
topjohnwu
a5d7c41d20
Support Safe Mode detection
...
When detecting device is booting as Safe Mode, disable all modules and
MagiskHide and skip all operations. The only thing that'll be available
in this state is root (Magisk Manager will also be disabled by system).
Since the next normal boot will also have all modules disabled, this can
be used to rescue a device in the case when a rogue module causes
bootloop and no custom recovery is available (or recoveries without
the ability to decrypt data).
2020-05-08 00:45:11 -07:00
topjohnwu
4066e5bf14
Update Makefiles
2020-04-06 22:45:08 -07:00
topjohnwu
4729514a22
Remove snet module from Magisk
2020-04-05 02:13:53 -07:00
topjohnwu
67d746a62c
Let build.py setup NDK
2020-04-03 03:34:07 -07:00
zivmc
fef2da3c0b
Fix bug in compiling elf_cleaner with g++
...
Signed-off-by: zivmc <zivmc@users.noreply.github.com>
2020-04-02 20:52:18 -07:00
topjohnwu
ef9d077c7f
Update build.py
2020-03-27 23:23:26 -07:00
topjohnwu
581419b6a3
Update dependencies
2020-02-21 23:40:20 -08:00
topjohnwu
788db036fd
Don't use Zopfli
2020-01-29 17:38:36 +08:00
topjohnwu
b13a35057a
Support building standalone resetprop
2020-01-21 00:48:52 +08:00
あきと ミズキト
a5fc7891a6
build: Addressed file not found
2019-10-23 06:57:47 -04:00
topjohnwu
935bd01f59
Post process release APKs
2019-10-17 18:02:31 -04:00
topjohnwu
eeb5d669f6
Assign signing keystore location in config
2019-10-17 16:20:01 -04:00
topjohnwu
021994c9f3
Clean elf after building shared binaries
2019-08-22 02:51:17 +08:00
topjohnwu
a797d5d396
Update snet extension
2019-08-08 04:18:32 -07:00
topjohnwu
4c8f357978
Update to support updated FrankeNDK
2019-07-07 17:38:57 -07:00
topjohnwu
7918fc3528
Support building individual applets
2019-05-30 21:17:58 -07:00
topjohnwu
8c40db5730
Don't build snet in all
2019-05-20 01:57:05 -07:00
topjohnwu
6953cc2411
Use separate flags for 64-bit
2019-04-05 15:17:59 -04:00
topjohnwu
08a70f033a
Add entrypoint to build test
...
Just for convenience, nothing special here
2019-04-01 02:46:09 -04:00
topjohnwu
9a7a26407a
Update build script
2019-03-12 17:01:37 -04:00
topjohnwu
de5c902fdb
Remove app-core module
...
Less confusion
2019-03-08 10:19:22 -05:00
topjohnwu
cf65169c99
Separate stub Magisk Manager to a module
2019-03-08 10:16:02 -05:00
topjohnwu
6ca8db2f0c
Welcome to the 64 bit world!
...
Close #854
2019-02-24 08:13:27 -05:00
topjohnwu
defbbdfe21
Update scripts
2019-02-24 02:11:11 -05:00
topjohnwu
ed027ec3ee
Refactor build flags
2019-02-12 05:17:02 -05:00
Aidan Holland
cfa28f0c4a
Empty Exceptions
2019-02-11 17:14:29 -05:00
Aidan Holland
65ebb0d2f8
Misc Formatting
...
* PEP8 and linting
* empty exceptions
2019-02-11 03:18:15 -05:00
Licaon_Kter
9826640ae6
f-strings need Python 3.6
...
...this is a blocker for F-Droid since Debian Strech has only Python 3.5.x
2019-02-09 05:35:05 -05:00
topjohnwu
4df1047b07
Native project restructuring
2019-01-30 03:35:07 -05:00
topjohnwu
60f69feaff
Full project restructuring
2019-01-30 03:10:12 -05:00
topjohnwu
23e5188422
Update scripts
...
1. Update build.py to use f-strings
2. Directly append busybox binaries to update-binary
3. Remove b64xz
2019-01-15 08:32:18 -05:00
topjohnwu
ff3d66a661
Separate backend logic from frontend UI
2018-12-13 04:35:50 -05:00
topjohnwu
b127e01845
Simplify debug flag propagation
2018-09-28 02:05:55 -04:00
topjohnwu
60b3b8ddce
Better incremental builds
2018-09-27 03:56:56 -04:00
topjohnwu
41446ec9ba
Separate libutils and libsystemproperties
2018-09-27 03:30:16 -04:00
topjohnwu
2d7c1da741
Better support for external config file
2018-09-06 14:25:35 -04:00
topjohnwu
ad7ec79903
Support custom config paths
2018-09-05 14:24:28 -04:00
topjohnwu
89a501a3af
Fix build scripts
2018-08-21 00:31:41 +08:00
topjohnwu
c19b78180c
Read props directly in Gradle
2018-08-20 12:02:38 +08:00
topjohnwu
0f34f0033c
Switch to FrankeNDK for building native
2018-08-11 18:46:55 +08:00
topjohnwu
9fbffafdbf
Improve build script
2018-08-10 05:57:12 +08:00
topjohnwu
075f0458f7
Split stub APK to new task
2018-08-10 05:57:12 +08:00
topjohnwu
d4568aa0a7
Compress binaries and use xz-embedded in magiskinit
2018-08-10 05:57:12 +08:00
topjohnwu
97588408a2
Reorganize build script
2018-08-10 05:57:11 +08:00
topjohnwu
1def9b301b
Use xz-embedded for b64xz
2018-08-10 05:57:11 +08:00
topjohnwu
6add682705
Remove high compression mode
2018-08-10 03:49:25 +08:00
topjohnwu
e139f4fc13
Small build script adjustments
2018-08-06 19:32:37 +08:00
topjohnwu
9c17b8a098
Better subprocess support
...
Close #444
2018-08-06 02:01:04 +08:00
topjohnwu
32809e56d0
Sign release zips with release-key.jks
...
Close #408
2018-08-05 02:29:40 +08:00
topjohnwu
c8cc652b71
Prevent build fail when APK is first built without out folder
2018-07-19 16:25:11 +08:00
topjohnwu
8dc9d3bc78
Dump binaries to header at build, not at request
2018-07-18 00:54:31 +08:00
topjohnwu
c2e673f978
Less boilerplate in build script
2018-07-16 06:52:18 +08:00
topjohnwu
f339a087a2
Let Magisk compile against SDK 16
2018-07-13 22:14:32 +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
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
topjohnwu
3934821436
Don't clean output
2018-07-08 00:02:18 +08:00
topjohnwu
d149af9628
Fix bootloop when upgrading from older Magisk
2018-07-01 14:58:31 +08:00
topjohnwu
c0ac2d540b
Update build.py to build Magisk Manager
...
Sorry I forgot to commit this change :p
2018-06-27 16:26:48 +08:00
topjohnwu
3283439fd4
New uninstaller
2018-06-27 06:00:01 +08:00
topjohnwu
e837bdc8ad
Update BusyBox
...
BusyBox is unable to run properly on non-root applications due to seccomp introduced in Android 8.0.
The SDK-21 libc.a has system call wrappers that uses the system calls on the whitelist, so binaries compiled with the updated libc can work properly.
2018-06-25 16:11:31 +08:00
topjohnwu
14eebd582f
Source addon.d script from data
2018-06-21 11:54:21 +08:00
topjohnwu
970a2e87b3
Bundle in stub APK into magiskinit
2018-06-14 02:54:38 +08:00
topjohnwu
30eb4074cb
Update binary dump method
2018-06-10 16:55:00 +08:00
topjohnwu
90d218ebc8
Update SafetyNet extension implementation
2018-06-10 02:35:03 +08:00
topjohnwu
ef2f8d485b
Add key alias option to config.prop
2018-05-27 14:59:08 +08:00
topjohnwu
9fb9212b0a
Add stub apk support
2018-05-27 14:55:24 +08:00
topjohnwu
6d93831488
Fix zipsigner when using external keys
2018-05-20 15:24:47 +08:00
topjohnwu
be5be108c3
Fix build all
2018-05-19 16:53:00 +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
a2c1b024f3
Use 32-bit binaries only
2018-04-22 14:13:27 +08:00
topjohnwu
0afa601551
Fix F2FS manager crashing
2018-02-20 05:15:06 +08:00
topjohnwu
328fc44194
Rename module core to native
2018-01-27 09:11:28 +08:00
topjohnwu
b6f735a8f6
Rename module
2018-01-27 08:34:40 +08:00
topjohnwu
deae08fc4b
Port zipadjust to Java
2018-01-27 08:25:34 +08:00
topjohnwu
c61135ee7b
Embed testkeys into jar
2018-01-27 00:19:35 +08:00
topjohnwu
a3c49de6a5
Refactor magiskboot
2017-12-21 03:36:18 +08:00
topjohnwu
e8dd1b292f
Update snet
2017-12-19 15:51:01 +08:00
topjohnwu
fd8dbe3eff
Greatly reduce Gradle sync time and frequency
2017-12-04 22:21:19 +08:00
topjohnwu
bb97cc594d
Cleanup and small fixes
2017-12-04 18:05:07 +08:00
topjohnwu
3709489b3a
Massive project restructure
2017-12-04 15:16:41 +08:00
topjohnwu
8c6bb383b7
Add support to build with NDK r10e
2017-11-23 23:55:33 +08:00
topjohnwu
bc21a1fb71
Update internal paths
2017-11-22 16:04:24 +08:00
topjohnwu
bb33d9e600
Use real tmp files
2017-11-15 05:48:31 +08:00
topjohnwu
e79aa54b70
Proper Windows building support
2017-11-12 04:17:56 +08:00
topjohnwu
b438cc9335
Remove unnecessary monogisk
2017-11-10 00:54:54 +08:00
topjohnwu
e710848345
Unify Magisk configuration
...
Introduce monogisk tool
2017-11-06 06:22:45 +08:00
topjohnwu
e97bdb53f4
Adjust java paths
2017-10-30 03:45:50 +08:00
topjohnwu
fe1439fbac
Support changing su requester package name
2017-10-28 16:20:31 +08:00
topjohnwu
cdc5d983f3
Bump MagiskManager version
2017-10-15 03:21:33 +08:00
topjohnwu
df7eaa5598
Reduce update-binary size
2017-10-11 02:26:43 +08:00
topjohnwu
60181c4fcb
MagiskManager -> java
2017-10-07 22:48:16 +08:00
topjohnwu
46c91f923d
Update scripts to support Pixel (XL)
2017-09-13 04:08:50 +08:00
topjohnwu
a1e33c4d2f
Build everything ourselves
2017-08-24 12:14:17 +08:00
topjohnwu
7f8ba74dac
Add hide Magisk Manager feature
2017-08-22 03:02:08 +08:00
topjohnwu
750872cc37
Add boot actions
2017-08-12 17:03:31 +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