Setting Device Serial Number Property

273 views
Skip to first unread message

Dave Smith

unread,
Jan 29, 2014, 2:10:15 AM1/29/14
to android-...@googlegroups.com
Hello all -

What is the best suggested method for setting the ro.boot.serialno and ro.serialno properties per device on a custom system image build?  Expose it via /proc/cpuinfo in the kernel?  Pass it as androidboot.serialno on the kernel's /proc/cmdline?  Something else?  I can't find any mechanism in the init/ or other startup Android source where this property is read and set explicitly.  Do we really need to include a separate daemon just to read the value from the kernel and set it in the properties store?

Thanks!
Reply all
Reply to author
Forward
0 new messages