How do I edit my egl.cfg file? - Droid 2 General

Ok so Ive searched around to try and find a solution to my battery issues and it seems that if I edit my egl.cfg file to take out the android line it may get some better life so I wanted to try it.
Well I figured you couldn't change a system file while it was in use, but I cant seem to find anything that say how to change it. Everything I see says just go in there and modify it. Well again the OS will not allow that. I change it and it doesn't save, it just goes right back to having the android in it. Like I said I figured you couldn't do this, but then again I cant find proper instructions on how to actually do it.

Use root explorer and mount system as r/w. Then edit the file.
Sent from my DROID2 using xda premium

I want to try this, but there isn't a egl.cfg file in my system folder.

Albinoman said:
Use root explorer and mount system as r/w. Then edit the file.
Sent from my DROID2 using xda premium
Click to expand...
Click to collapse
Got it thanks.
silverfang77 said:
I want to try this, but there isn't a egl.cfg file in my system folder.
Click to expand...
Click to collapse
system/lib/egl/egl.cfg

Related

system notifications

I see my system notifications are stored in /system/media/notifications but even with root Im not able to drop a new file withing this directory. I would like to do this because Handcent doesnt give me the option to select a different directory.
Any suggestions on either dropping a new sound file in the /system/media dir or using a custom sound file for Handcent?
Thanks
You should be able to put something in /sdcard/media/notifications
You have to mount system with root explorer, ADB, etc. It's read only by default.
Sent from my HTC SUPERSONIC
I've tried a root file manager without success. Is it possible to change the directory permissions using ADB?
Sent from my PC36100 using XDA App
ryedunn said:
I've tried a root file manager without success. Is it possible to change the directory permissions using ADB?
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
If you use root explorer, there is a little button in the upper right that toggles read write permissions.
Sweet
For the next person, I can confirm this does work, you just need to make sure the permissions are correctly set on each file and the phone (or SMS) app needs to be restarted to take effect.
Thanks everyone.
P.S. I hope you guys get a commission!

Editing system files in Android

