266 Commits

Author SHA1 Message Date
topjohnwu fde78be2b4 Update Android Studio 2020-05-30 12:50:08 -07:00
topjohnwu 63512b39b2 Update NDK to r21b 2020-05-23 00:48:49 -07:00
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