[Q] Internal storage disappeared, can't access twrp. HELP! - G2 Q&A, Help & Troubleshooting

Hello!
I have a major problem and I really hope you will be able to help me.
For the past several months, I've been using ParanoidAndroid (4.4.2.). Everything was great. I was using the version that had a lot of tweaks added. I used Paranoid OTA to update to versions with tweaks. Last update (04/06) had removed tweaks and the ROM had started to randomly close apps, desktop and glitching all together.
Seeing this, I decide to re-flash. So I go through the regular checklist. Launch Titanium Backup to backup all the apps that are necessary for me. Whilst backuping an app, the rom glitches and closes Titanium and starts randomly closing the desktop so the rom is not usable. I restart.
After the restart I see that all my files have disappeared from the internal storage and I see that there is 25GB of free space (I know that I have about 1GB free). I do not panic and connect the phone to the PC and it also shows that internal memory is empty. I reboot to TWRP file manager which shows original folders but no content. I get worried.
I decide to just go ahead and flash CloudyStock. I know that there is 1GB free, ROM is 1.8GB. When copying to phone, transfer freezes after about half. This tells me that files are on my phone but for some reason are not accessible. So I download the AOKP ROM which is smaller, put it on my internal storage and go through the normal flashing process.
The problem now is that this got me to a bootloop stage and the only things I can enter is "Factory Hard Reset" and "Download mode".
If I use the Factory Hard Reset, it will wipe the internal storage and my files will be lost forever. And with the Download mode I can return to full stock but it will also wipe the internal storage.
In short: ROM glitched, can't see or access my files, flashed ROM, stuck in a bootloop, internal storage is almost full but PC shows that it is empty. I cannot get into TWRP.
Is there anyway to get all the data from internal storage safely to my computer so I can go ahead with the flash to stock?

Related

Can I remove my secondary partition???

Ok, first off, I'm new to this, I've only had my android for about 1 1/2 months. I've read a million threads and posts to absorb information so I don't have to ask stupid questions like this. However, I've searched and tried several different methods, and none have worked. I apologize in advance because I'm sure the information is already somewhere in this forum, but I can't seem to find the specific information for my phone, Mt3G.
The problem I'm having is that last week I decided to partition my my sdcard so I could see how apps2sd worked. After some trial and error, I got it to work.
1. 64 mb swap
2. 512 mb ext
3 remainder on FAT32
After a couple of days, I started notices lags and also issues such as not being able to upload images to facebook, trouble downloading apps from the market, not being able to receive MMS messages or sending them, etc. Overall, it seems like partitions are causing my phone to lag, run slow and other small glitches, so I would like to remove all the partitions, format the sdcard, and just have one single FAT32 partition, as if it were stock. I no longer want apps2sd.
I've tried 'droid explorer', I've followed the cyanogen tutorial on how to uninstall apps2sd via terminal emulator, I've tried wiping, formatting, everything, nothing works. Every time I reboot my phone, the secondary partition still remains, although it says total space unavailable now, but its still there, and according to droid explorer, the apps are still there. I just want to get rid of everything because as of right now, most of my downloaded app icons don't appear, but when I go to download the apps at the market, they say they are already installed. I dont know, I'm about to just throw my phone at the wall.
Any help would be greatly appreciated. By the way, here is my current setup.
Phone: MT3G
ROM: Cyanogen 4.2.11.1 + Cyanogen recovery 1.4
Instead of Cyanogen's recovery, install Amon_RA's 1.5.2G
It will let you format your SD back to Fat32, or you can repartition it the the three, with just the click of a trackball.
In doing so, you will more than likely have to reflash the rom due to you losing all your apps and whatnot that's also on the ext partition, since you will be deleting it.
Backup all your stuff onto your computer first, as you will lose it all when it wipes the slate clean.
@tazz, hey, thanks for your reply. So let me elaborate, when I originally partitioned my card I had amon_ra on my phone. When I started noticing problems, I went back into recovery to see if there was any way to delete or repartition back to a single FAT32, but I couldn't find anything. I stated to back track and flashed CM recovery back on my phone, wiped, reflashed ROM, etc. Nothing...in fact, it caused even more force closes and still, my apps didn't appear in the app drawer, although according to market place and android explorer, they were installed.
Anyway, I took your advice, reflashed amon_ra recovery back on my phone, but I still do not see an option to partition with a single FAT32. All I'm seeing is the option to repartion the SD card, then it gives me the option to pick swap size, ext size, then the remainder on the fat32. Do I just set the swap and ext to 0? Also, do I wipe at all in this process?
yeah just put it to zero. i was thinking about his 1.2.3.
if you put them to zero, it should work out the same either way.
Hmmm....I must be doing something wrong. Went into recovery, selected 'partition sd', set swap to '0', set ext to '0', remainder to FAT32, flashed ROM, system reboot. Secondary partition still appears when I go into the sd storage under settings. Also, android explorer still showing apps in data folder, and marketplace still shows apps such as astro file manager still installed. I'm lost.
Update: Tazz, I followed your instructions, reflashed ROM, rebooted. Secondary partion still appeared. However, I noticed that the option for 'unmounting sdcard' was available. So, I unmounted and physically removed my sdcard to see if this was causing the problem or if it was something internal. After removing sdcard, I still had my applications showing that they were installed, but not showing in app drawer. I decided to try flashing an older CM ROM, just to see what happens. It worked! After flashing older ROM verision, I reflashed newer version and all my problems were solves.
Anyway, just wanted to say thanks for helping me get rid of my partitions.

