ADB to update /etc/bluetooth/audio.conf ? - Desire General

i have a 2.2 rooted ROM and i need to edit the /etc/bluetooth/audio.conf file to enable A2DP autoreconnect option.
Ive tried Root Explorer and ADB shell, but allow me to mount the fs as r/w and copy the edited file in, but when ive reboot the file is back to the original time/date and contents.
I also tried editing the file in Root explorer and it does the same.
what am i doing wrong here ?

I've used the Root Explorer to edit config files.....try opening it as a text editor through the root explorer. Edit the file and save it..it should automatically make a back up of the audio.conf file in addition to saving changes to the original file...
EDIT: Oops, it seems like you have already attempted to write changes using the text editor...I'm assuming that you've mounted the file system as r/w within Root Explorer before editing?...

You are not s-off. Either s-off or do it with adb while in recovery.
Sent from my GT-I9100 using XDA Premium App

TheGhost1233 said:
You are not s-off. Either s-off or do it with adb while in recovery.
Sent from my GT-I9100 using XDA Premium App
Click to expand...
Click to collapse
That may well be true. Stuart.tavener, have you S-OFFed ur phone? If not you might want to follow Ghost's advice...

Related

Remove preinstalled apps ->cm7

How would I go about deleting some of the preinstalled apps in cm7? I read to download titanium backup and do it with that. When I did it using that app, nothing was uninstalled even though it said it was.
There are a few ways. You can do it through a paid app called System App Remover, adb or you can delete the apk's from the zip archive before you flash it. I do a combo between the first and third way. Just to point out, you need to be s-off to do out through the app.
Swyped...
I just delete .apk files from /system using root explorer.
S-off needed for this method.
stringer7 said:
I just delete .apk files from /system using root explorer.
S-off needed for this method.
Click to expand...
Click to collapse
I have S-off but in my file explorer when I go to syste/app and try to delete those apk files it says that it can't. The titanium uninstall which I did after getting S-OFF, done by some recovery exploit also does not work.
NovaStark said:
I have S-off but in my file explorer when I go to syste/app and try to delete those apk files it says that it can't. The titanium uninstall which I did after getting S-OFF, done by some recovery exploit also does not work.
Click to expand...
Click to collapse
Enabled root explorer option in your explorer? Which explorer do you use?
Sent from my HTC Desire using XDA App
And have you got /system mounted r/w, not r/o?
use the latest "root explorer" from the market and make sure superuser allows it
when u open root explorer press the "mount r/w" button at the top to have write access
Xgeda said:
use the latest "root explorer" from the market and make sure superuser allows it
when u open root explorer press the "mount r/w" button at the top to have write access
Click to expand...
Click to collapse
Although root explorer is well enough to pay money for it, there is a good free alternative called "file explorer". But you have to mount as r/w, too.
Sent from my HTC Desire using XDA App
Thank you all. If it wasn't for you all I'd be following instructions and not know to mount r/w.
You can use Root_uninstaller_pro_v1.13.apk and uninstall the system application you don't use. I use this app and have no problem.
Sent from my HTC Desire
NovaStark said:
Thank you all. If it wasn't for you all I'd be following instructions and not know to mount r/w.
Click to expand...
Click to collapse
Direct in the programm you use. To name two examples:
1.) In root explorer you have an extra single button at the top
2.) In file explorer: menu>more>settings>file explorer settings>check root explorer option (and enter superuser request). Go back to root of your sd card. Now menu>more>mount>mount as read write. File explorer should show "access".

Synergy - /system/fonts mounted as r/o

