automatically activate wifi? - Realme X50 Pro Questions & Answers

Hello
i use an app to automatically activate wifi when my screen is on and i'm home and to disable wifi when my screen is off it worked fine on my old phone and even on my oneplus 6t with android 10. but on my x50 pro it does not work automatically each time a popup asks me manually: the application requires authorization: activate or deactivate wifi: authorize or refuse.
how to delete this request and make it automatic (my phone is root)

I don't have a solution but i have the same problem.

My only 2 cents is that it seems to be mainly linked to the chinese ROM being very "harsh" in blocking everything. Any similar issues i had were solved by using the EU ROM, even with all the other implications of that right now.

i have the eu room and it's the same thing

I was gonna use Tasker to do a similar thing. But that also has that.

There is an option in Developer Options called "Disable Permission Monitoring". Automatic switching of wifi/bluetooth works with this option

Warinator said:
There is an option in Developer Options called "Disable Permission Monitoring". Automatic switching of wifi/bluetooth works with this option
Click to expand...
Click to collapse
that's the solution! thanks

I was wondering what that option was about (it doesn't disable permissions entirely, if someone thought that, i wondered ). Good catch!

Related

[APP] WIFIunlocker

Here I'll present you my first Android app that I wanna show the public
It's called WIFIunlocker and can disable your PIN/password lockscreen security for choosen Wi-Fi profiles. When Wi-Fi disconnects lockscreen security will be enabled again.
So for example you can add your home network and then you don't have to enter your PIN/password whenever you are connected to this network.
When Wi-Fi disconnects your PIN/password is enabled again.
But this app can do more, it can disable Bluetooth when your phone connects to one of your saved networks and it can enable Bluetooth and/or disable Wi-Fi when losing connectivity to a network.
You can also add a Wi-Fi profile that only disables Bluetooth, this is great if you have for example a Wi-Fi network at work.
I use it to automatically enable Bluetooth when I'm leaving home and disable it when I'm at work. I have one profile for my home place that disables BT and lockscreen security and a second profile for the coporate Wi-Fi that only disables BT while keeping the lockscreen security enabled.
This app works using the "Device administrator" mode, this means it works only on Android 2.2 and higher.
Also if you want to uninstall it you first have to disable the device admin mode, this can be done in the Android settings or in the app settings. If you don't disable device admin mode the uninstall will fail!
UPDATE 08-15-2011: I uploaded a fixed version that will disable the PIN/password if something went wrong while decrypting the PIN/password. So the worst thing that can happen is that it won't lock your phone at all. Before it was possible that the encrypted string was set as password. If you experience that your phone doesn't lock properly when disabling wifi or connectivity to a trusted network was lost send me a PM.
Since I don't like apps that use many permissions without telling me why, I'll explain you the permissions my app needs to work.
android.permission.ACCESS_WIFI_STATE
android.permission.ACCESS_NETWORK_STATE
These 2 are for the broadcast receiver so my app knows when you enabled or disabled Wi-Fi, connected to a network or disconnected from a network.
android.permission.BLUETOOTH
android.permission.BLUETOOTH_ADMIN
These 2 are used to turn BT on/off.
android.permission.CHANGE_WIFI_STATE
This is to disable Wi-Fi if you enabled the option for it.
android.permission.READ_PHONE_STATE
This one is to get the IMEI to secure the password.
android.permission.WAKE_LOCK
Needed if you enable the "Use wake lock" option. Wi-Fi state changes are recognized alot faster with the option enabled but it will drain your battery a bit.
android.permission.WRITE_SETTINGS
This one is used to set the Wi-Fi sleep policy to never sleep while connected to a trusted network.
Since XDA is a great community I'll post the full version for free here but I don't want anybody to make a mirror, add it to a ROM or anything else. This should be the only place to get it for free!
Please donate if you like the app
Thanks to Ben74 and his app Unlock With Wifi. He gave me the idea to make this app because he didn't want to add Bluetooth profile support
If you have downloaded the app before 08-15-2011: Update to the latest version! If you don't want to update but uninstall the app disable device admin in the Android settings (Settings -> Location & security -> Select device administrators) and NOT in the app settings!
Nice bro thanks
Sent from my SGH-T839 using XDA App
So what this application does is just unlocking your phone in save places so you do not have to and when you leave it goes to protected state?
Very good. Any known issues?
Like the guy who can not uninstall it?
As i understand it is so good protested that he slashed the phone and it still asks for the password. It should also give some contact info where to return the phone or who to call if your phone was found.
mahatma said:
So what this application does is just unlocking your phone in save places so you do not have to and when you leave it goes to protected state?
Very good. Any known issues?
Click to expand...
Click to collapse
Exactly, it uses the android lock screen security feature for that. The app just sets the password to nothing while connected to a trusted Wi-Fi network. When the connection is lost it sets the password back to the one you have entered.
Known issue: It seems the first version had a problem sometimes to decrypt the saved password and has set the encrypted string as password. THIS CAN'T HAPPEN ANYMORE WITH THE UPDATED VERSION. If something goes wrong while decrypting it will set an empty password (the phone is not locked).
mahatma said:
Like the guy who can not uninstall it?
As i understand it is so good protested that he slashed the phone and it still asks for the password.
Click to expand...
Click to collapse
If you uninstall the app while not connected to a trusted network the app can't disable/change your password anymore. You can only disable/change the password in the Android Settings then(Settings-> Location & Security -> Change screen lock).
mahatma said:
It should also give some contact info where to return the phone or who to call if your phone was found.
Click to expand...
Click to collapse
I don't think this is something this app should do, you won't have such information when using the normal screen lock security too. Since the app just disables the screen lock security in trusted profiles I don't think this feature is something that this app has to have.
OK i installed the app and now i am i my home secured network and when i am waking the phone it asks me about the password not the pattern i had but i suspest it shuld not ask me for it at all if i am in the trusted network?
mahatma said:
OK i installed the app and now i am i my home secured network and when i am waking the phone it asks me about the password not the pattern i had but i suspest it shuld not ask me for it at all if i am in the trusted network?
Click to expand...
Click to collapse
This does not work for the unlock pattern only for PIN and password. You have to add your network to the trusted networks. Then you pick it from the list and choose what you want when the phone connects to this network.
Sent from my HTC Vision using Tapatalk
Cannot uninstall
Sent from my PG86100 using XDA Premium App
im not trying to be rude, but this app is exactly same as unlock with wifi....
Jbb3393 said:
Cannot uninstall
Sent from my PG86100 using XDA Premium App
Click to expand...
Click to collapse
You have to disable device admin mode to uninstall it. You can do this in the app settings or in the Android settings.
Sent from my HTC Vision using Tapatalk
zeke1988 said:
im not trying to be rude, but this app is exactly same as unlock with wifi....
Click to expand...
Click to collapse
No its not exactly the same, with my app you can add wifi profiles that only disable bluetooth. Unlock with wifi just provides the option to disable bt when you lose any wifi connection. I asked Ben74 to add such a feature but he didn't want to. His app has other options like enable/disable gps that I don't need so I didn't add them.
But maybe you should read the whole first post, I have explained it and have thanked Ben74 for the idea.
Sent from my HTC Vision using Tapatalk
Guess what
I attempted to uninstall the app
I switched off administrator mode
uninstalled the all successfully and when it went to lock screen it asks me now for the password?
I am trying to use password that i used during installation and what? Wrong Password
what can be done now?
I am dredding to attempt to uninstall it from my wifes phone.
Any help??
I have uploaded a new version which doesn't have the "unknown password" bug anymore for sure!
If you have downloaded the app before 08-15-2011: Update to the latest version! If you don't want to update but uninstall the app disable device admin in the Android settings (Settings -> Location & security -> Select device administrators) and NOT in the app settings!
I'm trying the app on my Tab right now, thanks for making it available.
If I disable the wifi on the Tab, should the lock/password screen appear the next time I take it out of standby? I just want to test that the app is working as it should.
i managed to switch off screen locking and properly unindtalled the wifilocker but now when i switch on screen lock with pin or password after it goes on it again does not recognise the password or PIN even the app is not installed
What have your app done to my phone??!!
I installed new version and it is the same problem sorry wrong password
i uninstalled it and before that i removed wifi unlocker from (Settings -> Location & security -> Select device administrators) and the same problem.
The question is WHAT this app done to our passwords? and why it can not be undone even by uninstalling the app and reflashing the phone?!!!
whenever you switch on any password or screen lock it does not recognise it when you trying to use it. It is something messed with password encryption algorithm.
I think that if we should to test the app for you and kill our devices there should be better support not once a day
the only difference between the old and new FIXED version that before once i managed to enter the phone i could change the screenlock and just switch it off. Now i can not as it asks about the password so it is even worst than it was.
Any update?
Any help
Any toughts?
Is that app just a prank to see how far will we go in bricking our handhealds?
Wow, I think this app needs to removed right away. It's in a state that it's able to brick devices. Flashing a different rom after wiping everything keeps the unknown password bug in there.
And **** **** piss, what a hassle to contact a mod. Did you notice my post by swearing? Devices became unusable because of this app. Nothing personal to the developer, but it needs more testing! And not to the public anymore.
UKseagull said:
I'm trying the app on my Tab right now, thanks for making it available.
If I disable the wifi on the Tab, should the lock/password screen appear the next time I take it out of standby? I just want to test that the app is working as it should.
Click to expand...
Click to collapse
When you have set up a password in the app it is applied immediately. You can add a WiFi network to the trusted profiles then. If you want to disable the password while connected to this WiFi network you have to pick it in the list and activate "Disable screen lock".

[Q] Wi-Fi and Data gets enabled automatically, how to prevent this?

For past few weeks, the Wi-Fi & Data in my rooted LG L90 with Kitkat 4.4.2 gets automatically enabled. Earlier, when I disable these it stays disabled till I go and enable it.
I tried to restrict background data, turned off my Wi-Fi router at home, for data I created a new Access point in Mobile network and disabled auto sync, nothing worked.
I even tried applications like AutoData and others and these were of no use.
Please help me to disable Wi-Fi and Data permanently and it should be turned on only when I enable it.
santo21 said:
For past few weeks, the Wi-Fi & Data in my rooted LG L90 with Kitkat 4.4.2 gets automatically enabled. Earlier, when I disable these it stays disabled till I go and enable it.
I tried to restrict background data, turned off my Wi-Fi router at home, for data I created a new Access point in Mobile network and disabled auto sync, nothing worked.
I even tried applications like AutoData and others and these were of no use.
Please help me to disable Wi-Fi and Data permanently and it should be turned on only when I enable it.
Click to expand...
Click to collapse
Most likely you have an underlying app installed that wants to use WFi and phone data whenever it wants.
Go ahead and grab avast! Antivirus. This app allows you to control what apps use the Internet and when, as well as other features. Try disabling WiFi/data on each of the apps you've installed, and I can guarantee a 98.5% chance that this will solve your problem.
Issue partially resolved
thenookieforlife3 said:
Most likely you have an underlying app installed that wants to use WFi and phone data whenever it wants.
Go ahead and grab avast! Antivirus. This app allows you to control what apps use the Internet and when, as well as other features. Try disabling WiFi/data on each of the apps you've installed, and I can guarantee a 98.5% chance that this will solve your problem.
Post thank?
Click to expand...
Click to collapse
Installed Avast Anti Virus and through its Firewall settings, I was able to disable WiFi & Data to some extent. This is far better than my previous situation. Thanks for your help.
Maybe you can use Tasker to further curb this behaviour.

VPN connection after factory reset

Hello,
I just did a factory reset on my non-rooted, stock oneplus one running Android 5.0.2 and Cyanogen OS 12.0. theything seems to be just fine except VPN. I have used Open VPN on all my phones for years. It has been working flawlessly on the oneplus one. I currently subscribe to Witopia VPN and use manual configurations. Works like a boss. After the system reset, Open VPN app installs properly and previously used/ working configurations are loaded. Once an attempt is made to connect, Android by default opens a verification screen before final connection. When I click ok to connect, "OK" button is not responsive and have to cancel attempt. I have downloaded and tried multiple VPN's which use their own configurations. All these apps require manual verification to connect. The same system pop up appears with the choice to "cancel" or "OK." The result is the same with every single VPN app. The "OK" button is non-responsive and have to cancel attempt. This has worked AMAZING up to the system reset. I am lost and really bummed out. My last resort is to flash back to factory 4.4.4 stock again and hope problem will correct itself, UNLESS someone has a brilliant plan. Thanks!
Are you using any apps that have an overlay like Easyeyes? Because that's an Android security feature to prevent clickjacking. The workaround is to temporarily disable the overlay (e.g. disable Easyeyes) and then you should be able to click OK again.
BINGO!
kylemsguy said:
Are you using any apps that have an overlay like Easyeyes? Because that's an Android security feature to prevent clickjacking. The workaround is to temporarily disable the overlay (e.g. disable Easyeyes) and then you should be able to click OK again.
Click to expand...
Click to collapse
BINGO!! You are absolutely 100% dead on! Not using Easyeyes, but have been using Lux Auto Brightness. I temporarily deleted app and VPN connects again! I will reinstall Lux Auto Brightness and just turn off when need to connect. Brilliant. I was preparing to reflash stock image and start from scratch. This saved me 2 days worth of unnecessary BS. Thanks!!!
You're very welcome

Nougat Non-Root Guide Tips/Tricks...That Root Functionality Without the Root

The Non-Root Nougat Guide for the Sprint S7​
You need stock Nougat on your device. There are several ways to achieve this:
1. OTA Update​2. Install the firmware via ODIN from Sammobile; Updato​
Why Most People Root​
1. Ad Blocker
2. Hotspot Hack
3. Youtube Ad Free
4. Remove Bloatware
5. Xposed (not right now)
6. Other tips/tricks
7. Credits
Here my tips and tricks for getting this Root feel, but keeping the stability of stock.
1. Ad Blocker
This are local hosts, meaning that your info doesn't go to a random server and then come back to you. It stays on your device for your eyes only!
1. DNS66 This one uses a hosts file, just like adaway for those of you who used it while rooting. Since everything is done via a local DNS, you the battery life it is the same as adaway, non-existent! Given that it only blocks entire host names, it cannot block as detailed as some other ad blockers. However, I haven't seen any ads in apps or browsers and no battery hit either! Just make sure the hosts files have a red dot next to them and you have to refresh before activating. Will still block ads on device even when tethering! Great support too!
2. Ad Guard. Good ad blocker. Runs everything through a VPN though, which comes at a battery hit. This one also comes with a price tag! Offers Youtube Ad Blocking, but you must enable their DNS, which puts your information to their servers and then back to you...this blocks ads about 50% of the time. Good support too!
3. Adhell Uses Samsung Knox to block ads and trackers. Blocks most things on webpages and apps (no youtube), but saves a ton a battery since it doesn't require VPN. Not as good as blocking as the first two, but does work a little. Just my opinion though. Also, it is FREE!
4. Disconnect Pro Similar to Adhell, but a paid app,but can be found for free during sales. Search the Galaxy App Store to buy it. Uses Samsung Knox too.
5. AdClear. Some have had success with this, I've had mixed results.
6. BlockThis! Works well, but caused issues on some webpages.
As with all of the above, you will need to whitelist some apps for them to work properly. Like, AdHell and Disconnect have the Google Play Music bug. If you find an app is using a ton of battery, it may need to be whitelisted...usually, google apps have this problem.
2. Hotspot Hack
1. Enable developer mode:
a. Go to settings
b. Scroll down to about phone
c. Repeatedly tap "Build number" until developer access is granted
2. Get ADB installed w/ drivers
a. https://forum.xda-developers.com/showthread.php?t=2588979
3. Enable USB Debugging
a. Go to settings
b. Go down to developer options
c. Scroll down to USB Debugging and turn it on
d. Connect phone with USB to PC
4. Get into ADB shell
a. Open a command prompt (windows key + R , type "cmd" in the box and press enter is my favorite way)
b. Run:
Code:
adb shell
5. Enable the bypass
a. Disable the DUN requirement
Code:
settings put global tether_dun_required 0
b. Overwrite the DUN APN
Code:
settings put global tether_dun_apn "APNDUN,n.ispsn,,,,,,,,,310,120,,default,mms,dun"
6. Turn off Mobile Data
7. Turn on HotSpot
8. Turn on Mobile Data
Every time that you want to use the hotspot you have to turn data off; turn hotspot on; turn data back on. When you disconnect your hotspot you need to do the following:
1. Turn Hotspot Off
2. Turn Mobile Data Off
3. Turn Mobile Data On
People will complain, but after you run the code the first time, turning hotspot on and off literally takes just seconds.
3. Youtube Ad Free
1. Youtube in the background, downloading, and so far ad free Youtube can be achieved with OG Youtube. Read the OP and also install this apk found in post 5592 It doesn't say, but in combination with DNS66, I haven't seen any ads after installing this and disabling the old Youtube. It will occasionally ask you to update and just hit Later.
2. If you want to use the original Youtube app, this doesn't block ads, but it does silent and auto skip them. Cygery
3. Use an VPN to route your data somewhere and back. It isn't 100%, but AdGuard offers this type of service. I believe Block This and AdClear may too.
4. Remove Bloatware
This is probably the biggest difference between root and non-root. They are all installed with the same apps. With root, you can delete the system apk or, with root and non-root, you can use a package disabler, you can disable unwanted apps. The problem is that occasionally you will disable or delete something that will cause a chain reaction leading to boot loops or excessive battery drain.
I find it best to go to the application manager and manually disable or uninstall through it. This way, the system will know what's there and what isn't...no surprises. You can uninstall the Sprint crap like TV, Tech Support, Fun and Games, Family Locator...basically every Sprint app except for voicemail. Not disable, but uninstall them completely!
You can disable the following (probably more, but I must be using them): Amazon; Kindle; Facebook; Instagram; Lookout; Messenger; Prime Stuff; S Health; S Voice; Samsung Gear; Youtube (remember the tip above); some of the Google Play apps like Movies and TV; probably more too, but I must actually use those apps.
I'm sure there are some that I'm missing too....I remember uninstalling some weather app too.
The point is that Nougat seems friendlier in terms of uninstalling or disabling software compared to Marshmallow.
5. Xposed (not right now)
Not available for Nougat at the moment. But this update is really customizable!
6. Other tips/tricks
1. Skip Tracks With Volume Keys
1. Frinky Music Controller Allows you to skip tracks with screen off.
2. Noyze Not sure if still being developed, but works. Let's you skip tracks by long pressing with screen off.
Doze Related
Remember to whitelist apps you want running in the background...like Pandora, Google Music, etc. I would leave them off at first and if it cuts off when the screen is off, you need to white list it.
I haven't used these apps in Nougat as the new doze seems fine, but to each his own:
1. ForceDoze puts your phone into doze mode without the motion detectors and 30 minute wait. Great app! Does require you to install adb (adb installer) since you have to run a command to get it to run properly. Check Disable motion sensing and turn off while charging
2. Greenify The auto hibernation works great if we had root, but we don't. It works, but can be extremely annoying at times and can drain battery because it may continuously try to force stop/close an app you greenify. Plus, it will take a few seconds to re-unlock your phone immediately after you turn off the screen. However, I use it with force doze for the aggressive doze. I saw a difference in battery life by using them both. Still need to adb a command
Other Tips
Besides the obvious of gmail/facebook/whatspp/twitter/snapchat syncing
1. Turn off wi-fi scanning
2. Back up my data for Samsung and Google under back up and reset
3. Turn off some features under advanced features in settings...for example, palm swipe to capture if you never use it
4. Location History under Location
5. Change locating method...I leave mine on GPS, wi-fi, mobile, but some people want more battery life and turn it off.
6. Turn on developer options and change animations to 0.5
7. Turn off Always on Display under settings > display. I like it, so I leave it on...but takes about 2% an hour
7. Credits
These people did all of the hard work:
@YMNDLZ -- Download link
@julian_klode -- DNS66
@ paul2112 -- Hotspot Fix
@ cygery -- AdSkip
@ OGMods -- OG Youtube
@resident77 -- OG Youtube Fix
@ ssrij -- ForceDoze
@ SEVEN_AdClear -- AdClear
@daria -- AdGuard
@ Snoop05 -- ADB Fast Installer
And anyone I missed, let me if you want to be added and thanks for your work!
thanks Hotspot works great i just turn it on toggle data off then on and wallaa
also i can just shut off hot spot and everything works no toggling for shut off.
I was on the OG PB5 firmware because of the apns being editable but now ive made the leap
Gotta have that hotspot
Thanks
Robalboa said:
thanks Hotspot works great i just turn it on toggle data off then on and wallaa
also i can just shut off hot spot and everything work no toggling for shut off.
I was on the OG PB5 firmware because of the apns being editable but now ive made the leap
Gotta have that hotspot
Thanks
Click to expand...
Click to collapse
Awesome. And you should be able to use phone data with this method while tethering too. @paul2112 did most of the legwork for this fix.
Please credit @paul2112 for the Hotspot fix in the OP. He pioneered this effort.
Sent from my SM-G935P using Tapatalk
lvpre said:
Awesome. And you should be able to use phone data with this method while tethering too. @paul2112 did most of the legwork for this fix.
Click to expand...
Click to collapse
yes you can use phone while hotspot is activated no problem. plus when u shut it off no toggling.
thanks @paul2112
daddymikey1975 said:
Please credit @paul2112 for the Hotspot fix in the OP. He pioneered this effort.
Sent from my SM-G935P using Tapatalk
Click to expand...
Click to collapse
Read the credits... he's been there since the post. I slightly modified his code because this was the only way I could get tether data and phone data to work simultaneously. I couldn't get both on his last suggestion.
Robalboa said:
yes you can use phone while hotspot is activated no problem. plus when u shut it off no toggling.
thanks @paul2112
Click to expand...
Click to collapse
Sent from my SM-G930P using XDA-Developers Legacy app
lvpre said:
Read the credits... he's been there since the post. I slightly modified his code because this was the only way I could get tether data and phone data to work simultaneously. I couldn't get both on his last suggestion.
Sent from my SM-G930P using XDA-Developers Legacy app
Click to expand...
Click to collapse
My apologies if I missed it.
Sent from my SM-G935P using Tapatalk
daddymikey1975 said:
My apologies if I missed it.
Sent from my SM-G935P using Tapatalk
Click to expand...
Click to collapse
No problem. But this fix was the only way I was able to get phone and tether data working together. Not sure if you had success with what he posted, but I always would get one or the other.
how can I hide the carrier text?
John.C01 said:
how can I hide the carrier text?
Click to expand...
Click to collapse
Have to root for that one. Mine only shows on the lockscreen though. Is yours showing constantly?
Sent from my SM-G930P using XDA-Developers Legacy app
lvpre said:
Have to root for that one. Mine only shows on the lockscreen though. Is yours showing constantly?
Click to expand...
Click to collapse
I don't know if it's because my country... But my CHN-UNICOM is always showing.
John.C01 said:
I don't know if it's because my country... But my CHN-UNICOM is always showing.
Click to expand...
Click to collapse
Even with icons in the notification bar?
Sent from my SM-G930P using XDA-Developers Legacy app
Im confused on what the "hotspot" hack is. When I turn on Hotspot on my stock S7e, it turns off WIFI and only uses LTE. Are you saying this hack will allow us to use hotspot with WIFI?
ryan2202 said:
Im confused on what the "hotspot" hack is. When I turn on Hotspot on my stock S7e, it turns off WIFI and only uses LTE. Are you saying this hack will allow us to use hotspot with WIFI?
Click to expand...
Click to collapse
No. It will allow you to make your phone a router and use your phone data for internet.
Sent from my SM-G930P using XDA-Developers Legacy app
Ok, I'm lazy. Is there a single button method for the toggling for hotspot? I'm using my phone as a hotspot for a tablet thats installed in my car and so being quick is important. I'm trying to build something using "Automate" app but does anyone have something already configured?
fyi, actually just turning on hotspot or off now does the trick. No need to toggle mobile network on/off. I'm on Sprint.
I can confirm Hotspot last through new android update/dated 3/29 heres a screen shot
new update 5/31/17 hotspot non root method sticks and works fine. id like to offer a new method and give thanks to the guy that found it maybe you can incorporate this into your guide so easy a caveman can do it lol
this https://forum.xda-developers.com/sprint-s7-edge/how-to/finally-free-hotspot-galaxy-s7-edge-t3612592
Success! (Stock SM-G930P & SM-G935P)
Thank you so much for this guide! It's been the only successful method to get unlimited hotspot working on my S7 & a friend's S7 Edge! (both stock & most recent firmware) :good:
When using this method, I achieve hotspot as mentioned....but loose ipv6 by doing so!? Any ideas on why or how to fix so when I toggle data/hotspot I can keep ipv6 connectivity, thanks

Automatic Hotspot

Has anyone been able to get any program to automatically enable hotspot (for example, when bluetooth connects turn on hotspot)? I used to use Tasker on my Note 7 (without root and with Secure Settings), but now Tasker fails to enable hotspot on my S8+
Every program I've tried in the Play Store fails to enable hotspot...it is like Samsung has done something that to keep programs such as Tasker and Automate from working...
It fails because the US branded versions of the phone changed the normal way to enable the hotspot function in order to perform additional entitlement checks with some US carriers before enabling the hotspot. This is why Tasker and other programs fail.
On the unlocked, unbranded version of the S8+ (which doesn't run the carrier software and doesn't run those checks), it works fine.
The same goes to the pixel, only there it depends on the SIM you insert into the phone. If you insert a VZW or ATT SIM, the Tasker process will fail. If you use a T-Mobile SIM in the pixel, it will work because T-Mobile doesn't run those entitlement checks.
When I used an international SIM in the Pixel, it also worked.
I hope this helps.
This is the error I get with tasker, is this what you see?
Ugh...I figured it was something to do with that. That's like knowing cancer is the cause of that pain in your gut...good to know what it is, still sux.
I have been able to get Tasker and AutoInput to activate the hotspot fairly reliably when I connect to bluetooth. It actually works very well, even with the screen off. Guess it'll do.
Care to explain what you are doing there? Is autoinput disabling mobile data, enabling hotspot then re-enabling mobile data?
Auto Enable Hotspot with Tasker on S-8
I got the automatic hotspot worked out using Tasker and AutoInput. I tried several ways that were hit or miss. I finally figured it out and can now activate my Hotspot reliably when my phone connects to bluetooth.
If anyone is interested, here is the export. You will need AutoInput from the Play store, and Tasker. Root is not necessary. It is probably a pretty clumsy way of doing it, but it works.
Simply copy the Hotspot Enable XML file to your Tasker Configs folder. Then Tasker>>3-dot menu>>Data>>Restore>>browse to file
Thanks I'll try this. I always used tasker before but obviously w/o Autoinput.
Dave
No dice for me. Aside from autoinput and tasker did you have to install anything else? I did enable the autoinput accessibility service. I've included screenshots of what I get when I try to run the task and also when I click on any one line of the task. When I click to install what it says to it says it is just takes me to auto input in playstore which is already installed. Is there somewhere else I need to enable this auto input plugin?
It also seems I had to install secure settings which I did to no avail.
Thanks much
Dave
TT_Vert said:
No dice for me. Aside from autoinput and tasker did you have to install anything else? I did enable the autoinput accessibility service. I've included screenshots of what I get when I try to run the task and also when I click on any one line of the task. When I click to install what it says to it says it is just takes me to auto input in playstore which is already installed. Is there somewhere else I need to enable this auto input plugin?
It also seems I had to install secure settings which I did to no avail.
Thanks much
Dave
Click to expand...
Click to collapse
Sorry Dave, I haven't been back on.
It looks like you need to install "Secure Settings" from the play store. It is an add-on to Tasker. It should work after that.
So yes, you need Tasker, Secure Settings, and AutoInput. You could honestly probably do without the first command in Tasker (the one that needs Secure Settings...it only turns the screen on).
I tried again removing that first line and every single action if I click on it I get the error in the picture below. I try to manually run it in tasker it just sits at the first task. How did you create this exactly?
Btw, if I click to install it just brings me to autoinput I the play store which says it's installed.
Any help pinetreehater?
Well i ended up having my phone die and got a new one from samsung. Same issue I had w/ the other one. There has to be some other step involved that I'm missing here.
Any luck yet?
Sort of working
I downloaded and paid for AutoInput. The script is mostly working. But it stops at the Hotspot setting screen and never seems to turn it on.
Any ideas?
Apologies for necroposting, but I thought this might help future people. The only issue I can think is that you need to make sure you've activated Autoinput's trial period OR purchased the full version, do that and the supplied script works perfectly.
so I'm using the s9, figured the process would be close enough. first Trigonous' fix worked for me mostly, except I still have to unlock my phone before it finishes turning on hotspot. Also, for any totally novice users coming in to try to do this, I had a fun time at first locating the Tasker Configs file, if you create a back up in tasker it will create the file for you so you can copy the .xml to the proper place.
Most important part of this post, to me at least, is there a way to get it to by pass my unlock and just do it or do I have to pull out my phone still and unlock it for it to finish the task?
snaggle2thtiger said:
Most important part of this post, to me at least, is there a way to get it to by pass my unlock and just do it or do I have to pull out my phone still and unlock it for it to finish the task?
Click to expand...
Click to collapse
I'm no expert, but why not set your cars Bluetooth as a trusted device, therefore unlocking your phone when connected, then maybe a brief delay after connection allow it to continue?
Thank you
pinetreehater said:
I got the automatic hotspot worked out using Tasker and AutoInput. I tried several ways that were hit or miss. I finally figured it out and can now activate my Hotspot reliably when my phone connects to bluetooth.
If anyone is interested, here is the export. You will need AutoInput from the Play store, and Tasker. Root is not necessary. It is probably a pretty clumsy way of doing it, but it works.
Simply copy the Hotspot Enable XML file to your Tasker Configs folder. Then Tasker>>3-dot menu>>Data>>Restore>>browse to file
Click to expand...
Click to collapse
Thanks man, saved me some time, it works perfectly. I installed AutoInput and was moving in the same direction.

Categories

Resources