0

Will flashing the stock firmware using HOME_CSC instead of CSC restore all app settings, specifically the encrypted configuration file /data/system/packages.xml?

Motivation: If an unrooted Android device is soft-bricked by accidentally uninstalling critical system apps from user space (and hence modifying packages.xml), is there any practical way of restoring the secured packages.xml file to the stock version without wiping all data?

UPDATE: There is some additional confusion. It seems unclear what exactly pm uninstall from the ADB shell does, i.e. which files get modified (see here and here). Is it packages.xml or package-restrictions.xml or both?

5
  • Devices I know have one user data partition. Flashing this partition is equivalent to performing a factory reset.
    – Robert
    Jun 21, 2022 at 16:43
  • Comments are not for extended discussion; this conversation has been moved to chat.
    – alecxs
    Jun 21, 2022 at 18:43
  • @alecxs Again, very informative, but not sure it actually answers my question (which refers to the installed/uninstalled/disabled state of apps)
    – srhslvmn
    Jun 22, 2022 at 14:11
  • 1
    Cleaned up comments - however, the answer remains the same as the linked solution does not apply here.
    – srhslvmn
    Jun 22, 2022 at 16:25

0

You must log in to answer this question.

Browse other questions tagged .