With Cyanogen ROMs the ringtones are downloaded seperately and stored on the SD card.
This means that the phone isn't sure if these are ringtones or music and they end up playing in my ear when I'm shuffling songs, etc.
Is there a folder I could create that the media/music players will ignore so that I can store the ringtones there?
just push the files to your phone and that way you don't have to have a folder in your sd for ringtones.
adb shell
# mount -w /system -o remount
# exit
adb push ringtones /system/media/audio/ringtones
Perfect, thanks
Related
I'm trying to copy some files from my nexus one to my sdcard.
I am doing ./adb-mac remount
then going in there and cp -r folder to /sdcard/folder
It shows that it's copied and i can see the contents of that folder in the terminal.
When i mount the sdcard on my computer and open it up with finder, the folder is empty.
Any ideas? Thanks.
Hi there!
I have myself a rooted Tilapia Nexus 7 with me, and I'm trying to watch videos off of an ext4 partition from my external hdd. To mount, I use Stickmount to mount the drive, ES File Explorer to browse the drive for the video I wanna watch, and MX Player to watch the video. It works when I watch videos from its FAT32 partition, but ES File Explorer reports that my ext4 partition is empty.
Since the automated way wouldn't work, I checked out the directory in the terminal emulator and found out it was empty. When that failed, I tried out mounting manually via terminal emulator. I used
Code:
mount
to figure out where the FAT32 partition was being mounted, then I tried manually mounting with:
Code:
# mount -t ext4 /dev/block/sda2 /data/media/0/usbStorage/sda2
This worked in the terminal, and
Code:
ls -a
listed the files in the ext4 partition, but ES File Explorer still wouldn't see the files. I then tried
Code:
# chmod -R 777 /data/media/0/usbStorage/sda2
# chown media_rw /data/media/0/usbStorage/sda2
You'll notice the 'chown' doesn't use '-R', and that's because the native 'chown' on android doesn't support it (surprisingly). I used 'chown' on the folder (sda2) and one folder inside it to see if the problem was ownership. Apparently it wasn't, cause they still didn't appear.
When this didn't work, I made an account here, and posted this question, so here I am.
So, any suggestions?
UPDATE 1:
I recently installed busybox to see if that'd fix it. I used the 'normal' install setting. Long story short, it didn't, and note I have a whole bunch of what I perceive to be useless symlinks, which I suspect over wrote the original binaries. Luckily, not all the binaries were overwritten as some don't work as they should; chown, for example, doesn't work with the android groups and users. I can't uninstall it cause apparently something goes wrong.
UPDATE 2:
StickMount still won't mount my ext4 partition correctly and ES File Explorer still won't detect my files, so I use a terminal, get superuser permissions with
Code:
su
, mount the partition with the above command, and use
Code:
cp
to copy the videos I wanna watch into the 'Movies' folder. It takes some time, and I worry about wearing out the internal storage's sectors, but I suppose it's less costly on the battery life.
Hi,
I'm trying to mount my Google Music files to /sdcard so they would be accessible to other players.
I have made a tasker profile to launch on boot, and what it does is run a command:
Code:
mount -o bind /sdcard/Music /data/data/com.google.android.music/files
I don't get any error or anything, but it just doesn't work. Music keeps downloading to the original location and does not even mirror on the sdcard folder. What am I doing wrong?
* Clearly I've wiped Google Music's data and rebooted before trying to download music.
Thanks in advance!
Hi,
I updated my nexus 7 to from PA 4.2 to PA 4.3, before this I did multiple backups using TWRP, TiB and copied the entire contents of my SD card to my computer using adb (adb push and adb pull) on OS X (android file transfer does not work properly and windows kept on not responding, Linux had no space and no write to my OS X partitions or Windows Drive.
After the update I restored apps from TiB, and copied the data folders for some apps (apex launcher backups etc.), my TWRP folder and TiB folder back to my SD card. (using adb again) Then, with adb, I copied some films to a Media folder on the root of my sdcard, I created the folder with adb but now, with any file manager I can't write to the contents of that folder anymore, or change anything. Then I tried to make another, updated TiB backup, but it said insufficient storage space, even for just one app with well over 5GB of free space. Then I tried to do a TWRP backup using offline nandroid backup, however the backup completed in 0 seconds and made no new file or folder in the TWRP folder on sdcard. I then tried in recovery, the backup completed, but upon further inspection no new files or folders were made.
I think the problem is that any folders I have made through adb have no write permissions, even though mounted rw(x). And I cannot change the permissions. ( in Linux would I be able to cd to the directories on my n7 then sudo chmod 755 them?), I already tried this with mobile terminal however on my N7 and had no result. What is the solution for this problem?, should I wipe sdcard and make folders using a file explorer, then use adb to copy files into the premade folders, or just find a way to use Ubuntu to copy the files?
Thanks!
Sent from my Nexus 7
I have fixed it my self by doing this:
I was originally using the link from solid explorer to view and edit my sdcard files, which uses the /sdcard directory on root. For some reason I could not edit files going through /sdcard made from adb on OS X, however, when navigating internal storage through /data/media/0/ I had full permissions and could delete the folders made through adb, making new TiBu Backups and TWRP backups.
I tried using shell through adb to change permissions and remove the directories using:
Code:
adb shell
su chmod 777 /sdcard/(TWRP/TiBu etc...)
and
Code:
adb shell
rm -rf /sdcard/(TWRP/TiBu etc...)
but had permission denied errors.
My SD card is really cluttered and I'd like to clean it up.
.estrongs
.face
.SPenSDK30
.Spensound
Android
backups
CameraZOOM
clockworkmod
data
data-app
DCIM
doubleTwist
Download
KingsoftOffice
media
Movies
Music
Nandroid_Manager
Nearby
onandroid
pers
Photo Grid
Pictures
Playlists
Ringtones
roidapp
Samsung
tapatalk4
Tasker
TempImages
TitaniumBackup
WhatsApp
Yahoo!
.aid.bak
.bugsense
.enref
.eu.chainfire.mobileodin.flashkernel.n9005.v5
.profig.os
busybox-stericson
log.txt
toolbox-stericson
Xposed-Disabler-Recovery.zip
Particularly, I'm looking at the files, not folders. The folders are pretty self-explanatory, but what about files like .aid.bak and .enref? Can they be safely deleted?
What you can delete
I was googling what files I could delete, couldn't find any satisfactory answers, so I took the risk for some folders through trial and error.
This is what I know about some of the files:
SAFE TO DELETE
.face
.SPenSDK30
DCIM (in here are pictures you took with the phone's camera)
Download (you will lose the things you have previously downloaded)
media (you will lose files you have in here)
Movies (you will lose files)
Pictures (you will lose files)
Playlists (you will lose the playlists you have in your music player)
Music (you will lose files)
TempImages
FOLDERS CREATED BY APPS: So when you delete these files, it may affect the performance of the respective applications.
CameraZOOM
clockworkmod
doubleTwist
KingsoftOffice
Nandroid_Manager
Photo Grid
roidapp
tapatalk4
Tasker
TitaniumBackup
WhatsApp
Yahoo!
Xposed-Disabler-Recovery.zip
I'm no expert, but hope this helps :laugh:
fterh said:
My SD card is really cluttered and I'd like to clean it up.
.estrongs
.face
.SPenSDK30
.Spensound
Android
backups
CameraZOOM
clockworkmod
data
data-app
DCIM
doubleTwist
Download
KingsoftOffice
media
Movies
Music
Nandroid_Manager
Nearby
onandroid
pers
Photo Grid
Pictures
Playlists
Ringtones
roidapp
Samsung
tapatalk4
Tasker
TempImages
TitaniumBackup
WhatsApp
Yahoo!
.aid.bak
.bugsense
.enref
.eu.chainfire.mobileodin.flashkernel.n9005.v5
.profig.os
busybox-stericson
log.txt
toolbox-stericson
Xposed-Disabler-Recovery.zip
Particularly, I'm looking at the files, not folders. The folders are pretty self-explanatory, but what about files like .aid.bak and .enref? Can they be safely deleted?
Click to expand...
Click to collapse
Afaik with my old note 1 I sometimes format the internal storage when it became cluttered. Any file or folder needed by some apps will be regenerated after reboot