Project

General

Profile

is there a way to disable cellular data limit from terminal?

Added by ariel enter over 6 years ago

I'm making a script for my GNU/Linux Trisquel computer that will start the USB networking with replicant for me.

I notice that while the the cellular data is on, USB networking is counted on the data usage chart, which is not ideal.

I have used the follow command to disable cellular data all together to stop recording data usage:

adb shell svc data disable

But I presently found that some apps don't play nice with USB networking if cellular data is not on. https://redmine.replicant.us/boards/9/topics/14754

So, is there a way to disable cellular data limit with an adb command? svc doesn't seem to have a function for that.

Thank you.

BTW: I'll be posting my script soon if anybody is interested ;)