[Q] issues with /datadata - Vibrant Q&A, Help & Troubleshooting

My ICS Passion v13.1 based phone started acting up on me today.
Out of space.
Same issues that I've run into any ROM outside of 2.2 based ROMs really. /datadata is full.
I've done a fair bit of reading on the /datadata issues with the Vibrant, but between super old posts, new posts that link to a mix of old posts or not so old posts, and a whole whackload of random solutions without a great summary, I figure it's time to try to collect everything into one place. PLEASE correct me if I'm wrong. I really don't think I see the full picture yet.
Issue:
There is a /datadata folder that some builds or ROMS mapped to a very small, but very fast flash chip in the Vibrant.
Apps aren't installed here, but they can use this space to store their app data (saved user settings). It seems to not matter whether apps have been moved to your SD card or not, they'll still use this /datadata space.
You don't even need to have many apps installed for this space to get filled. I have installed maybe 10 apps over and above the default set that comes with ICS Passion. 10 apps! What do I do with all the rest of the 48GB of space on my phone?
Solutions?
The solution that seems to be most linked to is a set of commands you enter via ADB after you have rebooted into CWM Recovery.
Code:
adb remount
adb shell
cp -rHp /datadata /data
rmdir /data/data
mkdir /data/datadata
mv -f /data/datadata /data/data
rmdir -r /data/data
cp -rHp /data/dalvik-cache/ /datadata
rmdir /data/dalvik-cache
ln -s /data/data /data/dalvik-cache
sync
reboot
There's a mystical .zip file out there that may do this by simply flashing. Here's the zip I was able to find, but I haven't tested it yet because there wasn't much confirmation on its ability in the threads.
The Onecosmic DataFixer script:
http://ics.samsung-updates.com/trouble/LatestDataFixer.zip
Finally, some people report that all you need to do is create a file called .nodatadata in the /datadata directory and reboot.
I haven't yet tried any one of these solutions as they all have something frightening about them.
Solution #1 will apparently really slow down your phone.
#2 apparently does the same as #1, just easier to install.
#3 confuses me. I really don't know how the creation of a .nodatadata file would change anything, but hey, that's why I'm not allowed to post in the dev section.
So, I want to start off a discussion thread dedicated to /datadata discussion because all the other discussion is BURIED under thousands and thousands of posts about GPS and volume issues. I looked for a thread like this, but didn't find anything other than what I've been able to filter out above.
Could someone more knowledgeable on the issue pipe in here?
Thanks!!!
*10 apps I have installed over and above default set:
- Google Music
- Google+
- Waze
- Any.Do
- ScoreMobile
- Twitter
- Facebook
- Springpad
- Beautiful Widgets
- Titanium Backup Pro
Is there a "deadly" app that's hogging all the /datadata space?

Get a cache cleaner app from the market and clean your cache.

Alex9090 said:
Get a cache cleaner app from the market and clean your cache.
Click to expand...
Click to collapse
Thanks for the reply. But this isn't an issue with cache. I can reboot into recovery, wipe the cache partition and dalvik cache, reboot, and the low space warning is still there.
The /datadata directory is not cache AFAIK.

Just try it, would you.
Sent from samsung vibrant

7mb data cleared from last 6 hours used. Sometimes if i don't clean it for few days and browser a lot, it can take close to 50mb, hence low storage warning. Takes me 5 second to run. Cheers.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Edit: Another thing i forgot to mention is gmail attachments. I think they go straight to /datadata also. So if you have set that to auto download, you might wanna look there also.
Sent from samsung vibrant

Awesome feedback, thanks!
What cache cleaner do you prefer?

Im using this one...
https://play.google.com/store/apps/details?id=cn.com.opda.android.clearmaster
Sent from samsung vibrant

Related

[Q] Fix Missing Apps In Android Market

So I recently did 2 things on my Archos 32:
1) Installed the Android Market (link)
2) Did a permanent root on 2.3.26 (link)
Both worked great
My new query:
So Google Voice is missing in the Android Market for me, even when I get the link from Google: There are no matches in the Android Market for the search: pname:com.google.android.apps.googlevoice I'm pretty sure some other apps are missing as well (even after applying the fix in the link)
Is there any way (rooted options included) to get these missing apps in the Android Market? I've read some stuff about a market footprint
Any info would be helpful; thanks!
Take a look at the following thread.
Anyone have a Froyo Archos with full Market Protected App access
The market footprint you're referring to is in post 3. You have to edit the build.prop file and insert the described "footprint" so that the Market thinks your Archos is actually a Galaxy Tab. Word of warning though - even with this, I still couldn't see all apps in the Market. Plus, there have been reports that the Market fix doesn't work as well with the newer 2.3.26 firmware..
fisha21 said:
Take a look at the following thread.
Anyone have a Froyo Archos with full Market Protected App access
The market footprint you're referring to is in post 3. You have to edit the build.prop file and insert the described "footprint" so that the Market thinks your Archos is actually a Galaxy Tab. Word of warning though - even with this, I still couldn't see all apps in the Market. Plus, there have been reports that the Market fix doesn't work as well with the newer 2.3.26 firmware..
Click to expand...
Click to collapse
Thanks! Looks like I'll need to look at build.prop then.
I also tried MarketEnabler but it didn't seem to do anything on my Archos... maybe I was doing something wrong.
I tried going the SDK route to edit build.prop, but I couldn't get it setup; I might try it in Linux (x64) a little later; Windows 7 (x64) didn't get my anywhere
Thanks for the reply! I'll look into it
yellowsnow4free said:
So Google Voice is missing in the Android Market for me
Click to expand...
Click to collapse
Even if you get Google Voice installed, it won't get past the "Change call settings". Or that is what I found. Anyway, over in the Xoom forum they have an edited Voice apk you can install and I am using it.
http://forum.xda-developers.com/showpost.php?p=11955195&postcount=75
fisha21 said:
Take a look at the following thread.
Anyone have a Froyo Archos with full Market Protected App access
The market footprint you're referring to is in post 3. You have to edit the build.prop file and insert the described "footprint" so that the Market thinks your Archos is actually a Galaxy Tab. Word of warning though - even with this, I still couldn't see all apps in the Market. Plus, there have been reports that the Market fix doesn't work as well with the newer 2.3.26 firmware..
Click to expand...
Click to collapse
In my search for a tutorial, I found myself here
I've been able to do all of it, I just need help copying build.prop back over to my system directory. Here's my post from androidforums:
Step 4: Remount your phone's /system directory
Code:
adb shell
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
This temporarily removes the restrictions on /system
Step 5: Overwrite build.prop
With adb shell open, type:
Code:
mv /sdcard/build.prop /system/build.prop
Click to expand...
Click to collapse
I'm stuck at Step 4. I keep getting a "permission denied" error:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
In case it helps, I'm running Ubuntu 11.04 x64
Click to expand...
Click to collapse
here try this its much easier:
http://forum.xda-developers.com/showthread.php?p=14864470
yellowsnow4free said:
In my search for a tutorial, I found myself here
I've been able to do all of it, I just need help copying build.prop back over to my system directory. Here's my post from androidforums:
Click to expand...
Click to collapse
You aren't rooting correctly. After you type su and hit enter, the Archos should bring up a Super User request that you have to accept. Once you have rooted correctly, the cursor block will change from $ to #.

MBR Checksum Error

