Automating USB Storage Popup. - Tasker Tips & Tricks

Hi Guys,
I need help for creating a profile/task in tasker that will automatically unlock my device and then auto click on "ALLOW" popup that appears after connecting my phone to pc using usb cable.
I've tried some patterns but no success, so any help would be great..
Thanks

I use Autoinput to make this happen ... It swipes up and then types my lockscreen code and clicks the allow button also... To make it more secure I have set to only allow this to run when my phone is connected to my android watch so it knows I'm near and also connected to my home WiFi as I only really use this at home !
Sent from my ONEPLUS A6013 using Tapatalk

netcracker said:
...
I've tried some patterns but no success, so any help would be great..
Thanks
Click to expand...
Click to collapse
Post the profile that isn't working for help troubleshooting it.

Cueball666uk said:
I use Autoinput to make this happen ... It swipes up and then types my lockscreen code and clicks the allow button also... To make it more secure I have set to only allow this to run when my phone is connected to my android watch so it knows I'm near and also connected to my home WiFi as I only really use this at home !
Sent from my ONEPLUS A6013 using Tapatalk
Click to expand...
Click to collapse
Thanks but in my case i want it to run only when a USB cable is connected not a smart watch or Wi-Fi[emoji847]
Sent from my SM-G925T using Tapatalk

You can do that too!
Sent from my ONEPLUS A6013 using Tapatalk

Related

On Screen Phone

Hi, does anyone ever succeed with LG On Screen Phone? i've installed all drivers including ADB ( with usb debugging both on and off method ) but it always fail to connect everytime after it asks to input the password (0-0-0-0). please help.
thnx!
i had problems at first but it was due to a driver problem. i use windows XP. i can use it both via usb and bluetooth, though much slower with BT but with USB the phone gets very hot as it's charging with too little power.
it's an awesome feature, like if your texting with someone you can write way faster, perfect when you're at work.
i've read about that some people had to use usb debug to make it work but i don't. make sure there's no yellow exlamation marks in the device manager, cause then some drivers aren't properly installed.
mertzi said:
i had problems at first but it was due to a driver problem. i use windows XP. i can use it both via usb and bluetooth, though much slower with BT but with USB the phone gets very hot as it's charging with too little power.
it's an awesome feature, like if your texting with someone you can write way faster, perfect when you're at work.
i've read about that some people had to use usb debug to make it work but i don't. make sure there's no yellow exlamation marks in the device manager, cause then some drivers aren't properly installed.
Click to expand...
Click to collapse
I'm running windows 7 64bit and installed all drivers including usb debug required drivers. No yellow exclamation mark in device manager and no luck to make osp working
Sent from my LG-P970 using Tapatalk
get a Mac
rashad1 said:
get a Mac
Click to expand...
Click to collapse
No I won't haha
Sent from my LG-P970 using Tapatalk
Mine works fine, downloaded the LG PC Suite and when I launched it it asked me to get On Screen Phone and it works pretty good.
rimatox said:
Mine works fine, downloaded the LG PC Suite and when I launched it it asked me to get On Screen Phone and it works pretty good.
Click to expand...
Click to collapse
what LG suite version did you download?
LG PC Suite IV 4.3.5.20110131
rimatox said:
LG PC Suite IV 4.3.5.20110131
Click to expand...
Click to collapse
Okay rimatox, I'll try with that version. Thank you
Sent from my LG-P970 using Tapatalk
Dont get a mac! Apple is the new microsoft.
Did you get it to work?
Sent from my LG-P970 using XDA App
You could also try droid vnc server beta, its more like a remote desktop server but for the phone so its the same but it will go through wifi or 3g, i didnt get it to work but i think its because of my isp.
Sent from my LG-P970 using XDA App
Hahaa I know, although I'm using mac in the office for some macos exclusive software but no thanx I prefer PC as main computer to do design job, moreover I have EIZO IPS monitor at my office and AOC IPS for my home PC so mac is not required.
Yeah osp is working now, thx man. But it has annoying bug, when I press power off button directly on the phone then powered on again to display lockscreen, osp won't update. So I must restart osp...
Unfortunately I don't have wifi on my computer so I can't try it. Maybe I'll test it at my office.
Sent from my LG-P970 using Tapatalk

Quick USB storage access

