topjohnwu
31681c9c5f
Remove ProcessPhoenix
2020-08-23 00:12:58 -07:00
topjohnwu
0e5a32b476
Close streams
2020-08-22 20:33:50 -07:00
topjohnwu
a22a1dd284
Only offer shortcuts when running as stub
2020-08-22 10:51:32 -07:00
topjohnwu
27c59dbb65
Disable animations in toolbar
...
Fix #2907
2020-08-22 05:52:57 -07:00
topjohnwu
fb04e32480
Bypass external rw check in the proper location
2020-08-22 05:27:30 -07:00
topjohnwu
14a2f63b8b
Several changes for using MediaStore
...
- Change config key name so default downloads to folder 'Download'
- Always use getFile as we do not need existing file deleted
- Fallback to use File based I/O pre API 29 as officially MediaStore
APIs do not support general purpose usage. And also, it was working
fine on all devices before. If it ain't broke, don't fix it
- Show full download path in settings to make it more clear to the user
- Close streams after using them
2020-08-22 04:38:51 -07:00
vvb2060
9e81db8692
Support scoped storage
2020-08-22 04:38:51 -07:00
topjohnwu
1ed67eed35
Rename classes and fields
2020-08-21 06:45:40 -07:00
topjohnwu
abc5457136
Cleanup DownloadService
2020-08-21 06:27:13 -07:00
topjohnwu
4b238a9cd0
Add feature to create launch shortcuts
2020-08-21 03:36:12 -07:00
topjohnwu
105b2fc114
Ensure SplashActivity is ran before MainActivity
2020-08-19 05:19:24 -07:00
topjohnwu
5ed4071f74
Change ActivityExecutor signature
2020-08-19 05:19:24 -07:00
topjohnwu
551a478fdc
Fix occasional broken animation
2020-08-19 05:19:24 -07:00
topjohnwu
7c319f5fc3
Moar refactoring
2020-08-19 05:19:24 -07:00
topjohnwu
1fcf35ebeb
Do not hardcode appcompat widget classes
...
They should be handled by the theme
2020-08-19 05:19:24 -07:00
topjohnwu
34450cdddd
More refactoring
...
Cleanups, move classes to sane locations, etc.
2020-08-19 02:05:23 -07:00
topjohnwu
846bbb4da1
Reorganize app source code
2020-08-18 06:31:15 -07:00
topjohnwu
d7a26dbf27
Tidy up ViewEvents
2020-08-18 06:03:12 -07:00
topjohnwu
a86d5b3e61
Remove unnecessary abstractions
2020-08-18 05:03:56 -07:00
topjohnwu
7f225b3973
Minor MarkwonImagePlugin updates
2020-08-15 23:20:49 -07:00
vvb2060
a4c1ddd9f2
Use uid 2000 to install patched apk
2020-08-15 22:16:15 -07:00
topjohnwu
3f053b8547
Minor code changes
2020-08-14 03:17:10 -07:00
Viktor De Pasquale
79aa261ca2
Fixed manager beginning to hide immediately on field change
...
Bug was caused by lenient usage of "value" property defined in the "line item" in settings. Developer error allowed to use the internal value, that was not properly protected, in a way that did not conform with the latest "Observer" rewrite.
Additional comments were added to hopefully prevent bugs of this kind in the future. The property is now properly protected so it gives away clues that this access is considered "not cool".
2020-08-14 02:23:03 -07:00
topjohnwu
ac2a9da4c4
Fix Markdown rendering
...
Close #3074
2020-08-14 02:00:06 -07:00
Viktor De Pasquale
d8b1d79879
Fixed first title being partially obscured by toolbar
2020-08-12 04:33:00 -07:00
topjohnwu
feb0f4b7b5
Fix MagiskDialog
2020-08-12 03:33:19 -07:00
topjohnwu
6c8fe46590
Remove unused resources
2020-08-11 04:33:07 -07:00
topjohnwu
36a70e995f
Remote -> Online
2020-08-11 03:36:41 -07:00
topjohnwu
537ae1a315
Cleanup setting items
2020-08-11 03:30:00 -07:00
topjohnwu
87b6bf2c26
Remove strip in settings item
2020-08-11 00:54:19 -07:00
topjohnwu
9df6b0618a
Update MagiskHide list
2020-08-10 07:05:07 -07:00
topjohnwu
c7e30ac63e
Update superuser list
2020-08-10 02:33:44 -07:00
topjohnwu
f5e547944a
Do not toggle when clicking cards
2020-08-09 22:30:38 -07:00
topjohnwu
f5aa6a3cf8
Update module fragment
...
Update UI and logic for loading modules
2020-08-09 21:41:23 -07:00
topjohnwu
c944277e78
Use switches with 2 way binding instead of custom ImageView
2020-08-09 14:50:16 -07:00
topjohnwu
24f6024383
More homescreen UI improvements
2020-08-09 06:52:02 -07:00
topjohnwu
15b1215972
Only show SafetyNet when GMS exists
2020-08-09 04:39:12 -07:00
topjohnwu
893a8ec8d9
Strip out most StaggeredGridLayoutManager in code
2020-08-09 03:30:00 -07:00
topjohnwu
da2b00de59
Several home screen changes
2020-08-09 02:32:13 -07:00
vvb2060
2e95d9f07e
Update to APK Signature Scheme v2
2020-08-08 05:12:02 -07:00
topjohnwu
fe2388394d
Update dependencies
2020-08-08 04:12:08 -07:00
topjohnwu
5b28a713e0
Move functions around
2020-07-23 22:43:25 -07:00
topjohnwu
f1fb7404c2
Catch exceptions when loading remote modules
...
Fix #3004
2020-07-20 22:35:50 -07:00
topjohnwu
fc67c0195f
Workaround bug in AOSP code
...
Fix #2983 , https://issuetracker.google.com/issues/36984866
2020-07-20 22:22:57 -07:00
topjohnwu
2f02f9a580
Update libsu
2020-07-20 21:58:23 -07:00
topjohnwu
07f712a1ce
Always show hidden apps
2020-07-17 06:05:38 -07:00
topjohnwu
c7044b0d20
Remember show system app toggle in MagiskHide list
2020-07-17 05:32:08 -07:00
topjohnwu
15866cfba9
Fix incorrect command
...
Fix #2992
2020-07-17 05:28:18 -07:00
topjohnwu
4c2570628d
Make SettingsItems make much more sense
2020-07-17 03:02:58 -07:00
topjohnwu
113eec59f9
Request storage rw for saving logs
...
Fix #2993
2020-07-17 01:27:52 -07:00
topjohnwu
dd62fe89f7
Use CallbackList for collecting STDOUT in flash screen
...
Fix #2988
2020-07-17 00:13:18 -07:00
topjohnwu
ec2d7d77eb
Reduce usage of ObservableField
2020-07-15 02:52:15 -07:00
topjohnwu
6c6368fd81
Reduce usage of delegation
2020-07-15 01:21:57 -07:00
topjohnwu
ba31c6b625
Use coroutines instead of raw executors
2020-07-14 02:37:52 -07:00
topjohnwu
cad189d2dc
Remove unnecessary indirection
2020-07-12 14:37:07 -07:00
topjohnwu
7cf3da1b3b
Update implementation to use new methods
2020-07-12 14:35:21 -07:00
topjohnwu
45fabf8e03
Update SettingsItems
2020-07-12 06:15:32 -07:00
topjohnwu
2c12fe6eb2
More efficient databinding
2020-07-12 03:17:50 -07:00
topjohnwu
b41b2283f4
Rename package
2020-07-11 05:36:31 -07:00
topjohnwu
e8e7cd5008
Simply redirect isConnected ObservableField
2020-07-11 03:22:17 -07:00
topjohnwu
7873433977
Remove RxJava as dependency
2020-07-10 23:12:09 -07:00
topjohnwu
52d19d3ea2
Roll our own NetworkObserver
2020-07-10 23:12:09 -07:00
topjohnwu
6348d0a6fb
Remove more code using RxJava
2020-07-10 04:19:18 -07:00
topjohnwu
f7a650b9a4
Clear up RxJava from ViewModels
2020-07-09 05:15:53 -07:00
topjohnwu
a97d278bcd
Remove RxBus
2020-07-09 05:13:24 -07:00
topjohnwu
8647ba4729
Remove more RxJava
2020-07-09 04:49:14 -07:00
topjohnwu
4631077c49
Call the correct constructor
2020-07-09 04:40:07 -07:00
topjohnwu
18dab28c32
Remove usage of KObservableField
2020-07-08 06:14:32 -07:00
topjohnwu
8ffbffddb3
Update SuRequest handler
2020-07-08 03:13:01 -07:00
topjohnwu
f191db2fe0
Allow ViewModel to opt-out RxJava
...
Transition period
2020-07-08 01:50:28 -07:00
topjohnwu
dc8f0f6feb
Bug fixes in modules fragment
...
- Progress is not updated in upgradable modules (and can cause crash)
- EndlessRecyclerScrollListener is not reset on new query
2020-07-08 01:40:08 -07:00
topjohnwu
01a43b03bd
De-Rx ModuleViewModel
2020-07-08 01:26:45 -07:00
topjohnwu
86db0cd2cd
Load installed modules with coroutine
2020-07-07 03:37:53 -07:00
topjohnwu
ae6dd50ccd
Fix RepoUpdater force refresh bug
2020-07-07 03:18:01 -07:00
topjohnwu
77032eced1
Load repos with coroutine
2020-07-07 01:57:56 -07:00
topjohnwu
820427e93b
Have some fun with Kotlin Coroutines
2020-07-06 22:30:21 -07:00
topjohnwu
89e11c9cc8
Minor changes in flash viewmodel
2020-07-06 21:05:43 -07:00
topjohnwu
05cf53fe6f
Merge files
2020-07-06 15:40:05 -07:00
topjohnwu
0f7caa66fb
Remove usage of grid layouts
2020-07-04 03:28:21 -07:00
vvb2060
08818e8542
Remove force_pm_install
...
gms package verifier only checks the `notBefore` value of the certificate
2020-07-04 03:00:51 -07:00
topjohnwu
706eba329d
Add release notes to the install fragment
2020-07-04 02:55:19 -07:00
topjohnwu
397f7326a3
Update SafetyNet UI to show evalType
2020-06-30 03:56:41 -07:00
topjohnwu
4bbd7989dd
Update snet extension
...
Receive full snet payload from extension
2020-06-30 02:24:58 -07:00
topjohnwu
a0b47f3ca3
Precompute TextView in I/O thread for performance
2020-06-29 05:26:07 -07:00
topjohnwu
89e9e7c176
Simplify UI code for Magisk logs
...
We have all texts, no need to go through recyclerview
2020-06-29 05:22:16 -07:00
topjohnwu
ddc2f317ab
Update dependencies
2020-06-29 03:58:19 -07:00
topjohnwu
867bab8513
Restart activity with fresh intent
...
Fix #2706
2020-06-29 03:30:23 -07:00
topjohnwu
b1e0c5ff38
Export MAGISKTMP so it survives exec
...
Fix #2926
2020-06-29 03:24:53 -07:00
topjohnwu
3c78344812
Refactor version handling
2020-06-28 06:52:02 -07:00
Fox2Code
93d5716414
Disable Volumes keys on flash
...
- Thank Diareuse for helping me
2020-06-27 13:22:09 -07:00
vvb2060
fc6ef7dd57
Show magisk update notification only when magisk is installed
2020-06-27 04:54:58 -07:00
topjohnwu
23a33b4351
Remove core only mode
...
Replaced by native safe mode
2020-06-21 15:59:06 -07:00
topjohnwu
e02386a6ac
Move install module button to the top
2020-06-21 12:53:31 -07:00
topjohnwu
45b5e89912
Remove canary debug channel
...
All canary builds will be debug only
2020-06-20 02:45:02 -07:00
topjohnwu
43146b8316
Update su request process
...
Due to changes in ec3705f2ed
, the app can
no longer communicate with the dameon through a socket opened on the
daemon side due to SELinux restrictions. The workaround here is to have
the daemon decide a socket name, send it to the app, have the app create
the socket server, then finally the daemon connects to the app through
the socket.
2020-06-19 03:52:25 -07:00
topjohnwu
eecb66f4f1
Create ForegroundTracker
2020-06-17 04:07:31 -07:00
topjohnwu
e7f1c03151
Cleanup code for su request
2020-06-17 03:47:12 -07:00
topjohnwu
6030b00ee2
Remove excessive logging
2020-06-03 01:28:50 -07:00
topjohnwu
a17908f6e1
Only resolve via DoH for specific hostnames
2020-06-03 01:15:05 -07:00
Chris Renshaw
ad94f10205
Fix direct install on NAND devices
...
Co-authored-by: John Wu <topjohnwu@gmail.com>
2020-06-01 02:08:13 -07:00
vvb2060
f3e82b9ef1
Add DoH using cloudflare-dns
2020-05-30 12:53:46 -07:00
topjohnwu
85755e3022
Tone down our DTB patching
...
- Do not attempt to patch DTB anywhere outside of boot images as they
are no longer essential. This makes Magisk installation to only modify
strictly boot/recovery partitions again.
- The only required patch for DTB is to strip verity out of partitions
2020-05-05 03:29:36 -07:00
Viktor De Pasquale
d9cf33d1ba
Fixed shortcuts
...
This has been broken due to recent transition to navigation components
2020-04-12 05:40:19 -07:00
Viktor De Pasquale
ee3028e67d
Updated layout of modules screen
...
The modules will show updates at the top, active modules in the middle and finally remote modules at the bottom. The modules "install" button will be at the top of the "active" list.
This is done over usability concerns, as updates are more important than a list of installed modules.
2020-04-12 05:40:19 -07:00
topjohnwu
e165a1e65c
Use BusyBox standalone mode if available
2020-04-11 02:21:47 -07:00
topjohnwu
93aedcfeb7
Update all hardcode paths in app and script
2020-04-05 01:27:07 -07:00
topjohnwu
5537b083a8
Move surequest out of legacy
2020-03-30 23:53:21 -07:00
Viktor De Pasquale
6b0854749f
Added setting resetting state on install screen
...
It will additionally show that download is complete rather than being stuck on loading.
2020-03-30 21:58:26 -07:00
Viktor De Pasquale
09ba4772b8
Fixed using wrong argument for flashing order
2020-03-30 21:58:26 -07:00
topjohnwu
2968a1559e
Get rid of the final Java file in app
2020-03-30 04:41:54 -07:00
topjohnwu
cba26eedb5
Move several stuffs out of shared
2020-03-30 04:25:42 -07:00
topjohnwu
23e74b2781
Prevent showing empty screen in stealth mode
2020-03-30 04:03:56 -07:00
topjohnwu
a623a5b7cc
Set proper component name in FlashFragment
2020-03-29 23:11:09 -07:00
Viktor De Pasquale
1920a52829
Added progressbar indicating content loading on modules screen
2020-03-29 06:10:19 -07:00
Viktor De Pasquale
6e14a727b1
Fixed modules screen not offering reboot when local modules change
2020-03-29 06:10:19 -07:00
Viktor De Pasquale
ea855837df
Fixed melting UI on pre A10 devices
2020-03-29 06:10:19 -07:00
Chris Renshaw
d05ed0e59c
Manager: remove v from download names
...
- now that Canaries are only commit hashes for the version string, the v is unnecessary/confusing, so the simplest solution is to just remove the v from the filename for all Manager-based downloads of Magisk and Manager
2020-03-28 22:53:38 -07:00
topjohnwu
9371515ecc
Disable animations in superuser fragment
2020-03-27 00:53:38 -07:00
Viktor De Pasquale
6907651756
Updated flash screen so it's a fragment
...
The FlashActivity has been removed and all of it's functionality has been transferred to the FlashFragment.
The FlashFragment needs to be however launched in a different way than the activity using the MainActivity's stub and so seemingly massive changes had to be made.
Notably the RemoteFileService didn't seem to be calling Service.startForeground(), which has been crashing the application due to the system requirements, so that's been fixed.
2020-03-26 03:42:52 -07:00
Viktor De Pasquale
fc2d0246e6
Added requesting navigation being hidden when showing alternative view
2020-03-26 03:42:52 -07:00
Viktor De Pasquale
bb9c362bab
Added back button for ModuleFragment when displaying filter
2020-03-26 03:42:52 -07:00
Viktor De Pasquale
51402e68d2
Fixed log not displaying back button when alternative view is shown
2020-03-26 03:42:52 -07:00
Viktor De Pasquale
1b8813228b
Updated the app to use navigation components instead of custom solution
...
Welcome to mid 2018.
2020-03-26 03:42:52 -07:00
Viktor De Pasquale
edff094626
Added log as primary fragment
2020-03-26 03:42:52 -07:00
Shaka Huang
9582379e1b
Fix error patching boot.img
...
Signed-off-by: Shaka Huang <shakalaca@gmail.com>
2020-03-08 22:27:18 -07:00
Viktor De Pasquale
88d917b662
Added permission check for installing/downloading modules
2020-03-04 23:50:50 -08:00
topjohnwu
faf077b494
Min ver is 19.0, don't need legacy commands
2020-02-29 15:41:15 -08:00
topjohnwu
915fd3020b
Small string resource reorganization
...
Close #2454
2020-02-29 14:49:06 -08:00
topjohnwu
6fbc38d764
Add more notice/messages
2020-02-29 02:04:31 -08:00
topjohnwu
200bf993d8
Show unsupported message when running low versions
2020-02-28 21:09:52 -08:00
topjohnwu
fc05f377fb
Update env fix handling logic
2020-02-28 17:44:03 -08:00
topjohnwu
5c0e86383c
Add test button toggle in code
2020-02-28 11:53:25 -08:00
topjohnwu
64f5ff5475
Use global A/B detection
2020-02-28 10:30:53 -08:00
topjohnwu
758777111a
Improve application startup
2020-02-27 12:54:42 -08:00
topjohnwu
b90e0430f8
Don't do layered cards
2020-02-27 01:43:00 -08:00
topjohnwu
c6b3f06b95
Cleanup stuffs
2020-02-22 01:28:33 -08:00
topjohnwu
581419b6a3
Update dependencies
2020-02-21 23:40:20 -08:00
topjohnwu
0d7474cc88
Fix all locale issues
2020-02-18 14:02:08 -08:00
topjohnwu
1e7e06d1cc
Proper canary version detection
2020-02-17 22:05:32 -08:00
topjohnwu
8453282fa6
Improve flash console screen
2020-02-16 19:04:26 -08:00
topjohnwu
40f971d18a
Add entrypoint for testing
...
Should do it with proper unit test, but duh
2020-02-15 21:57:03 -08:00
topjohnwu
ce7cb1eeae
Remove device section
2020-02-12 13:26:10 -08:00
Fox2Code
10eb159e1b
Disable Grant Button for 1 seconds after popup display
2020-02-11 21:45:10 -08:00
topjohnwu
9a8274130b
Manually set referenced resource ID for barriers
2020-02-11 20:54:23 -08:00
topjohnwu
c586106e51
Remove confusing scrambled "Manager" text
2020-02-11 19:55:21 -08:00
Viktor De Pasquale
9952387356
Updated layouts to fit new widget that should visually represent a switch
...
The switch is not actually a switch, but a representation of internal state, the layouts continue to accept touch events as beforehand.
2020-02-11 10:42:05 -08:00
Viktor De Pasquale
d7653e6e42
Cleaned up unused resources
2020-02-11 10:42:05 -08:00
Viktor De Pasquale
e9fc40d285
Removed grid scale gestures and reverted back to * simple list as a default
...
* disgusting (:
2020-02-11 10:42:05 -08:00
topjohnwu
9471577b3b
Properly detect advanced device info
2020-02-10 16:33:58 -08:00
topjohnwu
e85d5e54e2
Update root shell preparation
2020-02-10 16:31:41 -08:00