From 1fd9a8470750515a3b1165213f9e6051fc12fb49 Mon Sep 17 00:00:00 2001 From: Re4son Date: Fri, 25 Jan 2019 15:24:17 +1100 Subject: [PATCH 1/2] Put SELinux in permissive mode on startup --- assets/etc/init.d/10setenforce | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 assets/etc/init.d/10setenforce diff --git a/assets/etc/init.d/10setenforce b/assets/etc/init.d/10setenforce new file mode 100644 index 0000000..e4e326d --- /dev/null +++ b/assets/etc/init.d/10setenforce @@ -0,0 +1,5 @@ +#!/system/bin/sh + +# this runs first +# set SElinux to permissive +setenforce 0 \ No newline at end of file From b6e468f8939fc371450d46a1d922272a76cd1f84 Mon Sep 17 00:00:00 2001 From: Re4son Date: Fri, 25 Jan 2019 15:25:09 +1100 Subject: [PATCH 2/2] Upgrade to 2019.1 Update nethunter-app to 2019.1 Update tools version to 28.0.3 Update Gradle plugin to 3.3.0 Set SELinux to permissive on startup --- androidwversionmanager/build.gradle | 2 +- build.gradle | 6 +++--- gradle/wrapper/gradle-wrapper.properties | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/androidwversionmanager/build.gradle b/androidwversionmanager/build.gradle index 4539546..b16d000 100644 --- a/androidwversionmanager/build.gradle +++ b/androidwversionmanager/build.gradle @@ -2,7 +2,7 @@ apply plugin: 'com.android.library' android { compileSdkVersion 28 - buildToolsVersion '28.0.2' + buildToolsVersion '28.0.3' useLibrary 'org.apache.http.legacy' defaultConfig { diff --git a/build.gradle b/build.gradle index d7ec4ad..0914fb6 100644 --- a/build.gradle +++ b/build.gradle @@ -5,7 +5,7 @@ buildscript { google() } dependencies { - classpath 'com.android.tools.build:gradle:3.3.0-alpha08' + classpath 'com.android.tools.build:gradle:3.3.0' } } @@ -37,7 +37,7 @@ dependencies { android { compileSdkVersion 28 - buildToolsVersion '28.0.2' + buildToolsVersion '28.0.3' dataBinding { enabled = true @@ -52,7 +52,7 @@ android { minSdkVersion 17 targetSdkVersion 28 versionCode 22 - versionName "2017.10" + versionName "2019.1" } sourceSets { diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 4f414c3..74c662b 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,7 +1,7 @@ -#Sat Jul 21 15:43:58 CDT 2018 +#Thu Jan 24 06:31:27 AEDT 2019 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME -org.gradle.jvmargs=-Xmx4096m -XX\:MaxPermSize\=4096m -XX\:+HeapDumpOnOutOfMemoryError zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-4.10-all.zip +org.gradle.jvmargs=-Xmx4096m -XX\:MaxPermSize\=4096m -XX\:+HeapDumpOnOutOfMemoryError +distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.1-all.zip