I'm confused on System/App vs Data/App - HTC EVO 3D

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.

Related

Factory reset without erasing downloaded data?

i want to factory reset and start over but i dont want it to delete my downloaded data for games etc. it would be a PITA to redownload all of them again. Anyone know of a way to factory reset without it afffecting the downloaded data?
Sent from my Transformer Prime TF201 using Tapatalk
No, but Asus provides a simple tool already installed on the device called App Backup. Choose to back up applications and data. Copy to an SD card and then restore from it after the reset. Works really well.
rrhutch said:
No, but Asus provides a simple tool already installed on the device called App Backup. Choose to back up applications and data. Copy to an SD card and then restore from it after the reset. Works really well.
Click to expand...
Click to collapse
Thanks for the tip. I have to try it but assume it would take just as long. Most of my games have atleast 500mb of data. I was hoping I could just update apk and app data setting and not the additional downloaded game data. I have a feeling the app back up is like titanium back up (which I already use) and will just back up / restore apk and data setting and not the additional downloaded data.
Sent from my PG86100 using Tapatalk

storage ?

whenever I try to install something it says I do not have sufficient storage. facebook is 3.92Mb, I have 2.3Gb on phone free for programs, 8+Gb free on phone, and 29+Gb free in card! app cache found nothing to clean and reboot did not work. I am lost!
Sent from Photon 4G code name "Neo" using XDA Premium!
Try the following:
Clear cache history and other bs is browser app.
Delete any long old or unnecessary text threads. If you'd prefer there are apps to back them up.
Go into recovery and wipe cache.
See if that helps
EDIT- might even squeeze a bit more out by using an app like sd maid to clean old logs and tombstones and other BS.
@Kenny, still no workie!! I just found it strange because if you look at my OP, I have more than enough space. I will try another app! FB is jacked anyway!
Google+ FTW
Try this and remember, no matter how much you dislike what im going to say, there's no crying in baseball (little tom hanks reference )
Menu>settings>apps>downloaded>market aka vending
Force stop, clear cache, clear data, uninstall update
Now reboot. Pretty sure that should do it and if the update doesn't immediately push let me know and ill give you my apk.
KSmithInNY said:
Try this and remember, no matter how much you dislike what im going to say, there's no crying in baseball (little tom hanks reference )
Menu>settings>apps>downloaded>market aka vending
Force stop, clear cache, clear data, uninstall update
Now reboot. Pretty sure that should do it and if the update doesn't immediately push let me know and ill give you my apk.
Click to expand...
Click to collapse
Your gonna have to send it to me because that did not work either. Only difference, before I got Orange Triangle in Notification bar, this time, I got message directly from market. I will do it from home on WiFi in a hour, why waste my data................I have WiFi here duh!
EDIT: Why am I sooooo stupid? linkedin and my news app just updated with no problem. I should have known FB was at the root of this. months ago, I was not getting my IM. They fixed that, but app keep freezing. Last month I could not get to pictures on the phone, they fixed that, but back to the freeing. Now this crap...........
http://db.tt/6H2dNfyP
Have you tried wiping dalvik cache? You can try it in CWM but check its size before and after to see if its wiping. I've seen many issues, which I'll bet a google search will validate, that if dalvik cache grows too large it's first victim is preventing apps from installing from the market.
If recovery isn't wiping you could delete with root explorer and it will recreate
What's this facebook thing you mention? I'll have to get on google plus sometime and see if any of my peeps have heard of it
Glad to hear you're back in business.
OK, I went into System Recovery and deleted Delvik Cache, no success. I went into ROM Toolbox Pro, I cannot find a Delvik Cache folder (Likely burried somewhere.)
Everything is data/delvik-cache should be deleted
The Dex's will regenerate
Just a tip, apps including old versions of google apps that are in system, but no longer used because a newer version has been installed to data, create dalvik-cache. This is why I would release a flashable zip to my rom users every time a google app was updated. Id have the script remove the old apk from /system/app and put the new one in and wipe /cache/dalvik-cache (I'll explain in a min). This kept precious /data space free before we had super phones and kept things neat and tidy. It was more my OCD than anything because id always implement a script that's moves dalvik-cache to cache (now does that path make sense?) Which resulted in more than 20mb of extra /data space that's usable.
Food for thought. I've implemented busy box run parts support on my rom but I haven't even bothered touching my scripts yet so ....
KSmithInNY said:
Everything is data/delvik-cache should be deleted
The Dex's will regenerate
Click to expand...
Click to collapse
Deleted, rebooted, viewed (personally, it looked like delvik had the same s**t as before I deleted!), attempted, same message. Although everyone's help is greatly appreciated, I think its FB.................It is FB!!! Punks! I just downloaded Pirates of the Caribbean, all 18Mb with no problem!!
dsims7_2000 said:
Deleted, rebooted, viewed (personally, it looked like delvik had the same s**t as before I deleted!), attempted, same message. Although everyone's help is greatly appreciated, I think its FB.................It is FB!!! Punks! I just downloaded Pirates of the Caribbean, all 18Mb with no problem!!
Click to expand...
Click to collapse
Well ... if other apps work then its a FB problem, not our mopho problem. Yes the dalvik cache will recreate although smaller and any cache that was left from a previously installed app that has since been removed would not have recreated.
OK, @Kenny, that explains alot. 2 quick questions, When I look at the folder in ROM Toolbox Pro, it tells me the size is "Null", how do you view its size?
Lastly, I deleted that folder and rebooted @ 6:45PM after I got off work. The date on that folder is today, but the time is 15:18, around the time I used System Recovery to clear it? I exited ROM Toolbox, went back in to assure it was gone, rebooted. So maybe the old crap is still there?
dsims7_2000 said:
OK, @Kenny, that explains alot. 2 quick questions, When I look at the folder in ROM Toolbox Pro, it tells me the size is "Null", how do you view its size?
Lastly, I deleted that folder and rebooted @ 6:45PM after I got off work. The date on that folder is today, but the time is 15:18, around the time I used System Recovery to clear it? I exited ROM Toolbox, went back in to assure it was gone, rebooted. So maybe the old crap is still there?
Click to expand...
Click to collapse
To be honest I don't use rom toolbox despite owning so I just installed it to see what your saying and mine shows null size as well. If you hit menu there's a setting you need to check to tell the app the show sizes. Checked it and still null. So my answer is I don't know. That's the longest I've spent using the app and they were all null.
Also make sure your not deleting the folder but rather the contents of it.
My preferred file explorer is root explorer. In fact, one of my most used apps and I'd buy it 100x's over. In root explorer I long pressed, selected properties and my dalvik-cache was 58mb. I did some cleanup of old apps in /system/app and moved the newer versions from /data/app to /system/app. Then I deleted the dalvik-cache contents and rebooted and gained 6mb from the dalvik-cache alone. Not sure how much room was freed in /data by moving the apps to /system but its 15mb as a guess. So by that I freed 20+ mb of space and did a quick general house cleaning.
If I redirecting dalvik-cache to cache and there's another 52mb.
hi all just got this photon used and it should have 16gigs inter space but phone says 8 gigs. is that right?
nuxbag said:
hi all just got this photon used and it should have 16gigs inter space but phone says 8 gigs. is that right?
Click to expand...
Click to collapse
Here is the breakup as given by a xda member bane949
http://forum.xda-developers.com/showpost.php?p=16321320&postcount=3

Insufficient storage: google playstore error

before anyone jumps on my ass... i HAVE googled the **** out of this and spent 2 days looking for an answer. NOTHING i've found has worked.
i CANNOT install ANY updates via market. the ones i have tried, end up telling me "insufficient storage available" and then seem to disapear. facebook, maps, gmail, and a few others did this. one by one apps are leaving my phone. NO there is not a virus.
i've tried:
repairing permissions via TWRP
cleared cache/dalvik
deleted TONS of txt msgs
removed lots of apps
moved as many apps to SD as i could
deleted old nandroid backups
deleted old TIbackup backups
used leedriod to fix permissions
installed apps2sd and moved apps
im 5mins from doing a factory reset.
HELP!!!
some info:
nocturnal adrenaline r118
2.17.651.5
sense 3.0
hboot 1.4
You didn't say if you went into 'applications', manage, play store, and then cleared data. I hope you tried that and then rebooted. Same thing has happened to me and this cleared it up.
"We're coming from a pure power source."
tried that as well.
I know you may want to here this but you may need to reflash the Rom and and do a full wipe and a super wipe and wipe dalvik ceche wipe ceche and format system and the list go's on basicly wipe everything and run a super wipe tool and then flash your Rom if that doesn't work then you may want to try another Rom
Sent from my Evo 3D s off using xda premium
I know how you feel my girlfriend phone had the same problem
Sent from my Evo 3D s off using xda premium
Mine did too yesterday. Factory reset was only thing that worked.
Sent From My HTC Evo 3D, On The Now Network From Sprint!
factory wipe work, but in my case, after some time the problem keep reappearing. i can't find a proper solution for this yet.
Try turning the autosync off on your Google accountunder settings(not playstore) then back on. If that fails try signing out if your Google account then readding it.
Sent from this 3D thing
Is there no progress regarding this issue?
aagame said:
Is there no progress regarding this issue?
Click to expand...
Click to collapse
Try what I said. Want to know if that works
Sent from this 3D thing
Try clearing data on google services framework and google partner setup. Then reboot. Then add your account again and try the market.
#Root-Hack_Mod*Always\
Here's a compendium of not working solutions i've tried
repairing permissions via CWM recovery
uninstall market updates/use old market
cleared cache/dalvik
use marketfix
deleted TONS of txt msgs
removed lots of apps
use cache fixer
installed apps2sd and moved apps (ungazedata2sd,darktremor,link2sd)
find corpse app using sdmaid
Flash/reflash various ROMs
deleted old nandroid backups
deleted old TIbackup backups
uninstall/reinstall TIbackup
used Rom Manager to fix permissions
Try turning the autosync off on your Google accountunder settings(not playstore) then back on. If that fails try signing out if your Google account then readding it. (New)
Try clearing data on google services framework and google partner setup. Then reboot. Then add your account again and try the market. (New)
Here's a compendium of temporary working solutions i've tried:
unmount sdcard->install app->mount sd card only work for one download
using logcat to find specific file copy problem only work for that particular file, other download will still display this annoying error.
factory reset only helps for a while, and this annoying error came again.
Repartion/reformat sdcard also provide temporary solution, but soon the error came again.
This is soooo frustrating man!
aagame said:
Here's a compendium of not working solutions i've tried
repairing permissions via CWM recovery
uninstall market updates/use old market
cleared cache/dalvik
use marketfix
deleted TONS of txt msgs
removed lots of apps
use cache fixer
installed apps2sd and moved apps (ungazedata2sd,darktremor,link2sd)
find corpse app using sdmaid
Flash/reflash various ROMs
deleted old nandroid backups
deleted old TIbackup backups
uninstall/reinstall TIbackup
used Rom Manager to fix permissions
Try turning the autosync off on your Google accountunder settings(not playstore) then back on. If that fails try signing out if your Google account then readding it. (New)
Try clearing data on google services framework and google partner setup. Then reboot. Then add your account again and try the market. (New)
Here's a compendium of temporary working solutions i've tried:
unmount sdcard->install app->mount sd card only work for one download
using logcat to find specific file copy problem only work for that particular file, other download will still display this annoying error.
factory reset only helps for a while, and this annoying error came again.
Repartion/reformat sdcard also provide temporary solution, but soon the error came again.
This is soooo frustrating man!
Click to expand...
Click to collapse
Get a new SD card.
Weird how this problem is popping up up left and right.
I just had the same with CoolRom. Play Store AND apk files outsode of it could not be installed anymore.
Had to factory reset and now it works fine again. Pretty weird if you ask me...
Sent from my HTC EVO 3D X515m using xda premium
Both times I've had this error I used Cachemate to clear the cache, the apps then installed. Dunno why but suggests not enough RAM rather than storage.
jdeoxys said:
Get a new SD card.
Click to expand...
Click to collapse
Already tried these sd cards:
2GB Class 2
Samsung 2 GB Class 4
2 different Transcend 32 GB Class 10 (New)
stuck again.
---------- Post added at 09:29 AM ---------- Previous post was at 09:23 AM ----------
KrewsialNL said:
Weird how this problem is popping up up left and right.
I just had the same with CoolRom. Play Store AND apk files outsode of it could not be installed anymore.
Had to factory reset and now it works fine again. Pretty weird if you ask me...
Sent from my HTC EVO 3D X515m using xda premium
Click to expand...
Click to collapse
Factory reset is a temporary solution, after some time, the bug will come again.:crying:
stevefwt said:
Both times I've had this error I used Cachemate to clear the cache, the apps then installed. Dunno why but suggests not enough RAM rather than storage.
Click to expand...
Click to collapse
already tried clearing cache/dalvik, but not working 4 me.:crying:
Had the same problem with my Evo 3D. The problem is that you have to have at least 10% free internal storage in order to install anything. So move some big App to SD card to solve this.
No solutions up until now yet, but the real culprit is the cache created by google playstore in the cache partition when downloading apps.
I found a workaround to use until google sort out this bug. I backed up all of my apps, do a factory reset,and restore the app. In order to prevent google playstore to build up it's cache when downloading new apps, i use an apk leecher, transfer the apk to sdcard, and install from sdcard. Sometimes i have to use market fixer to link some installed apps to playstore. i preserved the cache for updates only.
not very pretty and i don't like this, but at least it worked.
Just verifying...You sound like you know what you are doing, but just in case...
Maybe you really are out of space... when you did apps2sd/Link2SD, did you actually partition the SD card with two partitions? Use that 32GB CL10 and make a 4gb partition (use the recovery formatter, since most align the partitions, don't use winblows/linux), then use Link2SD (my preference, since it's UI manageable, plus apps2sd didn't work for my rom anyhow) and click "Link" (not move to SD). Link moves the .apk, cache, and user data (if I recall correctly) to the "4GB" partition, but move-to-SD just moves user data to the larger USB mountable FAT partition, so this isn't going to move everything, plus it's not as flexible when mounting via USB. Good luck!
Thank you very much for reminding me. I did make 3 partitions which includes 2gb of sd-ext, 1 gb of linux swap, and the rest is fat32. on the sd-ext, i've symlinked data, cache, google play cache, system/app, and user/app partitions. there was still plenty of space left on it (more than 800mb at that time).

Super User

Sorry new to Android and am learning so please be gentle....I rooted my Razr Maxx and once I finished I installed some apps and made sure I had root access. I read that it was a good idea that I due a factory reset so I did....after the reset was complete. I noticed the icon SuperUser was now missing. Do I need that Icon? Was there any additional settings I could access via it. If so, how do I get it back?? thanks.
When you make a factory reset, all the user apps (that means all the aplications installed in the /data partition, the apps that the user has installed and wheren't there when you bought the phone) and all the personal configurations of the system are erased. A factory reset leaves your phone just as the way it was when you first turned on. So, if your SuperUser.apk was installed in the data partition it sure will be gone. That app is needed to administrate which aplications get elevated acces to some system resources, so if it's not there it is like you have no root access. Some scripts used to root the phone push the superuser.apk to the System/app folder instead of data/app, so it's not deleted by a factory reset, but this is not your case as it seems... You could donwload the superuser app from google play, but I dont recommend it as I tried it once and it didn't work. I think you should try repeating the whole root proccess, and not making a factory reset after it, it was never necessary for me. Good luck!
danygarss said:
When you make a factory reset, all the user apps (that means all the aplications installed in the /data partition, the apps that the user has installed and wheren't there when you bought the phone) and all the personal configurations of the system are erased. A factory reset leaves your phone just as the way it was when you first turned on. So, if your SuperUser.apk was installed in the data partition it sure will be gone. That app is needed to administrate which aplications get elevated acces to some system resources, so if it's not there it is like you have no root access. Some scripts used to root the phone push the superuser.apk to the System/app folder instead of data/app, so it's not deleted by a factory reset, but this is not your case as it seems... You could donwload the superuser app from google play, but I dont recommend it as I tried it once and it didn't work. I think you should try repeating the whole root proccess, and not making a factory reset after it, it was never necessary for me. Good luck!
Click to expand...
Click to collapse
Should I do a factory reset or can I just to the entire root process again now?
slawcop` said:
Should I do a factory reset or can I just to the entire root process again now?
Click to expand...
Click to collapse
Just do the entire rooting process again. If you do factory reset you will loose again your superuser.apk
You should be able to download the superuser app as the phone is still rooted. Try superSU, that's the SU app that installed when I rooted (eternity project easy root)
I did the same thing by mistake once & just downloaded the app & it worked like a charm.
Sent from my DROID SPYDER using xda premium

Factory reset - What EXACTLY happens?

Hello,
In my question, What EXACTLY happens during a factory reset, the emphasis is, obviously, on "exactly". I will explain why I need to know this - the research I've done has failed to answer my question.
Carrier-phones come with a bunch of pre-installed apps. Of all possible scenarios, Japanese smartphones, and particularly Sharp smartphones, are the worst case. They are very difficult to root, very finicky phones that seem to go into a boot loop whenever you do something to them that you're not supposed to - all the more challenging
If we manage to root a Sharp phone, the first thing we do is freeze some of the Docomo or Softbank pre-installed apps that take up precious memory. We know that if we want to do a factory reset, we must first un-freeze all those apps, or we risk going into a boot loop, and having to ship the phone back to Japan to get repaired (for those of use who don't live in Japan).
Now, the million dollar question is, what happens if we delete/uninstall those system apps? And here I am asking about the general case, hoping that Sharp haven't invented some twisted scheme here too.
When we do a factory reset, how does the phone know what was - and what is supposed to be - in the /system/apps folder? Hence: What EXACTLY happens during a factory reset?
Does the phone look up a file which contains a list of all those pre-installed app, and verify the contents of the /system/app folder against it --- and if something is missing, it gets stuck during reboot? Or does it simply delete the contents of the /data folder, without paying attention to /system/app? And why does it go into a boot loop, if a system app was frozen?
In the end, I don't simply want to freeze some apps, I want to get rid of them completely --- you can't imagine the load of BS that Japanese carriers cram into their phones (a built-in Rakuten auctions app, a McDonald's app, a BeeTV app??? and so on and so forth) --- but I want to make sure the phone isn't checking what's supposed to be in /system/app.
---------------------
In the case of my 005SH, the rootkit came with a recovery that helps me "resurrect" the phone from a boot loop - and that has happened twice after a factory reset so far - I deleted some seemingly insignificant app, and Titanium Backup failed to restore it for some reason, so it's now gone forever. But not every rootkit comes with a proper recovery...
cheeseus said:
Now, the million dollar question is, what happens if we delete/uninstall those system apps?
Click to expand...
Click to collapse
Some system apps are important for the device to run properly and some are just bloatware that can be deleted without harm (e.g, Youtube, ChatOn.. etc). There are several app lists in the forum of safe app to remove (this is one).
But I advice you not to play with system apps if you don't know which app is safe to remove.
cheeseus said:
When we do a factory reset, how does the phone know what was - and what is supposed to be - in the /system/apps folder? Hence: What EXACTLY happens during a factory reset?
Click to expand...
Click to collapse
All app in system partition will be restored as if it was first time to be run, although all of your installed app, contacts, sms, WiFi access and data will be deleted
majdinj said:
Some system apps are important for the device to run properly and some are just bloatware that can be deleted without harm (e.g, Youtube, ChatOn.. etc). There are several app lists in the forum of safe app to remove (this is one).
But I advice you not to play with system apps if you don't know which app is safe to remove.
All app in system partition will be restored as if it was first time to be run, although all of your installed app, contacts, sms, WiFi access and data will be deleted
Click to expand...
Click to collapse
Thanks but this does not answer my question. I know perfectly well which apps are bloatware and which are essential. I will restate my question:
Is there some register or list, which the phone checks during factory reset, and which says what apps were originally installed in /system/app? That is, will the phone "know" that I have removed some of the original apps?
cheeseus said:
Thanks but this does not answer my question. I know perfectly well which apps are bloatware and which are essential. I will restate my question:
Is there some register or list, which the phone checks during factory reset, and which says what apps were originally installed in /system/app? That is, will the phone "know" that I have removed some of the original apps?
Click to expand...
Click to collapse
As I mentioned, factory reset will delete all data apps that can be found in data partition not those found in system partition.. If it happens some of original apps are installed in data partition, then they will be deleted (unless if they are found in preload partition!!).. I can't be clear more than this..
majdinj said:
As I mentioned, factory reset will delete all data apps that can be found in data partition not those found in system partition.. If it happens some of original apps are installed in data partition, then they will be deleted (unless if they are found in preload partition!!).. I can't be clear more than this..
Click to expand...
Click to collapse
Really, read my question carefully, please, not just the title of the thread. You are talking about something very different.
It is known that on Japanese Sharp phones, if you uninstall and remove completely some of the apps that are installed by the manufacturer or the carrier in /system/app, when you do a factory reset, the phone may - or even will - go into a boot loop (will be bricked). This has nothing to do with apps that are installed in /data.
Is it possible that Sharp have added an extra "security" mechanism to their phones to prevent users from removing pre-installed apps (similar to their MIYABI LSM lock)? I want to know how to find this security mechanism, if it exists, and - hopefully, how to cheat it.
How does the phone know what apps are supposed to be in /system/app, and if it doesn't find them when rebooting after a factory reset, why does it go into a boot loop?

Categories

Resources