Factory reset question - Streak 5 Q&A, Help & Troubleshooting

What files and folders are deleted from a firmware factory reset.
Thank you in advance.
Sent from my Dell Streak using XDA App

On a factory reset the phone is restored to its new out of box condition, so any apps you added to the 2GB internal MicroSD will be gone, along with files added to the system directories such as fonts. Any tweaks made to the Streak are gone, and all the original bloatware that Dell throws on the unit will return. Files that were renamed, such as install-recovery.sh will be reset to their default. All user accounts (google, facebook, twitter) will be deleted. The files on the 16GB card are unaffected.

factory reset only deletes everything in /data and /cache, there might be a bit more then that. It cant repair anything beyond what can be fixed by removing bad config files.
You need to use a pkg to regenerate /system
It's functionally similar to doing 'delete data' and 'clear dalvik cache' from streakmod, but streakmod misses stuff somehow.

I did delete both folders /data and /cache (with Root Explorer) , let the mobile reboot, took even the battery off and it came on the previous state as it was before. That seemed strange to me, or not ? Are those just symlinks ?
Thank you for the answers.
Sent from my Dell Streak using XDA App

Related

I'm confused on System/App vs Data/App

To me, I should be able to Factory Reset my phone any time and get what was "Delivery" By Sprint/HTC/CustomROMChef
But I should be able to update (from market) any Market App.
So I see a lot of folks put a bunch of stuff normally in System/App in Data/App
So that users can uninstall it. That's fine.
But if users want it and factory reset (or clear data) it's completely gone and the only way to get it back is to flash.
If a Market App is in System/App and it be still updated from the Market.
If it can be updated from Market why can't it be uninstaled?
It seems there should be a script that runs when you clear data that repopulates Data to the same state it was delivered. But that would waste from ROM space.
What am I missing.
I hope folks follow my thinking and can straighten me out.
Thanks
Googling around I did find this one critical tidbit
Market updates with /system apps that aren't "supposed" to be in /system is a pain. The market will install an app into the /data/app directory by default, so if you have something like LauncherPro that is a non-system app by Google's definitions, but it's in your /system/app directory because it came pre-packaged with your ROM, then if you update from the market you end up with two copies of it -- a deprecated version in /system and the current version in /data.
You also lose any theming when you update from the market, but that's nothing new and iirc that's true for any themed app regardless of whether it's in /data or /system
Click to expand...
Click to collapse
In the world of s-off you don't factory reset anymore you wipe and reflash.
If you factory reset any apps or data in the /data will disappear.
The system directory is typically write protected unless you can get root permissions, any updates are stored in data. Devs will typically put the updated apps in the system dir saves some space, once an update comes out the space you saved is then lost.
Sent from my PG86100 using Tapatalk
Chuki82 said:
In the world of s-off you don't factory reset anymore you wipe and reflash.
If you factory reset any apps or data in the /data will disappear.
The system directory is typically write protected unless you can get root permissions, any updates are stored in data. Devs will typically put the updated apps in the system dir saves some space, once an update comes out the space you saved is then lost.
Sent from my PG86100 using Tapatalk
Click to expand...
Click to collapse
I understand what you are saying. But I'd like the option/concept of being able to clear Data without Reflashing.
So are you saying if a Market App (e.g. Google Maps) is in System and you update it from Market, it will always put the updated version in Data and leave the System one dormant (it will never replace or remove the one in system regardless of root status)?
How does Sprints Stock ROM do it? They allow removing some bloatware and I assume if I factory Reset, nothing would be missing, even if I uninstalled it.
All I can think they do is they bury a backup of Data in the ROM that is restored on Factory Reset.
Yes on the updated apps thing. Updates are saved to data the original is left dormant in system.
The apps in the stock rom are in system, certain ones can be removed or so you think. They are more like disabled, something allows to go dormant as you called it and the only way I know to get it back is a reset.
If certain rom devs move apps to data to be actually removed and you do a reset you lose those apps. If you don't want that to happen, I suggest backing up any and all apps you want sprint, HTC, other. Then reset and restore.
I have backups of all the stock Apps I like to use and if the rom includes it, and great! If not I have a good copy on hand.
Sent from my PG86100 using Tapatalk
Y factory reset when you could wipe dalvik and cache???,,, also learn how to move apps you want manually,,makes life easier for you sometimes
Sent from my PG86100 using Tapatalk
ktrotter11 said:
Y factory reset when you could wipe dalvik and cache???,,, also learn how to move apps you want manually,,makes life easier for you sometimes
Sent from my PG86100 using Tapatalk
Click to expand...
Click to collapse
Because if you having problems, due to what ever reason, clearing cache is not always the solution.

