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!
yooouuri said:
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!
Click to expand...
Click to collapse
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):
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Here is what mine looks like under the buil.prop
Code:
ro.build.display.id=N3BULA-I605VRUEMJ9
:good:
lacoursiere18 said:
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):
View attachment 2632165
Here is what mine looks like under the buil.prop
Code:
ro.build.display.id=N3BULA-I605VRUEMJ9
:good:
Click to expand...
Click to collapse
Oke thanks for your reply but when im building the build.prop is created. Where can i add it in the source tree?
Related
Ok, so every mod/guide/apk I have found for CM9/ICS does not seem to work with any of our ICS Roms. From reading comments, it seems that somewhere mid 2012 something changed in the SystemUI source that stopped the previous mods from working. I am guessing that is our problem.
Well there is a source patch that does work for ASOP by Evilisto.
I used that diff patch as a somewhat 'guide' for editing the systemUI.apk of CM9 and it works!! Just thought I would share.
Just a couple of notes...
1. There is no 'res/layout-sw600dp/navigation_bar.xml'
2. No need to edit the launcher portion
3. The changes to 'res/values/colors.xml' actually need to be made to our 'res/values/drawables.xml'
4. When editing 'com/android/systemui/statusbar/phone/PhoneStatusBar.smali'
- Do a search for 'mPixelFormat' and directly above that line change 'const/4 v8, -0x1' to 'const/4 v8, -0x3'
- That is equivalent to making the 'mPixelFormat = PixelFormat.TRANSLUCENT;' change.
- Thats the only edit you need to make to that file
5. No need to edit 'com/android/systemui/statusbar/tablet/TabletStatusBar.java', our phones not a tablet
Screenshot:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
How to change framework-res popup on reboot menu to image (i themed popup and not working) please help me !
Thanks all users for help. (i used xNXT Framework)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
All the images are in framework, and there's a few.
XperienceD said:
All the images are in framework, and there's a few.
Click to expand...
Click to collapse
Images changed and not working still same
maybe only color no image ?
Upload your framework.
XperienceD said:
Upload your framework.
Click to expand...
Click to collapse
in attachment thank you
There's a few more I would change, menu, panel, toast frame, there's also some in the drawable-hdpi folder that could be being used, but it's trial and error at this point.
i remove drawable-mdpi ? or change image ? (what ?)
MicQo said:
i remove drawable-mdpi ? or change image ? (what ?)
Click to expand...
Click to collapse
Change the images.
XperienceD said:
Change the images.
Click to expand...
Click to collapse
what specifically?
The ones similar to what I've already mentioned.
Progress report?
hi, can anyone tell me how I can change background color from transparency too solid black? ( I'm using cm10.2 )
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
godlesplay said:
hi, can anyone tell me how I can change background color from transparency too solid black? ( I'm using cm10.2 )
Click to expand...
Click to collapse
yes.
1. decompile systmUI apk (use ur roms framework else systemui fails )
2. go to res/drawable-mdpi, 'notification_panel_bg.9' is the file u have to change, but remember, t dont break the .9 pixels
3. recompile. & push back dun
---> also i attached u allready edited file, so u have only to decompile/replace file/recompile :good:
and bro i saw u also asking about statbar transparency few time ago: u can change it here \systemui\res\values\dfrawables.xml
peace & greetings to poland (i'm there from)
thanks, it is working, thread can be closed
Evilbigfoot said:
For Z ultra port of eXistenZ. I have 5button navbar+miezu style clock
my be someone would like it. I still caan`t post in this topic, because i don`t hve enough messages, so i send it to you.
You install it from the recovery
https://yadi.sk/d/gOCvil7KigN5f
If there re troubles with size of stats baar then you should put this file https://yadi.sk/d/fXLvU0PzigNFV
in system/vendor/overlay
Screenshot
https://yadi.sk/i/dhEIOaR3ikLpj
Click to expand...
Click to collapse
You need stock diler in dark mode with small round button, yes?
Like this?
Evilbigfoot said:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
If you meen it than get this
https://yadi.sk/d/QR-SCTJcikQpD
But for correct work of the dialer you shold rearrange photos with contacts
Or they could be shown incorrectly
Click to expand...
Click to collapse
What the frameworks change?
Evilbigfoot said:
Framework change system style to Material-depending on your theme it changes style of applications like root explorer, titanium backup, notes, calendar and etc
like this:
Ps about dialer-it is not my work, it is from russin site 4pda
Download Here
Click to expand...
Click to collapse
Youll need an rooted s22
First find your cscfeature.xml with root explorer
mine was in root/system/optics/configs/carriers/single/EUX (my CSC code)/conf/system/ and finally cscfeature.xml
copied it to my PC, installed JAVA and decoded with OMC text decoder (google the github link)
and added these lines right under </FeatureSet>
Code:
<CscFeature_VoiceCall_ConfigRecording>
RecordingAllowed</CscFeature_VoiceCall_ConfigRecording>
<CscFeature_VoiceCall_IPCallPrefix>false</CscFeature_VoiceCall_IPCallPrefix>
<CscFeature_VoiceCall_TotalCallTime>false</CscFeature_VoiceCall_TotalCallTime>
<CscFeature_VoiceCall_ServiceNumberDisplay>false</CscFeature_VoiceCall_ServiceNumberDisplay>
<CscFeature_VoiceCall_RemoveCallButtonInLogsList>true</CscFeature_VoiceCall_RemoveCallButtonInLogsList>
encoded it back and copied back to my phone, checked the properties for rw-rw-rw-
restarted and viola, call recording is working!
the xml looks like this
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
BIG thanks to pitelasssss!!
Why did you need to add so many lines?
Isn't it sufficient just to add:
<CscFeature_VoiceCall_ConfigRecording>RecordingAllowed</CscFeature_VoiceCall_ConfigRecording>
Or... having root and lsposed installed (up and running), install my OneUI_4_Phone_X from here
ZXR said:
Why did you need to add so many lines?
Isn't it sufficient just to add:
<CscFeature_VoiceCall_ConfigRecording>RecordingAllowed</CscFeature_VoiceCall_ConfigRecording>
Click to expand...
Click to collapse
more lines - more adidas
John525 said:
Looking for a close to issue. Expecting more reply.
Click to expand...
Click to collapse
huh??
juda iskariotsky said:
huh??
Click to expand...
Click to collapse
Just spam, don't mind this message. I have deleted the post.