topjohnwu
1b79a3ddbf
Update OTA tutorial for v17
2018-08-31 21:40:02 -04:00
topjohnwu
a8478ace18
Use macros
2018-08-31 03:51:30 -04:00
topjohnwu
72cf5f3f9f
Temporary disable module bootloop prevention
...
Some devices don't like it, need further tests before pushing to production
2018-08-31 03:23:59 -04:00
topjohnwu
1560f91b4a
Move layout from main to full
2018-08-30 05:15:44 -04:00
topjohnwu
c20f362594
Update trad. Chinese translation
2018-08-30 05:09:28 -04:00
topjohnwu
7ae8c26e50
Improve About and Donation page
2018-08-30 05:05:29 -04:00
topjohnwu
adfffe6121
Better back pressing logic
2018-08-30 04:19:08 -04:00
topjohnwu
64601baa76
Update Magisk Manager README
2018-08-30 04:03:14 -04:00
topjohnwu
aa374b51f1
Move fragments to separate package
2018-08-30 03:57:48 -04:00
topjohnwu
5c483745ff
Move settings out of separate Activity
2018-08-30 00:52:02 -04:00
topjohnwu
0c247110a0
Also get default flags in non-root environment
2018-08-29 13:31:26 -04:00
topjohnwu
70d3b24338
Keep dm/avb-verity when device is using system_root_image
...
Close #512
2018-08-29 00:40:14 -04:00
topjohnwu
8664e9d19b
Update scripts
2018-08-28 22:03:12 -04:00
topjohnwu
50d9877446
Sign debug builds with custom keystore if applicable
2018-08-28 12:17:27 -04:00
topjohnwu
fe06352089
Remove unused import
2018-08-27 00:10:43 -04:00
topjohnwu
f6aae2b048
Add hexpatch to remove Samsung defex in kernel
...
Close #499
2018-08-26 22:38:13 -04:00
topjohnwu
aa383e2190
Properly get color from attribute
2018-08-25 23:01:14 -04:00
topjohnwu
9bbfcf326c
Do not place files into /sdcard/MagiskManager
2018-08-25 16:00:27 -04:00
topjohnwu
3948e67c8f
Require authentication to toggle fingerprint settings
...
Close #474
2018-08-22 17:49:51 -04:00
topjohnwu
d56e1b2cc5
Move fingerprint settings to global database
2018-08-22 15:05:00 -04:00
topjohnwu
bfac1f1bc2
SN checks is possible after repackage if using new API
2018-08-22 12:32:53 +08:00
topjohnwu
d4a956c355
Fix strings
2018-08-22 12:28:15 +08:00
topjohnwu
d2c196896d
Update snet extension
2018-08-22 11:50:21 +08: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
c967e618a1
Adjustment to direct install
2018-08-13 02:57:03 +08:00
topjohnwu
59f78d7dfc
Update to BusyBox 1.29.2
2018-08-13 01:30:15 +08:00
topjohnwu
d8405f0d05
Make recovery installed on on system_root devices normal
2018-08-12 00:16:59 +08:00
topjohnwu
0f34f0033c
Switch to FrankeNDK for building native
2018-08-11 18:46:55 +08:00
topjohnwu
190646d50c
Fix incorrect magisk metadata in ramdisk
2018-08-11 16:31:46 +08:00
topjohnwu
a46c6252c6
Detect insufficient partition size
...
Close #388
2018-08-11 15:56:12 +08:00
topjohnwu
5c1886c8f5
Update scripts
2018-08-10 18:59:14 +08:00
topjohnwu
afcb3d8f34
Fix XZ decompression in magiskinit
2018-08-10 15:04:32 +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
5bac442b18
Reorganize sources
2018-08-10 03:49:25 +08:00
topjohnwu
6add682705
Remove high compression mode
2018-08-10 03:49:25 +08:00
topjohnwu
8b50d84a05
Hide unnecessary error log
2018-08-09 15:10:00 +08:00
topjohnwu
d3858b81e2
Add new boot service: boot-complete
2018-08-09 14:52:44 +08:00
topjohnwu
bdff9769be
Move remount,ro back to post-fs-data mode
2018-08-09 03:57:29 +08:00
topjohnwu
ada0f93686
Apply all sepolicy patches pre-init
...
Boot services tend to fail in the middle when the kernel loads a sepolicy live.
It seems that moving full patch (allow magisk * * *) to late_start is still not enough to fix service startup failures.
So screw it, apply all patched in magiskinit, which makes sure that all rules are only loaded in a single step.
The only down side is that some OEM with a HUGE set of secontexts (e.g. Samsung) might suffer a slightly longer boot time, which IS the reason why the rules are split to 2 parts in the first place.
2018-08-09 03:20:28 +08:00
topjohnwu
ff36f2ba17
Add 1 more byte to mark
...
Prevent crashes on higher Android versions
2018-08-09 03:01:33 +08:00
topjohnwu
5164cfd399
Move butterknife config to full only
2018-08-08 23:09:29 +08:00
topjohnwu
5fa021503e
Update to libsu 2.0.1
2018-08-08 18:57:55 +08:00
topjohnwu
7b5d79d313
Kill all processes using the same UID of the target
...
To workaround OOS embryo optimization
2018-08-08 05:47:58 +08:00
topjohnwu
3e3f38500d
Only use required memory size
2018-08-08 03:20:37 +08:00
topjohnwu
5109b9abfd
Allow modules be managed in core only mode, and add notice in UI
2018-08-07 16:31:00 +08:00
topjohnwu
7fb4777c1c
Improve update channel settings
...
Fix #446
2018-08-07 15:48:43 +08:00
topjohnwu
c38533e0f8
Prevent problematic modules causing device stuck in bootloop
...
If boot failed after 2 times, it will enable core only mode (which disables all modules)
2018-08-07 04:41:48 +08:00
topjohnwu
9159f86a9e
Improvements to system_root devices booting as recovery
2018-08-07 02:20:40 +08:00
topjohnwu
e139f4fc13
Small build script adjustments
2018-08-06 19:32:37 +08:00
topjohnwu
d764c20c08
Fix crash on boot on Android pre-O
...
Close #448
2018-08-06 18:52:28 +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
9f05b182a2
Verify existing file checksum to prevent needless downloads
2018-08-05 00:37:02 +08:00
topjohnwu
cf17e21ad3
Proper callback to trigger UI update
2018-08-03 23:04:35 +08:00
topjohnwu
0e0240c4ab
Better download UI
2018-08-03 22:48:44 +08:00
topjohnwu
d1b290b91a
Fix install failure
2018-08-03 22:41:53 +08:00
topjohnwu
a63696836c
Proper addon.d-v2 support
2018-08-03 22:40:49 +08:00
topjohnwu
46aad00f16
Use buffer on stack
2018-08-03 21:30:44 +08:00
topjohnwu
252afe8932
Use mirror in post-fs-data scripts
2018-08-03 17:09:24 +08:00
topjohnwu
9dd467a613
Update Trad. Chinese translations
2018-08-03 05:29:17 +08:00
topjohnwu
4c14df67cc
Add warning before installing to inactive slot
2018-08-03 05:19:46 +08:00
topjohnwu
82e8375957
Respect filesystem type when mounting mirrors
...
Close #405
2018-08-03 04:45:07 +08:00
topjohnwu
bb25edc09e
Use own busybox for get_outfd
2018-08-03 04:25:00 +08:00
topjohnwu
169c0fe4af
Stop use clashing names
2018-08-03 03:43:02 +08:00
topjohnwu
cd6918e6eb
Stop altering PATH to mirror
2018-08-03 03:38:36 +08:00
topjohnwu
5be035fd44
Try logging a little harder
2018-08-03 01:58:56 +08:00
topjohnwu
f1edc8443c
Make root shell always use dev_pts
...
Close #433
2018-08-02 20:29:18 +08:00
topjohnwu
d9564bd04c
Delay full sepolicy patch loading time
2018-08-02 05:35:01 +08:00
topjohnwu
35f1c396f2
Request write external storage permission
2018-08-02 04:27:01 +08:00
topjohnwu
6acb950990
Simplify repo update logic
2018-08-02 01:55:34 +08:00
topjohnwu
27e0d1641a
Show proper time of repo updates
2018-08-02 01:55:34 +08:00
topjohnwu
9ac71ff8af
Simplify asynchronous tasks
2018-08-02 00:41:10 +08:00
topjohnwu
075737a4ec
Fix crash
2018-08-01 18:56:11 +08:00
topjohnwu
6d0e4a6a5e
Rename base activity and fragments
2018-08-01 17:57:11 +08:00
topjohnwu
a2544768a0
Remove boilderplate
2018-08-01 14:30:59 +08:00
topjohnwu
8574a14ed2
Improve locale settings
2018-08-01 14:16:44 +08:00
topjohnwu
e90c555c18
Some cleanups
2018-08-01 03:09:44 +08:00
topjohnwu
863b9a410f
Rewrite Topics
2018-08-01 00:47:31 +08:00
topjohnwu
23c7bbc7d5
Move Const to upper package
2018-07-31 17:42:35 +08:00
topjohnwu
f900189f90
Rename and move methods
2018-07-31 17:41:54 +08:00
topjohnwu
7c74be2790
Create LocaleManager
2018-07-31 17:35:58 +08:00
topjohnwu
70dd2d4829
More moving
2018-07-31 16:57:52 +08:00
topjohnwu
914b7ee056
Start moving things outside of top Application class
2018-07-31 03:51:11 +08:00
topjohnwu
e39f83edbf
Do not unmount database when cleaning up repackaged manager
2018-07-31 01:09:25 +08:00
topjohnwu
52fe0c6abb
Fix restore manager on Android P
2018-07-31 01:05:56 +08:00
topjohnwu
1552f32e09
Keep the methods in SN check interface
...
For some reason, Proguard optimization will remove the method
2018-07-30 20:42:42 +08:00
topjohnwu
50b73a6720
Clear up more component in stub APK
2018-07-30 20:37:00 +08:00
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