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.
Related
I have hellfire phoenix v1.9 running on my g2x. I wanted to add a ringtone from my computer into the g2x.
I have installed the android platform driver and then when I connect, I see drives E and F, but cannot explore them.
I searched and found a suggestion to turn on usb storage--but I find no options on the hellfire phoenix v1.9 to do this.
Also, toggling the usb debugging mode does not change anything.
All I am trying to do is to find the native ringtone folder and add my ringtone which I made in a .ogg format.
Please help
The simplest way for you to do this is put the file on your SD card and using either root explorer or ES file manager. You'll want to mount system as writeable via the settings and go to System\media\audio\ringtones\
Note you don't have to make the .ogg files it will still work with MP3's except alarms for some reason. You will also need to reboot before it shows up in your list.
Sorry, but I cannot understand when you say,
--You'll want to mount system as writeable via the settings and go to System\media\audio\ringtones\---
Is there a way to move this .ogg or .mp3 file into the ringtones folder (which exists in System\media\audio\ringtones. I can see all the ringtones once I use file explorer.
Even if I copy the file into a external sd, since it is not as intuitive as cut/copy and paste into the folder--how is this done.
What I was hoping was to be able to open this folder thru the computer when connected thru USB and just drag and drop it into the folder of ringtones. If this is not possible assuming the ringtone I want moved is called vintage.ogg , can this be done with ADB commands? Please help
sksriniv said:
Sorry, but I cannot understand when you say,
--You'll want to mount system as writeable via the settings and go to System\media\audio\ringtones\---
Is there a way to move this .ogg or .mp3 file into the ringtones folder (which exists in System\media\audio\ringtones. I can see all the ringtones once I use file explorer.
Even if I copy the file into a external sd, since it is not as intuitive as cut/copy and paste into the folder--how is this done.
What I was hoping was to be able to open this folder thru the computer when connected thru USB and just drag and drop it into the folder of ringtones. If this is not possible assuming the ringtone I want moved is called vintage.ogg , can this be done with ADB commands? Please help
Click to expand...
Click to collapse
Normally it's read only, as in you can look but you can't touch. Writable means you write to it, you can alter or otherwise put information/files there.
And, yes it's as simple as copy and paste, unless you don't know what you're doing in the first place.
Using ES file explorer is the simplest method. Even if you use ADB you still would have to give it the command to mount the system as writable. If you Droid explorer you still need to have the system mounted as writable.
I don't know if it works on all roms, but Gingerbread based roms if you make a directory named ringtones in the Root of the SD card the phone should read it from there, or it does on mine.
Yes, I did everything--thought it was going to work, but it failed.
Steps I took--
Copied a sound.ogg file into the ext sdcard
Installed ES file explorer and under preferences set permissions to write (because I am rooted)
Copied the file from edt sd card
then switched to the systems\media\audio\ringtones folder, was able to see all the ringtones currently present.
Pasted my sound.ogg file---it said "multiple operations completed, but failed to paste sound.ogg Unclear why..
Should I have rebooted after setting permissions to write, before executing the copy and paste operation?
Thanks for the prior help--but need some more..
Use an app called software data cable......works like a charm.....remember u need to be on the same network......it uses FTP service.
Sent from my LG-P999 using xda premium
I use a really useful app called Airdroid which you can find on the Google market. It allows you to establish a Wifi connection through your computer's web browser to your phone. I then transfer whatever music, files, shows or anything I want through it.
Thanks everybody
Just followed my previous steps as outlined. Being a noob, I had to do things gingerly, not to screw up. As I guessed, I have to reboot, before the ability to write takes effect (on es file explorer). Then it is just a matter of copy and paste.
Thanks all
so i just want to backup my sd content.
i preform a copy, it starts, but then stops pretty quick giving me "unspecified error"
using win 8.
droidkang 17 rom with bricked kernel
i would have used adb pull but i want to exclude music folder and thats not possible with adb pull.
any suggestions?
yossi_s1 said:
so i just want to backup my sd content.
i preform a copy, it starts, but then stops pretty quick giving me "unspecified error"
using win 8.
droidkang 17 rom with bricked kernel
i would have used adb pull but i want to exclude music folder and thats not possible with adb pull.
any suggestions?
Click to expand...
Click to collapse
I always transfer my files through a WiFi connection because there are often issues with usb transfers... You should give a try with AirDroid app for instance.
Or use adb pull command then delete unnecessary music folders.
well, music is about 10GB so thats most of the content, copying it would make the process much longer.
as for wifi transfer, thats what im actually doing with es explorer, using ftp.
but that means only 2MB transfer rate, which means lots of time to copy.
i gonna try to flash a newer ver of my ROM and switch kernel today, maybe that will help, tho i doubt it.
if nothing helps i think ill create a script for adb pull with only specified folders.
tnx for your answer.
I'm using Titanium Backup on the latest L Preview and while the apps and data get backed up fine, I'm unable to access this folder from the PC via MTP. In This PC\Nexus 5\Internal storage\storage\emulated\legacy, there is a blank icon file called TitaniumBackup, which is supposed to be a folder in which all the data is stored. Using ES File Explorer on the phone, I can see that the files are all stored in /sdcard/TitaniumBackup, but when I try to open that on the PC (This PC\Nexus 5\Internal storage\TitaniumBackup), the folder is empty.
Is there any security setting that causes this? How do I access the files in the folder from the PC?
UPDATE: I just used ES File Explorer to move all the files from /sdcard/TitaniumBackup into /sdcard/TitBac and I can now access these. I still think this is a workaround and that there has to be a better way to do this.
you could use "adb pull /sdcard/TitaniumBackup somefolder"
mtp is generally buggy for me, so i got used to adb push/pull
I'm having the EXACT same problem. Go to backup save location, and nothing but one 4.0 kb file. No backups. I can see them in ES, but I'm also having a separate issue writing to shared folders on my pc with ES. Can anyone provide some insight?
When you first plug the phone in, all folders appear as a file. It takes a bit for windows to determine their actual properties. Bigger folders take longer. So try waiting a bit. Otherwise try mtp in TWRP or adb pull as mentioned
This also just happened on the Galaxy SIII Intl with a recent OmniROM nightly. Now, prior to flashing Lollipop, I was running an Omni nightly on the Nexus 5 as well. Not sure if this has something to do with it...
DeGygii said:
you could use "adb pull /sdcard/TitaniumBackup somefolder"
mtp is generally buggy for me, so i got used to adb push/pull
Click to expand...
Click to collapse
This is worth a shot. I also just looked for some ADB-based file explorers and found a few, but one of them was abandoned and the other one requires GTK+ and building, so I'm wondering if you've got a personal favorite...
rootSU said:
When you first plug the phone in, all folders appear as a file. It takes a bit for windows to determine their actual properties. Bigger folders take longer. So try waiting a bit. Otherwise try mtp in TWRP or adb pull as mentioned
Click to expand...
Click to collapse
I'm pretty sure I waited a reasonable while before concluding this, but other than the Windows Explorer progress bar, there's really not much you get to go by. The Titanium Backup folder in question doesn't have too many files (~500) and I've had folders with images and videos (DCIM, mostly) with at least 5 times more files show up instantly. I don't think this is the issue, but I'll give it a try when I face this problem next.
I work for a device repair shop. The LG nexus 5 was turning on and off randomly, however it passed diagnostics. I personally believe it's the power button. I might disassemble the device and test the button later, however that is not my main concern. My main concern is that the CWM backup folder (hammerhead) is not a folder, it shows up in ES File Explorer as a file without an extension. I cannot rename the file, CD to it, copy it, or make any changes outside of recovery to it. I had issues with the recovery image being overwritten with the stock image on reboot, however I managed to root the device and make the recovery image stay persistent. I need to pull of the immutable CWM folder. I have tried ADB, tried changing R/W, changing permissions, but even when I try that it says "cannot chmod: permission denied", even when running as root. What can I do to get this file off? It contains raw data dumped onto the SDcard, which is vital for the shop (I might lose my job). I try to mount /sdcard for USB storage, but CWM won't allow it.
Have u tried mounting the device with a PC, I run Linux in all my machines and never have a problem with file management. I would suggest using a USB data cable, mount the device MTP, and delete the file that way in a file manager
Sent from my Nexus 6 using Tapatalk
Yeah, I tried that.
Hey folks, Jared here. Just working on a video for the XDA YouTube channel.
I'm trying to figure out how to adb push and pull files to the micro sd card on the S7.
/sdcard/ only sends the file to the internal, not external.
Any thoughts on what the correct path would be?
Needing help on this asap...I'll give you a shout out in the video if you have the correct answer!
Cheers,
Jared
TheSmokingAndroid said:
Hey folks, Jared here. Just working on a video for the XDA YouTube channel.
I'm trying to figure out how to adb push and pull files to the micro sd card on the S7.
Jared
Click to expand...
Click to collapse
Just tested pushing a file to my S7 sdcard with this command and it worked for me just fine adb push C:\SamsungS5\Contacts.vcf /sdcard/ the SamsungS5 is my old phones folder on my PC
ag4751 said:
Just tested pushing a file to my S7 sdcard with this command and it worked for me just fine adb push C:\SamsungS5\Contacts.vcf /sdcard/ the SamsungS5 is my old phones folder on my PC
Click to expand...
Click to collapse
Thanks man. Unfortunately, the S6 and S7 both use UFS 2.0. Since then, I believe samsung has changed how external storage is accessed by the user and device.
I tried your command, just incase, but it didn't work =(
TheSmokingAndroid said:
Thanks man. Unfortunately, the S6 and S7 both use UFS 2.0. Since then, I believe samsung has changed how external storage is accessed by the user and device.
I tried your command, just incase, but it didn't work =(
Click to expand...
Click to collapse
Don't know if you have sorted this out yet but now I have a little more time I have looked into this.
The sdcard on the system is showing as an identifier of numbers and letters under the system storage I don't know if they are all the same, probably not mine is storage/7E53-1B03
I used the command below to push a png called Version.png to this location and it appears to work properly, the png appeared on the external sdcard not the system storage
You can find the sdcard identifier using a file explorer like Root Explorer, ES File Explorer
From ES File Explorer tap Menu>Device>storage then you should see a folder identified by numbers and letters tap it to check that it shows exactly what is actually on your sdcard, if it does this is the sdcard path
From Root Explorer tap Menu>Home>Storage then look for the folder identified as numbers and letters as mentioned above
To push a file to the sdcard use adb push (folder location > files name and type) then /storage/ (folder identified exactly as it is as it is case sensative) /
Command tested were these
Command done from a different folder to where the file is located on the computer folder location and file name adb push C:\SamsungS7\Version.png /storage/7E53-1B03/
Command done from within the folder the file was located in on the computer adb push Version.png /storage/7E53-1B03/
Attached a a couple of screen clips, hope this works for you
Genius! Makes perfect sense.
I've already done the video, but I'm glad this was solved for future purposes and other people looking for the answer.
Thanks!