Related
I have Open Recovery and was getting ready to flash Kahl's Galaxy and when I went into my nandroid, my back ups were there and the Galaxy folder, however there were no options to "tick" (system, data, cache,...). It was all empty. I can see the nandroids on my PC when I plug it in but can't flash them. Says something like, "Nothing to Restore".
Tried reformatting SD card
Re-installing Open Recovery.
SBF back to stock
32gb card (fat, then 1g ext3, then 125swap- and all are ordered correctly)
Any ideas?
Make sure the folder structure on the sdcard is ...
Code:
/sdcard/nandroid/GalaxyXTV4/ (boot.img, boot.md5, system.img, system.md5)
not
/sdcard/nandroid/GalaxyXTV4/GalaxyXTV4/ (boot.img, boot.md5, system.img, system.md5)
HTH
They are set up the correct way. Even my old bakc ups aren't showing correctly either.
Another clue to the puzzle:
When I go into my Gallery, I get a triangle at the top that says "failed to read/write sdcard. Gallery may not work as expected"
Maybe a mounting issue. Everything was working 2 days ago.
usually the problem is like 3rdstring just said.
but i got also those problem like yours when my sdcard corrupted and can't be mount on phone, try reformating your mem card.
At first I thought it was the card (and still kind of do now) but it seems that Root Explorer, even though you toggle it to r/w, sometimes it kicks back to r/o and that is what is screwing everything up. When reflashed my 2.1 sbf and started from scratch, re-installing Open Recovery, the sdcard was ticked at r/o, so Open Recovery, as hard as it tried, couldn't read the files.
This also created the problem with the media gallery b/c when I tried to save an MMS to the sd card, it would show up as a broken link/pix. This is actually what led me to the r/o vs r/w Root Explorer problem. Ticked it back to r/w and tried to re-save the MMS pix to my sdcard and viola, it worked. Open Recovery shows all my Nadroid back ups and the sub-folders within.
Now if there was some way to figure out how to make Root Explorer r/w all the time and avoid the constant fear that after I reboot sometime, it hasn't gone back to r/o and messes with my head.
I'll tell you that this phone, as frustrating as it may be, is always a learning experience.
1. the software that running on your phone now is came from a "fresh" file master(from market or computer) or from the backup from your sdcard after it crash?
2. is the fat partition set as active?
3. when reformating the card you use card reader or your phone(use phone as card reader) ?
=======
my problem at that time is quite the same as yours.
and it all happpened bcause i ran the software from the backup file( not a fresh one), i format the card using card reader(maybe my card reader is not run well, so the formating process not run perfectly) and i forget to set partition as active lol
when i tried to use a fresh file master, format through my phone(use phone as card reader) all the problem is gone
just from my experience
*bad english, i hope you understand what i said
same Problem
[email protected]
I've the same problem in the gallery. (failed to read/write sd card)
I can shot some pictures an then the cam freezes. After that the whole xt720 freezes.
@Woodrube:
have you try it with the phone USB mode to format the sd card twice?
I tryed 3 different sd cards - all the same problem.
- the orginal class 2 card
- a 32GB class4 card
- a 16 GB class10 card
I tryed also differt roms:
- orginal
- dexters
- and this one http://forum.xda-developers.com/showthread.php?t=1002993
but ever the same problems...
Is it possible that the SD Card reader inside of the phone is damged?!
I need help. i'm going crazy...
USB reader in phone works fine for me. It isn't the card per se, but rather something messing with it to make it glitchy. I have a 32gb class 10 card that is A-OK but I also tested a 16gb class 6 card I had too and it did the exact same thing on me.
I have narrowed it down to the Camera function. For some reason when I take pix it won't write to the card. Was just on a short vacation with my wife and kids and took a picture of my boys sitting on a canon and lo and behold, it didn't write to the card. I think what I did was take the card out, reboot w/o it in and then once phone was fully powered up, inserted my card and remounted it. Picture wasn't there but could open my media gallery with no issues.
To tell you the truth, I have tried so many ways to figure this out, that they are all jumbled now. Once it happens again, I will pay more attention to how I fix it and post it. Really, I think it all comes down to an issue with the camera and the ROM not mingling together.
Running Steelblue ROM, but had same issues with Personared too.
Woodrube said:
I have Open Recovery and was getting ready to flash Kahl's Galaxy and when I went into my nandroid, my back ups were there and the Galaxy folder, however there were no options to "tick" (system, data, cache,...). It was all empty. I can see the nandroids on my PC when I plug it in but can't flash them. Says something like, "Nothing to Restore".
Tried reformatting SD card
Re-installing Open Recovery.
SBF back to stock
32gb card (fat, then 1g ext3, then 125swap- and all are ordered correctly)
Any ideas?
Click to expand...
Click to collapse
I'm sure you've done this, but for completeness, some other things to check are to make sure all partitions are primary and that the fat partition is marked "active" (or "boot" depending on which partitioner you're using)
Been awhile since this was an active thread but I did say I would post a solution when I found one. Seems that something is corrupting the sdcard when you take a picture. Not sure what is causing it but here is the fix.
You will lose that picture, but go into your media gallery and once it all populates in, a triangle will scroll in your notification bar that says sdcard failed to read/write. This seems to screw with all kinds of things.
Solution: delete the picture that doesn't have a thumbnail, pull down notification bar and hit the error message. Unmount sdcard and force stop your media gallery. Remount the sdcard and close out your settings. Reopen your media gallery and you should be good to good. Simple as that. No reboot, battery pull or reformatting needed.
Seems that camera corrupts something during during read/write and it trickles through all SD files, including OR folders.
I was using XXKPQ Gingerbread. Soon my phone started restarting and giving errors.
When I use ODIN I can put new files in to system folders. I installed XXKPE and clockworkmod, then I used adb remount, adb shell to delete everything under data/data, data/app, sdcard, sd-ext. When I do ls it said folders were empty but after restart everything came back!
Is there a way to mount a file system as a volatile memory? It accepts all the changes I say but it reverts back when unmounted and remounted. I thought it might be permission problem but fix_permissions script does not solve it. Also I heard 0 available memory bugs in the forums but my case is not that either.
On recovery menu, I used clockworkmod options to mount the data folder, I erased everything in it via adb shell, and without restarting I unmounted and mounted again using CWM, the files were there again in adb shell!
Since there are files under data/data and data/app folders, I get crashes of those applications all the time when I try to use the phone. If I install the same application from market it works fine but after restart it reverts back to crashing.
snlzkn said:
I was using XXKPQ Gingerbread. Soon my phone started restarting and giving errors.
When I use ODIN I can put new files in to system folders. I installed XXKPE and clockworkmod, then I used adb remount, adb shell to delete everything under data/data, data/app, sdcard, sd-ext. When I do ls it said folders were empty but after restart everything came back!
Is there a way to mount a file system as a volatile memory? It accepts all the changes I say but it reverts back when unmounted and remounted. I thought it might be permission problem but fix_permissions script does not solve it. Also I heard 0 available memory bugs in the forums but my case is not that either.
On recovery menu, I used clockworkmod options to mount the data folder, I erased everything in it via adb shell, and without restarting I unmounted and mounted again using CWM, the files were there again in adb shell!
Since there are files under data/data and data/app folders, I get crashes of those applications all the time when I try to use the phone. If I install the same application from market it works fine but after restart it reverts back to crashing.
Click to expand...
Click to collapse
Exists even after xxkpe + pit flash?
Try converting to ext4 and formatting and then flash xxkpe + pit.
Having read many such issues now, it seems its MoBo issue. Search around a bit. From what i have read, probably service center's the only one who would be able to help you now.
Try VurrutRom , when you install it the rom exchange the internal sd with the external sd.
you will see that your /data folder is now in the external sd. I hope this fix your problem.
@ggclanlord: This phone had motherboard issues before but this looks more like a protection to me. No matter which rom I install the applications and their settings just stay there. I might try ext4 later as well.
reivaj20 said:
Try VurrutRom , when you install it the rom exchange the internal sd with the external sd.
you will see that your /data folder is now in the external sd. I hope this fix your problem.
Click to expand...
Click to collapse
How do I change the internal sd with external sd? I have found this but it does not say it needs to be Vurrut. Is it somehow easier with Vurrut?
http://forum.xda-developers.com/showthread.php?t=1088474
First of all, why are you trying to clear any partition manually ?
Second, /data is a separate partition altogether neither on internal sd nor external.
Flash a full xxkpe with pit and re-partitioned checked. Then flash CF-root. Your phone should return to normal.
Generally you should not need to manually format partition ever but in case you need there are options under Advanced in CWM.
Hope it helps!
Good luck !
Hi,
Apologies if in wrong section, but I have a query about updating the platform.xml file on my Samsung Galaxy Trend GT-S7580
to allow rw access to the external sd card.
I have rooted the phone and mounted the file system, via Mount /system (rw/ro) app. (check root and Titanium backup confirm it as rooted)
I can navigate to and update/save the platform.xml file, however whenever I restart the phone the file reverts to its original and my changed are lost.
Before restarting I was able to create a new folder etc on the sxt sd card, but again after restarting the folder seemed to be gone too!
Is there anything I am doing wrong, or additional steps I am missing out on?
Any help is much appreciated
Update .... turns out its the microSD card that is the problem. Cant seen to write or delete from it even though its not read only.
Got a new card and hey presto, worked fine
EireAsh said:
Hi,
Apologies if in wrong section, but I have a query about updating the platform.xml file on my Samsung Galaxy Trend GT-S7580
to allow rw access to the external sd card.
I have rooted the phone and mounted the file system, via Mount /system (rw/ro) app. (check root and Titanium backup confirm it as rooted)
I can navigate to and update/save the platform.xml file, however whenever I restart the phone the file reverts to its original and my changed are lost.
Before restarting I was able to create a new folder etc on the sxt sd card, but again after restarting the folder seemed to be gone too!
Is there anything I am doing wrong, or additional steps I am missing out on?
Any help is much appreciated
Click to expand...
Click to collapse
Hey Guys -
Amongst other devices, I have a rooted Nvidia Shield Tablet which I primarily use for gaming (of course) and love. Recently, I upgraded to Lollipop and soon after even completely reset the tablet by reapplying the recovery image, then upgrading to Lollipop via OTA (since recovery files still haven't yet been updated.)
There's just one main issue I cannot find a solution for: I have many legacy apps / games and for some of them need to have SD Card write access. Take for instance "Star Wars - Jedi Academy." It's a paid app and when downloaded installs a small APK as well as a folder with the Demo version of the PC game's files. The app says if you copy the retail version files to a folder and point it to them, it will play the full game and does - however - these files are 3.5gb therefore I copied to a folder on my SD. When I open the app/game and point it to the SD Card folder (which it sees), it says the target isn't writable.
When Lollipop first came out, I know many apps needed to be upgrade to be able to write to the SD card - due to Storage Access Framework I believe. They must know that some legacy apps probably may never get updated. How are we to use these? I'd think the fix would come in one of the following forms:
- Xposed Add-on (Installer/Framework still not compatible with Lollipop, though )
- Play Store App - Non-official workaround like ones offered for KitKat
- Lucky Patcher modification?
- Some other method which may require root
- A base Android setting I've overlooked
So... does anyone know a method which is currently out and working? Thanks!
I recently wrote a post about this. Tl;dr you need to reformat your card as ntfs to get it to work, and then do some craziness with the Google Storage Access Framework on command.
Wait a second. Can't you write a simple app like SD fix to repair the way the SD card is accessed?
bzowk said:
Hey Guys -
Amongst other devices, I have a rooted Nvidia Shield Tablet which I primarily use for gaming (of course) and love. Recently, I upgraded to Lollipop and soon after even completely reset the tablet by reapplying the recovery image, then upgrading to Lollipop via OTA (since recovery files still haven't yet been updated.)
There's just one main issue I cannot find a solution for: I have many legacy apps / games and for some of them need to have SD Card write access. Take for instance "Star Wars - Jedi Academy." It's a paid app and when downloaded installs a small APK as well as a folder with the Demo version of the PC game's files. The app says if you copy the retail version files to a folder and point it to them, it will play the full game and does - however - these files are 3.5gb therefore I copied to a folder on my SD. When I open the app/game and point it to the SD Card folder (which it sees), it says the target isn't writable.
So... does anyone know a method which is currently out and working? Thanks!
Click to expand...
Click to collapse
Not sure it will solve your problem, but when I first upgraded to Lollipop I could not write anything to my sd card. Someone else mentioned that if you install Folder Mount, https://play.google.com/store/apps/details?id=com.devasque.fmount, upon first launch it would recognize the issue and offer to fix it. I tried it (used Folder Mount on my old Hisense Sero Pro 7 for a long time so I trust it), and sure enough it works great. Then just uninstall it once you've rebooted. End of problem for me...
Easy fix. If you have root use SD Card Fix by NextApp
https://play.google.com/store/apps/details?id=nextapp.sdfix
Gives you read write back to your ex SD.
Sent from my SM-N910T using XDA Free mobile app
this fix did it for me without installing any app:
http://forum.xda-developers.com/showthread.php?p=44370296#post44370296
Wow - Thanks for all the replies guys! I got it to work!
After reading each, I decided to first try w.0.o.t's suggestion which is a direct but simple edit of a system file instead of installing an app for which I don't know what it does exactly. The example in the link he sent was a bit different as it was for 4.3, so here's what I ended up doing to make it work for 5.0:
1. Opened Root Explorer Pro on my tablet
2. Browsed to the file "/etc/permissions/platform.xml"
3. Copied it to the root of my internal storage (sdcard0) for backup
4. Held down touch on it and choose to Edit in Text Editor. It asked if I wanted to mount volume as RW to which I replied yes
5. Located the section "WRITE_EXTERNAL_STORAGE" and made the edits listed in the "EDITS" section below these steps
6. Saved file, held touch on filename again, went to permissions, and verified that it was set to "644" - it was
7. Restarted tablet
EDITS
Original Data in permissions.xml
Code:
<permission name="android.permission.WRITE_EXTERNAL_STORAGE" >
<group gid="sdcard_r" />
<group gid="sdcard_rw" />
</permission>
Edited Data in permissions.xml What I changed the above values to...
Code:
<permission name="android.permission.WRITE_EXTERNAL_STORAGE" >
<group gid="sdcard_rw" />
<group gid="sdcard_rw" />
<group gid="media_rw" />
</permission>
Notes when editing:
- Make sure that you change "r" to "rw" on the first listed group - may easily be missed when coming above two
- When typing extra line, my tablet auto-corrected the word "gid" and changed it to "god" without me noticing. After rebooting and it not working, I went back and saw the error, fixed it, rebooted, then it worked
To test, I opened FX File Editor and browsed to a file on my SDCard which I previously could not delete. This time, I was able to delete it without issue
Thanks again guys!
glad you sorted it out.
primetechv2 said:
I recently wrote a post about this. Tl;dr you need to reformat your card as ntfs to get it to work, and then do some craziness with the Google Storage Access Framework on command.
Click to expand...
Click to collapse
Do you have a link to some instructions for that method? And does it require root?
KingDestruct said:
Do you have a link to some instructions for that method? And does it require root?
Click to expand...
Click to collapse
No root is needed.
It requires a computer, and probably for you to eject your SD card from your shield and insert it into the computer in a different way, so it's recognized by Windows Explorer.
So you plug in the SD card as mentioned.
Open it up in Windows Explorer. (This usually comes up when you insert the card, but if it doesn't you can usually open the Start Menu or Start Screen and type Explorer to find it.)
Copy everything you want to save out of the card.
Right click in an empty space, then choose Format...
Format the thing as NTFS. Turning off Quick Format probably won't hurt. Don't bother with any other options.
Cross fingers. Try the card again.
primetechv2 said:
No root is needed.
It requires a computer, and probably for you to eject your SD card from your shield and insert it into the computer in a different way, so it's recognized by Windows Explorer.
So you plug in the SD card as mentioned.
Open it up in Windows Explorer. (This usually comes up when you insert the card, but if it doesn't you can usually open the Start Menu or Start Screen and type Explorer to find it.)
Copy everything you want to save out of the card.
Right click in an empty space, then choose Format...
Format the thing as NTFS. Turning off Quick Format probably won't hurt. Don't bother with any other options.
Cross fingers. Try the card again.
Click to expand...
Click to collapse
I'm sorry I should have clarified, I know how to and have formatted the SD card, I was referring to the fiddling around with the Google Storage Access Framework on command. Sorry for the confusion.
KingDestruct said:
I'm sorry I should have clarified, I know how to and have formatted the SD card, I was referring to the fiddling around with the Google Storage Access Framework on command. Sorry for the confusion.
Click to expand...
Click to collapse
The GSAF will only pop up on apps that have been wired to support it. Among others I know ES and FX file explorers are now capable. Any luck with those?
primetechv2 said:
The GSAF will only pop up on apps that have been wired to support it. Among others I know ES and FX file explorers are now capable. Any luck with those?
Click to expand...
Click to collapse
No luck whatsoever. I'm getting the same issue as the original poster. I've tried with both ES File Explorer and FX and Documents crashes as soon as I select the SD Card. The SD card is in NTFS format, would exFAT format make a difference?
---------- Post added at 06:47 AM ---------- Previous post was at 06:19 AM ----------
primetechv2 said:
The GSAF will only pop up on apps that have been wired to support it. Among others I know ES and FX file explorers are now capable. Any luck with those?
Click to expand...
Click to collapse
I have tried using ES File Explorer on my LG G3 running Android 5.0.1 and I was able to write to the SD card. So at this point its an issue with the tablet, which is immensely infuriating since I can't install games to the SD car properly, which is the main thing this tablet is for isn't it?! I really want to play some Hearthstone on it!
You know, at this point, any change in format might make a difference. I'm scratching my head as to why you need to explicitly provided Storage access to ES File Explorer, maybe it just no longer assumes it has the permissions (stock Samsung apps are okay with writing anywhere and preliminary documentation about OEM installed apps said the same thing).
The good news is that I've never destroyed an SD card by formatting formatting it. Go nuts. Try things other than what I suggested... At this point there's a good chance I'm missing something. And I'm sorry for botching my suggestions.
Here's an idea. Between switching formats and maybe allocation sizes (I'm leaning towards trying the smallest one), try formatting your SD card in the system's Storage settings.
Here's another: try the SD Formatter application available here. Raspberry Pi SD cards are sometimes as cranky as Shield ones.
http://www.raspberrypi.org/help/noobs-setup/
I got it to work! I used the SD Formatter you suggested, although it only let me format it to FAT32. I did see some other threads though that said something about renaming the SD card too, so I decided to rename the volume label to "Shield_SD", and I'm guessing that this is the problem, as I never named the SD card. I noticed also that on my LG G3 that the external SD card had a name that was a bunch of random characters, but I could write to it.
dgjenkins said:
Not sure it will solve your problem, but when I first upgraded to Lollipop I could not write anything to my sd card. Someone else mentioned that if you install Folder Mount, https://play.google.com/store/apps/details?id=com.devasque.fmount, upon first launch it would recognize the issue and offer to fix it. I tried it (used Folder Mount on my old Hisense Sero Pro 7 for a long time so I trust it), and sure enough it works great. Then just uninstall it once you've rebooted. End of problem for me...
Click to expand...
Click to collapse
After upgrade to lollipop, then downgrade to KK 4.4.4, had a sd card write pb.
This one solved my problem.
Thanks for that, you made my day.
Best regards
Franck
I have a Sprint Galaxy Note $ Running Stock og5 Rom Rooted via Beast Mode TWRP then Play update, then flashed to Plazma Kernel. I have modified the /etc/permissions/platfom.xml file to include Group Id media_rw in the write to external storage permission and mounted the /mnt/media_rw/estSDcard as r/w in the root explorer portion of ES File Manager and it seemed to work fine for as long as I can remember but now if I try to copy or paste or send something to /storage/extSDcard it is created asychrously and ends up in the LOST.dir folder after a simple unmount remount or reboot or SDcard pull. Other apps are having the same problems like app backup restore and Btitorrent and others when trying to write directly to extSDcard I even went ass far as adding sdcard_all to the aforementioned gid permission set. It seems like such an obvious thing that has been overlooked by develpoers of the rom. I can create masting folders "no asychronously' if I do so buy navigating to /mnt/media_rw/extSDcard rather than /storage/extSDcard and they'll last but not all programs will allow that directory in their settings. Furthermore ES download Manager won't function with either directory and will not allow their app backup file to be saved the /mnt directory. only /0 or /storage/extSDcard.
I have exhausted my abilities with this and have no answer also It seems to be a new problem, and I haven't done anything I can think of to cause this. Partition table is 55000mb Fat32 17009mb ext4 journal partition on the extSDcard. Any Ideas?
Below you can see The before and after of unmounting and remounting my sd card resulting in Populated Lost.dir and loss of created folders also you can see the way that all nav methods resultu in same permission set when checked with a root explorer "total Commander"
wELL i DON'T KNOW WHY BUT REFORMATTING THE SD CARD TO A SINGLE FAT 32 VOLUME SOLVED THE LEAK. i FIRST TRIED AN ALTERNATE SD CARD WITH A SIMILAR PATITION TABLE (EXT2/FAT32) BUT HAD THE SAME PROBLEMS EXCEPT THE DATA WOULD SIMPLY BE GONE INSTEAD OF IN THE LOST.DIR FOLDER. i HAVE YET TO IMPLEMENT THIS TO MY PRIMARY USE SD CARD because of the fact that I have backups and files that I need on that card from before the leak. I anticipate the same results, fingers crossed.
If ANYONE has any incite into why the partition table set up as it was would affect the retention of data in this manner please let me know.
PLEASE PLEASE let me know
Hello,
Try posting your question/issue in the ROM/kernel thread where you got them or their dedicated Q&A thread(if it has one) or even PM the developer in case its something he isn't aware of, he may want to try and solve it so his ROM has no issues.
I hope this helps. Good luck.
Droidriven said:
Hello,
Try posting your question/issue in the ROM/kernel thread where you got them or their dedicated Q&A thread(if it has one) or even PM the developer in case its something he isn't aware of, he may want to try and solve it so his ROM has no issues.
I hope this helps. Good luck.
Click to expand...
Click to collapse
Thanks, I was using stock rom though. And the caps lock was an accident, at any rate i have changed roms and the issue appeared to be a faulty sd card to begin with. I wasn't able to retain data from my reader writer to phone on my primary sd ince reformatted but was when I used a different one. Anyway thanks for the advice and I will use it if I have different questions