Trying to Control WiFi HotSpot with Tasker - Nothing is working - Google Pixel 2 XL Questions & Answers

Howdy all!
My request is simple... All I want to do is control my WiFi Hotspot with Tasker. I've searched high and low people with Pixel 2XLs have reported everything from, "it just works", to "try Nougat+ Tether Toggle", etc. Everything I've tried hasn't worked.
My current setup is as follows:
1. Apr 2018 Android Security Update
2. TWRP v3.2.1-2
3. ElementalX Kernel 1.06 (Apr Security Update)
4. Magisk v16.3
I've verified that Tasker has root privileges. Tasker's built in WiFi Tether control tells me "Action WiFi Tether Failed". When using Nougat+, I get closer, with this error: "Neither User xxxxx not current process has android.permission.TETHER_PRIVILEGED".
Now, I haven't installed Nougat+ as a system app, because I believe that will trigger SafetyNet, etc., which will effectively break a bunch of stuff from working like Google Pay. Is this a correct statement? Does anyone know of another way that doesn't involve modifying the system partition?
FYI, my service is AT&T, and I have tethering enabled. I can also manually enable Tethering by tapping on the tile. I just want a way to automate it.

I believe there might be a problem with the April security update. Personally, I am not very well versed in using code, although I think that there might be an easy fix that we can just turn tethering on or off through provisioning. If anyone has any tips on how we can do that through the build.prop, or any other way, that would be much appreciated!

Cowbell_Guy said:
I believe there might be a problem with the April security update. Personally, I am not very well versed in using code, although I think that there might be an easy fix that we can just turn tethering on or off through provisioning. If anyone has any tips on how we can do that through the build.prop, or any other way, that would be much appreciated!
Click to expand...
Click to collapse
It's not the APR update... I've had the problem with March as well, I've only just now decided to root, etc. in hopes of solving the issue.
To be clear, I'm already provisioned, and I'm not trying to skirt paying for tethering. As I indicated, I pay for tethering as part of my plan, and it works without an issue, but to enable it I need to manually tap the Hotspot tile in the Quick Settings Tiles.
I would simply like to be able to enable automatically.
Also - I believe modifying Build.Prop would certainly trigger SafetyNet to fail, which again, kills Google Pay, etc. - so this is a non-starter.

Bump?

I have tried the plugin and it works if you allow it to change the system settings.
Sent from my Pixel 2 XL using XDA Labs

I still couldn't get it working, BUT, someone converted it over to a Magisk Module, and the module version works perfectly well.
Problem Solved? I think so.

Can you share it with me?

Morphx2 said:
Can you share it with me?
Click to expand...
Click to collapse
It's in the magisk repository. Just open the Magisk Manager, and click "downloads", and search for "Tether".

Related

Best way to setup one action for serial tasks (e.g. wifi off, data on, vpn start)?

I've started using OpenVPN, and to use it I disable wifi, enable data, and then get into OpenVPN to establish the connection. That's not convenient at all, and neither is getting off the VPN.
What's the best way of creating a single icon for such things?
I thought perhaps Tasker, which I've read about but not used yet, but I have a sneaking suspicion that I'm overlooking something else.
I'm on stock 4.1.2 now but am considering CM10.
rseiler said:
I've started using OpenVPN, and to use it I disable wifi, enable data, and then get into OpenVPN to establish the connection. That's not convenient at all, and neither is getting off the VPN.
What's the best way of creating a single icon for such things?
I thought perhaps Tasker, which I've read about but not used yet, but I have a sneaking suspicion that I'm overlooking something else.
I'm on stock 4.1.2 now but am considering CM10.
Click to expand...
Click to collapse
Tasker + Secure Settings can do this but you may need to figure out a script to get it to also enable OpenVPN's connection.
Tasker is worth every penny
moe6 said:
Tasker + Secure Settings can do this but you may need to figure out a script to get it to also enable OpenVPN's connection.
Tasker is worth every penny
Click to expand...
Click to collapse
OK, thanks, I'm beginning to bludgeon my way through Tasker now (a bit of a steep learning curve). I'm curious, though, which part of what I want to do is Secure Settings for? I've read its description, but it's hard to pick out which particular thing there you had in mind.

Root for the Pixel Xl from the google store?

