[Q] get a custom build.prop property? - Android Software/Hacking General [Developers Only]

Hello! I'm trying to get a custom property I've set in the /system/build.prop file, but I really don't know how to do it. I've tried with System.getProperty("ro.myvar"), but it returns null.
Any idea?
Thanks

Look here:
rxwen.blogspot.com/2010/01/android-property-system.html
This can help you.

Related

[Q] Need help with startup.txt

I need help with editing my startup.txt folder to in my android system to change values, words, punctuations, etc.... Could you provide the steps on how to edit the folder (values,commanline,etc.. ? Thanks

[Q] How do you get around build.prop check in recovery? i'm stumped

hello...
i've searched and searched and can't find the answer....
if some dev can please tell me how to get around this i'd be GREATLY thankful!
Problem: when i make a ROM, i want to change the Software number & Build number of the ROM. so i change them in the build.prop.
once i do that, i zip up the file, put it onto my SDcard, boot my phone into CWM Recovery.
then i try flashing the ROM. it fails.
never works.
always giving me an error about how it can't open the file (bad)
i read somewhere in another forum that to get around that, you have to modify the updater-script... but which lines do i modify?
please someone help, i'm stumped...

Modify A Custom ROM

Can someone modify this custom rom?
LU6200_163CN_Yang_0727.zip
I have already flashed it on my CP but it has some Chinese or Korean apps that I want to Change or Delete. I have tried to pushed and Change the CameraApp.apk but I failed to change it. I have successfully copied it to the system files but it doesnt appear on my application list.
Could someone help me up...
Thank you in advance....
Here is the link of the file...
kuai.xunlei.com/d/OPAHKLOCSBYD

[Completed] [Q] Adding Comments in build.prop file

Does anyone know how (or indeed, if it is possible) to add comments to build.prop file? Linux conf files generally use a # symbol to denote comment, but I don't want to brick my device by trying it. Any help?
Yup, Hash works here too.
# this is a comment
ro.lcd_density=160 # this is another comment
Thread will be closed since you have found the answer yourself
Good day!

Cannot change the Device Model Name

HELP ME!! i cannot change the device model name i cannot find "ro.product.model" in my build prob And i am using a custom rom. i have tried to add this "ro.product.model" but then my phone wont boot at all Does anyone know how to do this ?? PLEASE TELL ME!
Daksh.singh said:
HELP ME!! i cannot change the device model name i cannot find "ro.product.model" in my build prob And i am using a custom rom. i have tried to add this "ro.product.model" but then my phone wont boot at all Does anyone know how to do this ?? PLEASE TELL ME!
Click to expand...
Click to collapse
It was inside the OEM folder on some phones, full path > OEM > oem.prop > change it. Reboot.

Categories

Resources