OK, i have an Evo running Synergy RLS1 + GODMODE and the system is set as R/O. I need to gain access to /system/fonts anbd set to r/w. I have tried to use Root Explorer to no avail. I would like to permanently set /system/* to r/w and r/o at will. How would I go about doing that. I have tried using .ZIP files for Mount/Unmount system and tat still wouldn't let me change permissions to anything under /system. HELP.
Andrew
I don't know that you can "permanently" set it to R/W but if you use Root explorer, go into /system/fonts and click "Mount R/W" at the top that should give you the read/write access you need.
I tried that in Root Explorer and it never sets it to r/w.
NxlKing2304 said:
I tried that in Root Explorer and it never sets it to r/w.
Click to expand...
Click to collapse
Odd, it just set it for me without an issues.
Ill try to uninstall root explorer and reinstall.
Sent from my PC36100 using XDA App
That worked. I uninatelled root explorer and reinstalled upto and is now r/w. Why can't i change fonts? They never update. This is annoying.
Sent from my PC36100 using XDA App
NxlKing2304 said:
That worked. I uninatelled root explorer and reinstalled upto and is now r/w. Why can't i change fonts? They never update. This is annoying.
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
Are the fonts named correctly? Are you rebooting afterwards?
There's a thread with a ton of flashable font zips, you can try that. Or if you can't find a flashable zip of the font you want, there's directions for making your own in the thread I mentioned. I'll see if I can find it & link you to it.
Edit: Found the thread, but looks like Matty beat me to it. Also remember that when rebooting you need to do a full reboot. If you have fastboot enabled, powering off & back on might not be enough, you'll either need to choose reboot from the long-press power options or from an app, or pull the battery.
New fonts thread here: http://forum.xda-developers.com/showthread.php?t=1194202
Sent from my PC36100 using Tapatalk
plainjane said:
Are the fonts named correctly? Are you rebooting afterwards?
There's a thread with a ton of flashable font zips, you can try that. Or if you can't find a flashable zip of the font you want, there's directions for making your own in the thread I mentioned. I'll see if I can find it & link you to it.
Sent from my PC36100 using Tapatalk
Click to expand...
Click to collapse
Thread:
http://forum.xda-developers.com/showthread.php?t=801160

Deleted my BIN folder on accident

Title. Nothing will update, nothing will install. I'm afraid to reboot. What can I do?
Device -- Xperia Play R800X
Adb push or root explorer the folder to /system from the unzipped rom
what device?
Whole folder at once would be easier but doesn't matter just make sure permission are rwxr-xr-x
Easiest way to change perms is with a root file explorer, I use es explorer in settings enable root then mount system as write, long hold the file, goto properties then change permission. Or adb remount chmod not sure of the actual perm set you'll have to search.
Sent from my Desire HD using XDA App
sammael1069 said:
Adb push or root explorer the folder to /system from the unzipped rom
Sent from my Desire HD using XDA App
Click to expand...
Click to collapse
----nvm
Do I just make an empty BIN folder? or....
Added device
sammael1069 said:
Adb push or root explorer the folder to /system from the unzipped rom
what device?
Whole folder at once would be easier but doesn't matter just make sure permission are rwxr-xr-x
Sent from my Desire HD using XDA App
Click to expand...
Click to collapse
Never figured out how to change perms. Should I download source and do it like that?
Okay, now where can I get the bin folder? Should I factory reset? Would that work?
Unzip the ROM drill to system/
Sent from my Desire HD using XDA App
Fixed it! Thanks sammael.

[Q] Cant edit or delete instal-recover.sh

I am trying to use clock work mod to instal custom rom.... I am running the latest ics release rooted and unlock...
you need to download root explorer
then go to "/etc"
then click "Mount R/W" on the top of the screen,
and then delete install-recovery.sh
What is the question?
If you ARE rooted you need to install a file manager (Ex. Root Explorer), set R/W and either delete or Rename the file. Suggest you simply rename by adding a .bak to the end of it.
Once this is complete flash the recovery image through fastboot.
BTW .. you could have posted this in the Clockwork thread and the instructions I gave above are already there.
Edit: LOL ... I must type too slow. In 7 minutes you got three identical answers.
Need to be 100% rooted n a root explorer
Sent from my A100 using Tapatalk 2 Beta-5
Sorry
I have been a way a while, I have tried all that you guys have suggested but it wont let me change permissions on it. It says that it gives root permission but not able to edit the file or permissions to it. any help??
Alias_D said:
I have been a way a while, I have tried all that you guys have suggested but it wont let me change permissions on it. It says that it gives root permission but not able to edit the file or permissions to it. any help??
Click to expand...
Click to collapse
Make sure you mount the system as r/w.

Rooted, yet unable to....

I'm now rooted using CF method, no custom recovery though. I want to remain stock. But, one of the primary reasons I went ahead and rooted is so that I can get rid of the 2 horrible power on & off sound files. Is it just me or do you also find those completely obnoxious and loud??
Anyhow, here's the problem:
I've located the 2 files (poweron.ogg and poweroff.ogg). I don't want to delete them, I just want to rename them so they are in essence "hidden" and can't be called, therefore keeping my sanity everytime I shutdown or startup. But when I try to rename (I've now tried ES file explorer and Astro - both to no avail) the files, I get a permission denied or some other message saying the file is write-protected and I'm unable to rename or delete.
Any ideas?
Thanks!
You need to make the folder r/w (read/write) instead of r/o (read only). You should have that option in all root explorer software.
Install es file explorer, press the menu button and then root explorer. Then from there go to mount read/write and change the system checkbox to r/w. Now you should be able to mod the files.
Sent from my SGH-M919 using xda app-developers app
marcoxx626 said:
Install es file explorer, press the menu button and then root explorer. Then from there go to mount read/write and change the system checkbox to r/w. Now you should be able to mod the files.
Sent from my SGH-M919 using xda app-developers app
Click to expand...
Click to collapse
Beautiful! It worked! Thanks for the detailed steps.
GO KNIGHTS!

Categories

Resources