[Q]i cant push files from pc to extSdCard with adb - General Questions and Answers

i can push and pull to int memory but im always reading a perm. denied when im a trying a push a data to extSdCard btw pull command isworking for sd card i know this problem can be so stupit but im a noob for adb im tried to change a folder perm. but cant change to -w to others what should i do
btw i researched forum

Related

SD card adb parted not found

guys
im trying to partition my sd card
first i started adb shell, all good so far
until this line parted /dev/block/mmcblk0
i get bash: parted not found
why?? whats going on?
any1 help?
You need a execute file named "parted" . Find it and copy to your system/bin folder.
For a easily way is install a software called "Rom Manager"
It contains the "parted". and you can just part your sdcard via GUI.
Do not use adb shell command If you are a linux/android newbie
K9998 said:
You need a execute file named "parted" . Find it and copy to your system/bin folder.
For a easily way is install a software called "Rom Manager"
It contains the "parted". and you can just part your sdcard via GUI.
Do not use adb shell command If you are a linux/android newbie
Click to expand...
Click to collapse
can u please be clear... coz im a newbie to adb shell i dont know how it works..even i get the same error when i try to partition my sd card... i get parted not found when hit this command (parted /dev/block/mmcblk0)... plzz help
im.saradi said:
can u please be clear... coz im a newbie to adb shell i dont know how it works..even i get the same error when i try to partition my sd card... i get parted not found when hit this command (parted /dev/block/mmcblk0)... plzz help
Click to expand...
Click to collapse
just in case anybody still reading this...
the best thing to do is to flash new recovery, remember ur bootloader needs to be unlocked or S-off.
once u flashed new recovery u simply go to ur recovery > mounts and storage > format storage, it should ask how big ur ext partition suppose to be

Need help backing up data with ADB on my captivate (broken screen)

[resolved]
I have a broken (completely black) screen on my captivate Im trying to back up all my files from the INTERNAL memory. I can't see the screen so obviously I can't mount the phone to view the files on my PC. I have gotten 'pull /system/ /local/' to work however when I try something like 'pull /data/ /local/' it says "pull: building file list... 0 files pulled. 0 files skipped."
Basically, how do I use ADB to get all of my files to my computer? Help is certainly appreciated. After this I will probably reset the phone and then maybe sell it as is. Not too sure.
Question: Do u happen to have any recent clockwork backup and/or tibu backups on ur phone? If either is present u could directly navigate to those folders (in adb) and pull the files u want.
Alternate option: U cud put in an external sd card, and copy the files from internal sd to external sd if u are not comfortable with the pull commands.
diablo009 said:
Question: Do u happen to have any recent clockwork backup and/or tibu backups on ur phone? If either is present u could directly navigate to those folders (in adb) and pull the files u want.
Alternate option: U cud put in an external sd card, and copy the files from internal sd to external sd if u are not comfortable with the pull commands.
Click to expand...
Click to collapse
I do not have any type of backups apps or anything like that on the phone.
I have an external sd card however Im not sure how thats different than using adb to copy the files from the internal memory to my computer. I am fine with using pull but maybe im using the wrong directory name for my personal files?
Have you tried qtadb or droidexplorer. Would be easier imo.
newter55 said:
Have you tried qtadb or droidexplorer. Would be easier imo.
Click to expand...
Click to collapse
That requires a rooted phone right? My phone is currently not rooted and I don't know if I would want to. How come I cant just use the adb pull command on the folder with my data in it?
edit - i might have found a command that works, i will update when finished.
ok this worked for me: 'adb pull / d:\backup\'
thanks everyone for your help.
Yeah. Assumed you were rooted sorry. Just thought that way you could see everything and point and click.
So I have a similar situation to this only I have a phone that isnt rooted and usb debugging isnt enabled. However I know the phone boots on, and I can also get into recovery mode where I am able to ADB to get a basic shell, and see the device but that is about it. I feel that if I could enable usb debugging thru recovery mode I might be able to mount the /sdcard and then pull files from there. anyone got any ideas if I could get a reboot with usb debugging enabled from recovery or maybe just a command that I could use in shell via recovery?? Please Please lol. I have a strong feeling i might have hit a wall.
http://forum.xda-developers.com/showthread.php?t=1164598

[Resolved] Phone unable to use internal SD

I just has my USCC Galaxy S3 replaced under warranty. To save my internal SD files, I used an ADB pull /storage/sdcard0 in recovery. When I got the new phone rooted and CM10 installed, I booted to recovery and used an ADB push to restore the files. The files all ended back on the SD card, but now my apps cannot write to the folders on the SD card. The permissions are set to 644, and I cannot change them. I have tried with chmod and through file managers to change to 777, and although they claim success, the permissions stay 644. I'm unsure where to go from here, but I really would like to keep these files on my device. Any ideas on how to fix these permissions? Thanks!
Try copying/moving files around using the phone's file manager, & see if the changes stick. Also try "adb shell" -> "su", and change permissions that way, & see if it sticks.
Make sure you have an updated busybox.
Well, I tried moving them with file manager, su and updated busybox, changing permissions, and then I finally decided to go into recovery, pull, and format /sdcard. Once I did that, my apps were able to use the card again. I then was able to copy over the files via usb mount to windows. This seems to be working so far.
Thanks!

[help please] Can not access to internal or external memory /sdcard /storage ...

Hello,
On my tablet /sdcard and equivalent folders (/storage/emulated/0, /storage/emulated/legacy, /storage/sdcard0) and all /storage are empty.
In command line with ADB, I see everything.
In command line from the tablet with ConnectBot, ls in /sdcard or /storage gives opendir failed: permission denied. But in root after su, files are here like with ADB.
So the problem is only with the tablet and the normal user.
Before I have tried some apps to move data of some games to the SD card with "GL to SD". It modify the file /etc/permissions/platform.xml. Can it be linked with my situation?
I have a LG G pad 7 with Android 5.02.
Help please!
This is the same problem as this guy: http://android.stackexchange.com/questions/93793/cannot-access-sdcard-internal-storage but there is no answer.
Nobody can help me?
Please, I need my tablet!
I thought there was a lot of experts on XDA, I'm disappointed... :-|
Have you tried to replace /etc/premissions/platform.xml with the original (unmodified) file?
Thank you. Of course, immediatly, I even never boot on the modified one.
But the 1st time permissions were wrong, the .bak has 400 instead of 644 and I didn't notice. The problem appears there and stays even with 644...
I think the problem is the file platform.xml and it's not read at all.
Because I also can activate Wifi or Bluetooth, but I can not use them, and in command line only root can ping (this is defined is platform.xml too).
Maybe the 1st boot with the wrong permissions makes this file been deleted from another file and it's not read at boot... How can I know where this file is called to verify this? :-|

help with adb commands trying to pull SD card to pc

Hi just a quick one.
im trying to use adb to tranfer my entire internal storage from my phone to my pc but i cant figure out the correct commands to do so
my phone wont boot and is stuck in twrp is there anyway i can do this?
add pull /sdcard/
The last / is key this will created a replica of the folders and all subtolders and files in your current directory of your pc it Mac.
I normally do
mkdir OnePlusBackup
cd OnePlusBackup
adb pull /sdcard/
That way the folders are kept together in one place.

Categories

Resources