Skip to content

Commit

Permalink
Mtk-easy-su v2.0.0
Browse files Browse the repository at this point in the history
- Before using, uninstall the previous version
- Preferably disable play protect, to avoid installation errors
- Support for 64-bit systems
- Increased compatibility
- Updated assets mtk-su and magisk-init
- No longer to download assets
  • Loading branch information
JunioJsv committed Dec 22, 2020
1 parent be0eb37 commit 5518e18
Show file tree
Hide file tree
Showing 22 changed files with 195 additions and 481 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
app/src/main/assets/**/* filter=lfs diff=lfs merge=lfs -text
4 changes: 2 additions & 2 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# These are supported funding model platforms

github: # [JunioJsv]
github: [JunioJsv]
patreon: # Replace with a single Patreon username
open_collective: # Replace with a single Open Collective username
ko_fi: # Replace with a single Ko-fi username
Expand All @@ -9,4 +9,4 @@ community_bridge: # Replace with a single Community Bridge project-name e.g., cl
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
custom: ['https://www.mercadopago.com.br/checkout/v1/redirect?pref_id=365594257-359f7b8e-cc7c-4ff2-8fd1-4fc73eb6de50', 'https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=UNXAC9R9MYB8C&source=url']
custom: ['https://mpago.la/2anvA1b']
8 changes: 3 additions & 5 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ android {
applicationId 'juniojsv.mtk.easy.su'
minSdkVersion 21
targetSdkVersion 29
versionCode 5
versionName "1.1.3"
versionCode 6
versionName "2.0.0"
}

buildTypes {
Expand All @@ -45,8 +45,6 @@ dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation 'androidx.core:core-ktx:1.2.0'
implementation 'com.android.volley:volley:1.1.1'
implementation 'com.fasterxml.jackson.module:jackson-module-kotlin:2.11.0.rc1'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
implementation 'com.google.android.material:material:1.2.0-alpha06'
implementation 'com.google.android.gms:play-services-ads:19.6.0'
}
14 changes: 3 additions & 11 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
xmlns:tools="http://schemas.android.com/tools"
package="juniojsv.mtk.easy.su">

<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />

Expand All @@ -16,16 +13,11 @@
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme"
android:usesCleartextTraffic="true"
android:networkSecurityConfig="@xml/network_security_config"
tools:ignore="GoogleAppIndexingWarning">

<receiver android:name=".DeviceEvents">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
<action android:name="android.intent.action.ACTION_SHUTDOWN" />
</intent-filter>
</receiver>
<meta-data
android:name="com.google.android.gms.ads.APPLICATION_ID"
android:value="ca-app-pub-4100401274047460~8660712784"/>

<activity
android:name=".MainActivity"
Expand Down
3 changes: 3 additions & 0 deletions app/src/main/assets/magisk-boot.sh
Git LFS file not shown
3 changes: 3 additions & 0 deletions app/src/main/assets/magiskinit32
Git LFS file not shown
3 changes: 3 additions & 0 deletions app/src/main/assets/magiskinit64
Git LFS file not shown
3 changes: 3 additions & 0 deletions app/src/main/assets/mtk-su32
Git LFS file not shown
3 changes: 3 additions & 0 deletions app/src/main/assets/mtk-su64
Git LFS file not shown
10 changes: 0 additions & 10 deletions app/src/main/java/juniojsv/mtk/easy/su/Asset.kt

This file was deleted.

159 changes: 0 additions & 159 deletions app/src/main/java/juniojsv/mtk/easy/su/AssetsManager.kt

This file was deleted.

41 changes: 0 additions & 41 deletions app/src/main/java/juniojsv/mtk/easy/su/DeviceEvents.kt

This file was deleted.

9 changes: 1 addition & 8 deletions app/src/main/java/juniojsv/mtk/easy/su/Extensions.kt
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,6 @@ import com.google.android.material.snackbar.Snackbar
import java.io.BufferedReader
import java.io.InputStreamReader

/* d88b db db d8b db d888888b .d88b. d88b .d8888. db db
`8P' 88 88 888o 88 `88' .8P Y8. `8P' 88' YP 88 88
88 88 88 88V8o 88 88 88 88 88 `8bo. Y8 8P
88 88 88 88 V8o88 88 88 88 88 `Y8b. `8b d8'
db. 88 88b d88 88 V888 .88. `8b d8' db. 88 db 8D `8bd8'
Y8888P ~Y8888P' VP V8P Y888888P `Y88P' Y8888P `8888Y' YP */

fun Process.getOutput(): String {
val stdout = BufferedReader(InputStreamReader(inputStream))
val stderr = BufferedReader(InputStreamReader(errorStream))
Expand All @@ -30,7 +23,7 @@ fun Process.getOutput(): String {
else break
}
waitFor().also { exit ->
return "$log" + "exit value $exit"
return "$log" + "exit: $exit"
}
}

Expand Down
Loading

0 comments on commit 5518e18

Please sign in to comment.