Turn wifi off on boot and auto start an app - OnePlus Android TV

Curious99

New member
Hello,

I recently got a smart TV which is running Android 10. I have been able to remove much of the bloat. I am trying to further restrict its network connections and to do that I am using NoRoot Firewall. The issue is that the firewall app won't auto start upon device start and if wifi was in ON state when TV was switched off then at TV ON it will immediately connect to the network and all apps will get network access. The firewall app has to be manually started to control the network access.

I have tried all firewall apps that do not require root and none are getting auto started. In phones I have not encountered this problem.

I thought of using the automation apps to force the wifi to go into off state upon TV boot and start the firewall app and bring it on screen. With MacroDroid and the wifi helper app (built on Android 9) I am able to create a macro and in test it works fine but when the TV is actually restarted that macro does not execute. Same situation with other automation apps as well.

Is this even possible to do without rooting the TV? If yes, please guide.

Thanks.
 

Jacob L

Moderator (Lawsonator)
Please try NetGuard firewall from F droid. It auto starts itself properly and has stronger features.

You could use MacroDroid to detect shutdown and turn off WiFi. Search the store for 5356 or https://www.macrodroidlink.com/macrostore?id=5356, it's called new triggers and contains a shutdown detect.

Trigger for boot is an option in MacroDroid which is where you would start for preparation your firewall on boot.

There are actions to launch apps and enable WiFi too

You need the helper for Android 10+
 

Curious99

New member
Please try NetGuard firewall from F droid. It auto starts itself properly and has stronger features.

You could use MacroDroid to detect shutdown and turn off WiFi. Search the store for 5356 or https://www.macrodroidlink.com/macrostore?id=5356, it's called new triggers and contains a shutdown detect.

Trigger for boot is an option in MacroDroid which is where you would start for preparation your firewall on boot.

There are actions to launch apps and enable WiFi too

You need the helper for Android 10+
I did try NetGuard firewall also and even that was not auto starting. I had to manually open the application for it to take affect.

I have installed the MD helper for enabling disabling wifi.

Seems that store website has some config issue. Even if I use the shutdown trigger, it won't help as in case of TV being switched off by power failure, at its next boot wifi would stay ON.

This is the current macro config:
Triggers: Device Boot
Actions: 1. Wait 5 seconds. 2. Disable wifi. 3. Wait 5 seconds. 4. Launch NoRoot firewall.
Constraints: None.
 
Top