The hardware serial number (as defined [https://developer.android.com/reference/android/os/Build.html#SERIAL here]) can be programmatically accessed as described in [https://stackoverflow.com/questions/11029294/android-how-to-programmatically-access-the-device-serial-number-shown-in-the-av this page].
It is wort worth to remember that the hardware serial number is stored in this pseudo file: <code>/proc/device-tree/som/uniqueid</code>.
===Q: How to get the network interfaces' MAC address?===