ADB Hack Not Actually Toggling Data?

Droid23

New member
Hello, on my Moto One 5g Ace on Android 11, I did the ADB hack so as to enable the ability for MD to toggle mobile data. However, it does not actually seem to turn the mobile data off and on, even though it appears to. What I mean is in the quick tiles tray, you could see the data icon light up and turn off. But then the internet would not work when wifi was turned off. So I then look at settings and sure enough, under Network, the 'use mobile data' was still toggled off. In order to address this, I would have to tap the data quick tile a couple of times, toggling it off and then back on, and THEN the data would turn on (in the settings menu as well). Testing macros over and over would end in the same result...LOOKS like data is turning off and on, but was not actually changing. I just got a new Moto phone and want to do the ADB hack for data again, but only if someone knows if it will actually work? This would be on android 13 (soon 14), a moto g 5g stylus 2023, if that matters. Thanks!
 

Droid23

New member
Wow, 42 views, no replies...so does anyone know? Has anyone done the ADB hack on android 11 or higher and had the same thing happen? My question, though, is around android 13. I would just try it myself, but do not want to run into that issue with it not actually turning on and I do not know how to reverse the ADB hack if needed.
 

LF0

Member
I think it behaves differently on different devices.You can try it yourself to see if it works on your device.

You simply need to change "adb shell pm grant" to "adb shell pm revoke" in the adb hack command to revoke the corresponding adb hack permission.

I have two devices, one running Android 11 and the other running Android 14. On the Android 11 device, ADB hack cannot control the data network. However, on the Android 14 device, after changing the data network, simply enabling and disabling airplane mode allows the data network to connect and disconnect normally.
 

Droid23

New member
Thanks, I have only ever done the hack using the script that someone on here wrote that does it all automatically, so I am really not sure how to change settings. However, I might try this since you see the same issue I see on android 11, but different on android 14. Thanks again!
 
Top