Media Folder - Huawei Ascend P6, Mate

Hello. I downloaded samsung sounds and i overwritten my exciting media folder located in /system. It worked good but i didn't like it so i deleted whole folder. I made a backup of my Media folder on my sdcard but when I put it back and reboot i don't find any media on my device. How can I fix it? And if someone could upload me that folder and tell permisions.

you just need to correct the permissions for the folder .
download root explorer and put the permissions on 644 for the files and 755 for the folders inside it

Related

Locked folder

Hi,
I have a folder that I cannot write to at all, or delete. I've tried via ADB, as well as via Apps such as rootexplorer and ES.
Does anyone have an idea how to remove the folder? Seems to be permissions based, but cannot change the permissions either.
Hi, what's the name and the path of the folder?
\Pictures\Modaco
I think it was an earlier release of an ICS rom that caused it to become 'locked' - but I've wiped it since then a few times.
ssh in to console on phone
cd sdcard
cd Pictures
ll
What is the permission set to on the folder?
(-rw-rw-r-- root sdcard_rw)
GldRush98 said:
ssh in to console on phone
cd sdcard
cd Pictures
ll
What is the permission set to on the folder?
(-rw-rw-r-- root sdcard_rw)
Click to expand...
Click to collapse
rwx rwx r-x
I have this same issue but mine is the Zedge folder, I haven't used Zedge in months. It just will not delete
Maybe try cutting and pasting everything that is in the parent folder of the one you are trying to delete. Make sure to put them somewhere outside that path, and then try to delete the parent. If it works just recreate a new parent folder.
I know this doesn't explain why you can't delete it. But it might be a work around. I had problems like this in the past on other device/OSes, and that's what worked for me.
Go into /data/media and try and delete it from there...

google now ics

