[Q] Strange storage/SD card errors - Did I break something? - Galaxy Note 3 Q&A, Help & Troubleshooting

I have a Sprint GN3. I've rooted with CF Auto Root, flashed TWRP, flashed Jellybomb, and then restored back to stock from a nandroid backup. I've come across a few different errors, and I'm not sure if they're related or not.
For one thing, when I try to download a file in Chrome, I get a "No SD Card" error, even though both the SD card and the internal storage have plenty of space.
And then for the Audible.com app, even after clearing all the data, and uninstalling and reinstalling, I get the following error:
Failed to save your library to your device. /storage/emulated/0/Audible/<snip>: open failed: ENOENT (no such file or directory)
And it's right, I don't have an Audible directory in there, or anywhere else that I can find.
So my question is: Is that likely the correct path for the Audible app to save my data, and if so, why could it not create the Audible directory there?
And could that have anything to do with Chrome not being able to see or write to storage?
Thanks.
Edit: So I tried to manually create the Audible directory in /storage/emulated/0/ with Astro, and it wouldn't let me do it. Then I tried with Total Commander, and it worked, but I also go the "Total Commander has been granted superuser permissions" popup.
Then when I run Audible, I now get a EACCESS (permission denied) error.
So did I somehow set my internal storage to read only other than for root?

Possible solution.
Hi, it has been over a year since you asked this question, but I figured I'd respond anyway. I was experiencing a similar problem (exact same error that you describe) with my galaxy s4 provided by FreedomPop - I think it stemmed from their special version of android that they pre-installed on the phone. Anyway, their support staff suggested installing and running a program called "folder mount (root)" - it ran and found 2 errors, I had to re-boot my phone, and it completely fixed my problem.. Hope this helps

Glad you posted. Not much info out there on this issue, and your fix worked. Thanks.

Related

Location of apps after app2sd?

With root explorer, i see that my apps are saved to something like '/system/sd/app,' but when I mount my G1, I can't find that folder. I can't even find the "system" folder. Anyone have any ideas?
Also, I pressed the "R/W" button on that folder in Root Explorer, but now I can't switch it back to R/O. It gives me an error saying, "Remount Failed: Device or resource busy."
what is it you want to do with the apps?
My gmail app is force closing, and I haven't found a way to reinstall it through market. I was going to try to replace the .apk.
I don't believe the gmail app is on the SD, it should be under /system/app/Gmail.apk
For the most part, the system apps install on the phone, the rest are on SD.
That still leads me to my first question, lol. I can't find the "system" folder after mounting my G1.
??
I don't know. I use the rooted file browser SUFBS and have never had a problem seeing the system folder.
Might have been associated with other changes you made to the system.
For me, if all else fails, I re-partition, wipe & re-flash.
Hopefully someone else can offer some better info.
I find it fine on my G1 via Root Explorer. It's just that I can't seem to locate it on my computer (i.e something like h:\system\app), after plugging my G1 in.
Sorry for any confusion.
You must be on a windows machine. You can not nativly see an ext partition under windows.
Look at the guides that tell you how to set up adb and adb push the application to the folder you want.
adobrakic said:
I find it fine on my G1 via Root Explorer. It's just that I can't seem to locate it on my computer (i.e something like h:\system\app), after plugging my G1 in.
Sorry for any confusion.
Click to expand...
Click to collapse
You can do these things right from recovery console, and probably terminal, I like recovery better though. place the file you want to use on the root of the SDcard. Since it is the Gmail.apk you want to replace you would go about it like this:
mount system
mount sdcard
cp /sdcard/Gmail.apk /system/app/Gmail.apk
reboot
thats pretty much it.

No write permission on pushed+ overwritten sdcard directories?

