Is editing build.prop enough to change model name? I am trying to change the model name on my Android device by editing build.prop.

Code:

ro.product.model=Nexus S

My code:

ro.product.model=Nexus One

Settings still shows Nexus S.

Edit: I edited the fields @GokulNC suggested, but screen still shows Nexus S.

can someone help?

Thanks in advance.
As it turned out, I was using a homemade device and was not editing as root.

I also had to completely shut the device down, then turn it on.