where is ro.boot.serialno and ro.serialno stored?

user529543 picture user529543 · Oct 14, 2013 · Viewed 14.3k times · Source

Where is stored those 2 system properties?

Phone: THL W8s Rom: W8s.JB2.FHD.EN.COM.16P256_MT6589TV1.0.3_20130815

The ro.boot.serialno should be changable with some recovery and from there is comming the ro.serialno and that value is displayed at: Settings->About phone->Status->Serial number for sure.

(I have lost the original serial number with Sp flash tool pressing the Format button)

EDIT:

/system/build.prop 

Doesn't have this keys neither his values and it starts with:

# begin build properties
# autogenerated by buildinfo.sh

Answer

Abbas Elmas picture Abbas Elmas · Jan 5, 2015

In my android version 4.2.2 ro.serialno and ro.boot.serialno can be stored in below file

init/init.c line 663