├── .classpath ├── .project ├── AndroidManifest.xml ├── README.md ├── bin ├── AndroidManifest.xml ├── adbSecure.apk ├── classes.dex ├── classes │ └── com │ │ └── stericson │ │ └── adbSecure │ │ ├── BuildConfig.class │ │ ├── Constants.class │ │ ├── Preferences$1.class │ │ ├── Preferences$2.class │ │ ├── Preferences$3.class │ │ ├── Preferences.class │ │ ├── R$attr.class │ │ ├── R$color.class │ │ ├── R$dimen.class │ │ ├── R$drawable.class │ │ ├── R$id.class │ │ ├── R$layout.class │ │ ├── R$menu.class │ │ ├── R$string.class │ │ ├── R$style.class │ │ ├── R$xml.class │ │ ├── R.class │ │ ├── Tasker_edit$1.class │ │ ├── Tasker_edit.class │ │ ├── bundle │ │ └── BundleScrubber.class │ │ ├── receiver │ │ └── Receiver.class │ │ └── services │ │ ├── PreferenceService.class │ │ └── adbdSecureService.class ├── jarlist.cache ├── res │ ├── drawable-hdpi │ │ ├── btn_check_off_disable_focused_holo_dark.png │ │ ├── btn_check_off_disable_holo_dark.png │ │ ├── btn_check_off_disabled_focused_holo_dark.png │ │ ├── btn_check_off_disabled_holo_dark.png │ │ ├── btn_check_off_focused_holo_dark.png │ │ ├── btn_check_off_holo_dark.png │ │ ├── btn_check_off_normal_holo_dark.png │ │ ├── btn_check_off_pressed_holo_dark.png │ │ ├── btn_check_on_disable_holo_dark.png │ │ ├── btn_check_on_disabled_focused_holo_dark.png │ │ ├── btn_check_on_disabled_holo_dark.png │ │ ├── btn_check_on_focused_holo_dark.png │ │ ├── btn_check_on_holo_dark.png │ │ ├── btn_check_on_pressed_holo_dark.png │ │ ├── btn_default_disabled_focused_holo_dark.9.png │ │ ├── btn_default_disabled_holo_dark.9.png │ │ ├── btn_default_focused_holo_dark.9.png │ │ ├── btn_default_normal_holo_dark.9.png │ │ ├── btn_default_pressed_holo_dark.9.png │ │ ├── ic_action_search.png │ │ ├── ic_launcher.png │ │ ├── ic_stat.png │ │ ├── spinner_default_holo_dark.9.png │ │ ├── spinner_disabled_holo_dark.9.png │ │ ├── spinner_focused_holo_dark.9.png │ │ └── spinner_pressed_holo_dark.9.png │ ├── drawable-ldpi │ │ ├── ic_launcher.png │ │ └── ic_stat.png │ ├── drawable-mdpi │ │ ├── btn_check_off_disable_focused_holo_dark.png │ │ ├── btn_check_off_disable_holo_dark.png │ │ ├── btn_check_off_disabled_focused_holo_dark.png │ │ ├── btn_check_off_disabled_holo_dark.png │ │ ├── btn_check_off_focused_holo_dark.png │ │ ├── btn_check_off_holo_dark.png │ │ ├── btn_check_off_normal_holo_dark.png │ │ ├── btn_check_off_pressed_holo_dark.png │ │ ├── btn_check_on_disable_holo_dark.png │ │ ├── btn_check_on_disabled_focused_holo_dark.png │ │ ├── btn_check_on_disabled_holo_dark.png │ │ ├── btn_check_on_focused_holo_dark.png │ │ ├── btn_check_on_holo_dark.png │ │ ├── btn_check_on_pressed_holo_dark.png │ │ ├── btn_default_disabled_focused_holo_dark.9.png │ │ ├── btn_default_disabled_holo_dark.9.png │ │ ├── btn_default_focused_holo_dark.9.png │ │ ├── btn_default_normal_holo_dark.9.png │ │ ├── btn_default_pressed_holo_dark.9.png │ │ ├── ic_action_search.png │ │ ├── ic_launcher.png │ │ ├── ic_stat.png │ │ ├── spinner_default_holo_dark.9.png │ │ ├── spinner_disabled_holo_dark.9.png │ │ ├── spinner_focused_holo_dark.9.png │ │ └── spinner_pressed_holo_dark.9.png │ ├── drawable-xhdpi │ │ ├── ic_action_search.png │ │ ├── ic_launcher.png │ │ └── ic_stat.png │ └── drawable │ │ ├── btn_check_off_disable_focused_holo_dark.png │ │ ├── btn_check_off_disable_holo_dark.png │ │ ├── btn_check_off_disabled_focused_holo_dark.png │ │ ├── btn_check_off_disabled_holo_dark.png │ │ ├── btn_check_off_focused_holo_dark.png │ │ ├── btn_check_off_holo_dark.png │ │ ├── btn_check_off_normal_holo_dark.png │ │ ├── btn_check_off_pressed_holo_dark.png │ │ ├── btn_check_on_disable_holo_dark.png │ │ ├── btn_check_on_disabled_focused_holo_dark.png │ │ ├── btn_check_on_disabled_holo_dark.png │ │ ├── btn_check_on_focused_holo_dark.png │ │ ├── btn_check_on_holo_dark.png │ │ ├── btn_check_on_pressed_holo_dark.png │ │ ├── spinner.png │ │ ├── spinner_default_holo_dark.9.png │ │ ├── spinner_disabled_holo_dark.9.png │ │ ├── spinner_focused_holo_dark.9.png │ │ └── spinner_pressed_holo_dark.9.png └── resources.ap_ ├── gen └── com │ └── stericson │ └── adbSecure │ ├── BuildConfig.java │ └── R.java ├── ic_launcher-web.png ├── libs ├── RootTools-2.5.jar └── android-support-v4.jar ├── proguard-project.txt ├── project.properties ├── res ├── color │ └── primary_text_holo_dark.xml ├── drawable-hdpi │ ├── btn_check_off_disable_focused_holo_dark.png │ ├── btn_check_off_disable_holo_dark.png │ ├── btn_check_off_disabled_focused_holo_dark.png │ ├── btn_check_off_disabled_holo_dark.png │ ├── btn_check_off_focused_holo_dark.png │ ├── btn_check_off_holo_dark.png │ ├── btn_check_off_normal_holo_dark.png │ ├── btn_check_off_pressed_holo_dark.png │ ├── btn_check_on_disable_holo_dark.png │ ├── btn_check_on_disabled_focused_holo_dark.png │ ├── btn_check_on_disabled_holo_dark.png │ ├── btn_check_on_focused_holo_dark.png │ ├── btn_check_on_holo_dark.png │ ├── btn_check_on_pressed_holo_dark.png │ ├── btn_default_disabled_focused_holo_dark.9.png │ ├── btn_default_disabled_holo_dark.9.png │ ├── btn_default_focused_holo_dark.9.png │ ├── btn_default_normal_holo_dark.9.png │ ├── btn_default_pressed_holo_dark.9.png │ ├── ic_action_search.png │ ├── ic_launcher.png │ ├── ic_stat.png │ ├── spinner_default_holo_dark.9.png │ ├── spinner_disabled_holo_dark.9.png │ ├── spinner_focused_holo_dark.9.png │ └── spinner_pressed_holo_dark.9.png ├── drawable-ldpi │ ├── ic_launcher.png │ └── ic_stat.png ├── drawable-mdpi │ ├── btn_check_off_disable_focused_holo_dark.png │ ├── btn_check_off_disable_holo_dark.png │ ├── btn_check_off_disabled_focused_holo_dark.png │ ├── btn_check_off_disabled_holo_dark.png │ ├── btn_check_off_focused_holo_dark.png │ ├── btn_check_off_holo_dark.png │ ├── btn_check_off_normal_holo_dark.png │ ├── btn_check_off_pressed_holo_dark.png │ ├── btn_check_on_disable_holo_dark.png │ ├── btn_check_on_disabled_focused_holo_dark.png │ ├── btn_check_on_disabled_holo_dark.png │ ├── btn_check_on_focused_holo_dark.png │ ├── btn_check_on_holo_dark.png │ ├── btn_check_on_pressed_holo_dark.png │ ├── btn_default_disabled_focused_holo_dark.9.png │ ├── btn_default_disabled_holo_dark.9.png │ ├── btn_default_focused_holo_dark.9.png │ ├── btn_default_normal_holo_dark.9.png │ ├── btn_default_pressed_holo_dark.9.png │ ├── ic_action_search.png │ ├── ic_launcher.png │ ├── ic_stat.png │ ├── spinner_default_holo_dark.9.png │ ├── spinner_disabled_holo_dark.9.png │ ├── spinner_focused_holo_dark.9.png │ └── spinner_pressed_holo_dark.9.png ├── drawable-xhdpi │ ├── ic_action_search.png │ ├── ic_launcher.png │ └── ic_stat.png ├── drawable │ ├── btn_check_holo_dark.xml │ ├── btn_check_off_disable_focused_holo_dark.png │ ├── btn_check_off_disable_holo_dark.png │ ├── btn_check_off_disabled_focused_holo_dark.png │ ├── btn_check_off_disabled_holo_dark.png │ ├── btn_check_off_focused_holo_dark.png │ ├── btn_check_off_holo_dark.png │ ├── btn_check_off_normal_holo_dark.png │ ├── btn_check_off_pressed_holo_dark.png │ ├── btn_check_on_disable_holo_dark.png │ ├── btn_check_on_disabled_focused_holo_dark.png │ ├── btn_check_on_disabled_holo_dark.png │ ├── btn_check_on_focused_holo_dark.png │ ├── btn_check_on_holo_dark.png │ ├── btn_check_on_pressed_holo_dark.png │ ├── btn_default_holo_dark.xml │ ├── roundedborder_black_translucent.xml │ ├── roundedborder_white_translucent.xml │ ├── spinner.png │ ├── spinner_background_holo_dark.xml │ ├── spinner_default_holo_dark.9.png │ ├── spinner_disabled_holo_dark.9.png │ ├── spinner_focused_holo_dark.9.png │ └── spinner_pressed_holo_dark.9.png ├── layout │ └── main.xml ├── menu │ └── main.xml ├── values-large │ └── dimens.xml ├── values │ ├── colors.xml │ ├── dimens.xml │ ├── strings.xml │ ├── styles.xml │ └── themes.xml └── xml │ ├── preferences.xml │ └── tasker_preferences.xml └── src └── com └── stericson └── adbSecure ├── Constants.java ├── Preferences.java ├── Tasker_edit.java ├── bundle └── BundleScrubber.java ├── receiver └── Receiver.java └── services ├── PreferenceService.java └── adbdSecureService.java /.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | adbSecure 4 | 5 | 6 | 7 | 8 | 9 | com.android.ide.eclipse.adt.ResourceManagerBuilder 10 | 11 | 12 | 13 | 14 | com.android.ide.eclipse.adt.PreCompilerBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.jdt.core.javabuilder 20 | 21 | 22 | 23 | 24 | com.android.ide.eclipse.adt.ApkBuilder 25 | 26 | 27 | 28 | 29 | 30 | com.android.ide.eclipse.adt.AndroidNature 31 | org.eclipse.jdt.core.javanature 32 | 33 | 34 | -------------------------------------------------------------------------------- /AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 5 | 6 | 9 | 10 | 11 | 12 | 16 | 17 | 18 | 19 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | AdbdSecure 2 | ========== 3 | 4 | Root required for this application! 5 | 6 | If you have a rooted phone and you have debugging enabled on your device then your device is at risk for attack! 7 | 8 | This project: https://github.com/kosborn/p2p-adb/ provides a set of tools for attacking your device from another device if you have debugging enabled on your phone. 9 | Here is a video showing what this application helps protect you from: https://www.youtube.com/watch?feature=player_detailpage&v=ah7DWawLax8#t=429s 10 | 11 | This application can help guard against this in conjunction with a password, pin, or pattern protected device. For this application to work and be effective you must have a lock screen enabled password, pin, or pattern lock. 12 | This application will turn adbd on when the phone is unlocked and will turn it off when the screen goes off. 13 | 14 | 15 | This application works with Tasker, you can use Tasker to enable and disable adbdSecure on a wide variety of different conditions. -------------------------------------------------------------------------------- /bin/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 5 | 6 | 9 | 10 | 11 | 12 | 16 | 17 | 18 | 19 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /bin/adbSecure.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/adbSecure.apk -------------------------------------------------------------------------------- /bin/classes.dex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/classes.dex -------------------------------------------------------------------------------- /bin/classes/com/stericson/adbSecure/BuildConfig.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/classes/com/stericson/adbSecure/BuildConfig.class -------------------------------------------------------------------------------- /bin/classes/com/stericson/adbSecure/Constants.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/classes/com/stericson/adbSecure/Constants.class -------------------------------------------------------------------------------- /bin/classes/com/stericson/adbSecure/Preferences$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/classes/com/stericson/adbSecure/Preferences$1.class -------------------------------------------------------------------------------- /bin/classes/com/stericson/adbSecure/Preferences$2.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/classes/com/stericson/adbSecure/Preferences$2.class -------------------------------------------------------------------------------- /bin/classes/com/stericson/adbSecure/Preferences$3.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/classes/com/stericson/adbSecure/Preferences$3.class -------------------------------------------------------------------------------- /bin/classes/com/stericson/adbSecure/Preferences.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/classes/com/stericson/adbSecure/Preferences.class -------------------------------------------------------------------------------- /bin/classes/com/stericson/adbSecure/R$attr.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/classes/com/stericson/adbSecure/R$attr.class -------------------------------------------------------------------------------- /bin/classes/com/stericson/adbSecure/R$color.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/classes/com/stericson/adbSecure/R$color.class -------------------------------------------------------------------------------- /bin/classes/com/stericson/adbSecure/R$dimen.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/classes/com/stericson/adbSecure/R$dimen.class -------------------------------------------------------------------------------- /bin/classes/com/stericson/adbSecure/R$drawable.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/classes/com/stericson/adbSecure/R$drawable.class -------------------------------------------------------------------------------- /bin/classes/com/stericson/adbSecure/R$id.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/classes/com/stericson/adbSecure/R$id.class -------------------------------------------------------------------------------- /bin/classes/com/stericson/adbSecure/R$layout.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/classes/com/stericson/adbSecure/R$layout.class -------------------------------------------------------------------------------- /bin/classes/com/stericson/adbSecure/R$menu.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/classes/com/stericson/adbSecure/R$menu.class -------------------------------------------------------------------------------- /bin/classes/com/stericson/adbSecure/R$string.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/classes/com/stericson/adbSecure/R$string.class -------------------------------------------------------------------------------- /bin/classes/com/stericson/adbSecure/R$style.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/classes/com/stericson/adbSecure/R$style.class -------------------------------------------------------------------------------- /bin/classes/com/stericson/adbSecure/R$xml.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/classes/com/stericson/adbSecure/R$xml.class -------------------------------------------------------------------------------- /bin/classes/com/stericson/adbSecure/R.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/classes/com/stericson/adbSecure/R.class -------------------------------------------------------------------------------- /bin/classes/com/stericson/adbSecure/Tasker_edit$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/classes/com/stericson/adbSecure/Tasker_edit$1.class -------------------------------------------------------------------------------- /bin/classes/com/stericson/adbSecure/Tasker_edit.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/classes/com/stericson/adbSecure/Tasker_edit.class -------------------------------------------------------------------------------- /bin/classes/com/stericson/adbSecure/bundle/BundleScrubber.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/classes/com/stericson/adbSecure/bundle/BundleScrubber.class -------------------------------------------------------------------------------- /bin/classes/com/stericson/adbSecure/receiver/Receiver.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/classes/com/stericson/adbSecure/receiver/Receiver.class -------------------------------------------------------------------------------- /bin/classes/com/stericson/adbSecure/services/PreferenceService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/classes/com/stericson/adbSecure/services/PreferenceService.class -------------------------------------------------------------------------------- /bin/classes/com/stericson/adbSecure/services/adbdSecureService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/classes/com/stericson/adbSecure/services/adbdSecureService.class -------------------------------------------------------------------------------- /bin/jarlist.cache: -------------------------------------------------------------------------------- 1 | # cache for current jar dependecy. DO NOT EDIT. 2 | # format is 3 | # Encoding is UTF-8 4 | -------------------------------------------------------------------------------- /bin/res/drawable-hdpi/btn_check_off_disable_focused_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/res/drawable-hdpi/btn_check_off_disable_focused_holo_dark.png -------------------------------------------------------------------------------- /bin/res/drawable-hdpi/btn_check_off_disable_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/res/drawable-hdpi/btn_check_off_disable_holo_dark.png -------------------------------------------------------------------------------- /bin/res/drawable-hdpi/btn_check_off_disabled_focused_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/res/drawable-hdpi/btn_check_off_disabled_focused_holo_dark.png -------------------------------------------------------------------------------- /bin/res/drawable-hdpi/btn_check_off_disabled_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/res/drawable-hdpi/btn_check_off_disabled_holo_dark.png -------------------------------------------------------------------------------- /bin/res/drawable-hdpi/btn_check_off_focused_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/res/drawable-hdpi/btn_check_off_focused_holo_dark.png -------------------------------------------------------------------------------- /bin/res/drawable-hdpi/btn_check_off_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/res/drawable-hdpi/btn_check_off_holo_dark.png -------------------------------------------------------------------------------- /bin/res/drawable-hdpi/btn_check_off_normal_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/res/drawable-hdpi/btn_check_off_normal_holo_dark.png -------------------------------------------------------------------------------- /bin/res/drawable-hdpi/btn_check_off_pressed_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/res/drawable-hdpi/btn_check_off_pressed_holo_dark.png -------------------------------------------------------------------------------- /bin/res/drawable-hdpi/btn_check_on_disable_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/res/drawable-hdpi/btn_check_on_disable_holo_dark.png -------------------------------------------------------------------------------- /bin/res/drawable-hdpi/btn_check_on_disabled_focused_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/res/drawable-hdpi/btn_check_on_disabled_focused_holo_dark.png -------------------------------------------------------------------------------- /bin/res/drawable-hdpi/btn_check_on_disabled_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/res/drawable-hdpi/btn_check_on_disabled_holo_dark.png -------------------------------------------------------------------------------- /bin/res/drawable-hdpi/btn_check_on_focused_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/res/drawable-hdpi/btn_check_on_focused_holo_dark.png -------------------------------------------------------------------------------- /bin/res/drawable-hdpi/btn_check_on_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/res/drawable-hdpi/btn_check_on_holo_dark.png -------------------------------------------------------------------------------- /bin/res/drawable-hdpi/btn_check_on_pressed_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/res/drawable-hdpi/btn_check_on_pressed_holo_dark.png -------------------------------------------------------------------------------- /bin/res/drawable-hdpi/btn_default_disabled_focused_holo_dark.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/res/drawable-hdpi/btn_default_disabled_focused_holo_dark.9.png -------------------------------------------------------------------------------- /bin/res/drawable-hdpi/btn_default_disabled_holo_dark.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/res/drawable-hdpi/btn_default_disabled_holo_dark.9.png -------------------------------------------------------------------------------- /bin/res/drawable-hdpi/btn_default_focused_holo_dark.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/res/drawable-hdpi/btn_default_focused_holo_dark.9.png -------------------------------------------------------------------------------- /bin/res/drawable-hdpi/btn_default_normal_holo_dark.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/res/drawable-hdpi/btn_default_normal_holo_dark.9.png -------------------------------------------------------------------------------- /bin/res/drawable-hdpi/btn_default_pressed_holo_dark.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/res/drawable-hdpi/btn_default_pressed_holo_dark.9.png -------------------------------------------------------------------------------- /bin/res/drawable-hdpi/ic_action_search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/res/drawable-hdpi/ic_action_search.png -------------------------------------------------------------------------------- /bin/res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /bin/res/drawable-hdpi/ic_stat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/res/drawable-hdpi/ic_stat.png -------------------------------------------------------------------------------- /bin/res/drawable-hdpi/spinner_default_holo_dark.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/res/drawable-hdpi/spinner_default_holo_dark.9.png -------------------------------------------------------------------------------- /bin/res/drawable-hdpi/spinner_disabled_holo_dark.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/res/drawable-hdpi/spinner_disabled_holo_dark.9.png -------------------------------------------------------------------------------- /bin/res/drawable-hdpi/spinner_focused_holo_dark.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/res/drawable-hdpi/spinner_focused_holo_dark.9.png -------------------------------------------------------------------------------- /bin/res/drawable-hdpi/spinner_pressed_holo_dark.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/res/drawable-hdpi/spinner_pressed_holo_dark.9.png -------------------------------------------------------------------------------- /bin/res/drawable-ldpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/res/drawable-ldpi/ic_launcher.png -------------------------------------------------------------------------------- /bin/res/drawable-ldpi/ic_stat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/res/drawable-ldpi/ic_stat.png -------------------------------------------------------------------------------- /bin/res/drawable-mdpi/btn_check_off_disable_focused_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/res/drawable-mdpi/btn_check_off_disable_focused_holo_dark.png -------------------------------------------------------------------------------- /bin/res/drawable-mdpi/btn_check_off_disable_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/res/drawable-mdpi/btn_check_off_disable_holo_dark.png -------------------------------------------------------------------------------- /bin/res/drawable-mdpi/btn_check_off_disabled_focused_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/res/drawable-mdpi/btn_check_off_disabled_focused_holo_dark.png -------------------------------------------------------------------------------- /bin/res/drawable-mdpi/btn_check_off_disabled_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/res/drawable-mdpi/btn_check_off_disabled_holo_dark.png -------------------------------------------------------------------------------- /bin/res/drawable-mdpi/btn_check_off_focused_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/res/drawable-mdpi/btn_check_off_focused_holo_dark.png -------------------------------------------------------------------------------- /bin/res/drawable-mdpi/btn_check_off_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/res/drawable-mdpi/btn_check_off_holo_dark.png -------------------------------------------------------------------------------- /bin/res/drawable-mdpi/btn_check_off_normal_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/res/drawable-mdpi/btn_check_off_normal_holo_dark.png -------------------------------------------------------------------------------- /bin/res/drawable-mdpi/btn_check_off_pressed_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/res/drawable-mdpi/btn_check_off_pressed_holo_dark.png -------------------------------------------------------------------------------- /bin/res/drawable-mdpi/btn_check_on_disable_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/res/drawable-mdpi/btn_check_on_disable_holo_dark.png -------------------------------------------------------------------------------- /bin/res/drawable-mdpi/btn_check_on_disabled_focused_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/res/drawable-mdpi/btn_check_on_disabled_focused_holo_dark.png -------------------------------------------------------------------------------- /bin/res/drawable-mdpi/btn_check_on_disabled_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/res/drawable-mdpi/btn_check_on_disabled_holo_dark.png -------------------------------------------------------------------------------- /bin/res/drawable-mdpi/btn_check_on_focused_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/res/drawable-mdpi/btn_check_on_focused_holo_dark.png -------------------------------------------------------------------------------- /bin/res/drawable-mdpi/btn_check_on_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/res/drawable-mdpi/btn_check_on_holo_dark.png -------------------------------------------------------------------------------- /bin/res/drawable-mdpi/btn_check_on_pressed_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/res/drawable-mdpi/btn_check_on_pressed_holo_dark.png -------------------------------------------------------------------------------- /bin/res/drawable-mdpi/btn_default_disabled_focused_holo_dark.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/res/drawable-mdpi/btn_default_disabled_focused_holo_dark.9.png -------------------------------------------------------------------------------- /bin/res/drawable-mdpi/btn_default_disabled_holo_dark.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/res/drawable-mdpi/btn_default_disabled_holo_dark.9.png -------------------------------------------------------------------------------- /bin/res/drawable-mdpi/btn_default_focused_holo_dark.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/res/drawable-mdpi/btn_default_focused_holo_dark.9.png -------------------------------------------------------------------------------- /bin/res/drawable-mdpi/btn_default_normal_holo_dark.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/res/drawable-mdpi/btn_default_normal_holo_dark.9.png -------------------------------------------------------------------------------- /bin/res/drawable-mdpi/btn_default_pressed_holo_dark.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/res/drawable-mdpi/btn_default_pressed_holo_dark.9.png -------------------------------------------------------------------------------- /bin/res/drawable-mdpi/ic_action_search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/res/drawable-mdpi/ic_action_search.png -------------------------------------------------------------------------------- /bin/res/drawable-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/res/drawable-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /bin/res/drawable-mdpi/ic_stat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/res/drawable-mdpi/ic_stat.png -------------------------------------------------------------------------------- /bin/res/drawable-mdpi/spinner_default_holo_dark.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/res/drawable-mdpi/spinner_default_holo_dark.9.png -------------------------------------------------------------------------------- /bin/res/drawable-mdpi/spinner_disabled_holo_dark.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/res/drawable-mdpi/spinner_disabled_holo_dark.9.png -------------------------------------------------------------------------------- /bin/res/drawable-mdpi/spinner_focused_holo_dark.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/res/drawable-mdpi/spinner_focused_holo_dark.9.png -------------------------------------------------------------------------------- /bin/res/drawable-mdpi/spinner_pressed_holo_dark.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/res/drawable-mdpi/spinner_pressed_holo_dark.9.png -------------------------------------------------------------------------------- /bin/res/drawable-xhdpi/ic_action_search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/res/drawable-xhdpi/ic_action_search.png -------------------------------------------------------------------------------- /bin/res/drawable-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/res/drawable-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /bin/res/drawable-xhdpi/ic_stat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/res/drawable-xhdpi/ic_stat.png -------------------------------------------------------------------------------- /bin/res/drawable/btn_check_off_disable_focused_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/res/drawable/btn_check_off_disable_focused_holo_dark.png -------------------------------------------------------------------------------- /bin/res/drawable/btn_check_off_disable_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/res/drawable/btn_check_off_disable_holo_dark.png -------------------------------------------------------------------------------- /bin/res/drawable/btn_check_off_disabled_focused_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/res/drawable/btn_check_off_disabled_focused_holo_dark.png -------------------------------------------------------------------------------- /bin/res/drawable/btn_check_off_disabled_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/res/drawable/btn_check_off_disabled_holo_dark.png -------------------------------------------------------------------------------- /bin/res/drawable/btn_check_off_focused_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/res/drawable/btn_check_off_focused_holo_dark.png -------------------------------------------------------------------------------- /bin/res/drawable/btn_check_off_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/res/drawable/btn_check_off_holo_dark.png -------------------------------------------------------------------------------- /bin/res/drawable/btn_check_off_normal_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/res/drawable/btn_check_off_normal_holo_dark.png -------------------------------------------------------------------------------- /bin/res/drawable/btn_check_off_pressed_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/res/drawable/btn_check_off_pressed_holo_dark.png -------------------------------------------------------------------------------- /bin/res/drawable/btn_check_on_disable_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/res/drawable/btn_check_on_disable_holo_dark.png -------------------------------------------------------------------------------- /bin/res/drawable/btn_check_on_disabled_focused_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/res/drawable/btn_check_on_disabled_focused_holo_dark.png -------------------------------------------------------------------------------- /bin/res/drawable/btn_check_on_disabled_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/res/drawable/btn_check_on_disabled_holo_dark.png -------------------------------------------------------------------------------- /bin/res/drawable/btn_check_on_focused_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/res/drawable/btn_check_on_focused_holo_dark.png -------------------------------------------------------------------------------- /bin/res/drawable/btn_check_on_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/res/drawable/btn_check_on_holo_dark.png -------------------------------------------------------------------------------- /bin/res/drawable/btn_check_on_pressed_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/res/drawable/btn_check_on_pressed_holo_dark.png -------------------------------------------------------------------------------- /bin/res/drawable/spinner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/res/drawable/spinner.png -------------------------------------------------------------------------------- /bin/res/drawable/spinner_default_holo_dark.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/res/drawable/spinner_default_holo_dark.9.png -------------------------------------------------------------------------------- /bin/res/drawable/spinner_disabled_holo_dark.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/res/drawable/spinner_disabled_holo_dark.9.png -------------------------------------------------------------------------------- /bin/res/drawable/spinner_focused_holo_dark.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/res/drawable/spinner_focused_holo_dark.9.png -------------------------------------------------------------------------------- /bin/res/drawable/spinner_pressed_holo_dark.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/res/drawable/spinner_pressed_holo_dark.9.png -------------------------------------------------------------------------------- /bin/resources.ap_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/bin/resources.ap_ -------------------------------------------------------------------------------- /gen/com/stericson/adbSecure/BuildConfig.java: -------------------------------------------------------------------------------- 1 | /** Automatically generated file. DO NOT MODIFY */ 2 | package com.stericson.adbSecure; 3 | 4 | public final class BuildConfig { 5 | public final static boolean DEBUG = true; 6 | } -------------------------------------------------------------------------------- /gen/com/stericson/adbSecure/R.java: -------------------------------------------------------------------------------- 1 | /* AUTO-GENERATED FILE. DO NOT MODIFY. 2 | * 3 | * This class was automatically generated by the 4 | * aapt tool from the resource data it found. It 5 | * should not be modified by hand. 6 | */ 7 | 8 | package com.stericson.adbSecure; 9 | 10 | public final class R { 11 | public static final class attr { 12 | } 13 | public static final class color { 14 | public static final int background_holo_dark=0x7f050000; 15 | public static final int background_holo_light=0x7f050001; 16 | public static final int bright_foreground_disabled_holo_dark=0x7f050004; 17 | public static final int bright_foreground_disabled_holo_light=0x7f050005; 18 | public static final int bright_foreground_holo_dark=0x7f050002; 19 | public static final int bright_foreground_holo_light=0x7f050003; 20 | public static final int bright_foreground_inverse_holo_dark=0x7f050006; 21 | public static final int bright_foreground_inverse_holo_light=0x7f050007; 22 | public static final int dim_foreground_disabled_holo_dark=0x7f050009; 23 | public static final int dim_foreground_disabled_holo_light=0x7f05000e; 24 | public static final int dim_foreground_holo_dark=0x7f050008; 25 | public static final int dim_foreground_holo_light=0x7f05000d; 26 | public static final int dim_foreground_inverse_disabled_holo_dark=0x7f05000b; 27 | public static final int dim_foreground_inverse_disabled_holo_light=0x7f050010; 28 | public static final int dim_foreground_inverse_holo_dark=0x7f05000a; 29 | public static final int dim_foreground_inverse_holo_light=0x7f05000f; 30 | public static final int highlighted_text_holo_dark=0x7f050012; 31 | public static final int highlighted_text_holo_light=0x7f050013; 32 | public static final int hint_foreground_holo_dark=0x7f05000c; 33 | public static final int hint_foreground_holo_light=0x7f050011; 34 | public static final int link_text_holo_dark=0x7f050014; 35 | public static final int link_text_holo_light=0x7f050015; 36 | public static final int primary_text_holo_dark=0x7f050016; 37 | } 38 | public static final class dimen { 39 | public static final int padding_large=0x7f060002; 40 | public static final int padding_medium=0x7f060001; 41 | public static final int padding_small=0x7f060000; 42 | } 43 | public static final class drawable { 44 | public static final int btn_check_holo_dark=0x7f020000; 45 | public static final int btn_check_off_disable_focused_holo_dark=0x7f020001; 46 | public static final int btn_check_off_disable_holo_dark=0x7f020002; 47 | public static final int btn_check_off_disabled_focused_holo_dark=0x7f020003; 48 | public static final int btn_check_off_disabled_holo_dark=0x7f020004; 49 | public static final int btn_check_off_focused_holo_dark=0x7f020005; 50 | public static final int btn_check_off_holo_dark=0x7f020006; 51 | public static final int btn_check_off_normal_holo_dark=0x7f020007; 52 | public static final int btn_check_off_pressed_holo_dark=0x7f020008; 53 | public static final int btn_check_on_disable_holo_dark=0x7f020009; 54 | public static final int btn_check_on_disabled_focused_holo_dark=0x7f02000a; 55 | public static final int btn_check_on_disabled_holo_dark=0x7f02000b; 56 | public static final int btn_check_on_focused_holo_dark=0x7f02000c; 57 | public static final int btn_check_on_holo_dark=0x7f02000d; 58 | public static final int btn_check_on_pressed_holo_dark=0x7f02000e; 59 | public static final int btn_default_disabled_focused_holo_dark=0x7f02000f; 60 | public static final int btn_default_disabled_holo_dark=0x7f020010; 61 | public static final int btn_default_focused_holo_dark=0x7f020011; 62 | public static final int btn_default_holo_dark=0x7f020012; 63 | public static final int btn_default_normal_holo_dark=0x7f020013; 64 | public static final int btn_default_pressed_holo_dark=0x7f020014; 65 | public static final int ic_action_search=0x7f020015; 66 | public static final int ic_launcher=0x7f020016; 67 | public static final int ic_stat=0x7f020017; 68 | public static final int roundedborder_black_translucent=0x7f020018; 69 | public static final int roundedborder_white_translucent=0x7f020019; 70 | public static final int screen_background_holo_dark=0x7f020021; 71 | /** For holo theme 72 | */ 73 | public static final int screen_background_holo_light=0x7f020020; 74 | public static final int spinner=0x7f02001a; 75 | public static final int spinner_background_holo_dark=0x7f02001b; 76 | public static final int spinner_default_holo_dark=0x7f02001c; 77 | public static final int spinner_disabled_holo_dark=0x7f02001d; 78 | public static final int spinner_focused_holo_dark=0x7f02001e; 79 | public static final int spinner_pressed_holo_dark=0x7f02001f; 80 | } 81 | public static final class id { 82 | public static final int menu_settings=0x7f0a0000; 83 | } 84 | public static final class layout { 85 | public static final int main=0x7f030000; 86 | } 87 | public static final class menu { 88 | public static final int main=0x7f090000; 89 | } 90 | public static final class string { 91 | public static final int app_name=0x7f070000; 92 | public static final int menu_settings=0x7f070001; 93 | } 94 | public static final class style { 95 | public static final int Button=0x7f080001; 96 | public static final int CheckBox=0x7f080000; 97 | public static final int CustomButton=0x7f080004; 98 | public static final int Spinner=0x7f080002; 99 | public static final int Widget_TextView_SpinnerItem=0x7f080003; 100 | } 101 | public static final class xml { 102 | public static final int preferences=0x7f040000; 103 | public static final int tasker_preferences=0x7f040001; 104 | } 105 | } 106 | -------------------------------------------------------------------------------- /ic_launcher-web.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/ic_launcher-web.png -------------------------------------------------------------------------------- /libs/RootTools-2.5.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/libs/RootTools-2.5.jar -------------------------------------------------------------------------------- /libs/android-support-v4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/libs/android-support-v4.jar -------------------------------------------------------------------------------- /proguard-project.txt: -------------------------------------------------------------------------------- 1 | # To enable ProGuard in your project, edit project.properties 2 | # to define the proguard.config property as described in that file. 3 | # 4 | # Add project specific ProGuard rules here. 5 | # By default, the flags in this file are appended to flags specified 6 | # in ${sdk.dir}/tools/proguard/proguard-android.txt 7 | # You can edit the include path and order by changing the ProGuard 8 | # include property in project.properties. 9 | # 10 | # For more details, see 11 | # http://developer.android.com/guide/developing/tools/proguard.html 12 | 13 | # Add any project specific keep options here: 14 | 15 | # If your project uses WebView with JS, uncomment the following 16 | # and specify the fully qualified class name to the JavaScript interface 17 | # class: 18 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 19 | # public *; 20 | #} 21 | -------------------------------------------------------------------------------- /project.properties: -------------------------------------------------------------------------------- 1 | # This file is automatically generated by Android Tools. 2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED! 3 | # 4 | # This file must be checked in Version Control Systems. 5 | # 6 | # To customize properties used by the Ant build system edit 7 | # "ant.properties", and override values to adapt the script to your 8 | # project structure. 9 | # 10 | # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): 11 | #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt 12 | 13 | # Project target. 14 | target=Google Inc.:Google APIs:16 15 | -------------------------------------------------------------------------------- /res/color/primary_text_holo_dark.xml: -------------------------------------------------------------------------------- 1 | 2 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /res/drawable-hdpi/btn_check_off_disable_focused_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/res/drawable-hdpi/btn_check_off_disable_focused_holo_dark.png -------------------------------------------------------------------------------- /res/drawable-hdpi/btn_check_off_disable_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/res/drawable-hdpi/btn_check_off_disable_holo_dark.png -------------------------------------------------------------------------------- /res/drawable-hdpi/btn_check_off_disabled_focused_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/res/drawable-hdpi/btn_check_off_disabled_focused_holo_dark.png -------------------------------------------------------------------------------- /res/drawable-hdpi/btn_check_off_disabled_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/res/drawable-hdpi/btn_check_off_disabled_holo_dark.png -------------------------------------------------------------------------------- /res/drawable-hdpi/btn_check_off_focused_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/res/drawable-hdpi/btn_check_off_focused_holo_dark.png -------------------------------------------------------------------------------- /res/drawable-hdpi/btn_check_off_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/res/drawable-hdpi/btn_check_off_holo_dark.png -------------------------------------------------------------------------------- /res/drawable-hdpi/btn_check_off_normal_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/res/drawable-hdpi/btn_check_off_normal_holo_dark.png -------------------------------------------------------------------------------- /res/drawable-hdpi/btn_check_off_pressed_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/res/drawable-hdpi/btn_check_off_pressed_holo_dark.png -------------------------------------------------------------------------------- /res/drawable-hdpi/btn_check_on_disable_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/res/drawable-hdpi/btn_check_on_disable_holo_dark.png -------------------------------------------------------------------------------- /res/drawable-hdpi/btn_check_on_disabled_focused_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/res/drawable-hdpi/btn_check_on_disabled_focused_holo_dark.png -------------------------------------------------------------------------------- /res/drawable-hdpi/btn_check_on_disabled_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/res/drawable-hdpi/btn_check_on_disabled_holo_dark.png -------------------------------------------------------------------------------- /res/drawable-hdpi/btn_check_on_focused_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/res/drawable-hdpi/btn_check_on_focused_holo_dark.png -------------------------------------------------------------------------------- /res/drawable-hdpi/btn_check_on_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/res/drawable-hdpi/btn_check_on_holo_dark.png -------------------------------------------------------------------------------- /res/drawable-hdpi/btn_check_on_pressed_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/res/drawable-hdpi/btn_check_on_pressed_holo_dark.png -------------------------------------------------------------------------------- /res/drawable-hdpi/btn_default_disabled_focused_holo_dark.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/res/drawable-hdpi/btn_default_disabled_focused_holo_dark.9.png -------------------------------------------------------------------------------- /res/drawable-hdpi/btn_default_disabled_holo_dark.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/res/drawable-hdpi/btn_default_disabled_holo_dark.9.png -------------------------------------------------------------------------------- /res/drawable-hdpi/btn_default_focused_holo_dark.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/res/drawable-hdpi/btn_default_focused_holo_dark.9.png -------------------------------------------------------------------------------- /res/drawable-hdpi/btn_default_normal_holo_dark.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/res/drawable-hdpi/btn_default_normal_holo_dark.9.png -------------------------------------------------------------------------------- /res/drawable-hdpi/btn_default_pressed_holo_dark.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/res/drawable-hdpi/btn_default_pressed_holo_dark.9.png -------------------------------------------------------------------------------- /res/drawable-hdpi/ic_action_search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/res/drawable-hdpi/ic_action_search.png -------------------------------------------------------------------------------- /res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /res/drawable-hdpi/ic_stat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/res/drawable-hdpi/ic_stat.png -------------------------------------------------------------------------------- /res/drawable-hdpi/spinner_default_holo_dark.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/res/drawable-hdpi/spinner_default_holo_dark.9.png -------------------------------------------------------------------------------- /res/drawable-hdpi/spinner_disabled_holo_dark.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/res/drawable-hdpi/spinner_disabled_holo_dark.9.png -------------------------------------------------------------------------------- /res/drawable-hdpi/spinner_focused_holo_dark.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/res/drawable-hdpi/spinner_focused_holo_dark.9.png -------------------------------------------------------------------------------- /res/drawable-hdpi/spinner_pressed_holo_dark.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/res/drawable-hdpi/spinner_pressed_holo_dark.9.png -------------------------------------------------------------------------------- /res/drawable-ldpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/res/drawable-ldpi/ic_launcher.png -------------------------------------------------------------------------------- /res/drawable-ldpi/ic_stat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/res/drawable-ldpi/ic_stat.png -------------------------------------------------------------------------------- /res/drawable-mdpi/btn_check_off_disable_focused_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/res/drawable-mdpi/btn_check_off_disable_focused_holo_dark.png -------------------------------------------------------------------------------- /res/drawable-mdpi/btn_check_off_disable_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/res/drawable-mdpi/btn_check_off_disable_holo_dark.png -------------------------------------------------------------------------------- /res/drawable-mdpi/btn_check_off_disabled_focused_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/res/drawable-mdpi/btn_check_off_disabled_focused_holo_dark.png -------------------------------------------------------------------------------- /res/drawable-mdpi/btn_check_off_disabled_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/res/drawable-mdpi/btn_check_off_disabled_holo_dark.png -------------------------------------------------------------------------------- /res/drawable-mdpi/btn_check_off_focused_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/res/drawable-mdpi/btn_check_off_focused_holo_dark.png -------------------------------------------------------------------------------- /res/drawable-mdpi/btn_check_off_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/res/drawable-mdpi/btn_check_off_holo_dark.png -------------------------------------------------------------------------------- /res/drawable-mdpi/btn_check_off_normal_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/res/drawable-mdpi/btn_check_off_normal_holo_dark.png -------------------------------------------------------------------------------- /res/drawable-mdpi/btn_check_off_pressed_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/res/drawable-mdpi/btn_check_off_pressed_holo_dark.png -------------------------------------------------------------------------------- /res/drawable-mdpi/btn_check_on_disable_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/res/drawable-mdpi/btn_check_on_disable_holo_dark.png -------------------------------------------------------------------------------- /res/drawable-mdpi/btn_check_on_disabled_focused_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/res/drawable-mdpi/btn_check_on_disabled_focused_holo_dark.png -------------------------------------------------------------------------------- /res/drawable-mdpi/btn_check_on_disabled_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/res/drawable-mdpi/btn_check_on_disabled_holo_dark.png -------------------------------------------------------------------------------- /res/drawable-mdpi/btn_check_on_focused_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/res/drawable-mdpi/btn_check_on_focused_holo_dark.png -------------------------------------------------------------------------------- /res/drawable-mdpi/btn_check_on_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/res/drawable-mdpi/btn_check_on_holo_dark.png -------------------------------------------------------------------------------- /res/drawable-mdpi/btn_check_on_pressed_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/res/drawable-mdpi/btn_check_on_pressed_holo_dark.png -------------------------------------------------------------------------------- /res/drawable-mdpi/btn_default_disabled_focused_holo_dark.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/res/drawable-mdpi/btn_default_disabled_focused_holo_dark.9.png -------------------------------------------------------------------------------- /res/drawable-mdpi/btn_default_disabled_holo_dark.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/res/drawable-mdpi/btn_default_disabled_holo_dark.9.png -------------------------------------------------------------------------------- /res/drawable-mdpi/btn_default_focused_holo_dark.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/res/drawable-mdpi/btn_default_focused_holo_dark.9.png -------------------------------------------------------------------------------- /res/drawable-mdpi/btn_default_normal_holo_dark.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/res/drawable-mdpi/btn_default_normal_holo_dark.9.png -------------------------------------------------------------------------------- /res/drawable-mdpi/btn_default_pressed_holo_dark.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/res/drawable-mdpi/btn_default_pressed_holo_dark.9.png -------------------------------------------------------------------------------- /res/drawable-mdpi/ic_action_search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/res/drawable-mdpi/ic_action_search.png -------------------------------------------------------------------------------- /res/drawable-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/res/drawable-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /res/drawable-mdpi/ic_stat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/res/drawable-mdpi/ic_stat.png -------------------------------------------------------------------------------- /res/drawable-mdpi/spinner_default_holo_dark.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/res/drawable-mdpi/spinner_default_holo_dark.9.png -------------------------------------------------------------------------------- /res/drawable-mdpi/spinner_disabled_holo_dark.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/res/drawable-mdpi/spinner_disabled_holo_dark.9.png -------------------------------------------------------------------------------- /res/drawable-mdpi/spinner_focused_holo_dark.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/res/drawable-mdpi/spinner_focused_holo_dark.9.png -------------------------------------------------------------------------------- /res/drawable-mdpi/spinner_pressed_holo_dark.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/res/drawable-mdpi/spinner_pressed_holo_dark.9.png -------------------------------------------------------------------------------- /res/drawable-xhdpi/ic_action_search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/res/drawable-xhdpi/ic_action_search.png -------------------------------------------------------------------------------- /res/drawable-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/res/drawable-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /res/drawable-xhdpi/ic_stat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/res/drawable-xhdpi/ic_stat.png -------------------------------------------------------------------------------- /res/drawable/btn_check_holo_dark.xml: -------------------------------------------------------------------------------- 1 | 2 | 16 | 17 | 18 | 19 | 20 | 21 | 24 | 27 | 28 | 31 | 34 | 35 | 38 | 41 | 42 | 45 | 48 | 49 | 50 | 51 | 52 | 54 | 56 | 57 | 59 | 61 | 62 | 63 | 64 | 65 | 66 | -------------------------------------------------------------------------------- /res/drawable/btn_check_off_disable_focused_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/res/drawable/btn_check_off_disable_focused_holo_dark.png -------------------------------------------------------------------------------- /res/drawable/btn_check_off_disable_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/res/drawable/btn_check_off_disable_holo_dark.png -------------------------------------------------------------------------------- /res/drawable/btn_check_off_disabled_focused_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/res/drawable/btn_check_off_disabled_focused_holo_dark.png -------------------------------------------------------------------------------- /res/drawable/btn_check_off_disabled_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/res/drawable/btn_check_off_disabled_holo_dark.png -------------------------------------------------------------------------------- /res/drawable/btn_check_off_focused_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/res/drawable/btn_check_off_focused_holo_dark.png -------------------------------------------------------------------------------- /res/drawable/btn_check_off_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/res/drawable/btn_check_off_holo_dark.png -------------------------------------------------------------------------------- /res/drawable/btn_check_off_normal_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/res/drawable/btn_check_off_normal_holo_dark.png -------------------------------------------------------------------------------- /res/drawable/btn_check_off_pressed_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/res/drawable/btn_check_off_pressed_holo_dark.png -------------------------------------------------------------------------------- /res/drawable/btn_check_on_disable_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/res/drawable/btn_check_on_disable_holo_dark.png -------------------------------------------------------------------------------- /res/drawable/btn_check_on_disabled_focused_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/res/drawable/btn_check_on_disabled_focused_holo_dark.png -------------------------------------------------------------------------------- /res/drawable/btn_check_on_disabled_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/res/drawable/btn_check_on_disabled_holo_dark.png -------------------------------------------------------------------------------- /res/drawable/btn_check_on_focused_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/res/drawable/btn_check_on_focused_holo_dark.png -------------------------------------------------------------------------------- /res/drawable/btn_check_on_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/res/drawable/btn_check_on_holo_dark.png -------------------------------------------------------------------------------- /res/drawable/btn_check_on_pressed_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/res/drawable/btn_check_on_pressed_holo_dark.png -------------------------------------------------------------------------------- /res/drawable/btn_default_holo_dark.xml: -------------------------------------------------------------------------------- 1 | 2 | 16 | 17 | 18 | 20 | 22 | 24 | 26 | 28 | 30 | 32 | -------------------------------------------------------------------------------- /res/drawable/roundedborder_black_translucent.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /res/drawable/roundedborder_white_translucent.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /res/drawable/spinner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/res/drawable/spinner.png -------------------------------------------------------------------------------- /res/drawable/spinner_background_holo_dark.xml: -------------------------------------------------------------------------------- 1 | 2 | 16 | 17 | 18 | 20 | 22 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /res/drawable/spinner_default_holo_dark.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/res/drawable/spinner_default_holo_dark.9.png -------------------------------------------------------------------------------- /res/drawable/spinner_disabled_holo_dark.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/res/drawable/spinner_disabled_holo_dark.9.png -------------------------------------------------------------------------------- /res/drawable/spinner_focused_holo_dark.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/res/drawable/spinner_focused_holo_dark.9.png -------------------------------------------------------------------------------- /res/drawable/spinner_pressed_holo_dark.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Stericson/AdbdSecure/b401cfe48fefb717c57e4d9ea4ae87f02f5a4984/res/drawable/spinner_pressed_holo_dark.9.png -------------------------------------------------------------------------------- /res/layout/main.xml: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /res/menu/main.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | -------------------------------------------------------------------------------- /res/values-large/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8dp 4 | 16dp 5 | 16dp 6 | 7 | -------------------------------------------------------------------------------- /res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | #fff3f3f3 5 | #ff000000 6 | #ff000000 7 | #fff3f3f3 8 | @color/background_holo_light 9 | @color/background_holo_dark 10 | #ff4c4c4c 11 | #ffb2b2b2 12 | @color/bright_foreground_holo_light 13 | @color/bright_foreground_holo_dark 14 | #bebebe 15 | #80bebebe 16 | #323232 17 | #80323232 18 | #808080 19 | #323232 20 | #80323232 21 | #bebebe 22 | #80bebebe 23 | #808080 24 | #6633b5e5 25 | #6633b5e5 26 | #5c5cff 27 | #0000ee 28 | 29 | -------------------------------------------------------------------------------- /res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8dp 4 | 8dp 5 | 16dp 6 | 7 | -------------------------------------------------------------------------------- /res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | adbdSecure 5 | Menu Settings 6 | -------------------------------------------------------------------------------- /res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 15 | 16 | 23 | 24 | 27 | -------------------------------------------------------------------------------- /res/values/themes.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | -------------------------------------------------------------------------------- /res/xml/preferences.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 9 | 10 | 11 | 12 | 13 | 18 | 19 | 20 | 21 | 22 | 27 | 28 | 29 | 30 | 35 | 36 | 41 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /res/xml/tasker_preferences.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /src/com/stericson/adbSecure/Constants.java: -------------------------------------------------------------------------------- 1 | package com.stericson.adbSecure; 2 | 3 | public class Constants 4 | { 5 | public static String PREF_NAME = "adbdSecure"; 6 | public static final int NOTIFICATION = 984797239; 7 | public static final String BUNDLE_EXTRA_BUNDLE = "com.twofortyfouram.locale.intent.extra.BUNDLE"; 8 | public static final String BUNDLE_EXTRA_BOOLEAN_ENABLE = "bundle_extra_boolean_enable"; 9 | public static final String BUNDLE_EXTRA_STRING_BLURB = "com.twofortyfouram.locale.intent.extra.BLURB"; 10 | public static final String key = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAk78EBO78KPQkOCo2SCPqImOv6ViRmY7Vy/d5xOi1+B1mJEWtHreHxrDw9sdyVaxbd3X/PnFIUQzj2Qk159RMP7p2lIiJ1yYVyifOciVV1f4r2z7llCKMJYCVVe0k+9P5SVEWZWoV+5QqJqm06pZ12ChsMNUN+3JujIUtiCARVn4wBmCT+eXfHcxmhyVfnE4a+3FlLGYrnCKE2B6AhcHXJXfPaW3K4P6JMDbWGoxO6yM/qPHqsfbsZK45Ooaqs1To2Oe6b7SaaAxAXPGipTCzQ7x8BRnMLkTMoLVDN0ABVlCgYpcWB9HysPALIXstSUWeGnF4WptkAfc34sQZm42DsQIDAQAB"; 11 | 12 | } 13 | -------------------------------------------------------------------------------- /src/com/stericson/adbSecure/Preferences.java: -------------------------------------------------------------------------------- 1 | package com.stericson.adbSecure; 2 | 3 | import android.app.Notification; 4 | import android.app.NotificationManager; 5 | import android.app.PendingIntent; 6 | import android.content.ComponentName; 7 | import android.content.Context; 8 | import android.content.Intent; 9 | import android.os.Bundle; 10 | import android.preference.CheckBoxPreference; 11 | import android.preference.Preference; 12 | import android.preference.Preference.OnPreferenceChangeListener; 13 | import android.preference.Preference.OnPreferenceClickListener; 14 | import android.preference.PreferenceActivity; 15 | import android.provider.Settings; 16 | 17 | import com.stericson.adbSecure.services.PreferenceService; 18 | import com.stericson.adbSecure.services.adbdSecureService; 19 | 20 | public class Preferences extends PreferenceActivity { 21 | 22 | PreferenceService p; 23 | 24 | @Override 25 | public void onCreate(Bundle savedInstanceState) { 26 | super.onCreate(savedInstanceState); 27 | addPreferencesFromResource(R.xml.preferences); 28 | 29 | p = new PreferenceService(this); 30 | 31 | Preference secure = (Preference) this.findPreference("secure"); 32 | secure.setOnPreferenceClickListener(new OnPreferenceClickListener() { 33 | 34 | public boolean onPreferenceClick(Preference preference) { 35 | 36 | try 37 | { 38 | ComponentName c = new ComponentName("com.android.settings","com.android.settings.SecuritySettings"); 39 | 40 | Intent i = new Intent(Settings.ACTION_SECURITY_SETTINGS); 41 | i.addCategory(Intent.CATEGORY_LAUNCHER); 42 | i.setComponent(c); 43 | i.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); 44 | startActivity(i); 45 | } 46 | catch (Exception ignore) {} 47 | 48 | return true; 49 | } 50 | 51 | }); 52 | 53 | CheckBoxPreference protecting = (CheckBoxPreference) this.findPreference("protecting"); 54 | protecting.setOnPreferenceChangeListener(new OnPreferenceChangeListener() { 55 | 56 | public boolean onPreferenceChange(Preference preference, 57 | Object newValue) { 58 | 59 | try { 60 | Boolean val = (Boolean)newValue; 61 | 62 | if (val) { 63 | Intent intent = new Intent(Preferences.this, adbdSecureService.class); 64 | 65 | //Try to start a new one. 66 | startService(intent); 67 | } else { 68 | Intent intent = new Intent(Preferences.this, adbdSecureService.class); 69 | 70 | //Try to stop an existing service.. 71 | stopService(intent); 72 | } 73 | } 74 | catch (Exception ignore) {} 75 | 76 | return true; 77 | } 78 | 79 | }); 80 | 81 | CheckBoxPreference statusbar_notify = (CheckBoxPreference) this.findPreference("statusbar_notify"); 82 | statusbar_notify.setOnPreferenceChangeListener(new OnPreferenceChangeListener() { 83 | 84 | public boolean onPreferenceChange(Preference preference, 85 | Object newValue) { 86 | 87 | try { 88 | Boolean val = (Boolean) newValue; 89 | 90 | if (val) { 91 | if (!adbdSecureService.isServiceRunning(Preferences.this)) { 92 | String ns = Context.NOTIFICATION_SERVICE; 93 | NotificationManager mNotificationManager = (NotificationManager) getSystemService(ns); 94 | 95 | Notification notification = new Notification(); 96 | notification.icon = R.drawable.ic_stat; 97 | notification.when = System.currentTimeMillis(); 98 | 99 | Intent notificationIntent = new Intent("com.stericson.intent.STOP_SERVICE"); 100 | PendingIntent contentIntent = PendingIntent.getBroadcast(Preferences.this, 0, notificationIntent, 0); 101 | 102 | notification.contentIntent = contentIntent; 103 | 104 | notification.flags |= Notification.FLAG_ONGOING_EVENT; 105 | 106 | notification.setLatestEventInfo(Preferences.this, "adbd protected", 107 | "Tap to end protection", contentIntent); 108 | 109 | mNotificationManager.notify(Constants.NOTIFICATION, notification); 110 | } 111 | } else { 112 | String ns = Context.NOTIFICATION_SERVICE; 113 | NotificationManager mNotificationManager = (NotificationManager) getSystemService(ns); 114 | // Cancel the persistent notification. 115 | mNotificationManager.cancelAll(); 116 | } 117 | } 118 | catch (Exception ignore) {} 119 | 120 | return true; 121 | } 122 | 123 | }); 124 | } 125 | 126 | @Override 127 | public void onResume() { 128 | super.onResume(); 129 | 130 | //Start the service if not running and we are protecting. 131 | if (!adbdSecureService.isServiceRunning(this) && p.isProtecting()) { 132 | Intent intent = new Intent(Preferences.this, adbdSecureService.class); 133 | 134 | //Try to start a new one. 135 | startService(intent); 136 | } 137 | } 138 | } 139 | -------------------------------------------------------------------------------- /src/com/stericson/adbSecure/Tasker_edit.java: -------------------------------------------------------------------------------- 1 | package com.stericson.adbSecure; 2 | 3 | import android.content.Intent; 4 | import android.os.Bundle; 5 | import android.preference.CheckBoxPreference; 6 | import android.preference.Preference; 7 | import android.preference.Preference.OnPreferenceChangeListener; 8 | import android.preference.PreferenceActivity; 9 | import android.widget.Toast; 10 | 11 | public class Tasker_edit extends PreferenceActivity { 12 | 13 | CheckBoxPreference protecting; 14 | 15 | @Override 16 | public void onCreate(Bundle savedInstanceState) { 17 | super.onCreate(savedInstanceState); 18 | addPreferencesFromResource(R.xml.tasker_preferences); 19 | 20 | Toast.makeText(this, "Hit the back button when you are done to finish configuration.", Toast.LENGTH_LONG).show(); 21 | 22 | protecting = (CheckBoxPreference) this.findPreference("unrelated"); 23 | protecting.setOnPreferenceChangeListener(new OnPreferenceChangeListener() { 24 | 25 | public boolean onPreferenceChange(Preference preference, 26 | Object newValue) { 27 | 28 | try { 29 | Boolean val = (Boolean)newValue; 30 | 31 | if (val) { 32 | 33 | } else { 34 | 35 | } 36 | } 37 | catch (Exception ignore) {} 38 | 39 | return true; 40 | } 41 | 42 | }); 43 | } 44 | 45 | @Override 46 | public void finish() 47 | { 48 | /* 49 | * This is the result Intent to Locale 50 | */ 51 | final Intent resultIntent = new Intent(); 52 | 53 | final Bundle resultBundle = new Bundle(); 54 | resultIntent.putExtra(Constants.BUNDLE_EXTRA_BUNDLE, resultBundle); 55 | 56 | resultBundle.putBoolean(Constants.BUNDLE_EXTRA_BOOLEAN_ENABLE, protecting.isChecked()); 57 | 58 | /* 59 | * This is the blurb concisely describing what your setting's state is. This is simply used 60 | * for display in the UI. 61 | */ 62 | resultIntent.putExtra(Constants.BUNDLE_EXTRA_STRING_BLURB, "adbdSecure service will be " + (protecting.isChecked() ? "enabled." : "disabled.")); 63 | 64 | setResult(RESULT_OK, resultIntent); 65 | 66 | super.finish(); 67 | } 68 | } 69 | -------------------------------------------------------------------------------- /src/com/stericson/adbSecure/bundle/BundleScrubber.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2012 two forty four a.m. LLC 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in 5 | * compliance with the License. You may obtain a copy of the License at 6 | * 7 | * 8 | * Unless required by applicable law or agreed to in writing, software distributed under the License is 9 | * distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 10 | * See the License for the specific language governing permissions and limitations under the License. 11 | */ 12 | 13 | package com.stericson.adbSecure.bundle; 14 | 15 | import android.content.Intent; 16 | import android.os.Bundle; 17 | 18 | /** 19 | * Helper class to scrub Bundles of invalid extras. This is a workaround for an Android bug: 20 | * . 21 | */ 22 | public final class BundleScrubber 23 | { 24 | 25 | /** 26 | * Scrubs Intents for private serializable subclasses in the Intent extras. If the Intent's extras contain 27 | * a private serializable subclass, the Bundle is cleared. The Bundle will not be set to null. If the 28 | * Bundle is null, has no extras, or the extras do not contain a private serializable subclass, the Bundle 29 | * is not mutated. 30 | * 31 | * @param intent {@code Intent} to scrub. This parameter may be mutated if scrubbing is necessary. This 32 | * parameter may be null. 33 | * @return true if the Intent was scrubbed, false if the Intent was not modified. 34 | */ 35 | public static boolean scrub(final Intent intent) 36 | { 37 | if (null == intent) 38 | { 39 | return false; 40 | } 41 | 42 | return scrub(intent.getExtras()); 43 | } 44 | 45 | /** 46 | * Scrubs Bundles for private serializable subclasses in the extras. If the Bundle's extras contain a 47 | * private serializable subclass, the Bundle is cleared. If the Bundle is null, has no extras, or the 48 | * extras do not contain a private serializable subclass, the Bundle is not mutated. 49 | * 50 | * @param bundle {@code Bundle} to scrub. This parameter may be mutated if scrubbing is necessary. This 51 | * parameter may be null. 52 | * @return true if the Bundle was scrubbed, false if the Bundle was not modified. 53 | */ 54 | public static boolean scrub(final Bundle bundle) 55 | { 56 | if (null == bundle) 57 | { 58 | return false; 59 | } 60 | 61 | /* 62 | * Note: This is a hack to work around a private serializable classloader attack 63 | */ 64 | try 65 | { 66 | // if a private serializable exists, this will throw an exception 67 | bundle.containsKey(null); 68 | } 69 | catch (final Exception e) 70 | { 71 | bundle.clear(); 72 | return true; 73 | } 74 | 75 | return false; 76 | } 77 | } -------------------------------------------------------------------------------- /src/com/stericson/adbSecure/receiver/Receiver.java: -------------------------------------------------------------------------------- 1 | package com.stericson.adbSecure.receiver; 2 | 3 | import android.content.BroadcastReceiver; 4 | import android.content.Context; 5 | import android.content.Intent; 6 | import android.os.Bundle; 7 | import android.widget.Toast; 8 | 9 | import com.stericson.RootTools.Command; 10 | import com.stericson.RootTools.CommandCapture; 11 | import com.stericson.RootTools.RootTools; 12 | import com.stericson.RootTools.Shell; 13 | import com.stericson.adbSecure.Constants; 14 | import com.stericson.adbSecure.bundle.BundleScrubber; 15 | import com.stericson.adbSecure.services.PreferenceService; 16 | import com.stericson.adbSecure.services.adbdSecureService; 17 | 18 | public class Receiver extends BroadcastReceiver 19 | { 20 | 21 | PreferenceService p; 22 | 23 | @Override 24 | public void onReceive(Context context, Intent intent) 25 | { 26 | p = new PreferenceService(context); 27 | 28 | if (intent.getAction() != null) { 29 | if (intent.getAction().equals(Intent.ACTION_USER_PRESENT)) { 30 | if (p.isProtecting() && adbdSecureService.isServiceRunning(context)) { 31 | Command command = new CommandCapture(0, "setprop persist.service.adb.enable 1", "start adbd"); 32 | 33 | try { 34 | Shell shell = RootTools.getShell(true); 35 | shell.add(command).waitForFinish(); 36 | 37 | if (p.isToastNotify()) 38 | Toast.makeText(context, "adbd reenabled!", Toast.LENGTH_LONG).show(); 39 | } 40 | catch (Exception e) {} 41 | } 42 | } 43 | else if (intent.getAction().equals(Intent.ACTION_SCREEN_OFF)) { 44 | if (p.isProtecting() && adbdSecureService.isServiceRunning(context)) { 45 | Command command = new CommandCapture(0, "setprop persist.service.adb.enable 0", "stop adbd"); 46 | 47 | try { 48 | Shell shell = RootTools.getShell(true); 49 | shell.add(command).waitForFinish(); 50 | 51 | if (p.isToastNotify()) 52 | Toast.makeText(context, "adbd disabled!", Toast.LENGTH_LONG).show(); 53 | } 54 | catch (Exception e) {} 55 | } 56 | } 57 | else if (intent.getAction().equals(Intent.ACTION_BOOT_COMPLETED)) { 58 | if (p.isOnBoot() && p.isProtecting()) { 59 | 60 | Intent intent2 = new Intent(context, adbdSecureService.class); 61 | 62 | //Try to stop an existing service.. 63 | context.stopService(intent2); 64 | 65 | //Try to start a new one. 66 | context.startService(intent2); 67 | } 68 | } 69 | else if (intent.getAction().equals("com.stericson.intent.STOP_SERVICE")) { 70 | 71 | Intent intent2 = new Intent(context, adbdSecureService.class); 72 | 73 | //Try to stop an existing service.. 74 | context.stopService(intent2); 75 | } 76 | /* 77 | * Locale guarantees that the Intent action will be ACTION_FIRE_SETTING 78 | */ 79 | else if (!intent.getAction().equals("com.twofortyfouram.locale.Intent.ACTION_FIRE_SETTING")) 80 | { 81 | 82 | /* 83 | * A hack to prevent a private serializable classloader attack 84 | */ 85 | BundleScrubber.scrub(intent); 86 | BundleScrubber.scrub(intent.getBundleExtra(Constants.BUNDLE_EXTRA_BUNDLE)); 87 | 88 | final Bundle bundle = intent.getBundleExtra(Constants.BUNDLE_EXTRA_BUNDLE); 89 | 90 | if (bundle != null && bundle.containsKey(Constants.BUNDLE_EXTRA_BOOLEAN_ENABLE)) 91 | { 92 | if (bundle.getBoolean(Constants.BUNDLE_EXTRA_BOOLEAN_ENABLE)) 93 | { 94 | p.setProtecting(true); 95 | 96 | //Enable the service 97 | Intent intent2 = new Intent(context, adbdSecureService.class); 98 | 99 | //Try to stop an existing service.. 100 | context.stopService(intent2); 101 | 102 | //Try to start a new one. 103 | context.startService(intent2); 104 | } 105 | else 106 | { 107 | p.setProtecting(false); 108 | 109 | //Disable the service 110 | Intent intent2 = new Intent(context, adbdSecureService.class); 111 | 112 | //Try to stop an existing service.. 113 | context.stopService(intent2); 114 | } 115 | } 116 | 117 | } 118 | } 119 | } 120 | 121 | } 122 | -------------------------------------------------------------------------------- /src/com/stericson/adbSecure/services/PreferenceService.java: -------------------------------------------------------------------------------- 1 | package com.stericson.adbSecure.services; 2 | 3 | import android.content.Context; 4 | import android.content.SharedPreferences; 5 | import android.content.SharedPreferences.Editor; 6 | import android.preference.PreferenceManager; 7 | 8 | public class PreferenceService 9 | { 10 | //All encryption AND decryption happens here. 11 | 12 | private SharedPreferences sharedPreferences = null; 13 | private Editor editor = null; 14 | 15 | public PreferenceService(Context context) 16 | { 17 | sharedPreferences = PreferenceManager.getDefaultSharedPreferences(context); 18 | } 19 | 20 | public boolean isProtecting() 21 | { 22 | return sharedPreferences.getBoolean("protecting", true); 23 | } 24 | 25 | public void setProtecting(boolean protecting) 26 | { 27 | getEditor().putBoolean("protecting", protecting).commit(); 28 | } 29 | 30 | public boolean isOnBoot() 31 | { 32 | return sharedPreferences.getBoolean("onBoot", true); 33 | } 34 | 35 | public boolean isNotifyStatusBar() 36 | { 37 | return sharedPreferences.getBoolean("statusbar_notify", true); 38 | } 39 | 40 | public boolean isToastNotify() 41 | { 42 | return sharedPreferences.getBoolean("toast_notify", true); 43 | } 44 | 45 | public void commit() 46 | { 47 | getEditor().commit(); 48 | } 49 | 50 | private Editor getEditor() 51 | { 52 | if (editor == null) 53 | editor = sharedPreferences.edit(); 54 | return editor; 55 | } 56 | } 57 | -------------------------------------------------------------------------------- /src/com/stericson/adbSecure/services/adbdSecureService.java: -------------------------------------------------------------------------------- 1 | package com.stericson.adbSecure.services; 2 | 3 | import android.app.ActivityManager; 4 | import android.app.ActivityManager.RunningServiceInfo; 5 | import android.app.Notification; 6 | import android.app.NotificationManager; 7 | import android.app.PendingIntent; 8 | import android.app.Service; 9 | import android.content.BroadcastReceiver; 10 | import android.content.Context; 11 | import android.content.Intent; 12 | import android.content.IntentFilter; 13 | import android.os.IBinder; 14 | import android.widget.Toast; 15 | 16 | import com.stericson.adbSecure.Constants; 17 | import com.stericson.adbSecure.R; 18 | import com.stericson.adbSecure.receiver.Receiver; 19 | 20 | public class adbdSecureService extends Service 21 | { 22 | 23 | static PreferenceService p; 24 | static BroadcastReceiver mReceiver; 25 | 26 | @Override 27 | public void onCreate() { 28 | p = new PreferenceService(this); 29 | //I'll hand the notification on my own, however we want the service to be a foreground service 30 | //this way it is less likely to be killed. 31 | this.startForeground(0, null); 32 | } 33 | 34 | @Override 35 | public void onDestroy() { 36 | 37 | if (p == null) 38 | p = new PreferenceService(this); 39 | 40 | String ns = Context.NOTIFICATION_SERVICE; 41 | NotificationManager mNotificationManager = (NotificationManager) getSystemService(ns); 42 | // Cancel the persistent notification. 43 | mNotificationManager.cancelAll(); 44 | 45 | // Tell the user we stopped. 46 | if (p.isToastNotify()) 47 | Toast.makeText(this, "adbdSecure stopped", Toast.LENGTH_SHORT).show(); 48 | 49 | if (mReceiver != null) 50 | unregisterReceiver(mReceiver); 51 | 52 | this.stopForeground(false); 53 | } 54 | 55 | @Override 56 | public int onStartCommand(Intent intent, int flags, int startId) { 57 | 58 | IntentFilter filter = new IntentFilter(Intent.ACTION_SCREEN_OFF); 59 | mReceiver = new Receiver(); 60 | registerReceiver(mReceiver, filter); 61 | 62 | if (p.isNotifyStatusBar()) { 63 | String ns = Context.NOTIFICATION_SERVICE; 64 | NotificationManager mNotificationManager = (NotificationManager) getSystemService(ns); 65 | 66 | Notification notification = new Notification(); 67 | notification.icon = R.drawable.ic_stat; 68 | notification.when = System.currentTimeMillis(); 69 | 70 | Intent notificationIntent = new Intent("com.stericson.intent.STOP_SERVICE"); 71 | PendingIntent contentIntent = PendingIntent.getBroadcast(this, 0, notificationIntent, 0); 72 | 73 | notification.contentIntent = contentIntent; 74 | 75 | notification.flags |= Notification.FLAG_ONGOING_EVENT | Notification.FLAG_AUTO_CANCEL; 76 | 77 | notification.setLatestEventInfo(this, "adbd protected", 78 | "Tap to end protection", contentIntent); 79 | 80 | mNotificationManager.notify(Constants.NOTIFICATION, notification); 81 | } 82 | 83 | if (p.isToastNotify()) 84 | Toast.makeText(this, "adbdSecure started.", Toast.LENGTH_LONG).show(); 85 | 86 | // If we get killed, after returning from here, restart 87 | return START_NOT_STICKY; 88 | } 89 | 90 | @Override 91 | public IBinder onBind(Intent intent) { 92 | // We don't provide binding, so return null 93 | return null; 94 | } 95 | 96 | public static boolean isServiceRunning(Context context) { 97 | ActivityManager manager = (ActivityManager) context.getSystemService(Context.ACTIVITY_SERVICE); 98 | for (RunningServiceInfo service : manager.getRunningServices(Integer.MAX_VALUE)) { 99 | if ("com.stericson.adbSecure.services.adbdSecureService".equals(service.service.getClassName())) { 100 | return true; 101 | } 102 | } 103 | return false; 104 | } 105 | } 106 | --------------------------------------------------------------------------------