Related
Good Day Folks.
I'm a Noob in need of help and i'm hoping the more experienced among us might be able to assist. I have an issue with disappearing phone storage. Over the course of a week I realized that I was losing about 1MB a day. My phone would basically be dormant and I would still see my storage space dropping by this amount everyday.
Cache cleaning didn't work. Later I realized that Android creates a bunch of log files in Data/System/Dropbox that was responsible for the disappearing phone storage trick I've been seeing for a while now.
I know now that Google has incorporated into Android as of the 2.2 iteration, a DropBox Manager that's responsible for logging all of the events that take place during the course of a running Android session. Everything from what took place at boot to force close details.
I understand that this is used for debugging purposes but I'm no developer . So my question is.... Can this DropBox Manager be disabled....somehow.
I really don't need all these files (and its A LOT OF THEM) being created as they serve no practical purpose for me. Not sure if anyone else might have noticed this but I'm hoping to receive some help. Even if it means pointing me in the right direction so I can work on it myself.
I really don't have a clue on how to start. Any help will be appreciated....Seriously...
Currently using G1 with CM6 Magpie running on EZTERRY's 2.6.34.7 kernel.
Its perfect except for this annoying problem.......
Hm what happens if you rename the directory. It might throw some errors in the logger, but probably won't create anymore files.
I just deleted the content of my dropbox folder, the DropboxManagerService was throwing some errors that he could not open files, but the phone was fine, no FCs or anything.
Renaming the directory just results in a random reboot. My guess is that when Android tries to create a new log, its unable to find the directory and then it just freezes and after a while it reboots. Once restarted it just reappears... I've tried that too.
And its true.. Its ok to delete the files. Its what I do currently. All of those files in Data/System/Dropbox as well as the ones located in Data/Tombstones are ok to delete. As I said, its just used for debugging purposes. Whats really annoying though is that, no matter how many times you delete anything, they just get repopulated just as fast as they're deleted. I'm ok with micro-managing my memory and phone storage (its a G1 after all) but this is ridiculous. It just creates too many of these log files too quickly.
If there was a way to turn the DropBoxManager service off then that would be the end of it all.
What's unusual about it too is that in my particular case, the contents of these text files just have two things listed in them. Pertaining to my online accounts associated with the phone: My Google account and My Whatsapp account...
It just repeats the same thing over and over again. I'm starting to think that the event data might actually be synchronization data or at least synchronization attempts made at regular intervals. But ultimately i'm guessing....
I really don't have a clue... Have you ever heard of anything like this on XDA......possible resolutions of this issue?
epolaris said:
I really don't have a clue... Have you ever heard of anything like this on XDA......possible resolutions of this issue?
Click to expand...
Click to collapse
Not yet .
What about replacing the folder by a symlink to /dev/null ?
You could also try to change permission on the folder.
Ok... I'm a real Noob but I'll take a shot.. When you say symlink what do you mean.
I'm not really familiar with Android at that level yet its really just flashing and such.
But I know a symlink is really just a reference to a location that the OS would interpret and follow (like a pointer i think). So, is it that you're suggesting some sort of redirection where the Data/System/Dropbox directory is pointed to another arbitrary location. Kind of like a creating a dead link that Android is unable to follow up on. Or maybe, redirecting the folder to an entirely new location that Android would then follow. I'm not sure... How do you perform a symlink in Android... I'm willing to try.
You can do it with a console on the phone it self or using adb shell. You need root of course.
You could make a link to another location where you have more space?
Or you change to permissions of that directory to write only.
Or you can mount a different file system to that directory that is read only.
On how to do that just google a bit for linux tutorials on that topic.
I have just googled a bit and it seems you can't symlink directories to /dev/null.
If all that doesnt help post again, there might be an option to make an app delete the files automaticly, first time they get created.
If that would be an option too let me know, im in the mood to program something intresting .
Disabling Android 2.2 DropboxManager [RESOLVED]
I took your advice and did the research you suggested and it worked.
The first thing I tried was changing the permissions on the "Data/System/Dropbox" directory and it worked. But I didn't use CHMOD and console command line to do it.
I have a program called Root Explorer that allows me to permanently change the permissions on any file or folder I select. I set all of the offending folders to read only and the log files stopped being written to those folders.
These are the directories I set to read only:
1. "Data/System/Dropbox"
2. "Data/System/UsageStats"
3. "Data/Tombstones"
Since changing the permissions on these folders my phone storage has stopped dwindling out of control. No additional programming necessary
Disabling the DropBoxMangerService itself is not necessary which is good.
I'm going to take your advice and read up some more on Linux commands (specifically Ubuntu as its what I currently use).
You have been very helpful, thanks for the advice. If you have any ideas about Froyo ROMS (Maybe even Gingerbread ) I should try let me know.
Thanks again....
I have also found these files. They can take MUCH space in memory and nothing seems to delete them. I made the dropbox system folder RO but I think this is a bug. It should be reported to the dropbox team. Is there a bug report form somewhere? I did not find it... Just found the forum, QA,...
[edit]I reported it in the forum... Just see http://forums.dropbox.com/topic.php?id=41227 [/edit]
vax said:
I have also found these files. They can take MUCH space in memory and nothing seems to delete them. I made the dropbox system folder RO but I think this is a bug. It should be reported to the dropbox team. Is there a bug report form somewhere? I did not find it... Just found the forum, QA,...
[edit]I reported it in the forum... Just see http://forums.dropbox.com/topic.php?id=41227 [/edit]
Click to expand...
Click to collapse
You are mistaken: /data/system/dropbox, has NOTHING todo with www.dropbox.com !
See http://developer.android.com/reference/android/os/DropBoxManager.html
Dark3n said:
You are mistaken: /data/system/dropbox, has NOTHING todo with www.dropbox.com !
See http://developer.android.com/reference/android/os/DropBoxManager.html
Click to expand...
Click to collapse
Hey, just looked at your SD Maid app (looks cool).
So what do you know about /data/system/dropbox? I just read that htc uses the dir to store phone events which is then sent to the htc cloud of spying-on-your-ass. But since non-htc phones have this dir, is htc merely misusing the directory and it has other legit uses, or is this a directory we should try to keep cleaned out?
(I like the idea of changing perms so nothing writes to it if that's the case.)
600 MB additional free storage
Hi all
Just found a smart way to increase your Dropbox account with 600 MB:
1 Sign into your existing Dropbox account (or create a new account)
2 Goto https://www.dropbox.com/free
3 Follow instructions ... and voila 600 MB additional free storage
Mittaa said:
Hi all
Just found a smart way to increase your Dropbox account with 600 MB:
1 Sign into your existing Dropbox account (or create a new account)
2 Goto https://www.dropbox.com/free
3 Follow instructions ... and voila 600 MB additional free storage
Click to expand...
Click to collapse
Yay, nice to see you didn't read the thread at all.
This has nothing todo with dropbox.com
Yea other day I got the SD Maid, and the Pro version after I saw how handy it was. I too on my G1 (with 2.2) see that dropbox folder.. and lately Ive been thinking its causing my G1 to constantly reboot. When I look, it has 300+ files in it. So I clear that folder and seems to stop rebooting for a lil while.
Not sure what the deal is here however, been trying to find out. HOWEVER it only seems to reboot once its connected to the internet, so I am wondering if this is where it tries to upload and so. Not really sure. That and its hard to tell in logcat whats going on before it reboots.
Thanks
Excellent information. This works on my Sony Ericsson Xperia Pro MK16a, Rooted. Thank you so much. My best regards.
Try to change the permisions of the folder, I'm not sure if it would work but you could try ^^
Sent from my GT-I9001 using xda premium
All is ok
All was fine. The permissions :laugh:changed with root explorer. Thank you so much
Note completely disabled but only 1 file in the /data/system/dropbox folder with these Android shell commands (or use Sqlite3 editor):
content insert --uri content://settings/secure --bind name:s:dropbox_max_files --bind value:i:1
Or for Android 4.2+
content insert --uri content://settings/global --bind name:s:dropbox_max_files --bind value:i:1
settings put global dropbox_max_files 1
Reboot.
more dropboxmanager settings:
dropbox_age_seconds
dropbox_max_files
dropbox_quota_kb
dropbox_quota_percent
dropbox_reserve_percent
I've been using the advice from this thread to control this "dropbox" data collection directory for several years now until I updated to 9.0 and found that the folder and default permissions were restored after every reboot. Was irritating bc I can use root to modify /system but no longer have control over my own data partition Something is over-riding my root-user!!!
I tried different apps, TWRP's FM, adb, and almost gave up when init.d scripts wouldn't work either. init.d will work tho. A simple script to run
Code:
#!/system/xbin/sh
busybox rm -f /data/system/dropbox
at boot. You can probably chown and chmod if you want but I just deleted it. Just put it in your init.d folder and make sure you give it the correct permissions (root:shell -755), then immediately perform a soft reboot. Use hardware keys if you have to. You want the phone to go immediately OFF, no spinny wheels or "powering off" notifications. That's the only way I could get rid of the damn thing.
Anyway, I came across this thread while searching for a solution and thought I would add this in case any other paranoids like me are concerned about this mysterious "dropbox" directory. This will probably break any ability for google to troubleshoot your phone but I don't think that's real anyway. It's just spyware as far as I'm concerned.
p.s. (off-topic) Thanks @Dark3n I'm also a frequent SD Maid user btw and in case you happen to read this, I thought I might mention I intended to send a donation via your app the other day (i like to show love when ppl share badass works) but balked at the only available option for "pizza," not bc I don't appreciate it that much but I can afford a little every now and then. If you add a smaller option, "coffee" or beer or whatever, maybe even an outside of googlePlay option, BTC perhaps. I'd be happy to shoot a few dollars at you.
Hi folks
I hope this isnt too obvious, I have searched for an answer and looked around quite a bit before posting and I think its a new question!
Im fairly new to android, and have a galaxy s2 running cyanogenmod7 and a kindle fire running ICS.
The Galaxy s2 has an SD card, and Ive noticed a lot of folders in there from apps I installed once, had a look, then deleted. An example of this is foursquare - I used to use it a lot with my iphone 4, but havent really enjoyed the android experience and to be honest Im a bit tired of the general experience so I uninstalled.
My question is, what is the best way to remove them? Should I just delete them? How do I know that they are actually not needed - the foursquare example is fairly obvious, but what if it was called something obscure like fsq? How would I know?
On a PC, you can get utilities which scan and advise you whether folders are redundant - is something similar available for Android?
As you can tell, I switch roms etc quite quickly and am likely to carry on doing so until I get the set up that is right - I dont want my filespace filling with rubbish! I know I could do a complete reformat but that seems a drastic step and isnt always possible.
Phil
I just asked my self this question the other day, if you delete an app folder and you still have the app instaled the app should automaticaly put its folder back in the SD card, its pretty much automatic. But not all the time, if you erase everything on your SD card and put it back in your phone, your phone will automaticaly put the files in the SD card, so its the same with apps, if the folder is gone then it will put a new one back in it to make it function correctly, I'm not sure about system stuff, I normaly don't touch that stuff like CWM folders
HTC Wildfire S (VM) "S-Off" "Rooted" "Overclocked 700 Mhz" Stock Rom
Android311 said:
I just asked my self this question the other day, if you delete an app folder and you still have the app instaled the app should automaticaly put its folder back in the SD card, its pretty much automatic. But not all the time, if you erase everything on your SD card and put it back in your phone, your phone will automaticaly put the files in the SD card, so its the same with apps, if the folder is gone then it will put a new one back in it to make it function correctly, I'm not sure about system stuff, I normaly don't touch that stuff like CWM folders
HTC Wildfire S (VM) "S-Off" "Rooted" "Overclocked 700 Mhz" Stock Rom
Click to expand...
Click to collapse
Thanks for this, its useful info. I think Im going to just make backups then delete a few folders at a time. I cant do that much damage, starting from scratch wont take me too long if I completely mess things up!
Phil
There is no automatic way to detect which folder on the sdcard (/mnt/sdcard/) belongs to which app.
You will have to google each folder or look into it and hope it will give you a clue to which app it belongs.
If the folder would have been created in /mnt/sdcard/Android/data/packagename...
It would have been automaticly uninstalled.
This problem inspired me to write the App "SD Maid" which helps you clean up the phone. Unfortunately it doesn't delete those folders either, as there is just no safe way to determine to which app it belongs... for now...
Hi all.
I'm after quite specific need but would like to know more general answer / solution if possible at all.
I know that wihtout being rooted there's not much one can do with system folders, but still, there are some ways and tricks to get to them, one of them being Backup option provided by android, using ADB shell.
I'm after specific file, that is /data/data/com.android.mms/shared_prefs/com.android.mms.categoryInfo.xml
Using Htc One M8, stock rom, I've tried to do adb backup of com.android.mms application, but all I got was 1kb (actually 41 bytes) sized file, which contains nothing.
I wonder, is there any other way to get to the specific system app folder, if you're NOT rooted?
Any help would be highly appreciated.
Additional info: I'm after that file because it has stored Secure message box password in Plain text. My phone is about to go to the service due to several issues, including battery getting way overheated when used, and not charging over 25% at all, and the only thing left to make a backup is the secure box storage, which I used as an "Other inbox" folder in order to have the main Inbox a bit more "clean", and I know I've set it to something stupid and short, and I've accessed them not long ago, but for the f's sake I can't get in the folder anymore (and I'm highly betting that after several attempts even the real password is no longer accepted, and that being the reason I can't figure out the pass by trying, but there's nowhere info it thats true, and if so, how long to wait before real one would be accepted etc...)
Big thanks if anyone could help out, if not - not gonna be the end of the world. But would kinda like to store some of the messages that are newer than my latest backup...
Cheers!
cucolino said:
Hi all.
I'm after quite specific need but would like to know more general answer / solution if possible at all.
I know that wihtout being rooted there's not much one can do with system folders, but still, there are some ways and tricks to get to them, one of them being Backup option provided by android, using ADB shell.
I'm after specific file, that is /data/data/com.android.mms/shared_prefs/com.android.mms.categoryInfo.xml
Using Htc One M8, stock rom, I've tried to do adb backup of com.android.mms application, but all I got was 1kb (actually 41 bytes) sized file, which contains nothing.
I wonder, is there any other way to get to the specific system app folder, if you're NOT rooted?
Any help would be highly appreciated.
Additional info: I'm after that file because it has stored Secure message box password in Plain text. My phone is about to go to the service due to several issues, including battery getting way overheated when used, and not charging over 25% at all, and the only thing left to make a backup is the secure box storage, which I used as an "Other inbox" folder in order to have the main Inbox a bit more "clean", and I know I've set it to something stupid and short, and I've accessed them not long ago, but for the f's sake I can't get in the folder anymore (and I'm highly betting that after several attempts even the real password is no longer accepted, and that being the reason I can't figure out the pass by trying, but there's nowhere info it thats true, and if so, how long to wait before real one would be accepted etc...)
Big thanks if anyone could help out, if not - not gonna be the end of the world. But would kinda like to store some of the messages that are newer than my latest backup...
Cheers!
Click to expand...
Click to collapse
Yes and not.
if you don't have root access, you can not copy an application from the system folder, to make this the ADB would need root permissions. but....
You can download the stock rom, and copy/extract/edit the app you need it.
xdedeone said:
Yes and not.
if you don't have root access, you can not copy an application from the system folder, to make this the ADB would need root permissions. but....
You can download the stock rom, and copy/extract/edit the app you need it.
Click to expand...
Click to collapse
Actually no, if the file is user specific, as in my case, the help of stock rom's file is not gonna help.
Anyway, SOLVED now.
As per this post: http://forum.xda-developers.com/showthread.php?t=2054401
The backup of the app was made and got the file. I've done the same thing without success, because on HTC, the messaging app is com.htc.sense.mms and NOT com.android.mms.
Therefore creating backup of the com.htc.sense.mms did result kin getting exactly what I needed.
In the extraction of the tar .ab archive using dd in linux, I got folder app, within there is a folder com.htc.sense.mms, wihtin there's a folder sp, and there is com.htc.sense.mms.categoryInfo.xml which has the secure box password stored in plaintext.
Voila! )
There's not a lot of information out there for the Galaxy Core Prime on how we might debloat and save more space, so I decided to make a short tutorial that might help people with some easy steps in cleaning up their device. This guide is meant to be pretty basic and to just help point people in the right direction so that it speaks to a broader scope of Galaxy Core Prime Models, but is based specifically on the SM-G360T1. The SM-G360T is essentially the exact same phone though, so all of these steps should apply directly to that device too. Other Galaxy Core Prime models will be able to use this as well, but just be sure to read the special "NOTE" part of each step. Also, I'm sure it goes without saying, but inevitably I'll get the question, so obviously, root is required for this!
Anyhow, here we go:
1) Do a full backup in recovery before deleting system stuff. This is always a good idea just in case you delete something you're not supposed to and android stops working, then you can just go into recovery(TWRP, CWM, etc.) and restore your backup and your back to square one. It's good to do a new backup too a few days after when you're sure your deleted apps aren't causing any problems so you can restore to that slimmer version later if need be. Also, you should probably save your backup files to the external sd as you will likely have more free space there.
2) Install a debloated rom in recovery. SlimPickins is a great one for the SM-G360T1. It's basically the stock firmware for the MetroPCS Core Prime, but thanks to @Koognod we can now run Android without all the extra junk using his rom. It comes already debloated, deodexed and deknoxed, so you can just install it and not have to deal with finding all the junk to delete for yourself. It's already gone! It's also great for speeding up your bogged down phone or creating more space for your apps and media. Here is the link.
http://forum.xda-developers.com/gal...rom-slimpickins-stock-rooted-bloated-t3250883
NOTE: YOU CAN NOT INSTALL THIS ROM IF YOU DO NOT HAVE THE SM-G360T1. It should work fine on the SM-G360T too, but for anyone else just try googling or searching XDA for your "model #" and "debloat rom".
3) I recommend deleting the "PreloadInstaller" folder from "/system/app/" with a Play Store root browser. You should do this before deleting any system apps in my opinion, as this folder contains an apk that is programmed to put back a lot of the system stuff you delete(either immediately or after reboot). If you don't feel comfortable deleting this folder just yet though, then you can just move it to your external sd card for now with your browser to save space in case you ever want to move it back or just skip this step. Your choice!
NOTE: If you don't have the SM-G360T1 or SM-G360T, then your "PreloadInstaller" folder may be called something slightly different or you may not even have it at all. Just look for something similar in there. Be careful not to delete the package installer though as that's the program that allows you to install apps yourself.
4) You need an app that uninstalls system apps. I use "System App Remover(ROOT)" from the Play Store personally because all your deleted system apps actually go into a recycle bin first where they can be restored later if needed. It also tells you if the app in question is a "Key Module"(ie. proceed with serious caution).
5) Google search the internet for system stuff that's ok to delete for your device. It helps to search your model usually, but I don't think there's much info out there for the Galaxy Core Prime unfortunately, so just searching something like "Debloat Samsung Safe" can be a great resource as many Samsung phones have the same system junk.
6) Delete all the obvious stuff you don't want. This would be things like any of the MetroPCS stuff(or whatever carrier you have) or even the Galaxy app store if you don't want it. A lot of Google apps can be deleted too, though you want to be a little more careful with those as Android is pretty much based on the Google Services Framework and many Google apps are tied into the system. Generally, apps like Chrome, Docs, Drive, Hangouts, Maps(if you prefer another map application like Waze or whatever), etc. are good to go if you want. I wouldn't delete any of the core Google apps though that may handle major processes on your phone, like Calendar, possibly even Gmail or any of the ones that you don't know what they do. Deleting the stock camera, gallery, video or music player may sometimes give you problems down the line too, so I would probably keep those. You can also back all your apps up before deleting with Titanium Backup from the Play Store too in case you delete something that you need to put back later.
*NOTE: Some apps, like the Google ones for instance, may cause popup errors after you delete them. This is normal. Your phone's just looking for all those files that were just secretly running a few moments ago. All you have to do is reboot to get rid of those messages. If they still persist, then just reinstall the app.
7) Download an app to clean up that leftover mess. When you delete an app, especially with system stuff, it often leaves a bunch of folders and junk behind. Go to the Play Store and download an app that allows you to clean all that up. There's lots of good ones. I like to use one called "SD Maid" myself. It's good at cleaning up those leftover files and has a feature called "CorpseFinder" in fact that does just that. It also cleans up a lot of other things on your phone.
Anyhow, if you're a heavy power user like myself or you store a lot of music or other media on your phone in addition to 20 million apps or so and you need more space, then I hope this helps you out. Take care guys. Thanks!
Out of curiosity, how does this affect the "phone unlock" feature? In case I want to change providers?
2xMakina said:
Out of curiosity, how does this affect the "phone unlock" feature? In case I want to change providers?
Click to expand...
Click to collapse
It won't affect it at all as long as you don't delete the "Device Unlock" app. More info on unlocking your device here:
http://forum.xda-developers.com/showthread.php?p=63729887
Also, you can just install SlimPickins if you want an already debloated rom.
http://forum.xda-developers.com/showthread.php?p=63868639
So I selected photo to delete and it somehow selected albums. So now Almost all my important pictures and videos are gone. I downloaded several apps and got back a good bit of pictures but I did not recover any videos. I read several pages about rooting the phone to actually get all the stuff back. Is this something that needs done? Also doesn't rooting wipe your phone so would that get rid of the deleted items? I am so devastated those pictures were my life and like an idiot I didn't back them up. Any ideas on how I can recover them?
Any ideas? I read an article saying you can root the phone and still recover deleted items but want to see what you guys think.
Sent from my SM-G935V using Tapatalk
If your files were stored internal there's a big chance that the rest might've got overwritten by other applications. On SD-Card you might be able to get more back but if you worked with it (meaning storing other files or probably even editing), it will most likely overwrite them.
Since every phone behaves different I can't say what you should use. I can only say what I read the most people suggesting.
They talk about the program recuva, which runs on your computer. After connecting your phone to your pc, they say you should run a 'deep scan'.
I never used it myself so I can't say if it works. You'd have to search how to use it.
(Program Link: Piriform - Recouva)
Rooting might also help in your favor, because those apps have more access to the storage and can perform actions normal apps can't do in there rather limited workspace.
But rooting also means writting/modifying data on your phone which could use the space where the remainings of your files are stored (deppends if they are internal or external/sd-card).
But from my expirence on pc, chances are very slim that you get all of your files back. I accidentally formatted my hard disk and after force stopping the process I only could restore about ~30% of my files (and most of them were corrupted).
You see formating or deleting doesn't actually delets stuff.
You could see all your stored files as a book and the index is that what you can see in your file manager. When you delete something it doesn't touches the file at first, it only deletes the entry in the index that a file was at that point in your storage and tells the system that place is free to use again. So apps will begin using that free space. After that it becomes almost imposible to get the file back.