Commit Graph

660 Commits

Author SHA1 Message Date
topjohnwu
bd6585765e Add locale settings 2017-07-23 00:33:24 +08:00
topjohnwu
c325deb4ed Random changes 2017-07-22 17:39:34 +08:00
topjohnwu
73bb0b10ee Prevent memory leak in CallbackEvent 2017-07-21 05:18:24 +08:00
topjohnwu
72820b162c Code cleanups 2017-07-21 05:08:39 +08:00
topjohnwu
89e5b8d057 Switch to official BouncyCastle 2017-07-21 03:56:48 +08:00
topjohnwu
da4f53ebbb Don't store multiple repo copies in memory 2017-07-21 02:46:19 +08:00
topjohnwu
8458553b74 Update database helper 2017-07-21 02:10:00 +08:00
topjohnwu
5ac6a8cb4a Small minor updates 2017-07-20 02:54:34 +08:00
topjohnwu
668d85d14e Improve notification support 2017-07-20 01:44:32 +08:00
topjohnwu
c11a3dc95c Fix Magisk Manager freezing issue 2017-07-20 00:51:30 +08:00
topjohnwu
56f57c20a2 Update AsyncTasks to prevent memory leak 2017-07-19 18:01:22 +08:00
topjohnwu
240d14779a Minor cleanup in check updates 2017-07-19 16:10:17 +08:00
topjohnwu
10efe3859d Update repo fragment and adapter 2017-07-18 23:18:57 +08:00
topjohnwu
6933bcf7bb Merge shells 2017-07-18 17:14:42 +08:00
topjohnwu
2ea046cd80 Add flashing screen 2017-07-18 17:14:42 +08:00
topjohnwu
f4097a372b Root shell with no outputs 2017-07-18 01:06:05 +08:00
topjohnwu
87ea2a2bef Rewrite root shell 2017-07-16 03:00:01 +08:00
topjohnwu
bcdface60d Fix crashing when installing modules 2017-07-15 01:22:00 +08:00
topjohnwu
d2bcac813e Fix update notifications on Android O 2017-07-14 02:27:02 +08:00
topjohnwu
aaa12853ad Prevent crashing when requesting SN check while checking
Fixed #208, fixed #212
2017-07-13 15:12:43 +08:00
topjohnwu
b0ab55b0bf Only show one notification at a time 2017-07-13 14:51:12 +08:00
topjohnwu
b5e8673e62 Fix small UI bug 2017-07-11 01:09:40 +08:00
topjohnwu
264c6a50b6 Update uninstallation 2017-07-11 00:55:53 +08:00
Jens Lody
42f29062ca Fix timeout of temporary granted su-rights. 2017-07-08 11:17:07 -05:00
topjohnwu
7d283ed65f Optimize imports 2017-07-01 18:09:34 +08:00
topjohnwu
bf1f941e50 Adapt to Android O new broadcast limitations 2017-07-01 18:09:34 +08:00
topjohnwu
789fef34ba Fix crash on Android O 2017-07-01 18:09:34 +08:00
topjohnwu
1daf5a611c MagiskHide now defaults to enabled 2017-07-01 17:38:33 +08:00
topjohnwu
1eb571b787 Proper handle policy changes 2017-06-20 18:33:50 +08:00
topjohnwu
dd3b716d85 Extract expandable viewholder 2017-06-20 17:57:17 +08:00
topjohnwu
28649c07e3 SU policy DB bug fix 2017-06-20 17:57:17 +08:00
topjohnwu
fd4aaab137 Rewrite zip signing 2017-06-16 03:12:57 +08:00
topjohnwu
4a5d033efb Store data in intent for OTA 2017-06-08 22:35:30 +08:00
topjohnwu
343161b195 Add mount namespace options 2017-06-08 22:27:24 +08:00
topjohnwu
862058fd2b Bump version 2017-06-08 03:20:04 +08:00
topjohnwu
69e5bcd57d Simple OTA implementation 2017-06-07 02:21:58 +08:00
topjohnwu
efeddda328 Use Java synchronize instead serial tasks 2017-06-06 03:21:52 +08:00
topjohnwu
ff6938280e Switch to DB based su configs 2017-06-01 03:18:41 +08:00
topjohnwu
9a1dc8ee0e Refactor su database 2017-06-01 00:26:36 +08:00
topjohnwu
27879c3f01 Improve Logger 2017-05-31 17:43:55 +08:00
topjohnwu
29096eb5d7 Monitor package (un)install events 2017-05-31 16:31:33 +08:00
topjohnwu
a573baea03 Simplify SU requests, binary should be much superior now 2017-05-30 01:27:10 +08:00
topjohnwu
44e36feb09 Improve multiuser settings and notification 2017-05-28 01:31:19 +08:00
topjohnwu
2a7d996881 Add multiuser support 2017-05-27 02:41:24 +08:00
topjohnwu
738f943a68 Several UI tweaks 2017-05-26 18:20:53 +08:00
dvdandroid
47e62a5681 Small code cleanup 2017-05-24 21:21:15 +02:00
topjohnwu
67c139a04b Fix theme changing glitch 2017-05-24 00:37:15 +08:00
topjohnwu
e6f10176c6 Network check 2017-05-23 17:01:38 +08:00
topjohnwu
75cc4b4843 Merge install and status 2017-05-21 12:16:38 +08:00
topjohnwu
9ef798f534 Update SafetyNet check UI 2017-05-20 03:04:14 +08:00
topjohnwu
e69b99f089 Update status UI 2017-05-19 08:37:57 -07:00
topjohnwu
55b8079e86 Update MagiskHide method 2017-05-12 23:11:28 +08:00
topjohnwu
e272dbe9af Include busybox binary and remove busybox toggle 2017-05-12 04:05:21 +08:00
topjohnwu
962f8354ac Use new version detection method 2017-05-12 02:25:07 +08:00
topjohnwu
464fe627a3 Swap tabs 2017-04-26 00:27:55 +08:00
topjohnwu
6a9e39c470 Support unlimited amount of repos 2017-04-26 00:15:53 +08:00
topjohnwu
47b13aa5ea Use stock FAB; Log monospace; Fixes 2017-04-24 21:52:23 +08:00
topjohnwu
ae88d3054d Finally, official Java 8 support 2017-04-05 17:02:18 +08:00
topjohnwu
0a0ad9a184 Bump to 4.3.1 2017-03-31 13:17:58 +08:00
topjohnwu
817f050bcd Say goodbye to old modules 2017-03-30 06:52:18 +08:00
topjohnwu
60ae685d1e Change disable to Core Only Mode 2017-03-30 05:16:50 +08:00
Wang Han
4c7bdbb284 Fix crashing when selecting release notes on some devices 2017-03-26 23:55:11 +08:00
topjohnwu
e94219c5a3 Add notification settings 2017-02-22 04:58:03 +08:00
topjohnwu
8ed9634adf Fix Samsung crash 2017-02-22 04:13:21 +08:00
topjohnwu
a3f0ef8e77 Many improvements and bug fixes
Close #114
2017-02-21 03:38:37 +08:00
topjohnwu
8eba05ed4a Potentially fix Samsung crash and change colors 2017-02-20 20:11:07 +08:00
topjohnwu
6785221479 Small refinements and bugfixes
Close #109
2017-02-19 10:14:29 +08:00
topjohnwu
9bc410dd3d Add MarkDown styles 2017-02-18 04:35:51 +08:00
topjohnwu
f615ed40cd Several refinements 2017-02-17 14:07:15 +08:00
topjohnwu
1d70d0fe94 Don't show notification again if coming from notification 2017-02-17 09:26:27 +08:00
topjohnwu
d99252f394 Add update notification 2017-02-17 08:51:51 +08:00
topjohnwu
b58c7ba7c5 Add download button to repo, close #99 2017-02-16 17:50:36 +08:00
topjohnwu
a03bb90754 Use README.md in details for repo 2017-02-16 05:48:26 +08:00
topjohnwu
d1c939f48a Use temporary files to process zips
Fix #96
2017-02-15 23:46:50 +08:00
topjohnwu
23c84a7803 Massive Zip flashing refactoring 2017-02-15 05:25:24 +08:00
topjohnwu
f9ab060403 Fix su request crashing 2017-02-15 05:07:14 +08:00
topjohnwu
df7a5bf149 Redo styling 2017-02-14 16:35:03 +08:00
topjohnwu
c4afa069df Add custom AlertDialog 2017-02-13 23:11:50 +08:00
topjohnwu
1bfafdb44f Don't reload ApplicationInfo list
Fix #94
2017-02-13 04:00:45 +08:00
topjohnwu
958c95732b Move AboutCardRow to components package 2017-02-13 03:13:24 +08:00
topjohnwu
44b0d4127c Remove GSON and switch to database 2017-02-12 23:27:20 +08:00
topjohnwu
1418ec2416 Remove module helper 2017-02-12 20:53:41 +08:00
topjohnwu
b51978f51c Move asynctasks to seperate package 2017-02-12 19:49:46 +08:00
topjohnwu
b07361580a Contexts are different: Make context clearer 2017-02-12 05:02:18 +08:00
topjohnwu
d1b5ebad7d Several fixes 2017-02-07 07:32:40 +08:00
topjohnwu
22a5c11f0d Fix MagiskHide startup issue 2017-02-07 06:02:06 +08:00
topjohnwu
51b22d1ad4 Make callback events non-static 2017-02-07 04:09:49 +08:00
topjohnwu
bef5969580 No more static crap :) 2017-02-07 02:01:32 +08:00
topjohnwu
45765e292d Final fixes 2017-02-06 08:16:48 +08:00
topjohnwu
6e28a26015 Add uninstall button 2017-02-06 03:20:17 +08:00
topjohnwu
9150bf720d Add info for MagiskHide when not using MagiskSU
Close #63
2017-02-06 03:20:16 +08:00
topjohnwu
b3b2149ebb Optimize root shell and startups 2017-02-05 22:02:14 +08:00
topjohnwu
7239c2e31a Update to the latest settings 2017-02-05 04:40:52 +08:00
topjohnwu
43b7ef8110 Add disable, change busybox 2017-02-02 19:19:22 +08:00
topjohnwu
99ef0b8cb4 Handle MagiskHide at boot 2017-02-01 23:54:32 +08:00
topjohnwu
0efb4da0ee Several bug fixes
Fix #57
2017-01-31 03:39:24 +08:00
tonymanou
00a0e64fdd Prefer List/Map/Set as declaring type over their implementations
Unless your are using a method declared in subclasses of an
interface, it is better to use the interface as declaring type.
One advantage of this is that changing used implementation will
be much simpler (you will have less declarations to edit).
2017-01-30 20:11:17 +08:00
tonymanou
0dc60debea Fix warning about use of API limited to support package 2017-01-30 20:11:17 +08:00
tonymanou
c44ae5888c Optimize map operations 2017-01-30 20:11:17 +08:00
topjohnwu
b9495cd1bb Improve static data management 2017-01-30 20:04:49 +08:00
topjohnwu
bfec381933 Improve su requests 2017-01-30 19:27:00 +08:00
topjohnwu
2dddb8df69 Reset menu every transaction 2017-01-30 01:51:55 +08:00
topjohnwu
d30397e9c0 Let users know why blacklist PoGO and AP... 2017-01-30 01:40:51 +08:00
topjohnwu
d9597549fd Prevent excessive su requests 2017-01-30 00:44:33 +08:00
topjohnwu
13512b4146 Add BootReceiver 2017-01-29 16:52:43 +08:00
topjohnwu
49e546919a Update logs 2017-01-29 16:20:41 +08:00
topjohnwu
4a7e067d1a Use support library 2017-01-29 00:20:43 +08:00
topjohnwu
9bc0b7f183 Update settings 2017-01-28 22:02:33 +08:00
topjohnwu
cd4dfc9861 Add Superuser settings 2017-01-28 06:13:07 +08:00
topjohnwu
09bdbc1224 Revert "Read only the first line instead of loading the whole file"
This reverts commit a5b573eaaa.

