Hello everyone.
In adb, Is it possible to transfer a .ogg file from "c:\test.ogg" in PC, to "system/media/ui" and replace the original one without rooting the device ?
I have installed minimal adb + fastboot in Win10.
I want to replace a ui sound file with a .ogg file.
If it is not possible, I heard that there is "file manager" in TWRP recovery which can access root storage, so is it possible to copy and replace the .ogg using TWRP?
Thanks a lot in advance.
Related
I was messing around with root explorer and noticed that i was able to delete my boot animation with it when i was mounted as R/W so i thought i would try to copy one and it also works... so no need to push with adb shell.. here are the steps
1. take the boot animation make sure it is named bootanimation.zip and copy it to your SD card
2. then open root explore and mount R/W and then navigate to the file and press on file till the menu comes up and select copy
3. then navigate to data/local and paste the file in the local directory
and you are done, this can be done with the android_audio.mp3 file as well just paste it to the same place.
just thought this would make it easier for people instead of using adb shell
credit goes to yojoe600
Exactly what I was looking for, I'll give it a try, thanks.
The Animation worked but the Audio didn't, do you also need to put the Audio in a zip file?
I didn't think that you needed root to access /data/
So in that case, would need Root Explorer? Wouldn't any file manager do?
Yeah, you dont need root access at all for this.
just adb push bootanimation.zip /data/local/
palomosan said:
Exactly what I was looking for, I'll give it a try, thanks.
The Animation worked but the Audio didn't, do you also need to put the Audio in a zip file?
Click to expand...
Click to collapse
need to look at the text file in your bootanimations.zip and add the words android to the front of the text in that file
I tried searching for the answer, but I got lots of how to use ADB, What benefit is there to using the push command as opposed to using a file explorer if I'm doing something on the SD card? I get if you're dealing in system files, (AFAIK) you can't view those with a file browser on the computer, but if you are transferring an "update.zip" file, what benefits does adb push have?
Nothing wrong with just using a file explorer. However, adb push could be your only option if something screwed up and your screen stays black or something.
I'm trying to replace the Effect_Tick.ogg file in the system/media/audio/ui directory but I'm not entirely sure how. Is it impossible to do through the tablet itself (using the file file manager or root explorer)? When I try I'm getting a permission warning, but I thought the entire point of rooting was to get root access.
singen said:
I'm trying to replace the Effect_Tick.ogg file in the system/media/audio/ui directory but I'm not entirely sure how. Is it impossible to do through the tablet itself (using the file file manager or root explorer)? When I try I'm getting a permission warning, but I thought the entire point of rooting was to get root access.
Click to expand...
Click to collapse
In root manager, and on the top right, and press mount r/w then replace it.
Sent from my Transformer TF101 using XDA Premium App
I find the easiest way to replace files on the /system partition is with adb.
Just type -
adb remount
adb push Effect_Tick.ogg /system/media/audio/ui/Effect_Tick.ogg
This is assuming that you are starting from the folder where your replacement Effect_Tick.ogg is located and that it is named the same think.
sassafras
obviously thats only useful if you have a computer and usb cable
brando56894 said:
obviously thats only useful if you have a computer and usb cable
Click to expand...
Click to collapse
True enough. But if I'm crafty enough to make my own .ogg files, I'm probably not doing it on a tablet.
sassafras
I downloaded a music file (using U torrent for android) to the Internal Storage/download folder. I tried to delete it but it is grayed out and unable to do so. how can I delete that folder and it's contents? Thanks in advance.
Might the file still be "in use" by the uTorrent application? Try fully stopping the torrent file and deleting it from within the app if it has the option.
Ran into a similar problem. If the above doesn't work you will need to delete the file without booting into the OS.
Options:
1. Reboot and try to delete the folder again.
2. Custom recovery with file manager and delete from there.
3. Boot into bootloader and use adb to delete the file.
All of these options can be learned courtesy of Google.
Sent from my Nexus 5
Hello, I want to set a custom boot animation, but do not see bootanimation.zip in /system/media, instead I found it in /product/media, can i just place my new bootanimation.zip here and change the permissions? Or is there more I need to do?
Thanks, Ethan.
(PS. Running OP9 rooted with magisk.)
Ethanadams642 said:
Hello, I want to set a custom boot animation, but do not see bootanimation.zip in /system/media, instead I found it in /product/media, can i just place my new bootanimation.zip here and change the permissions? Or is there more I need to do?
Thanks, Ethan.
(PS. Running OP9 rooted with magisk.)
Click to expand...
Click to collapse
Do you have root?
If so, backup the bootanimation.zip and shutdownanimation.zip, either manually with a root explorer capable file manager, or using adb:
Code:
adb devices
adb pull /System/product/media/bootanimation.zip /Path/To?Save/bootanimation.zip
adb pull /System/product/media/shutdownanimation.zip /Path/To/Save/shutdownanimation.zip
Then you can replace the original files with the animations you'd like, I'm sure a quick search of the forums will yield plenty of results. Once you have the replacements, be sure they are named bootanimation.zip and shutdownanimation.zip respectively, and either copy and replace with a root explorer capable file manager or using adb:
Apache config:
adb devices
adb push /Path/To/bootanimation.zip /System/product/media/bootanimation.zip
adb push /Path/To/shutdownanimation.zip /System/product/media/bootanimation.zip
Good luck!
IJoxer said:
Do you have root?
If so, backup the bootanimation.zip and shutdownanimation.zip, either manually with a root explorer capable file manager, or using adb:
Code:
adb devices
adb pull /System/product/media/bootanimation.zip /Path/To?Save/bootanimation.zip
adb pull /System/product/media/shutdownanimation.zip /Path/To/Save/shutdownanimation.zip
Then you can replace the original files with the animations you'd like, I'm sure a quick search of the forums will yield plenty of results. Once you have the replacements, be sure they are named bootanimation.zip and shutdownanimation.zip respectively, and either copy and replace with a root explorer capable file manager or using adb:
Apache config:
adb devices
adb push /Path/To/bootanimation.zip /System/product/media/bootanimation.zip
adb push /Path/To/shutdownanimation.zip /System/product/media/bootanimation.zip
Good luck!
Click to expand...
Click to collapse
I have root, so I’ll just backup and replace the files, thank you for your help!
Ethanadams642 said:
I have root, so I’ll just backup and replace the files, thank you for your help!
Click to expand...
Click to collapse
Sure thing!