How to disable cellular radio on Android 8.1

2,439 views
Skip to first unread message

dmt lsv

unread,
Nov 4, 2018, 6:05:38 AM11/4/18
to Automate
I'm affected by this bug and want to turn of the cellular radio (not mobile data) at nights, instead of going into airplane mode.

While this was possible with earlier Android versions, I can't find the appropriate block on Android 8.1 (LineageOS 15.1).

Is this still possible?

Henrik "The Developer" Lindqvist

unread,
Nov 4, 2018, 1:46:24 PM11/4/18
to Automate
Try using the System setting set block to change what radios the Airplane mode affect:
Category: Global
Name= "airplane_mode_radios"
Value: bluetooth,nfc,wimax,wifi

To enable it again:
Value: cell,bluetooth,nfc,wimax,wifi

dmt lsv

unread,
Nov 5, 2018, 5:34:02 AM11/5/18
to Automate
My goal is to turn off the cell radio before going into airplane mode at nights, because the airplane mode itself doesn't turn off the cell radio properly, as explained in the above mentioned link.

As far as I understand, your recommendation allows to exclude the deactivation of the cell radio, but not explicitly turning it off.

Henrik "The Developer" Lindqvist

unread,
Nov 5, 2018, 2:41:31 PM11/5/18
to Automate
That's the only way i know of.

dmt lsv

unread,
Feb 6, 2019, 5:37:02 AM2/6/19
to Automate
Is it still not possible to turn the cellular radio off?

The manual way would be to type *#*#4636#*#* in the dailer, then go to phone information and turn it off there.

Henrik "The Developer" Lindqvist

unread,
Feb 6, 2019, 3:08:25 PM2/6/19
to Automate
There's no block for it. Try using the Call number block or USSD reqesut block with the "quick code"

dmt lsv

unread,
Feb 6, 2019, 6:07:56 PM2/6/19
to automa...@googlegroups.com
When using the call number block, then my phone behaves as if I'm calling a real number. With the dial number block I manually have to press the call button, but it'll also calls the number and does not open the settings.

The USSD block seems not to work at all. It looks like this and this, but only shows the following in the log after starting it:

2019-02-06 23:59:41.223 INFO 47995@1: Flow beginning
2019-02-06 23:59:41.224 INFO 47995@2: USSD request
2019-02-06 23:59:47.950 INFO 47995@2: Stopped by user

Only if I copy the code manually into the dial field, then the settings are opened.

Observed with LineageOS 15.1.
Message has been deleted
Message has been deleted

dmt lsv

unread,
Feb 21, 2019, 8:19:40 AM2/21/19
to Automate
Do you plan to fix the USSD block?

Henrik "The Developer" Lindqvist

unread,
Feb 21, 2019, 3:47:23 PM2/21/19
to Automate
Fix how? It's simply using the provided Android API.

dmt lsv

unread,
Feb 24, 2019, 4:54:07 PM2/24/19
to Automate
I assumed that the USSD block didn't react due to a bug in Automate or maybe I'm using it wrong, therefore the abovementioned screenshots.

Henrik "The Developer" Lindqvist

unread,
Feb 24, 2019, 9:33:08 PM2/24/19
to Automate
Using it to toggle mobile radio was a long shot with little chance of working.
Reply all
Reply to author
Forward
0 new messages