[Q] Explanation of build.prop values? - Nexus One Q&A, Help & Troubleshooting

Looking to see if there is a wiki or something that at least explains some of the build.prop values. I have tried Google and I don't get much...unless I am retarded at searching. Any help?

izmatron said:
Looking to see if there is a wiki or something that at least explains some of the build.prop values. I have tried Google and I don't get much...unless I am retarded at searching. Any help?
Click to expand...
Click to collapse
Might I ask why?
The build.prop (or build properties) is kind of like a config file that was generated when the ROM was compiled. It denotes the make/model/brand of the phone, as well as the system info you see in settings (name of rom, kernel, system version, etc.)
Someone correct me if i'm wrong...

wdfowty said:
Might I ask why?
The build.prop (or build properties) is kind of like a config file that was generated when the ROM was compiled. It denotes the make/model/brand of the phone, as well as the system info you see in settings (name of rom, kernel, system version, etc.)
Someone correct me if i'm wrong...
Click to expand...
Click to collapse
Specifically the ro.ril values. I do a lot of travel internationally (data roaming) on different networks and I would like to update the values to get the best out of the available networks.
For example, I am in London right now on my AT&T N1. No matter which ROM I use, it wants to stick me on O2 and I have a crap data connection. Vodaphone UK seems to work the best for me. However, some ROMs split up the carrier selection different (but that is another question).
So looking at the gprsclass, hsxpa, etc values, I want to know what would be the best settings for the country I am in.

Maybe track down one of the Vodaphone stock roms and compare build.props.
Other than that, I really don't know much about .props
Good luck!

Related

if i want to add a"third party" keyboard to Cyanogen's build?