So I have something pretty strange going on.
I had a replacement device sent to me, and I decided to wholesale transfer the contents of the original device's sdcard to the new N7.
I adb pulled and then pushed the entire /sdcard/ over to the brand new device, which I did in recovery directly after rooting. I only installed the OTA first.
Now however, the pushed folders have incorrect permissions, and I can't find anyway to modify their contents. That means I can't delete, no files will go to the Download folder, all that stuff. The only work-around I have found is I can rename those folders,e.g. Download -> Download_old, thereby getting Chrome and Dropbox to now use a new Download folder with write permission, allowing them to work.
But I pushed over 7 gigs of stuff, and now it is permanent, which isn't really an option. When I finish those books, I want to delete them. When I am done with GTA3, I would like those files gone, and so forth.
Attempts to fix permissions, mount through ADB shell, those things haven't worked. When I open a shell and attempt to change permissions with chmod, the command goes through but the permissions do not change. This has been attempted as root. The files aren't corrupted, at least not in the sense that I can play games with the game files, read the .pdf's and so forth.
Any advice? I guess I could reflash the stock image, but I would rather not go through getting those files on again, especially if the only way to have managable permissions is to not overwrite, but to push each folder's contents individually. I of course will do this if no one has any thoughts, but I figured it could benefit others to commit this to posterity.
I have actually found a couple people with this problem, but after recieving advice similar to the steps I outline above, they disappear with no solution i could find.
Any ideas?
Update: Well, it has been 8-9 hours, and this post is already pushed to the bottom of page 3 in the forum queue, with 17 views. Gotta love these outreach devices. 8 milliom people asking questions and nobody answering them, lol.
Well, I am just going to reflash the stock image instead of giving this an artificial bump and waiting longer. You would be suprised how many things don't work without write to sd privileges, especially on a device with no emmc or removable storage. I have been playing with it for awhile, but like I said, I can't even remove files after su, so you know that something is serious. When superuser rights fail, you're in trouble.
For those imaginary future researchers, sorry no non-destructive solutions here. But if you want to send me a fellowship, I can share screenshots of the carnage.
i have exactly the same problem.
flashed new rom and wiped the device.
wanted to restore all my pictures and files.
restore went well...but could not write to the folders or delete them.
rename was the only possible thing. did not find a solution either. just hat to wipe.
won't push anything on the device via adb.
next time i'll do it the simple GUI way!

[Q] Can't move several Titanium Backup .gz files to PC. Permission issues?

