Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

read android device serial number from sysfs node #547

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Nov 17, 2023

  1. android-tools-conf-configfs: read android device serial number

    Read android serial number value from sysfs node
    /sys/class/mmc_host/mmc0/mmc0:0001/serial instead of
     kernel command line.
    
    Upstream boot managers e.g., systemd-boot does not populate
    kernel command line with parameter androidboot.serialno.
    This approach generalizes and makes serial number population
    independent of bootloader that loads kernel.
    
    Signed-off-by: Vishwas Udupa <[email protected]>
    vishwasudupa committed Nov 17, 2023
    Configuration menu
    Copy the full SHA
    ba5a573 View commit details
    Browse the repository at this point in the history