if i want to add a"third party" keyboard to Cyanogen's build
how to accomplish that?
and if i want to make it the default keyboard
how to do that..?
thanks in advance
Roy
if this "third party" keyboard is an app like better keyboard or something similar, i would assume just install it or put into your update.zip package and flash it. it should appear under settings-locale and text and just check it on and uncheck any other keyboards like with the htc_ime. unless you are talking about something else then in theory this should work.
thanks for the comment
yes it is an App file.. so i just need to add it to system/app in the update?
and how i can make it the default keyboard so right after a fresh install it would appear and ready to use with specific config that i set?
thanks again
Barina said:
thanks for the comment
yes it is an App file.. so i just need to add it to system/app in the update?
and how i can make it the default keyboard so right after a fresh install it would appear and ready to use with specific config that i set?
thanks again
Click to expand...
Click to collapse
I don't think you can. All roms use android kbt as default (don't quote me on this but I believe so)and it's more trouble then it's worth to make something else default before install. It would be easier to go into settings->locale and text the first time you use it and just make it default (i.e. uncheck all other VKs). Once you do that, your vk will pop up everytime you touch fill-able field. Hope that helps.
OK, I'm curious about the other keyboard. The hardware keyboard. I have a German G1, and have actually become quite fond of QWERTZ even though I mostly only speak English. I've gotten used to reaching down for y and up for z. Also, There are keys like the euro symbol that I actually use a lot living in Deutschland. Not to mention that all the little symbols are laid out completely differently than QWERTY, so looking at the keys just makes life that much tougher. Anyways, I want to change QWERTZ to be my default keyboard, other than having to type in a long string of commands each time or use gscript. I would like it to be so that it works in recovery, and doesn't get lost each time I change builds. Is this possible?
hmmm, I would say yes...I wouldn't be able to tell you how though. I downloaded Russian keyboard from the market and it has the ability to change mapping of hardware KBT and change languages on it. So obviously there is a way. I believe devs name is Game Warrior (could be one word). It's on the market... contact him-he may be able to point you in the right direction.
Also... did you try switching locales in Settings->Locale and Text menu? That could do the trick (not sure what would you choose though as I'm not familiar what country uses QWERTz set-up).
Good luck, I hope you figure it out... sorry I had it easy.. I just dl'd my vk from the market
I DID have it working when I first got my phone. Everything was just dandy with JF1.51 as well. I decided to install the latest DizzyJACHero, and had to update my recovery image, SPL and Radio. Somewhere in there, it borked things up. I tried going back to another SPL and recovery, but only ended up in bootloops when I did that. I redid everything, but I'm stuck with QWERTY unless I do some terminal stuff each time I change roms. And with all the nice new ones (I LOVE Rosie, but she's a resource/battery hog) it's becoming more frequent that I change roms. Eh, I guess I'm just stuck having to terminal my way out of it, like usual with computers.
SPL, Radio and/or Recovery image have nothing to do with the way your keyboard behaves... hmmmm
Here... talk to DudeOfLife in the developement forum (pm him or something). His rom at some point had every language and every layout included.. he should know about this. As an alternative... you can make a script of what you put in terminal and have G1 run it on start-up to change mapping for you. Rogro82 is the king of scripts fyi.
Good luck
all u need to do is istall the new keyboard as an update. thats if it come in an update.zip format. otherwise, just install the .apk file and you should be good to go. best of luck!
shelay said:
all u need to do is istall the new keyboard as an update. thats if it come in an update.zip format. otherwise, just install the .apk file and you should be good to go. best of luck!
Click to expand...
Click to collapse
He is not talking about virtual keyboard... he is talking about hardware.
borodin1 said:
I don't think you can. All roms use android kbt as default (don't quote me on this but I believe so)and it's more trouble then it's worth to make something else default before install. It would be easier to go into settings->locale and text the first time you use it and just make it default (i.e. uncheck all other VKs). Once you do that, your vk will pop up everytime you touch fill-able field. Hope that helps.
Click to expand...
Click to collapse
thanks a lot
Well, I actually feel kinda smart for once. I just opened up a build which had the QWERTZ files in it. I deleted everything else except that folder (and the ones inline above it) and those files. Renamed them to the v3 files. I also added in all the ringers/notifications/alarms that I wanted from other builds in the right locations as well. I now can unzip any build I want to check out, copy the system folder I created over, and it fixes all my keyboard issues, plus ensures I'm never left with just one ringtone/alarm again. Just rezip and resign, then I can flash it right over. Just verified it all worked before posting. If anyone else wants that, I recommend trying it. My next question will be, can I JUST use these files, make a new update.zip that I will flash over any existing rom. If so, I'll just make one and post it up. Well, I guess I may as well try that now. I'm not doing much else tonight.
So, quick answer, NO. It didn't work like I hoped.
Long answer, If I understood more about the update script, I may have been able to get it to work. I noticed it was formatting the System folder when it went to install, pretty much screwing EVERYthing up. Maybe if someone knows how to make the script only replace the files instead of completely wiping the system folder, I may have something others can use. As it stands, it's really useful for me, and pretty much noone else.
ghrayfahx said:
So, quick answer, NO. It didn't work like I hoped.
Long answer, If I understood more about the update script, I may have been able to get it to work. I noticed it was formatting the System folder when it went to install, pretty much screwing EVERYthing up. Maybe if someone knows how to make the script only replace the files instead of completely wiping the system folder, I may have something others can use. As it stands, it's really useful for me, and pretty much noone else.
Click to expand...
Click to collapse
1. Can't you put your commands (that you type in the terminal) into your userinit.sh and it will run on every start up? Not a pro about this but I think it's one way of doing it.
2. There's a guy in the development forum who will build a custom rom for you. He made a post, you should see it on first or second page. Drop him a line. He may just show the way how to do it or he may just build you a rom. Don't worry, we'll figure it out one way or another
Cool, sounds good. I was looking at the script, and it's pretty straight forward. I COULD possibly figure it out if I wanted, but I wouldn't want to put other people's phones at the risk of me being an idiot. Heh. I'll check with the other guy. Thanks

brand new xperia restart problem

