Skip to content

Commit

Permalink
read android device serial number from sysfs node
Browse files Browse the repository at this point in the history
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.

Change-Id: I4998406b98aa928c852e897d1219c3c79e38b2ab
  • Loading branch information
vishwasudupa authored and Linux Build Service Account committed Nov 17, 2023
1 parent 976dca8 commit ed8bdc4
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit ed8bdc4

Please sign in to comment.