[Q] Unable to edit build.prop - G3 Q&A, Help & Troubleshooting

So I have successfully rooted my wife's TMobile D851, which was verified using joeyk root checker app from the playstore, but I am unable to edit the build.prop so I can hide the nav bar and install lmt launcher for pie control. Am I missing something? I have no issue with my Nexus 5 or any other phone I've tinkered with and I am drawing a blank on what the issue is.
I'm hoping it's something super obvious that I missed and I'll feel stupid after I'm told what I am doing wrong.

JeauxAdam said:
So I have successfully rooted my wife's TMobile D851, which was verified using joeyk root checker app from the playstore, but I am unable to edit the build.prop so I can hide the nav bar and install lmt launcher for pie control. Am I missing something? I have no issue with my Nexus 5 or any other phone I've tinkered with and I am drawing a blank on what the issue is.
I'm hoping it's something super obvious that I missed and I'll feel stupid after I'm told what I am doing wrong.
Click to expand...
Click to collapse
the build.prop is huge for the lg g3(to big for some apps) try copying it to your pc and editing it there with notepad++ end then placing it back and set permissions(important or you will brick)

suljo94 said:
the build.prop is huge for the lg g3(to big for some apps) try copying it to your pc and editing it there with notepad++ end then placing it back and set permissions(important or you will brick)
Click to expand...
Click to collapse
I had thought about that so before I made this post I did a adb pull /system/build.prop and edited it with notepad++, as you suggested, but then I am unable to actually push it back. Can I just put it into a folder on my phone and then use some root file browser like ES or whatever and set permissions that way?

JeauxAdam said:
I had thought about that so before I made this post I did a adb pull /system/build.prop and edited it with notepad++, as you suggested, but then I am unable to actually push it back. Can I just put it into a folder on my phone and then use some root file browser like ES or whatever and set permissions that way?
Click to expand...
Click to collapse
place it in /system then in es enable root explorer then click your newly added build.prop long click it then select properties then change permissions to
Code:
yes yes /
yes / /
yes / /

suljo94 said:
place it in /system then in es enable root explorer then click your newly added build.prop long click it then select properties then change permissions to
Code:
yes yes
yes / /
yes / /
Click to expand...
Click to collapse
Your description of the permissions is a little weird but I think I can figure it out. I imagine it's the same permissions the current build.prop has? My wife has now taken her phone and gone to bed so I will have to try this tomorrow. Thank you very much for your assistance!

Related

[Q] Turn off camera shutter sound