well, it's not that bad but my phone restarts maybe once or maybe twice a day when it's not in use for hours(standby mode)
i noticed it restarting on its own for about 3x
and i know it also restarts whenever im asleep since i have pointui(not activated and not the panel version) installed and when i check my phone in the morning it's on the activation part of point ui (which appears everytime u reopen point ui)
it's just my 2nd week of using this phone.
i've installed some programs
and never modified it in any way (except xperia tweak)
here are the programs installed
1.xperia tweak
2. panels (facebook, working growing, skype, spb mobile shell)
3. finger keyboard
and i notice that active sync is always open after the phone restarts.
here's my device info
firmware - R24A GENERIC_UK
and btw the today timeout is off
can someone help me to troubleshoot my device
tell me if its a hardware or software prob
Remove Xperia Tweak. Try SK Tools, report back.
mtechfan said:
Remove Xperia Tweak. Try SK Tools, report back.
Click to expand...
Click to collapse
ok, i removed the xperia tweak and ill report back tomorrow if the problem still persists since it only restarts when it is not used for hours
blouie26 said:
ok, i removed the xperia tweak and ill report back tomorrow if the problem still persists since it only restarts when it is not used for hours
Click to expand...
Click to collapse
so my phone restart again even with the xperia tweak uninstalled.
The thing about both those programs is that they provide an interface to change registry values. Simply uninstalling/installing another won't modify those values that you have changed, assuming mtechfan was thinking along those lines.
I think the only clear way would be to hard-reset, then add apps/modify settings & document them, and leave a day between making more modifications to see how the phone behaves with them.
If you go that way, I'd suggest you look through the available ROMs and choose one with a good reputation for stability, and build on top of that.
Surprisingly (? - or not!) the stock ROMs are not the most stable.
paul c said:
The thing about both those programs is that they provide an interface to change registry values. Simply uninstalling/installing another won't modify those values that you have changed, assuming mtechfan was thinking along those lines.
I think the only clear way would be to hard-reset, then add apps/modify settings & document them, and leave a day between making more modifications to see how the phone behaves with them.
If you go that way, I'd suggest you look through the available ROMs and choose one with a good reputation for stability, and build on top of that.
Surprisingly (? - or not!) the stock ROMs are not the most stable.
Click to expand...
Click to collapse
got u
just one quick off topic question
is vista advisable for flashing phones?
Should do..
blouie26 said:
got u
just one quick off topic question
is vista advisable for flashing phones?
Click to expand...
Click to collapse
I use Vista Business on my work laptop to flash the ROMs on my Xperia, so it *should* work fine.
paul c said:
The thing about both those programs is that they provide an interface to change registry values. Simply uninstalling/installing another won't modify those values that you have changed, assuming mtechfan was thinking along those lines.
I think the only clear way would be to hard-reset, then add apps/modify settings & document them, and leave a day between making more modifications to see how the phone behaves with them.
If you go that way, I'd suggest you look through the available ROMs and choose one with a good reputation for stability, and build on top of that.
Surprisingly (? - or not!) the stock ROMs are not the most stable.
Click to expand...
Click to collapse
Yep, that's what I was thinking of
now im done with the first step on chaging roms
the next thing i need to do is to search the most stable rom
i want a rom running on winMo6.5 with touch flo
anyone plz pm the the link/name of the rom that i need =)

Changing APN settings - not saving

