Boot KALI_SHELL instead of KALI_LOGIN_SHELL

To avoid errors when "data" is encrypted.
"data" should always be unencrypted but this change will make NetHunter
mostly work when decrypting "data" has been omitted.

Signed-off-by: Re4son <3520622-re4son@users.noreply.gitlab.com>
This commit is contained in:
Re4son 2019-11-06 14:19:27 +11:00
parent 7b0a81b188
commit b55baf2db1
3 changed files with 7 additions and 3 deletions

View File

@ -24,7 +24,7 @@ ext {
minSdkVersion=14
targetSdkVersion=28
//version=YYYYMMVVRR (Either "VV" for stable version OR "RR" for pre-release candidate (e.g. 0001 for rc1)
versionCode=2019020100
versionName="2019.2"
versionCode=2019030100
versionName="2019.3"
}

4
term/release/.directory Normal file
View File

@ -0,0 +1,4 @@
[Dolphin]
Timestamp=2019,5,6,9,22,54
Version=4
ViewMode=1

View File

@ -904,7 +904,7 @@ public class Term extends Activity implements UpdateCallback, SharedPreferences.
} else {
TermSession session = null;
try {
session = createTermSession(getBaseContext(), settings, "", ShellType.KALI_LOGIN_SHELL);
session = createTermSession(getBaseContext(), settings, "", ShellType.KALI_SHELL);
session.setFinishCallback(mTermService);
} catch (IOException e) {
e.printStackTrace();