Can't wipe or change /data - Android Q&A, Help & Troubleshooting

Hi, today I encountered a severe problem.
I wanted to share a 1GB pdf file on my computer to my phone, so I put it on Dropbox. On the phone, I normally would "export to SDcard" but I saw a new option called "Make Available Offline". So I chose that and left the phone to download for about 30 mins.
Then all of a sudden, I kept getting popups "com.google.gapps" stopped responding, and suddenly all my programs kept popping up to say they've stopped responding, even programs like keyboard and titanium backup and many other programs I didn't think were even running. They were popping up at the rate of twice every second and its hard to even press "Ok". Slowly I managed to get into the Settings->Apps then noticed Dropbox has cache of 500MB and data of 200MB. I tried to clear cache, nothing happened. Tried to clear data, nothing happened. Tried the Settings->Apps->3 dots->Clear all app cache, it says 1GB cleared, but still giving me popups. I tried to uninstall Dropbox, Facebook, and other large programs, it says they're uninstalled but upon reboot they're still there. Dropbox is gone from the list, but its still in the launcher as a grey icon. Facebook everytime I press Uninstall app, the phone reboots.
Then I went into CWM recovery, chose "wipe cache" and "wipe dalvik", all it did was upon next reboot I'd have "Android isupgrading, optimising app xxx of 268".
Finally I decided to "factory reset" from CWM recovery. So I wiped data, cache and dalvik.
Upon reboot, I'm STILL back at my normal OS/launcher. Its as if /data is locked and can't be written to or something.
What do I do?
Phone is Asus Padfone A68, ROM is Android Kitkat (4.4?) standard. CWM recovery is installed, some old version that works with this phone.

I "solved" it by going into CWM/TWRP, then I repartitioned the internal storage using :
adb shell
su
parted /dev/block/mmcblk0p30
partition 1, ext2
e2fsck /dev/block/mmcblk0p30
I lost everything on my phone. No backups, the CWM and TWRP backups were in the internal storage and they're all gone.

Related

Unable to Clear System Cache, Backups not Restoring

So, I'm a bit stumped as what to do here. I have an LG Optimus V, running on Virgin's network. I have rooted my phone through IHO (using CM7.1). The guide I used to root the phone I would link but since I'm a newbie I can't...
My problem is the system cache is slowly diminishing. I've noticed this when I try to go and install an app on the market and it says I have insufficient space on the device. Well, I have around 100mb free on the phone, and around 7gb free on my SD card. So, after some research I found how the market install apps through the cache.
Every post and guide I've read to fix this issue says to wipe the market cache and data, or wipe the phone's cache and dalvik cache. I have done both. Still, I have insufficient space on the device. I got a system stat app that displays info about the cache. For system cache, it says I have around 110mb total, but only about 12mb free.
So, I recovered a backup of mine (it still had IHO running). This time it had 20mb free, even after wiping all the cache. I tried wiping the cache through Titanium Backup, with no luck.
At this point, I'm unsure how long I've had this problem. I wonder if I had it from when I first flashed IHO (which was sometime early January) and the cache has just slowly decreased over time, and it's gotten so low I'm now having issues. I didn't have this before I rooted my phone. But this is obviously a problem, because if it continuous to decrease, not only will I not be able to install hardly any apps, but I won't even be able to download updates, to my understanding.
So, after that backup failing I went on to flash my other backup, rooted but without cm7 flashed. However, before I tried recovering this backup I wiped the entire phone (data, cache, dalvik cache). Then after trying to restore I got a MD5 mismatch! error.
I've scoured the internet and can't find anything relating to my cache issue. I feel helpless! And I have no idea what to do. Any ideas?
EDIT: I don't know if this matters or not, but I forgot to mention that the recovery I'm using is called "Xionia CWMA" v1.2518.6. I'm assuming this is a modded version of ClockworkMod.
I think you are getting the system and data partitions mixed up.
When you install apps from the market, they take up space in the /data folder in your phone. I believe this folder can also be looked at as your internal memory.
The system folder is a whole other folder that the market does not touch at all. The apps in the /system folder are your system apps (pretty much all the apps that cannot be uninstalled through settings).
When the market says you have insufficient space on your device, it is saying that you need to free up some room in your /data folder, not your /system folder. One thing you can do is start moving all of your apps to the sdcard. There are two ways:
1. Go to settings>applications>manage applications. Under each app, select the option "move to sdcard."
or
2. Using titanium backup, you can do a batch operation that automatically moves your apps to the sdcard for you (menu button>batch>move user apps to the sdcard).
This should free up a lot of space if you haven't done this already.
As for your md5 error, I have no clue about that.
Hmmm. OK. Well I have most of my apps moved over to my SD card. I would barely have much space to do anything if I didn't move them to the SD; this phone has a pathetic internal space.
I'm looking at the app list and it says I have 72mb used, but 107mb free. I'm pretty sure that this is enough space to install an app at 20mb! As for my SD card, I've used 7.06gb and have 7.9gb free.
Thing is, before I rooted I didn't have the insufficient space error, and I had WAAAAY less space free. I would have around 40mb free maximum. Even when I first rooted the phone and put cm7 on it, this problem didn't appear. It started popping up maybe two weeks ago or so? And it seems to be getting worse.
EDIT: Ok, so I went and tried using Titanium Backup to move the rest of my apps to the SD card. I moved everything except my theme (LunarUI) and LauncherPro. I think I read somewhere you shouldn't move those apps. Anyways, I now have around 130mb free of internal space. And I still have the insufficient space error.

[Q] Nothing Works..

Okay, so my phone wasn't sending messages all of a sudden. I have a P769 on jelly bean rooted. I restarted it and it got stuck in a bootloop over and over again after countless battery removals. I used CWM and tried to restore my backup of JB rooted, and all I got was a bunch of force closes. So I restored to my 10G rooted on ICS. All of my Google apps were gone and I went to take a picture and it said my internal memory was full and wouldn't read my SD card. I did factory resets and nothing works. I'm not sure what else to try.. any help would be appreciated!
Edit: I finally got JB to load and it would scan my SD card, then reboot itself while it was still up and running? I could see my backlights on my buttons flashing. So I took out my SD card, same thing. I wiped the cache and reformatted my SD card and now i'm getting an error message saying that my UIDs are inconsistent and it won't let me do a thing on the phone. My phone was fine 12 hours ago.. I haven't downloaded a thing or accessed anything at all.
dcon025 said:
Okay, so my phone wasn't sending messages all of a sudden. I have a P769 on jelly bean rooted. I restarted it and it got stuck in a bootloop over and over again after countless battery removals. I used CWM and tried to restore my backup of JB rooted, and all I got was a bunch of force closes. So I restored to my 10G rooted on ICS. All of my Google apps were gone and I went to take a picture and it said my internal memory was full and wouldn't read my SD card. I did factory resets and nothing works. I'm not sure what else to try.. any help would be appreciated!
Edit: I finally got JB to load and it would scan my SD card, then reboot itself while it was still up and running? I could see my backlights on my buttons flashing. So I took out my SD card, same thing. I wiped the cache and reformatted my SD card and now i'm getting an error message saying that my UIDs are inconsistent and it won't let me do a thing on the phone. My phone was fine 12 hours ago.. I haven't downloaded a thing or accessed anything at all.
Click to expand...
Click to collapse
I know the UID inconsistent error from my previous phone. Wipe data. Solves the problem.
Sent from my LG-P760 using Tapatalk 2
How did you 'reformatted sdcard' ? Are you talking about internal memory(built in) or external memory (microsd)?
If you have some fresh backup system like 20x STOCK or whatever. (you can download it from XDA)
After this actions it will totally format your phone. You will no longer have system, apps, files that were on internal memory. It's kind of format C: on computer! So make sure you have backup on your external sdcard (microsd) and make sure to don't format your external sdcard.
I did it few times when I was messing around with custom ROMs so it's safe. I'm owner of P760 but don't think so if it will cause some problems.
1.Then you can go into CWM and mounts and storage and format following:
/cache
/data
/system
/sdcard - it is INTERNAL MEMORY (built in)
2.and then Advanced -> wipe dalvik cache
3. backup and restore -> restore from external sdcard -> choose your backup
maxver0 said:
How did you 'reformatted sdcard' ? Are you talking about internal memory(built in) or external memory (microsd)?
If you have some fresh backup system like 20x STOCK or whatever. (you can download it from XDA)
After this actions it will totally format your phone. You will no longer have system, apps, files that were on internal memory. It's kind of format C: on computer! So make sure you have backup on your external sdcard (microsd) and make sure to don't format your external sdcard.
I did it few times when I was messing around with custom ROMs so it's safe. I'm owner of P760 but don't think so if it will cause some problems.
1.Then you can go into CWM and mounts and storage and format following:
/cache
/data
/system
/sdcard - it is INTERNAL MEMORY (built in)
2.and then Advanced -> wipe dalvik cache
3. backup and restore -> restore from external sdcard -> choose your backup
Click to expand...
Click to collapse
I've wiped the data like the previous answer, and I also tried this.. I went into CWM and formatted all of this and wiped the dalvik cache, then tried to restore from external sdcard, which I tried my JB and ICS and neither worked. Right now I am on my JB and it just gets stuck at the T-Mobile 4G logo.
EDIT: I tried formatting everything and restoring from my external sdcard and my phone won't recognize my sdcard anymore. It says there are no files on it, but I try it on another phone and I can see the files.
I've had something along these lines before on my Huawei Honor. I never did work out what was wrong. I asked on xda and it was suggested that the partitions on the phone had resized/gone corrupt.
I'm not saying this is what has happened in your case. The sudden force closes and then no boot is what my Honor did.
Can you get software update mode to come on? Switch off, hold volume up and plug in usb from pc.
Sent from my LG-P768
Yes I had the same problem when I upgraded from ics to jb. Never figured out what happened but I copied all my files to the computer then I formatted my external sd. After the format I just copied all the stuff back on the card. Also cwm doesn't work for the second partition. Good luck.
Sent from my LG-P769(20d) using the xda-developers app. Press the thanks button if I helped you.

[Q] Problem installing UltimaAOSP v1.1.1 [Valhalla]

Hello!
For some reason I am having some major trouble when I'm trying to install UltimaAOSP v1.1.1 [Valhalla] on my i9300. I have been running UltimaRom v15 for a long time now, but it has been acting up lately (the photo sphere function in the camera crashes every time it's launched and the "system UI" crashes when i try to enable the GPS), so I decided to try out UltimaAOSP.
I have followed the install instructions exactly, wipe data/factory reset and unmount cache. I have tried with and without installing GApps.
PROBLEM: When i restart the phone I can barely get past the sim password screen before stuff starts crashing (contextprovider, phone and one more that i can't remember), and It just keeps crashing over and over so I can't really do anything. When It's left alone for 30 seconds or so it restarts the phone and everything starts crashing again.
"Extra" stuff i have tried:
- Wiping cache partition
- Clearing dalvik cache
- Moving the .zip-file to the internal sd card and external sd card
- Installing V1.1, got exactly the same error(s)
I am currently using CWM 6.0.4.6
Please help? This Is driving me nuts!
Sander91 said:
Hello!
For some reason I am having some major trouble when I'm trying to install UltimaAOSP v1.1.1 [Valhalla] on my i9300. I have been running UltimaRom v15 for a long time now, but it has been acting up lately (the photo sphere function in the camera crashes every time it's launched and the "system UI" crashes when i try to enable the GPS), so I decided to try out UltimaAOSP.
I have followed the install instructions exactly, wipe data/factory reset and unmount cache. I have tried with and without installing GApps.
PROBLEM: When i restart the phone I can barely get past the sim password screen before stuff starts crashing (contextprovider, phone and one more that i can't remember), and It just keeps crashing over and over so I can't really do anything. When It's left alone for 30 seconds or so it restarts the phone and everything starts crashing again.
"Extra" stuff i have tried:
- Wiping cache partition
- Clearing dalvik cache
- Moving the .zip-file to the internal sd card and external sd card
- Installing V1.1, got exactly the same error(s)
I am currently using CWM 6.0.4.6
Please help? This Is driving me nuts!
Click to expand...
Click to collapse
Try a full wipe format in mounts and storage format the following: format/system, format/cache, format /preload, format /data, warning this will leave you without any rom so make sure you have one ready to flash on your Ext SD.
Because you are not fully wiping it is leaving files behind which interferer with your new installation (short explanation)
Also I would recommend Philz recovery which does all this for you (it as a option to wipe to install a new rom) :good:
tallman43 said:
Try a full wipe format in mounts and storage format the following: format/system, format/cache, format /preload, format /data, warning this will leave you without any rom so make sure you have one ready to flash on your Ext SD.
Because you are not fully wiping it is leaving files behind which interferer with your new installation (short explanation)
Also I would recommend Philz recovery which does all this for you (it as a option to wipe to install a new rom) :good:
Click to expand...
Click to collapse
That fixed it, thank you!

[Q] Boot crash: Cyanogenmod 11 + Link2SD gone wrong

Edit #1: Sorry, the question form didn't save the "This is a question post" tick after I previewed, I hope that doesn't mess up things.
Edit #2: I should also point out that I backed up everything previously, so I don't care about saving any data on the phone, I just want it working again...
Edit #3: I keep forgetting some small details, the phone wouldn't boot even when removing the SD card.
Hello,
Two days ago I decided to try the SD Link feature from Link2SD on my Galaxy S2, because I was tired of running low on internal storage space when I had a 32gb SD card just for photos.
I was only linking games and other apps that were not important to the phone's normal functionality, but on 3 our 4 occasions Link2SD would hang on the linking process and I'd wait 10 minutes before force quitting the app each time. This wasn't causing any problems, until the last hang. I restarted the app and saw that it couldn't compute any of the other apps internal size. So I rebooted the phone and got stuck on a boot crash.
Sometimes the boot would go beyond the Samsung logo and into the Cyanogenmod loading, but the phone would shutdown before leaving that screen.
I had CWM on my phone, so I tried a bunch of stuff:
to wipe data/factory reset
wipe dalvik cache
wipe cache
reinstall Cyanogenmod from a zip (either from internal, sdcard0, sdcard1, and even Odin)
After so many attempts, my searches started pointing me to the fact that some system files could be bad, so I tried:
format /system
format /data
I didn't format /boot but it's reaching the point that it's the only thing I haven't tried.
So next I used Odin to flash back to stock ROM, and in the process lost CWM.
Since that didn't work, I flashed a stock Kernel too.
I should point out that the phone was working perfectly before this Link2SD mess, and also that each time I flashed with Odin, I would get a glimpse of the app optimization process, that would reach around 39 of 42 apps before the phone would shutdown.
I'm running out of ideas and search keywords.
Please help.
Thank you for your time.

Internal Storage not Mounted/Visible in LineageOS 14.1

Hi all,
After setting up Lineage OS 14.1 on my Galaxy S4 (I9505), I noticed that the camera app asked me to insert an SD card to continue, thinking this was strange, I decided to have a look at my storage status, it appears that my device shows up with 0 B free in the storage browser, and upon plugging it into a PC for MTP, I'm shown the device and internal "shared" storage with nothing in it. I've done some googling for what could be a possible issue, to no avail so far.
I've tried using the terminal in TWRP to create a directory on /sdcard/ and set up userinit.sh for that directory.
I would hate to have to reflash the device yet again as it's taken me ages to get this setup, and I don't want to have to buy an external SD card just for this phone (although something tells me that wont mount properly?)
Your assistance is much appreciated.
More details:
I notice when trying to tick the System partition in the Mount section of TWRP, I get a console message saying that the storage device could not be found.
I bit the bullet and tried re-installing the ROM from scratch. I made sure to do a clean installation, by wiping Internal Storage, System, Data, Cache and Dalvik Cache, ensuring system, data and cache were mounted. Installation went through without any errors as far as I could see.
The problem seems to be solved upon looking at the camera app. I will install and restore all my Google data and confirm this. Indeed it works. Please mark as solved!

Categories

Resources