[Q] How do I clear SMS/MMS Storage?

I think I improperly handled my Titanium Backup restore to this phone. The messaging app keeps crashing and I'm seeing the following in the logs:
E/DatabaseUtils( 2920): android.database.sqlite.SQLiteException: no such table: wpm: , while compiling: DELETE FROM wpm WHERE thread_id = 9223372036854775807
I've cleared data for the Messaging app and rebooted, but I'm still seeing it. My guess is that the SMS/MMS storage isn't in the messaging app, but I'm not sure which other app I need to clear data to get this fixed.
Thanks for any help,
Craig
Clear messaging data (the way you did already), boot to recovery, and clear cache & dalvik cache.
Wiping dalvik cache has fixed issues with messaging for me in the past. I never experienced crashing after fresh installs though, only after swapping apks. It's worth a try though.
I cleared cache from recovery, but I don't have a dalvik cache clear option in recovery (I don't have CWM installed). Clearing cache had no affect. Other ideas? This is a bit frustrating... Even using a third party message application, I'm getting the Force Close dialogs for the Messaging app.
I think I'm going to need to clear dialer storage. Unfortunately, I'm not able to stop the dialer storage or clear the data. Other ideas on how to clean that out so that I can start fresh? (without having to do something crazy like a factory reset)
Thanks again,
Craig
csetera said:
I cleared cache from recovery, but I don't have a dalvik cache clear option in recovery (I don't have CWM installed). Clearing cache had no affect. Other ideas? This is a bit frustrating... Even using a third party message application, I'm getting the Force Close dialogs for the Messaging app.
Click to expand...
Click to collapse
Dalvik cache is in the advanced menu.
Sent from my Galaxy SII
Either I'm blind or I don't have an advanced menu.
Either way, I'm convinced that it won't help. My Titanium Backup was from Cyanogenmod (2.3.7) and the Galaxy S II is at 2.3.6. My assumption is that I've gone and restored SMS databases that are incompatible and I need to get rid of those before things will work. My current issue is that I can't stop Dialer Storage and I can't "Clear Data" for Dialer Storage, so I'm not sure what I can do next...
I'm considering coming at it from the command-line (adb) and deleting raw databases, but that seems pretty dangerous and I'm hoping someone can offer me a better approach.
csetera said:
Either I'm blind or I don't have an advanced menu.
Either way, I'm convinced that it won't help. My Titanium Backup was from Cyanogenmod (2.3.7) and the Galaxy S II is at 2.3.6. My assumption is that I've gone and restored SMS databases that are incompatible and I need to get rid of those before things will work. My current issue is that I can't stop Dialer Storage and I can't "Clear Data" for Dialer Storage, so I'm not sure what I can do next...
I'm considering coming at it from the command-line (adb) and deleting raw databases, but that seems pretty dangerous and I'm hoping someone can offer me a better approach.
Click to expand...
Click to collapse
Advanced menu in recovery.
....and ahh....so that's what it is. Never restore system data across roms! Only missing apps + data. Make a titanium backup (full backup - apps and system data). Do a full wipe and install your rom again; when you do your titanium restore, ONLY RESTORE MISSING APPS + DATA.
I don't have an advanced menu in recovery that I can see...
In the end, it doesn't matter, although I had to go a bit hardcore. I dropped to a shell and deleted the SMS storage databases:
Code:
[[email protected]] temp $ adb shell
$ su
# cd /data/data/com.android.providers.telephony/databases
# ls
shared_prefs
mmssms.db
telephony.db-wal
telephony.db
telephony.db-shm
nwk_info.db
mmssms.db-wal
mmssms.db-shm
# rm mmssms.db mmssms.db-wal mmssms.db-shm
Followed by a reboot and now messaging is working fine. With that said, is there any way to "export" the messages from my old device and import them into the new? I can survive without them if necessary, but it would be nice if I could keep them.
Answer my own question... This app worked perfectly to save off my old SMS and import them into my new phone... Life is good now.
https://market.android.com/details?id=com.riteshsahu.SMSBackupRestore
Learn from this experience haha.....
Good stuff.
Sent from my Galaxy SII
Indeed a quick and nice solution.
I think it's worth noting that this solution will effectively delete your SMS repositories. So handle with care.

