FORUMS
Remove All Ads from XDA

[APP][ROOT][R 3.3][MARSHMALLOW] MTP enabler

1,549 posts
Thanks Meter: 2,519
 
By bitstra, Senior Member on 4th December 2015, 02:27 PM
Post Reply Email Thread
*** 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!
Attached Thumbnails
Click image for larger version

Name:	Screenshot_XDA_1.png
Views:	9172
Size:	122.0 KB
ID:	3632670   Click image for larger version

Name:	Screenshot_XDA_2.png
Views:	9038
Size:	130.7 KB
ID:	3632671   Click image for larger version

Name:	Screenshot_20160202-134616.jpg
Views:	9028
Size:	146.5 KB
ID:	3632672   Click image for larger version

Name:	Screenshot_20160202-134636.jpg
Views:	7650
Size:	80.0 KB
ID:	3632673   Click image for larger version

Name:	Screenshot_20160202-134652.png
Views:	7362
Size:	228.4 KB
ID:	3632674   Click image for larger version

Name:	Screenshot_20160202-134703.png
Views:	7032
Size:	153.4 KB
ID:	3632675   Click image for larger version

Name:	Screenshot_20160202-134715.png
Views:	6696
Size:	136.0 KB
ID:	3632676   Click image for larger version

Name:	WearScShot_en_plugged_moto360.png
Views:	6610
Size:	128.2 KB
ID:	3632679   Click image for larger version

Name:	WearScShot_en_unplugged_moto360.png
Views:	6454
Size:	128.5 KB
ID:	3632680   Click image for larger version

Name:	Screenshot_20160207-144742.png
Views:	5926
Size:	124.3 KB
ID:	3642519   Click image for larger version

Name:	Screenshot_20160301-182153.png
Views:	5040
Size:	129.2 KB
ID:	3666279   Click image for larger version

Name:	Screenshot_20160301-182251.png
Views:	4586
Size:	46.0 KB
ID:	3666280   Click image for larger version

Name:	Screenshot_20160301-182300.png
Views:	4332
Size:	129.6 KB
ID:	3666281   Click image for larger version

Name:	Screenshot_20160301-181804.png
Views:	3972
Size:	27.7 KB
ID:	3666283   Click image for larger version

Name:	Screenshot_20160301-181847.png
Views:	3896
Size:	116.5 KB
ID:	3666284   Click image for larger version

Name:	Screenshot_20160303-224330.png
Views:	3684
Size:	194.3 KB
ID:	3669278  
The Following 86 Users Say Thank You to bitstra For This Useful Post: [ View ] Gift bitstra Ad-Free
 
 
4th December 2015, 07:45 PM |#2  
OP Senior Member
Flag Berlin
Thanks Meter: 2,519
 
More
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!
-We will be able to enable MTP via Homescreen-shortcut before connecting usb cable!
-Widget changes background color, when usb-cable is connected
-USB-connect listener improved!
-'Screen Rotation 'bug with widget fixed!


The Following 16 Users Say Thank You to bitstra For This Useful Post: [ View ] Gift bitstra Ad-Free
4th December 2015, 07:48 PM |#3  
OP Senior Member
Flag Berlin
Thanks Meter: 2,519
 
More
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!
The Following 6 Users Say Thank You to bitstra For This Useful Post: [ View ] Gift bitstra Ad-Free
4th December 2015, 08:40 PM |#4  
BreckZeBoulay's Avatar
Senior Member
Flag Boulay in Frankreich :D
Thanks Meter: 488
 
More
Simple and functionnal !

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 !!!
The Following User Says Thank You to BreckZeBoulay For This Useful Post: [ View ] Gift BreckZeBoulay Ad-Free
4th December 2015, 11:59 PM |#5  
OP Senior Member
Flag Berlin
Thanks Meter: 2,519
 
More
Updated from BETA 1 to BETA 2

See OP...
The Following User Says Thank You to bitstra For This Useful Post: [ View ] Gift bitstra Ad-Free
5th December 2015, 08:52 PM |#6  
OP Senior Member
Flag Berlin
Thanks Meter: 2,519
 
More
simple question - simple answer
a user asked me in another thread:
Quote:
Originally Posted by Starphish

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?

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
The Following 2 Users Say Thank You to bitstra For This Useful Post: [ View ] Gift bitstra Ad-Free
5th December 2015, 09:09 PM |#7  
Starphish's Avatar
Senior Member
Thanks Meter: 47
 
More
Quote:
Originally Posted by bitstra

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

That 'splains it ... a macbook! ^_^
The Following User Says Thank You to Starphish For This Useful Post: [ View ] Gift Starphish Ad-Free
7th December 2015, 10:31 AM |#8  
OP Senior Member
Flag Berlin
Thanks Meter: 2,519
 
More
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).
The Following 2 Users Say Thank You to bitstra For This Useful Post: [ View ] Gift bitstra Ad-Free
8th December 2015, 02:54 PM |#9  
tedrogers61's Avatar
Senior Member
Thanks Meter: 84
 
More
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.
The Following User Says Thank You to tedrogers61 For This Useful Post: [ View ] Gift tedrogers61 Ad-Free
8th December 2015, 07:36 PM |#10  
OP Senior Member
Flag Berlin
Thanks Meter: 2,519
 
More
Quote:
Originally Posted by tedrogers61

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.

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!
The Following User Says Thank You to bitstra For This Useful Post: [ View ] Gift bitstra Ad-Free
8th December 2015, 07:38 PM |#11  
OP Senior Member
Flag Berlin
Thanks Meter: 2,519
 
More
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!
-We will be able to enable MTP via Homescreen-shortcut before connecting usb cable!
-Widget changes background color, when usb-cable is connected
-USB-connect listener improved!
-'Screen Rotation 'bug with widget fixed!
The Following User Says Thank You to bitstra For This Useful Post: [ View ] Gift bitstra Ad-Free
Post Reply Subscribe to Thread

Tags
automate, marshmallow, mtp

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes