[Q] App data saving to /data/data/ instead of /sdcard/android/data/ - Sprint Samsung Galaxy Note II

I need some help. I am rooted and running stock MA7 (MC2 caused charging issues somehow).
I have played around with installing CM 10.1 Nightlies, AOKP, and PA. I always end up back at stock. I was trying to use Directory bind offload some app data to my external SD. To my shock, I found that a number of apps, including Google Music, are storing their data on /data/data/ instead of /sdcard/Android/data/. How do I fix this?
I have tried:
- Factory wipe from TWRP
- Unroot via Galaxy Note2 Toolkit, factory wipe, reroot
So far I have had no success. Why is this happening and how can I fix it?

Related

Installing custom roms and "low on memory" warning

I decided to try my first custom ROM... (installing virtous) and have a few questions/issues:
1) I started with a Nandroid backup.
2) I did a full titanium backup
3) I used ROM manager to install Virtous (did a full system swipe)...
Ok.. here is where I am having my issues
After the install, I went back to the marketplace and installed titanium backup.
What option should I restore? I would like to get all the widgets and data restored. I tried restore all apps+system data but I am wondering if that is reinstalling the bloatware that virtous removed. If so, what are the correct options in Titanium backup I should use?
Next, I tried to reinstall everything but I got that dreaded low on storage and then out of storage space error. My phone has lots of storage both internal and on the SD card - so the restore (I am guessing) failed at some indeterminate point. Most of my widgets were not loading properly (beautiful widget, pure calendar, multi-icon etc) after the attempted restore.
Regardless, even if I clean-up the widgets, the low memory message persisted so I was left with no choice but to revert to my previous nandroid backup .
So... how do you install a custom rom and easily reestablish your previous state/settings without getting the low/ out of storage warning?
Also, one of my goals is to get a deodexed rom so I can install custom themes (e.g., battery mods, etc). Can I just flash the deodexed stock rom over my current rom (I did not understand deodexed when I first upgraded to froyo) without having to do a swipe? Will I run into any issues?
Thanks
I tried again with less apps/ data and still have no luck.
I did a restore all apps and system data from titanium, got a low storage than out of storage error (the phone has over 60% of its storage available so I know I am nowhere near close to actually using all the storage).
When titanium completed, most apps forced close (gmail, rom manager, etc) so I assume the storage error is impacting the restore.
Back to my nandroid backup again.
If I am running stock Froyo, can I just flash a new sense based froyo without wiping? (trying to find a way to experiment and really want to get a deodexed rom installed)
When new ROM is flashed, in TB, try reinstalling only user apps, not system apps.
Why?
The new ROM you flash and the ROM you are coming from should both have system apps already in them, so why reinstall system apps from the old ROM that most likely exist in the new ROM?
But how do I reestablish the previous settings? Or do I have to reconfigure all my accounts, etc each time I install a new rom.
Thanks
Me too. How to correct?
uncommon 1.1 on my phone is doing same thing. 1.0 had no problem.
Just a theory as I haven't tried to install another ROM...
I noticed the touchdown data file on my phone was quite big (>70mb) - it appears that when touchdown's data file gets very large, the message appears more often (looks likes there is a bug in Android with large data-sets). I cleared touchdown's data and resynced which shrunk the data file to ~12mb. I reinstalled all the apps I removed to try and eliminate the memory error and so far have been running smoothly.
When I have some time, I am going to try another ROM and see if I can restore without any storage issues. I still am curious how everyone resets their settings from ROM to ROM (or do they manually configure everything each time)
After poking around in astro file manager, contacts(cross-linked mess), and uninstalling some rarely used programs all to no avail......
I fixed my "low on program memory" notification by emptying my deleted items in the mail app- a hotmail account that is rarely used.
Sent from my ADR6300 using XDA App
siteexperts said:
But how do I reestablish the previous settings? Or do I have to reconfigure all my accounts, etc each time I install a new rom.
Thanks
Click to expand...
Click to collapse
To be on the safe side, just reinstall only apps, with or without data. There is no real point in wiping days, and yet reinstalling system apps and data. Kind of defeats the purpose. And yes, manually add accounts. Takes more time, but minimizes conflicts. Shouldn't take more than 30 minutes, which is a small price to pay to eliminate potential headaches.
Sent from my ADR6300 using XDA App
I've run into this as well. In fact it was the original reason I decided to move forward with rooting my phone since I had to wipe it anyway. Has anyone looked into what program monitors this and flags the error? Is memory not being reported correctly, or is there a tolerance that maybe we need to tweak in the code somewhere?

Can we format the whole HardDrive and Start from scratch?

In Windows, we can format the whole hard drive and install a new fresh system. Can we do the same to our Samsung Galaxy S3 - fully format the HD clean and install ROM back?
I test out many JB ROMs, Kernels, & apps - now my phone is full of mess. My phone starts to have many problems, force closes and freezes.
My T-mo S3's IMEI was loss (w/o any backup) - so I injected IMEI back but the data kept trapped in EDGE and suffered constant low signal.
How can I restore my phone to the original condition without any previous traces or residual file?
Greatly appreciate for your help in advance.
Yes u can just use the Super wipe. To find it look into exquizt rom there is a dl for it. But make surebthat u back up everything u need or it will b all gone
Sent from my SGH-T999 using xda app-developers app
I come across his thread on SuperWipe - erase everything in Nand - sound intense: http://forum.xda-developers.com/showthread.php?t=1704758
What do I have to install if everything in NAND is gone? Kernel, ROM, Radio Modem... what else if crucial for reinstalling?
Thanks
Uhm, prolly flash a completely bloated stock firmware via ODIN.
What option do I have beside getting myself a bloated stock firmware? Can I just flash a JB AOKP & Modem? What else am I missing for a phone to properly function?
Thanks
Not sure if that super wipe is compatible with our phones, though. I'd format system/data/cache and wipe sdcard (internal) and just flash something else before I'd try something that hasn't been tested on our devices.
Thanks theexel. My phone has so many useless files all over the place - I want to do some house cleaning and get a fresh start. I have been doing "format system/data/cache and wipe sdcard (internal)" every time I flash. Just want to get back to once it was - everything is clean & well structured.
superlex said:
In Windows, we can format the whole hard drive and install a new fresh system. Can we do the same to our Samsung Galaxy S3 - fully format the HD clean and install ROM back?
I test out many JB ROMs, Kernels, & apps - now my phone is full of mess. My phone starts to have many problems, force closes and freezes.
My T-mo S3's IMEI was loss (w/o any backup) - so I injected IMEI back but the data kept trapped in EDGE and suffered constant low signal.
How can I restore my phone to the original condition without any previous traces or residual file?
Greatly appreciate for your help in advance.
Click to expand...
Click to collapse
You can't really compare a windows partition to an android ROM. Windows stores everything, data, system files, etc on the same partition. Not only that, but when a Windows program installs itself, it copies files to system directories throughout the drive and to the registry.
When you uninstall a Windows program, it's very possible that not all of those files and registry entries are deleted, which is why the drive gets cluttered and needs "spring cleaning" every once in a while.
Android works differently. It has separate partitions for System files and Data files. If you don't manually mess with anything in the /system partition, then it should still be the same as what came with whatever ROM you most recently installed. Any apps or data on your phone is stored in the /data partition only.
If you think your phone needs to be started over from scratch, then the best thing to do is delete the /system partition and the /data partition and reinstall whatever ROM you want to use. The Kernel will automatically be erased and reinstalled whenever you install a new ROM. Anything beyond /system and /data is overkill because all the other stuff gets erased automatically anyway when you install a new ROM.
Good luck.

[Q] Can't Save Photos

hi all,
i have a samsung galaxy note 2
i rooted it
since i tried to merge system app updates into rom via titanium backup
all apps were renamed to wierd names but rebooting fixed everything.
then i made a nand and installed miui but restored nand.
since then i don't have any data (like gallery/ music / snotes etc.) i tried to restore a sd card backup i made but it doesn't affect anything
i can't take pics, can't play saved music.
if i try to transfer anything to phone from windows it shows applications has stopped responding - continue /slip
can't do anything which uses sdcard. i tried fix permissions in cwm but it just hangs so i did a hard reset.
P.S. i can make s notes
please help
FIXED
i fixed it by re-formatting /sdcard from cwm.

Q TWRP Cannot wipe data/factory reset due to multiple lost+found folders

Using TWRP 2.6.3.0, I'm unable to wipe data. Every time I try, I get
"wiping data without wiping /data/media
E: error opening '/data/lost+found'
done."
I excluded the nonessential bits, if anyone wants a full log (something something partition details), I can make one.
I using ES File Explorer with root explorer on, I checked out /data and found two lost+found folders, which I think is causing my issue. I've tried deleting just one, but a second one is automatically generated. If I delete them both, then they're automatically recreated as well. If I delete them both and then remake one immediately after, another one will be remade.
I also checked the rest of the /data folder, and I did not find any lost+found files, so I'm pretty sure it's just the folders messing things up
I checked this thread, but I didn't find anything useful
http://forum.xda-developers.com/showthread.php?p=39497772
I ended up here after I accidentally wiped my internal storage with TWRP. I went from a 4.3 AOSP rom to 4.1.2 stock (HD RLS16). I wiped the 4.3 rom, but I think I accidentally wiped internal storage then as well, or maybe something was messed up with TWRP because the storage folder for 4.3 isn't in data/media (or at least not for the rom I was using). After that I used hyperdrive, which was super buggy with Gapps and didn't work at all. After adding an account, everything kept force closing, and things were extremely slow and took minutes to open, even after removing the account and wiping cache+dalvik.
I thought it had to do with the rom, so I went and wiped stuff, then went to CM 10.1.3 stable, but that didn't boot at all, so I tried wiping again and going to liquidsmooth 2.9, which is where my problems started again. I attempted to wipe again and go back to cm10.1.3. The wipe failed, but cm10.1.3 worked.
any ideas on how I can fix this? I was unable to find help on google.
xxkid123 said:
Using TWRP 2.6.3.0, I'm unable to wipe data. Every time I try, I get
"wiping data without wiping /data/media
E: error opening '/data/lost+found'
done."
I excluded the nonessential bits, if anyone wants a full log (something something partition details), I can make one.
I using ES File Explorer with root explorer on, I checked out /data and found two lost+found folders, which I think is causing my issue. I've tried deleting just one, but a second one is automatically generated. If I delete them both, then they're automatically recreated as well. If I delete them both and then remake one immediately after, another one will be remade.
I also checked the rest of the /data folder, and I did not find any lost+found files, so I'm pretty sure it's just the folders messing things up
I checked this thread, but I didn't find anything useful
http://forum.xda-developers.com/showthread.php?p=39497772
I ended up here after I accidentally wiped my internal storage with TWRP. I went from a 4.3 AOSP rom to 4.1.2 stock (HD RLS16). I wiped the 4.3 rom, but I think I accidentally wiped internal storage then as well, or maybe something was messed up with TWRP because the storage folder for 4.3 isn't in data/media (or at least not for the rom I was using). After that I used hyperdrive, which was super buggy with Gapps and didn't work at all. After adding an account, everything kept force closing, and things were extremely slow and took minutes to open, even after removing the account and wiping cache+dalvik.
I thought it had to do with the rom, so I went and wiped stuff, then went to CM 10.1.3 stable, but that didn't boot at all, so I tried wiping again and going to liquidsmooth 2.9, which is where my problems started again. I attempted to wipe again and go back to cm10.1.3. The wipe failed, but cm10.1.3 worked.
any ideas on how I can fix this? I was unable to find help on google.
Click to expand...
Click to collapse
I would flash back to stock in Odin and root again
xxkid123 said:
Using TWRP 2.6.3.0, I'm unable to wipe data. Every time I try, I get
"wiping data without wiping /data/media
E: error opening '/data/lost+found'
done."
I excluded the nonessential bits, if anyone wants a full log (something something partition details), I can make one.
I using ES File Explorer with root explorer on, I checked out /data and found two lost+found folders, which I think is causing my issue. I've tried deleting just one, but a second one is automatically generated. If I delete them both, then they're automatically recreated as well. If I delete them both and then remake one immediately after, another one will be remade.
I also checked the rest of the /data folder, and I did not find any lost+found files, so I'm pretty sure it's just the folders messing things up
I checked this thread, but I didn't find anything useful
http://forum.xda-developers.com/showthread.php?p=39497772
I ended up here after I accidentally wiped my internal storage with TWRP. I went from a 4.3 AOSP rom to 4.1.2 stock (HD RLS16). I wiped the 4.3 rom, but I think I accidentally wiped internal storage then as well, or maybe something was messed up with TWRP because the storage folder for 4.3 isn't in data/media (or at least not for the rom I was using). After that I used hyperdrive, which was super buggy with Gapps and didn't work at all. After adding an account, everything kept force closing, and things were extremely slow and took minutes to open, even after removing the account and wiping cache+dalvik.
I thought it had to do with the rom, so I went and wiped stuff, then went to CM 10.1.3 stable, but that didn't boot at all, so I tried wiping again and going to liquidsmooth 2.9, which is where my problems started again. I attempted to wipe again and go back to cm10.1.3. The wipe failed, but cm10.1.3 worked.
any ideas on how I can fix this? I was unable to find help on google.
Click to expand...
Click to collapse
Anytime you get that error format data (the one where you type yes) the folder gets corrupted and a format fixes it.
Sent from my SGH-I747 using xda app-developers app
Im getting the same E:Error opening '/data/lost+found' im my twrp 2.6.3.1 after flashing Official CM11 nightly dec 12.
So now my recovery is very messed up, i cant properly wipe or restore nandroid with ease anymore, did you by any chance find a solution to fixing this issue?
Mystikalrush said:
Im getting the same E:Error opening '/data/lost+found' im my twrp 2.6.3.1 after flashing Official CM11 nightly dec 12.
So now my recovery is very messed up, i cant properly wipe or restore nandroid with ease anymore, did you by any chance find a solution to fixing this issue?
Click to expand...
Click to collapse
This has happened to me twice and the only solution i have found was to wipe internal storage. unfortunately i wasnt able to backup my internal storage before wiping so eveything i had on my phone was erased. Everything in your external is safe you dont have to worry but if you had important files or anything that you wouldnt erase on your internal storage then that is very unfortunate.
As for me, i now backup everything maybe like once a month or so, just in case something like this happens again.
Its happened to me also and I could not resolve it without the wipe, that was the only viable solution that worked for me.
Sent from my SGH-I747M using Tapatalk
Although if you're using twrp I just found out you can still save some of your precious files.
How? Simple
You can go into recovery and into the file manager. I think it's in settings or advanced I'm not sure. But I know that is built into twrp. So then just go into your internal storage and select the files and move them to the external storage.
If it's your first time using the file manager then you'll have to get used to it because it's not 100% noob friendly
And remember the bigger the file the longer it'll take to move so just be patient.
Use AromaFM!
search bar will serve you..
KorGuy123 said:
Anytime you get that error format data (the one where you type yes) the folder gets corrupted and a format fixes it.
Sent from my SGH-I747 using xda app-developers app
Click to expand...
Click to collapse
Thank you very much, saved my life today!
Can i get some help please. I cant format data via TWRP, it says "E: unable to wipe data, unknow fle system, auto, unable to format to remove encryption". I did not put any encryption. What to do?
Have you tried using different versions of TWRP to wipe?

Question Can I skip wiping internal storage while changing roms?

Everytime I have to change my rom, My apks , music, books get wiped. Is there a possibiltiy to not wipe internal storage, just format , like it used to happen on a only devices?
Switching roms would require you to wipe, you may use some software to backup and restore your apps if you have root access. I don't flash roms now, but when I use to I used Titanium Backup for this, you can try it if it still works.
The OxygenOS @Funk Wizard? Lol
Bupreno said:
Everytime I have to change my rom, My apks , music, books get wiped. Is there a possibiltiy to not wipe internal storage, just format , like it used to happen on a only devices?
Click to expand...
Click to collapse
If you are going between custom ROMs of the same base version (meaning they all use the same OOS base like C.62), you do not have to do the wipe operation and can just dirty flash, but it's highly recommended to do a wipe so you don't have weird issues. If you do decide to dirty flash, at least do the dev the courtesy of holding off any bug reports until after you factory reset because if you have a weird problem nobody else is reporting, there's a pretty good chance it's because you dirty flashed.
If you're going between stock ROMs, that's a bit more complicated. I have successfully used Fastboot Enhance to upgrade, downgrade, and crossflash between different versions and it generally works as long as I'm not trying to downgrade or upgrade between Android 11 and 12 and I make sure to delete all the cow partitions in the partition screen before starting the flash. Trying to go from ColorOS 13 beta back to C.62 didn't work either but I have flashed between various C builds of OOS for different regions as well as ColorOS 12.1 and they've all worked.
That said, you should always do a full backup because things do go wrong. I have done it so many times on this phone that I have it down to a science now. I hook my phone up and use adb pull -a /sdcard to grab everything, do a system backup to Google Drive using the backup option in settings, back up my Signal messages, and when I'm on a stock ROM, I use the OnePlus backup to grab all my apps and settings. When I restore, I skip the initial Google account setup, I delete the Android folder from the adb pull folder and drag and drop the rest of it to the root of the storage, then I use the OnePlus backup to restore (if it's a stock ROM), then I log into my Google account and run that restore and the rest of the setup process, then I restore my Signal messages. Doing it in this order, I end up with the least amount of data loss. I don't even have to reconfigure my battery settings for my apps on the stock ROM doing it this way, it's all carried over, which saves me about 15 minutes of turning off optimizations for everything so my notifications work right.

Categories

Resources