Most of the files in my TiBU folder will copy. All the properties files, and ~half of the .gz files. Most of these are game backups for progress purposes.
Dragging and dropping using Windows explorer doesn't work (nothing will happen at all)
Using ES File Explorer from the phone doesn't work.
adb from the PC doesn't work (command line has entries saying something about permissions on the failed files)
Help? I'm aware I could try backing up to cloud, but that's a workaround vs actually solving the problem. Plus it takes a while.
deusfaux said:
Most of the files in my TiBU folder will copy. All the properties files, and ~half of the .gz files. Most of these are game backups for progress purposes.
Dragging and dropping using Windows explorer doesn't work (nothing will happen at all)
Using ES File Explorer from the phone doesn't work.
adb from the PC doesn't work (command line has entries saying something about permissions on the failed files)
Help? I'm aware I could try backing up to cloud, but that's a workaround vs actually solving the problem. Plus it takes a while.
Click to expand...
Click to collapse
I think TIBU needs a big update....I have same issue but my biggest problem is I can´t uninstall any system apps (there a some I don´t need) when I tap the uninstall button always same thing...."Cannot find the .apk file .....no problem whith my personally apk´s..?
Somebody same issue?
I ran into the same issue and solved (?) it by rebooting into recovery and doing an adb pull from there. It doesn't work from within Android like you said but once you're in the recovery partition things are different.
I think this not a problem with TiBu (or maybe it just needs an update like shivasrage said), because I can't copy my Nandroids to my PC either. I had to do a adb pull from recovery as well in that case. In fact, now that I remember, yesterday I tried to copy some backups I did in ES Explorer and some of them failed.
Android 4.3 is secure but that's messing with our old habits and making things more difficult.
Yeah but I had this problem before updating to 4.3
deusfaux said:
Yeah but I had this problem before updating to 4.3
Click to expand...
Click to collapse
Oh, that's weird. I never had this problem before 4.3.
I just went through this exact same problem with my TWRP backup files yesterday (Except in that case it was an issue with the latest 2.6 version of TWRP, not the Android OS). For Titanium Backup, I am going to have to go back today and count the files that I copied over to my PC using Windows Explorer and compare it to an adb pull under Recovery. There are so many files as part of the backup that I would never have noticed a couple of missing ones like I did on TWRP.
EDIT: Just checked and 427 files were copied over doing it each way with a full Titanium Backup (Windows Explorer or an adb pull), so it works fine for me. I am on Android version 4.2.2.
I solved the problem by installing BusyBox from Play Store (Normal install). Then, opened a command window (you can also do it using Terminal Emulator) from within my platform-tools folder in C and typed:
adb shell
su (grant permission in the phone)
busybox chown -R 1023.1023 /data/media/*
Click to expand...
Click to collapse
Now I can safely copy all files by drag-n-drop or adb pull from within android.
Cheers
Can someone walk me through solving this? I'm wanting to do a factory reset immediately, but I can't before copying over these Titanium Backup'd apps.
Why is this even happening?
ABD, ES File Explorer, everything is giving me a permission error. The latter said EACCES (Permission denied) Refused by system.
edit: nevermind. I narrowed down the offending files, and forced new backups by deleting the old ones and re-doing them. Something about the way TiBu wrote a handful of the backups was not allowing anything to copy the files.

[Q] Broken .android_secure on sdcard1

My Razr M is running BlissPop-v3.4-moto_msm8960_jbbl-Official-20150531-0035. It's been solid for a few weeks now. My external SD card is 16GB.
My external SD card (sdcard1) now has an errant file with empty date, time, and permissions. Unfortunately, it appears to be an important file, as it's called ".android_secure". Ghost Commander no longer will read sdcard1, even in root mode, as it fails on that file. Total Commander will read sdcard1 just fine, but not that file. I've tried to rename this file and change it's date/time/permissions with no success. Even in root mode, Total Commander won't touch it. I also fired up the Terminal Emulator and tried chown and chmod; both gave me a "permission denied" error even after "su".
The built-in file manager (Cyanogenmod) sees sdcard1 just fine, but doesn't show this file.
My best guess is that ".android_secure" used to be a folder, but something messed it up. I'm not sure what caused this problem as I've done nothing unusual that I've not done before. I got an error during an SFTP transfer this morning when I was copying my latest set of backup files from TiBu, but I think that has happened before. I restarted the SFTP transfer and it worked just fine. I was using Ghost Commander to do the transfer.
I have never moved any apps to sdcard1. Everything else seems to be working fine.
What I think I'll need to do at this point is unmount sdcard1, remove it, then use my desktop to delete that file. I can't do anything to it with any program on the phone. I'll do a "fsck.vfat" on it while it's plugged into my desktop (which runs Linux) and see if that shows anything.
Does anyone have any other suggestions? Thanks!
----
Update:
I played with it a bit more just now and things seem to be working, though it's confusing. I will blame whomever invented the VFAT format and Google for creating such an ugly kluge to get around its limitations.
I'm using Ghost Commander for all the following:
- In root mode, I can't look at /storage/sdcard1 without getting an error: "lstat /storage/sdcard1//.android_secure failed: permission denied"
- In root mode, I can look at /mnt/media_rw/sdcard1 just fine. .android_secure shows up as a folder "drwxrwx---" from Apr 30 23:54, and it's empty
- Not in root mode, I can again look at /storage/sdcard1 just fine. .android_secure shows up as an empty file with no date
Anyway, probably nothing was wrong, but because of this ugly kluge, somehow I ended up in the wrong place even though they all look the same.
Please give a try a new beta version of the application.

trying to restore lost read/write permissions to emulated sd card

sgh-i337 5.0.1 golden eye rom AT&T NakedBrowser Pro
problem -
i was messing around with my phone & did something to affect my ability to download files.
symptoms -
with the 'use system downloader' option checked and trying to download any file i get the message 'could not create file'. if i uncheck that option i get a message that pops up instantly that says 'download done'. moments later the status bar will have a 'downloading done' message. open my downloads from status bar and see a message 'error: (filename) [could not create file]'
when i open quickpic and when i open each folder a message pops up that says 'not an error (code 0): could not open the database in read/write mode'
solution (i think) -
requires me to change permissions to the root folder of the internal, or emulated, sd card. I've tried this using root browser & es file explorer and didn't have any luck (prior to any of this i tried an restore of a full backup through twrp, wiping the davlik cache - no luck)
it looks like i need to approach this using terminal emulator or adb, neither of which I've used, and do this - http://forum.xda-developers.com/showpost.php?p=39514249&postcount=48
my questions are -
am i on the right track?
since i can't download anything directly to my phone and any utilities, apps or otherwise are going to have to be loaded onto a thumb drive from either a friend's house or the library and from there my computer to my phone, is there a best way to handle this?
any recommendations or wisdom to share would be appreciated.

Categories

Resources