Wrong calculated space - G 2014 Q&A, Help & Troubleshooting

Hi there,
i guess something is wrong with my internal storage.
So i did unlock my boot loader, installed SU and reinstalled the image due to the boot loader unlocking.
several issues i encountered now, along with not possible to connect to play store on wifi (had to delete hosts file).
The main issue i now have is that my android shows about 500MB free internal space, but im not able to install apps (installed about 30-40 apps and had to move them in several steps onto the sd card), cant save screenshots or export files from dropbox to sd card (maybe it cant be buffered in internal storage). But i can send pictures through whatsapp which get saved on internal, i have no issues.
also when i take pictures with camera, the files get saved to internal\DCIM but i cant view them with gallery as it requires a reboot of app due to missing temp space.
any ideas whats wrong with my phone?
edit: ok, guess i messed up completely. thought this was maybe a permission issue so i tried the "fix permission" option from twrp and now im stuck in bootloop (seems to be a common issue on lollipop).
as i saved my whatsapp data to my sd card via twrp file explorer, i would likely to do a fresh install of my os (stock rom). how do i get a clean install of that? because when the image reinstalled itself, the internal storage seems not to got wiped as there was a twrp folder on it and i had SU (or maybe i have no idea and this is normal), but i wonder where the issues with host, file permission, (also some whats app issues), aswell as a file i could not delete from internal root (which i copied myself onto it) with root explorer or connected via usb with windows explorer, had to go into twrp and delete it with its explorer.

You did do a factory recovery before flashing and wiped the cache/dalvik before and after flashing didn't you?

Related

[Q] Can't format internal sd

so I have a rather big problem here. My internal SD-card on my I9000 does not accept any changes(delete/write/move).
The funny thing is that I can actually copy files to my sd and delete files. I can even format it(from recovery mode, windows, menu) whatever I do seems to work till I reboot. After every reboot my system is back to the state before I changed anything.
I tried every way I could think of. Changing permission via adb shell, installing file system fixes via adb push(to my surprise it did allow me to copy files directly into /system as long as I did it while in recovery mode).
I even tried several different firmwares. No matter what I do it's the same, no changes are permanent. As soon as I reboot every change is gone.
This feels like working with oracle and forgetting to commit.
Is there a way to format the sd card via adb shell? Preferably a low level format(since the quick format doesn't seem to do anything). Or some sort of forced flush for the sd card? Some way to just clear my internal sd should do the trick.
Every solution I found on the internet didn't work.
What does work is the download mode, the recovery mode and adb.
I sure hope someone has an idea. It's rather unpleasant being unable to change anything on the internal sd.
Have you tried booting into recovery mode, then selecting Mounts and Storage. There's an option there to format the sdcard.
Apologies if you've tried that already...
Yes i tried everything ...
Trie reflashing back to a stock rom and then 3button and see if that works have you tried from system menu go settings storage unmount internal and format.also trie using odin full and repartition that should clear it
Sent from my GT-I9000 using XDA App
omg this also happened to me..i think it is corrupted i just root my phone and messed with the mount/unmound when i was transfering files thru bluetooth it hanged and wallah my internal sd card is untouchable..send it for repair and replaced the motherboard becaused the internal sd is built in.

[Q] Internal SD card not recognized CyanogenMod 7 nightly

I've just now flashed the latest Cyanogenmod 7 nightly on my O2X, and I'm experiencing a problem with my internal SD card.
Any app that want to use the internal SD card is unable to do so because supposedly the card is not mounted, while under Settings - Storage - Internal SD Card, it gives me an option to unmount the card. I've tried unmounting and mounting again, but that didn't do anything.
When I connect my phone to my laptop using USB, the only option I get is the USB Debugging (if I have that on). The only way to get the option to turn on USB storage is if I power off the phone, connect the USB and then power up the phone. That way I get the option to turn on USB storage, but when I do that, nothing happens on the computer or the phone.
If I reboot the phone in recovery mode, then I can select instal zip from internal sd card and then see the different folders on the card, but I have not dared to see if can actually flash Cyanogenmod again in fear of not being able to get any kind of contact with my sd card.
Now I realize that there are ways of fixing this issue, but is there a way that will help me keep the data I have on my internal sd card? I have a lot of information on it that I don't want to lose at all.
Even ideas of how I could backup the internal sd card so that I can just go crazy and format the card would highly appreciated! I've tried the Software Data Cable app, but that didn't work either.
Any help you can give me would be a major relief as I have been struggling with this problem through the night without much results.
Some info:
Before flash: Stock Gingerbread (Android 2.3.4)
Flashed ROM: CyanogenMod-7-20120313-NIGHTLY-p990 (Android 2.3.7)
Phone: LG Optimus 2X p990
No external SD card
Accessing internal storage
Go to settings - CyanogenMod Settings - Application
And check the Internal storage box.
If you have issues with some apps check the "allow moving.." as well
AND change the install location to internal. On automatic this should work anyway since you are not using an externalSD.
--- REMEMBER TO REBOOT---
If you are still having problems fix permissions and reflash the same nightly or a newer one. (data is not lost... dont wipe)
Dont think this applies to you.. but just in case.
If you still have issues with any apps and their settings. Delete the app data at the Application Manager. Then before opening/running the app, delete its associated folders on the sd. (You should be able to mount by now.) Reboot and things should be working fine. Dont worry about this last paragraph if you are not having issues with apps not saving data/starting/cant find sd card etc. Since you dont have a external SD.
Yeah, I found this out just two minutes ago, and now everything works! Thanks a lot elkhawkes!
Woah, I'm happy now!
I don't see why this isn't standard in CyanogenMod though. What are the benefits of "hiding" the internal SD card like that? Is it considered that people who flash CyanogenMod doesn't have anything useful on their internal SD, but rather the external one? At least for me, I had a lot of application data, pictures and text files I needed on the internal SD card.
Well, anyways, all is well for me now, so far...
Ok, I've noticed a problem.
You were right about some apps having problems. It seems like Whatsapp and SwiftKey is unable to save their stats. Message count and keystroke count returns to 0 every time I reboot. Its not the biggest problem, but it might be a symptom of a bigger problem, so I want to fix it.
I have tried all the different suggestions you mention for solving problems with apps, but none of them work. Even when I delete the Whatsapp folder on the internal SD card, the app still has problems saving its stats. I guess that might be because there are more Whatsapp files in one of the android folders on the card.
I was thinking that I might be able to do this sequence of things to fix it, but I'd like to get some confirmation that it might work and I won't brick my phone or will be having to buy and external SD card:
1. Copy everything on the internal SD card to my computer. (Already done!)
2. Re-flash the latest CyanogenMod nightly (and Google Apps) from the internal SD card using ROM Manager and delete all data cache, dalvik and so on.
3. Before installing any apps I go to Settings - CyanogenMod settings - Application and check Use internal storage. That way my internal SD card will be "visible".
4. Go to Settings - Storage and then selecting Erase SD card (note this is the internal SD card, I do not have an external card).
Questions:
- Will step 4. delete everything on the SD card, including all files in the Android folders?
- Will I still be able to use my phone with Cyanogenmod without having any files on the internal SD card (and no external card in the phone) or does flashing CyanogenMod or any other ROM on the phone install crucial files on the internal SD card? I want to know this for sure, because if I can't, then I will have no way of returning to a working ROM or flash a new one. I want to avoid a brick at all cost.
- Can I then start installing all the apps I want and then trying to copy only the folders containing for example the media and messages folders for Whatsapp back to the SD card to recover those on the fresh install?
** What about the Factory data reset option in CyanogenMod? Is that something I can use for this? Will the phone be reset to "factory" with CyanogenMod installed and no other old files on it, so that everything is fresh and I can install my apps and then copy media/backup folders to get the apps running without problems and with my old media?
Any help with this matter would be highly appreciated!
Testing7 said:
Questions:
- Will step 4. delete everything on the SD card, including all files in the Android folders?
Click to expand...
Click to collapse
Yes.
- Will I still be able to use my phone with Cyanogenmod without having any files on the internal SD card (and no external card in the phone) or does flashing CyanogenMod or any other ROM on the phone install crucial files on the internal SD card? I want to know this for sure, because if I can't, then I will have no way of returning to a working ROM or flash a new one. I want to avoid a brick at all cost.
Click to expand...
Click to collapse
Short answer: Yes. Long answer: No properly made Android version should depend on certain files being present on the SD-card. CM7 is a "proper" version.
- Can I then start installing all the apps I want and then trying to copy only the folders containing for example the media and messages folders for Whatsapp back to the SD card to recover those on the fresh install?
Click to expand...
Click to collapse
You should in most cases be able to do that, yes. You may run into trouble if you copy the data back after installing the app if it is running at the time. You may want to mount USB storage/copy data while in CWM to be sure that does not happen.
** What about the Factory data reset option in CyanogenMod? Is that something I can use for this? Will the phone be reset to "factory" with CyanogenMod installed and no other old files on it, so that everything is fresh and I can install my apps and then copy media/backup folders to get the apps running without problems and with my old media?
Click to expand...
Click to collapse
Yes, you should be able to do this. (Be aware that a factory reset, whether built-on or CWM, does not delete anything on the SDcard.) Some apps may initialize their external storage on the first start, some apps may find inconsistencies in the external data, especially if they use som kind of secure or encrypted storage, but that is probably not very common
Fix for apps
... Follow the steps in my post above and then uninstall the effected app, reboot and install again.
If you have backed up the whatsapp folder. Put it back on the sdcard before running the newly installed whatsapp and it should ask to import the backed up files.
- I think it only works if you place the files back before running the freshly installed app.
I`m guessing you might have tried this already. Hope this helps
Like Testing7 said, the files visible on the sd card are safe to delete but erasing the sd and factory resetting is probably not necessary. Personally I backup my important folders.. whatsapp etc on the pc regularly and erase the sd all the time. Its not really neccessary and I do this because I like to keep it clean and its just a "bad" habit from testing out different roms. The folders there are generally just clutter and also use a minimum amount of space, so really it is up to you. They do build up again pretty fast so dont worry about it.
- If you are still having problems... Just start from scratch again
# Backup - SMS and apps... I use Sms/app backup and restore... 2 separate apps on market (both free).
# Copy necessary folders and files to pc - then erase SD
# Recovery - Wipe cache, factory reset, Dalvik, battery stats ... on full battery
# Reflash nightly cm7
# Change all settings like in my first post and then reinstall all apps and backup files.
# And remember to restore files first before running the apps for the first time

[Q] Can't access my internal SD properly

I'm on v28e currently (without CWM), I was going to nvflash the new version an hour ago, but for some reason Titanium Backup says that it can't access my internal SD nor my external one, so I can't backup my stuff. It's a strange thing because I can copy files to it via USB or change files in Astro, so I don't know what can be the reason. I've tried rebooting, reinstalling Titanium etc, now I don't really know where to go next, cause I need my app saves.
i think it's some kind of R/W problem, so for some reasons my phone only can read from my SD card, but can't write to it.

XT890 Data loss? HELP!!!!! PLease!

I can't believe this.
The same crap happened to me on a second XT890. I'm lost for words.
here is what happened.:
Got a phonecall, when I wanted to pick it up the phone would turn off saying not enough power, at 30 % !!???
Ok, so no big deal I thought,...turned it back on, had the same person calling me, everything was fine. Then i noticed the stored mms images would not load inside the conversations. Si turned the phone off and on again, mms images are loading again.
Got another phone call and my personal ringtone, gone, no longer there. Couldn't even switch it back even though the file, supposedly was there. Then I tried to play the file, google play music would not.
Next, all my images are gone, no longer folders of the camera and images and videos. Using quickoffice , that app says, no files on the internal sd card! WTF!?
Turning the phone off an on again, let me see the files on the card again, even let me play an audio file, going in and out of the folder, the files disappeared again.
So long story short. Everything seems to work except my files are gone and quickoffice and fileviewers won't find the files. When i put in an external sd card that works fine on other devices, it won't load the files, images, videos, only maybe 3 of 100!? What the hell.
This is the second time on a different phone but same model this has happened.
I can't afford to loose the images and recordings. are they gone? what has happened? I ran DR Fone recovery, and even that won't find the images i need,
Phone is rooted. And it's driving me nuts. Battery was replaced 6 months ago, everything was fine. Now that.
Please help, need my files, desperately.
What could have caused this? ? What is not working properly? Indexing? Gallery? Quickoffice?
Could be a corruption in the data
" corruption on your internal memory
" corruption on the system partition or dalvik
See if adb can find the files on your internal sdcard. With the command: adb shell ls /storage/sdcard0/[path to video/photo]
Thanks will try.!
In the meantime Root Browser shows the sd card as empty, and last time changed as 8/5/12 which was the build date of the phone.... :-/
Funky, When hooking up for adb and running a command the files and sd card became visible. So while visible I was able to safe all the files to external card. When restarting the phone the internal sd and files disappeared again. I cleared cache and dalvik and media storage, no effect. files remain hidden. Running sd maid it says system files are hidden. using es file explorer running showing hidden files i get a no permission response. same for sd card, says no permission. so something is blocking me. virus? i don't really use wlan or internet, wondering how to get everything working again. files and everything is there, but i have no access.
Still looks like a corruption somewhere. I should just safe all files that u need, backup data and do a full system restore and start over. With full I mean also a internal memory wipe.
Maybe there is a much better option, but I don't know any atm.
Still fiddling with it. Thought I just do a factory reset. Well didn't work.
Somehow before I did the reset the media store app was moved to sd card and a different apk was placed in system / app folder.
After the restart you guessed it, all data was gone as expected. Gallery and ringtones and video, and so on won't show. The media storage apk is in system/app folder, but it won't show under settings/apps/all.....
Not being an expert I think I messed this up by switching out the apks,.../
The one now in the system folder is: version 4.04-1351904261 but I need version 4.04-1344118159
Who can tell me where i can find one?

Sdcard write protected-Facebook is suspect

My phone is rooted. I am using Lenovo A7000 phone with AOSP 6.0 by Risma Ermaya.
I have formatted my SD card as internal storage using the default feature of marshmallow.
Few months back, I started facing the issue of Facebook and Messenger updates. Whenever I used to update my facebook or messenger from the playstore, these apps stopped opening and used to crash. But after I used to restart my phone, these applications ran fine. A week ago, I installed instgram for the first time in this phone. Similar thing happened with it too. After installation from Google Play store, it did not open. However, after restarting the phone, everything went well.*
Yesterday, I was updating facebook, I got the error 403. I cleared up data of my playstore app after forced stopping it, removed all my google accounts from the phone, and rebooted the device. After rebooting, the error was still showing up in the playstore. Feeling frustrated, I forced stopped Google Play services framework application, cleared it data and rebooted my phone. But, the problem was still there.
I have got into deeper trouble now. My microSD card has become write protected. I did not remove my SD card at all since months. It is of sandisk brand and has class 10.*
I cannot take screenshots. I cannot download any file from chrome browser. I cannot download images sent to me by my friends through whatsapp.*
I cannot even copy one file in its folder to another folder in the memory card. I have tried using the default file explorer and Solid Explorer application. I have just 587 MB remaining in my phone. However, I can access any file I want to. My videos and music are playing just fine.*
I am also able to delete any files within the file explorer, so that I can make a nandroid backup of my files in TWRP. Even TWRP does not allow me to delete my music and videos within the SD card. What should I do to fix this trouble? I do not want to format my SD card as it has lot of important data. Even if I connect my phone to my PC and try to copy the files, the process hangs after few seconds and Windows explorer hangs which is displaying the content in my SD card. I am running windows 8.1.
I have also tried unmounting and remounting my sd card using the in built feature of Marshmallow, but this trick still doesn't solve my trouble.*
I have also tried clearing cache and dalvic from TWRP but still no progress. I feel that facebook is the culprit because while clearing cache in TWRP, it gives the error that it could not clear cache from com.facebook.katana folder.

Categories

Resources