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.

3
  • 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, 2018 at 10:52
  • Please ignore the storage part and what follows after that. Somehow I was thinking of battery stuff
    – beeshyams
    Jan 5, 2018 at 10:58
  • See this for where it may be stored
    – beeshyams
    Jan 5, 2018 at 11:05

1 Answer 1

2

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .