[Q] Help: trying to access root files on device - Samsung Galaxy Nexus

I have the Samsung Galaxy Nexus, Verizon (if that matters). I have installed a couple of custom ROMs over the time I've had it, and I've now noticed that all of my older files are not accessible. I found these files, but they are located in other directories off of the root. When I connect to the phone, using Windows Explorer, I am taken to the directory /storage/emulated/0, and from here I can copy off files to my PC.
There are other files from prior installation that I would like to backup, that I cannot seem to access from Windows Explorer, and these files are in the following directories, /storage/sdcard0 and /storage/emulated/legacy.
I have tried using adb.exe and it cannot find my device. I have installed the USB drivers from Samsung, and that didn't work either. I have also done reboots of my computer and phone, and a combination of things, and none have worked. I have tried Android Commander, which doesn't see my device, but I assume it will not see it if adb.exe cannot see it either.
Can anyone offer any suggestions as to how I can get my files off of my phone, and copied over to my PC?
Thanks for any help in advance!

Related

[Q] All files not showing on PC

I have tried with file manager and found the files i was looking for in android/data/something but when i connect my GN to my PC (win7 32bit) i only get a few folders and files,
I have tested with both USB modes and I only get the basic folders such as
Alarms, Android, DCIM, Downloads, Movies, Music, Notifications, Pictures, Podcasts, Ringtones.
and the file manager reports more folders present :/
also the files i'm trying to access are within the android folder (which is visible on PC) but in filemanager there are 10-20 folders found in android/data that are missing on PC. PC only shows 3 folders in android/data
It also appears to be possible for other users to access the exact same file at the exact same filepath, why can't I?
is there a feature on GN or ICS that makes it impossible to access some files from the PC or is this a bug/flaw?
in case you guys need to know what files i'm trying to access, it's the game files to GTAIII
I kind of have a similar problem.
When i connect my phone to a windows 7 computer it mounts okey and shows me the files. If I create a folder on the phone from windows explorer, unmounts the device, I can not see this folder on the phone via a file manager unless i reboot my phone. This also applies the other way around. If I create a folder on the phone from a file manager, then mount the phone to the computer, I can not see the folder until I reboot my phone.
Is there a fix for this? Is it a bug? How can i resolve this? It's very frustrating.
MTP/PTP doesn't offer all the features the full USB transfer mode has. Search will help you find the pros and cons of this.
Workaround: Use an app like WiFi File Explorer or Airdroid.

[Q] Copy large backup directory to PC

