As the title implies, trying to move files into a folder that already has some of the files you are moving provides the options to skip or overwrite existing files. Upon choosing skip existing files, nothing is copied. However, overwriting all the files seems to allow for everything to be copied. I've noticied that using Windows Explorer on the Droid Turbo in debug mode is a little wonky, but I can still move files. I am tired of having to overwrite my entire music library to copy some new songs from my computer. Anyone have any ideas?
Related
So I guess my question is, "Can anyone help me?"
I used custom ringtones, and I don't like using them from the SD card, it creates lag, takes longer to load the ringtone, etc, so I keep them on my /system/media folder. Normally to accomplish this, when I install a new ROM update, I edit it and resign it, with my media folder, rather than the ROM's.
My predicament however, is that I don't know how to change the file structure for the update, I know there are files in the update that say, this and this folder exist, where this goes, etc. This is what I don't know how to do.
All I need the update to do is contain the media (/system/media) folder, so I can just add all my ringtones and notifications to this update, and flash it after I flash whatever update/rom, etc, instead of always having to be at my computer to create a custom version of every rom I use.
Could anyone please care to help? I'd be ever grateful.
You can use the attached file.
Just edit the files in the ROM
zip it
put the zipped ROM in the same folder as the attached files
run sign.bat
FLASH
ID# said:
You can use the attached file.
Just edit the files in the ROM
zip it
put the zipped ROM in the same folder as the attached files
run sign.bat
FLASH
Click to expand...
Click to collapse
is this just to be used for signing? i already know how to sign files. i need someone to edit w/e files are inside the rom that tell its structure (this folder exists, and gets flashed here, this folder goes here, etc). i cant just take a cm rom and delete everything i dont need then flash it. it will get errors in recovery.
Make a folder called media in the root of your update, and create the proper descending folders in media (i.e. audio/ringtones, etc). Place your notifications/ringtones/alarms etc in the proper folders. (I am sure you understand this already)
Open your update-script file for the update and add the line
Code:
copy_dir PACKAGE:media SYSTEM:media
That should do it.
Note that if in the update-script you already have an entire system folder being copied over via
Code:
copy_dir PACKAGE:system SYSTEM:
then you need only add the folder media to the folder /system in the update.
cloverdale said:
Make a folder called media in the root of your update, and create the proper descending folders in media (i.e. audio/ringtones, etc). Place your notifications/ringtones/alarms etc in the proper folders. (I am sure you understand this already)
Open your update-script file for the update and add the line
Code:
copy_dir PACKAGE:media SYSTEM:media
That should do it.
Note that if in the update-script you already have an entire system folder being copied over via
Code:
copy_dir PACKAGE:system SYSTEM:
then you need only add the folder media to the folder /system in the update.
Click to expand...
Click to collapse
Thanks man, but my buddy actually just helped me out with this, but yeah thats exactly what I needed to know. Thanks a ton mate
I might be missing something really obvious here, but how are you supposed to create the .nomedia file so that the music player won't see files from system folders? I have a whole bunch of mp3's appearing in my music player because of Real Football 2010. If I try and create the file on Windows 7, it says "You must type a filename". Any help?
navmanyeah said:
I might be missing something really obvious here, but how are you supposed to create the .nomedia file so that the music player won't see files from system folders? I have a whole bunch of mp3's appearing in my music player because of Real Football 2010. If I try and create the file on Windows 7, it says "You must type a filename". Any help?
Click to expand...
Click to collapse
Open notepad, rename file ".nomedia" and change the file type from txt to "all files". Try again, report back.
rename it on the phone
Easier way is to create a folder directly inside the one that has the music files (did this on letsgolf it has tons of sounds) just tap create folder and name it .nomedia works for me.
Creating .nomedia folder in windows 7 solution
1. Goto command prompt : Run->cmd
2. Goto your flash drive e.g. F:
3. Goto you desire folder e.g. CD gameloft
4. type "copy con .nomedia" and press enter
5. press F6 and press enter.
This will create the .nomedia file in windows.
Old thread but here is a no Computer needed option:
Download ES File explorer (its free)
Install and open it
Navigate to the folder you want to exclude (remember it propagates down e.g. if you place it in the root of SD then the whole of SD is excluded including all the sub-folders)
Press Menu and select "new"
Select "File"
Call it .nomedia
Rescan your memory Cards
Sorted no PC required
thanks all above
fluke said:
Easier way is to create a folder directly inside the one that has the music files (did this on letsgolf it has tons of sounds) just tap create folder and name it .nomedia works for me.
Click to expand...
Click to collapse
works perfectly for me GSII
navmanyeah said:
I might be missing something really obvious here, but how are you supposed to create the .nomedia file so that the music player won't see files from system folders? I have a whole bunch of mp3's appearing in my music player because of Real Football 2010. If I try and create the file on Windows 7, it says "You must type a filename". Any help?
Click to expand...
Click to collapse
The easiest way. Download and use from market the studio kuma .nomedia manager.
Sent from my GT-I9000
Does creating a .nomedia file in a folder also stops it from scanning lower folders?
Ex.
\Mystuff
\Mystuff\lotsofstuff
\Mystuff\lotsofstuff\pics
Will putting it in \Mystuff stop it from scanning the lower folders?
androidmonkey said:
Does creating a .nomedia file in a folder also stops it from scanning lower folders?
Ex.
\Mystuff
\Mystuff\lotsofstuff
\Mystuff\lotsofstuff\pics
Will putting it in \Mystuff stop it from scanning the lower folders?
Click to expand...
Click to collapse
The following is a partial quote of the post that is the fourth slot up from yours:
t0ska said:
3. Navigate to the folder you want to exclude (remember it propagates down e.g. if you place it in the root of SD then the whole of SD is excluded including all the sub-folders)
Click to expand...
Click to collapse
I have created a ".nomedia" file but the pictures in that folder still shows up in the gallery.. Anyone have similar experience?
Using SE Xperia Arc.
Restart ur phone so that media scanner runs once...
Gallery excluder is another app from the market you can use, even to restart the media scan afterwards to apply the changes.
navmanyeah said:
I might be missing something really obvious here, but how are you supposed to create the .nomedia file so that the music player won't see files from system folders? I have a whole bunch of mp3's appearing in my music player because of Real Football 2010. If I try and create the file on Windows 7, it says "You must type a filename". Any help?
Click to expand...
Click to collapse
You can open notepad via Windows->notepad and ctrl+S to save it (with blank content), in the "File name" field, you type ".nomedia" and in the "save as Type" field, you chose "All files (*.*))"
Good luck!:good:
No need to create file or using an application
You don't need to find a way to create that file. Connect your mobile to pc by USB and browse in your sdcard. Enable show hidden or system files from your operating systems file explorer. Find a .nomedia file and copy it to the new location you want. This is more practical. Also if you have a root explorer on your Android, you don't even need a pc.
AW: How to create the ".nomedia" file....
Another way doing this (imo the best):
1. Open terminal emulator and navigate to the folder
2. Type: touch .nomedia
3. Done
Sent from my GT-I9000 using xda app-developers app
all the music files and images are not showing up
t0ska said:
Old thread but here is a no Computer needed option:
Download ES File explorer (its free)
Install and open it
Navigate to the folder you want to exclude (remember it propagates down e.g. if you place it in the root of SD then the whole of SD is excluded including all the sub-folders)
Press Menu and select "new"
Select "File"
Call it .nomedia
Rescan your memory Cards
Sorted no PC required
Click to expand...
Click to collapse
I misplaced .nomedia file into home dir. and then rebooted my device. Gallery or music player not showing anything. I removed .nomedia file and then I tried but it won't work..:crying:
daxdax89 said:
how do you delete file after?
Click to expand...
Click to collapse
You need to enable hidden files in Windows Explorer.
daxdax89 said:
Ok deleted it,now my player/album dont see media anymore.....
Click to expand...
Click to collapse
I'm confused. Are you saying it didn't see media before and after the file was in the directory? Did you restart?
So I've got a handful of audio files I need to copy to /system/media/audio/notifications and /system/media/audio/ringtones every time I flash a new ROM (even upgrade).
I do this since I often have my SD card mounted (car/desk/etc), and if I do, I get the terrible system beep ringtone/notification, since my N1 can't find the configured sound file.
How would I go about creating a flashable zip that would install those files to the correct location, rather than doing it manually each time?
I've made a similar flashable zip.
Here is what I did. Took a ROM zip file. Made a copy. Opened the *copy* up. Navigate to System. Delete all files/folders except for media.
Open up media folder. Delete all files/folders except for audio.
Open up audio folder. Delete all files/ folders except for ringtones and notifications.
Open up ringtones folder. Delete all files and add the ringtones you want.
Open up notifications folder. Delete all files and add the notifications you want.
Save the new zip file to the SD card and flash it.
And most importantly, NANDROID before you flash it.
BTW, you can also make a media/audio/notifications folder (and/or media/audio/ringtones) on the SD card. Then you can run then right from the card instead of loading them each time. Takes a little time for the new ringtones to show up in settings.
I followed a guide I read online that said to back up the game save folder from the /data/data directory.
I just installed a new ROM (Cyanogenmod) after running a stock ROM.
Now trying to copy that folder back to the directory isn't working. First of all, there is no second folder named 'data' within the data folder. I cannot create one either using a file explorer.. it says to use another name.
I've re-installed the game I'm trying to restore, and have found the directory where the game save is now being created. It's located in /storage/emulated/0/Android/data. However, I've tried deleting the folder that's created in there when I first run the game, and have also tried clearing app data, but no matter what, the game keeps loading a new game instead of the back up I made.
If I run the game, it'll start me at the beginning and say, I leave it at level 2 before deleting the folder and clearing the data and copying my back up folder over... it'll still load up level 2.
I can't figure this out!
I restore data to alot of my apps and games by transferring them between my devices "/android/data" and "/android/obb" folders.
With the pixel 5, it seems I can only read what's in these folders, not write. I've tried stock tile explorer as well as root file explorers and neither can write to these folders.
I even tried to move them from my PC over to the pixel 5, and as soon as a write is attempted to the folders the device "quits responding" until you quit the operation.
Any other way to drop files and or modify files in these folders? I have root.
I have modified some files by first copying them to storage, modify then copy back, using root explorer. You may have to change the attributes
AFAIK the only way to transfer data to android/data is through a computer. I just moved save file data for Soccer Manager 2021 there. Not rooted. Edit, just read your whole post (yeah I'm stupid lol) no idea why you couldn't do it, maybe try playing around with folder permissions?
You can't access files there from an explorer app on your own phone, but you can through windows. Weird.