Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
read android device serial number from sysfs node
read android serial number value from sysfs node instead of kernel command line. Upstream boot managers e.g., systemd-boot does not populate kernel command line with parameter androidboot.serialno. Reading serial number from sysfs node /sys/devices/soc0/serial_number generalizes the approach and makes it independent of bootloader that loads kernel. Signed-off-by: Vishwas Udupa <[email protected]>
- Loading branch information