This post details, how you can use some of our scripts to download all the information of android device. This will help you to debug and fix issues in Android platform.
Note: These scripts are mostly used during development of Android devices. Hence its expected to have device with root enabled, but this also works for non-root platform.
$ sudo apt-get install dos2unix
Download scripts from github
$ git clone https://github.com/lynxbee/android_deviceinfo.git
$ cd android_deviceinfo
Make sure your device is connected over adb.
$ adb devices List of devices attached B2NGAA8831702707 device
Run the scripts to pull all the device information and it will save those in current directory.
$ bash start.sh