Related
Secure Settings is a Locale/Tasker/Llama compatible plugin for Android 2.2+
Please see the changelog for updates
Secure Settings Pro Trial licenses are available! Click the menu button inside of the Upgrade screen to request a trial.
As of v1.2.6, you can create Launcher shortcuts to any available Action option!
Conditions:
Max Failed Login Attempts - Perform an action based on a specified number of failed login attempts
Google Now Shortcut [4.1+,Pro]
Outgoing Call
Secret Code- Enter a special number in the Dialer and trigger an action.
Actions:
Toggle Airplane Mode
Set Airplane Mode Radios
BT Connection [4.0+]
BT Tethering [4.0+,Pro]
Execute Shortcut
Font Size [4.0+]
Toggle the Keyguard
Launch Activity
Locale Picker
Toggle Mobile Data [2.3+]
Run any GNU linux command (with/without root)
Tasker users can store command output info in user defined Tasker variables
Toggle SIP Receive Calls [2.3+]
Change SIP Call Option [2.3+]
Stay Awake While Charging
Show Touches [4.0+]
Wake the device
WiFi Hotspot [4.0+]
WiFi Sleep Policy
Dev Admin Actions:
Toggle the Camera [4.0+]
Lock the device
Lock Screen Widgets [4.2+]
Set or reset the device's password/pin
Root Actions:
Background Process Limit [4.0+, Pro]
Background Data [Pro]
Force GPU Rendering [4.0+]
Hardware Overlays [4.1+, Pro]
Package Notification [4.1+]
Package State (Previously Package Manager)
Phone Options (Answer,End,Silence Calls) [Pro]
Power Button Lock [4.1+, Pro]
Reboot Options (Uses native system methods) [Pro]
Enable/disable USB Tethering [4.0+,Pro]
VPN [4.0+, Experimental!]
Enable/disable Wireless ADB
Helper Actions:
Enable/disable Accessibility Services
Enable/disable USB Debugging
Set Active Day Dream [4.2+]
Toggle Day Dream State [4.2+]
Enable/disable GPS [2.3+]
Enable/disable Data Roaming
Update Lock Screen Owner Info [3.0+]
Set Lock Screen Timeout [4.0+, Pro]
Enable/disable Pattern lock screen
Enable/disable NFC [NFC Adapter required]
Change device input methods (switch soft keyboards without the prompt)
Enable/disable "Location Services" option for location awareness
Unknown Sources
WiFi Optimization [4.2+]
WiFi Scanning [4.3+]
Custom ROM Actions:
Enable or Disable ADB Over Network [CM9 only]
Expand Desktop [CM10/Paranoid Android]
Enable or Disable Fast Charge [Custom Kernel with Fast Charge Required]
Enable/Disable Kill App Back Button (CM and other custom ROMS)
Toggle LTE on CM9
Toggle Samsung Modes (Blocking, Driving and Power Saver Modes)
I hope you enjoy
Download Here
Explanation of Permissions:
Device Administrator Access - Required if you wish to lock the device or set/reset the password
Storage Access - Required for the Run Command function to write to the SD Card
Full Network Access - Required to download and check for updates for the Helper application
System Tools - Required for the Keyguard and Wake Lock functionality
Root Access - Required if you wish to install the Helper or run privileged commands from the Run Command function
Change Configuration - Required to change Locale
Change Network State - Required to toggle Mobile Data
Change Wifi State - Required to toggle Wifi Adapter for Wireless ADB
Wifi Access - Required to determine if Wifi is enabled for the Wireless ADB function
Bluetooth/BT Admin - Required to Connect to BT Devices
Boot Complete - Required to install Helper on boot if missing
Process Outgoing Calls - Required to use outgoing calls as conditions
Buy me a beer
New feature in Version 1.1.8
With version 1.1.8, Secure Settings can be converted to a system app to get the same functionality as having the Helper installed.
If you wish to move the app to the system, you MUST first disable Device Administrator!
I cannot stress this enough. If you don't do this, the app will break and will be a pain to remove.
Once that's disabled, you can use Titanium Backup to convert the app to a system app.
Thank you very much for this plugin. I have it installed which I downloaded from your site. Is there any difference between that and this one, which is available in the Market? Also, does this one also require to be installed as a system app in order for some functionality to work (e.g. Keyguard Off)? Thanks.
This is a completely different version than what is hosted on the google code site.
This app doesn't require you to install it to the system. I wrote a second app that I called the "Helper" which gets installed there. If you don't install the Helper, you will have the following available to you:
Keyguard
Lock Device
Set Password/Pin
Run Command
Wake Device
And Wireless ADB if you are rooted.
Hope this helps
Ok, thanks. I will try this out right now.
hey Corey Z -
I'm running into issues where Secure Settings plugin doesn't fire if I run a lot of shell scripts. I have a task where I fire a script, wait for its exit code, then fire another script; I do this maybe 4-5 times. This happens just fine, but when I tried to test a different task that also uses a shell script, it doesn't fire and my task just hangs on the "Wait until %CMD_EXIT is set". This is verifiable by turning on "show output" and "show notification" - notification doesn't happen sometimes, indicating that the plugin isn't firing..?
Thanks for the help!
Is it possible ro reset a sim lock pin..???
Sent from my X10 TripNMiUI-Iris using Tapatalk
@strictlyrude27
So, let me see if I understand...
It works fine when you run one command, one after another but you have issues when running multiple commands simultaneously?
Is that it?
Sent from my Thunderbolt
@Z3US911
That's an interesting thought. I'll have to look into that.
Thanks for the suggestion!
Sent from my Thunderbolt
intangibleDroid said:
@strictlyrude27
So, let me see if I understand...
It works fine when you run one command, one after another but you have issues when running multiple commands simultaneously?
Is that it?
Sent from my Thunderbolt
Click to expand...
Click to collapse
Upon further investigation it looks like scripts aren't firing if I manually select the notification to end the script. I set up my profiles to make sure exactly 1 script fires at a time to avoid collisions; when they all fire and exit properly rather than being aborted, I can re-run as much as I'd like.
Thank you very much, just what I needed!
Sent from my Nexus S 4G using XDA Premium App
@strictlyrude27
Are you referring to the cancel script option you get after you click the script running notification?
If so, that function is actually a little buggy at the moment. It may not actually cancel the script.
Is that what may be causing the problem?
Sent from my Thunderbolt
intangibleDroid said:
@strictlyrude27
Are you referring to the cancel script option you get after you click the script running notification?
If so, that function is actually a little buggy at the moment. It may not actually cancel the script.
Is that what may be causing the problem?
Sent from my Thunderbolt
Click to expand...
Click to collapse
That could be it! I haven't had to cancel a script since originally posting that, so hopefully I never run into it again..
This is great!
Now I am able to disable the pattern lock while connected to my Wifi.
On the Turn On/Off GPS....does that mean I can re-use an old task where GPS gets turned off when I exit Google Maps/Navigation like it used to in <2.2?
I've been using this plugin with ZERO issues to disable the pin lock when I enter known WiFi and to enable it otherwise.
@SilentSummer
You should be able to enable/disable GPS like you were able to prior to GB
intangibleDroid said:
@SilentSummer
You should be able to enable/disable GPS like you were able to prior to GB
Click to expand...
Click to collapse
Will give it a try, thanks
Edit: Works great
this may be a dumb question, but is the helper supposed to be on the market somewhere? or is it the manual download only? I only ask because the manual download is worded like you should only use it if you have problems...
Hi,
I use a program called "CELLBROKER," and whenever I get it I need to put my password and enter ... I created a profile in TASKER to put the password ( Input - Type - "my password"), but I do not know how to use a command in linux to run automatically enter.
Can someone help me?
Thanks a lot!
gohamstergo said:
this may be a dumb question, but is the helper supposed to be on the market somewhere? or is it the manual download only? I only ask because the manual download is worded like you should only use it if you have problems...
Click to expand...
Click to collapse
The Helper is not available on the market. I currently have it hosted at my google code site.
If you want to install it, use the install option in the settings of my app. The manual download is offered if that fails for any reason.
Hope this helps.
Sent from my Thunderbolt
Hi everyone , I hope someone can help me with this.
I hope there's an app or way to do it.
Basically i want to know whether is possible to lock an app on the lock screen so that it can be used but you can't exit it or use other apps without inserting patter code or lock code.
In this case I would like to be able to have my playlist on the lock scree so that even if some of my friends handles the phone ,they'll be able to scroll through the list of songs and use the music player but won't be able to do anything else unless they unlock the device
is something like this possible?(at the moment there's a small widget at the top of the screen that can be used to pause,next songs etc when the lock screen is on but it doesn't allow to have more access to the app features such as playlist songs etc)
Thank you
any advice ?
Settings > Lockscreen and security > Other security settings > Pin windows.
Thank you so much Giocarro, this is exactly what I am looking for.
However, I have tried to check whether the function is available in tasker and can't seemt o find it.
I would like to aumate this so that when I'm in my car I can automatically get the music player open and pin it to the window using the script.
Are you aware of a way to do this through tasker or by any other method?
Thank you
I don't think it is possible, and I am a Tasker user, too.
The thing you can do is activate Settings app when you launch music app; I use this method to enable GPS when launching Maps.
i turn on gps when I open the map too but opening the setting app doesn't have any relevance here if I'm correct.
The settings to activate pin windows is a one of option.
the way windows are pinned is by pressing the recent button and then press on the pin icon on the bottom right side of the recent window you want to pin
This last stage is a bit annoying if it can't be done without a script, however this option that allows to pin apps is quiet useful.
thank you
Only way I could think of doing what you want would be to use Tasker "Send intent" feature, but I am not a developer so don't know whether there is an 'intent' for pinning the current app or not.
*** Only For #Rooted Devices ***
Ver. 3.0+ got a ton of new features - see changes/new in posting #2...
This is my successful attempt to automate the well known (inconvenient) MTP enabling process under Android Marshmallow...
Enjoy the new USB-functionality, Google had forgotten or was to lazy to make it
So I'm working on 'MTP enabler for Marshmallow' - And you can use it for free!
I found a solution to automate MTP-enabling by simulate a tap onto the system dialog window (onto the MTP/PTP option).
For this I've made a small app, that listens for broadcast intent by usb connect.
Now you can place a widget of 'MTP enabler' onto the Home Screen and tap it after you connect the USB-cable to PC. So can initiate a refresh on the PC-File-Transfer-Window without disconnect, reconnect USB-cable.
The MTP mode will be enable automatically by this actions...
And you can place a shortcut to 'MTP enabler's Action onto the Home Screen for quick Access now.
(Widget or shortcut - your decision)
The widget changes it backgroundcolor to orange, if usb-cable is connected.
A new automated action for switching USB-mode to your preset option, when usb-cable is plugged in, was realized since RC 1 update.
You can setup the app's receiving Broadcast Intent when USB connecting optional!.
When it receives the intent it launches the system Panel for USB connection type dialog and sends a (touch) input onto the coordinates of the MTP-option...
Now you can use new (security)options:
- Option for deactivate MTP/PTP, when device will be locked(screen off) adhoc or after preset delay
- Option for reactivate MTP/PTP after unlocking device
- Option for blocking MTP/PTP, when USB is connected to untrusted PC
(this (3rd)option needs SElinux permissive on some CM13/SuperSU combos!)
MTP enabler doesn't touch any system-file (no init component is touched or needed)! - But it needs a rooted device!
And Google's security intent by User-Action for USB-connection remains preserved!
You can download Release 3.3 here on AFH.
If you want to support further development of MTP enabler and consider to make a donation:
Here is a link to Play Store donation Version of MTP enabler Pro
If you want to test it, install it and run it only one time after installation. The app is announcing it's Broadcastreceiver and is waiting for usb-connect...
It holds now a service in background - But it will not cause any battery drain!.
In the App-window (MTP enabler setup ) you can checkmark one option 'ask me for action', if you want to be able to select the connection type manually.
If you leave the checkbox unchecked the app will (try) to do the automatically taping MTP-option.
Note: If have enabled MTP enabler, it will start automatically after every reboot!
NEW(!):
You can activate notifications(with or without sound, with or without Android Wear notification) optinal.
See builtin interactive tutorial(showcase)
- Lock MTP enabler app with password OR pattern
- Activate MTP enabler only on trusted WiFi SSID(s)
(USB-ADB, -MTP, -PTP will be blocked when not connected to trusted SSID)
- Activate MTP enabler only on trusted Location(s)
(USB-ADB, -MTP, -PTP will be blocked when not in range to trusted location)
- Ability to enable Ongoing Notification
(to prevent stoping MTP enabler by System after long active periods)
- Ability to hide statusbar icon of Ongoing Notification
- Dark OR Light Theme
- Fixed USB-connect while device locked
- absolutely stable USB-connect action on all MM-devices/-ROMs
- reconnect(refresh) after unlock && via Widget/Shortcut doesn't call the USB-Options-System-Dialog (with tap-emulation) anymore!
This dialog is needed now only when usb-cable is connected!
- stable filtering of AC-/-Wireless charging connection
- better timings for Toast-Notifications.
MTP enabler should work now stable on all Devices / all Marshmallow ROMs!
#Root is required!
If MTPenabler doesn't work on your device and your PC doesn't connect to your device anymore after uninstalling MTPenabler,
goto -> Settings ->Developer Options and switch Android-(USB)-Debugging off/on - and adb/shell/MTP/PTP should work again!
Your feedback is welcome!
MTP enabler Release 3.3 is up
I've updated MTP enabler to Ver. 3.3
Changes/New:
- New option for adjusting Touch Coordinates on USB -Options-Window
If you use custom system fonts or Theme elements, that change the Ratio of Touchable Elements in USB-Options-Window,
you can adjust the correct touch positions now!
You have to adjust coordinates (in vertical axis only) for Charge/MTP,PTP in portrait and landscape screen modes.
- the adjustment procedure is as much automated as possible(!) -
So MTP enabler should work correct with custom Themes/elements...
Note: If you select the new Adjust-Option, MTP enabler will ask for granting new permissions (Write System Settings & Overlay over other apps).
- New option for switching to alternative method for USB-connect listener
(Check this in settings, if USB-options Panel doesn't appear after USB-connect!)
- Fixed compatibility for latest CM 13 nightlies!
- Fixed Ongoing Notification-Hide Icon
- Removed Ongoing Notification from Lockscreen
- New Mapview with Location Circle-Areas (70 m range in map)
- Fixed: Settings Screen (ANR)
- Lock MTP enabler app with password OR pattern
- Activate MTP enabler only on trusted WiFi SSID(s)
(USB-ADB, -MTP, -PTP will be blocked when not connected to trusted SSID)
- Activate MTP enabler only on trusted Location(s)
(USB-ADB, -MTP, -PTP will be blocked when not in range to trusted location)
- Ability to enable Ongoing Notification
(to prevent stoping MTP enabler by System after long active periods)
- Ability to hide statusbar icon of Ongoing Notification
- Dark OR Light Theme
- Fixed USB-connect while device locked
- absolutely stable USB-connect action on all MM-devices/-ROMs
- reconnect(refresh) after unlock && via Widget/Shortcut doesn't call the USB-Options-System-Dialog (with tap-emulation) anymore!
This dialog is needed now only when usb-cable is connected!
- stable filtering of AC-/-Wireless charging connection
- better timings for Toast-Notifications.
------------------------------------------------------------------------------------
- added a donation link (to Pro-Version/Playstore) in Settings screen
(Donation if you want to support my work on MTP enabler)
Pro Version needs some hours, to be visible in Play Store...
The Pro-Version brings extra features:
- Change Color Scheme
- Use multiple Trusted SSIDs
- Use multiple Trusted Locations
BTW: I prefer Trusted Locations over Trusted SSIDs
Hint for adding Trusted Location:
If you Long Click on the Map Fragment, you can add the Position of new location independent from Current GPS position!
DL-link for MTPenabler_XDA_Release_3.3.apk
older versions:
I've updated MTP enabler to Ver. 3.2.1
(after some days of being lazy )
Changes/New:
- New option for switching to alternative method for USB-connect listener
(Check this in settings, if USB-options Panel doesn't appear after USB-connect!)
- Fixed compatibility for latest CM 13 nightlies!
- Fixed Ongoing Notification-Hide Icon
- Removed Ongoing Notification from Lockscreen
- New Mapview with Location Circle-Areas (70 m range in map)
- Fixed: Settings Screen (ANR)
- Lock MTP enabler app with password OR pattern
- Activate MTP enabler only on trusted WiFi SSID(s)
(USB-ADB, -MTP, -PTP will be blocked when not connected to trusted SSID)
- Activate MTP enabler only on trusted Location(s)
(USB-ADB, -MTP, -PTP will be blocked when not in range to trusted location)
- Ability to enable Ongoing Notification
(to prevent stoping MTP enabler by System after long active periods)
- Ability to hide statusbar icon of Ongoing Notification
- Dark OR Light Theme
- Fixed USB-connect while device locked
- absolutely stable USB-connect action on all MM-devices/-ROMs
- reconnect(refresh) after unlock && via Widget/Shortcut doesn't call the USB-Options-System-Dialog (with tap-emulation) anymore!
This dialog is needed now only when usb-cable is connected!
- stable filtering of AC-/-Wireless charging connection
- better timings for Toast-Notifications.
------------------------------------------------------------------------------------
- added a donation link (to Pro-Version/Playstore) in Settings screen
(Donation if you want to support my work on MTP enabler)
Pro Version needs some hours, to be visible in Play Store...
The Pro-Version brings extra features:
- Change Color Scheme
- Use multiple Trusted SSIDs
- Use multiple Trusted Locations
BTW: I prefer Trusted Locations over Trusted SSIDs
Hint for adding Trusted Location:
If you Long Click on the Map Fragment, you can add the Position of new location independent from Current GPS position!
DL-link for MTPenabler_XDA_Release_3.2.1.apk
I've updated MTP enabler to Ver. 3.2
Changes/New:
- Fixed compatibility for latest CM 13 nightlies!
- Fixed Ongoing Notification-Hide Icon
- Removed Ongoing Notification from Lockscreen
- New Mapview with Location Circle-Areas (70 m range in map)
- Fixed: Settings Screen (ANR)
- Lock MTP enabler app with password OR pattern
- Activate MTP enabler only on trusted WiFi SSID(s)
(USB-ADB, -MTP, -PTP will be blocked when not connected to trusted SSID)
- Activate MTP enabler only on trusted Location(s)
(USB-ADB, -MTP, -PTP will be blocked when not in range to trusted location)
- Ability to enable Ongoing Notification
(to prevent stoping MTP enabler by System after long active periods)
- Ability to hide statusbar icon of Ongoing Notification
- Dark OR Light Theme
- Fixed USB-connect while device locked
- absolutely stable USB-connect action on all MM-devices/-ROMs
- reconnect(refresh) after unlock && via Widget/Shortcut doesn't call the USB-Options-System-Dialog (with tap-emulation) anymore!
This dialog is needed now only when usb-cable is connected!
- stable filtering of AC-/-Wireless charging connection
- better timings for Toast-Notifications.
------------------------------------------------------------------------------------
- added a donation link (to Pro-Version/Playstore) in Settings screen
(Donation if you want to support my work on MTP enabler)
Pro Version needs some hours, to be visible in Play Store...
The Pro-Version brings extra features:
- Change Color Scheme
- Use multiple Trusted SSIDs
- Use multiple Trusted Locations
BTW: I prefer Trusted Locations over Trusted SSIDs
Hint for adding Trusted Location:
If you Long Click on the Map Fragment, you can add the Position of new location independent from Current GPS position!
DL-link for MTPenabler_XDA_Release_3.2.apk
I've updated MTP enabler to Ver. 3.1
Changes/New:
- Fixed Ongoing Notification-Hide Icon
- Removed Ongoing Notification from Lockscreen
- New Mapview with Location Circle-Areas (70 m range in map)
- Fixed: Settings Screen (ANR)
- Lock MTP enabler app with password OR pattern
- Activate MTP enabler only on trusted WiFi SSID(s)
(USB-ADB, -MTP, -PTP will be blocked when not connected to trusted SSID)
- Activate MTP enabler only on trusted Location(s)
(USB-ADB, -MTP, -PTP will be blocked when not in range to trusted location)
- Ability to enable Ongoing Notification
(to prevent stoping MTP enabler by System after long active periods)
- Ability to hide statusbar icon of Ongoing Notification
- Dark OR Light Theme
- Fixed USB-connect while device locked
- absolutely stable USB-connect action on all MM-devices/-ROMs
- reconnect(refresh) after unlock && via Widget/Shortcut doesn't call the USB-Options-System-Dialog (with tap-emulation) anymore!
This dialog is needed now only when usb-cable is connected!
- stable filtering of AC-/-Wireless charging connection
- better timings for Toast-Notifications.
------------------------------------------------------------------------------------
- added a donation link (to Pro-Version/Playstore) in Settings screen
(Donation if you want to support my work on MTP enabler)
Pro Version needs some hours, to be visible in Play Store...
The Pro-Version brings extra features:
- Change Color Scheme
- Use multiple Trusted SSIDs
- Use multiple Trusted Locations
BTW: I prefer Trusted Locations over Trusted SSIDs
Hint for adding Trusted Location:
If you Long Click on the Map Fragment, you can add the Position of new location independent from Current GPS position!
DL-link for MTPenabler_Release_3.1.apk
I've updated MTP enabler to Ver. 3.0
Changes/New:
- Fixed: Settings Screen (ANR)
- Lock MTP enabler app with password OR pattern
- Activate MTP enabler only on trusted WiFi SSID(s)
(USB-ADB, -MTP, -PTP will be blocked when not connected to trusted SSID)
- Activate MTP enabler only on trusted Location(s)
(USB-ADB, -MTP, -PTP will be blocked when not in range to trusted location)
- Ability to enable Ongoing Notification
(to prevent stoping MTP enabler by System after long active periods)
- Ability to hide statusbar icon of Ongoing Notification
- Dark OR Light Theme
- Fixed USB-connect while device locked
- absolutely stable USB-connect action on all MM-devices/-ROMs
- reconnect(refresh) after unlock && via Widget/Shortcut doesn't call the USB-Options-System-Dialog (with tap-emulation) anymore!
This dialog is needed now only when usb-cable is connected!
- stable filtering of AC-/-Wireless charging connection
- better timings for Toast-Notifications.
------------------------------------------------------------------------------------
- added a donation link (to Pro-Version/Playstore) in Settings screen
(Donation if you want to support my work on MTP enabler)
Pro Version needs some hours, to be visible in Play Store...
The Pro-Version brings extra features:
- Change Color Scheme
- Use multiple Trusted SSIDs
- Use multiple Trusted Locations
BTW: I prefer Trusted Locations over Trusted SSIDs
Hint for adding Trsusted Location:
If you Long Click on the Map Fragment, you can add the Position of new location independent from Current GPS position!
DL-link for MTPenabler_Release_3.0.apk
I've updated MTP enabler to Ver. 2.6
Changes/New:
- Fixed: Settings Screen (ANR)
- Fixed USB-connect while device locked
- absolutely stable USB-connect action on all MM-devices/-ROMs
- reconnect(refresh) after unlock && via Widget/Shortcut doesn't call the USB-Options-System-Dialog (with tap-emulation) anymore!
This dialog is needed now only when usb-cable is connected!
- stable filtering of AC-/-Wireless charging connection
- better timings for Toast-Notifications.
------------------------------------------------------------------------------------
- added a donation link (to Pro-Version/Playstore) in Settings screen
(Donation if you want to support my work on MTP enabler)
The Pro-Version brings an extra feature: 'Change Color Scheme'
DL-link for MTPenabler_Release_2.6.apk
I've updated MTP enabler to Ver. 2.5.1
Changes/New:
- Fixed: Settings Screen crashed after deepsleep or removing it from Recent-Apps-Screen
- absolutely stable USB-connect action on all MM-devices/-ROMs
- reconnect(refresh) after unlock && via Widget/Shortcut doesn't call the USB-Options-System-Dialog (with tap-emulation) anymore!
This dialog is needed now only when usb-cable is connected!
- stable filtering of AC-/-Wireless charging connection
- better timings for Toast-Notifications.
------------------------------------------------------------------------------------
- added a donation link (to Pro-Version/Playstore) in Settings screen
(if you want to support my work on MTP enabler)
The Pro-Version brings an extra feature: 'Change Color Scheme'
DL-link for MTPenabler_Release_2.5.1.apk
I've updated MTP enabler to Ver. 2.5
Changes/New:
- absolutely stable USB-connect action on all MM-devices/-ROMs
- reconnect(refresh) after unlock && via Widget/Shortcut doesn't call the USB-Options-System-Dialog (with tap-emulation) anymore!
This dialog is needed now only when usb-cable is connected!
- stable filtering of AC-/-Wireless charging connection
- better timings for Toast-Notifications.
------------------------------------------------------------------------------------
- added a donation link (to Pro-Version/Playstore) in Settings screen
(if you want to support my work on MTP enabler)
The Pro-Version brings an extra feature: 'Change Color Scheme'
DL-link for MTPenabler_Release_2.5.apk
I've updated MTP enabler to Ver. 2.2.1
Changed / New:
FIXED: Possible small bug in update (2.2): from Ver. 2.2 !
- Option for deactivate MTP/PTP, when device will be locked(screen off) adhoc or after preset delay
- Option for reactivate MTP/PTP after unlocking device
- Option for blocking MTP/PTP, when USB is connected to untrusted PC
(this (3rd)option needs SElinux permissive on some CM13/SuperSU combos!)
- Material Toast Notifications
- added a donation link (to Pro-Version/Playstore) in Settings screen
(if you want to support my work on MTP enabler)
- some minor fixes
DL-link for MTPenabler_Release_2.2.1.apk
I've updated MTP enabler to Ver. 2.2
Changed / New:
- Option for deactivate MTP/PTP, when device will be locked(screen off) adhoc or after preset delay
- Option for reactivate MTP/PTP after unlocking device
- Option for blocking MTP/PTP, when USB is connected to untrusted PC
(this (3rd)option needs SElinux permissive on some CM13/SuperSU combos!)
- added a donation link (to Pro-Version/Playstore) in Settings screen
(if you want to support my work on MTP enabler)
- some minor fixes
DL-link for MTPenabler_Release_2.2.apk
I've updated MTP enabler to Ver. 2.1
Changed / New:
- Material user interface
(cardviews/structure)
- App icon in Settings screen
- UI colors changed/unified
- improved stability, major fixes
- (optional) (5 sec) notifications when USB connect,disconnect
incl. Lockscreen notification, if 'Act also while locked' is activated
(smart determining pattern/pin protected lock, unprotected lock)
- (optional) notification sounds
- (optional) Android™ Wear notifications
- interactive tutorial (showcase)
- added German language for UI-strings
- added a donation link (to Pro-Version/Playstore) in Settings screen
(if you want to support my work on MTP enabler)
- some minor fixes
DL-link for MTPenabler_Release_2.1.apk
I've updated MTP enabler to Ver. 2.0
Changed / New:
- improved stability, major fixes
- (optional) (5 sec) notifications when USB connect,disconnect
incl. Lockscreen notification, if 'Act also while locked' is activated
(smart determining pattern/pin protected lock, unprotected lock)
- (optional) notification sounds
- (optional) Android™ Wear notifications
- interactive tutorial (showcase)
- added German language for UI-strings
- some minor fixes
DL-link for MTPenabler_Release_2.0.apk
MTP enabler to Ver. 1.2 update is up
Changed / New:
- fixed annoying Error Msg about missing Symlink for "rev -> busybox" (some guys got that and mentioned here)
- new App Icon (kind of materialized)
- new option (in Settings Screen) for enabling MTPenabler's action while device is locked
(smart determining pattern/pin protected lock, unprotected lock)
- some minor fixes
DL-link for MTPenabler_Release_1.2.apk
MTP enabler to Ver. 1.1 update is up
URL]
Changed / New:
- MTP enabler should run stable now on ALL DEVICES / ALL Marshmallow ROMs!
(tested on Nexus 7 (2013)/MoRoM 3.2 , Nexus 4/CM13, Moto G LTE/CM13 - all rooted with Chainfire's SuperSu 2.65)
- BusyBox no more necessary!
DL-link for MTPenabler_Release_1.1.apk
I've released MTP enabler Ver. 1.0!
Changes:
- stable!
- robust USB connect on Mac OSX!
- adb/shell persists stable now!
- MTPenabler blocked, when on AC-poweradapter / Wireless charger
- No opening Android-Filetransfer-Window on PC/Mac, when you set 'Charging' as default action in MTPenabler Setup
- adb stays enabled, when you set 'Charging' as default action in MTPenabler Setup
- your selected default USB-option is active on the fly, after leaving MTP enabler setup screen - without disconnect/reconnect USB-cable
MTPenabler doesn't work on Nexus 4 with CM 13 atm!
If MTPenabler doesn't work on your device and your PC doesn't connect to your device anymore after uninstalling MTPenabler,
goto -> Settings ->Developer Options and switch Android-(USB)-Debugging off/on - and adb/shell/MTP/PTP should work again!
(but I'm working on this too...)
RC 2 is up!
Changes
- stable (99,99%)
- robust USB connect on Mac OSX!
- MTPenabler blocked, when on AC-poweradapter / Wireless charger
- No opening Android-Filetransfer-Window on PC/Mac, when you set 'Charging' as default action in MTPenabler Setup
- adb stays enabled, when you set 'Charging' as default action in MTPenabler Setup
(was lost in RC1)
- your selected default USB-option is active on the fly, after leaving MTP enabler setup screen - without disconnect/reconnect USB-cable
(until RC2 you had to disconnect/connect usb cable to make your decision active)
Enjoy the new USB-functionality, Google had forgotten or was to lazy to make it
RC 1 is up!
Changes
-more stable
-no more unwanted (ghost) actions on USB options panel!
-USB listener mode is stable now
-many bugs fixed
-new options for setting your default USB action
(charging; MTP; PTP)
Beta 2 is up!
Changes
-MTP enabler can be toggled (enabled/disabled) via switch in MTP enabler Setup Screen Titlebar
-We will be able to enable MTP via widget before connecting usb cable! :good:
-We will be able to enable MTP via Homescreen-shortcut before connecting usb cable! :good:
-Widget changes background color, when usb-cable is connected
-USB-connect listener improved!
-'Screen Rotation 'bug with widget fixed!
For Mac users
This method is no more necessary since RC 2 of MTP enabler!
Avoid Android File Transfer starting automatically in Mac OS X after Android device plugin to USB port!
“Android File Transfer” application starts automatically in Mac OS X when you plug your Android device to the USB port. Even if you only want to charge it.
This are the steps you have to take to avoid this (annoying) behaviour:
Open the “Activity Monitor” and kill the “Android File Transfer Agent” process.
Open “System Preferences” > “Accounts”. Go to the “Login Items” tab of your user. Remove the “Android File Transfer Agent”.
Find your “Android File Transfer.app” file (usually in /Applications):
Right click (or ctrl+click) on it and select “Show package contents”.
Go to Contents/Resources.
Rename “Android File Transfer Agent.app” to e.g. “Android File Transfer Agent_DISABLED.app“.
Go to /Users/username/Library/Application Support/Google/Android File Transfer (you can open Library folder with the “Go” menu in Finder while pressing “option” key or from the terminal running “open ~/Library”) and rename “Android File Transfer Agent.app” to e.g. “Android File Transfer Agent_DISABLED.app“.
Now “Android File Transfer” won’t auto-start when you plug your phone on the USB port, but if you open it manually everything will work just fine.
grabbed from an article by Eneko Chan on 2013/11/15
This method is no more necessary since RC 2 of MTP enabler!
Simple and functionnal ! :good:
The option "ask me" is a good idea, no need to go into the nav bar.
Just need a nice icon for the app
Thx !!!
Updated from BETA 1 to BETA 2
See OP...
simple question - simple answer
a user asked me in another thread:
Starphish said:
No offense, but I don't quite understand. All I do is swipe the notification bar and select USB options, then MTP. How does your app simplify that?
Click to expand...
Click to collapse
my answer is:
I'ts more simple for me, because I don't have to
- 1. Swipe down notification area
- 2. looking for right notification(if I've more than one) and clicking the right
- 3. and click the Option for mtp
- my app does it in 1 step (via widget)
- or null step - via listening for usb connect & doing the job automatically.
and further more, it's driving me crazy, when I get the message on my macbook 'Can't connect to device', when I connect usb cable - and can't do the stupid 3 and a half steps in 1 second... LOL
bitstra said:
and further more, it's driving me crazy, when I get the message on my macbook 'Can't connect to device', when I connect usb cable - and can't do the stupid 3 and a half steps in 1 second... LOL
Click to expand...
Click to collapse
That 'splains it ... a macbook! ^_^
Beta 2 is coming up...
App will be updated to -> BETA 2 tomorrow...
Will bring some improvements!
meanwhile Mac users can have a look to POST #2 for an interesting HowTo about Android File Transfer(Mac).
Set to charging by default??
This is the closest thing I've found anywhere on the web to what I want.
For some reason my Nexus 5 (android 6) defaults to MTP. This is the feature all you guys want, but I don't.
Does anyone know how I can get the developer options to persistently default to "Charge Only".
I use a Mac at work and a PC at home, and I always top up my phone. I rarely MTP.
Also it seems the Dev Options USB Connect option works independently of the Quick PullDown option for Charge / MTP on my device. If you change one or the other, the other doesn't change to reflect the new setting.
I tried your MTP Enabler app...as I thought it might help with my issue and cause it to default to Charge Only...no dice though, the app didn't work at all, on either Widget or USB Listen. Could this be because my phone is stock?
Thanks.
tedrogers61 said:
This is the closest thing I've found anywhere on the web to what I want.
For some reason my Nexus 5 (android 6) defaults to MTP. This is the feature all you guys want, but I don't.
Does anyone know how I can get the developer options to persistently default to "Charge Only".
I use a Mac at work and a PC at home, and I always top up my phone. I rarely MTP.
Also it seems the Dev Options USB Connect option works independently of the Quick PullDown option for Charge / MTP on my device. If you change one or the other, the other doesn't change to reflect the new setting.
I tried your MTP Enabler app...as I thought it might help with my issue and cause it to default to Charge Only...no dice though, the app didn't work at all, on either Widget or USB Listen. Could this be because my phone is stock?
Thanks.
Click to expand...
Click to collapse
The app needs root - Is your device rooted?
If yes - try to switch SELinux to permissive, and let me know, if it works then...
OK - I will think about an Option for setting to Charge by default though - Thanx for your reply!
Beta 2 is up
Beta 2 is up! - See OP
Changes
-MTP enabler can be toggled (enabled/disabled) via switch in MTP enabler Setup Screen Titlebar
-We will be able to enable MTP via widget before connecting usb cable! :good:
-We will be able to enable MTP via Homescreen-shortcut before connecting usb cable! :good:
-Widget changes background color, when usb-cable is connected
-USB-connect listener improved!
-'Screen Rotation 'bug with widget fixed!
bitstra said:
The app needs root - Is your device rooted?
If yes - try to switch SELinux to permissive, and let me know, if it works then...
OK - I will think about an Option for setting to Charge by default though - Thanx for your reply!
Click to expand...
Click to collapse
Thought it was a root issue. Thanks for clarifying this.
Also, thanks for considering implementing the idea of default to Charge Only too.
Sent from my Nexus 5 using XDA Premium 4 mobile app
oops - had a typo in Post#1 title.
It's correct now...
Is this app suitable with Android 4.4.2?
...just try it...I don't see why not and it won't break your phone if it doesn't work.
Sent from my Nexus 5 using XDA Premium 4 mobile app
Not for Andr 4.4
salex111 said:
Is this app suitable with Android 4.4.2?
Click to expand...
Click to collapse
salex111 said:
Not for Andr 4.4
Click to expand...
Click to collapse
This app is compiled for API 23 (android 6.0+) only, as it stated in thread title ... [MARSHMALLOW] ...
Glad someone is working on a remedy for this problem. It's so annoying!
Thanks
Release Candidate 1 is coming up
I will update the app from Beta 2 -> Release Candidate 1 tomorrow...
Just wanted to let you know this
MTP enabler updated to RC1
Hi @all,
I've updated MTP enabler to Release Candidate 1!
Changes:
-more stable
-no more unwanted (ghost) actions on USB options panel!
-USB listener mode is stable now
-many bugs fixed
-new options for setting your default USB action
(charging; MTP; PTP)
You can download the updated apk here: MTPenabler_RC1_0.9.1.apk
New features/options - see attached screenshot of MTPenabler setup...
[EDIT: The method described in Post #3 is now my favourite, but it requires purchase of an app - the first method described here is free]
[EDIT 2: See Post 5 for Pujie Black method]
I just got my first Smartwatch (Moto 360 2nd Gen 42mm) and had been planning to try this as I thought it would be useful. I frequently turn on my PC (also my media server) using Wake-On-Lan from my phone when I'm about the house or after pulling into the driveway. On an Android phone this is pretty straightforward. Here's how I did it:
1) First of all make sure your PC is set up to allow Wake-On-Lan and it is on the same network as your phone. (Plenty of guides online showing how to do this, for example http://www.howtogeek.com/70374/how-to-geek-explains-what-is-wake-on-lan-and-how-do-i-enable-it/).
2) On your Android device, install 'Wake On LAN' by Reinhard Alischer from the Play Store (https://play.google.com/store/apps/details?id=de.ralischer.wakeonlan). This can be set up to wake multiple PCs, and you can add a widget or shortcut to your home screen for waking individual computers. All you need to know is your PC's MAC address. (Further instructions using a different app are available at http://www.addictivetips.com/mobile/turn-on-your-pc-with-android-device-via-wifi-network-wowlan -- but I recommend the app mentioned above for this as it allows Widgets and Shortcuts, necessary for the Android Wear instructions below).
3) You can now test this to see if you can successfully wake/turn on your PC using your Android device.
Assuming you've got the above all set up correctly, you can now proceed to get it working on your Android Wear device:
1) On your Android device, install 'Wearable Widgets' by Udell Enterprises from the Play Store (https://play.google.com/store/apps/details?id=com.wearablewidgets). The free version allows you to have one Widget on your Wear device, upgrade to the full version if you want to wake more than one PC or use other widgets.
2) On your Android device, open Wearable Widgets and tap the '+' button to add a Widget. Choose the 'Wake On LAN' widget for the PC you want to turn on.
3) Now on your Android Wear device, wake the screen and say 'OK Google, Start Widgets'. A Wake On LAN button will appear on your smartwatch screen - tap it and your PC should turn on!
Your Wear device does not need to be connected to WiFi, just paired using bluetooth, as it is your phone's WiFi connection that is being used to wake the PC.
This is one very useful aspect of a Wear device for me - no more having to pull out and switch on my phone to wake up the computer, just a simple command and tap of the wrist. Hope this proves helpful to someone else :highfive:
If anyone has a simpler method, I'm all ears
Very cool; thanks for the post.
Just to update on this and provide an alternate method...
First of all, I did purchase the paid version of 'Wearable Widgets', and it does indeed allow me to wake multiple PCs using separate widgets for each one from the Wake-On-Lan app. Another benefit of this is that I can now also add a widget from my 'FTP Server Pro' app (https://play.google.com/store/apps/details?id=com.theolivetree.ftpserverpro&hl=en), which allows me to start the FTP Server on my phone from my watch - so that I can backup my phone over WiFi or transfer files over to it from my PC without having to touch the phone.
An alternate method for the Wake-On-Lan process is to follow the steps as above in post 1, but instead of using 'Wearable Widgets' use the 'Notification Toggle' app (https://play.google.com/store/apps/details?id=de.j4velin.notificationToggle) - and for this method you must purchase the Shortcuts feature from within the app.
This app allows you to have toggles for WiFi, Bluetooth, Silent, Vibration etc on your watch, so that you can control all of these features on your phone without having to take it out. The paid-for Shortcuts feature allows you to add Shortcuts from any app on your phone to your watch. So, as the Wake-On-Lan app mentioned above allows both Widgets and Shortcuts for waking an individual PC, we can add a WOL Shortcut to our watch. You can also add multiple Shortcuts (from any app that supports them) to your watch (for example, I also added a Greenify shortcut).
1) Load Notification Toggle on your phone and navigate to the Premium Features section. Assuming you have purchased this, tap on where it says 'click here' to see shortcuts. Tap on the shortcut you want to add (in our case 'Wake on LAN Shortcut') and configure it.
2) The app will automatically add the Shortcut to your notification drawer on your phone, so if you don't want it there go to the third screen of the app and remove the tick beside the shortcut you don't want on your phone. (Note that you can turn off all other features of the app if you don't want to use the phone end of the Notification Toggles, simply remove the ticks from all toggles on screens 2 and 3).
3) Navigate to the Android Wear section (screen 4, first button).
4) In the list of Toggles for Android Wear you'll see your Shortcut(s), put a tick beside each one you want to appear on your watch. You can also set the order of the toggles by going back one screen and choosing 'Change Toggle Order'.
5) On your watch, go to the app drawer and start Notification Toggle. Swipe to and tap the appropriate Shortcut toggle to turn on the PC.
This is a bit more complicated to set up than the previous method, but has the benefit that you can have a WiFi toggle right next to the WOL Shortcut on your watch. So, for example, if you've been out and about with WiFi off on your phone, you can pull into the driveway, tap the WiFi toggle on your watch to activate WiFi on your phone, and then wake the PC.
If you have Pujie Black or another watch face with shortcut hot spots, you can set one of these up to launch Wearable Widgets or Notification Toggle to make things even quicker. I find that Notification Toggle loads slightly quicker on the watch than Wearable Widgets, but there's not much difference. This method (with Notification Toggles) is probably slightly better, but I still like having Wearable Widgets on my watch as there are some phone widgets which are handy to have on your wrist.
Turn on your PC using your Android Wear device
Turning on PC using Android wear device? I mean with the help of smart watch, isn't it amazing? Thanks a lot for the informative post mate.
The latest version of Pujie Black watch face now allows you to add shortcuts from the phone direct to your watch face. This means you can install the WOL tool from Post#1, and add an invisible 'hot spot' tap action shortcut for waking your PC direct to any Pujie watch face or to the Pujie tap drawer. No other apps needed
If anyone needs more detailed step-by-step, just ask.
Thank you very much for the post
Cool ?
Hello,
I am Using Zebra TC72 Android 10 Devices implemented in Enterpise Mode in Microsoft Intune with Managed Homescreen.
Certain settings are Pushed by Zebra Managed Config throug the Intune interface.
Now I have the isssue, that it seems that Enterprise Mode disables the Quick Settings Menu which would otherwise be available in the Notification bar.
There was everything the user should be able to alter manually like, brightness, inverted colors etc.
I can reach part of it if I restrict the settings menu with the Zebra Tools. https://techdocs.zebra.com/oemconfig/9-1/mc/#usereducedversion
For this I would simply enable the "android.settings" shortcut in the Managed Homescreen, the Zebra Framework would care about the limited view.
But it only allows Access to Display Submenu, For Color Inversion I need the accessibility menu for example.
I can´t find any way to alter the policies in a way, where I could specify which submenus get blocked.
So I need either.
1.) Find a way to access the Quick Controls / Quick Menu from the notification bar again - be it by sliding it down or setting up a shortcut to the Package Name directy?
or
2.) Find a way to limit the Submenus in android.settings I exactly need.
Any Ideas?