Hi guys,
I am trying to figure out a way to copy clockworkmod directory to my PC, as the backups are taking up too much unncessary space on the phone. The problem is that via MTP Windows Explorer simply hangs and doesn't copy a thing. My guess is that the underlying issue is the huge number of very small files in the /blob sub-directory.
Could anyone guide me how to accomplish this task, please? Or, alternatively, what other methods of backing straight to the PC are there?
Much obliged!
zkvvoob said:
Hi guys,
I am trying to figure out a way to copy clockworkmod directory to my PC, as the backups are taking up too much unncessary space on the phone. The problem is that via MTP Windows Explorer simply hangs and doesn't copy a thing. My guess is that the underlying issue is the huge number of very small files in the /blob sub-directory.
Could anyone guide me how to accomplish this task, please?
Much obliged!
Click to expand...
Click to collapse
MTP sucks. I prefer to use adb for this: adb pull /sdcard/clockworkmod D:\your\path\here
If you don't want to use the commandline, you can alternatively use an app like ES File Explorer to access a LAN share (shared folder/drive on your computer) and copy files this way.
adb pull?
Any time I transfer anything large it's what I use.
Code:
adb pull /sdcard/clockworkmod/ /Backup/
I believe that's the directory.
Just rename the "clockworkmod" folder to whatever it truly is if not.
This will put a "Backup" folder on your C:\ drive.
Edit:
Ninja'd.
Thank you very much, guys! I hadn't realised that adb pull could be used for copying a whole directory.
Reverse of this
Can anyone tell me how to reverse this using adb (i.e. move the directory back onto the phone)? Thanks.
grouseuk said:
Can anyone tell me how to reverse this using adb (i.e. move the directory back onto the phone)? Thanks.
Click to expand...
Click to collapse
[GUIDE] How-to copy files from/to your device
from Petrovski's sig
Thanks for the help with ADB pull. I knew about the push command, but being the noob I am I would never have thought that the opposite was that simple.
Now I have a GNex and I'm almost out of internal memory. I've copied my entire clockworkmod folder to my PC. I was wondering if I could delete the contents of the clockworkmod folder off of my phone (since it's all on the PC) to regain some storage space, and then only return the deleted contents to the phone when I need to do a nandroid restore without any problems occurring. I wouldn't want to go do all that only to arrive upon a large problem when I try to go back to stock JB JRO03C or anything like that.
kbolt said:
Thanks for the help with ADB pull. I knew about the push command, but being the noob I am I would never have thought that the opposite was that simple.
Now I have a GNex and I'm almost out of internal memory. I've copied my entire clockworkmod folder to my PC. I was wondering if I could delete the contents of the clockworkmod folder off of my phone (since it's all on the PC) to regain some storage space, and then only return the deleted contents to the phone when I need to do a nandroid restore without any problems occurring. I wouldn't want to go do all that only to arrive upon a large problem when I try to go back to stock JB JRO03C or anything like that.
Click to expand...
Click to collapse
I want to know this exact answer as well.
if you dont rename the folders, you wont have a problem.
I've found that the GNex toolkit makes it pretty easy to make backups, move them to your PC and restore plus a whole lot more. It's pretty good.
http://forum.xda-developers.com/showthread.php?t=1392310
+1 for adb
Large File Tip
THANK YOU!!
Jubakuba said:
adb pull?
Any time I transfer anything large it's what I use.
Code:
adb pull /sdcard/clockworkmod/ /Backup/
I believe that's the directory.
Just rename the "clockworkmod" folder to whatever it truly is if not.
This will put a "Backup" folder on your C:\ drive.
Edit:
Ninja'd.
Click to expand...
Click to collapse
Unable to see clockworkmod folder through file explorer
HI All,
Am not able to see the clockworkmod folder through File Explorer. Whereas after i take a backup through recovery, i can see the backup exists in /sdcard/clockworkmod/backup.
Please help.
Hi All,
Can anyone help with the above issue?
Use adb pull or an ftp server running on your device.
Sent from my Galaxy Nexus using Tapatalk 2

[Q] 4.2, CWM, Mac, and Android File Transfer

How many Gnex users actually use OSX? Anyway, im wondering about pulling backups of backups to pc. The newest CWM 6.0.1.9 backs up to data/media. Android file transfer won't let me navigate up, so i cant access anywhere other than data/media/0. I could follow a guide here to restore the old file system setup, but i tend to think we're better off getting used to it. How can i get this backup backed-up? adb pull only works for specific files, rather than folders, correct? And would i also need to back up the blobs? Lastly, any hopes that android file transfer would get updated and become more of a file explorer?
I am running the same Android-Mac combination as you do. Since Android File transfer is very buggy on my system, I just abandoned it. Instead, I am using a simple and free FTP Server on my phone:
https://play.google.com/store/apps/details?id=lutey.FTPServer
Once set up and activated, you can use Cyberduck or any other FTP Client of your choice on your Mac to access your phone via WiFi. The user experience is the same as browsing in a proper file explorer, being able to access any folder on your device. And you don't even need wires!
Hope that helps!
CT
PS: I think you have to back up the backup file and the blobs, since the first contains only references to the latter and thus won't let you restore anything without them.
Sent from my Galaxy Nexus using xda app-developers app
FTP issue
Ok so i finally have investigated FTP possibilities. I can make a connection to the sdcard, /mnt/sdcard/. I cannot, however, access the /data/media/ folder which is where the new cwm backups are. I consistently get the command line output : 550, something pertaining to insufficient rights. Any help, suggestions? Its looking like the best way is going to be to move the folder, back it up via usb, then move it back for cwm accessibility. I hesitate bc i finally got a good backup [working bluetooth], and dont want to compromise it. As a side note, root browser lite will not successfully copy and paste the folder. I just get "operation failed". Im pretty sure es will do it, and again i have not yet tried the move option.
BTW, this has been solved: http://forum.xda-developers.com/showpost.php?p=37236515&postcount=5

Can't see files in certain directories (including DCIM) over file transfer (MTP)

Hello, today I plugged my phone in to try and transfer some photos I'd taken earlier, and to my surprise could not see the photos in the DCIM folder. Using FX File Explorer I can explore that folder just fine on the device itself, and see everything.
This problem seems to be affecting several folders, but not all of them. Sometimes it affects different files in the same folder differently. For example, I have some .pdf and .apk files in my Download folder, which I can see on my phone, but on my PC I can only see some other files in that folder, including a .zip file. The issue appears to be based on the date the file was created, as outlined in this post in Google Support forums. I had no success with the cache-clearing of External and Media storage system apps outlined in that thread. I had success with being able to view all my /Downloads/ folder items by putting them in a subfolder and then bringing them out again into Downloads. The trick did not work with the DCIM folder for some reason.
I am rooted, but this issue has persisted through at least one re-flash of a stock image (I just updated to the newest July build without wiping all my data).
The only thing I can think of is that I ran this command to change the permissions of /su/bin when I was trying to get Android Pay working and perhaps that screwed something up? But wouldn't that be reset after the stock image was flashed anyway? Or would I need to wipe to do that? And even so, it still doesn't explain why it only affects certain files and folders.
Thoughts on things to try? Is there any way to undo that chmod command? FX File explorer says my current permissions on that folder is 0755, could that even be causing the issue? Apparently the change to 751 failed.
The issue persists using different USB cables and ports on my PC.
Did you have any luck figuring this out. I am having a similar problem as well.
I have always been able to transfer music from my computer to my nexus5X's Music folder with no problem. Today, something isnt working right. When I plug the 5X into my computer and select File Transfers, I can see all my files on the 5X. When I select the Music folder, it opens but only shows 237 songs. When i look at the folder on the 5X is shows 1016 songs. For some reason when connected to the computer it cant see all the files in the music folder. Also, when I try to copy a file to the music folder windows give me an error and says "The device has stopped responding or has been disconnected" If i try to copy is somewhere else on the 5X it works. I just can send it to the music folder. What can I do to fix this?
I actually noticed this before the update to 7.0. I used TiBU but the folder was not there. Using root explorer I can see the folder. I placed the Titanium Backup folder into another folder and then I could see it via the PC.
I uses a usb 3.0 port on the PC , have not tested 2.0 atm.
This is a typical MTP bug, just find & clear 'Media Storage' system app data, reboot. Dont connect PC before media scanner service finished.
You will lose media playlist, though.

advanced question - internal and external file transfers

I have a rooted 5x nougat with twrp recovery and stock rom. When I attempt to copy my TWRP backup to my computer via MTP file transfer, I cannot. Same with my titanium backup folder. I also tried to move my TWRP backup to my DCIM folder such that I could try PTP file transfer but that didn't work either.
Indeed, i cannot even transfer files within my own phone's file directory. I'm using root Explorer. I've toggled and made the file system read-write. I tried to change file folder permissions, and that failed.
Any advice Xda family? I have the proper drives installed.
Apologies in advance if my verbiage isn't accurate technically. I'm pretty good with android but by no means an expert.
Mario
File Transfers
I'm not really sure as to why you'd have problems moving files within your phones internal storage, however I do have a solution (work around, really) to your MTP problem, as long as you have ADB working.
I also never got MTP working so I just use a file manager to check the path to the folder I want from my phone to my computer, and then use the command:
Code:
adb pull /path/to/folder/on/phone /path/to/destination/on/computer
And if I want to put something from my computer on my phone, I do the opposite command:
Code:
adb push /path/to/file/on/computer /path/to/destination/on/phone
Additionally, if you really need to move files around on your phone, you can use:
Code:
adb shell
su
mv /path/to/file /path/to/destination
Hope that helps!
Thanks. It does help and I have adb. I'll try that method. I'm not sure why I'm having that issue either.

Categories

Resources