TWRP write protect issue

I flashed my i9500 with TWRP 2.8.1.0 using Odin and it wrote an undeletable backup onto my internal memory. To get rid of that, I backed up the "BACKUPS" folder and formatted the internal storage only for it now to cause the entire internal storage to be write protected to my android apps. I can copy and delete stuff to it through PC but my apps wont work, those that require to download pics and videos or make backups to the internal storage, web browsers can't download anything to the internal storage yet I now have over 7GB free space.
It's clear TWRP is write protecting the internal storage selectively (first it wrote protected the storage to both the phone and pc, now to the phone only). How should I sort this problem out?
I have also just tried using root explorer to change permissions to the internal storage but it doesn't work. It's failing. Titanium backup shows its own backup folder is unwrittable. It cannot be changed by Root explorer
I just tried fixing permissions in twrp but to no avail. I uninstalled Clean master only to try and re-install it and it won't install now, it gives a failed install error. Kingsoft office continually shows "stopped working" and fails to work completely. All this started with flashing Twrp. I can't view pics in whats app or send them, neither can I edit documents. Any help to rid of this issue will be gladly appreciated.
People please please avoid twrp at all costs!, i have now lost all my data and apps are all failing. I deerly deerly regret why i ever flashed twrp recover in the first place!
I seem to have solved the issue after a very grueling experience.
TWRP has its flaws and it is quite notable here. Here is how I have gotten around the issue:-
Immediately after I installed TWRP I made a system backup of the entire phone as of its state at the time.
I copied it to my pc and tried to delete the backup that TWRP had made. It was completely write protected, nothing could delete it.
I then decided to use TWRP to format my internal storage after backing it up. Then restore the data back which I did successfully.
Little did I know what had happened. TWRP had assigned the internal storage attributes that even Root explorer (paid) could not undo.
The internal storage had become unusable to the system and user apps.
Slowly my apps began to collapse one after the other failing. From frustration I tried to salvage the data the apps held at the time so that I can factory reset and restore but Titanium backup could not access its own folder. That's where all the frustration begun.
I later flashed CWM and accidentally formatted all my data instead of the data partition.. this was now hell.
One last try which was about 5 hours later I returned TWRP recovery, wiped the data partition and got hold of my prior backup with TWRP, restored it and am 9 hrs back from total loss of data. So the internal storage now has its initial attributes prior to the predicament.
Am actually back exactly to where all this mayhem began when I decided to delete the "BACKUPS" folder and there was absolutely nothing else that was wrong, which now I will attempt to delete hoping that I won't experience deja vu.
This is a problem worth reporting to TWRP developers and I don't know how
TWRP recovery Fix Permissions
I couldn't delete back ups from the internal storage at all. I couldn't even copy saved back ups from my pc to my Note 3. I went into TWRP recovery, under Advanced select Fix Permissions
Now I can delete folders in the TWRP main folder with a ES file explorer or on my PC via usb cable.
Never had any problems like this with TWRP on my S4+. For me the backups taken and its folders can be handled just fine, copied, deleted, moved etc. Must be som compatibility issue with your setup.

[Q] reboot problem / full wipe

Hi there,
i'm having some trouble with my S4, i9505.
I installed Resurrection Remix last weekend, and it hasn't been stable ever since. (cm-Resurrection_Remix_LP_v5.3.2-20150127)
In the beginning it would hold out for a few hours, but it started to reboot more and more frequently.
Finally, it would start to reboot, even whil rebooting into the recovery. Very annoying, and very hard to do anything.
I managed to restore to a nandroid backup from October 2014, but there's another problem.
I had installed that rom early in October It's Cyanogenmod 11.x.... Not sure exactly which version. I used the installer provided by cyanogenmod.org. That one has served me well for a long time, but lately I was having memory issues. I couldn't install new apps and even updating no longer works. I have >4GB free on my external SD, but installing apps to SD didn;t work. Moving apps to SD to make space was no go either. I kept getting "insufficient space" The operating system showed less than half the space on the internal memory was used. Lots of space left, but no space for apps apparently. ES file explorer doesn't think there's much space left on the internal SD. a few 100 MB max.
That's what tirgered moving to RR, but clearly that did'nt work well. I did a factory wipe from the recovery and cleared the cache.
What struck me is that the factory wipe isn't very thorough. Lots of data from apps was still accessible when Resurrection Remix was still behaving.
I tried to install cm-12-20150420-OPTIMIZED-FINAL-jflte.zip, but the installation quickly aborted saying it couldn't mount /system.
I managed to put my nandroid on the SD card and restored to the old situation, but the memory problems are still there.
In short, any idea what could be causing this behaviour?
and is there a way to do a complete and absolute wipe, so that any errors that may have accumulated over time will be erased?
I get the feeling that some link or redirection is wrong and the installs that I do get botched just a little bit.
Cheers,
Everything you are using is old and highly outdated.
1. Flash the latest TWRP from here:
http://teamw.in/devices/samsunggalaxys4internationalqualcomm.html
2.
Download the rom from my signature.
3.
Flash away and it will work fine.
Cool. Thanks. Will try that!
M
Hmmm. Didn't fix it.
OK. So I did that. ... As my phone thinks it's full, I had to do the install using terminal emulator.
Once that was done, it was smooth sailing.
Just started up again. But I only can get a few of the apps I used to have. I'm getting "device memory full" again.
I did the wipe function from twrp. Including wipe of Dalvik cache.
The "storage" item in settings says I have 397 mb available of 9.13gb, but visually the free space looks about 4 times larger than the .75 or so gb of data used by apps, etc.
Any ideas?
Menno
Mainow said:
OK. So I did that. ... As my phone thinks it's full, I had to do the install using terminal emulator.
Once that was done, it was smooth sailing.
Just started up again. But I only can get a few of the apps I used to have. I'm getting "device memory full" again.
I did the wipe function from twrp. Including wipe of Dalvik cache.
The "storage" item in settings says I have 397 mb available of 9.13gb, but visually the free space looks about 4 times larger than the .75 or so gb of data used by apps, etc.
Any ideas?
Menno
Click to expand...
Click to collapse
The memory full mesages is displayed when your internal storage is full. TWRP never wipes your internal storage. Delete the files manually or in TWRP select advanced wipe and select /data partiton.
Lennyz1988 said:
The memory full mesages is displayed when your internal storage is full. TWRP never wipes your internal storage. Delete the files manually or in TWRP select advanced wipe and select /data partiton.
Click to expand...
Click to collapse
Wow! thanks.
I went into TWRP and used the file manager.
Browsed around a bit and found a folder in /Data which belongs to Clockworkmod. The Cyanogenmod filemanager doesn't get there.
It basically had copies of all the nandroid backups I had made. with Clockworkmod. Not cool. I had made the backups to SD card, so apparently CWM forgot to delete these, or so.
Anyway, I deleted those folders and I'm back in business.
Cheers!
Issues after OtA
So..... just posting on my original thread. Hope someone is seeing this.
Last clean update went well... Apart from a few minor issues the wifi and bluetooth stability.
But since mid August my phone was nagging me about a new update being available. So I went for it finaly. Did OTA update 2 days ago.
Did not go well.
Gmail broken, Google Play crashing and bad wif stability.
Read around a bit on this forum.. Decided to do a clean install. MUCh better! :victory:
But... 2 issues remain...
1. my wifi doesn't seem to want to connect when I want it to. I always had issues with the wifi not connecting when the wifi strenght was not perfect, but since the August update, I can be standing right next to the AP and it's not connecting. My AP shows up right on top, and it just says saved. When I tap it and press connect, nothing happens. It does randomly connect every once in a while, for a couple of minutes... It works perfectly, great bandwitdh... and then nothing. It's not my AP. I'm posting from my laptop which has great connectivity. I put in the neighbour's wifi. Same thing.
2. How do I get rid of the Google search bar on top of the screen. Can't find it in the settings.
Oh. and when I switched over to cM12, I seem to have lost root access. How to get it bacK?
Cheers,
Menno

S4 running low on space

I have an S4 with OmegaRom v42 5.0.1 and as you can see below it is showing as internal memory almost full but I cannot find out where the space is.
when I updated from 4.3.1 to 5.0.1 I could still al ot of the old system files so I am guessing they are still around.
ES Explorer is not able to tell me where this wasted space is.
Is there anything I can do from recovery to clear some room?
Or another app which can tell me what exactly is taking up all this space?
Oh I also have FolderMount installed and I have some games which are stored on the SD card, that might be the reason for the erroneous size.
What recovery are you using?
I had a similar problem when going from GPE to CM roms and vice versa. Game data in the android/obb folder would disappear, but still use space. And I couldn't find it using a file explorer. Returning back to the previous rom (on which the game was downloaded) made the data reappear.
I also got the "system is running out of space" message from flashing a kernel (which was in beta).
TWRP
Pull all the data you can off internal storage and format the internal storage using TWRP's wipe option. Afterward, put all the items back on the internal storage.
Will I copy all internal data from within TWRP to memory card, wipe it, then copy back to internal also from within TWRP?
It's probably best to do it from within TWRP and its mount menu as that way none of your apps are running.
Post No. 3000. Yay me! LOL.

Flashing ROMs messes up access to my internal storage

When I was using the factory international rom, my internal storage like in TWRP/install is perfectly readable. I am sure my device has everything done needed to flash a custom rom. But like when I flash Havoc's ROM or lineage, then reboot to recovery, under install the directories become a bunch of folders with illegible names, and I cannot write to/from it anymore. The rom works fine, except the same thing happens when trying to access the files in the storage through a file manager or my computer.
Please this is super frustrating. If anyone has a solution to this, it would be of great help. Especially because now I cannot even restore backups in TWRP. Same for the apps like in titanium backup, I cannot restore them because it says there is no such directory anymore. I cannot for the life of me figure out what happens to my internal storage when I flash a ROM. I really don't want to have to use the MSM tool once again to start completely over again from the very beginning like I have so many times.
Thank you if you have any sort of solution to this, it would be greatly appreciated.
EDIT: I fixed the encryption by formatting my data in TWRP. I lost everything, but it did work. I wiped all my data, then let the phone fully reboot without any lockscreen functions chosen. Then I got my internal storage directory back again. Good enough for me.

Categories

Resources