Dumps nv items from a Pixel via DM.
This is useful for research regarding the Shannon modem and it's features as it gets firmware updates.
This is ROOT only!
It outputs two files in the root directory of the script:
- a csv file with the names and the CRC32 value of the name.
- a json file with the names, data types and payloads
This requires a rooted Pixel device on the Tensor SOC platform. Works the best with Pixel 9 series.
Run it with Python 3.
Tested on Linux but should work with WSL if you pass the usb device through to it.
Requires pyusb pip install pyusb
Run the script
./nv_dump2.py
Important
If you see the counter stall or go above the nv item count, exit the script using Ctrl-C and retry running the script till it works
I have written a little page for this.
https://nxij.github.io/dm_nv_viewer/
There is an example json in this repository that you can load.