I have to do all editing from my phone, no laptop anymore. Any suggestions on a great app to edit system files, and something to repackage apks?
RIP Cotton Eye Jim
/b/rotherJudas said:
I have to do all editing from my phone, no laptop anymore. Any suggestions on a great app to edit system files, and something to repackage apks?
RIP Cotton Eye Jim
Click to expand...
Click to collapse
Root Explorers My Favorite,
But ES Explorer Is Pretty Good Also,
And That Ones Free!!
Sent from my HERO200 using XDA App
I've been using root explorer, but a lot of files show up as nonsense and symbols.
RIP Cotton Eye Jim
Any other suggestions guys?
/b/rotherJudas said:
Any other suggestions guys?
Click to expand...
Click to collapse
Try NinjaMorph!!
Sent from my HERO200 using XDA App
if you are okay with shell interface, Terminal Emulator is what I would recommend.
sorry guys, I'm trying to overwrite this file
\system\media\audio\notifications\22_on_time.ogg
but ES explorer say it cannot do it. I chose properties and see that the file is read only.
How can I do it ??
Ser
ginosergio said:
sorry guys, I'm trying to overwrite this file
\system\media\audio\notifications\22_on_time.ogg
but ES explorer say it cannot do it. I chose properties and see that the file is read only.
How can I do it ??
Ser
Click to expand...
Click to collapse
Are you rooted? If not, you cannot do it, because you need root access to do changes in /system directory. If, you can do it with e.g. one of the following apps:
Root explorer (paid)
Super Manager (free)
File Expert (free)
After starting, you need to mount (switch) r/w. Additionally, in both free apps, you need to enable root option in their settings before. Now can you can overwrite.
Yessss !! it works (yes, I'm rooted)
Thank you, MatDrOiD ! I used File Expert. Just 2 questions:
in file expert, when i go into options - mount - and choose "read and write" should I be already positioned browsing the "system" folder ??
I've done this way, but I suspect that "mount read and write" is a global option referring to system folders and can be enabled just when entering File expert ?
ginosergio said:
Yessss !! it works (yes, I'm rooted)
Thank you, MatDrOiD ! I used File Expert. Just 2 questions:
in file expert, when i go into options - mount - and choose "read and write" should I be already positioned browsing the "system" folder ??
I've done this way, but I suspect that "mount read and write" is a global option referring to system folders and can be enabled just when entering File expert ?
Click to expand...
Click to collapse
Only System files have to be Mounted as Read/Write to Edit them, other than that they can't be Modified!
*Sent on My*
Fast as its Ever Been....
"Sprint" Hero.... Running My, *ExEnHeroC* Rom, w/Kifno's Twist, Also The XDA-BLUE.apk!! "Page 10" of My Thread!!
http://forum.xda-developers.com/showthread.php?t=957867
http://www.megaupload.com/?d=WTMLMK6M
http://www.mediafire.com/?bb1axugm0bw7oro
http://m.youtube.com/index?desktop_uri=/&gl=US#/profile?user=PMGRANDS
ginosergio said:
Yessss !! it works (yes, I'm rooted)
Thank you, MatDrOiD ! I used File Expert. Just 2 questions:
in file expert, when i go into options - mount - and choose "read and write" should I be already positioned browsing the "system" folder ??
I've done this way, but I suspect that "mount read and write" is a global option referring to system folders and can be enabled just when entering File expert ?
Click to expand...
Click to collapse
I don't like to say it, but pressing thanks-button would be awesome!
You can also mount r/w while in root folder, does not matter. After closing file expert, you always have to enable root explorer function and mounting r/w again, when you start file expert the next time. At least i cannot find an option to enable it permantly. Which is understandable for me, because superuser rights can damage your phone (so this enable action works metaphorically as a little warning, imho).
Hi, I have a rooted an android tablet (Chuwi Hi12) and find the lowest brightness way too bright. Now I found the settings of brightness and want to lower the settings but the system won't save the file with the new settings. What am I doing wrong? Please help. Many thanks.
Jeanpierre
thanks
i think
/b/rotherJudas said:
I have to do all editing from my phone, no laptop anymore. Any suggestions on a great app to edit system files, and something to repackage apks?
RIP Cotton Eye Jim
Click to expand...
Click to collapse
root browser is the best one!:
I have question. With any root Explorer I can't overwrite ANY file on ANY app. Always pop up something like "can't overwrite" I'm rooted with Magisk, Pocophone F1 MIUI 10.3 by xiaomi.eu 9.1.17 (dev.)
Any solution?

[REQ] /system/media/audio/ui from ATT 4.5.91/2.3.4

Hi,
Could someone on ATT 4.5.91 please send me a zip of /system/media/audio/ui? I'm on ORFR 2.3.4 and some oggs are missing (like lock/unlock and low battery)
Thanks,
Thiago Souza
Sent from my MB860 using XDA Premium App
Here ya go:
http://www.mediafire.com/?qp5ipv2thqrpeoi
Noob Question: Do I flash this using CWM, or unzip and use a fastboot command?
IrshaadH said:
Noob Question: Do I flash this using CWM, or unzip and use a fastboot command?
Click to expand...
Click to collapse
This is not an update.zip you must manually unzip, copy and properly set permissions...
Someone could make an update.zip though... unfortunatelly I lack the skills...
Cheers
tsouza said:
This is not an update.zip you must manually unzip, copy and properly set permissions...
Someone could make an update.zip though... unfortunatelly I lack the skills...
Cheers
Click to expand...
Click to collapse
What do you mean by properly setting permissions?
IrshaadH said:
What do you mean by properly setting permissions?
Click to expand...
Click to collapse
Using something like Root Explorer you need to change the permissions.
IrshaadH said:
What do you mean by properly setting permissions?
Click to expand...
Click to collapse
Permissions for all the audio files need to be set at RW/R/R
Using Root Explorer you can change system to R/W, long press on each file, then select change permissions from the menu, then set them per what I said.
IrshaadH said:
What do you mean by properly setting permissions?
Click to expand...
Click to collapse
Using Root Explorer, go to /system/media/audio/ui, long press any file and select "permissions", a window will show up with a configuration of checkboxes. The permissions of any new file you copy there must be set to the same configuration.
Bump for anyone else who needs these too. The alarm bug sucked! lol

Changing permissions?

How do I go about changing permissions on system files to write (rwxr--r--)... would like to try Nbsss 's ram script... Thanks for any reply...
Sent from my Nexus 7 using xda premium
clintono316 said:
How do I go about changing permissions on system files to write (rwxr--r--)... would like to try Nbsss 's ram script... Thanks for any reply...
Click to expand...
Click to collapse
First, you have to be rooted. Second, you need a root file manager installed such as Root Explorer (paid app worth every penny) or ES File Explorer (free, but I never used it) and there are others. Navigate to the system file you want to change permissions on, allow read/write access, long-press the file, choose permissions. rwx, means to put checkmarks in read, write, execute for Owner, and check Read for Group and Others.
Thanks for the info...
Sent from my Nexus 7 using xda premium

Help. Updated to Nae 4.4.2 now I can't save to 64GB microSD card

I updated to the new Nae 4.4.2 now I can't save to 64GB microSD card.
bigjlindy said:
I updated to the new Nae 4.4.2 now I can't save to 64GB microSD card.
Click to expand...
Click to collapse
This is what you need to do:
1. Using a root-enabled file manager, navigate to /system/etc/permissions
2. Edit platform.xml and find the WRITE_EXTERNAL_STORAGE permission.
3. Add an additional group definition for this permission...<group gid="media_rw" />
4. Save the changes to the file.
5. Restart.
See the picture for example:
I thought i was the only one going insane!!! I guess i'll have to root my device, to get this feature working again.
I think My Files and other stock apps will be able to write to the SD card, but this is at best a workaround solution.
It looks like you'll have to be rooted as stated above to actually correct this issue so any app can write to the card.
Cmonsterf50 has written a zip to flash that will replace that file. Look for it in the development section.
Sent from my SPH-L720 using Tapatalk
I'm trying to do this, but it won't let me save the file. I've managed to copy the file, edit the copy and save it, but it won't let me replace the original. I see there's a file that will do, this but I'm afraid it might effect other stuff/settings. Is that possible?
kturcotte said:
I'm trying to do this, but it won't let me save the file. I've managed to copy the file, edit the copy and save it, but it won't let me replace the original. I see there's a file that will do, this but I'm afraid it might effect other stuff/settings. Is that possible?
Click to expand...
Click to collapse
You need to change your file access to read/write. Depending on your file manager you should have an easy selection to change it.
Sent from my SPH-L720 using Tapatalk
cmonsterf50 said:
You need to change your file access to read/write. Depending on your file manager you should have an easy selection to change it.
Sent from my SPH-L720 using Tapatalk
Click to expand...
Click to collapse
I'm using ES File Explorer. It says it has write permission, but it still won't allow me to do it.
kturcotte said:
I'm using ES File Explorer. It says it has write permission, but it still won't allow me to do it.
Click to expand...
Click to collapse
Ensure you've set the permissions like so ... it let me save it after changing the root permissions
Sent from my SPH-L720 using Tapatalk
cmonsterf50 said:
You need to change your file access to read/write. Depending on your file manager you should have an easy selection to change it.
Sent from my SPH-L720 using Tapatalk
Click to expand...
Click to collapse
cmonsterf50 said:
Ensure you've set the permissions like so ... it let me save it after changing the root permissions
Sent from my SPH-L720 using Tapatalk
Click to expand...
Click to collapse
How exactly do I get to the screen you showed? I can't seem to be able to. I am using the latest version of ES File Explorer.
kturcotte said:
How exactly do I get to the screen you showed? I can't seem to be able to. I am using the latest version of ES File Explorer.
Click to expand...
Click to collapse
Press Menu.
Select root explorer
Press mount read/write and it should appear
Sent from my SPH-L720 using Tapatalk
cmonsterf50 said:
Press Menu.
Select root explorer
Press mount read/write and it should appear
Sent from my SPH-L720 using Tapatalk
Click to expand...
Click to collapse
And that worked! Thank you!

Categories

Resources