Hi guys. Anyone knows of quick access to USB storage on SGN (or market app)? I mean while having DHD, I just plugged USB cable and from notification bar switched to USB disk storage and in 1 or 2 clicks that was it. With SGN I have to go first to settings, then wireless and network, then USB utilities, then tap connect to PC, after that plug the cable and then tap connect again ... pretty silly . If the cable was in the meantime plugged only for charging, so have to unplug and then replug ...
Any clue? Thanks.
Thought u should be able to access it via e pull-down notification bar when u connect to usb device...
Sent from my GT-N7000 using xda premium
nposix said:
Thought u should be able to access it via e pull-down notification bar when u connect to usb device...
Sent from my GT-N7000 using xda premium
Click to expand...
Click to collapse
Well, the pull down menu only shows MTP connected and when you tap on it nothing happens ...
Turn on USB Debugging and it will work as described.
-darren
Sent from my GT-N7000 using Tapatalk
dgfriedl said:
Turn on USB Debugging and it will work as described.
-darren
Sent from my GT-N7000 using Tapatalk
Click to expand...
Click to collapse
Thanks Darren, that was it .

What is the best wireless keyboard for the Samsung smart dock?

That is the most compatible and maybe had a bit in trackpad?
Sent from my SGH-T889 using Tapatalk 2
I'm using the logitech k400 and it works great!
laztpn0i said:
I'm using the logitech k400 and it works great!
Click to expand...
Click to collapse
Judy made the buy!
Sent from my SGH-T889 using Tapatalk 2
cavenger said:
Judy made the buy!
Sent from my SGH-T889 using Tapatalk 2
Click to expand...
Click to collapse
Judy just made a buy also.
Sent from galaxy note 2, tablet in my pocket! ^_^
I just got one too, connected with my smart dock, but the problem that I am having is that in order to type anything, for example this message, the on screen keyboard pops up and I am not able to use the Logitech keyboard to input the letters. I have to actually use the trackpad in order to select each letter individually. I just had to remove my Note2 from the dock to finish this message, it was too tedious. Anyone have a work around? I do not seem to have the problem though when I am entering a URL in the browser address bar.
jpleez said:
I just got one too, connected with my smart dock, but the problem that I am having is that in order to type anything, for example this message, the on screen keyboard pops up and I am not able to use the Logitech keyboard to input the letters. I have to actually use the trackpad in order to select each letter individually. I just had to remove my Note2 from the dock to finish this message, it was too tedious. Anyone have a work around? I do not seem to have the problem though when I am entering a URL in the browser address bar.
Click to expand...
Click to collapse
Connect a wired mouse?
This is a little off topic query. I was used to using bluetooth mouse and keyboard for my phone. One of my friends came over and he used the keyboard with his phone. Ever since then I'm not able to connect the keyboard with my phone. It successfully gets paired but doesn't get connected. Tried another bluetooth keyboard and it's the same story. Mouse is still working good. Can I get this fixed?
《Samsung Galaxy Note II ★ GT-N7100》
IamPro said:
Connect a wired mouse?
Click to expand...
Click to collapse
It doesn't seem to make a difference if I have a wired mouse plugged in or not. It seems that if the on screen keyboard is up that the physical keyboard of the k400 does not work. I am stock but rooted by the way. Are you saying that you don't have a problem with your k400 inserting text and that your on screen keyboard doesn't come up when connected through the smart dock?
jpleez said:
I just got one too, connected with my smart dock, but the problem that I am having is that in order to type anything, for example this message, the on screen keyboard pops up and I am not able to use the Logitech keyboard to input the letters. I have to actually use the trackpad in order to select each letter individually. I just had to remove my Note2 from the dock to finish this message, it was too tedious. Anyone have a work around? I do not seem to have the problem though when I am entering a URL in the browser address bar.
Click to expand...
Click to collapse
I also have the k400. You need to download an external keyboard app, such as external keyboard helper pro. You can set up simple tasks such as the ability to switch automatically to the external keyboard when docked, and the ability to reprogram specific button presses to android specific tasks. I also use screen standby which basically turns off your screen backlight when docked. As soon as you unplug your phone everything goes back to normal.
What I dont like about the dock are small things like removing onscreen controls while watching videos or using youtube. Anyone have a fix for this?
Sent from my SAMSUNG-SGH-I317 using Tapatalk 2
jdub1981 said:
What I dont like about the dock are small things like removing onscreen controls while watching videos or using youtube. Anyone have a fix for this?
Sent from my SAMSUNG-SGH-I317 using Tapatalk 2
Click to expand...
Click to collapse
I agree with you on this. I don't know of an actual fix yet, to where the controls come up on screen. However I think the left and right arrow keys work as fast forward and rewind on videos where the fast forward and rewind hot keys don't.
Sent from my SCH-I605 using xda app-developers app

