Skip to content

Commit 6f5fc1c

Browse files
committed
Update
1 parent fcaea7a commit 6f5fc1c

File tree

16 files changed

+121
-110
lines changed

16 files changed

+121
-110
lines changed

assets/scripts/bin/ifrename

836 KB
Binary file not shown.

assets/scripts/bin/iwconfig

802 KB
Binary file not shown.

assets/scripts/bin/iwevent

795 KB
Binary file not shown.

assets/scripts/bin/iwgetid

799 KB
Binary file not shown.

assets/scripts/bin/iwlist

808 KB
Binary file not shown.

assets/scripts/bin/iwpriv

794 KB
Binary file not shown.

assets/scripts/bin/iwspy

786 KB
Binary file not shown.

assets/scripts/bootkali

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,15 +240,23 @@ else
240240
if [ "$1" == "ycable" ] && [ "$2" == "start" ]; then
241241
if [ -f "/sys/module/msm_otg/parameters/usbhost_charge_mode" ]; then
242242
echo "1" > /sys/module/msm_otg/parameters/usbhost_charge_mode
243+
echo "Choosed msm_otg way"
244+
sleep 5
243245
fi
244246
if [ -f "/sys/module/tegra_otg/parameters/tegra_otg_on_charging" ]; then
245247
echo "Y" > /sys/module/tegra_otg/parameters/tegra_otg_on_charging
248+
echo "Choosed tegra_otg way"
249+
sleep 5
246250
fi
247251
if [ -f "/sys/module/dwc3/parameters/aca_enable" ]; then
248252
echo "Y" > /sys/module/dwc3/parameters/aca_enable
253+
echo "Choosed dwc3 (aca) way"
254+
sleep 5
249255
fi
250256
if [ -f "/sys/module/dwc3/parameters/otg_charging" ]; then
251257
echo "Y" > /sys/module/dwc3/parameters/otg_charging
258+
echo "Choosed dwc3 (otg_charging) way"
259+
sleep 5
252260
fi
253261
fi
254262

build.gradle

Lines changed: 5 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ buildscript {
55
google()
66
}
77
dependencies {
8-
classpath 'com.android.tools.build:gradle:4.0.2'
8+
classpath 'com.android.tools.build:gradle:4.1.0'
99
}
1010
}
1111

@@ -23,10 +23,10 @@ dependencies {
2323
implementation 'androidx.multidex:multidex:2.0.1'
2424
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
2525
implementation 'androidx.appcompat:appcompat:1.2.0'
26-
implementation 'androidx.constraintlayout:constraintlayout:2.0.1'
27-
implementation 'com.google.android.material:material:1.3.0-alpha02'
26+
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
27+
implementation 'com.google.android.material:material:1.3.0-alpha03'
2828
implementation 'org.thoughtcrime.ssl.pinning:AndroidPinning:1.0.0'
29-
implementation 'com.google.android.gms:play-services-location:17.0.0'
29+
implementation 'com.google.android.gms:play-services-location:17.1.0'
3030
implementation 'joda-time:joda-time:2.10.6'
3131
implementation 'com.google.guava:guava:29.0-jre'
3232
implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
@@ -53,7 +53,7 @@ android {
5353
targetSdkVersion 29
5454
//noinspection HighAppVersionCode
5555
versionCode 1
56-
versionName "DEV-PRE"
56+
versionName "0.0.1"
5757
multiDexEnabled true
5858
}
5959

@@ -75,21 +75,6 @@ android {
7575
storeFile file("${System.properties['user.home']}" + "/.android/debug.keystore")
7676
}
7777

78-
/* note: To build a signed version of NetHunter:
79-
1. Put your keystore in ~/.android/release-keystore and set up a key "NetHunter"
80-
2. set KEYSTORE_PASSWORD and KEY_PASSWORD environment variables before running gradle. this
81-
can be done easily by adding them to .bashrc
82-
(or change the below values, hard-coding or whatever...)
83-
3. Don't forget to create a proguard.cfg file. You can find a sample one in the sdk or
84-
point to it directly.
85-
release {
86-
storePassword System.getenv("KEYSTORE_PASSWORD")
87-
storeFile file("${System.properties['user.home']}" + "/.android/release.keystore")
88-
keyAlias "NetHunter"
89-
keyPassword System.getenv("KEY_PASSWORD")
90-
91-
}
92-
*/
9378
}
9479

9580
buildTypes {
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
#Tue Jun 02 12:58:44 AEST 2020
1+
#Sun Nov 01 18:44:37 EET 2020
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
5-
org.gradle.jvmargs=-Xmx4096m -XX\:MaxPermSize\=4096m -XX\:+HeapDumpOnOutOfMemoryError
65
zipStorePath=wrapper/dists
7-
distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-all.zip
6+
org.gradle.jvmargs=-Xmx4096m -XX\:MaxPermSize\=4096m -XX\:+HeapDumpOnOutOfMemoryError
7+
distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-bin.zip

0 commit comments

Comments
 (0)