Whenever I try to add an APN, if I change the MCC or MNC numbers from default, the APN automatically deletes itself when I click save.
Any ideas as to why? I know I have the correct numbers for my service as I've gotten them from multiple sources.
I'm with Bell Mobility, BTW.
its basicly the same reason why it does it in donut, the way the RIL works it isnt set up for CDMA, so changing those settings makes it disappear
Okay, so how can I get the correct settings?
great question i have been trying to find an answer myself, i think we have to change to the RIL used in rls3 and prior
Here is the libhtcgeneric-ril from rls3. Dont know if it will help but here it is.
just applied the update should let you adjust it now, also the call settings are no longer broken
omg, thought i was only one with that problem
I am trying to put in cricket settings but kept disappearing on me, i will try this
Okay so what do I do with the update I put it on sd card and extracted and nothing happend...it was just an extra file...nothing changed in my settings...keep getting Network or Sim error...BTW I am with Sprint please HELP...I have NO caller ID
bbannister0430 said:
Okay so what do I do with the update I put it on sd card and extracted and nothing happend...it was just an extra file...nothing changed in my settings...keep getting Network or Sim error...BTW I am with Sprint please HELP...I have NO caller ID
Click to expand...
Click to collapse
did you install it as an update or just extract it, you have to reboot the phone with the androidupdate.tar in your andboot folder then press the D-pad button and update it that way then go into your apn's and change them that way
Omg I am sooooo sorry I have no idea what ur talking about please help...I only extracted it...andboot folder??? I feel sooooo stupid Please help...
changing your APN isnt going to fix your caller ID i thought you were running a newer build than zen-hero
Well how do I fix it...right now I can't even get into the settings to see if my caller id is checked I get a network or sim error so once I get in I can go from there...Is there a newer hero build???
Its called sense tattoo incubus has a sweet build
Sent from my Full Android on Vogue using XDA App
Okay where do I find it...can u paste the link here for me please...What is the andboot folder??? and where do I find it???
seriously forum search this stuff, the thread is right on the front page
I apologize if I am being a lil annoying I am just extremly new this...the zen-hero is the first and only build that I have ever used and/or tried to use so...I dont really know what I am doing...
bbannister0430 said:
I apologize if I am being a lil annoying I am just extremly new this...the zen-hero is the first and only build that I have ever used and/or tried to use so...I dont really know what I am doing...
Click to expand...
Click to collapse
Read the FAQ thread.
The update didn't work for me. My APN still gets deleted if I change the MCC or MNC.
The reason for disappearing APNs is 'fix for payed applications' in whatever build you running. You have 2 options:
1 Remove 'fix for payed applications' from system.rc (you live in Canada and I guess that you don't need it anyway).
2 Make your APN and don't change MNC and MCC values(save). Make your APN default. Edit APN again and change MNC and MCC(save).
APN will disappear but after reboot data will work!!!
I hope this will help
I have the same problem APN is deleted once i change MCC or MNC.
How can i remove 'fix for payed applications' from system.rc ?

[Q] MMS issue on Darky's 9.4

Hi! I'm on darky's 9.4 and i can't send mms.. i don't know why it is like this but do anyone of you know a fix for it? =) thanks!
Check your mobile carriers APN values. Then go into your phones settings.
Wireless & network>Mobile networks>Access Point Names.
Make sure all the values are correct.
Where can I find those values?
Who is your mobile carrier? What region? Where's your google skills?
I'll see what I can find, I just need the info.
cheers for being so awesome
Mobile carrier is Telenor in sweden
http://www.phoneontherun.com/carriers_en.php?v_pais=59
Select your region and network, and make sure those values are correct.
I did that but still, it just keep saying ''Sending'' and nothing happens :/
When you went in to the Access Point Names section of the phone, did you adjust the values in both sections? There is an Internet section, and an MMS section.
If that doesn't solve your issue I have no idea what it could be. Might be a rom issue. If you still can't get it working, maybe ask someone in Darky's thread in the development section.
I did it on both.. :/ I'm realy greatfull that you tried. You're great!
I'm sorry I couldn't help you out with your problem, and you are welcome.
If I can think of anything else it could be, I'll post it here.
Thank's alot
I think I may have found something...
Dial this code into your dialer.
*#1234#
What does it say next to CSC?
thanks alot
sorry bout the wierd second ''thanks alot'' reply.. i didn't notice that a second comment tab opened up.. anyway it says : I9000OXXJS1
Hey, no worries weirdo
We're going to try something.
I need you to go to Settings>About Phone>Status. Write down your imei number.
Then in your dialer, dial this code. *#272*imei#* (your number goes where imei is)
Tell me what 3 letter code is selected for your phone. Do not touch anything yet. To leave that menu just back out with the back button.
it says XEN

[Q] Changing 4G Icons In SystemUI.apk