Can't Connect via PC Companion wirelessly.

Ok i've been trying to connect wirelessly to my laptop for more than an hour now. I do every step and when it comes to "to to usb connectivity and click on laptop name and then connect" it just hangs on connecting on the phone.
On PC it says that PC Companion will move to next step automatically when connecting is done. So, what I am doing wrong? Laptop is with Win8.
Wahad said:
Ok i've been trying to connect wirelessly to my laptop for more than an hour now. I do every step and when it comes to "to to usb connectivity and click on laptop name and then connect" it just hangs on connecting on the phone.
On PC it says that PC Companion will move to next step automatically when connecting is done. So, what I am doing wrong? Laptop is with Win8.
Click to expand...
Click to collapse
Anyone?
I take it you have wifi turned on and connected to the sane router as your computer, can I ask what you are trying to do because there are loads of app if you are trying to transfer files from phone to computer which root isn't needed
Sent from my C6603 using xda premium
I want to minimize opening flap for usb cable when I want totransfer something. I dnot know if there is some other program that allows WiFi file transfer. Suggest me something, but again I dont know why I can not connect
Same router, same network. Netgear WNR2000. I'm using it for nd net connection for my phone but I can not connect it. I put sleep time to 10minutes and nothing
Thanks in advance
Sent from Xperia Z
Wahad said:
I want to minimize opening flap for usb cable when I want totransfer something. I dnot know if there is some other program that allows WiFi file transfer. Suggest me something, but again I dont know why I can not connect
Same router, same network. Netgear WNR2000. I'm using it for nd net connection for my phone but I can not connect it. I put sleep time to 10minutes and nothing
Thanks in advance
Sent from Xperia Z
Click to expand...
Click to collapse
Pm comming
Edit: one other thing you can always use/try is a wireless adb install/push from Google play depending how good you do knowledge is
Adb install (location on computer) sdcard0 (or 1 for sd card) \ I think it is
But have a read about it because you can even get a log cat from it
Edit 2 something like this
https://play.google.com/store/apps/...1bGwsMSwyLDEsImJvaGxvb2wubmV0LndpZmlhZGIiXQ..
Maddhouse said:
Pm comming
Click to expand...
Click to collapse
Well you have lot of options to minimize opening of flaps.
First of course try to fix wifi network between xperia and router. Check for DHCP settings, try using WDS option if you have it.
I would also check if phone is recognised in windows networking.
there is an app on playstore that should work and prolly lot of them on pc
https://play.google.com/store/apps/details?id=com.smarterdroid.wififiletransfer&hl=en
You could get cheap dock and use it for sync and charging, you just change usb from charger to pc
Bluetooth transfer.
What should I check regarding DHCP? Also how can I check if my laptop is recognizing my phone?
It IS recognizing it when it's connected via usb.
I'm looking for DK26 dock but it looks like everywhere is out of stock or not delivering to my country. There are only overpriced sellers 40pounds + PP
Wahad said:
What should I check regarding DHCP? Also how can I check if my laptop is recognizing my phone?
It IS recognizing it when it's connected via usb.
I'm looking for DK26 dock but it looks like everywhere is out of stock or not delivering to my country. There are only overpriced sellers 40pounds + PP
Click to expand...
Click to collapse
Okay so your laptop is connected wirelessly and your phone is connected wirelessly with then same router?
If you install a adb wireless open/run as I have said in Op, enable debugging and then open adb and type adb connect "your phone's ip which the app on your phone will say"
Now does it say connected or failed if it says connected then type adb devices and you should get back your device adb code, if this works then I am wondering if your firewall software is blocking PC Companion to connect but I personally don't use PC Companion as long as adb works and a wifi transfer then that is all you need because in the incident that you need to use Senior flashtool that is done via cable
By the looks you are in the UK as well I have had a nightmare to get a Sony dk26 dock just keep trying because I bought mine Monday when they came back into stock but then by the time I had paid they had sold out again so I got one just in time
Sent from my C6603 using xda premium
Wahad said:
Ok i've been trying to connect wirelessly to my laptop for more than an hour now. I do every step and when it comes to "to to usb connectivity and click on laptop name and then connect" it just hangs on connecting on the phone.
On PC it says that PC Companion will move to next step automatically when connecting is done. So, what I am doing wrong? Laptop is with Win8.
Click to expand...
Click to collapse
Same here. Tried several times but no luck.
Sent from my C6602 using xda app-developers app
lovemyarc said:
Same here. Tried several times but no luck.
Sent from my C6602 using xda app-developers app
Click to expand...
Click to collapse
Sorry what have you tried, wireless connection or buy dock?
Sent from my C6603 using xda premium
Maddhouse said:
Sorry what have you tried, wireless connection or buy dock?
Sent from my C6603 using xda premium
Click to expand...
Click to collapse
Wireless connection via pc companion is not working.
Sent from my C6602 using xda app-developers app
Just tried it and it also hung for a while but just leave it and for a while and it then worked.
Phil
I had it working only one day, don't know what happened now I can't pair it wirelessly with PCC.
The Sony PCC write a file in the root of SD with the name of your PC when you do the pairing, delete it and retry. Also sometimes the procedure is very long I remember with other Xperia sometime it took almost 10/15mn to get it done.
If you want a third party app there is Filepush (here on xda and play store) that transfert file over wlan but only in one direction PC > Devices.
Edit :
Just tried it and it also hung for a while but just leave it and for a while and it then worked
Click to expand...
Click to collapse
What is the size of the file in SD with your PC name wrote by PCC?
My file is 0.00kb. I've deleted it and I will try again as soon as i come home.
Sent from Xperia Z
Ok, I just tested under ADB and its unable to connect.
I looked on internet and it looks like its router problem, port forwarding and stuff like that, the main problem is that I don't know how to forward port in my Netgear WNR2000
So if anyone can help me i would be very grateful.
Thanks to everyone that helped me so far. It looks like if i forward port 8000 it will work.
Wahad said:
Ok, I just tested under ADB and its unable to connect.
I looked on internet and it looks like its router problem, port forwarding and stuff like that, the main problem is that I don't know how to forward port in my Netgear WNR2000
So if anyone can help me i would be very grateful.
Thanks to everyone that helped me so far. It looks like if i forward port 8000 it will work.
Click to expand...
Click to collapse
okay so you turn adb app on and it gives you a ip address to enter e.g 192.168.8.6:5555 then you are now trying to connect on the laptop to it: adb connect 192.128.8.6:5555
Maddhouse said:
okay so you turn adb app on and it gives you a ip address to enter e.g 192.168.8.6:5555 then you are now trying to connect on the laptop to it: adb connect 192.128.8.6:5555
Click to expand...
Click to collapse
Yes, and its unable to connect.
I connected it to other router and it worked, but I dont know why its not working on netgear...
Well it looks like Pc Companion may be problem, I never use official programs because they mostly do not work good, like samsung kies for example.
However I tried this program I already suggested to you:
https://play.google.com/store/apps/d...transfer&hl=en
The program works just like it should without problems, maybe you could give it a go to check if its working for you.
Or you may use some other app that behaves similiar, and add that network location to your windows for faster access sync.
***
Airdroid is even better, it works amazing.
I paired my Xperia Tablet Z in less than 5 minutes same setting as usual, then tried to pair my Xperia Z, no way!
Don't know why mobile doesn't work while tablet does...
here is my 2 cents.. looks like I am resurrecting a dead thread. I tried to connect my tab Z with wifi.. I read the instruction clearly I think it says that the computer must be connected to router wired. Anyhow I tried connecting with network configuration. On 4.1.2 and 4.2.2 I could connect it to router both with wifi.. upgraded to 4.4.2 its a no go. I get
this.

USB Tethering

I'm looking for a way to switch the USB Tether on my rooted Xiaomi Mi 5x with MIUI 10.4.
The standard USB Tether action in Tasker is not available for my device, and even the secure setting plugin encounters an error when executing the USB Tether action.
Any help will be appreciated, thanks.
Have you tried using tasker and Autoinput ... As Autoinput can simulate touch points on a screen you can pretty much make any app an automatic app ... It takes a bit of getting used to but once you have got the basics you will be amazed !
Sent from my Pixel 2 XL using Tapatalk

Categories

Resources