The file shall always have one single line, no need to create a new method
2017-01-28 01:25:51 +08:00
tonymanou
978b3a64c5 Remove context reference from recyclerview adapter 2017-01-28 01:25:15 +08:00
tonymanou
651547ef20 Fix raw use of generics warnings 2017-01-28 01:25:15 +08:00
tonymanou
b4d95977d0 Remove redundant XML namespaces 2017-01-28 01:25:15 +08:00
tonymanou
84c8ecb372 Slight improvement for the navigation drawer 2017-01-28 01:25:15 +08:00
tonymanou
61abe5b948 Do not close the whole application in case of error 2017-01-28 01:25:15 +08:00
tonymanou
a5b573eaaa Read only the first line instead of loading the whole file 2017-01-28 01:25:15 +08:00
topjohnwu
cbb32f82eb Add Superuser logging UI 2017-01-28 01:13:28 +08:00
topjohnwu
ca9334b2df Add tabs to log fragment 2017-01-27 03:43:37 +08:00
topjohnwu
959ed7f866 Implement logging and bug fixes 2017-01-27 01:02:40 +08:00
topjohnwu
7263b6fe89 Handle bootblock detect failure cases 2017-01-26 14:25:12 +08:00
topjohnwu
46a4070f84 Prevent shell response crashes 2017-01-26 13:46:54 +08:00
topjohnwu
c3c155a1ed Improved settings 2017-01-26 04:17:51 +08:00
topjohnwu
b067105660 Fix bug where no info is available 2017-01-26 03:45:05 +08:00
topjohnwu
15ca18848e Add su revoke 2017-01-26 03:30:12 +08:00
topjohnwu
67c9e2ead6 Add Superuser management UI 2017-01-26 01:13:23 +08:00
topjohnwu
3681177be4 Rename fragment layouts 2017-01-25 17:07:23 +08:00
topjohnwu
6eb814ef0b Fix some small issues 2017-01-25 16:45:55 +08:00
topjohnwu
bcc695234c Seperate Configs 2017-01-25 13:17:33 +08:00
topjohnwu
ad16a6fc1b Project restructure 2017-01-25 04:33:22 +08:00
topjohnwu
478b7eeb65 Stop countdown when user reacts 2017-01-25 02:16:36 +08:00
topjohnwu
151a153dc9 Fix toasts and timeouts 2017-01-25 01:23:41 +08:00
topjohnwu
0bd0eb9e59 Magisk Manager is now a SU client
1. Add request popup
2. Add su request notifications
3. Add su database helpers
2017-01-24 14:19:28 +08:00
tonymanou
21b00ac6ca Use try-with-resources in some places 2017-01-15 02:37:40 +08:00
tonymanou
57e6f3080c Fix generic type 2017-01-15 02:37:40 +08:00
tonymanou
89744100ce Remove unnecessary Butterknife binding in adapters 2017-01-15 02:37:40 +08:00
tonymanou
a718f9bbfd Unbind Butterknife-injected views in fragment's onDestroyView() 2017-01-15 02:37:40 +08:00
tonymanou
e81bc4f044 Clean up main activity code
No need to catch IllegalStateException as we display the fragment from
onCreate() without delay.
2017-01-15 02:37:40 +08:00
tonymanou
4dbacd79ae Matching event [un]registering, call super at the end of onPause/onDestroy
Event unregistered in onDestroy() should be registered in onCreate() to
avoid being registered multiple times.
2017-01-15 02:37:40 +08:00
tonymanou
ae74d54451 Events should be final in order to work 2017-01-15 02:37:40 +08:00
tonymanou
dc316c5669 Set fragment title and [un]register callbacks in onStart/onStop
onStart() is called when the fragment is made visible, whereas onPause()
is called when the fragment looses focus e.g. if a dialog is shown.
Thus:
- there is no need to set the activity's title everytime the fragment
regains focus,
- it is better to listen to event tasks and refresh the state of the UI
while the fragment is actually visible, listening to events until the
fragment is destroyed is useless: if an event is received between
onStop() and onDestroy(), there will be some processing but nothing will
be shown because the fragment is no longer visible.
2017-01-15 02:37:40 +08:00
tonymanou
e9f04256c9 setHasOptionsMenu() should be called from fragment's onCreate() 2017-01-15 02:37:40 +08:00
topjohnwu
a9dc1b32e0 Add release notes to install button 2017-01-11 19:18:27 +08:00
topjohnwu
01d847ae4e Improve settings 2017-01-11 19:10:30 +08:00
topjohnwu
61e2c3444a Remove token, use ETag to prevent multiple queries 2017-01-11 17:37:35 +08:00
tonymanou
f0e1a8823e Simplify listeners containing async tasks 2017-01-11 15:20:51 +08:00
tonymanou
7be5937aa0 Using checked state listener instead of click listener 2017-01-11 15:20:51 +08:00
tonymanou
8f43055b0e Fix possible list items displaying wrong information
It is better to display empty strings rather than forget to reset
textviews when a viewholder is reused!
2017-01-11 15:20:51 +08:00
tonymanou
953a81b299 Extract getItem() method from onBindViewHolder() 2017-01-11 15:20:51 +08:00
tonymanou
1d34ae7934 Avoid storing context in adapter, static viewholder, remove useless code 2017-01-11 15:20:51 +08:00
tonymanou
2cabb2666b Avoid possible NPE 2017-01-11 15:20:51 +08:00
tonymanou
0b59bb1a29 Do not let magisk hide's apps list blink 2017-01-11 15:17:49 +08:00
tonymanou
c1e7d74b96 Reapply filter when reloading app list 2017-01-11 15:17:49 +08:00
tonymanou
cc262d6595 Change click listener to checked state listener in magisk hide 2017-01-11 15:17:49 +08:00
tonymanou
61d43b118b Use stricter package name test in magisk hide 2017-01-11 15:17:49 +08:00
tonymanou
989d8181dd Do not store context in magisk hide adapter, remove unused code 2017-01-11 15:17:49 +08:00
tonymanou
cffc157d98 Remove useless mView field from fragments 2017-01-11 15:17:49 +08:00
tonymanou
2a70619577 Improve magisk hide app list's adapter, better thread safety 2017-01-11 15:17:49 +08:00
topjohnwu
123f39a21b We can see the token through logs anyway, no need to encrypt 2017-01-10 22:56:48 +08:00
topjohnwu
cadab12737 Prevent root tasks if no root access 2017-01-10 22:47:58 +08:00
topjohnwu
742055c43b Various small changes 2017-01-10 22:30:05 +08:00
topjohnwu
fa73b41fa7 Update repo and module item layout 2017-01-07 03:18:47 +08:00
topjohnwu
a474eafe84 Improve installation UI and dialog 2017-01-07 02:46:50 +08:00
topjohnwu
442fcf921c Change SafetyNet check to manual start 2017-01-07 01:19:18 +08:00
topjohnwu
fb0923f3ab Magisk Hide fragment improvements 2017-01-07 00:29:53 +08:00
topjohnwu
5bb943f845 Fix repo expand card issue 2017-01-06 15:33:31 +08:00
tonymanou
ef2e02098d Use untranslatable string when storing theme
This fixes #30
2017-01-06 02:44:07 +08:00
Wang Han
53aebcfb1e Fix MagiskHide Fragment Crash when freshing 2017-01-06 02:43:16 +08:00
Wang Han
bb2467d2ac Handle Google API Connection Problems 2017-01-06 02:43:16 +08:00
topjohnwu
8a6b254799 Bump version code and ready for release 2016-12-30 05:42:03 +08:00
topjohnwu
94562cb5cf Fix UI bugs 2016-12-30 04:05:23 +08:00
topjohnwu
b064c124e7 Dialog fix and trivial stuffs 2016-12-28 04:48:40 +08:00
topjohnwu
c7e64f40f9 Various small fixes 2016-12-27 14:30:26 +08:00
topjohnwu
5e7c3ed46a Functionality done 2016-12-27 04:41:00 +08:00
topjohnwu
f521bce9e6 Update UI component 2016-12-27 04:41:00 +08:00
topjohnwu
c78209604c Update Install Fragment UI 2016-12-27 04:41:00 +08:00
topjohnwu
8fe4cfecb6 Add Install UI 2016-12-27 04:41:00 +08:00
topjohnwu
a5a2df4956 Trigger with event 2016-12-27 04:41:00 +08:00
topjohnwu
2fa5e4679f CallbackHandler to manage asyncs 2016-12-27 04:41:00 +08:00
topjohnwu
57af984e68 Add status fragment 2016-12-27 04:41:00 +08:00
topjohnwu
442e840a53 Add SafetyNet check 2016-12-23 23:05:41 +08:00
topjohnwu
3c33f7d294 Various small improvements 2016-12-11 20:38:15 +08:00
topjohnwu
c9217a419a Fix crashing when zip not signed 2016-12-08 23:03:50 +08:00
topjohnwu
cb1df5217e Update error messages 2016-11-29 13:38:32 +08:00
topjohnwu
24ef80351c Remove busybox dependency 2016-11-29 13:24:48 +08:00
topjohnwu
4daea7d7e6 Some refinements 2016-11-23 22:38:15 +08:00
topjohnwu
3b20747192 Update progress dialog 2016-11-23 19:48:34 +08:00
topjohnwu
403e30feba Add zipadjust JNI code 2016-11-23 17:25:41 +08:00
topjohnwu
f58c73b7f1 Sign the zip file 2016-11-22 13:45:26 +08:00
topjohnwu
2a8477cbda Process zip with Java 2016-11-21 01:39:27 +08:00
topjohnwu
f5bee7b691 Small refactor of download repo and FlashZip 2016-11-20 22:13:29 +08:00
topjohnwu
8c077a7373 Change search to async for smoother UI 2016-11-20 18:54:28 +08:00
topjohnwu
3e259021d0 Sort module/repo by name 2016-11-13 03:10:05 +08:00
topjohnwu
f69facc842 Case insensitive 2016-11-12 01:02:09 +08:00
topjohnwu
e17638bc06 Add search to MagiskHide 2016-11-11 21:45:03 +08:00
topjohnwu
399c0d337a Small fix 2016-11-11 10:40:54 +08:00
topjohnwu
856eb479e4 Add FAB menu 2016-11-10 00:22:01 +08:00
topjohnwu
8a8f24f93e Add several options 2016-11-09 05:17:50 +08:00
topjohnwu
e76dba0f84 Magisk Version now double, also support custom version names 2016-11-09 01:28:05 +08:00
topjohnwu
aababe1a87 Officially drop Cache Modules 2016-11-09 00:46:26 +08:00
topjohnwu
436b0624e7 Seperate adapters into a package 2016-11-08 00:09:08 +08:00
topjohnwu
0a37d1c15c Merge UI code into async 2016-11-08 00:04:22 +08:00
topjohnwu
793269731d Fix and tweaks for MagiskHide 2016-11-07 23:59:10 +08:00
topjohnwu
23adcb544b MagiskHide Fragment complete refactor 2016-11-07 07:12:40 -06:00
topjohnwu
ea3e736a14 Fix null reference crash 2016-11-07 07:12:40 -06:00
d8ahazard
a5c39b829a Update list mechanism 2016-11-07 07:12:40 -06:00
d8ahazard
1ec333ee5a Cleanup 2016-11-07 07:12:40 -06:00
d8ahazard
bbae93aa16 Initial re-add of hide fragment 2016-11-07 07:12:40 -06:00
topjohnwu
c854f436bf Fix crash on non-Nougat 2016-10-19 06:25:50 +08:00
topjohnwu
e5be8b7f67 Prevent weird Magisk version number crashing app 2016-10-18 21:54:53 +08:00
topjohnwu
906ae730e9 Add version detection for certain settings 2016-10-18 21:45:35 +08:00
topjohnwu
4b5b0b065d Bump up to version 2.1 2016-10-17 16:36:42 +08:00
topjohnwu
15cf8d2a6d UI tweaks 2016-10-17 16:07:47 +08:00
topjohnwu
70500cf21e Add search bar & Magisk Hide option 2016-10-17 10:11:26 +08:00
topjohnwu
a7da6cf172 Fix root shell crash 2016-10-06 00:44:11 +08:00
topjohnwu
ae76ae4025 Prevent incorrect repo 2016-10-03 13:46:13 +08:00
topjohnwu
9614ec4c6a Magisk officially moving away from Safety Net bypasses 2016-10-03 10:24:59 +08:00
topjohnwu
c4e90b810d FlashZIP: preProcess need no root; fix toast message 2016-10-03 01:12:24 +08:00
topjohnwu
6ef47249ab Fix FlashZip (again...) 2016-10-03 00:05:53 +08:00
topjohnwu
55410f026b Fix Magisk Version; remove unnecessary root calls 2016-10-01 16:59:01 +08:00
topjohnwu
f2611f64ac Various fixes 2016-10-01 05:21:24 +08:00
dvdandroid
d788bd8323 UI Fixes
+ Adjusted dark theme colors
+ Moved setting to an activity
+ Code format
+ Changed some icons
+ Minor fixes
2016-10-01 01:02:24 +08:00
topjohnwu
9eb108f13e More cleanups 2016-09-30 18:22:43 +08:00
topjohnwu
eebd64bedb Remove Auto Root Code
Revert this commit after things are sorted out
2016-09-30 18:07:08 +08:00
topjohnwu
21504f1329 Add settings for shell logging 2016-09-30 11:35:46 +08:00
topjohnwu
ff6bae936d Fix root shell racing condition 2016-09-30 10:52:04 +08:00
topjohnwu
62523c815e Add Shell logging 2016-09-30 10:41:40 +08:00
topjohnwu
0f5465c5da Small fixes 2016-09-30 03:18:08 +08:00
topjohnwu
e4cba70008 Ready for release 2016-09-29 23:24:31 +08:00
topjohnwu
692b993eee Additional notice for Module updates 2016-09-29 03:37:57 +08:00
topjohnwu
35e3a479cd Remove unnecessary expand list that causes crashes 2016-09-29 02:05:53 +08:00
topjohnwu
bb7ff27d04 Massive repo refactor 2016-09-29 01:42:25 +08:00
topjohnwu
0acc5e33b3 Magisk Update checker use prefs listener 2016-09-28 18:05:55 +08:00
topjohnwu
cb5187fd8d Finish repo download and flash 2016-09-28 14:50:26 +08:00
topjohnwu
160c6e6554 Stupid fix... 2016-09-28 00:36:58 +08:00
topjohnwu
a173179b03 Final fix for flash zip 2016-09-28 00:33:01 +08:00
topjohnwu
e73497e4b7 Update UI callback with prefs listener 2016-09-27 22:57:20 +08:00
d8ahazard
835ef01a70 Prettify theme, add relaunch to settings on change 2016-09-27 15:58:21 +08:00
d8ahazard
a1335aecfb Clean up default preferences setter 2016-09-27 15:58:04 +08:00
d8ahazard
c553312fd5 Re-add activity check
Causes false disables otherwise.
2016-09-27 15:57:17 +08:00
d8ahazard
3adc7ca22a Fix snackbar position 2016-09-27 15:56:53 +08:00
topjohnwu
441e603bc0 Update FlashZip to use Uri 2016-09-27 15:51:38 +08:00
topjohnwu
7511df61b3 Magisk Version isn't async 2016-09-26 11:46:13 +08:00
topjohnwu
91d3d2ad1f Fix UI refreshes 2016-09-26 10:45:34 +08:00
d8ahazard
6692b618ea More fun with themes 2016-09-26 09:21:48 +08:00
d8ahazard
2052149dc1 Moar work on dark theme 2016-09-26 02:28:12 +08:00
d8ahazard
7b8237afae Add theming for AlertDialogBuilder 2016-09-26 02:28:04 +08:00
topjohnwu
859a984ec8 Minor fixes 2016-09-25 21:59:54 +08:00
topjohnwu
89932b325d Update busybox; Improve environment setup 2016-09-25 21:31:38 +08:00
d8ahazard
dac85757b3 Re-add busybox
Add check for proper install, install if not.  Needed for flashing zips.
2016-09-25 02:16:10 -05:00
d8ahazard
3b0cec9db6 Account for reinstalls where service permissions are lost. 2016-09-25 01:25:58 -05:00
d8ahazard
17749bb14a Code cleanup, fixing thangs... 2016-09-25 01:16:08 -05:00
d8ahazard
c56dd4172e Apparently, I thought a theme was a good idea... 2016-09-25 00:16:28 -05:00
d8ahazard
d2335485f2 String update, make sure to close shade if requesting Accessibility perms. 2016-09-24 14:21:26 -05:00
d8ahazard
cf69dd644a Fix some thangs 2016-09-24 13:46:42 -05:00
d8ahazard
8df6af62d7 Initial Refactor of WelcomeActivity, Set up Basic Splash Elements 2016-09-24 11:54:12 -05:00
d8ahazard
3c3bb70b01 Add intent flag for permission request from Utils 2016-09-24 10:56:57 -05:00
d8ahazard
d8a4eaf026 Merge From Master
Resolve conflicts in ReposFragment, downgrade build-tools version
because my computer is stupid.
2016-09-24 10:12:42 -05:00
d8ahazard
2402010d24 Oh Github app, I hate you sometimes...
Because it decided not to notice these files...
2016-09-24 10:09:56 -05:00
d8ahazard
16c804106a Code clean-up 2016-09-24 10:07:30 -05:00
d8ahazard
b1ef9361f3 Need to check and change the autoRoot state in fragment on UI Refresh 2016-09-24 08:07:20 -05:00
d8ahazard
766a26128d Well, almost. :P 2016-09-23 23:26:54 -05:00
d8ahazard
5b2dce6cf6 Oh, it's so buttery...
Running out of stuff to fix.  👯
2016-09-23 23:25:12 -05:00
d8ahazard
bee9be534c Remove Magisk from app list 2016-09-23 16:45:50 -05:00
d8ahazard
4b49331d97 I think...that...might be it? 2016-09-23 16:42:25 -05:00
d8ahazard
3de13a4d9e Refactor, cleanup, backstack works 2016-09-23 16:22:11 -05:00
topjohnwu
8a7df954e5 Update check module update 2016-09-23 17:12:29 +08:00
d8ahazard
3706b53e65 WIP sync 2016-09-22 16:47:54 -05:00
d8ahazard
8a8aaf3297 More fixes, more breaks... 2016-09-21 23:36:28 -05:00
d8ahazard
41a5639711 Whoop whoop 2016-09-21 16:55:20 -05:00
d8ahazard
5d8f9f1a5a Merge work from last night 2016-09-21 09:22:36 -05:00
d8ahazard
5124cd4b77 Merge remote-tracking branch 'origin/digitalhigh_automount' into digitalhigh_automount 2016-09-21 09:03:07 -05:00
d8ahazard
0cbf66996f WIP Sync
It might compile, is probably broken atm...
2016-09-21 07:39:12 -05:00
topjohnwu
e922fdc5d0 Merge conflict 2016-09-21 11:39:49 +08:00
topjohnwu
0addbaa9a8 Refactor repo class and SharedPref 2016-09-21 11:29:43 +08:00
d8ahazard
8176fb7bad WIP Tile stuff 2016-09-20 17:01:20 -05:00
topjohnwu
baae3592d3 Small cleanup 2016-09-21 01:08:05 +08:00
d8ahazard
6a40e18193 More work on Quick Settings, refactoring 2016-09-20 11:36:33 -05:00
d8ahazard
2cdb6b811f Quicksettings Tile, more AutoRoot fun
It's so purdy...
2016-09-20 00:05:41 -05:00
d8ahazard
8a8aa1337b More root stuff
Because we can can can...
2016-09-19 16:48:13 -05:00
d8ahazard
3fe5647a15 Moar fun with autoroot 2016-09-19 02:42:20 -05:00
d8ahazard
fec1245811 Moar merging, updates, fun
Because it's a big old mess...
2016-09-19 01:46:07 -05:00
topjohnwu
ccab6eb7c4 Merge cherry-pick 2016-09-18 22:49:51 -05:00
topjohnwu
c9f6e2e257 Create BaseModule (for future merging with repo) 2016-09-19 11:47:52 +08:00
topjohnwu
f0d3a4e4b7 Change Utility functions static 2016-09-19 10:08:46 +08:00
topjohnwu
41295e0c4d Refactor modules fragment 2016-09-18 22:56:12 +08:00
d8ahazard
2abd0265c8 Merges, and stuff 2016-09-17 23:30:46 -05:00
topjohnwu
1e09ccb4d9 Update FlashZip 2016-09-18 04:32:49 +08:00
topjohnwu
11e1d04dd1 Change root detection and toggle 2016-09-18 02:32:08 +08:00
d8ahazard
5898534c23 Vroom vroom!
Look at er go!
2016-09-15 23:46:10 -05:00
d8ahazard
7836336689 WIP Sync 2016-09-15 16:59:34 -05:00
d8ahazard
f96865c2cb Remove unneeded lines 2016-09-15 15:47:23 -05:00
topjohnwu
e475893fd7 Change su path 2016-09-16 04:42:51 +08:00
d8ahazard
75a37adcd1 Merge remote-tracking branch 'refs/remotes/origin/digitalhigh_autodownload' into digitalhigh_automount
Yeeeeaaaaaaaaaahhhhhhhhhh baby!
2016-09-15 14:01:35 -05:00
d8ahazard
c3b1070b83 Merge remote-tracking branch 'refs/remotes/origin/master' into digitalhigh_automount
Woop woop
2016-09-15 13:49:30 -05:00
d8ahazard
0b02e8116c Holy tapdancing god, it works now! 2016-09-15 12:52:58 -05:00
d8ahazard
8f973661f4 Still can't open URI's for ZIP files on external storage, but we're close... 2016-09-15 07:35:12 -05:00
d8ahazard
c5a73a5c19 Code cleanup 2016-09-14 17:29:35 -05:00
d8ahazard
6a90340b14 Work on file picker - WIP 2016-09-14 17:12:47 -05:00
d8ahazard
46abbfe224 More refinements... 2016-09-13 15:44:07 -05:00
d8ahazard
145d4e4bd5 Goddammit...
Github likes to skip a file when I'm committing...
2016-09-13 07:31:43 -05:00
d8ahazard
b3ba79a3ba Add Swipe-to-refresh for Modules, Code Cleanup, Stylizations
Moar updates.  Modules now swipe to refresh and indicate properly-ish.
Cleanup minor code stuff.  Colorize icons to match, set global color
variable so it can be changed...
2016-09-12 23:05:04 -05:00
d8ahazard
e690f6d487 Add some more strings from preferences...
We have the knowledge...USE IT.
2016-09-12 16:57:06 -05:00
d8ahazard
3d4b4e04c5 Bring module fragment up to same level as repo fragment 2016-09-12 16:47:32 -05:00
d8ahazard
62dd8f35c0 Add custom comparator for Repos (sort them alphabetically)
Now they come out in a nice alphabetized list...
2016-09-12 14:40:15 -05:00
d8ahazard
1468dfd6b6 Add CacheModule display string to title 2016-09-12 14:33:03 -05:00
d8ahazard
40e92721c1 Clean up graphics and animations 2016-09-12 12:03:02 -05:00
d8ahazard
204e940dcb More work on "downloads" fragment
Need to clean up animations yet, add "last update" label, etc.
2016-09-11 22:44:24 -05:00
d8ahazard
98aa9bd3fe I'm going to commit this now...
Still got work to do, but I don't want to lose this...
2016-09-11 13:36:58 -05:00
d8ahazard
041531e96d More cleanup, add native filepicker
Code cleanup, add filepicker lib to avoid issues with stock file apps.
2016-09-09 23:40:57 -05:00
d8ahazard
1a1d37a2d0 Looking good... 2016-09-09 16:49:25 -05:00
d8ahazard
214649ec20 Apparently Github is sensitive... 2016-09-08 15:47:10 -05:00
d8ahazard
e3866eeb29 I think it won't break anything? 2016-09-08 14:47:04 -05:00
d8ahazard
20db216275 Fix FAB layout error 2016-09-08 21:55:01 +08:00
d8ahazard
f404fe0570 Break/Fix
Wheeeeee
2016-09-06 16:54:08 -05:00
d8ahazard
bef4361736 That's important too... 2016-09-02 14:50:54 -05:00
d8ahazard
aa991b62f4 My brain hurts... 2016-09-02 13:18:37 -05:00
d8ahazard
8dfe0f4373 I must have been really tired...
Not sure how this got deleted...
2016-09-02 08:36:03 -05:00
d8ahazard
ffedb79670 Synch update - WIP
Not finished, just synchronizing workflows.
2016-09-02 08:32:34 -05:00
d8ahazard
0e23935455 Add some internets!
WIP, not done yet.
2016-09-01 16:58:26 -05:00
d8ahazard
4f62320e7b Temp disable busybox install for testing 2016-09-01 10:42:37 -05:00
d8ahazard
aee3bd3a80 Fix FAB layout error 2016-09-01 10:42:26 -05:00
d8ahazard
c992b89b2f Well, the disable part works...
Auto enable is still a bit trigger happy.  But, bugs worked out, might
try a method of detection that uses root...
2016-08-31 22:04:27 -05:00
d8ahazard
fc5c9647d8 Initial implementation of auto-mount, WIP
Will manually merge working product into /master
2016-08-31 16:52:42 -05:00
d8ahazard
3a238e9d4b Implement file picker and install methods into Modules section.
Tested and working.
2016-08-31 16:49:35 -05:00
topjohnwu
e21131d67e Zip Autoflash; Massive refactor 2016-08-29 06:35:07 +08:00
topjohnwu
1f02d0f6d0 Add auto zip flashing support 2016-08-28 03:59:03 +08:00
topjohnwu
830fde8007 Download with DownloadManager 2016-08-27 19:02:41 +08:00
dvdandroid
c44ce77e95 Updated UI for tablets 2016-08-27 01:02:53 +08:00
dvdandroid
ab318ef99e Updated UI
Added "Root" section
2016-08-26 12:45:35 +02:00
dvdandroid
c86c2661af Changed download file path to internal storage 2016-08-25 17:39:09 +02:00
dvdandroid
dabb222511 [WIP] Update checker
TODO: change download file path to internal storage
2016-08-25 14:59:07 +02:00
dvdandroid
ef13b3a36c Change update checker; using a JSON file now 2016-08-25 14:36:06 +02:00
topjohnwu
6fb9081394 Fix merge issue 2016-08-25 18:40:00 +08:00
topjohnwu
1ba38b3902 Merge update 2016-08-25 18:23:20 +08:00
topjohnwu
dc06a132bc Finalize 2.0 version 2016-08-25 18:08:07 +08:00
dvdandroid
c97197b61a Cleanup; added update checker 2016-08-25 11:04:56 +02:00
topjohnwu
3e97d29bcf Merge conflict 2016-08-25 06:26:20 +08:00
topjohnwu
a5ea214553 Rewrite all root method with own su library 2016-08-25 05:58:15 +08:00
dvdandroid
91c6ae229e Force reload modules, added view if modules are not found, show progress dialog when granting root 2016-08-23 18:28:27 +02:00
dvdandroid
e18f4c843a Added AboutActivity 2016-08-23 17:02:32 +02:00
dvdandroid
0f103d5853 UI improvements, cleanup 2016-08-23 12:39:36 +02:00
dvdandroid
56f10e238b UI improvements 2016-08-23 11:39:18 +02:00
topjohnwu
5baa2e9069 AsyncTask fix and UI adjustment 2016-08-23 07:38:03 +08:00
topjohnwu
7bf83371d5 Add root fragment and refactor 2016-08-23 05:42:47 +08:00
topjohnwu
36c575023e Remove unnecessary root calls 2016-08-23 05:42:46 +08:00
topjohnwu
7eadc74f6c Proper module management 2016-08-23 05:42:46 +08:00
dvdandroid
3ad06c406c [WIP] Use checkbox and delete button instead of a popup menu 2016-08-23 05:42:46 +08:00
dvdandroid
c68e37a8c4 Use libsuperuser lib 2016-08-23 05:42:46 +08:00
dvdandroid
e66496eae7 Small UI improvement 2016-08-23 05:42:45 +08:00
dvdandroid
e6b951c62a Log fragment completed 2016-08-23 05:42:45 +08:00