/data mystery

I'm on Generic ROM from LG which is 2.3.3 Gingerbread and I'm rooted.
This issue has been occurred to me previously but I would like to mention it with a fresh start.
Today the application Google Maps v6.8.1 was updated, thus I too updated my app. Now I took a backup of that app and renamed it as Maps_6.8.1.apk. I did a Clear Data on that app and uninstalled the update, then again did a Clear Data for the old app. Now from ES File Explorer, I went to /system/app and replaced the old Google Maps application with the latest update. After successfully replacing the application, I restarted my handset. After the restart, I checked that the app was successfully replaced and functional.
Now the only problem arises is that surprisingly, I still have some data worth 4MB in /data partition (NOTE: app size is 6.1MB). I can surely say this because I faced this problem earlier and did a Factory Reset which successfully gave me those occupied space. But this time, I don't want to perform a factory reset again.
van_helsing_80 said:
Now the only problem arises is that surprisingly, I still have some data worth 4MB in /data partition (NOTE: app size is 6.1MB). I can surely say this because I faced this problem earlier and did a Factory Reset which successfully gave me those occupied space. But this time, I don't want to perform a factory reset again.
Click to expand...
Click to collapse
Trying to remember: isn't there a "save cache to SD" option in Map's settings? I don't have it installed on my current ROM so I can't check. This is different from the offline caching in map Labs.
fratermus said:
Trying to remember: isn't there a "save cache to SD" option in Map's settings? I don't have it installed on my current ROM so I can't check. This is different from the offline caching in map Labs.
Click to expand...
Click to collapse
Maps was just an example my friend, this happens with any app I move to /system/app partition
Try clearing dalvik-cache(from recovery) but at your own expense
Once i cleared it and got bootloop,then had to factory reset from recovery

Stuck in boot: "Android upgrading" (rooted)

Hello and thanks for reading this. This is what happened:
So I've just rooted my phone with the CF-1.5 for the second time and installed GTAIII (and one other app) without thinking about the amount of space it would take.
90% through the installation i get a warning that the memory is almost full. Before i could push anything the screen went black and it rebooted.
I pass the Samsung logo but then it says "Android is upgrading: Optimizing apps 2/2" then: "Android is upgrading: Opening program" (but in Swedish so my translation might be a bit off).
After that it makes a short vibration, the LED blinks blue and after a small time of being black screen it returns to the "Android is upgrading: Optimizing apps 2/2" in an endless loop.
Can i do anything to skip the app-optimizing?
How can i make this better from recovery mode without any backups and without wiping everything to factory reset?
My initial guess is that i just have to make enough room for the upgrade and then it will boot normally. But how?
try to use the aroma file manager which you can use out of recovery mode.
aHcVolle said:
try to use the aroma file manager which you can use out of recovery mode.
Click to expand...
Click to collapse
i can't find aroma file manager. i have "CWM-based Recovery v5.5.0.4 : : CF-v1.5".
I would happely wipe all apps as long as i get to keep the photos!
Perform factory reset in recovery doesn't delete your photos.
Sent from my GT-I9300 using xda app-developers app
THANKS!
Arsaw said:
Perform factory reset in recovery doesn't delete your photos.
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
Thank you so much! i lost all apps and settings but that is nothing when i got to keep the pictures! Much appreciated!
Wrong thread, sorry.
I am stuck on this Android app optimizing after a Dalvik cache wipe.
This optimize will occur every time a Dalvik cache wipe is done.
I am using AROMA Filemanager to try to delete some apps so not to be optimized at boot and to avoid a factory reset.
What should I delete so to do this??
Is the .apk file (or .asec file if app instaled on sdcard -- located in /.android_secure folder) and related /data/data the only things I must delete???
EDIT: I tryed removing all my ROVIO Angry games and it worked!! All those games where installed on internal sdcard, so I deleted the related /data/data folders in Root and related app files .asec that where located on internal sdcard in the /.android_secure folder
Thank you very much!!
EDIT2: The problem was that I had an/some app/s that won't build Dalvik cache. This might be related to apps that where installed from market or backup (TitaniumBackup) and that where never runned once!! Before wiping Dalvik cache be sure to have all apps that where executed/opened/played at least one so to create correct database scructure!!

Force Delete Extra '0' Folders

I've been experimenting with a few different ROMs. First, I used UltimaRom, before moving onto Paranoid Android, and then CM10. Currently, I am using RootBox - Its been the best one so far (rivalling UltimaROM)
However, I've been left with lots of '0' directories in the file system. So, if I'm on root using ES File Explorer, I can click on '0' repeatedly to get sdcard/0/0/0.
Now, this 0 folder is taking a lot of space. Previously, the folder was 3.61GB in size(!). I've deleted it, now - reducing the size to 1.8GB.
However, the problem is that the UltimaROM ... ROM simply does not go away. The ROM is 1.8GB in size! So, its taking quite a bit of space. I've tried ES, Astro, and the delete option from 'Storage' in the settings yet, although they indicate they've deleted it, it doesn't actually go - and instead it just comes back again and again!
I'm sure I've full wiped in every instance. So, factory reset, cleared cache, cleared dalvik cache, and I even cleared system before moving between the ROMs.
I know two of the '0's were formed by bad installs of RootBox - one install failed, then, forgetting to format before retrying, the next one installed. To rectify this, I installed RootBox again - formatting this time before doing so.
How do I delete this thing permanently?! I really want to avoid wiping again, because it takes so long to get all my apps back. And, there's no guarantee wiping will even work! Although, if that is the only way, I will try it!
Sent from my Nexus 7 using xda app-developers app
Download a stock ROM, flash it in recovery, and that should get rid of the 0 folder. Just make sure the 0 folder doesn't contain any files or data that you might want to save.
Better yet, update your recovery to at least 6.0.27.
Sent from my GT-I9300 using xda app-developers app
Will updating my recovery really fix the issue?
Seems like an unusual method... But I'll try it!
Also, I'm trying to avoid reflashing, so in going to look for other solutions before i completely must flash to get rid of the 0 folder,
Sent from my Nexus 7 using xda app-developers app
Recovery has nothing to do with this, you miss understood him.
Stock Rom? Why? Would this realy overwrite the (perhaps r/o) folders?
I think it's the savest way to format your internal /data /system etc from recovery, and flash your ROM clean. Theretical you can move/ delete your existing folders, but this can be very confusing. Some folders/ mounts may be read only at the moment...
If you switching from 4.2 to 4.1 you are left with the 0 folder. Flashing a stock ROM will reformat your file system and get ride of the 0 folder. If you are switching between 4.2 ROMs you may get a 0/0/0/... folder. Updating recovery should revert the 0/0/0/... folder back to the 0 folder.
When I went from CM10.1 to 4.1 I was left with the 0 folder. Formatting the system in recovery didn't solve the problem and flashing a stock ROM did.
Best method use the search function as per Q12 FAQS .
Question has been asked and solved recently .
jje

Categories

Resources