permission on system/media/audio - Sprint Samsung Galaxy Note II

so i was adding some files to the root of the phone system/media/audio/ringtones and i started messing around with the permission on the folder and each individual file. its so that the phone does not read any of the files on there. what should be the correct permissions for the files so that the phone reads them? thanks all!
also, is there any way to change permission in bulk for files in a folder?
i have note 2 rooted using stock 4.4.2 (l900vpucne2)

Related

[Q] How to change file permissions without using root explorer?

Im new at this, just rooted my phone yesterday . Im trying to download the sprint navigation apk because, well, i like it. Ive read other posts and they all talk about using chmod and i honestly have no idea what that is. If you could tell me how to change system/app folder permissions to read write instead of just read so i can move the .apk in that folder thatd be great
Ignorance1 said:
Im new at this, just rooted my phone yesterday . Im trying to download the sprint navigation apk because, well, i like it. Ive read other posts and they all talk about using chmod and i honestly have no idea what that is. If you could tell me how to change system/app folder permissions to read write instead of just read so i can move the .apk in that folder thatd be great
Click to expand...
Click to collapse
Download ES File Explorer from the market. Go into settings and root options. Check the Root Explorer box, the HIAPK will already be checked. Then check mount file system. When you are all done, before exiting go back and uncheck mount and root, or you may have trouble running it a second time reading the sd card. Not all have this problem.
You can also just install the Sprint Nav apk conventionally to data. It doesn't have to be in system/app.
Thanks Kenny...worked perfectly. Used it to remove the camera shutter file in system/media/audio/ui so the camera wouldn't make noise when taking pics. It was an r only file.

How do I get the CRT sleep animation?

I am at lost on how to put the crt tv animation for when i turn my phone off into sleep mode
Flash the file in this thread with CWM.
If you don't have cwm or want to do it manually extract the libsurfaceflinger.so from the zip (its in the system/lib folder).
Using a root explorer, copy this file to system on your phone, set permissions to rw-r--r-- and then move this file to system/lib, replacing the original file when asked. It may be a good idea to copy the original file as a backup before trying any of this.
julianpaul said:
Flash the file in this thread with CWM.
If you don't have cwm or want to do it manually extract the libsurfaceflinger.so from the zip (its in the system/lib folder).
Using a root explorer, copy this file to system on your phone, set permissions to rw-r--r-- and then move this file to system/lib, replacing the original file when asked. It may be a good idea to copy the original file as a backup before trying any of this.
Click to expand...
Click to collapse
i did this to my r800x which is 2.3.3, and its in a boot loop now. Is there a different version for 2.3.3? Or should that one work for every version?
I'm not sure, but i think it may not work on lower than 2.3.4. Also no idea about r800x support. Try posting on that thread itself, you may get more replies than here.
Can someone please upload a stock libsurfaceflinger.so file from their 2.3.3 phone?

[Q] help to wright a script

hi im trying to make a script that i can flash to move 3 audio file from my sd card
to my ringtones folder in the system and delete all the ringtones that are already in there
the files are located in
sd/tones/alarms/01 break ya neck.mp3
sd/tones/notifications/vampier_2002.mp3
sd/tones/ringtones/wild international ringtone.mp3
any help is greatly appreciated and thanks in advance
cruse2382 said:
hi im trying to make a script that i can flash to move 3 audio file from my sd card
to my ringtones folder in the system and delete all the ringtones that are already in there
the files are located in
sd/tones/alarms/01 break ya neck.mp3
sd/tones/notifications/vampier_2002.mp3
sd/tones/ringtones/wild international ringtone.mp3
any help is greatly appreciated and thanks in advance
Click to expand...
Click to collapse
Correct me if i'm wrong but all you want to do is move 3 audio files to system folder? well, you need root access for that and once you gain root access, you can install root explorer or some sort of explorer through which you can copy your 3 audio files and paste them into the system folder. Look here if you want to root your phone.
Hope this helped!
shad0wboss said:
Correct me if i'm wrong but all you want to do is move 3 audio files to system folder? well, you need root access for that and once you gain root access, you can install root explorer or some sort of explorer through which you can copy your 3 audio files and paste them into the system folder. Look here if you want to root your phone.
Hope this helped!
Click to expand...
Click to collapse
thanks for the reply but thats the way i do it already but i flash a new rom every few days so it gets a bit annoying having to move them all the time then set permissions so was hoping to make a script that i could just flash after flashing a new rom
bump
i've made flashable zips for just this very reason. i was flashing too many roms and i wanted to keep the same sounds. i flash them straight after flashing a new rom.
what do you want to replace? ringtones only? or ringtones, notifications and alarms?
let me know and i can send you a zip
this zip is to replace all of the sound files in 'alarms', 'notifications', and 'ringtones'
navigate through the zip and drop your sound files in to the appropriate folders, then delete the .txt file that's also in there. don't delete the .txt file first or the directory will disappear
then all you have to do is flash the zip in recovery
whenever i update my rom i stay in recovery and flash this zip straight after, it makes life a lot simpler!
so just to repeat: this will delete ALL of the alarms, ringtones and notifications currently on your phone and replace them with whatever you put in to the corresponding folders in this zip
just as an extra tip: if you don't want to delete everything, you can change this behaviour by modifying 'updater-script' with an appropriate text editor like notepad++. get rid of the lines "delete_recursive". e.g. if you want to keep your alarms, delete the line delete_recursive("/system/media/audio/alarms");
maatsby said:
this zip is to replace all of the sound files in 'alarms', 'notifications', and 'ringtones'
navigate through the zip and drop your sound files in to the appropriate folders, then delete the .txt file that's also in there. don't delete the .txt file first or the directory will disappear
then all you have to do is flash the zip in recovery
whenever i update my rom i stay in recovery and flash this zip straight after, it makes life a lot simpler!
so just to repeat: this will delete ALL of the alarms, ringtones and notifications currently on your phone and replace them with whatever you put in to the corresponding folders in this zip
just as an extra tip: if you don't want to delete everything, you can change this behaviour by modifying 'updater-script' with an appropriate text editor like notepad++. get rid of the lines "delete_recursive". e.g. if you want to keep your alarms, delete the line delete_recursive("/system/media/audio/alarms");
Click to expand...
Click to collapse
thanks i owe you one will give it a try later and let you know how it goes
maatsby said:
this zip is to replace all of the sound files in 'alarms', 'notifications', and 'ringtones'
navigate through the zip and drop your sound files in to the appropriate folders, then delete the .txt file that's also in there. don't delete the .txt file first or the directory will disappear
then all you have to do is flash the zip in recovery
whenever i update my rom i stay in recovery and flash this zip straight after, it makes life a lot simpler!
so just to repeat: this will delete ALL of the alarms, ringtones and notifications currently on your phone and replace them with whatever you put in to the corresponding folders in this zip
just as an extra tip: if you don't want to delete everything, you can change this behaviour by modifying 'updater-script' with an appropriate text editor like notepad++. get rid of the lines "delete_recursive". e.g. if you want to keep your alarms, delete the line delete_recursive("/system/media/audio/alarms");
Click to expand...
Click to collapse
works perfect thanks