Alright, so here is my explanation. I'm pretty experienced with flashing ROMS and what not just made a boneheaded mistake. So I've been running CM7 for awhile on my Vibrant. When the latest OFFICIAL CM7(05-19-11) came out it left me with no storage for applications. So I thought to myself, I'll just partition some of my External SD so I can. Well not using my head it partitioned the Internal SD, and now I'm in a bit of a pickle. When I tried to flash back to JFD was caught in a bootloop and had to ODIN Eugene's No Brick Froyo with Repartition unchecked and then ODIN JFD again. Well I've got my phone up and running again but when I try to go into ClockworkMod Recovery it gives me the MBR Checksum Error and now I can't flash any other ROMS. I've tried Formatting the Internal SD, but not helping. Any answers would be greatly appreciated.
Sent from my SGH-T959 using XDA Premium App
Did you ever get a reply or a way to fix? I see throughout the forum that many have similar issues. Thanks!
bump would love to get an answer on this.
To fix this you need to erase the extra partitions you created on the internal sd card.
Use parted with adb to fix it, 100% fixable
parted rm 2
parted rm 3
Then odin to 2.1 with repartition checked
http://forum.xda-developers.com/showthread.php?t=534714
I will try it later this week, unfortunately can't right now. I hit the thanks button, and if I could hit it 100 more times I would! Hope this works...the guide is a little intimidating ;-)
I have tried for hours now to get this to work with no success. I have errors every step of the way, adb is not letting me do anything, and I have followed the directions to a T. Is there anyway of doing this?
Ultimately this will help a LOT of people, so if there is a way to fix this issue without adb, that is preferred. If not, then a detailed instruction from beginning to end would help (or video! . I am not a n00b when it comes to this, but I literally have tried everything through adb and cannot get to format my internal sd. I am thankful to be able to have stock on my phone for use. Thanks again!
Hi,
Sorry for the late reply..
adb is for pushing parted into phone sbin folder then chmod 755 then run parted from phone.
here is parted for you
http://www.multiupload.com/CA5NCRMBPC
adb push c:xxx/sbin
do it for all files in the parted.zip after you unzip it
su for become superuser
then
chmod 0755 /sbin/xxx for every file in parted.
cd /sbin then run parted
you will have this:
>(parted)
type print
>(parted)print ->enter
Now you will see 3 partitions
/system /data /swap
>(parted) rm 2
>(parted) rm 3
You cannot remove system
Then
>(parted)quit
exit
exit
run odin with repartition enabled! <-you need pit file
Enjoy and hit thanks button again lol
Regards
Edit: If this dont work you need cwm then format \system from cwm then re-run odin with repartitions enabled
Can't wait to try it (lol). Thanks I will update and let you know if this worked.
I am sad to say that nothing worked. I followed the instructions and did the rm steps, flashed stock via odin and it still had the error. formatted system through cwm, still the error. I am at a loss
Hi,
after you rm the partitions did you check "print" again?
Make sure they are removed
Dont get desperate i can help you more privately if you want just pm me you skype details, so we can fix this once and for all.
Regards
I didn't check it...sent pm.
This is what I am getting when I get into parted. Also to get into parted I have to type in
parted /dev/block/mmcblk0
If I just type in cd /sbin then parted it says the device is not found. So as you can see the picture shows only two partitions. Thoughts?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
bump...I feel I am so close to fixing this! Anyone?
weekend bump...any help is greatly appreciated!
bump...there must be someone who can help!
you here?
I'm also trying to get rid of this MBR error.
Yes I am here! PM if need be, but as you can see there are a couple of us that need your help demetris!
Please post a screenshot here like mine attached to check something out.
Btw you dont cd /sbin you just cd sbin type ls you will see the folders then cd sbin.

[Q] Overcome the large file limit of FAT32?

I want to be able to copy files >4Gb to my Touchpad. This is so I can watch HD movies on the device.
I already tried adding resizing the media partition and adding an ext3fs partition using "Tailor" (a webOS app). Although this is easy and it worked, I couldn't find any way to have this partition mount at boot time and be seen by my Android apps.
There are a couple of posts out there on the web from people claiming that they "reformated" the shared partition (/media/internal) to ext3fs successfully.
Has anyone here done that, and if so (a) how? and (b) were you able to have it mount and be visible from android apps?
Otherwise does anyone have any suggestions please?
cheers
Paul
+1
Sent from my HTC Desire HD using XDA App
Getting somewhere...
I tried again having found out that the ext3 partition I created in webOS is found at /dev/mapper/store-ext3fs
Under Android - everything below is done in Android
I am able to mount this partition to my fake sd card (I just created a folder there called "ext").
Code:
su
mount /dev/mapper/store-ext3fs /sdcard/ext
I found that copying files by USB doesn't work while my ext3 partition is mounted, which is a pain - would be good to get that fixed. Anyone have any ideas?
I am now testing copying over a >4Gb file to my ext3 partition using ftp client. Will take some time on my crappy wifi, hence the comment about fixing USB.
I found that in order to make the ftp process work, I had to give full permissions to this folder.
Code:
chmod /sdcard/ext
I am a noob, so if anyone can help me with a less insecure set of permissions I would be grateful.
I'll post an update later on.
Nah, didn't work. After a few hours of copying I went to bed, this morning the folder is empty. I'm not sure if there was an error or anything.
My suspicion is that it crapped out when it got to 4Gb because even though the partition is ext3, it is mounted at a mount point on a FAT32 partition.
I realised I can test this more easily and eliminate possible network errors or ftp client instability, I'm running
Code:
dd if=/dev/zero of=output.dat bs=1024 count=51200000
within my /sdcard/ext folder (my mount point), this should create a 5Gb file.
I'm expecting this to fail, again because even though the partition is ext3, it is mounted at a mount point on a FAT32 partition. If anyone can help me to mount the partition some other way so its not mounted in a FAT32 partition, or point to another method to overcome the file size limit, I would be grateful.
thanks
Paul
That worked!
dd-ing a large file worked. I think I got my calculations wrong so when it got to >7Gb I just stopped it.
Now it would be great to get this working such that I can use USB instead of ftp to get my movies across.... Anyone?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
USB transfers not working
Anyone help me identify partition number for my ext3 partition please?
My ext3 partition is all working except when mounted I cannot use USB transfer.
Believe this is because my vold.fstab mounts the first available partition as SD card.
So would like to know correct partition number for SD card and ext3 partition.
I gave up on this in the end. Assured by clearly very clever jcsullins over on the cm touchpad IRC that the partition doesn't get a number and I would not be able to get my USB file transfer working. I also found the available media players (or maybe CM itself at the moment?) unable to cope with my 720P movies.
All is not lost though. I'm having more luck over on webOS using touchplayer and an overclocked kernel.
Thanks to those who tried to help with this!

Device memory is full

Since I got the new version of 4.1.2 the device memory is completely full and I can barely do anything with the phone.
The apps are only taking 400MB and I have no idea what's taking the rest.
Please advise.
Thank you
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
hi...
i had a similar problem on my sgs2 (with cm 10.1-20130710-NIGHTLY-i9100). it turned out to be a bug that was filling the folder /data/log with log files because of connection problems with the cellular network. the log files were using up more than 1 gb of space. if you have root you could take a look if that's using up your space.
f
flipmess said:
hi...
i had a similar problem on my sgs2 (with cm 10.1-20130710-NIGHTLY-i9100). it turned out to be a bug that was filling the folder /data/log with log files because of connection problems with the cellular network. the log files were using up more than 1 gb of space. if you have root you could take a look if that's using up your space.
f
Click to expand...
Click to collapse
I don't have root, but I tried to connect it to the computer and find this file - the file doesn't exists..
guyman20 said:
I don't have root, but I tried to connect it to the computer and find this file - the file doesn't exists..
Click to expand...
Click to collapse
Seems /data partition is full. It's unaccessible without root.
I have looking similar situation 2 times, and solved with root magiic.
First time my external sdcars got a corrupted file with strange name - nobody knows how it was, but then media indexer gone mad - it consumes cpu for a days, and fill /data volume with kind of incomplete indexes.
Happy end was - to fix extenal sdcard filesystem, then clear media indexer data.
second case was caused with flickr uploader program. because of error in program (now it fixed) it writes a tons of data into log file, pllaced inside /data. Was fixed by removing program with all application data.
Both of that cases was fixed technically without a root, but first step was running "Storage Analyser" in root mode - to find folder with abnormal large size on /data partition.
iav said:
Seems /data partition is full. It's unaccessible without root.
I have looking similar situation 2 times, and solved with root magiic.
First time my external sdcars got a corrupted file with strange name - nobody knows how it was, but then media indexer gone mad - it consumes cpu for a days, and fill /data volume with kind of incomplete indexes.
Happy end was - to fix extenal sdcard filesystem, then clear media indexer data.
second case was caused with flickr uploader program. because of error in program (now it fixed) it writes a tons of data into log file, pllaced inside /data. Was fixed by removing program with all application data.
Both of that cases was fixed technically without a root, but first step was running "Storage Analyser" in root mode - to find folder with abnormal large size on /data partition.
Click to expand...
Click to collapse
So can't I find such file by browsing through the computer? Won't it be visible there?
guyman20 said:
So can't I find such file by browsing through the computer? Won't it be visible there?
Click to expand...
Click to collapse
Run check disk on ur computer.i had similiar problem before..
Sent from my GT-I9500 using xda premium
guyman20 said:
So can't I find such file by browsing through the computer? Won't it be visible there?
Click to expand...
Click to collapse
paranoidisc tell truth. I run a filesystem check and fix on my PC, because error was at SD card.
you still can run a check filesystem on a PC unil filesystem is FAT and volume can be exported via USB as block deice ("usb storage").
or u can try this method suggested by @esd from NeatRom
Install this on your PC
http://www.filehippo.com/download_unlocker/
connect your phone in mass storage mode and delete it using unlocker.
Good morning everyone. I'm here.
Sent from my GT-I9500 using xda premium

Repartition Nabi2 to remove / reallocate "addon" partition?

All,
I've done quite a bit of searching and can't seem to find a good tutorial or method for re-partitioning the NABI2-NV7A to remove the "addon" partition and reallocate its space elsewhere. I would ideally like to put the extra space in the system and data partitions. Has anyone successfully done this? Is it a bad / more risky than normal for XDA users are used to?
I currently have the 3.0.13 KK debloated ROM from n3wt and the latest TWRP 2.8.5.0v2 from aicjofs installed, as well as Links2SD setup with a second ext4 partition on my SD card. I have formatted the addon partition per terminal command instructions for the Nabi2 found elsewhere. Links2SD is not always reliable as it often causes the system to hang when moving data to the second partition. I have seen the post from ashahin1 that sets up this similar second partition without the need for Links2SD - is this more reliable?
Any advice or direction someone can send me in would be very helpful. Thanks!
Gabes Dad said:
All,
I've done quite a bit of searching and can't seem to find a good tutorial or method for re-partitioning the NABI2-NV7A to remove the "addon" partition and reallocate its space elsewhere. I would ideally like to put the extra space in the system and data partitions. Has anyone successfully done this? Is it a bad / more risky than normal for XDA users are used to?
Click to expand...
Click to collapse
The only way is by nvflash, and I am a little fuzzy on the whole thing since it was so many years back. The only solution that was "tested" was using some of the cache partition and putting it in the system partition. I created that solution and somewhere between 5-10 users used it and it worked. I also documented increasing data partition and found that while the tablet ran mounting /data/media/ was having issues. I wouldn't say it was any more risky or bad but it is definitely a very high user understanding to implement it. I have a tool posted somewhere here that does some of it by script but what you want would need to be developed for the data and addon partition(which could then be scripted). Short version. Taking from cache and adding to system worked no issue, increasing data(and I forget from where i took it) had some bugs that I think could be worked through but I stopped at that time.
I'll try and find a link to my notes but in general the issue is that the repartitioning through nvflash is not 100% perfect. There are 3 partition tables, one nvflash uses and a GPT style linux kernel uses(and it's backup). If I remember correctly when formating in nvflash it updates both partition tables but won't boot unless you restore the old nvflash PT(leaving the new modded GPT). It's also best not to remove a partition but shrink it down. In example below I wouldn't get rid of addon but make it 2097152 from 1572864000 then use the left over space to put on data.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
You really can't go wrong as long as you grab the first 3 partitions before you start editing. The script I have out there makes a file "bricksafe.img" of those partitions.
Code:
nvflash --bl bootloader.bin --rawdeviceread 0 3072 nabibricksafe.img
Really as long as you have that it is impossible to brick a Nabi2(hardware failure not withstanding). Another common issue is the Nabi2 original came in 2 versions, 18 partitions, and 19 partitions. It's important to figure out which you have before starting. I could go on and on about this but it's been a month since your post so you may not care any more, or you may read what I have said so far and not want to try it so I will save my breath unless you want to try it.
This is where I start talking about nvflash stuff
http://forum.xda-developers.com/showpost.php?p=46579190&postcount=1687
there is a few more after this but more or less the end of my using it
http://forum.xda-developers.com/showpost.php?p=49435879&postcount=2182
I currently have the 3.0.13 KK debloated ROM from n3wt and the latest TWRP 2.8.5.0v2 from aicjofs installed, as well as Links2SD setup with a second ext4 partition on my SD card. I have formatted the addon partition per terminal command instructions for the Nabi2 found elsewhere. Links2SD is not always reliable as it often causes the system to hang when moving data to the second partition. I have seen the post from ashahin1 that sets up this similar second partition without the need for Links2SD - is this more reliable?
Any advice or direction someone can send me in would be very helpful. Thanks!
Click to expand...
Click to collapse
I have honestly never been very interested in making external SD work as increased storage(nor do I own a Nabi2 anymore) but I told people for a long time that ramdisk was the way to go, so ashahin's method is one I would prefer although again I have never tried it.
aicjofs, thanks for all the great info! I'll do my homework and give it a try. My son recently got a gen 5 7" kindle fire. It's nice and I'm trying to resist the urge to do any mortifying to it. So that means I can play around with his old Nabi2 without upsetting him. I have some experience using nvflash to in brick my wife's old Asus Transformer TF100.
I'll let you know how it turns out.

Categories

Resources