Hello, I'm trying to change the 4G icons to the gingerbread ones. I'm using the HoliRaider rom and i have the SystemUI.apk extracted but i cant seem to figure out how android knows what icons to use so i can change them. There are some for 3g h+. Is there an xml file im missing or something? any help is greatly appreciated.
lmftmf said:
Hello, I'm trying to change the 4G icons to the gingerbread ones. I'm using the HoliRaider rom and i have the SystemUI.apk extracted but i cant seem to figure out how android knows what icons to use so i can change them. There are some for 3g h+. Is there an xml file im missing or something? any help is greatly appreciated.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1300389
That should help
You'll also need to change the _4g and _lte icons (the inspire isn't an lte phone, so that's not in the walkthrough I posted there obviously - you only need to change one set of these, depending on whether you're in Aussie land or the States)
Thanks for the reply, do you know how to set the rom to look look for different icons or how the rom knows what icon to pick? And also im using the HoliRaider final btw.
lmftmf said:
Thanks for the reply, do you know how to set the rom to look look for different icons or how the rom knows what icon to pick? And also im using the HoliRaider final btw.
Click to expand...
Click to collapse
There are references in the .smali and .xmls that tell it what icons to display when. Hacking smali can be a pain in the butt, i don't mess with it. You can trick it by replacing the icon with an .xml in the correct locations, having the .xml direct it to a different icon, but I recommend you try what I suggested first, you should be able to get what you need out of that causing yourself way less headache. Crawl before you walk..
I changed them but it keeps switching back to the 4g ill see the AOSP icon i choose for a split second and then it goes back to the stock htc 4G. ?
ok i figured it out i just changed all the icons the h the h+ and got it working thanks for the help bro !
where are the .smali files and xmls files?
lmftmf said:
where are the .smali files and xmls files?
Click to expand...
Click to collapse
To edit the .xml's you're trying to edit, you'll need to rip SystemUI apart with APKTool, make your edits, then repack. Which is not as easy as it sounds, especially with ICS - as you'll also need to rip apart classes.dex with baksmali to get to the smali cause APKTool can't do it for ICS yet (unless I missed an update). This is not a simple enough process to just say "Here's how you do it". I got my information from about 20 different websites, but all the information is on the web. I'm happy to try to answer specific questions, but where's the fun in me giving you all the answers? Lol
OK I have a ginger bread based ROM so that should make thing's easier right? What ibreally want to do is get the phone to distinguish when its on a 3g network and a h+ network.
lmftmf said:
OK I have a ginger bread based ROM so that should make thing's easier right? What ibreally want to do is get the phone to distinguish when its on a 3g network and a h+ network.
Click to expand...
Click to collapse
tbh i never figured out how to change the display of what Network you were currently conencted to in Settings, and not sure why you would want to? The Inspire would report being connected to GSM, Edge, UMTS, and HSDPA. Although it supposedly was a HSPA+ capable phone, it never actually reported this. So all I ever managed to figure out was how to edit the icons. Recently I discovered how to create .xmls that the ROM would see rather than the .png, and within the .xml you can do some pretty cool things. If you're actually trying to get the phone to report being connected to a network that it's not actually connected to, good luck. The Vivid will display being connected to GSM, Edge, UMTS, HSDPA, (maybe hspa+?) and LTE. The ATT stock ROM will show G for GSM, E for Edge, 4G for UMTS and HSDPA (and hspa+ if the Vivid connects to it, again, not sure), and 4G LTE for LTE. So it's already distinguishing between all the proper networks, it just lies with it's use of icons. If you're on one of WC's generic ROMs, it also has the icons replaced to match this of ATT, just without animated icons, at this point. If you flash the EQS mod on top of one of the generic builds, it will wipe out the new icons that were created for the generic builds, and you'll get the old block icons back. The icon really doesn't mean a damn thing. I could make them all middle fingers if i wanted to.
If you're using an ATT Stock build, they're calling upon the animated network icons from somewhere i have yet to determine. So if you change the 4G animated icons, it will change for all the networks that use that icon. If you're using a generic build, then it's not using the animated icons, but the stat_sys_data_connected_, in_, inandout_, and out_ sets. _g for GSM, _e for Edge, _3g for UMTS, _h for hsdpa, _hplus for HSPA+, _4g for 4g, and _lte for 4g LTE and you can edit them individually
Any idea on how to get the animated Icons like the ones in the skyrocket? And just because I wanted to see if we actually had enhanced back haul in my area.
Yes. I have an idea. If you're on a Generic build, it would require adding some .xmls and removing some .pngs. I promise to be of more help before too long
If you're on an ATT build, all you need to do is replace the animated icon sets
However you can tell what network you're actually connected to by going to settings, about phone, network. Here it will tell you the Mobile network type, and it will always connect to the best signal
What is holi raider final considered?
lmftmf said:
What is holi raider final considered?
Click to expand...
Click to collapse
What's the base? .56 is att.. .52 was a generic leak I think. I've never run the ROM though, so I can't tell you if it operates exactly like WCX or not. But if he hasn't made any changes to the things we're talking about, should be on par.
Sent from my HTC PH39100 using xda premium
.54? i think it says that for build number
lmftmf said:
.54? i think it says that for build number
Click to expand...
Click to collapse
Oh I believe that's the Telstra build huh? Again..no clue how it works. Are your current data icons animated?
Sent from my HTC PH39100 using xda premium
No there the 3 lines that stay solid well they were until i changed them to the gingerbread default. my com.htc.resources.jar is empty it has a dummi smalli file?
lmftmf said:
No there the 3 lines that stay solid well they were until i changed them to the gingerbread default. my com.htc.resources.jar is empty it has a dummi smalli file?
Click to expand...
Click to collapse
Then you'd need to follow the guidelines for what i was referring to as Generic probably. But without seeing the SystemUI for that build I couldn't begin to guess how they might have it working.
And now you have me confused...do you mean com.htc.resources.apk? i'm not familiar with a htc res jar file? Is the ROM deodexed? If not, the smali will be in the .odex. You'll need to baksmali it get to the .smali files. If it's deodexed, you'll need to baksmali classes.dex from the apk. I also don't know what you're looking for in com.htc.resources.apk...all my edits have been done in systemui.apk. Not saying there's not something hiding in com.htc.resources.apk that might answer a few questions I have, but I haven't touched it. That said, there's no .dex or .odex for com.htc.resources.apk, so I don't know what .smali you might be seeing there, but if you're seeing something it probably won't be something you can just pull out of your archive viewer and edit. you'll need to decompile with apktool, make your edits, and recompile. SystemUI will have a .odex or classes.dex, which will have a bunch of it's smali code. Again - eventually I'll offer some more information, but we're still making sure some kinks are worked out. Keep on truckin
I'm sorry i had changed projects lol im trying to disable paginated scrolling and it was com.htc.framework.jar. My good. And yes i beleive im Deodexed but im not really sure how to tel to be honest. I came from an iphone and im still trying to learn linux. I have odex files. Does that mean im deodexed? And also any idea on how to get rid of sense completely? or just the lock screen i dont really like the sense lock screen. I still want to get the animated icons if possible or at least learn how to do it should i decide to change it. And what about changing the the signal bars to 6 bars from 5 bars? thats xml editing? Sorry if im asking to much
lmftmf said:
I'm sorry i had changed projects lol im trying to disable paginated scrolling and it was com.htc.framework.jar. My good. And yes i beleive im Deodexed but im not really sure how to tel to be honest. I came from an iphone and im still trying to learn linux. I have odex files. Does that mean im deodexed? And also any idea on how to get rid of sense completely? or just the lock screen i dont really like the sense lock screen. I still want to get the animated icons if possible or at least learn how to do it should i decide to change it.
Click to expand...
Click to collapse
I suggest you take a break and do some reading before going any further. No, if you have .odex files then you are not DEodexed. Sounds like you have way too many projects that you'd like to accomplish overnight, and unfortunately things don't work like that most of the time. It's research, research, research, trial and error, trial and error, research research, etc. Removing Sense can be a pain in the butt due to the fact that so many different things in sense ROMs rely on Sense parts...just ripping them out will cause problems. A CM9 port is currently being worked on by an excellent dev...and CM9 is built from AOSP, and way closer to AOSP then Sense obviously. Hopefully one day we might see a pure AOSP ROM...but one day at a time
That said.. a Google search of "android lockscreen" gave me this (http://android.appstorm.net/roundups/utilities-roundups/eleven-ways-to-replace-your-lock-screen/) as a first hit. There are a ton of lockscreen apps, as well as alternate launchers that will get rid of the Sense look/feel. Anything you're trying to do, you will find on google. Not always on the first search...but keep searching, keep digging. There will always be people to help along the way, but things like this there wont' always be a walkthrough step-by-step guide for. But learn a little more about the OS and how it works. Google, google, google. you'll be amazed at what you find.

Categories

Resources