Limited access to file system? - Nexus 7 (2013) Q&A

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.

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 *

New GN can't restore TB from Nexus One

I got a new Galaxy Nexus GSM.
Shortly after turning it on, it upgraded OTA to JellyBean.
Then, I rooted it.
Installed Titanium Backup.
I copied the TB backup made on my rooted Nexus One running CM7, I just want to restore some regular user apps.
But cannot no matter what I try.
If I copy the Nexus One backups via USB to the Galaxy, there is no restore option for the uninstalled apps in TB. And if I try to verify the backup, TB reports an error. (It doesn't say what the error is, just that there is one.) Of course, the backup and verify on the Nexus One for the same backup is just fine. The MD5 has on the file on the GN (as shown by Root Explorer) matches the MD5 on original backup file on the Nexus One.
If I copy via dropbox, the file shows up in root explorer but it doesn't show up in TB.
I'm getting super frustrated and feel like an idiot.
I can install apps from Google Play, but I paid for TB Pro, and it just doesn't seem to be able to do this.
Also, I hate MTP and lack of SD card in the GN. I might just return the phone it is driving me crazy.
I copied files to the GN yesterday from my computer. I DELETED THE FILES. The files do not show up in Root Explorer on the phone, or when doing ls with ADB, but when use Windows Explorer to look at the GN, the files appear to be there! They really aren't there, because any file operation on it fails (with no error), except for properties - it shows the properties of the non-existent file! What is up with this?
move like that: copy nexus one tb folder to your pc. open it and browse only for .apk files, don't take other file in the backup. put all .apk file in a separate folder. select all and extract all file in a folder (because titanium make compressed apk file, from my experience). put new folder with .apk extracted file into your pbone and with explorer app like ES file explorer install each one. i advise this way because if you restore a tbackup into a phone from another, or from another android os version, you have to restore only app without data. so this is the same way without auto restore for each app function of titanium backup.
i hope this help
Sent from my Galaxy Nexus using xda app-developers app

[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] Clockworkmod backup wont delete

Hello,
I wanted to change my kernel today, back to stock, so I tried to recover a previous backup I had from clockworkmod. But when I tried to recover it said "Md5 mismatch". So I went to Youtube to figure out why this was, I followed the instructions but there is no file path for my backups. I tried all of the different file paths "/data" that was empty, "/mnt/shell/" and that was empty as well, as well as a few other file paths. I eventually gave up looking for the backup and decided to erase the backup I made. But when I tried to delete it it said "There was an error renaming your backup. Please choose a unique and valid file name for your backup." I tried renaming it something else but it still says the same thing. Anyone know what I can do here, I just want this file off of my phone. Any help would be much appreciated!
Extra info. When I made the backup I decided to rename it as "5-14(Before custom kernel) but when I got the prompt to change name, I tried changing it to a valid name. Now the name is stuck?
I've also included some pictures to help understand my situation.
Rename the folder download to backup or backups and check
Sent from my GT-S6102 using xda app-developers app
rahulsnair said:
Rename the folder download to backup or backups and check
Sent from my GT-S6102 using xda app-developers app
Click to expand...
Click to collapse
I renamed the folder on my PC and it worked fine. But nothing changed. I looked in ES file explorer and folder name is still "download" and wont change
May be some problem with rom manager.Try renaming using "root explorer". If you want to get your stock kernal you can flash it using kernal flasher.
Sent from my GT-S6102 using xda app-developers app
rename the folder that contains all backuped files (without space). put that folder in another folder named "backup". put backup folder in another folder named "clockworkmod". put clockworkmod folder in data/media using any root explorer (enable mount option in setting). try to restore
I used the root browser included in rom toolbox and that seemed to work. Thank you for your replies! I truly appreciate it
Sent from my Galaxy Nexus
Thank you for your reply. Luckily I didn't have to go through that process, it seemed to go away after using root browser. Thanks again!
Sent from my Galaxy Nexus
No solution found yet for this error.
Hi,
Yesterday i made a backup using ROM manager v5.5.3.7 (free)
For some reason i made a second backup by accident, and something went wrong.(probably lack of disk space)
I now have 2 backups, i would like to delete one. (since i'm running short on disk space)
Tried too delete it but i got the "There was an error renaming your backup. Please choose a unique and valid file name for your backup." error.
I tried everything provided in this thread without any succes. (sorry for replying on this kinda old thread)
Anyone has an idea how to help me out?
Running CM11 (nightly) with stock kernel CM.
Thx for any help!
Update:
Nevermind, went into recovery and deleted the corrupted one!

See root files from pc

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 ??

Categories

Resources