Has anyone made anything that roots the pixel xl, the variant from the google store with the unlocked bootloader? I want to root my device, no need for custom recovery and install a system wide adblocker.
lovenokia said:
Has anyone made anything that roots the pixel xl, the variant from the google store with the unlocked bootloader? I want to root my device, no need for custom recovery and install a system wide adblocker.
Click to expand...
Click to collapse
Not yet. Partitions are different on the Pixel compared to other phones which is going to create a different method for root. It will happen when the devs figure it out. I am looking forward to tinkering with my new Pixel.
lovenokia said:
Has anyone made anything that roots the pixel xl, the variant from the google store with the unlocked bootloader? I want to root my device, no need for custom recovery and install a system wide adblocker.
Click to expand...
Click to collapse
Chain fire is waiting for his to be delivered to his country. Once he gets it then he will start working on root. He says it will be a little harder so it will take a little longer. Also the dev beanstown is on the waiting list for November so we will start seeing root and custom Roms by December I bet.
lovenokia said:
Has anyone made anything that roots the pixel xl, the variant from the google store with the unlocked bootloader? I want to root my device, no need for custom recovery and install a system wide adblocker.
Click to expand...
Click to collapse
Have you tried Adguard, no root needed and easy to toggle on/off, I started using it on my work phone and have found that it works very well, enough that I've switched to it on my personal phone and on the desktop.
Local link: http://forum.xda-developers.com/android/apps-games/adguard-ad-blocker-doesnt-require-root-t2958895
If you find a need for the premium functions googling "adguard stacksocial" will give you a much cheaper option for multi device usage.
rgbc said:
Have you tried Adguard, no root needed and easy to toggle on/off, I started using it on my work phone and have found that it works very well, enough that I've switched to it on my personal phone and on the desktop.
Local link: http://forum.xda-developers.com/android/apps-games/adguard-ad-blocker-doesnt-require-root-t2958895
If you find a need for the premium functions googling "adguard stacksocial" will give you a much cheaper option for multi device usage.
Click to expand...
Click to collapse
This is totally speculation, but since Adguard appears to use the android VPN to block ads, I imagine this may have some kind of negative affect on Wi-Fi assistant (if you have it enabled). I would test it, but honestly I don't trust that this company is tunneling all the traffic of all your apps through them. Seems a bit sketchy to me, but to each their own.
EDIT: Seems I misunderstood how the application functions. I'll still be waiting for root, but thanks to rgbc for the info.
bigbabys said:
This is totally speculation, but since Adguard appears to use the android VPN to block ads, I imagine this may have some kind of negative affect on Wi-Fi assistant (if you have it enabled). I would test it, but honestly I don't trust that this company is tunneling all the traffic of all your apps through them. Seems a bit sketchy to me, but to each their own.
Click to expand...
Click to collapse
The app sets up a local (on-device) VPN for ad filtering, web traffic isn't being routed through Adguard's servers.
I don't use wifi assistant (traffic routed through Google's servers) as I use a third party VPNfor all public wifi however when Adguard senses a remote VPN connection being setup it disabled it's self automatically. It also has a root option for alternative filtering methods for use with VPNs.
Cheers,
Rob
rgbc said:
The app sets up a local (on-device) VPN for ad filtering, web traffic isn't being routed through Adguard's servers.
I don't use wifi assistant (traffic routed through Google's servers) as I use a third party VPNfor all public wifi however when Adguard senses a remote VPN connection being setup it disabled it's self automatically. It also has a root option for alternative filtering methods for use with VPNs.
Cheers,
Rob
Click to expand...
Click to collapse
My bad, as I said total speculation. Didn't mean to spread mis-information. I'm probably still going to wait for root, but it's nice to know there is an alternative.

How to get mock GPS and pogo working on the Pixel XL?

As the title states, I want to be able to play Pokemon Go and use an app to spoof GPS. I do not care about Android Pay. I am really looking for advice on what to do, not how to do it. I am happy to do the legwork of figuring out how to install whatever is recommended.
I know I'm new here, so in an effort to show I've at least tried before creating a thread, here is what I've done so far:
- I tried various methods on a Verizon Samsung S4, but ultimately failed because the bootloader is locked. I learned a lot though, which was great (including never to buy phones from Verizon).
- I tried everything I could find on a Galaxy Tab S2. I got TWRP installed and tried every combination of SuperSU, suhide, rootswitch, Magisk, xposed, etc. Everything installed but pogo failed to start. I believe I need a different Kernel (although I can't remember specifically why), and there are not many options for that device.
- I got TWRP RC1 installed on my Pixel XL (purchased from Google, not Verizon), and successfully got dual boot working with a stock image in one slot, and rooted the other slot. I previously thought I needed to wait for Xposed to be released for Nougat, but I now think that may not be the case.
So, if my goal is strictly to manipulate GPS on my Pixel and still have pogo run, what is the path of least resistance? If I want to play without spoofing I can just boot my stock image.
This post by @Fenny (https://forum.xda-developers.com/showpost.php?p=70201392&postcount=106) says: "Really want to cheat at Pokemon go? Just patch the location service to always report that mock locations are off."
Could anyone elaborate on that? As I mentioned I don't care about Android Pay (although that would be a nice benefit). Is there perhaps a kernel for the pixel that will report mock locations as off, and still let pogo run? I am not familiar with how to patch the location service otherwise. I'd be willing to learn but I expect it is not a good starting place a for a newbie.
I also realize in the thread I linked above other people have reported they got pogo to run on a rooted Pixel using the patched files in that thread combined with suhide and rootswitch. If I do that, can I mock GPS locations without xposed? Or will I just be able to run pogo without spoofing?
Thanks for reading!
I've been able to spoof my gps and use a joystick app with pogo for a few months with just using Magisk and Magisk hide.. But now with the new update to pogo it will not allow you to use mock locations.. The pogo app loads but nothing shows on the maps(pokestops, Pokemon) and it says "failed to detect Location". Even with pogo running it says that and as soon as you stop the mock location app from spoofing it goes back to normal. Until someone makes an app that hides mock locations from pogo you won't be able too spoof.. I've even tried xposeds hide mock location module and it doesn't work as of now.
Sent from my HTC6545LVW using Tapatalk
So this is a definite no chance as soon as you take the march update
and if you dont you get stuck dealing with the pixel draining your data by redownloading the update over and over again forcing you to installit and loose the ability to spoof gps ffs

Can I add tethering without breaking apps that detect root?

I have a new Pixel 2 XL (google play edition) that I just received as a warranty replacement. I'm on a Verizon grandfathered (real) unlimited plan which disables tethering immediately, but that is a deal break for me. Before someone attacks me for "stealing" from Verizon, I would gladly pay for tethering if they would let me add it to my unlimited plan, but they won't.
My goal is to have my device work with apps that detect root and refuse to function (for example the USAA or ADT apps). As far as I know there's no way around this, but I'm hoping someone knows something I don't (other than modifying the apps APK). Other than enabling tethering I have no reason to have root access or access to the bootloader.
Thanks
Dan
those apps work with Magisk Hide? I know i have a couple apps that still throw a warning message about having dev tools etc enabled, but they still work. Not sure about the apps you listed.
pvtjoker42 said:
those apps work with Magisk Hide? I know i have a couple apps that still throw a warning message about having dev tools etc enabled, but they still work. Not sure about the apps you listed.
Click to expand...
Click to collapse
I totally forgot about magiskhide, I'll give it a shot. Thanks!

SOS! Please HELP - XM10T5G Down[&up]grading..

Have the Xiaomi Mi 10T 5G, which comes with Android 10 / MIUI 12 [Sort of combination of them i think], and i wanna install an older version of android only, lower than 10 [Preferably 7.0], is it possible to do at all? If so, then how exactly can i do that? if possible with exact instruction or guide to it..
Thanks ahead..
PEACE AND LOVE!
Not possible. I am really curious why would you even want that.
_mysiak_ said:
Not possible. I am really curious why would you even want that.
Click to expand...
Click to collapse
For many reasons.. They changed it in some very bad way for my opinion.. like the auto turning on WiFi by some apps, like some apps that don't have widgets, the call recording issue and many more very annoying unreasonable changes they did on A10 on.. saw also they only allow FBE encryption instead of FDE which is much better [That i can see for huge 128, 256 or maybe 512 Gigs Storages but still it should be up to the user decision not forcing]
So you say it's completely impossible? even if flash universal / rooted ROM? no way at all?! cause man those are really annoying stuff especially to the tech Pros and/or savvy's like us, and i know that since i saw many threads and posts in other forums about those issues too.. Maybe some giving up or thinking it's advancements, but really, maybe big money involved, espionage, and many more possible reasons they doing it.. It's bad, really bad..
* BTW sorry for the multiplication threads didn't knew it's SPAMing and not very involved it forums world..
Thank ahead.
Jeff1976A1 said:
For many reasons.. They changed it in some very bad way for my opinion.. like the auto turning on WiFi by some apps, like some apps that don't have widgets, the call recording issue and many more very annoying unreasonable changes they did on A10 on.. saw also they only allow FBE encryption instead of FDE which is much better [That i can see for huge 128, 256 or maybe 512 Gigs Storages but still it should be up to the user decision not forcing]
So you say it's completely impossible? even if flash universal / rooted ROM? no way at all?! cause man those are really annoying stuff especially to the tech Pros and/or savvy's like us, and i know that since i saw many threads and posts in other forums about those issues too.. Maybe some giving up or thinking it's advancements, but really, maybe big money involved, espionage, and many more possible reasons they doing it.. It's bad, really bad..
* BTW sorry for the multiplication threads didn't knew it's SPAMing and not very involved it forums world..
Thank ahead.
Click to expand...
Click to collapse
To be honest I don't understand none of your points.
1. Wifi can be still turned on by apps, you just need to enable the permission (allow always vs. allow only when app is running in foreground).
2. Call recording is working in regions where it's not forbidden by privacy laws.
3. FBE is much better because it allows you to start the phone with basic service without using the password. Not sure why do you consider FDE to be superior.
4. Well, you can try to build your own Android 7 ROM from old sources, but you're going to have a fun time adapting to vendor partition/proprietary files created for Android 10 or 11. Also using several years old code which is not supported or patched anymore is quite interesting approach to security.
_mysiak_ said:
To be honest I don't understand none of your points.
1. Wifi can be still turned on by apps, you just need to enable the permission (allow always vs. allow only when app is running in foreground).
2. Call recording is working in regions where it's not forbidden by privacy laws.
3. FBE is much better because it allows you to start the phone with basic service without using the password. Not sure why do you consider FDE to be superior.
4. Well, you can try to build your own Android 7 ROM from old sources, but you're going to have a fun time adapting to vendor partition/proprietary files created for Android 10 or 11. Also using several years old code which is not supported or patched anymore is quite interesting approach to security.
Click to expand...
Click to collapse
Maybe it's regional or SROMs based issue, but the vendor of the app said it's not allowed on Android 10 and on, and i did confirmed the permission to turn on WiFi automatically, but maybe there's some other settings that i missed and that guy was wrong, i'd love if you can show how to enable it globally and/or to just the auto file sync i use, cause i tried many times even with manual syncing [by clicking the Sync button when WiFi is off, it started and turn it off automatically on Android 7.0.. Of course also for time interval based sync]..
Jeff1976A1 said:
Maybe it's regional or SROMs based issue, but the vendor of the app said it's not allowed on Android 10 and on, and i did confirmed the permission to turn on WiFi automatically, but maybe there's some other settings that i missed and that guy was wrong, i'd love if you can show how to enable it globally and/or to just the auto file sync i use, cause i tried many times even with manual syncing [by clicking the Sync button when WiFi is off, it started and turn it off automatically on Android 7.0.. Of course also for time interval based sync]..
Click to expand...
Click to collapse
App info, permissions.
_mysiak_ said:
App info, permissions.
Click to expand...
Click to collapse
Hi.. Thanks for your reply.. i did that already before, but still it doesn't work.. i use FolderSync, that currently in my old Android 7.0 device, does syncing when i click Sync from within the app, while i was totally offline [Data and Wifi] so it turned on the Wifi connection [Specific home network], and also on Scheduled i inserted the Allowed Networks SSID [Which BTW when i turn on WiFi manually and it does sync it with GDrive, it say on top 'Unknown SSID' for case it matters {Had the feeling that it very much does}], I also switced it on in Data and WiFI limit it does on that Security app, which i guess is kind of firewall, and BTW i remember like 5-6 years ago i had the Lenovo A8 "Golden Worrier" has that same kind of Security app built in with firewall and all that, but still manually at least, as i checked, it doesn't turn on the Wifi via FolderSync app.. Got a strong feeling it's due to that Unknown SSID stuff or that Security app.. Could it be?..
Jeff1976A1 said:
Hi.. Thanks for your reply.. i did that already before, but still it doesn't work.. i use FolderSync, that currently in my old Android 7.0 device, does syncing when i click Sync from within the app, while i was totally offline [Data and Wifi] so it turned on the Wifi connection [Specific home network], and also on Scheduled i inserted the Allowed Networks SSID [Which BTW when i turn on WiFi manually and it does sync it with GDrive, it say on top 'Unknown SSID' for case it matters {Had the feeling that it very much does}], I also switced it on in Data and WiFI limit it does on that Security app, which i guess is kind of firewall, and BTW i remember like 5-6 years ago i had the Lenovo A8 "Golden Worrier" has that same kind of Security app built in with firewall and all that, but still manually at least, as i checked, it doesn't turn on the Wifi via FolderSync app.. Got a strong feeling it's due to that Unknown SSID stuff or that Security app.. Could it be?..
Click to expand...
Click to collapse
FolderSync doesn't turn Wifi On automatically, this feature seems to be missing in the app. But I've just tested with Tasker and it is able to turn Wifi On and Off, so it's not a problem of Android version.
For Allowed SSID feature in FolderSync you must enable permanent location access.
Btw. I see no point in turning Wifi Off at any point, it uses so little power that there is next to none benefit in doing it. If you insist on some kind of automation, use Tasker in a fully controlled manner.
_mysiak_ said:
FolderSync doesn't turn Wifi On automatically, this feature seems to be missing in the app. But I've just tested with Tasker and it is able to turn Wifi On and Off, so it's not a problem of Android version.
For Allowed SSID feature in FolderSync you must enable permanent location access.
Btw. I see no point in turning Wifi Off at any point, it uses so little power that there is next to none benefit in doing it. If you insist on some kind of automation, use Tasker in a fully controlled manner.
Click to expand...
Click to collapse
Well your first argument is actually not tru, FolderSync does turns on Wifi automatically as i do for like 4 years with my older Galaxy s6 [Great dev BTW, Samsung's first 64 bit device i thinks] running now Android 7.0, and also the other day and im sure if ill try this right now it will actually turning on WiFi from off mode and also automatically closed it when done syncing, but no matter what i did it doesn't doing it on the XM10T5G, and it both updated to the latest FolderSync version the one with those tiles.. so it must be something with the operation system.. again it's some kind of Andro/MIUI OS so it has to do with one of them..
About the SSID, i did confirmed the location access all the time [not just when it's used] on the Security app, is there any other place that i should enable location or any other settings that may be relating to this?..
And really? you don't see the point in using Wifi? It's much more faster, secure, and reliable than data.. of course i don't care if it'll be 4G or 5G even better to sync, but obviously not any connection, but thanks for the Tasker Tip, i'll try that.. i've heared that somewhere i think from the gut of FolderSync..
And BTW, the call recording is legal in my country, so i did also many years but here only after trying several apps i found Cube ACR working good.. And also, some apps ask you if you confirm that Call recording is legal in your country but of course if you flash custom or different ROM, the system obviously can never tell..
Peace..
Jeff1976A1 said:
Well your first argument is actually not tru, FolderSync does turns on Wifi automatically as i do for like 4 years with my older Galaxy s6 [Great dev BTW, Samsung's first 64 bit device i thinks] running now Android 7.0, and also the other day and im sure if ill try this right now it will actually turning on WiFi from off mode and also automatically closed it when done syncing, but no matter what i did it doesn't doing it on the XM10T5G, and it both updated to the latest FolderSync version the one with those tiles.. so it must be something with the operation system.. again it's some kind of Andro/MIUI OS so it has to do with one of them..
About the SSID, i did confirmed the location access all the time [not just when it's used] on the Security app, is there any other place that i should enable location or any other settings that may be relating to this?..
And really? you don't see the point in using Wifi? It's much more faster, secure, and reliable than data.. of course i don't care if it'll be 4G or 5G even better to sync, but obviously not any connection, but thanks for the Tasker Tip, i'll try that.. i've heared that somewhere i think from the gut of FolderSync..
And BTW, the call recording is legal in my country, so i did also many years but here only after trying several apps i found Cube ACR working good.. And also, some apps ask you if you confirm that Call recording is legal in your country but of course if you flash custom or different ROM, the system obviously can never tell..
Peace..
Click to expand...
Click to collapse
I see no point in turning wifi OFF.
Anyway, good luck finding/building your perfect Andoid 7 ROM.
_mysiak_ said:
I see no point in turning wifi OFF.
Anyway, good luck finding/building your perfect Andoid 7 ROM.
Click to expand...
Click to collapse
Again security and energy reasons.. Think about it..
Anyway i barely know how to flash ROM, so i'm very far from building a custom one.. But at start you said it's impossible to install / flash an older Android ROM to it [XM10T5G], so you say it's possible with custom ROM?
Jeff1976A1 said:
Again security and energy reasons.. Think about it..
Anyway i barely know how to flash ROM, so i'm very far from building a custom one.. But at start you said it's impossible to install / flash an older Android ROM to it [XM10T5G], so you say it's possible with custom ROM?
Click to expand...
Click to collapse
Again - not possible, such ROM doesn't exist.

Categories

Resources