Hello XDA,
I used to have a Tasker profile on my old HTC One_M8 that automatically enabled Airplane Mode at night, and disabled it again in the morning.
The code to do so was...
Enable Airplane Mode:
Disable Airplane Mode:
...with SU-rights of course.
Now with my (Dual SIM) U11 this doesnt work anymore. I have a feeling that the problem is there because of DualSIM.
Does anyone know, how i need to modify these above commands to work with my device?
I used to have a Tasker profile on my old HTC One_M8 that automatically enabled Airplane Mode at night, and disabled it again in the morning.
The code to do so was...
Enable Airplane Mode:
Code:
settings put global airplane_mode_on 1 ; am broadcast -a android.intent.action.AIRPLANE_MODE --ez state true
Code:
settings put global airplane_mode_on 0 ; am broadcast -a android.intent.action.AIRPLANE_MODE --ez state false
Now with my (Dual SIM) U11 this doesnt work anymore. I have a feeling that the problem is there because of DualSIM.
Does anyone know, how i need to modify these above commands to work with my device?
Last edited: