[Q] Data use question - Nexus One Q&A, Help & Troubleshooting

After several install of a ROM (namely BCM from zero-cool), my /data/data dir begins to grow out of control.
I suspect some data are not used anymore, but this dir is not wiped by a new install (that's better like that BTW).
How could I know which directories are not needed anymore by the installed applis?
Any ideas, fellows?

ivanoff7 said:
After several install of a ROM (namely BCM from zero-cool), my /data/data dir begins to grow out of control.
I suspect some data are not used anymore, but this dir is not wiped by a new install (that's better like that BTW).
How could I know which directories are not needed anymore by the installed applis?
Any ideas, fellows?
Click to expand...
Click to collapse
What? I'm sorry but i don't understand your question? Your data partition grows? Did you try a full wipe?

race55 said:
What? I'm sorry but i don't understand your question? Your data partition grows? Did you try a full wipe?
Click to expand...
Click to collapse
Yes of course, I could do a wipe but I would have to configure all my apps again.
But maybe I can backup the data and restore it app by app, whenever an appli is installed. Not very practical but probably efficient.

Related

Help: Firefox for android stuck in memory

Tried firefox for android beta2 today and it freezed my phone, so I uninstall it only to realise that it locked 13MB of my internal memory permanently probably due to bad uninstall. Tried to reinstall it so that I can uninstall it again but it didn't allow me to install again saying that I don't have enough memory (though i still have ~45 MB free internal memory).
Anyone knows where does firefox install to? I couldn't find it in any of the app directory (not in data\app or system\app, nothing in dalvik cache and data\data as well). having 14MB memory locked is really a paint considering how small our milestone memory is.
Please help.
Thanks
en0203 said:
Tried firefox for android beta2 today and it freezed my phone, so I uninstall it only to realise that it locked 13MB of my internal memory permanently probably due to bad uninstall. Tried to reinstall it so that I can uninstall it again but it didn't allow me to install again saying that I don't have enough memory (though i still have ~45 MB free internal memory).
Anyone knows where does firefox install to? I couldn't find it in any of the app directory (not in data\app or system\app, nothing in dalvik cache and data\data as well). having 14MB memory locked is really a paint considering how small our milestone memory is.
Please help.
Thanks
Click to expand...
Click to collapse
bump. please can someone help. thanks
en0203 said:
bump. please can someone help. thanks
Click to expand...
Click to collapse
1.Do you have a recent nandroid backup? that would be a simple fix?
2. What rom and kernel are you using?
3. Is your phone rooted? Probably yes...All the apps go to /system/app, unless you have apps2sd installed
4. If it's not there and it's not in "manage applications" then probably it's a an error of your rom showing erroneous available space.
Hi,
Thanks for your reply.
1) I am using XT720, we don't have nandroid backup tools yet
2) Stock EU rom and kernel for XT720
3) yes, rooted. I am sure it's not in /system/app (mine has got apps2sd)
4) I guess I'll probably need to reflash the rom to get rid of it then. a bit troublesome but no choice I guess.
Something about the firefox is that if you install it you'll find that the space taken up by the firefox is much bigger than the .apk+dalvik cache+data in the normal app installation path. some portion gets installed into somewhere else which nobody knows where. My friend with a Nexus one try to move it to sd but it simply won't move the whole thing because part of it does not install to the /app.
Anyway, thanks for the help. I'll wait another day or two before I flash it to stock again.
Many thanks
en0203 said:
Hi,
Thanks for your reply.
1) I am using XT720, we don't have nandroid backup tools yet
2) Stock EU rom and kernel for XT720
3) yes, rooted. I am sure it's not in /system/app (mine has got apps2sd)
4) I guess I'll probably need to reflash the rom to get rid of it then. a bit troublesome but no choice I guess.
Something about the firefox is that if you install it you'll find that the space taken up by the firefox is much bigger than the .apk+dalvik cache+data in the normal app installation path. some portion gets installed into somewhere else which nobody knows where. My friend with a Nexus one try to move it to sd but it simply won't move the whole thing because part of it does not install to the /app.
Anyway, thanks for the help. I'll wait another day or two before I flash it to stock again.
Many thanks
Click to expand...
Click to collapse
Can you go into recovery? ADB commands actually work as root there.
You also said you have app2sd - I'm guessing the ext version. You can browse around the ext partition if you have something that can read it (like Ubuntu) and delete it from the card as well.
- Look into your /cache partition and delete every download*.apk
- Look into /data/app and look if there is still an apk left
- Look into /data/data and see if a Firefox-folder is located there - delete it!
You can do all this with RootExplorer
Then you should be fixed
Milestone isn't supported. I think I read it somewhere on the mozilla site. There's some known issue logged somewhere
Sent from my Milestone using XDA App
Check if there is any "*.tmp" files under /data/app ?
I was locked some memory due to unsuccessful install of "Pocket Legends", and found out that the apks were stored in both "/cache/downloadfile.apk" and "/data/app/vmxyzxyz.tmp".

[Q] What happens to /system when a rom is installed?

I'm sure this question has been answered before, but I can't find it anywhere, so here goes:
I always thought that whenever a ROM is installed it completly wipes and overwrites the /system partition. But perhaps I figure wrong, maybe the files/folders within /system are overwritten and any other pre-existing files are left behind.
Which is it?
I ask this because I notice that the size of /sytem in an update.zip varies from one ROM to another, this suggests to me that perhaps files can be left behind when a ROM is installed. Also I'm curious why it's sometimes possible to upgrade a rom without a wipe and sometimes it isn't.
It depends on how the ROM is set up to install...
Basically, a flashable zip is just a bunch of files and a script that installs the package. If the script also has instructions to erase files or directories, then it will...
Sent from my Nexus One using XDA App
it depends on what you are doing. if i flash a full ROM to my phone, it will just upgrade everything as if it were a real OTA from google, meaning it keeps every thing in tact. if i wipe the phone first, of course it re-writes everything. so it's a tough question to answer.
Thanks danger-rat, perfect explanation.
It's quite interesting that we rely on the ROM-dev to wipe whatever is necessary (as a manual wipe from Recovery-mode does not wipe /system). So I guess it's possible to install a new ROM and be left with bits of the old one still in /system if the ROM-dev didn't specifiy a format of /system.
danger-rat said:
It depends on how the ROM is set up to install...
Basically, a flashable zip is just a bunch of files and a script that installs the package. If the script also has instructions to erase files or directories, then it will...
Sent from my Nexus One using XDA App
Click to expand...
Click to collapse

Need Help Plz :)

I'm trying to uninstall NFS Shift completely. I've uninstalled using Uninstall Pro, deleted the folder from "my files/data", but can't find the remaining files using Root Explorer. Can anyone show me where it's at or are there any? The reason I'm doing this is, I'm getting an error when trying to play.
Thanks in advance..
Guess not...
Hondo209 said:
Guess not...
Click to expand...
Click to collapse
If you're really wanting to make sure you've cleaned it out, you could always to a Titanium backup of all the apps/data that is/are good (or that you want to save), and do a factory reset from Clockworkmod Recovery. That would clean out anything that's left.
Just make sure you don't do anything that will format your internal sd card (unless you've moved all the things you want to keep to a safe place).
Granted, you'd have to take some time to reinstall your other apps, but it might solve your problem.
Just my opinion, though.
Hondo209 said:
Guess not...
Click to expand...
Click to collapse
Or get a an app called SDMaid. That's kinda what is was made for doing. Completely cleaning up entire apps and clone files and such.
seems like a lot of trouble to get rid of a few 2-5 kb files in my opinion

[Q] CM10 Nightly problem...

Hi
First sorry for my english...
Since cm-10-20120910-NIGHTLY-umts_sholes i can't flash my a853 (milestone).
cm-10-20120823-NIGHTLY-umts_sholes works fine but no other after that, openrecovery says "some symlinks failed" status 7 error instalation aborted....
How can solve this?
and... sorry for my english
Solution
Hernan_ar_c said:
Hi
First sorry for my english...
Since cm-10-20120910-NIGHTLY-umts_sholes i can't flash my a853 (milestone).
cm-10-20120823-NIGHTLY-umts_sholes works fine but no other after that, openrecovery says "some symlinks failed" status 7 error instalation aborted....
How can solve this?
and... sorry for my english
Click to expand...
Click to collapse
It's because it cant fit in the system partition. Quentin himself made a little guide, how to make a bootable zip from the new nightlies. HERE it is. I deleted the Live Wallpapers and some other stuff i would disable anyway.
Solved
Erovia said:
It's because it cant fit in the system partition. Quentin himself made a little guide, how to make a bootable zip from the new nightlies. HERE it is. I deleted the Live Wallpapers and some other stuff i would disable anyway.
Click to expand...
Click to collapse
Thank you fot the info Erovia. :good:
Hernan_ar_c said:
Thank you fot the info Erovia. :good:
Click to expand...
Click to collapse
Your welcome
ps.: please hit thanks button
Here i take this message too (status 7), but in zip package don't have as live wallpapper apk, have some more apk's i have to exclude or someting more?
Sory for my poor english!
Yes, the newest nightly doesnt have live wallpapers by default. You have to delete some other stuffs.
Ringtones, some fonts are safe to delete. (and those asian fonts eats up at least 8Mb...)
I can't make it work too. I tried to delete some stuff, but I don't know what is safe to delete or not.
I don't need Live Wallpapers and so on, but the apk isn't in the zip file anymore.
DerET said:
I can't make it work too. I tried to delete some stuff, but I don't know what is safe to delete or not.
I don't need Live Wallpapers and so on, but the apk isn't in the zip file anymore.
Click to expand...
Click to collapse
Try booting ROM form that post: http://forum.xda-developers.com/showthread.php?p=32403158#post32403158
Its already prepared for booting. Before that you better wipe all user data and cache - it should work after that
The installation worked, but my Milestone stuck while the boot logo is shown.
Edit: Works after a restart, but now it tells me every minute that text-to-speech has crashed. >.<
CM10 boot issue with latest nightly
Greetings all, I am new to this forum so bear with me :laugh:
I have just tried out the latest rom from this thread http://forum.xda-developers.com/showthread.php?t=1445209
(I am currently running CM9)
It boots to a blank screen with just the bar at the top, which seems to work, but no home screen to be seen :crying:
I understand there won't be a wallpaper, but I should see icons, right?
I have cleaned all the caches and reset to factory before installing, but nothing ..
I do not have the /data partition though, is that necessary?
Thanks,
B.
You should have wallpaper, only the live wallpapers were deleted by default.
I guess, the problem is your /data partition. It's necessary to wipe it if you upgrade your rom. Wiping it should solve your problem.
Well, after some restarts it's working. But Angry Birds isn't running and World of Goo is lagging. Isn't the great project butter working?
Erovia said:
You should have wallpaper, only the live wallpapers were deleted by default.
I guess, the problem is your /data partition. It's necessary to wipe it if you upgrade your rom. Wiping it should solve your problem.
Click to expand...
Click to collapse
Hmm, I don't have a /data partition yet ... I guess that is the problem.
Question: If I create a new SD card with a FAT32 partition at the start and an EXT3 at the end, can I just copy my phone SD card contents
including hidden files to the FAT32 partition, put it in the phone and all will be good?
I am guessing that the OS will find the partition and create a mount point for it and that I don't have to do that, right?
Thanks,
B.
DerET said:
Well, after some restarts it's working. But Angry Birds isn't running and World of Goo is lagging. Isn't the great project butter working?
Click to expand...
Click to collapse
Project Butter improves the reactiveness of the UI and increases the framerate.
But the reason for games not working is a lack of RAM (in 90% of the cases).
To circumvent this you need to use a kernel that supports zRAM and/or swap.
bmentink said:
Hmm, I don't have a /data partition yet ... I guess that is the problem.
Question: If I create a new SD card with a FAT32 partition at the start and an EXT3 at the end, can I just copy my phone SD card contents
including hidden files to the FAT32 partition, put it in the phone and all will be good?
I am guessing that the OS will find the partition and create a mount point for it and that I don't have to do that, right?
Thanks,
B.
Click to expand...
Click to collapse
So I created the card with the new partition and it works fine with my CM9 backup from nandroid.
When I try to install CM10 I deleted all the caches, factory reset etc and installed CM10.
When it eventually booted to the setup wizard, I enter all the information and it says it is complete, but then on exit the wizard dies and I am left with the status bar and a black screen ..
I tried re-booting, but it won't boot until I go and delete the caches etc again ..
What's wrong?:crying:
Did you wipe everything from recovery? Because doing a Factory Reset might not be enough.
Erovia said:
Did you wipe everything from recovery? Because doing a Factory Reset might not be enough.
Click to expand...
Click to collapse
What does "Did you wipe everything from recovery" mean? If you mean did I execute all of the three menu options in recovery, then yes I did that.
However, I do have it going now ... but only after many resets .. and I got stuck on the setup app crashing ..
I am using it and have found it a bit flakey .. slows down at times and the keyboard goes away sometimes, I have to use the hard keyboard.
EDIT: Found the reason for that was voice typing was on for some reason.
I also noticed that the font is very light (alsmost un-readable) in contacts, I have to hold the phone at an angle to be able to read the names.
Here is the cure for the font problem:
Open "HWA Settings" and disable "Contacts" and "Messaging".
Erovia said:
Here is the cure for the font problem:
Open "HWA Settings" and disable "Contacts" and "Messaging".
Click to expand...
Click to collapse
Cool thanks, that did it ..:good:
So what is "HWA Settings" anyway?
If an app don't need hardware acceleration, than it will ask the system to not to do it, but sometimes it's just not working properly and with HWA Settings we can disable the hw acc on that app.

[DEPRECATED] Migrator - Android Backup Solution and Data Migration Utility

THIS PROJECT IS DEPRECATED. I HAVE AN ALTERNATIVE HERE.
Documentation: https://github.com/VR-25/migrator/blob/master/README.md/
Releases: https://github.com/VR-25/migrator/releases/
Reserved for jokes.
It seems really interesting, thumbs up man :good::good::good:
Okay I still don't quite understand the method technically even after reading the description.
The thing is if dev say clean flash(wipe data,system,cache,dalvik) is a must before installing a rom,etc.Then will this adk solution can be used instead of titanium backup?Because you wrote that adk more efficient than tb maybe I'll use this instead of tb
handers1234 said:
Okay I still don't quite understand the method technically even after reading the description.
The thing is if dev say clean flash(wipe data,system,cache,dalvik) is a must before installing a rom,etc.Then will this adk solution can be used instead of titanium backup?Because you wrote that adk more efficient than tb maybe I'll use this instead of tb
Click to expand...
Click to collapse
All you really need to understand are the setup steps. This module prevents app data from being deleted when you use TWRP's "wipe data/factory reset feature".
This sounds too good to be true, lol almost like a proof of concept. Can just binding the new dir with the old make it so there are no issues whatsoever? Will test later this week cause I romhop a lot.
My phone's storage is almost full.The thing i want to ask is if this procedure will need more data space inside /data/media.
alvinator94 said:
This sounds too good to be true, lol almost like a proof of concept. Can just binding the new dir with the old make it so there are no issues whatsoever? Will test later this week cause I romhop a lot.
Click to expand...
Click to collapse
And indeed it is true. No issues whatsoever -- I'm using it myself.
foxmcc8 said:
My phone's storage is almost full.The thing i want to ask is if this procedure will need more data space inside /data/media.
Click to expand...
Click to collapse
No extra space is taken, as data is moved, not copied.
I installed this and it erased all my app data, ironically enough. Make sure you have a backup before installing.
After typing "adk" it finds all the apps, but after typing "." it lists every app with "pm: not found". After a reboot, the apps are not installed. Am I doing something wrong?
soren25 said:
I installed this and it erased all my app data, ironically enough. Make sure you have a backup before installing.
Click to expand...
Click to collapse
Lmao same thing happened to me. Figured the module was buggy and uninstalled it. Maybe i did something wrong too, which im not sure how considering how easy the install instructions are
soren25 said:
I installed this and it erased all my app data, ironically enough. Make sure you have a backup before installing.
Click to expand...
Click to collapse
jungle35 said:
Lmao same thing happened to me. Figured the module was buggy and uninstalled it. Maybe i did something wrong too, which im not sure how considering how easy the install instructions are
Click to expand...
Click to collapse
That's really f**ked up... same to me. I think there was no error on my side while following the "install-reboot-forget" process. Only the lib folders had been moved/binded somehow to the SD folder, no base.apks and no odex-blobs(?).
The result was a totally broken system. Sorry, but IMHO the Dev should not proclaim it that way as long as the script seems to be in pre-alpha ... All log files in /data/media/adk/logs/ are empty, too!
Really don't know whether LMAO or :crying:
Sent from my OnePlus3T using XDA Labs
Please add an alpha into the title. Same happens to me.... and titanium can't restore accounts anymore...
The XDA link in the module description takes you to the forum section rather than this thread.
Seemed interesting and installed
But I lose all app data ,
found no logs and nothing just like fresh install of everything
Keep a backup before trying this
I was on magisk 16.7 ,
Redmi note 3 AEX N
Do not install! I lost everything like everyone else. Pictures I just took on vacation of my kids gone. All texts gone. All app data gone. Wtf man. This needs to be pulled. I lost 3gig of data
JohnFawkes said:
Do not install! I lost everything like everyone else. Pictures I just took on vacation of my kids gone. All texts gone. All app data gone. Wtf man. This needs to be pulled. I lost 3gig of data
Click to expand...
Click to collapse
Never ever try magisk stuff without nandroid or other backup in backhand.
I, like everyone else posting here, fell for this extension and lost all my app data.
I'm not sure if this extension is buggy or if we are simply too stupid to get it running but here is what I did:
install
reboot
forget (about all my app data as all apps seem to have lost their data)
I then opened a terminal, typed adk as instructed and am getting:
permission denied. Can't create /data/media/adk/logs/res_apks_verbose_log.txt: permission denied
typing su before adk does indeed give me a list of apps which seems to get longer every few minutes.
Maybe its still busy copying? I'll give it some more time. Not sure what's up though, are we supposed to wait for the ap to copy all app data over then do an initial restore? Or is it not correctly "linking" the apps to the new app data storage?
###edit###
I did not immediately remove this extension as I thought to give it some time. I then rebooted and its now hanging at the boot screen saying: "Starting up ... please wait" - this section usually only takes a few seconds but I've been staring at this screen for minutes now. I'll give it 30 minutes, maybe it is still busy copying all my APKs and app data to the SD card? I mean I was already wondering how this can only need one simple reboot to be ready...
I'll update this thread if I have any new findings as the extension description sounds quite logical so maybe we're all doing something wrong
Dev RECOMMENDED app data backup in first step even BEFORE INSTALLING it through magisk or twrp.
I think nobody is doing it
J4jks said:
Dev RECOMMENDED app data backup in first step even BEFORE INSTALLING it through magisk or twrp.
I think nobody is doing it
Click to expand...
Click to collapse
you're right he did. I didn't say I don't have a backup I only said the extension isn't behaving as advertised OR I don't get how to use it.
Also, he should change that sentence from "recommended" to mandatory if his app wipes app data
---------- Post added at 02:36 PM ---------- Previous post was at 02:18 PM ----------
I have disabled the extension and rolled back my backup. I'm still wondering what went wrong here as the extension actually created the right folders on my SD card. Somehow the links seem to have been missing. I didn't dare try a restore via "adk ." as it was unclear what else could have gone wrong.
I would however appreciate some feedback and clarification from the author.

Categories

Resources