Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
M
Magisk
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Magisk
Commits
7737c6ae
Commit
7737c6ae
authored
Aug 16, 2016
by
topjohnwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
v4: change root switch method; massive refactor
parent
b18b5c4f
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
167 additions
and
138 deletions
+167
-138
vcs.xml
.idea/vcs.xml
+0
-6
build.gradle
app/build.gradle
+2
-2
MainActivity.java
app/src/main/java/com/topjohnwu/magisk/MainActivity.java
+96
-68
activity_main.xml
app/src/main/res/layout/activity_main.xml
+50
-47
no_root.xml
app/src/main/res/layout/no_root.xml
+0
-14
strings.xml
app/src/main/res/values/strings.xml
+18
-0
styles.xml
app/src/main/res/values/styles.xml
+1
-1
No files found.
.idea/vcs.xml
deleted
100644 → 0
View file @
b18b5c4f
<?xml version="1.0" encoding="UTF-8"?>
<project
version=
"4"
>
<component
name=
"VcsDirectoryMappings"
>
<mapping
directory=
""
vcs=
"Git"
/>
</component>
</project>
\ No newline at end of file
app/build.gradle
View file @
7737c6ae
...
@@ -8,8 +8,8 @@ android {
...
@@ -8,8 +8,8 @@ android {
applicationId
"com.topjohnwu.magisk"
applicationId
"com.topjohnwu.magisk"
minSdkVersion
21
minSdkVersion
21
targetSdkVersion
24
targetSdkVersion
24
versionCode
2
versionCode
3
versionName
"
1.1
"
versionName
"
v4
"
}
}
buildTypes
{
buildTypes
{
release
{
release
{
...
...
app/src/main/java/com/topjohnwu/magisk/MainActivity.java
View file @
7737c6ae
...
@@ -7,8 +7,6 @@ import android.os.Bundle;
...
@@ -7,8 +7,6 @@ import android.os.Bundle;
import
android.os.Handler
;
import
android.os.Handler
;
import
android.util.Log
;
import
android.util.Log
;
import
android.view.View
;
import
android.view.View
;
import
android.widget.Button
;
import
android.widget.EditText
;
import
android.widget.Switch
;
import
android.widget.Switch
;
import
android.widget.TextView
;
import
android.widget.TextView
;
import
java.io.BufferedReader
;
import
java.io.BufferedReader
;
...
@@ -19,14 +17,13 @@ import java.io.InputStreamReader;
...
@@ -19,14 +17,13 @@ import java.io.InputStreamReader;
public
class
MainActivity
extends
Activity
{
public
class
MainActivity
extends
Activity
{
private
Switch
selinuxSwitch
;
private
Switch
rootToggle
,
selinuxToggle
;
private
TextView
rootStatus
,
selinuxStatus
,
safetyNet
,
permissive
;
private
TextView
magiskVersion
,
rootStatus
,
selinuxStatus
,
safetyNet
,
permissive
;
private
Button
rootButton
;
private
String
suPath
;
private
EditText
countdown
;
private
String
execute
(
String
command
)
{
private
String
execute
(
String
command
)
{
StringBu
ffer
output
=
new
StringBuff
er
();
StringBu
ilder
output
=
new
StringBuild
er
();
Process
p
;
Process
p
;
try
{
try
{
...
@@ -34,49 +31,71 @@ public class MainActivity extends Activity {
...
@@ -34,49 +31,71 @@ public class MainActivity extends Activity {
p
.
waitFor
();
p
.
waitFor
();
BufferedReader
reader
=
new
BufferedReader
(
new
InputStreamReader
(
p
.
getInputStream
()));
BufferedReader
reader
=
new
BufferedReader
(
new
InputStreamReader
(
p
.
getInputStream
()));
String
line
=
""
;
String
line
;
while
((
line
=
reader
.
readLine
())!=
null
)
{
while
((
line
=
reader
.
readLine
())!=
null
)
{
output
.
append
(
line
+
"\n"
);
if
(
output
.
length
()
!=
0
)
output
.
append
(
"\n"
);
output
.
append
(
line
);
}
}
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
e
.
printStackTrace
();
}
}
String
response
=
output
.
toString
();
return
output
.
toString
();
return
response
;
}
}
private
void
updateStatus
()
{
private
void
updateStatus
()
{
String
selinux
=
execute
(
"getenforce"
);
if
((
new
File
(
"/system/xbin/su"
).
exists
()))
{
rootStatus
.
setText
(
"Mounted"
);
rootStatus
.
setTextColor
(
Color
.
RED
);
safetyNet
.
setText
(
"Root mounted and enabled. Safety Net (Android Pay) will NOT work"
);
safetyNet
.
setTextColor
(
Color
.
RED
);
rootButton
.
setEnabled
(
true
);
}
else
{
rootStatus
.
setText
(
"Not Mounted"
);
rootStatus
.
setTextColor
(
Color
.
GREEN
);
safetyNet
.
setText
(
"Safety Net (Android Pay) should work, but no root temporarily"
);
safetyNet
.
setTextColor
(
Color
.
GREEN
);
rootButton
.
setEnabled
(
false
);
}
String
selinux
=
execute
(
"getenforce"
);
magiskVersion
.
setText
(
getString
(
R
.
string
.
magisk_version
,
execute
(
"getprop magisk.version"
)));
selinuxStatus
.
setText
(
selinux
);
selinuxStatus
.
setText
(
selinux
);
if
(
selinux
.
equals
(
"Enforcing
\n
"
))
{
if
(
selinux
.
equals
(
"Enforcing"
))
{
selinuxStatus
.
setTextColor
(
Color
.
GREEN
);
selinuxStatus
.
setTextColor
(
Color
.
GREEN
);
selinux
Switch
.
setChecked
(
true
);
selinux
Toggle
.
setChecked
(
true
);
permissive
.
setText
(
"SELinux is enforced"
);
permissive
.
setText
(
R
.
string
.
selinux_enforcing_info
);
permissive
.
setTextColor
(
Color
.
GREEN
);
permissive
.
setTextColor
(
Color
.
GREEN
);
}
else
{
}
else
{
selinuxStatus
.
setTextColor
(
Color
.
RED
);
selinuxStatus
.
setTextColor
(
Color
.
RED
);
selinux
Switch
.
setChecked
(
false
);
selinux
Toggle
.
setChecked
(
false
);
permissive
.
setText
(
"Only turn off SELinux if necessary!"
);
permissive
.
setText
(
R
.
string
.
selinux_permissive_info
);
permissive
.
setTextColor
(
Color
.
RED
);
permissive
.
setTextColor
(
Color
.
RED
);
}
}
if
((
new
File
(
"/system/framework/twframework.jar"
)).
exists
())
{
selinuxToggle
.
setEnabled
(
false
);
permissive
.
setText
(
R
.
string
.
selinux_samsung
);
}
if
((
new
File
(
"/system/xbin/su"
).
exists
()))
{
rootStatus
.
setTextColor
(
Color
.
RED
);
safetyNet
.
setTextColor
(
Color
.
RED
);
rootToggle
.
setChecked
(
true
);
if
(!(
new
File
(
suPath
+
"/su"
)).
exists
())
{
rootStatus
.
setText
(
R
.
string
.
root_system
);
safetyNet
.
setText
(
R
.
string
.
root_system_info
);
rootToggle
.
setEnabled
(
false
);
selinuxToggle
.
setEnabled
(
false
);
}
else
{
rootStatus
.
setText
(
R
.
string
.
root_mounted
);
safetyNet
.
setText
(
R
.
string
.
root_mounted_info
);
}
}
else
{
rootStatus
.
setTextColor
(
Color
.
GREEN
);
safetyNet
.
setTextColor
(
Color
.
GREEN
);
rootToggle
.
setChecked
(
false
);
if
(!(
new
File
(
suPath
+
"/su"
)).
exists
())
{
rootStatus
.
setText
(
R
.
string
.
root_none
);
safetyNet
.
setText
(
R
.
string
.
root_none_info
);
rootToggle
.
setEnabled
(
false
);
selinuxToggle
.
setEnabled
(
false
);
}
else
{
rootStatus
.
setText
(
R
.
string
.
root_unmounted
);
safetyNet
.
setText
(
R
.
string
.
root_unmounted_info
);
}
}
}
}
protected
class
SU
extends
AsyncTask
<
String
,
Void
,
Void
>
{
protected
class
SU
extends
AsyncTask
<
String
,
Void
,
Void
>
{
...
@@ -84,7 +103,7 @@ public class MainActivity extends Activity {
...
@@ -84,7 +103,7 @@ public class MainActivity extends Activity {
@Override
@Override
protected
Void
doInBackground
(
String
...
params
)
{
protected
Void
doInBackground
(
String
...
params
)
{
try
{
try
{
Process
su
=
Runtime
.
getRuntime
().
exec
(
"
su"
);
Process
su
=
Runtime
.
getRuntime
().
exec
(
suPath
+
"/
su"
);
DataOutputStream
out
=
new
DataOutputStream
(
su
.
getOutputStream
());
DataOutputStream
out
=
new
DataOutputStream
(
su
.
getOutputStream
());
for
(
String
command
:
params
)
{
for
(
String
command
:
params
)
{
out
.
writeBytes
(
command
+
"\n"
);
out
.
writeBytes
(
command
+
"\n"
);
...
@@ -111,43 +130,52 @@ public class MainActivity extends Activity {
...
@@ -111,43 +130,52 @@ public class MainActivity extends Activity {
@Override
@Override
protected
void
onCreate
(
Bundle
savedInstanceState
)
{
protected
void
onCreate
(
Bundle
savedInstanceState
)
{
super
.
onCreate
(
savedInstanceState
);
super
.
onCreate
(
savedInstanceState
);
setContentView
(
R
.
layout
.
activity_main
);
if
(!(
new
File
(
"/magisk/phh/su"
)).
exists
())
{
setContentView
(
R
.
layout
.
no_root
);
magiskVersion
=
(
TextView
)
findViewById
(
R
.
id
.
magisk_version
);
}
else
{
rootToggle
=
(
Switch
)
findViewById
(
R
.
id
.
root_toggle
);
selinuxToggle
=
(
Switch
)
findViewById
(
R
.
id
.
selinux_toggle
);
setContentView
(
R
.
layout
.
activity_main
);
rootStatus
=
(
TextView
)
findViewById
(
R
.
id
.
root_status
);
selinuxStatus
=
(
TextView
)
findViewById
(
R
.
id
.
selinux_status
);
selinuxSwitch
=
(
Switch
)
findViewById
(
R
.
id
.
permissive_switch
);
safetyNet
=
(
TextView
)
findViewById
(
R
.
id
.
safety_net
);
rootStatus
=
(
TextView
)
findViewById
(
R
.
id
.
root_status
);
permissive
=
(
TextView
)
findViewById
(
R
.
id
.
permissive
);
selinuxStatus
=
(
TextView
)
findViewById
(
R
.
id
.
selinux_status
);
safetyNet
=
(
TextView
)
findViewById
(
R
.
id
.
safety_net
);
suPath
=
execute
(
"getprop magisk.supath"
);
permissive
=
(
TextView
)
findViewById
(
R
.
id
.
permissive
);
countdown
=
(
EditText
)
findViewById
(
R
.
id
.
countdown
);
setContentView
(
R
.
layout
.
activity_main
);
rootButton
=
(
Button
)
findViewById
(
R
.
id
.
rootButton
);
magiskVersion
=
(
TextView
)
findViewById
(
R
.
id
.
magisk_version
);
updateStatus
();
rootToggle
=
(
Switch
)
findViewById
(
R
.
id
.
root_toggle
);
selinuxToggle
=
(
Switch
)
findViewById
(
R
.
id
.
selinux_toggle
);
rootButton
.
setOnClickListener
(
new
View
.
OnClickListener
()
{
rootStatus
=
(
TextView
)
findViewById
(
R
.
id
.
root_status
);
@Override
selinuxStatus
=
(
TextView
)
findViewById
(
R
.
id
.
selinux_status
);
public
void
onClick
(
View
view
)
{
safetyNet
=
(
TextView
)
findViewById
(
R
.
id
.
safety_net
);
int
timeout
;
permissive
=
(
TextView
)
findViewById
(
R
.
id
.
permissive
);
timeout
=
Integer
.
parseInt
(
countdown
.
getText
().
toString
())
*
60
;
(
new
SU
()).
execute
(
"setprop magisk.timeout "
+
String
.
valueOf
(
timeout
),
"setprop magisk.phhsu 0"
);
updateStatus
();
rootToggle
.
setOnClickListener
(
new
View
.
OnClickListener
()
{
@Override
public
void
onClick
(
View
view
)
{
Switch
s
=
(
Switch
)
view
;
if
(
s
.
isChecked
())
{
(
new
SU
()).
execute
(
"setprop magisk.root 1"
);
}
else
{
(
new
SU
()).
execute
(
"setprop magisk.root 0"
);
}
}
}
);
}
});
selinuxSwitch
.
setOnClickListener
(
new
View
.
OnClickListener
()
{
@Override
selinuxToggle
.
setOnClickListener
(
new
View
.
OnClickListener
()
{
public
void
onClick
(
View
view
)
{
@Override
Switch
s
=
(
Switch
)
view
;
public
void
onClick
(
View
view
)
{
if
(
s
.
isChecked
())
{
Switch
s
=
(
Switch
)
view
;
(
new
SU
()).
execute
(
"setenforce 1"
);
if
(
s
.
isChecked
())
{
}
else
{
(
new
SU
()).
execute
(
"setenforce 1"
);
(
new
SU
()).
execute
(
"setenforce 0"
);
}
else
{
}
(
new
SU
()).
execute
(
"setenforce 0"
);
}
}
}
);
}
}
}
);
}
}
}
}
app/src/main/res/layout/activity_main.xml
View file @
7737c6ae
...
@@ -10,14 +10,35 @@
...
@@ -10,14 +10,35 @@
android:paddingTop=
"@dimen/activity_vertical_margin"
android:paddingTop=
"@dimen/activity_vertical_margin"
tools:context=
"com.topjohnwu.magisk.MainActivity"
>
tools:context=
"com.topjohnwu.magisk.MainActivity"
>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"@string/magisk_label"
android:id=
"@+id/magisk_label"
android:layout_alignParentStart=
"true"
android:layout_alignParentTop=
"true"
android:textSize=
"20sp"
android:layout_marginLeft=
"10dp"
android:layout_marginTop=
"10dp"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"@string/unavailable"
android:id=
"@+id/magisk_version"
android:textStyle=
"bold"
android:textSize=
"20sp"
android:layout_marginLeft=
"10dp"
android:layout_alignTop=
"@+id/magisk_label"
android:layout_toEndOf=
"@+id/magisk_label"
/>
<TextView
<TextView
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"
Root Status:
"
android:text=
"
@string/root_label
"
android:id=
"@+id/root_label"
android:id=
"@+id/root_label"
android:layout_below=
"@+id/magisk_label"
android:layout_alignParentStart=
"true"
android:layout_alignParentStart=
"true"
android:layout_alignParentTop=
"true"
android:textSize=
"20sp"
android:textSize=
"20sp"
android:layout_marginLeft=
"10dp"
android:layout_marginLeft=
"10dp"
android:layout_marginTop=
"10dp"
/>
android:layout_marginTop=
"10dp"
/>
...
@@ -25,21 +46,21 @@
...
@@ -25,21 +46,21 @@
<TextView
<TextView
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"
(unavailable)
"
android:text=
"
@string/unavailable
"
android:id=
"@+id/root_status"
android:id=
"@+id/root_status"
android:textStyle=
"bold"
android:textStyle=
"bold"
android:layout_toEndOf=
"@+id/root_label"
android:textSize=
"20sp"
android:textSize=
"20sp"
android:layout_marginTop=
"10dp"
android:layout_marginLeft=
"10dp"
android:layout_marginLeft=
"10dp"
/>
android:layout_alignTop=
"@+id/root_label"
android:layout_toEndOf=
"@+id/root_label"
/>
<TextView
<TextView
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"
Selinux Status:
"
android:text=
"
@string/selinux_label
"
android:id=
"@+id/selinux_label"
android:id=
"@+id/selinux_label"
android:layout_alignParentStart=
"true"
android:layout_alignParentStart=
"true"
android:layout_below=
"@+id/root_
status
"
android:layout_below=
"@+id/root_
label
"
android:textSize=
"20sp"
android:textSize=
"20sp"
android:layout_marginTop=
"10dp"
android:layout_marginTop=
"10dp"
android:layout_marginLeft=
"10dp"
/>
android:layout_marginLeft=
"10dp"
/>
...
@@ -47,19 +68,18 @@
...
@@ -47,19 +68,18 @@
<TextView
<TextView
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"
(unavailable)
"
android:text=
"
@string/unavailable
"
android:id=
"@+id/selinux_status"
android:id=
"@+id/selinux_status"
android:textStyle=
"bold"
android:textStyle=
"bold"
android:layout_below=
"@+id/root_status"
android:layout_toEndOf=
"@+id/selinux_label"
android:textSize=
"20sp"
android:textSize=
"20sp"
android:layout_marginTop=
"10dp"
android:layout_marginLeft=
"10dp"
android:layout_marginLeft=
"10dp"
/>
android:layout_alignTop=
"@+id/selinux_label"
android:layout_toEndOf=
"@+id/selinux_label"
/>
<TextView
<TextView
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"
(unavailable)
"
android:text=
"
@string/unavailable
"
android:id=
"@+id/safety_net"
android:id=
"@+id/safety_net"
android:layout_below=
"@+id/selinux_label"
android:layout_below=
"@+id/selinux_label"
android:layout_alignParentStart=
"true"
android:layout_alignParentStart=
"true"
...
@@ -70,7 +90,7 @@
...
@@ -70,7 +90,7 @@
<TextView
<TextView
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"
(unavailable)
"
android:text=
"
@string/unavailable
"
android:id=
"@+id/permissive"
android:id=
"@+id/permissive"
android:layout_below=
"@+id/safety_net"
android:layout_below=
"@+id/safety_net"
android:layout_alignParentStart=
"true"
android:layout_alignParentStart=
"true"
...
@@ -81,44 +101,27 @@
...
@@ -81,44 +101,27 @@
<Switch
<Switch
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"
Selinux T
oggle"
android:text=
"
@string/root_t
oggle"
android:id=
"@+id/
permissive_switch
"
android:id=
"@+id/
root_toggle
"
android:layout_marginTop=
"
2
0dp"
android:layout_marginTop=
"
1
0dp"
android:textSize=
"20sp"
android:textSize=
"20sp"
android:switchPadding=
"20dp"
android:switchPadding=
"20dp"
android:layout_below=
"@+id/countdown"
android:layout_alignParentStart=
"true"
android:layout_marginLeft=
"10dp"
/>
<EditText
android:layout_width=
"50dp"
android:layout_height=
"wrap_content"
android:inputType=
"number"
android:id=
"@+id/countdown"
android:layout_below=
"@+id/permissive"
android:layout_below=
"@+id/permissive"
android:layout_alignParentStart=
"true"
android:layout_alignParentStart=
"true"
android:textAlignment=
"center"
android:layout_marginLeft=
"10dp"
android:text=
"5"
android:checked=
"false"
/>
android:layout_marginTop=
"10dp"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:textAppearance=
"?android:attr/textAppearanceMedium"
android:text=
"minutes"
android:id=
"@+id/textMin"
android:layout_alignBottom=
"@+id/countdown"
android:layout_toEndOf=
"@+id/countdown"
android:layout_marginBottom=
"10dp"
android:layout_marginLeft=
"5dp"
android:layout_marginRight=
"5dp"
/>
<
Button
<
Switch
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Disable root"
android:text=
"@string/selinux_toggle"
android:id=
"@+id/rootButton"
android:id=
"@+id/selinux_toggle"
android:layout_alignTop=
"@+id/countdown"
android:layout_marginTop=
"20dp"
android:layout_toEndOf=
"@+id/textMin"
/>
android:textSize=
"20sp"
android:switchPadding=
"20dp"
android:layout_below=
"@+id/root_toggle"
android:layout_alignParentStart=
"true"
android:layout_marginLeft=
"10dp"
android:checked=
"false"
/>
</RelativeLayout>
</RelativeLayout>
app/src/main/res/layout/no_root.xml
deleted
100644 → 0
View file @
b18b5c4f
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"You are not rooted!"
android:id=
"@+id/no_root"
android:layout_alignParentTop=
"true"
android:layout_centerHorizontal=
"true"
android:layout_marginTop=
"93dp"
android:textSize=
"40sp"
/>
</RelativeLayout>
\ No newline at end of file
app/src/main/res/values/strings.xml
View file @
7737c6ae
<resources>
<resources>
<string
name=
"app_name"
>
Magisk Manager
</string>
<string
name=
"app_name"
>
Magisk Manager
</string>
<string
name=
"root_mounted"
>
Mounted
</string>
<string
name=
"root_mounted_info"
>
Root mounted and enabled. Safety Net (Android Pay) will NOT work
</string>
<string
name=
"root_unmounted"
>
Not Mounted
</string>
<string
name=
"root_unmounted_info"
>
Safety Net (Android Pay) should work, but no root temporarily
</string>
<string
name=
"selinux_enforcing_info"
>
SELinux is enforced
</string>
<string
name=
"selinux_permissive_info"
>
Only turn off SELinux if necessary!
</string>
<string
name=
"unavailable"
>
(unavailable)
</string>
<string
name=
"magisk_label"
>
Boot Version:
</string>
<string
name=
"root_label"
>
Root Status:
</string>
<string
name=
"selinux_label"
>
Selinux Status:
</string>
<string
name=
"root_toggle"
>
Root Toggle
</string>
<string
name=
"selinux_toggle"
>
Selinux Toggle
</string>
<string
name=
"root_system"
>
Improperly Installed
</string>
<string
name=
"root_system_info"
>
Root improperly installed. Safety Net (Android Pay) will NOT work, and impossible to toggle
</string>
<string
name=
"root_none"
>
Not Rooted
</string>
<string
name=
"root_none_info"
>
Safety Net (Android Pay) should work
</string>
<string
name=
"magisk_version"
>
Magisk v%1$s
</string>
<string
name=
"selinux_samsung"
>
Samsung do not support switching SELinux status!
</string>
</resources>
</resources>
app/src/main/res/values/styles.xml
View file @
7737c6ae
<resources>
<resources>
<!-- Base application theme. -->
<!-- Base application theme. -->
<style
name=
"AppTheme"
parent=
"android:Theme.Material
.Light.DarkActionBar
"
/>
<style
name=
"AppTheme"
parent=
"android:Theme.Material"
/>
</resources>
</resources>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment