[Q] Is it safe to modify build.prop? - Android Q&A, Help & Troubleshooting

I want to make Asphalt 8: Airborne think I have an s4, so I can unlock higher graphic settings, is it safe? How do I do it?
I'm running CyanogenMod with Android 4.2.2

My friend did that (Galaxy Y) to update one of his game and it is safe. Just create a backup file of your original build.prop first before editing.
Sent from my GT-I8150 using xda app-developers app

I have a GT-P5100

Apparently, I can't find any way to edit it
I also need others to tell me if it's safe or not

Bump.
Sent from my GT-P5100 using Tapatalk now Free

Bump again.
Sent from my GT-P5100 using Tapatalk now Free

CyanogenModFTW said:
Apparently, I can't find any way to edit it
I also need others to tell me if it's safe or not
Click to expand...
Click to collapse
As long as you have away of backing up and restoring the original build.prop then it is safe. The easiest way is with a nandroid back up or you can make a flashable zip with the original build.prop. If these are things that you have never ever heard of...then maybe you shouldn't mess with the build.prop.
OK, you will need to root your device. You can modify the build.prop using ROM Toolbox Lite from the playstore. That is probably the easiest way to do it or if you have a rooted file explorer you can also navigate to the build.prop and then open it in a text editor on your android device and modify it there (you will have to change the permissions to RW and when you are done change them back to RO). If you copy it to your PC make sure you use a compatible text editor, if you use Word, you will be sad After pushing the edited version back to your device's system folder, make sure to change the permissions because they will be all messed up. Reboot your device so the new changes get implemented.

Related

[Q] Over the air updates

I'm sorry if this was posted somewhere else, but I searched and nothing came up. When you root your phone does that mean you no longer can receive over the air updates? Or is that only if you have custom ROM's installed? That being said, is the ROM that you install to gain root access considered a custom ROM? Sorry... I feel like a n00b but I had to ask. :] Thanks
Trevlo said:
I'm sorry if this was posted somewhere else, but I searched and nothing came up. When you root your phone does that mean you no longer can receive over the air updates? Or is that only if you have custom ROM's installed? That being said, is the ROM that you install to gain root access considered a custom ROM? Sorry... I feel like a n00b but I had to ask. :] Thanks
Click to expand...
Click to collapse
Originally Posted by WormDoes
http://androidforums.com/thunderbolt-all-things-root/306774-simple-newbie-questions.html
"If you're rooted and you've deleted any bloatware and you try and install the ota update it will not update successfully. You can unroot and update, but be warned a lot of the time an ota update will also correct the current exploits that were used to achieve root access. If you are rooted it's usually a good idea and easier to flash a ROM that includes the update already. The developers get a hold of the source codes a few weeks before VZW actually pushes it to your phone and you don't have to wait for jcase, unrevoked, or whomever to find a new way to root if the ota breaks root access.
Hope this helps"
I was searching the same thing earlier bro and this is the answer I found.
Does this mean if I don't delete bloatware and just freeze it, then I can still get the updates? I read that article and I didn't see them answer whether or not getting an OTA update would take root off. Thanks for the response!
Sent from my ADR6400L using XDA Premium App
Trevlo said:
Does this mean if I don't delete bloatware and just freeze it, then I can still get the updates? I read that article and I didn't see them answer whether or not getting an OTA update would take root off. Thanks for the response!
Sent from my ADR6400L using XDA Premium App
Click to expand...
Click to collapse
No the point is if you root, have SU, and/or a custom recovery, the update will fail.
Sent from my ADR6400L using XDA Premium App
Good deal. Thank you for the info.
Sent from my ADR6400L using XDA Premium App
So if I'm reading this correctly, a corollary is that if you intend to root but haven't, its likely a good idea to do it before the OTA is pushed, or else you'll have to wait for the developers to figure out how to root the new one?
Sent from my ADR6400L using XDA App
More then likely any important updates/fixes/etc will turn up in ROMs anyways.
so how do you disable updates?
Nikolai2.1 said:
No the point is if you root, have SU, and/or a custom recovery, the update will fail.
Sent from my ADR6400L using XDA Premium App
Click to expand...
Click to collapse
so how do you disable updates I have a galaxy s2 4g service sprint I ve been searching around how to disable updates I keep getting prompt for one and it wont install root blocking it from installing I guess I just want to turn it of I read use bloat ware or titanum backup tried both same issue. I thought this would be an easy fix.
arcolino1 said:
so how do you disable updates I have a galaxy s2 4g service sprint I ve been searching around how to disable updates I keep getting prompt for one and it wont install root blocking it from installing I guess I just want to turn it of I read use bloat ware or titanum backup tried both same issue. I thought this would be an easy fix.
Click to expand...
Click to collapse
try this it works
only difference for you will be lines 4 and 5
look for your current ro.build.fingerprint and change it to the current update...
oh and also don't forget to delete the update from your cache
If you are comfortable editing the build.prop then follow these directions.
Directions:
1. Use root explorer and navigate to /system
2. Mount as r/w
3. Long press on build.prop then click on Open With then Text Editor
4. Find the line ro.build.fingerprint=verizon/SCH-I510/SCH-I510:2.3.6/GINGERBREAD/FP1:user/release-keys
5. Change FP1 or FP5 in that line to FP8
6. Press the menu button on the phone and click on Save and Exit
7. Mount back to r/o
8. Reboot phone
cujo6801 said:
try this it works
only difference for you will be lines 4 and 5
look for your current ro.build.fingerprint and change it to the current update...
oh and also don't forget to delete the update from your cache
If you are comfortable editing the build.prop then follow these directions.
Directions:
1. Use root explorer and navigate to /system
2. Mount as r/w
3. Long press on build.prop then click on Open With then Text Editor
4. Find the line ro.build.fingerprint=verizon/SCH-I510/SCH-I510:2.3.6/GINGERBREAD/FP1:user/release-keys
5. Change FP1 or FP5 in that line to FP8
6. Press the menu button on the phone and click on Save and Exit
7. Mount back to r/o
8. Reboot phone
Click to expand...
Click to collapse
I attached the file for more info.
mine reads:
ro.build.fingerprint=samsung/SPH-D710/SPH-D710:4.0.4/IMM76I/FI27:user/release-keys
do I change the FI to something else? if so this change will not brick my phone? this is my only cell connection to outside world.
the download system update that wants to install is a FL24 is it because the phone knows FI the FL will not install?
You could just rename otacerts to otacerts.bak and then rename updater.apk to updater.bak.
Sent from my personally built from source CM10.1 N7.
arcolino1 said:
I attached the file for more info.
mine reads:
ro.build.fingerprint=samsung/SPH-D710/SPH-D710:4.0.4/IMM76I/FI27:user/release-keys
do I change the FI to something else? if so this change will not brick my phone? this is my only cell connection to outside world.
the download system update that wants to install is a FL24 is it because the phone knows FI the FL will not install?
Click to expand...
Click to collapse
Yes change the FI27 to FL24
Should do it for you..
Disclaimer.. I don't know your phone but this has worked for me and many others on the Samsung charge...
I don't think it will brick your phone..
Make sure you have a backup .
SENT FROM THE DOG POUND
cujo6801 said:
Yes change the FI27 to FL24
Should do it for you..
Disclaimer.. I don't know your phone but this has worked for me and many others on the Samsung charge...
I don't think it will brick your phone..
Make sure you have a backup .
SENT FROM THE DOG POUND
Click to expand...
Click to collapse
what additional info do you need from my phone, that will make this a more sure ok to do for sure no worries ? what about
what disconnecktie recommended "You could just rename otacerts to otacerts.bak and then rename updater.apk to updater.bak"
is that safer, not sure where to find those files? I am doing titanium back. but i do not want to go through the hassel of reloading everything back on the phone.
Either way will work but the otacerts and updater both just catch ota information when it is sent out. You aren't deleting anything so it is impossible to brick from it. The otacerts is in /system/etc and the updater apk is in /system/app or course. Use a root file explorer like es file explorer and mount system as read/write.
Sent from my personally built from source CM10.1 N7.
disconnecktie said:
Either way will work but the otacerts and updater both just catch ota information when it is sent out. You aren't deleting anything so it is impossible to brick from it. The otacerts is in /system/etc and the updater apk is in /system/app or course. Use a root file explorer like es file explorer and mount system as read/write.
Sent from my personally built from source CM10.1 N7.
Click to expand...
Click to collapse
so do I wait to see the update icon? then do the process
and to be clear the process is?
go to /system/etc then rename otacerts to otacerts.bak save it
then go to /system/app then rename update.apk to update.bak save it
how long does that change last if they are pushing the update wont it just come right back?
arcolino1 said:
so do I wait to see the update icon? then do the process
and to be clear the process is?
go to /system/etc then rename otacerts to otacerts.bak save it
then go to /system/app then rename update.apk to update.bak save it
how long does that change last if they are pushing the update wont it just come right back?
Click to expand...
Click to collapse
They won't be able to push it anymore after that. Change it then reboot and they can't send then to you anymore.
Sent from my personally built from source CM10.1 N7.
What he said...
SENT FROM THE DOG POUND
disconnecktie said:
They won't be able to push it anymore after that. Change it then reboot and they can't send then to you anymore.
Sent from my personally built from source CM10.1 N7.
Click to expand...
Click to collapse
ok, so to be clear I do not see the files now in those locations
otacerts and updater.apk
will I see them after the update icon comes back?
arcolino1 said:
ok, so to be clear I do not see the files now in those locations
otacerts and updater.apk
will I see them after the update icon comes back?
Click to expand...
Click to collapse
Are you using a thunderbolt? If you're not then you're in the wrong forum and should probably post your questions there.
Sent from my personally built from source CM10.1 N7.
he has a GS2....
but mine should work....
take the info to your phone section here on XDA and ask what they think...
good luck

[HOW TO] CRT-Effect only

This is just the plain CRT effect. No custom roms, no pre-made files or anything. (You need root)
I've searched for this on XDA, Google, other forums etc. but I couldn't find it.
It always showed up ROMs including this feature, not the actual feature itself
DO A BACKUP BEFORE EDITING ANY FILES!
Also, you need root
1. Pull framework-res.apk from the /system/framework/ folder via ADB (Alternate way below*)
2. Decompile framework-res.apk with APKTool/APK Manager (Whatever you prefer..)
3. Navigate to /res/values/ and open the bools.xml file with Notepad++ (Notepad works too )
4. Search for "config_animateScreenLights" and change the "true" to "false".
5. Save, and compile the file. Open the fresh-compiled file and copy resources.arsc to the original apk. (Overwrite the existing one)
Click to expand...
Click to collapse
Transfer the framework-res.apk file back to your phone, and then switch it with the original one
You must reboot to make it work!
*If you don't know how to push/pull files via adb, you can use Root Explorer and copy it to the /sdcard/ folder, then transfer it to your PC.
If you switch it back with root explorer, programs will start to force close. Just reboot and you'll be fine
Click to expand...
Click to collapse
CWM Flashable template
Use the attachment below as a template for flashing with CWM.
Open the .zip file, and place your framework-res.apk in system/framework/
Then extract it to your phone and flash it
Click to expand...
Click to collapse
Thank you very much, Worked
tried it on KF2
Don't forget to share what you make mentioning what fw it is from
Sent from my GT-I9100 using XDA App
Rawat said:
Don't forget to share what you make mentioning what fw it is from
Sent from my GT-I9100 using XDA App
Click to expand...
Click to collapse
Doesn't matter, it's integrated in every Android 2.3 devices.
Sent from my GT-I9100 using XDA App
thanks for this, could you possibly make a similar "how to" for the overscroll glow effect?? Been searching everywhere and can't find a simple guide
viva.fidel said:
thanks for this, could you possibly make a similar "how to" for the overscroll glow effect?? Been searching everywhere and can't find a simple guide
Click to expand...
Click to collapse
I'll see what I can do
Edit: Looks like there's something wrong with my firmware.. I don't have a classes.dex files within framework.jar
And it's hell of a process to do it, so I might have to re-concider this :/
Edit 2: I dont have a deodexed rom, and when I try to deodex it, it fails
Is the Pixelbug still there?
Sent from my GT-I9100 using XDA App
i think metamorph app supports editing system files... can u make a compatible zip?
DooMLoRD said:
can u make a compatible zip?
Click to expand...
Click to collapse
Sorry, I'm waaaaay to lazy to create a zip compatible for every single firmware out there. I can't take a framework file from KE2 and think it works on a phone with KF3..
fuzzl said:
Is the Pixelbug still there?
Sent from my GT-I9100 using XDA App
Click to expand...
Click to collapse
Pixelbug?
No idea what that is, but I can't see any pixels being stuck or anything.
Thanks, but...
Would you like to explain step 5 a bit further? I'm a bit confused. I'm using apk manager and it asks me a bunch of things and you don't tell me where to overwrite the arsc-file, etc.
sackynuts said:
Thanks, but...
Would you like to explain step 5 a bit further? I'm a bit confused. I'm using apk manager and it asks me a bunch of things and you don't tell me where to overwrite the arsc-file, etc.
Click to expand...
Click to collapse
Ah, so sorry.
Open the original framework-res with WinRar. And do the same with the modified. In there you'll see the resources.arsc file
If you don't know how to use APK Manager, use google.
Not trying to be rude, I'm just in a little hurry
I'll ask a mod later if he can move on of my posts up, and then I can perhaps create a more user friendly guide
Sent from my GT-I9100 using XDA App
bruflot said:
I'll see what I can do
Edit: Looks like there's something wrong with my firmware.. I don't have a classes.dex files within framework.jar
And it's hell of a process to do it, so I might have to re-concider this :/
Click to expand...
Click to collapse
No worries, thanks for having a look though
Sent from my GT-I9100 using XDA App
viva.fidel said:
No worries, thanks for having a look though
Sent from my GT-I9100 using XDA App
Click to expand...
Click to collapse
Well, I can take a further look, but only if you upload your framework.jar file and then send it to me.
Sent from my GT-I9100 using XDA App
bruflot said:
Doesn't matter, it's integrated in every Android 2.3 devices.
Sent from my GT-I9100 using XDA App
Click to expand...
Click to collapse
I read your thread, and know what you posted.
What I'm saying is that if someone makes the anim for example KF3, it would only take a few seconds to upload so other people could use, while diy CRT anim takes at least 5 mins even if you know what you're doing.
bruflot said:
I have always liked the CRT effect, but it got kinda annoying to always have a custom ROM installed to have it (I prefer stock ROMs )
I've searched for this on XDA, Google, other forums etc. but I couldn't find it.
It always showed up ROMs including this feature, not the actual feature itself
DO A BACKUP BEFORE EDITING ANY FILES!
Transfer the framework-res.apk file back to your phone, and then switch it with the original one
You must reboot to make it work!
I don't know the adb commands for switching the system files, so if anyone could tell them to me?
Sent from my GT-I9100 using XDA App
Click to expand...
Click to collapse
So to send a file to system in adb I used
Code:
abd push (new apk with mods) /sdcard // used to temp move it
adb shell
su
mount -o remount,rw /system
mv /sdcard/framework-res.apk /system/framework/framework-res.apk
Is that what you were asking?
bruflot said:
Well, I can take a further look, but only if you upload your framework.jar file and then send it to me.
Sent from my GT-I9100 using XDA App
Click to expand...
Click to collapse
That I can do no problem, appreciate you willing to look into this, used to have CM7 on my old HTC Desire and missing the overscroll effect! The only how-to thread on this I could find was [MOD][PORT][04-16] Android 2.3 Overscroll Glow MOD for Galaxy S I9000 (Gingerbread) but it's only for specific SGS firmwares, might be of some help to you still
Hmm...I don't have a res/values folder (just res, there is no values). There is also no Books.xml anywhere in the apk. I'm on stock rooted KE7...Is the value somewhere else on my version? Am I doing something wrong?
TheSopranos16 said:
Hmm...I don't have a res/values folder (just res, there is no values). There is also no Books.xml anywhere in the apk. I'm on stock rooted KE7...Is the value somewhere else on my version? Am I doing something wrong?
Click to expand...
Click to collapse
And you decompiled it right? I know i you were to just open the apk it would have a res but not res/values.
I followed the instructions ... and used APK Manager, I complied, signed, and before i quit it asked me to delete a file...resources.arsc
do i have to do that?
also, i noticed the APK Manager made signed apk of less size as compared to original file
original apk file size = 8.05 mb
complied, signed apk = 5.16 mb
is that normal?
infra4800 said:
I followed the instructions ... and used APK Manager, I complied, signed, and before i quit it asked me to delete a file...resources.arsc
do i have to do that?
also, i noticed the APK Manager made signed apk of less size as compared to original file
original apk file size = 8.05 mb
complied, signed apk = 5.16 mb
is that normal?
Click to expand...
Click to collapse
yeh same thing happend to mine, works fine though also use LCD Density to change the DPI to 240 to get rid of the pixelated crt animation

Edit contents of a flashable zip on the device itself.

Last time i flashed cm9 on my p7500 i had to remove the first line of the updater-script for cwm to flash it. now i got the same problem with an other build. i wonder if i could change it somehow without the need of a computer. root explorers text editor doesnt seem to work inside a zip file and fully extracting and repacking seems a bit to much for just little modifications.
got any advice for me?
Sent from my SGH-T859 using XDA Premium HD app
Tyrado said:
Last time i flashed cm9 on my p7500 i had to remove the first line of the updater-script for cwm to flash it. now i got the same problem with an other build. i wonder if i could change it somehow without the need of a computer. root explorers text editor doesnt seem to work inside a zip file and fully extracting and repacking seems a bit to much for just little modifications.
got any advice for me?
Sent from my SGH-T859 using XDA Premium HD app
Click to expand...
Click to collapse
Get root explorer, unextract to a folder, edit with notepad or text editor, then find a zip program to zip it back, Truth be told, why not just get something like WiFi Explorer so you don't need to bring the cable with you everywhere, do the changes on a laptop and send it via WiFI to the folder you want, Kinda like an FTP. It's zipping back that's the problem, most support for editing in zip's changes the permission which can cause issues later.

How can i fix build.prop?

Hello, i bricked my S2 by editing lcd desinty in build.prop. (I set it to 120) And now it's stoping at boot animation... I have a backup of build.prop on phone (Root Explorer make it.) but i dont have acces to files.
How can i fix it?
I now the one way to fix it but in dont know how to do it. I found on internet stock build.prop. Maybe its possible to make update.zip with it and flash it by CWM?
I have acces only to recovery and CWM.
Someone know how to do it? Or maybe someone has a update.zip with stock build.prop form ICS 4.0.3?
Jeree said:
Hello, i bricked my S2 by editing lcd desinty in build.prop. (I set it to 120) And now it's stoping at boot animation... I have a backup of build.prop on phone (Root Explorer make it.) but i dont have acces to files.
How can i fix it?
I now the one way to fix it but in dont know how to do it. I found on internet stock build.prop. Maybe its possible to make update.zip with it and flash it by CWM?
I have acces only to recovery and CWM.
Someone know how to do it? Or maybe someone has a update.zip with stock build.prop form ICS 4.0.3?
Click to expand...
Click to collapse
Mmmm are you running a custom rom
Sent from my GT-I9100 using xda premium
With ADB push.
Sent from my GT-I9100 using xda premium
And do not modify build.prop. If you want smaller DPI, use ParanoidAndroid or JellyBam.
please help me fix build.prop
Hello i have a alcatel one touch 4010a uses 2.3.6 gingerbread and rooted I messed around my build.prop and tried to change the name of the device and after i did that i rebooted my device when it i turned it back on saw that google play and map was force closed unecspetedly and all my other apps like facebook,whatsapp super user and some of my games when i tried to edit back my build.prop i could not get into it because it got curropted and any apps that needed root access its not working and i dont know how to fix it please help me and i cant do without candy crush
use aroma file manger
hey
im newbie in xda but i have enoigh knowledge to solve your problem just go to recovey and install this zip
http://forum.xda-developers.com/attachment.php?attachmentid=2231581&stc=1&d=1378202418
after it .popup window will be open and thn delete your bulid.prop and paste the backup and its done
sorry for bad english

De Bloating

OK so I have taken the leap with this phone. For the first time I have installed a custom ROM, I have the rooted, Deoxed and xposed version from Paul. I managed to get a reboot loop when playing with xposed but fixed it but it has made me a bit wary.
I want to get rid of a few stock apps like the file manager (I like ES file explorer), music player (both Google and the stock player), backup, and a few others.
Research has led me to believe I can use ES to delete the .APK's but this is getting outside my comfort zone a bit and I don't want to delete anything that I actually need. Do other APPs rely on the honor file manager for example?
Advice and pointers too real idiot noob guides would be handy.
Thanks
SaulBee said:
I want to get rid of a few stock apps.....................
Click to expand...
Click to collapse
@SaulBee ... Go to the topic "honor 5X ROMS, Kernels, Recoveries & Other Development". Then scroll down to the thread "(SCRIPT)(TWRP) Stock ROM Debloat for KIW L24, L22, L21 (kiwi)" by @deadman96385 ..... There you will find all the information you need.
Cheers, I will take a closer look. I wasn't sure about just running the script as there was stuff in that I wanted to keep. I'll admit I didn't read the whole thread, so will do that now.
Ok read the thread, unpacked the zip, edited the file to leave a few things and rezipped. Backed up then ran the script all in twrp and it didn't work. Can't remember what the error message was. If android is based on linux and I now have busybox installed can I uninstall stuff in a terminal emulator using the commands in that script one at a time?
Sent from my KIW-L21 using Tapatalk
Just use titanium backup or system app uninstaller from play store to delete system apps you dont want...
Sent from my KIW-L21 using Tapatalk
Faheemarif252 said:
Just use titanium backup or system app uninstaller from play store to delete system apps you dont want...
Sent from my KIW-L21 using Tapatalk
Click to expand...
Click to collapse
Cheers will give that a go.
Sent from my KIW-L21 using Tapatalk
SaulBee said:
.....unpacked the zip, edited the file to leave a few things and rezipped......
Click to expand...
Click to collapse
@SaulBee ....You obviously know what you are doing ....... so yes I would download a Terminal Emulator from the store and try that. I would also re-check the Meta-Inf file before you re-zipped just in case you missed something.
SaulBee said:
Cheers will give that a go.
Sent from my KIW-L21 using Tapatalk
Click to expand...
Click to collapse
metpolds said:
@SaulBee ....You obviously know what you are doing ....... so yes I would download a Terminal Emulator from the store and try that. I would also re-check the Meta-Inf file before you re-zipped just in case you missed something.
Click to expand...
Click to collapse
you also have to be sure you use the correct text editor like notepad ++ as windows notepad will screw it up
clsA said:
you also have to be sure you use the correct text editor like notepad ++ as windows notepad will screw it up
Click to expand...
Click to collapse
Cheers I am linux boy really so use a gedit variant. I had a go with titanium backup and got rid of a few things. What I may have a go at is stripping the file down to take out all the nfc files as a little experiment.
Sent from my KIW-L21 using Tapatalk

Categories

Resources