I love this phone.
But, I can't turn the camera shutter sound off.
I have seen the following solutions:
Edit build.prop and set the camera sound value to =0
or
Use Camera Zoom Fx app and delete the camera_click.ogg file
I would prefer to do the former.
I guess I need to root my phone to do this - or is there an easier way?
I have never rooted a phone and I don't have a need for a rooted phone other than to be able to r/w the build.prop file.
Can I root it, edit the build.prop file, and then unroot it and have the build.prop file keep my edits?
Does anyone have any straightforward steps on how to root and then unroot this phone?
Thank you for any guidance you can provide!
J-Ha
can't freaking delete this post... tried to edit it and since im a new member it wouldn't let me within 5 minutes...my full reply is farther down.
http://forum.xda-developers.com/showthread.php?t=1994626
I believe that you can unroot directly from the superuser app that is sideloaded via this rooting method. Once unrooted, the changes that you made should remain. If they don't for some reason, all you have to do is keep root and just deny apps that request superuser access.
jhaaaa said:
I love this phone.
But, I can't turn the camera shutter sound off.
I have seen the following solutions:
Edit build.prop and set the camera sound value to =0
or
Use Camera Zoom Fx app and delete the camera_click.ogg file
I would prefer to do the former.
I guess I need to root my phone to do this - or is there an easier way?
I have never rooted a phone and I don't have a need for a rooted phone other than to be able to r/w the build.prop file.
Can I root it, edit the build.prop file, and then unroot it and have the build.prop file keep my edits?
Does anyone have any straightforward steps on how to root and then unroot this phone?
Thank you for any guidance you can provide!
J-Ha
Click to expand...
Click to collapse
You would need to root it to edit the build.prop, as it is located in system. That other way to unroot might work to keep it but if you use lgnpst it would replace all the system files, giving you your stock build.prop again. If you wanted to delete the ogg file you would still need to root for that. At least on my phone the camera_click.ogg file is located it /system/media/audio/ui directory. You could just move it somewhere else as a backup. But....being rooted is awesome
is their a complete fix to this.?
HelloDominick said:
is their a complete fix to this.?
Click to expand...
Click to collapse
jat255 said:
HelloDominick, any reason my post above doesn't work for you? That fixed the sound issue for me.
Click to expand...
Click to collapse
You had to root the phone first right or no.?
This solution didn't work for me. I did all of it, and upon resetting permissions, it makes a new file" build.prop.bak and I still get shutter sound. Using es file explorer
Sent from my LG-LS970 using xda app-developers app
i rooted my device where is the location to edit the camera sound.?
I dont see this code "ro.camera.sound.forced=1" anywhere
NVM. I found it, im getting old now.
but tested it and it works like a charm
HelloDominick - I still haven't gotten around to rooting the phone, so I haven't done this yet. Do you really have to have the sound off on the phone in order for this to work?
Colonel Travis said:
HelloDominick - I still haven't gotten around to rooting the phone, so I haven't done this yet. Do you really have to have the sound off on the phone in order for this to work?
Click to expand...
Click to collapse
Yes. Even deleting the camera shutter sound and editing the build.prop result in this. I just did it myself
Sent from my LG-LS970 using xda app-developers app
Anyone try repackaging the camera apk wi th out the shutter sound. Its what we had to do with the evo 3d`s
Sent from my LG-LS970 using Tapatalk 2
jat255 said:
Hmm... That's interesting. Only thing I can think of is maybe set the permissions via adb? Maybe ES has some issue?
Sent from my LG-LS970 using xda premium
Click to expand...
Click to collapse
Found the solution to be rebooting after the entire process. I forgot I hadn't done it, and decided to just reboot for the hell of it. No shutter sound
Sent from my LG-LS970 using xda app-developers app
I think (once rooted) is safest to just overwrite the click sound(s) with a silent one. Then it plays but you can't hear it. works for me and any camera proggy that defaults to the system will use it too.
thecolor said:
I think (once rooted) is safest to just overwrite the click sound(s) with a silent one. Then it plays but you can't hear it. works for me and any camera proggy that defaults to the system will use it too.
Click to expand...
Click to collapse
Where is the camera sound located in the filesystem? Thx!
hallucinate said:
Where is the camera sound located in the filesystem? Thx!
Click to expand...
Click to collapse
On the LGoG it's in: system > media > audio > ui > camera_click.ogg
It may be in a different location on other devices.
You have to be rooted in order to write over system files, but I just renamed the original to camera_click.ogg.bak and then copied the silent version in with the same original name "camera_click.ogg" less the quotes and making sure it's an ogg file too, so there is no system playback error.
Hope that helps.
thecolor said:
On the LGoG it's in: system > media > audio > ui > camera_click.ogg
It may be in a different location on other devices.
You have to be rooted in order to write over system files, but I just renamed the original to camera_click.ogg.bak and then copied the silent version in with the same original name "camera_click.ogg" less the quotes and making sure it's an ogg file too, so there is no system playback error.
Hope that helps.
Click to expand...
Click to collapse
Replaced the file but no love, same click sound... Any other path?
hallucinate said:
Replaced the file but no love, same click sound... Any other path?
Click to expand...
Click to collapse
I assume it's the LGoG you are attempting this with?
Mine is the first generation (incase there are other generations.)
You'll also want to verify it was overwritten. I'd try playing the sound once you do... just to be sure it's the write file.
Otherwise, you might search your device for the sound and see if it's listed elsewhere.
In case the program you are using does not have "system" write capability, I might suggest ES File Explorer.
Either way, you will have to access the settings to turn on the ability to "write" to root in order to "overwrite the file".
Additionally (if the file is changing back - or so it would seem)... be sure to check the permissions it has before you overwrite it and when you do (assuming success).. make sure to set the "new" files permissions to the same as what the old file had. Else, the OS might overwrite the "new" file with a tared (backed up) version... knowing that it's been screwed with.
It's kind of a form of protection from corruption (computer sees potentially bad file and replaces it with good file.)
Good luck and happy fourth!
Phantom camera_click.ogg
I beg your forgiveness for my ignorance, but I've never done much tweaking to file systems after a rooting... but my gf has the Sprint Optimus G and can't find the camera_click.ogg file at all using Astro File Explorer. Does anyone know any other location it may be at? As a computer technician, I'm embarrassed at my lack of know-how around the Droid OS!
Not sure if you looked at this thread: http://forum.xda-developers.com/showthread.php?t=2051384
Read the op then go to page 11 and you see there are 2 fields that need to be changed.
After you do that and reboot as it states, you will have sound when you have your volume on and no camera sound when you turn the volume down to vibrate or silent. At least that is how it is for me. I prefer it that way.
Hope this helps
Sent from my LG-LS970
Naturally
Per Murphy's law, after she and I both looked for around 30 min before giving up and me posting on the forums, I downloaded the ES file explorer and found both files within seconds.
Got it with the silent camera while the phone is on silent/vibrate. Now for a little tweaking to silence it with the volume up.
Thanks for your help, guys and gals. No wonder XDA-devs is one of, if not the, top-notch sites!
Regards,
Agnati

[MOD] Disable Camera Sounds

Since we now have the LK8 leak, and no custom Roms, yet. I've seen the "how do I disable camera sounds" question asked a few times.
I'm sure your favorite developer will incorporate this feature, like they have in the past, as they update to the new base. This is mainly for us impatient noobs
You must be rooted. Using a root explorer, navigate to /system. Select build.prop. Scroll until you find this line:
# Camera sound play enforced for SPR
ro.camera.sound.forced=1
and change to:
# Camera sound play enforced for SPR
ro.camera.sound.forced=0
If you also want to be able to toggle the sound in the camera menu, navigate to /system/csc, and select feature.xml.
Scroll to the "Camera" section, and change this line from this:
<CscFeature_Camera_ShutterSoundMenu>false</CscFeature_Camera_ShutterSoundMenu>
to this:
<CscFeature_Camera_ShutterSoundMenu>true</CscFeature_Camera_ShutterSoundMenu>
Save, exit,
Make sure permissions are set to: rw-r--r--,
and reboot.
yes happend
Man, I must be doing something wrong.
I used ES file explorer to make the changes and rebooted twice but the sound is still there and the menu doesn't show the camera option either...
I am trying my hand at this instead of the apk I found.
scoobmd said:
Man, I must be doing something wrong.
I used ES file explorer to make the changes and rebooted twice but the sound is still there and the menu doesn't show the camera option either...
I am trying my hand at this instead of the apk I found.
Click to expand...
Click to collapse
Make sure ES has root permission, and also make sure you are saving the updated file, before exiting. I'll try to do it from ES File explorer, in a little while, to see if I can make it work.
Okay, I was able to follow this procedure, with ES File Explorer, also. I just made sure all of the "root" boxes were checked in settings.
Thanks for the help.
I confirmed the setting and everything where correct after a reboot, I wonder if installing that camera app to silence the sounds did something...
scoobmd said:
Thanks for the help.
I wonder if installing that camera app to silence the sounds did something...
Click to expand...
Click to collapse
Not sure, but I do know people reported that the app from that other post, killed Spen, and lock screen sounds, too.
Using Root Explorer, when I try to tap on "build.prop" nothing happens.
There is a tiny yellow icon in the shape of a shield with a star on it on that line. What does that mean? Why won't it let me go in?
Thank You OP for the instructions. It worked.
I used RomToolbox Pro toget it done.
slthree said:
Using Root Explorer, when I try to tap on "build.prop" nothing happens.
There is a tiny yellow icon in the shape of a shield with a star on it on that line. What does that mean? Why won't it let me go in?
Thank You OP for the instructions. It worked.
I used RomToolbox Pro toget it done.
Click to expand...
Click to collapse
Thanks for the feedback, I'm glad you got it working.
Thanks it works great on MA5 also thank u much
Galaxy Note 2
Thanks a million, works perfectly on my stock rooted!!
Sent from my SPH-L900 using Tapatalk 2
Worked great for me on stock rooted with exynos abuse and ES File explorer.
Still working strong! Thanks.
twoscomplement said:
Still working strong! Thanks.
Click to expand...
Click to collapse
Glad I could help.

Help? Editing build.prop without bootloop?

Editing build.prop without bootloop?
Whenever I change the screen dpi the system loops...
I tried changing to multi window in any application, loop again.
Someone to help?
What method are you using? There are apps like BuildProp Editor that keep things simple..
Alternatively, you can use ES File Explorer with its inbuilt editor.
You maybe getting boot loops depending on how you edit the build.prop which could affect the permissions.
rav101 said:
What method are you using? There are apps like BuildProp Editor that keep things simple..
Alternatively, you can use ES File Explorer with its inbuilt editor.
You maybe getting boot loops depending on how you edit the build.prop which could affect the permissions.
Click to expand...
Click to collapse
I'm using the application x-plore and after editing the builp.prop I check that the permissions are correct, and when I restart loops.
permissions need to be set to 644 after editing.
Can anyone post a mini guide for build prop editor? I used it and ended up in a bootloop. How to set permission there? Can't find the option
@Satir0 @montusk
Download ES file explorer
Enable root in ES
Go to build.prop, tap the menu and select edit
Edit whatever you want to, after you're done just go back, it will ask you if you wanna save, select yes and you're done. No need to set permissions.
0rigin said:
@Satir0 @montusk
Download ES file explorer
Enable root in ES
Go to build.prop, tap the menu and select edit
Edit whatever you want to, after you're done just go back, it will ask you if you wanna save, select yes and you're done. No need to set permissions.
Click to expand...
Click to collapse
I will try later ...
But I was with Xplore G3 and never had any problems.
It will not be because my bootloader is locked?
Edit: thank you, changed the dpi using apk device control

Cannot edit build.prop on rooted developer preview 4

I just flashed developer preview 4 and rooted but I cannot get the build.prop edited. I've tried multiple apps but always says error saving. Had anyone gotten the build.prop edited?
lawtalking said:
I just flashed developer preview 4 and rooted but I cannot get the build.prop edited. I've tried multiple apps but always says error saving. Had anyone gotten the build.prop edited?
Click to expand...
Click to collapse
I have successfully edited the build prop by using root explorer. Make sure you are rooted and allow super su to use root explorer.
You will will need to hold down on build.prop to highlight it, then go to menu and select, open in text editor.
lucky_strike33 said:
I have successfully edited the build prop by using root explorer. Make sure you are rooted and allow super su to use root explorer.
You will will need to hold down on build.prop to highlight it, then go to menu and select, open in text editor.
Click to expand...
Click to collapse
I am rooted and I did give permission to root explorer. I am able to mount the other files and folders as read write but it will not let me Mount the system as read write. I've tried multiple apps it all says error saving.
lawtalking said:
I am rooted and I did give permission to root explorer. I am able to mount the other files and folders as read write but it will not let me Mount the system as read write. I've tried multiple apps it all says error saving.
Click to expand...
Click to collapse
What file explorer are you using. Fx works fine.
toknitup420 said:
What file explorer are you using. Fx works fine.
Click to expand...
Click to collapse
I've tried multiple. Its not the file explorer. I've tried re flashing the factory image but still will not let me edit any system folders or files. I think that maybe it is systemless root. Not sure how I got systemless root or if it is possible to get regular root. Is there a setting is Supersu?
lawtalking said:
I've tried multiple. Its not the file explorer. I've tried re flashing the factory image but still will not let me edit any system folders or files. I think that maybe it is systemless root. Not sure how I got systemless root or if it is possible to get regular root. Is there a setting is Supersu?
Click to expand...
Click to collapse
You may have a SUPER.img - i just learned about this myself - its a combined image containing /system - /vendor & /Product - it looks like it is similar to Systemless root or system as root... idk they are weird but i do think its possible to modify build.rpop, but it may require a PC.... Im looking for a way to edit build.prop myself and learning all this now.

Question LOCKSCREEN OGG FILE LOCATION

Hello I have been trying to look for the lockscreen.ogg file location. It has seemed to changed in Android 12 if I'm not mistaken. It was located in System/Media/UI but it seems that is no longer even there with Android 12. Does anyone have any idea where this is? Thank you!
Try system/product/media
Ronny220 said:
Try system/product/media
Click to expand...
Click to collapse
That is exactly the spot I was looking for. For some reason I cant get root explorer to mount R/W to overwrite the old file. Root Explorer does have SU access as well. Any ideas?
stalls said:
That is exactly the spot I was looking for. For some reason I cant get root explorer to mount R/W to overwrite the old file. Root Explorer does have SU access as well. Any ideas?
Click to expand...
Click to collapse
There are one or more Magisk Modules that will make it appear for all intents and purposes that you've overwritten or changed a file. It will do what you need. Because root is systemless, you can't (and shouldn't want to) actually change or delete any system files for real. I don't know the name(s) of the Magisk Modules that will do that, as I haven't had a need, but many users in this section have suggested others use such modules to do something similar to what you want to do.
running "settings list global" on adb shell gave me this location "lock_sound=/product/media/audio/ui/Lock.ogg" I was gonna check on root explorer but forgot im not rooted right now but hopefully that is it.
I just am trying to change the sound when locking the phone.
stalls said:
I just am trying to change the sound when locking the phone.
Click to expand...
Click to collapse
Can you rename the stock file to lock.oggbak and then paste the new sound in obviously with the name lock.ogg?
Thebear j koss said:
Can you rename the stock file to lock.oggbak and then paste the new sound in obviously with the name lock.ogg?
Click to expand...
Click to collapse
You can not because root explorer is not able to switch to r/w. But I tried anyways and failed
stalls said:
You can not because root explorer is not able to switch to r/w. But I tried anyways and failed
Click to expand...
Click to collapse
you have to create a magisk module yourself and replace the file, with the one you want.
google around for a template of a simple magisk module, recreate the directory inside the magisk module where the file you want to replace sits on the phone (system/product/media/audio/ui), drop the new sound file there, zip the magisk module template and flash via magisk manager and do a reboot.
dynamic partitions donĀ“t allow for r/w mounting. replacing the file systemlessly via magisk during bootup is the only way.

Categories

Resources