Commit 37a8259d authored by Tomi Leppänen's avatar Tomi Leppänen

[aboutsettings] Add source for serial number. Fixes JB#38513

Add /sys/class/android_usb/android0/iSerial as a source for serial
number information. usb-moded sets up this information so it should be
always available.
parent b8d96da9
......@@ -176,6 +176,8 @@ QString AboutSettings::serial() const
// node or something for it. The means how the serialnumber ends to
// this file are device specific.
<< "/run/config/serial"
// usb-moded sets up the serial number here.
<< "/sys/class/android_usb/android0/iSerial"
// Some devices have serialno in this path.
<< "/sys/firmware/devicetree/base/firmware/android/serialno";
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment