See root files from pc - Google Pixel 2 XL Questions & Answers

Am I the only one who can't figure out how to view and or copy some files from the phone to my pc? Example, I created two zip files on my phone to be copied off for backup. TWRP.zip and Titanium backup.zip but neither is visible when connected from my pc. Chmod and chown also fails through root explorer or terminal. I'm feeling retarded right now...

Where are those zip files located? Somewhere in your root storage or on your sdcard/internal storage?
If it's the latter, try using adb commands to transfer the files to your PC
Or you can use this app called "Handshaker" and see if the files are visible there

CyberpodS2 said:
Am I the only one who can't figure out how to view and or copy some files from the phone to my pc? Example, I created two zip files on my phone to be copied off for backup. TWRP.zip and Titanium backup.zip but neither is visible when connected from my pc. Chmod and chown also fails through root explorer or terminal. I'm feeling retarded right now...
Click to expand...
Click to collapse
If you created zip files in root explorer, did you look in...storage/emulated/0/SpeedSoftware/archives
If yes, then move them to a folder you've already created. Much easier to find that way ?

Yeah I can see the zip files fine on the phone, and I can see most all files from the PC. I created the zip files right in the root of sdcard which is the same as the root of internal shared storage from the PC. I can even browse both the folders TWRP and Titanium backup from Windows Explorer. I even copied the files to a different dir. I'm thinking they being owned by root is the issue. Going to keep plugging. And try the app suggested.

The issue was not here on the 6P. I just zipped up those two dirs and copied them to the pc. Can't copy twrp cause of file names that piss off Windows and tibu has way too may files. Anyway, going to look into the adb thing but if the files are not visible then ???
Also. Thought about otg but the phone insists on formatting the cards as fat32 which have a 2 gig limit lol

Badger50 said:
If you created zip files in root explorer, did you look in...storage/emulated/0/SpeedSoftware/archives
If yes, then move them to a folder you've already created. Much easier to find that way ?
Click to expand...
Click to collapse
Heh one more thing, root explorer ain't working for me. Lol was using jrummy root browser. My bad for the initial problem statement.

CyberpodS2 said:
Heh one more thing, root explorer ain't working for me. Lol was using jrummy root browser. My bad for the initial problem statement.
Click to expand...
Click to collapse
Meh...no biggie bruh. Sorry RE doesn't work. Kinda strange though. It's worked great for me on any rom thus far. Unless it's a f2fs thing? ?

Badger50 said:
Meh...no biggie bruh. Sorry RE doesn't work. Kinda strange though. It's worked great for me on any rom thus far. Unless it's a f2fs thing? ?
Click to expand...
Click to collapse
So how do you back up for TWRP and tibu if you are doing a complete wipe?

CyberpodS2 said:
So how do you back up for TWRP and tibu if you are doing a complete wipe?
Click to expand...
Click to collapse
Set lock screen to swipe. Uninstall all theme overlays. Do my TiBu backup, and save it to my pc. Go to twrp and backup boot, system, and data, and let it rip. Then I save that backup to the pc. Then if I'm installing a new rom, I just do the twrp factory reset thing. I don't wipe system anymore since that seems to foul things up. Which, I still don't quite understand since that was SOP on the 6p ??

Related

Can't delete folder?