i just installed google now on my hox with venom and faux kernel but its a bit slow any one know how i can improve it?
i used this guide
Originally Posted by homeslice976 View Post
I broke the previous instructions down a little with the few added things I had to so to make it work..maybe a little less confusing for some..maybe not... Thanks goes to gachana for the original instructions and to all the others involved in this that are wayyy smarter than me!
•Download LennoxPackage.zip from http://www.mediafire.com/?8lv1h2879q925x1 from post # 2370.
• Extract all 3 folders from LennoxPackage.zip to a new folder on your computer
•Then download and replace the Velvet file in the app folder of your new folder with Velvet.apk from post # 2425 link http://www.mediafire.com/?h6itqk1mrr1zjjy
• Move the folder you've created (with 3 subfolders) to your SD Card
• On your phone, in /system/app/, rename GoogleQuickSearchBox.apk to GoogleQuickSearchBox.apk.bak using Root Browser (or something similar)
•In the folder you placed on your SD - you'll need to move everything from the /app/ folder to /system/app/, and set permissions to RW/R/R for each of the 3 .apks
•copy the files from the lib folder on your SD, and paste to system/lib (note, a couple of these already exist. Before copying these files go through /system/lib/ and rename any existing files to include .bak, then copy/paste new files. If you don't do this it will paste them with '- copy' as part of the file name). Change permissions of these New files to rw/r/r
• rename the existing "config" folder in /system/usr/srec/ on your phone to "config.bak", then just paste "config" and "en-US" from the srec folder on your SD to /system/usr/srec/. I also changed permissions on config and en-US to RWX/RX/RX
•Reboot and enjoy.
which i got from here
http://androidforums.com/android-ap...y-working-google-now-ics-root-users-only.html

SGS3 Media, Alarm and Notifications .ogg files

I have root and copied the relevant files in /sys/media/audio/notifications and with system write permissions on root explorer...however unable to play the files or select them for the phone...please help...thanks
RESOLVED ON OWN...can make the same media directory structure on the SDCARD and reboot and nexus recognizes.

[Q] How do I fix file permissions on SD card?

OK, I finally installed PA 2.99 beta6 which I've wanted to do for a while. First to preserve the file structure and not have /0 folders, I copied all my old SD card files to /data/media as told in the guide linked below. I'm thinking my issue started when I didn't delete the /0 folder after installing the stock 4.2.1, but now all my old SD card files have incorrect permissions for me to access them. Is there a quick and easy way to fix it, preferably from the phone? I'm gonna wipe and reinstall everything tomorrow if necessary, but I can't do it until tomorrow morning. I'm not even sure what permissions I should set to make the files accessible again. I think I may have screwed up by not setting permissions when copying files using the toolkit also. I'm still pretty noobish and I thought that was only necessary for system files. I thought the correct permissions would follow everything else. I did find that I can take a song that's in the /data/media/music file, which won't play, move it to /sdcard/music, and it plays. I tried changing permissions and owners on the non-working files to match the working files, but no luck.
I really appreciate any advice or help anybody has.
http://forum.xda-developers.com/showthread.php?t=1999214
Ok, so you have moved all your content, in the new media folder, but I read you can't read any media from that folder. I guess that it s completely normal, as I would have only put backups to be used in this precise folder. Correct me anybody if I'm wrong, but music should be pasted in the new music folder, and so on and so on, for each media. In the first place, those files were not all put in the data/media folder right ?
So, why not try and use a file explorer, and move the content in their respective appropriate new folder, and see how it works. And that done delete the initial folders. Hope it will work.
Aur3L said:
Ok, so you have moved all your content, in the new media folder, but I read you can't read any media from that folder. I guess that it s completely normal, as I would have only put backups to be used in this precise folder. Correct me anybody if I'm wrong, but music should be pasted in the new music folder, and so on and so on, for each media. In the first place, those files were not all put in the data/media folder right ?
So, why not try and use a file explorer, and move the content in their respective appropriate new folder, and see how it works. And that done delete the initial folders. Hope it will work.
Click to expand...
Click to collapse
According to the guide to keep the pre-4.2 file structure, with no /0 folders, you're supposed to ADB push all sd card files to the /data/media folder. Now I think what I screwed up on is I was supposed to delete any /0 folders but I misread the guide and didn't delete the folder. Now all of the data I pushed to the phone is in it's respective folders under data/media, such as Music and Downloads, but there is also a /data/media/0 folder with standard android folders. There is also /sdcard, with standard android folders. From my understanding, either data/media and /sdcard or /data/media/0 and /sdcard should show the same files, but neither does. If I make a change in one directory it doesn't show in the other directory. The weird part to me is that when I copy and paste a file from /data/media/Music (or any other directory there) to /sdcard, the file permissions and owners and groups of the file will change, and then I can access the file in the /sdcard directory. But if I try to apply the exact same permissions and owner and group to the file under /data/media it will still not give me access. On Root Explorer, looking at properties of a file in /data/media, the md5sum shows Access Denied, but works on /sdcard. I'm thinking it has something to do with the /data/media folder's permissions instead of the files/folders under it, but I'm kinda afraid to mess with it. When I get home in the morning I'm gonna try dumping EVERYTHING and start again, but I would love to be able to fix it first.
Will I see any problems if I just copy all the files from /data/media to /sdcard, where I'm sure I can use them? Also, why doesn't /data/media or /data/media/0 show the same files as /sdcard?
Thanks for any help!
02ranger said:
According to the guide to keep the pre-4.2 file structure, with no /0 folders, you're supposed to ADB push all sd card files to the /data/media folder. Now I think what I screwed up on is I was supposed to delete any /0 folders but I misread the guide and didn't delete the folder. Now all of the data I pushed to the phone is in it's respective folders under data/media, such as Music and Downloads, but there is also a /data/media/0 folder with standard android folders. There is also /sdcard, with standard android folders. From my understanding, either data/media and /sdcard or /data/media/0 and /sdcard should show the same files, but neither does. If I make a change in one directory it doesn't show in the other directory. The weird part to me is that when I copy and paste a file from /data/media/Music (or any other directory there) to /sdcard, the file permissions and owners and groups of the file will change, and then I can access the file in the /sdcard directory. But if I try to apply the exact same permissions and owner and group to the file under /data/media it will still not give me access. On Root Explorer, looking at properties of a file in /data/media, the md5sum shows Access Denied, but works on /sdcard. I'm thinking it has something to do with the /data/media folder's permissions instead of the files/folders under it, but I'm kinda afraid to mess with it. When I get home in the morning I'm gonna try dumping EVERYTHING and start again, but I would love to be able to fix it first.
Will I see any problems if I just copy all the files from /data/media to /sdcard, where I'm sure I can use them? Also, why doesn't /data/media or /data/media/0 show the same files as /sdcard?
Thanks for any help!
Click to expand...
Click to collapse
Again, as I said previously move your music photos apks downloads in the sdcard structure, then erase the /0 folder, you would have found your stuff, where it's ought to be, legible by their respective programs. So move your photos /data/media to your actual /sdcard/Dcim/ folder, and so on and so forth for each content, problem should be solved. It's really simple.
Aur3L said:
Again, as I said previously move your music photos apks downloads in the sdcard structure, then erase the /0 folder, you would have found your stuff, where it's ought to be, legible by their respective programs. So move your photos /data/media to your actual /sdcard/Dcim/ folder, and so on and so forth for each content, problem should be solved. It's really simple.
Click to expand...
Click to collapse
I understand that and that is what I plan to do to get through tonight. My question is, why is this even a problem? Is there something that I could do to not have to move the files? Not out of laziness, more out of curiosity. I still plan to dump everything because with all the crap I've tried to fix the permission issues there's no telling what I may have screwed up, but until I get to start over I'm planning to just copy everything to /sdcard. Now I just would like to know why it was an issue. Why can't I access files in the /data/media folder, or any other folder on my phone for that matter, when I'm rooted and using a root explorer? I have never seen this issue before, regardless of phone or ROM. Is this due to the new 4.2 multiuser file structure, or something I did? I appreciate your help and I apologize if my intention wasn't clear from my last post, I am at work and typing in a hurry. I started the thread looking for an easy fix and you've given me that, now I'm mostly just curious as to why it happened to begin with.
Thanks again!
Edit: I just tried copying some alarms into the /sdcard/Alarms/ and they won't play either, but Music still does. I actually got a "Not Enough Free Space" message when trying to copy them, with 5+ GBs free on the sdcard and the files were only about 130kb. I'm just going to have to dump everything and just copy what I really have to have to the phone. If you have any other ideas I'm open to hear them, but I think its FUBARed at this point. Thanks though.
Well, if you use a root explorer, such as ES file, you have to move your alarms/rigtones notifications in telephone/system/media. Once put in here, you will have to correct the permissions to rw rr , and reboot your phone. As to why it happens like this, I guess it is related to the new structure, and also because you cannot play everything from everywhere in your device, some folders are system folders, and not every file is legible from that location. My guess in your situation is that you have twice the same content on your phone (hence the Not enough free space message), so just paste everything you need in the appropriate volume, and erase the one you have messed up with.
Might be a suggestion, but if you have a nandroid backup, just look at how and where your files are organised.
Now, however, if you have a hard time fixing this up, well you might as well save your stuff on your computer, flash a stock image, root it, install TWRP, your favorite Rom, transfer your files back from your computer, and you will have a fresh and probably better running phone.
Hope it will help you, and if you have an insomnia, just take that opportunity to browse your phone structure, so that you know where each file is located. Good luck with it .
That last part is what I did. I just wiped everything, reinstalled PA 2.99B6 and ADB pushed to /sdcard instead of /data/media. It all works perfectly now. I'm not 100% sure what the issue was before, but I still think it was the new file structure. If I go at a music file through /data/media it still won't play but will from /sdcard, which is the only place I put the files. I guess its just the way the new file structure for multi-user works. I appreciate your help. I think I'll keep the /0 folder too. Trying to get rid of it is part if why I did things that caused problems, and its gonna be part of the future of android so we might as well get used to it.
Thanks again!

to be deleted

to be deleted
Nice
*You have to put it to /system/media and the file must be renamed to bootanimation.zip if not.
needed that

Categories

Resources