Need help changing Lock/Unlock sounds from System UI - Nexus 6 Q&A, Help & Troubleshooting

Hey guys, new to the whole XDA thing. Recently I just rooted my nexus 6 and tried to change my Lock/Unlock sounds but even after I changed the audio file to .ogg and set the permissions to rw-r--r-- I still cant copy my new lock/unlock sounds to the UI folder .
When I try to copy it I get this message:
Copy Failed
Unlock.ogg to/system/media/audio/ui

Mr.Universe said:
Hey guys, new to the whole XDA thing. Recently I just rooted my nexus 6 and tried to change my Lock/Unlock sounds but even after I changed the audio file to .ogg and set the permissions to rw-r--r-- I still cant copy my new lock/unlock sounds to the UI folder .
When I try to copy it I get this message:
Copy Failed
Unlock.ogg to/system/media/audio/ui
Click to expand...
Click to collapse
1)mount /system partition as R/W. by default its R/O.
2)copy your file
3)change permission to rw-r--r--
4)reboot
and you are good to go
[if you cant mount system partition as R/W then flash custom kernel and try]

Poojan Patel said:
1)mount /system partition as R/W. by default its R/O.
2)copy your file
3)change permission to rw-r--r--
4)reboot
and you are good to go
[if you cant mount system partition as R/W then flash custom kernel and try]
Click to expand...
Click to collapse
I mount as R/W and when I try to copy the file it still gives me the error code?
(Permissions and R/W are good to go I just can't copy it) ?

Mr.Universe said:
I mount as R/W and when I try to copy the file it still gives me the error code?
(Permissions and R/W are good to go I just can't copy it) ?
Click to expand...
Click to collapse
sounds like you dont have full root. one way to check is by editing your build.prop file then rebooting. if the edit stays, you have full root. if your edit stays the same, then you dont have full root.

Do you have free space on /system? If not, that would be the reason. The N6 /system partition is almost full, so you may have to remove apps in /system/app or /system/priv-app to free up some space, then try copying.

Mr.Universe said:
I mount as R/W and when I try to copy the file it still gives me the error code?
(Permissions and R/W are good to go I just can't copy it) ?
Click to expand...
Click to collapse
It's possible, that since the sounds are used by the system that their actually in use.
Have you tried mounting system in recovery and doing it there?
Sent from my Nexus 6
If I've helped you, don't forget to hit thanks!

Related

Can't get R/W permission on system folder...?

I am in need of read/write access to my system folder. I am simply trying to copy some ringtones and add a boot animation.
I have SGS tools and ran the r/w script, which allowed me to VIEW the folder with Droid Explorer, however I am unable to actually copy TO the system folder or its subfolders.
Any ideas on what I'm doing wrong?
EDIT - I've also tried to push the files to the phone via ADB, but I get an error telling me "Failed: Operation Not Permitted".
EDIT x2 - I've also got Root Explorer installed on the phone and it showed R/W access, but again, I can't get any files pushed to the phone.
Did you allow sgs tools to get a root permission?
Sent from my SGH-I897 using XDA App
Did you try fixing permissions through cwm recovery?
try root explorer. and double check superuser permissions
goob1284 said:
Did you allow sgs tools to get a root permission?
Sent from my SGH-I897 using XDA App
Click to expand...
Click to collapse
Yup.
Did you try fixing permissions through cwm recovery?
Click to expand...
Click to collapse
I noticed a section for both "mount /system" and also permissions... Both: DONE.
try root explorer. and double check superuser permissions
Click to expand...
Click to collapse
Done & Done...
I've still got no access to R/W in any of the system folders/subs. Any ideas?
I am having the same problem with root explorer..
I have fixed permissions in CWM
It had worked once but now it wont mount r/rw in system folder. Press the icon and it does nothing.
Superuser permission in SGS tools, Root exploer all show active
Any ideas?
Anyone else have any ideas? I'm totally puzzled at this point.
I have sort of fixed the problem..
I go into SGS tools and run the batch file to give r/rw permissions, then I can mount r/rw in system folder, but I loose this each time I reboot and I think when I connect USB..
but it works for the purpose I needed!
I think I've found a work around (or maybe the way it was SUPPOSED to work)...
I rebooted the phone in recovery. Then, selected "mount /system". Then I went to Advanced and "Fix Permissions" (don't know if I had do, just did).
THEN - I was able to FINALLY push the files to the correct folders! I tried it using ADB commands and also with Droid Explorer - Both worked great.
I don't know if the phone was always supposed to be in recovery to do it, but it worked!

(Q) Edit build.prop

Hi mates. I am experiencing issues in editing the build.prop. I mean: even if I can access the file, when I try to save it, it tells me I cannot...
I use file expert to browse and jota text to edit (both free). Es file explorer does not allow me to set root option...maybe it it's not working with note yet...
In any case I don't know what to do to save the new build.prop.
Any suggestions?
Thx to all...
Sent from my GT-N7000 using XDA App
Diamantes said:
Hi mates. I am experiencing issues in editing the build.prop. I mean: even if I can access the file, when I try to save it, it tells me I cannot...
I use file expert to browse and jota text to edit (both free). Es file explorer does not allow me to set root option...maybe it it's not working with note yet...
In any case I don't know what to do to save the new build.prop.
Any suggestions?
Thx to all...
Sent from my GT-N7000 using XDA App
Click to expand...
Click to collapse
Es explorer works well. u might have found it if u searched.
Just make sure that u have enabled root options in the settings.
No.
As I wrote before, I don't know why but Es doesn't allow me to have root options enabled, so I was forced to find a new root explorer. The problem is that I can't save the new build.prop: the app tells me it cannot save the file...
Suggestions?
Sent from my GT-N7000 using XDA App
Install File Expert, go to settings and enable "Root Explorer" (under "File Explorer Settings"), go back, press menu, more and then "Mount".
/system is mounted RO by default.
use a shell and as root type
Code:
busybox mount -o remount,rw /system
you should get a full access now to all /system filesystem.
THANKS
BazookaAce said:
Install File Expert, go to settings and enable "Root Explorer" (under "File Explorer Settings"), go back, press menu, more and then "Mount".
Click to expand...
Click to collapse
Thx mate. It worked. After chose the option "Mount", I edit also the properties of the file (write,read,all...). After that, File expert allowed me to choose the app to open the text file: I choose ES text, because Jota text continued not saving the file. I finally saved the build.prop file.
THX.
sibere said:
/system is mounted RO by default.
use a shell and as root type
Code:
busybox mount -o remount,rw /system
you should get a full access now to all /system filesystem.
Click to expand...
Click to collapse
Thank you too.
uff!! what a pain in the ....ss!
Thanks guys! I enabled the Root checkbox, but I cant mount!
I get a Mount failed message.
I tried to be in the / directory when issued the Mount command for RW (using GUI in that application), and being inside /system as well - same error.
I've granted the application Superuser permissions, so thats not it.

[Q] Corrupted nv_data.bin

I corrupted my nv_data...
Flashing efsbackup didnt help...
A friend friend from the same country as me uploaded his nvdata, but i dont know how to apply it, ADB says device not found, debugging is on, and im using Win 7 x64 SP1.
If you have a complete backup of your /efs folder, a good way to restore it is: With root explorer, go into backuped /efs and multiselect and copy every file. Go to actual /efs folder and paste files in. Reboot, and things should be good now.
fps249 said:
If you have a complete backup of your /efs folder, a good way to restore it is: With root explorer, go into backuped /efs and multiselect and copy every file. Go to actual /efs folder and paste files in. Reboot, and things should be good now.
Click to expand...
Click to collapse
I have only nvdata.
And root explorer says no permission, although i enabled System RW.
8ax said:
I have only nvdata.
And root explorer says no permission, although i enabled System RW.
Click to expand...
Click to collapse
try long clicking the file, select permisions, make a note of whats ticked, then select them all, press ok, make sure the root "/" is mounted as R/W and try again. If sucessful change the permisions back to what they were... Hope that helps

Unable to delete or rename install-recovery.sh

Using Root Browser I am unable to delete or rename the install-recovery.sh file. Does anyone know why? Thank you. I also tried ES file explorer.
You need to have R/W privileges. Do you have root?
Mark Once Again said:
You need to have R/W privileges. Do you have root?
Click to expand...
Click to collapse
Yes root has been verified. Thanks for any help you can give Mark.
I use root explorer. Just navigate to the file. Make sure the permissions are R/W. If not, just push the Mount button so that it shows R/W instead of R/O. Should be good to go....
Mark Once Again said:
I use root explorer. Just navigate to the file. Make sure the permissions are R/W. If not, just push the Mount button so that it shows R/W instead of R/O. Should be good to go....
Click to expand...
Click to collapse
Thanks Bro. Good to go now.
I had the same problem, which is how I found this thread, and was not able to resolve it by remounting /system RW. However it turns out the file had the immutable attribute "i". I was able to remove the attribute and delete the file via:
Code:
su
chgattr -i /system/etc/install-recovery.sh
rm /system/etc/install-recovery.sh
recovery upgrade
how to upgrade the recovery. i have a old recovery. i want upgrade it to touch philz recovery plz help

[Q] where is /data/preload folder on my phone?

Hey fellas,
I need to copy a file into folder /data/preload/ .
I cannot find this folder using the root explorer. Where is it?
I know it exists (or should exist) since system gives me an error message while applying OTA updates saying that a file is missing in that folder.
I have got the file now and want to put it back.
my phone:
HTC One M7,
rooted
stock recovery
s-on
bootloader unlocked/tampered
geek654 said:
Hey fellas,
I need to copy a file into folder /data/preload/ .
I cannot find this folder using the root explorer. Where is it?
I know it exists (or should exist) since system gives me an error message while applying OTA updates saying that a file is missing in that folder.
I have got the file now and want to put it back.
my phone:
HTC One M7,
rooted
stock recovery
s-on
bootloader unlocked/tampered
Click to expand...
Click to collapse
Does anyone know?
Thanks
Could it be in the system partition?
How can I access system partition?
In TWRP recovery I see an option named "mount" when I select it only the "data" in ticked.
Should I tick "system" as well, and it will mount the system partition? If so, then i can probably use the file browser of TWRP, find the data/preload folder and copy the missing file back in place. right?
download root browser, there is a free edition from play store as soon as you open it you will see the data folder on the list, its not in system, that's a separate folder.
you will need to copy the preload folder and its contents to that folder and change the permissions of the folder and contents.
you need to be rooted to use it.
Seanie280672 said:
download root browser, there is a free edition from play store as soon as you open it you will see the data folder on the list, its not in system, that's a separate folder.
you will need to copy the preload folder and its contents to that folder and change the permissions of the folder and contents.
you need to be rooted to use it.
Click to expand...
Click to collapse
Thanks Seanie.
So by default that folder does not exist? That's why I couldn't find it then!
I created the folder via root browser. What should be the permission for folder/apk file ?
now the preload folder permissions are rwsrwsrwt and apk file permissions are rw-rw----
does it make sense or should I change permission of filder and file both to 777 or 666 ?
geek654 said:
Thanks Seanie.
So by default that folder does not exist? That's why I couldn't find it then!
I created the folder via root browser. What should be the permission for folder/apk file ?
now the preload folder permissions are rwsrwsrwt and apk file permissions are rw-rw----
does it make sense or should I change permission of filder and file both to 777 or 666 ?
Click to expand...
Click to collapse
It does initially exist, but if you've been flashing custom rom's and recoveries, then when you clear data it gets deleted, set permissions to rw-r-r- for the apk's etc and rwxr-xr-x for the folder

Categories

Resources