Commit Graph

1093 Commits

Author SHA1 Message Date
binkybear
f218c4d9e8 Link bootkali directly to app files
Signed-off-by: binkybear <binkybear@nethunter.com>
2017-01-24 18:54:09 -06:00
binkybear
3ba9c54ea8 Add nethunter app folder to env path
We can remove system symlink if we just add nethunter app folder to path.  Will save a lot of hassle hopefully.

Signed-off-by: binkybear <binkybear@nethunter.com>
2017-01-23 21:36:25 -06:00
binkybear
a25ff7f0d4 Rename module to Terminal
Signed-off-by: binkybear <binkybear@nethunter.com>
2016-11-20 10:25:29 -06:00
binkybear
9d756f54fa Build to system (Android.mk)
Signed-off-by: binkybear <binkybear@nethunter.com>
2016-11-19 18:00:55 -06:00
binkybear
54247fdbaa Add gradle.properties and missing SDK25
Signed-off-by: binkybear <binkybear@nethunter.com>
2016-11-07 21:58:18 -06:00
binkybear
583c07f20f Update gradle, sdk to 25
Signed-off-by: binkybear <binkybear@nethunter.com>
2016-11-07 19:15:12 -06:00
binkybear
5f38d2b6b0 Output terminal app to /data instead of system
Android.mk

Signed-off-by: binkybear <binkybear@nethunter.com>
2016-10-29 11:46:41 -05:00
binkybear
66fdefdae1 Build term folder in gradle
Signed-off-by: binkybear <binkybear@nethunter.com>
2016-10-27 18:33:08 -05:00
binkybear
8e2c7328dd Update build tools & add Android.mk
Signed-off-by: binkybear <binkybear@nethunter.com>
2016-10-26 17:53:37 -05:00
binkybear
37d0935827 Check for kali dir using RunAsRoot
Ensures we call Su to check for dir

Signed-off-by: binkybear <binkybear@nethunter.com>
2016-10-10 10:32:09 -05:00
binkybear
ac995248ff New way to check symlinks by running as root
https://github.com/offensive-security/kali-nethunter/issues/604

Based on logcat it appears that su isn’t checking true value of symlinked file.  So we run as root and just do a little a check.

Signed-off-by: binkybear <binkybear@nethunter.com>
2016-10-10 09:12:55 -05:00
binkybear
4737e3eb03 Increaes minSDK to kitkat and buildtools
Also surroud bootkali_login check with kitkat >=

Signed-off-by: binkybear <binkybear@nethunter.com>
2016-10-09 17:50:53 -05:00
binkybear
914551b4e7 Android N cleanup (part 2)
More cleaning up for Android N

Signed-off-by: binkybear <binkybear@nethunter.com>
2016-10-09 12:06:56 -05:00
binkybear
9cf8ac765e Revert "Busybox resize command"
This reverts commit 5af38a650f.
2016-10-09 11:53:45 -05:00
binkybear
477a9e9073 Update for Android (N)
* Updated Targeted/Compil SDK to 24 (Android N)
* Redid notification manager since previous one is deprecated
* Term.java add SDK check
* Other lint cleanups

https://github.com/offensive-security/kali-nethunter/issues/604
Signed-off-by: binkybear <binkybear@nethunter.com>
2016-10-09 11:53:15 -05:00
binkybear
5af38a650f Busybox resize command
We can force the terminal to run busybox resize.  I think this will reduce errors such as:
```
root@bacon:/ # 1;148R
```
because the app is running vice the bootkali script, which is where most of the errors seem to be coming form.

This requires busybox to be in the path…however if the user doesn’t have busybox then they can’t chroot anyways.

Signed-off-by: binkybear <binkybear@nethunter.com>
2016-10-07 18:40:52 -05:00
binkybear
2ac4061f8a Replace homescreen icon icon
Signed-off-by: binkybear <binkybear@nethunter.com>
2016-10-07 16:21:12 -05:00
binkybear
42e547279e Add paste icon to keyboard
Need to find a better way to center.

Signed-off-by: binkybear <binkybear@nethunter.com>
2016-10-07 15:11:31 -05:00
binkybear
5567dac8dd Squish size, add paste function (needs icon)
TODO:
Add page up/pagedown
Add clipboard icon

Signed-off-by: binkybear <binkybear@nethunter.com>
2016-10-06 21:24:47 -05:00
binkybear
c3b1a110d7 Gradle proguard rules for release
Signed-off-by: binkybear <binkybear@nethunter.com>
2016-10-06 21:06:20 -05:00
binkybear
91cfe012b9 Two rows function bar, update gradle
Need to add keyboard paste function per @jcaduono.

