How to export data usage stats?
You can save data usage recordings using an ADB command like the following:



adb shell dumpsys netstats detail full &gt; 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