switch preferred_network_mode

338 views
Skip to first unread message

Gyula Ballonyi

unread,
Mar 12, 2019, 1:18:51 PM3/12/19
to Tasker
I have Samsung Galaxy S7 edge (SM-G935SF) with Android 8.0.0
Because the weak signal strength I'd like to switch preferred_network_mode on my phone from 9 (LTE/3G auto) to 1 (2G) inside a geofence (and switch back outside).
As recommended for global setting modification I set: adb shell pm grant net.dinglisch.android.taskerm android.permission.WRITE_SECURE_SETTINGS
I made a task (attached) to switch. It gives no error, but no switch occurs.

Thanks in advance for and advice!



TaskerData.xml

João Dias

unread,
Mar 13, 2019, 5:47:37 AM3/13/19
to tas...@googlegroups.com
Unfortunately not all settings will work, sorry!

Thank you for your contact.

   Join: connect multiple devices (send pushes, remote SMS, notifications) on Android, Windows, Mac, Linux
   Tasker: customize/automate anything on your phone!
   AutoApps: add advanced functionality to Tasker via plugins

     

João Dias


--
You received this message because you are subscribed to the Google Groups "Tasker" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tasker+un...@googlegroups.com.
Visit this group at https://groups.google.com/group/tasker.
For more options, visit https://groups.google.com/d/optout.

Gyula Ballonyi

unread,
Mar 13, 2019, 2:29:54 PM3/13/19
to Tasker
Thanks for the reply. So, there's nothing I can do? No workaround?

João Dias

unread,
Mar 13, 2019, 2:49:38 PM3/13/19
to tas...@googlegroups.com
Unfortunately I don't think so :(


Thank you for your contact.

   Join: connect multiple devices (send pushes, remote SMS, notifications) on Android, Windows, Mac, Linux
   Tasker: customize/automate anything on your phone!
   AutoApps: add advanced functionality to Tasker via plugins

     

João Dias

Gyula Ballonyi

unread,
Mar 16, 2019, 4:32:56 AM3/16/19
to Tasker
Would you tell me some detail why is it? Can this be done with a small app developed with sdk or is it uncertain way too?

Manis

unread,
Mar 16, 2019, 8:29:03 AM3/16/19
to Tasker
I do this on every reboot.
Custom settings, preferred_network_mode = 20. It executes without error, not sure it helps though.
I'm in TMobile and sometimes calls go directly to voice mail. Was hoping this will fix it, hasn't.
Google preferred_network_mode for possible values.

Marta Hintz

unread,
Mar 16, 2019, 2:25:49 PM3/16/19
to Tasker
different phones that get changed by verizon/samsung/ect..... they change things.  that's why this works on some phones and not others.
Reply all
Reply to author
Forward
0 new messages