How the hell can i delete a folder that can't be seen via PC connection but i can see it using es file explorer?
I can't delete it using ES even with root enabled....
zerozoneice said:
How the hell can i delete a folder that can't be seen via PC connection but i can see it using es file explorer?
I can't delete it using ES even with root enabled....
Click to expand...
Click to collapse
Depending on where it is you need to mount it first. Which folder are you trying to delete?
Sent from my Galaxy Nexus
I had a folder that became corrupted (repeatedly interrupted game data downloads, I think). I was unable to delete it (even as root) and received an Access Denied error. I was able to rename the folder (so it wouldn't conflict anymore) and delete the majority of its contents (still received the Access Denied error on a file or two). I eventually had to do a full wipe via fastboot -w to get rid of the corrupted files.
had the same problem. had to reflash su.zip and it worked. can't explain it though. just reaching at straws
matt30 said:
Depending on where it is you need to mount it first. Which folder are you trying to delete?
Sent from my Galaxy Nexus
Click to expand...
Click to collapse
it's the folder created by the Photaf application.
i uninstalled the app and the folder is still there...permissions are writable, not hidden...
i can rename it, but can't delete it....and the subfolder within it as well...
i remember it happened once before and the only way to get rid of it was to reinstall the ROM (AOKP). Once installed, i could delete the folder.....
Try reinstalling the game and using settings/application/name of game clear data
Sent from my Galaxy Nexus
bwcorvus said:
Try reinstalling the game and using settings/application/name of game clear data
Sent from my Galaxy Nexus
Click to expand...
Click to collapse
no effect, still can't be removed
LE: WTF, i just plugged in the phone into USB for charging and i saw the folder?! It deleted just fine?
Damn weird didn't do anything different than yesterday when i couldn't even see the folder via PC...
Thank you!
My Asus Transformer (TF101) hasn't been able to download anything to the Download folder for months now. Even Opera (which I installed just to try and fix this) could only download to a different folder. I did what you said, plugged it into the computer and first renamed the folder with ADB but couldn't create a new Download folder. "File already exists." Lies. Windows Explorer said it was still there as Download so I deleted it in Explorer and created a new folder named Download. The create failed but Android said it was there and Voila! I can download again. Very weird, but not ready yet to reformat in fastboot. Thanks guys!
If you're rooted you may be able to delete the files from /data/media, which is the true location, instead of the visual SD that you are seeing.
Could also be a file ownership issue.
Using a terminal emulator, use the following command to list ownership and permissions:
ls -l
(Lower case letter L, not i or 1)
Most of the files and folders should show up as media_rw, but the problematic ones may show up as numbers. To fix them, boot into CWM recovery, plug in the USB cable, go into adb shell. Also make sure that /data is mounted in the CWM mounts menu. Then:
cd /data/media
chown -R media_rw.media_rw *

[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] Another "sdcard\0" thread..

Soo, I know there's a lot of these threads around, but I can't find the answer I'm looking for. I'm wondering: After I flashed 4.2 I got this extra "0" folder on my internal sdcarrd. Can I just cut/paste the content of the "0" folder back to the original sdcard root? or will this have a negative effect on the storage?
Regards.
olfyboy said:
Soo, I know there's a lot of these threads around, but I can't find the answer I'm looking for. I'm wondering: After I flashed 4.2 I got this extra "0" folder on my internal sdcarrd. Can I just cut/paste the content of the "0" folder back to the original sdcard root? or will this have a negative effect on the storage?
Regards.
Click to expand...
Click to collapse
I had this issue earlier so i moved everything back to the root folder and deleted "0". If you are planning on flashing a few 4.2 roms i suggest you use the latest TWRP recovery or wait for the updated clockwork recovery because everytime you flash 4.2 roms they automatically create a 0 partition so you will end up with 0/0/0 etc depending on how many you flash
K, thanks!
I think I'll just copy the content of the "\0" folder back to the root, and stick with the ROM I'm on now. Then I'll update CWM when an update is released.
Aaargh.. I'm getting kinda pissed now..
When I try to copy the sd-content back to the root, it says that the device has stopped responding, or isn't connected. Can you tell me what is the standard root folder for the sd-content?
After installing a previous backup the was still a 0 folder so I copied all of the files to the root folder however it made the pictures unable to view
Sent from my Galaxy Nexus using xda app-developers app
I've tried several methods to move my clockworkmod folder out of the "0" folder to the sdcard "root" to no avail.
I'm currently backing up everything from "0" to my desktop. Once that's done, how can I push the clockworkmod folder to the sdcard "root"?
daewond3r said:
I've tried several methods to move my clockworkmod folder out of the "0" folder to the sdcard "root" to no avail.
I'm currently backing up everything from "0" to my desktop. Once that's done, how can I push the clockworkmod folder to the sdcard "root"?
Click to expand...
Click to collapse
Seems like there are some problems copying big folders over to the root. Try to first copy the CWM folder from your PC into some folder on the sd-root. Then, from your phone, open up a file explorer and copy the CWM folder to the root. Pretty weird, but it looks like it's working for me..
Edit: Yupp! worked for me. Hope you'll sort it out aswell.
olfyboy said:
Seems like there are some problems copying big folders over to the root. Try to first copy the CWM folder from your PC into some folder on the sd-root. Then, from your phone, open up a file explorer and copy the CWM folder to the root. Pretty weird, but it looks like it's working for me..
Edit: Yupp! worked for me. Hope you'll sort it out aswell.
Click to expand...
Click to collapse
Thanks for the help!
What file explorer did you use? Every one that I've used takes me directly to the "0" folder when I hit "sdcard" thus I can't seem to paste the clockworkmod folder into sdcard root.
daewond3r said:
Thanks for the help!
What file explorer did you use? Every one that I've used takes me directly to the "0" folder when I hit "sdcard" thus I can't seem to paste the clockworkmod folder into sdcard root.
Click to expand...
Click to collapse
move it to /data/media
---------- Post added at 12:26 AM ---------- Previous post was at 12:11 AM ----------
here's how it works
before the virtual link to /sdcard was /data/media
cwm was writing under /data/media so cwm folder would show up under /sdcard as well
now the virtual link to /sdcard is /data/media/0
that's because of multiuser (even if multiuser is not working on phones)
cwm is still wriyinb to /data/media so cwm golder eoll mot show up under /sdcard
solutions
1. to copy cwm foldrr on pc: move cwm folder from /data/media to /data/media/0 that is to /sdcard then attach phone to pc and copy folder from sdcard
2. to restore from a backup on your vomputer: attach phone to pc, create cwm folder on sdcard andcopy h erebackup folis, copy cwm foldef from /data/media/0 into /dara/media
it is normal to have a /data/media/0 which means /sdcsrd
it is not normal to have /data/media/0/0 which means /sdcard/0
the latter happens on your second installation etc.
daewond3r said:
Thanks for the help!
What file explorer did you use? Every one that I've used takes me directly to the "0" folder when I hit "sdcard" thus I can't seem to paste the clockworkmod folder into sdcard root.
Click to expand...
Click to collapse
I used solid explorer beta2. You'll find it on google play
Sent from my Galaxy Nexus using Tapatalk 2
I haven't updated to 4.2 yet because of this sdcard/0 issue I'm reading about
I don't care much about what's on my SD card besides my Nandroid backups so the only thing for me is: can I restore a backup from CWM if I move the "clockworkmod" folder from sdcard/0 back to the root of the SD card?
I assume there's no other adverse effects of all our files and stuff being on sdcard/0 instead of just sdcard root?
Enhanced said:
I haven't updated to 4.2 yet because of this sdcard/0 issue I'm reading about
I don't care much about what's on my SD card besides my Nandroid backups so the only thing for me is: can I restore a backup from CWM if I move the "clockworkmod" folder from sdcard/0 back to the root of the SD card?
I assume there's no other adverse effects of all our files and stuff being on sdcard/0 instead of just sdcard root?
Click to expand...
Click to collapse
read my commeny above: yes, although cumbersone, yes
I'm thinking this is the appropriate thread to post this so here I go. I flashed the newly released 4.2 rooted stock image and there were a few problems :
1. I forgot to delete the cache/dalvik cache, which created a bootloop and completely messed up my device, and I had to wipe/factory data reset from the recovery to fix it (in which case I had to lose almost all of my data)
2. I accidently overwrote an existing nandroid backup of the previous (CM 10 stable) ROM I had made to restore just in case anything happens, so I was out of options to restore my nexus to a working state. I finally had to use the crashed ROM's nandroid backup using an advanced recovery so I had my photos, videos etc intact. I got it finally working but anyways,
3. I restored my apps+data using titanium backup. I wanted to go back to my CM10 backup which I had made using ROM manager and it was still present with the rest of my data. But when I selected the backup which made, the device restarted and gave me an error stating "SD CARD MARKER NOT FOUND" :crying:
Now I'm unable to restore or even make a new backup with ROM manager. And to add, I have like three folders for storage using up too much space on my sdcard :
1. root/sdcard - I have no idea where this came from but it sure has an awful lot of my files copied there
2. root/storage/sdcard0
3. root/storage/emulated - has two subfolders : 0, legacy
All of the above locations contain the same exact files and I just want my nexus back the way it was. I know I can flash CM10 right away but I just wanna get some help on how to delete and make changes to these added folders by properly moving the files without crashing the os.
Any help would be greatly appreciated!
I am having this issue as well and am very very annoyed. Please help. Thanks. I cannot get into recovery manually or otherwise. Keep getting Andy with the red exclamation mark in his chest and must remove battery to reboot.
Fu#k rom manager and CWM use TWRP an rom toolbox pro an you will be fine on 4.2 JB.
Sent from my Galaxy Nexus using xda premium
Update: got it working.. had to flash back cm10 stable, move files around and get back the old ROM manager backup and restore it. Its fine now. Not to mention the 4.2 ROM was pretty unstable on my nexus, causing several reboots and sometimes it froze (especially when I connected it to my desktop) and I had to remove the battery and put it back in to get it working. Moreover the 4.2 rom screwed up the file system, making my nexus' SD card unreadable on any desktop. It just wouldn't install the drivers whatsoever. I'd wait for cm10.1 than try any other custom 4.2 from now on.
Sent from my Galaxy Nexus using xda app-developers app
daewond3r said:
Thanks for the help!
What file explorer did you use? Every one that I've used takes me directly to the "0" folder when I hit "sdcard" thus I can't seem to paste the clockworkmod folder into sdcard root.
Click to expand...
Click to collapse
You can download Root Browser Lite from play store, which gives you complete access to the root of your phone and internal files such as system/.

[Q] HOSED SDCard?

Can anybody tell me why I might be able to see folders when I go through a file explorer on my phone, but when I connect to it with my PC I don't see those folders?
Ex. I flashed a 4.2 ROM and it hosed my SDCard I believe. Lost ability to view files, backed up things to Titanium and didn't see anything when I did that but could see it when I looked through a file explorer on my phone.
Wiped my phone and set back to factory. Reflashed, transferred backedup files back to phone, same issue for some.
Did my appbackup using AppBackUp on my phone and changed the folder name, but that folder will not show when connected to my PC, but again when I look using a file explorer it shows just fine.
One other things I was getting was a "local folder" with the date 12/31/69 when viewing my SDCard on my PC. Nothing in it, but never showed before and had a windows drive logo next to it.
ANY IDEAS!?!?!?!
mrbigdrawsz said:
Can anybody tell me why I might be able to see folders when I go through a file explorer on my phone, but when I connect to it with my PC I don't see those folders?
Ex. I flashed a 4.2 ROM and it hosed my SDCard I believe. Lost ability to view files, backed up things to Titanium and didn't see anything when I did that but could see it when I looked through a file explorer on my phone.
Wiped my phone and set back to factory. Reflashed, transferred backedup files back to phone, same issue for some.
Did my appbackup using AppBackUp on my phone and changed the folder name, but that folder will not show when connected to my PC, but again when I look using a file explorer it shows just fine.
One other things I was getting was a "local folder" with the date 12/31/69 when viewing my SDCard on my PC. Nothing in it, but never showed before and had a windows drive logo next to it.
ANY IDEAS!?!?!?!
Click to expand...
Click to collapse
look in /data/media/0
really, you should read the forums, you cant miss all the threads about fs changes in 4.2.
simms22 said:
look in /data/media/0
really, you should read the forums, you cant miss all the threads about fs changes in 4.2.
Click to expand...
Click to collapse
I do read them and have. Finding the files that were moved wasn't the issue...it's new stuff I was installing or changes I made weren't showing. So basically when I looked at them through Solid Explorer they were there, but when I looked on my PC through USB connection they wouldn't show. BUT, I think I figured it out.
mrbigdrawsz said:
I do read them and have. Finding the files that were moved wasn't the issue...it's new stuff I was installing or changes I made weren't showing. So basically when I looked at them through Solid Explorer they were there, but when I looked on my PC through USB connection they wouldn't show. BUT, I think I figured it out.
Click to expand...
Click to collapse
as in root fs? those wouldnt show up through usb connection.
simms22 said:
look in /data/media/0
really, you should read the forums, you cant miss all the threads about fs changes in 4.2.
Click to expand...
Click to collapse
simms22 said:
as in root fs? those wouldnt show up through usb connection.
Click to expand...
Click to collapse
Naw, not root...just simply sdcard folders. But what I did was uninstall and reinstall the drivers for the Nexus and reboot both devices and it seems to be working fine now. Gotta do some other test to see, but if it's still acting funny I might be back. LOL
Thanks for the help.
mrbigdrawsz said:
Naw, not root...just simply sdcard folders. But what I did was uninstall and reinstall the drivers for the Nexus and reboot both devices and it seems to be working fine now. Gotta do some other test to see, but if it's still acting funny I might be back. LOL
Thanks for the help.
Click to expand...
Click to collapse
good luck

Limited access to file system?

I was side loading an app from my phone to my tablet, incompatible in market. Well when I tried to copy the obb into the obb folder on my tablet it said access restricted... can't get it to copy even with root explorer.
Sent from my Nexus 7 using xda premium
whoamanwtf said:
I was side loading an app from my phone to my tablet, incompatible in market. Well when I tried to copy the obb into the obb folder on my tablet it said access restricted... can't get it to copy even with root explorer.
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
Are you rooted...?
I noticed something similar to this as well. I used TiBu to restore the SwiftKey app and settings from my 1st Gen N7. After restoring it, the English language pack wouldn't download. After Googling around, they recommended deleting languagepacks.json from the sdcard/Android/files/com.whatever directory and even with root access and Root Explorer I wasn't able to delete the file. I had to do it through TWRP and even that didn't solve the issue. I had to format internal storage to solve my issue. Needless to say, I've been much more careful about using TiBu since then.
Sent from my SGH-T999 using xda premium
alicarbovader said:
Are you rooted...?
Click to expand...
Click to collapse
Yes, yes I am. But you should not need root for these folders anyways.
Sent from my Optimus G using xda premium
I got it working with a different file manager, but I am still unable to copy the Titanium backup folder to my computer via usb, or airdroid. Weird thing is I cannot even use a zip app to zip it up then move the zip.
whoamanwtf said:
I got it working with a different file manager, but I am still unable to copy the Titanium backup folder to my computer via usb, or airdroid. Weird thing is I cannot even use a zip app to zip it up then move the zip.
Click to expand...
Click to collapse
I actually ran into a similar issue on my N7v1 last night. I wanted to copy over all my apps and settings, so I attempted to copy the various files in my Titanium Backup backup folder. I tried using adb pull, but it failed to copy over any of the apks. The other files (properties, etc.) copied, but not the applications. This seemed very weird. Then things got weirder.
I looked at the ownership/permissions/etc. and they were all identical. I had read/write access to everything. So I tried tar'ing them all up on the device, as root, to copy over one big archive. No dice. Even tar couldn't read the files. I tried coping them to another directory, but that failed too. I could only move or delete them - not copy/read/etc.
I assumed maybe something was wrong with the backups, so I deleted them all and redid the TiBu backup. Problem persisted even on these new files I just made.
It reminded me of an issue I had with TWRP when Android changed around the file system location of the sdcard. When that happened, I couldn't access my nandroid backups either, or even delete them. I actually had to make a flashable zip to get rid of them.
So I had an idea. My current TiBu backup location was "/sdcard/TitaniumBackup". The /sdcard directory points to "/storage/emulated/0/". So I deleted all the backup files again, changed the TiBu backup location to the latter and ran the backup process again.
Voila. I could now read/copy/everything all the files in that same directory, albeit with a different path.
Anyway, I thought I would share this because it sounds like a similar issue. Try using the full path and not the /sdcard shortcut and see if that works.

Categories

Resources