Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,805,949 Members 43,631 Now Online
XDA Developers Android and Mobile Development Forum

Add rom version to settings (from source)

Tip us?
 
yooouuri
Old
#1  
Senior Member - OP
Thanks Meter 242
Posts: 727
Join Date: Sep 2012
Location: Eindhoven
Default Add rom version to settings (from source)

Hello,

I am going to create a rom from source (based on AOSP).

I want to add a rom version into settings, but where should i add it to my settings?

Can somebody pls help me!
Nexus 5 (16GB)
Paranoid android + franco

HTC one S
Galaxy S Advance
Galaxy Gio
Nokia N900
Vofaone branded android phone
 
lacoursiere18
Old
#2  
lacoursiere18's Avatar
Recognized Themer
Thanks Meter 4,240
Posts: 3,168
Join Date: Jan 2013
Location: LbTs

 
DONATE TO ME
Quote:
Originally Posted by yooouuri View Post
Hello,

I am going to create a rom from source (based on AOSP).

I want to add a rom version into settings, but where should i add it to my settings?

Can somebody pls help me!
This is usually done through your build.prop.. Settings.apk reads it from there..Here is an example:
Code:
ro.build.display.id=
Find that and then change it to whatever you want it to display this id shows up here in settings (this is a TW ROM but samething):
Click image for larger version

Name:	2014-03-15-11-21-18.jpg
Views:	6
Size:	120.3 KB
ID:	2632165

Here is what mine looks like under the buil.prop
Code:
ro.build.display.id=N3BULA-I605VRUEMJ9

Hit "Thanks" if I helped you
 
yooouuri
Old
#3  
Senior Member - OP
Thanks Meter 242
Posts: 727
Join Date: Sep 2012
Location: Eindhoven
Quote:
Originally Posted by lacoursiere18 View Post
This is usually done through your build.prop.. Settings.apk reads it from there..Here is an example:
Code:
ro.build.display.id=
Find that and then change it to whatever you want it to display this id shows up here in settings (this is a TW ROM but samething):
Attachment 2632165

Here is what mine looks like under the buil.prop
Code:
ro.build.display.id=N3BULA-I605VRUEMJ9
Oke thanks for your reply but when im building the build.prop is created. Where can i add it in the source tree?
Nexus 5 (16GB)
Paranoid android + franco

HTC one S
Galaxy S Advance
Galaxy Gio
Nokia N900
Vofaone branded android phone
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes