Data repeatedly gets enabled automatically

kyva1929

Senior Member
Jun 20, 2013
62
4
0
Hi,

I am experiencing an issue with mobile data being repeatedly enabled.

I have found that

1) given mobile data in OFF state
2)
i.) plugging in usb cable to computer (plugging in usb cable to charger has no effect) automatically switches on mobile data
ii.) unplugging usb cable from computer also switch on mobile data (if mobile data is switched off manually after i.) happened)

I am using aokp rom android 4.1.2 from th3bill

(link: http://forum.xda-developers.com/showthread.php?t=1755836)

How can I change such behavior?

Thanks.

added:
I used aSpotCat to look at apps that request permission to change network connectivity, here is the list:
youtube, google play services, line, tango, and viber

These apps are all in frozen state, but the behavior as described persist.

Update 7/4/2014, with catlog:
07-04 15:41:24.159 I/BATTD (1459): Battd USB INSERT = Success
07-04 15:41:24.199 D/MotUsbService(1856): handleUsbCableAttachment()
07-04 15:41:24.199 D/MotUsbService(1856): handleUsbEvent(), Received event: 0, current state: 0
07-04 15:41:24.219 D/MotUsbService(1856): handleUsbEvent(), Received event: 2, current state: 1
07-04 15:41:24.399 D/MotUsbService(1856): handleGetDescriptor()
07-04 15:41:24.399 D/MotUsbService(1856): setUsbConnectionNotificationVisibility()
07-04 15:41:24.409 D/MotUsbService(1856): enableInternalDataConnectivity(): true
07-04 15:41:24.409 D/ConnectivityService(1632): setMobileDataEnabled(true)

I take that MotUsbService is probably from com.motorola.usb

Now the question remains how I can stop this behavior.
 
Last edited:

andresrivas

Senior Member
Aug 4, 2010
1,061
363
0
Córdoba
I would suggest to check if the bug is present on a clean install, with gapps and on a clean install without gapps. Might as well be a rom issue

Enviado desde mi MB860 usando Tapatalk 2
 

kyva1929

Senior Member
Jun 20, 2013
62
4
0
I looked at the catlog, the following service seems to be guilty:

07-04 15:41:24.159 I/BATTD (1459): Battd USB INSERT = Success
07-04 15:41:24.199 D/MotUsbService(1856): handleUsbCableAttachment()
07-04 15:41:24.199 D/MotUsbService(1856): handleUsbEvent(), Received event: 0, current state: 0
07-04 15:41:24.219 D/MotUsbService(1856): handleUsbEvent(), Received event: 2, current state: 1
07-04 15:41:24.399 D/MotUsbService(1856): handleGetDescriptor()
07-04 15:41:24.399 D/MotUsbService(1856): setUsbConnectionNotificationVisibility()
07-04 15:41:24.409 D/MotUsbService(1856): enableInternalDataConnectivity(): true
07-04 15:41:24.409 D/ConnectivityService(1632): setMobileDataEnabled(true)

I take that MotUsbService is probably from com.motorola.usb

Now the question remains how I can stop this behavior.