https://github.com/binkybear/Android-Terminal-Emulator/issues/5
Signed-off-by: binkybear <binkybear@nethunter.com>
2016-10-06 20:57:58 -05:00
binkybear
2a5c389d04 Check for root before running kali/androidsu
We need to make sure we have root before trying to run kali or androidsu.  This provides more feedback to users if something is not working.

Also, make sure we have root before we check for symlinks.

Signed-off-by: binkybear <binkybear@nethunter.com>
2016-09-30 18:47:33 -05:00
binkybear
c2b1d28f36 Hardcode bootkali_login check
https://github.com/offensive-security/kali-nethunter/issues/604
Signed-off-by: binkybear <binkybear@nethunter.com>
2016-09-29 09:43:58 -05:00
binkybear
175ec3cbb2 Android lint cleanup
Apply recommendations and ignore generated apks

Signed-off-by: binkybear <binkybear@nethunter.com>
2016-09-27 17:45:11 -05:00
binkybear
6648deff81 Check chroot dir not symbolic link
Will not load otherwise….

Signed-off-by: binkybear <binkybear@nethunter.com>
2016-09-17 08:09:33 -05:00
binkybear
bb898d5502 Check for missing files
https://github.com/jmingov/NetHunter-Terminal-Emulator/issues/1
Signed-off-by: binkybear <binkybear@nethunter.com>
2016-09-16 21:46:29 -05:00
binkybear
832a88dd96 Fix default color
Signed-off-by: binkybear <binkybear@nethunter.com>
2016-09-16 20:11:20 -05:00
binkybear
78fe99e5a3 Change default color
Signed-off-by: binkybear <binkybear@nethunter.com>
2016-09-16 20:03:51 -05:00
binkybear
9c04f5a524 Enable functionbar
Signed-off-by: binkybear <binkybear@nethunter.com>
2016-09-16 19:51:51 -05:00
binkybear
a4dc4e1759 Actionbar Additions
Signed-off-by: binkybear <binkybear@nethunter.com>
2016-09-16 19:24:55 -05:00
fuenor
891a0c439c Add hardware keyboard check 2016-09-13 21:29:51 -05:00
fuenor
2a7adf8f20 Add Back key behavior (toggle softkeyboard) 2016-09-13 21:29:30 -05:00
fuenor
9679884748 Add xterm-256color termtype 2016-09-13 21:24:45 -05:00
binkybear
1d2bcc1057 Added by Android Studio
IDEA!

Signed-off-by: binkybear <binkybear@nethunter.com>
2016-09-13 21:24:22 -05:00
fuenor
557b22cb94 Fix font width 2016-09-13 21:16:56 -05:00
fuenor
7a2e3fc7cd Fix select text two rows offset (FIXME) 2016-09-13 21:16:09 -05:00
fuenor
473148c733 Ignore some Japanese key 2016-09-13 21:15:55 -05:00
fuenor
229fefdcbd Change fancy cursor shape 2016-09-13 21:13:35 -05:00
fuenor
ab5ba60e44 Restore cursor application mode 2016-09-13 21:13:27 -05:00
fuenor
c1528e1c68 Fix composing text drawing for wide characters 2016-09-13 21:13:18 -05:00
fuenor
8fba9293ea Update TargetSDK to 24 2016-09-13 21:11:12 -05:00
binkybear
73d5ea6d59 Ignore gradle.properties
Signed-off-by: binkybear <binkybear@nethunter.com>
2016-09-13 19:44:58 -05:00
binkybear
df11f3a086 Ignore .idea
Signed-off-by: binkybear <binkybear@nethunter.com>
2016-09-13 19:44:44 -05:00
binkybear
687acf28c5 Update gradle 2016-09-13 19:31:56 -05:00
jmingov
dab24fb29a Disable verify paths by default 2016-01-17 14:42:02 +01:00
jmingov
41b17556f3 Little format 2015-12-27 15:09:04 +01:00
jmingov
cbcd3c8c54 Updated permissions text for android 6 Marshmallow. 2015-12-27 15:07:38 +01:00
jmingov
879cb1f2ce Get SU path dynamically.
This way doesn't matter which version of su is using the phone.
2015-12-27 15:01:15 +01:00
jmingov
7979970f96 Term not catching the initial command randomly (Possible fix)
Added a little delay. =D
2015-12-20 23:20:14 +01:00
3boll
43002f7062 new intent 2015-11-30 00:38:38 +01:00