2

I am able to see the stats generated by Android at Settings>Data Usage for cellular data and wifi both. Is there any way to export these stats?

I don't think android has any option for the extraction. I know apps which track data, but they wont give me historical data.

Where is this data stored, maybe, I can extract it from there.

My phone is Moto G5S, running 7.1.1, not rooted.

  • But you forgot the title . It's fixed now – beeshyams Jan 5 '18 at 10:47
  • adb shell dumpsys netstats detail full - I don't think they are stored for ever. batterystats.bin gets refreshed on reboot / full charge – beeshyams Jan 5 '18 at 10:52
  • Please ignore the storage part and what follows after that. Somehow I was thinking of battery stuff – beeshyams Jan 5 '18 at 10:58
  • See this for where it may be stored – beeshyams Jan 5 '18 at 11:05
0

You can save data usage recordings using an ADB command like the following:

adb shell dumpsys netstats detail full > data_usage.txt

If you are interested in the data usage of a specific application, you can find its identifier (which is used in the above recordings) using a command like the following:

adb shell dumpsys package com.example.application | grep userId
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.