6463 Commits

Author SHA1 Message Date
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
dvdandroid
5279226f36 Two-tabs layout: non-cache and cache modules 2016-08-23 05:42:45 +08:00
dvdandroid
31b552ab51 Module fragment with menu; remove and disable buttons 2016-08-23 05:42:45 +08:00
dvdandroid
f5e53cd60f Start materializing module fragment 2016-08-23 05:42:44 +08:00
dvdandroid
4a48f59d27 Changed root method 2016-08-23 05:42:44 +08:00
dvdandroid
bc2c63bf1f Fixed list not loaded
NOTE: every module directory must have permission 777, and module.prop file 744 (or at least must be only readable for all users)
2016-08-23 05:42:44 +08:00
topjohnwu
b56a757f2e Add live patch 2016-08-18 04:50:56 +08:00
dvdandroid
4692ed4b4a Load modules in a listview 2016-08-17 13:00:55 +02:00
dvdandroid
615bbcae74 Refactoring 2016-08-17 12:01:58 +02:00
topjohnwu
7737c6aee1 v4: change root switch method; massive refactor 2016-08-17 00:56:00 +08:00
topjohnwu
f7c0499158 Add auto allow patch support
The patch will work like this:

./sepolicy-inject --auto -P sepolicy
This will allow all possible transition (just like selinux disabled)

./sepolicy-inject --auto -s su -P sepolicy
This will allow all transitions from su to any type

./sepolicy-inject --auto -t su -P sepolicy
This will allow all transitions from any type to su

./sepolicy-inject --auto -c file -P sepolicy
This will allow any transitions involving the class file

./sepolicy-inject --auto -s su -t system_data_file -P sepolicy
This will allow all transitions from su to system_data_file

You should get the logic now :)
2016-08-12 02:50:50 +08:00
topjohnwu
9ebcefee00 Slight refactor 2016-08-11 23:13:10 +08:00
topjohnwu
b18b5c4f43 Update disable method (requires Magisk v2) 2016-08-08 00:26:39 +08:00
topjohnwu
4752b0772f Initial Commit 2016-08-06 00:58:05 +08:00
Pierre-Hugues Husson
957e319649 Add --not option to add a DENY rule (or rather delete allow) 2016-02-02 22:17:34 +01:00
Pierre-Hugues Husson
a8978a0d4d Update README 2015-11-14 17:02:09 +01:00
Pierre-Hugues Husson
10712c5ec0 Add -e option to know if a type/class exists 2015-11-14 16:44:13 +01:00
Pierre-Hugues Husson
83c39f57f0 Wrong check 2015-11-14 16:18:07 +01:00
Pierre-Hugues Husson
173757cfa2 Add possibility, when adding a rule, to have target of the format =ATTRIBUTE-remove1-remove2 2015-11-13 00:56:52 +01:00
Pierre-Hugues HUSSON
c6be73dba2 Merge pull request #5 from superr/master
Added arch detection to makefile for x86 and x86_64
2015-11-11 21:30:34 +01:00
superr
ccf293906a Added arch detection to makefile for x86 and x86_64 2015-11-11 14:27:53 -06:00
Pierre-Hugues Husson
0f4c0b95e2 Stop commiting the executable. Commit libs instead, see #4 2015-11-11 21:09:51 +01:00
Pierre-Hugues Husson
82973e7608 Update binary 2015-11-11 14:02:25 +01:00
Pierre-Hugues Husson
c011bccc45 We can now have a list of permissions instead of just one permission, coma separated 2015-11-11 14:02:15 +01:00
Pierre-Hugues Husson
8473caf5a6 Update build options. See #2 2015-11-09 21:33:32 +01:00
Pierre-Hugues Husson
85b038525b Update sepolicy-inject binary 2015-11-03 10:52:16 +01:00
Pierre-Hugues Husson
51a5c3c664 Indent 2015-11-03 10:52:03 +01:00
Pierre-Hugues Husson
d6cda9df0a getopt_long returns int not ch 2015-11-03 10:49:53 +01:00
Pierre-Hugues Husson
ca7d09d1cb Add -n option for noaudit 2015-11-01 20:57:00 +01:00
Pierre-Hugues Husson
4ab478c49c Update prebuilt 2015-11-01 17:39:42 +01:00
Pierre-Hugues Husson
1a1c1fd0da Rename trust function to attr, to be more generic 2015-11-01 17:39:35 +01:00
Pierre-Hugues Husson
370951ab67 Change add_type to update constraints when adding new types 2015-11-01 17:39:06 +01:00
Pierre-Hugues Husson
a0632a572a Add -g option to enable filename-based transitions 2015-11-01 17:38:32 +01:00
Pierre-Hugues Husson
10601e7760 Rename variables in add_transition to be more explicit 2015-11-01 17:32:32 +01:00
Pierre-Hugues Husson
088ce9c2ad Clearer mallocs 2015-11-01 17:32:00 +01:00
Pierre-Hugues Husson
e1a69b97db Fix set_attr 2015-10-26 00:11:37 +01:00
Pierre-Hugues Husson
a2fd45bb95 Add -a option to put a domain in mlstrustedobjects 2015-10-25 18:10:06 +01:00
Pierre-Hugues Husson
01ddd8eaa8 Add -f option to support transition rules 2015-10-25 16:20:42 +01:00