Help with swapping int mem and SD card

New to all this so proceeding slow and cautiously. Recently rooted my Acer A100 with ota ICS installed. When trying to swap SD card and internal memory using Crossix directions I ran into an error msg that I haven't seen posted by anyone. The only difference I can find is his directions recommend using Root Explorer and I am currently using Root Browser Lite. Anyway when I go to rename install-recovery.sh to .bak it says Root Browser Lite is granted Superuser access but the operation fails. I looked at the Permissions for the file and they are rwxr--r-- I tried to change the Permissions to rwxrwxrwx and got an error msg that said "Changing permissions was not successful. Please note that some file systems do not allow permission changes." Would using Root Explorer change anything? Any help or suggestions would be appreciated.
Sounds like a root issue, try rebooting, opening superuser first then try.... unless you already put the file there and permissions aren't correct, that will brick you! If you already did force close super user. Remember if all else fails you can use Adb.
sent from your future.
apsiape said:
New to all this so proceeding slow and cautiously. Recently rooted my Acer A100 with ota ICS installed. When trying to swap SD card and internal memory using Crossix directions I ran into an error msg that I haven't seen posted by anyone. The only difference I can find is his directions recommend using Root Explorer and I am currently using Root Browser Lite. Anyway when I go to rename install-recovery.sh to .bak it says Root Browser Lite is granted Superuser access but the operation fails. I looked at the Permissions for the file and they are rwxr--r-- I tried to change the Permissions to rwxrwxrwx and got an error msg that said "Changing permissions was not successful. Please note that some file systems do not allow permission changes." Would using Root Explorer change anything? Any help or suggestions would be appreciated.
Click to expand...
Click to collapse
Check mount r/w while in /system.
Tapatalked from my Galaxy S II.
Thanks
Thanks. That did it. Was trying to change it in the etc folder but not under the system parent folder. You guys are great!!!
apsiape said:
Thanks. That did it. Was trying to change it in the etc folder but not under the system parent folder. You guys are great!!!
Click to expand...
Click to collapse
Its because /system is a partition, not a directory, so you have to mount the partition r/w to get it in the folders and files on it.
Tapatalked from my Galaxy S II.

[Q] Unable to Edit System Files Using any File Explorer

So this is a problem I've had basically since day one with my Nexus 7. No matter what file explorer I use, I can not edit anything in the root directories. Unable to save build.prop edits for example. I am assuming it is a permission thing but I have no idea exactly what I am doing wrong or how to fix it. Any help is appreciated.
Sent from my Nexus 7 using Tapatalk
Are you rooted? If you are - check to see if you are in read only mode in your file manager(s)
Besides requiring root, apps like ES File Explorer need to have root access turned on. Root Explorer needs a directory mounted as R/W.
Best practice, anyway, is to copy a file (especially build.prop) to a regular directory under /sdcard, edit it there, rename the original, then copy back the modified file.
I managed to figure it out. Was using cm file explorer and root browser. Got root browser working by changing permissions on the system folder.
I always copy files into the internal storage before editing. Thanks for the replies.
Sent from my Nexus 7 using Tapatalk

Categories

Resources