Problems after reinstall

From CyanogenMod Wiki

Jump to: navigation, search

If things are broken after reinstall, most likely either the permissions on the app are broken (aka the system wont allow the app to run) or the system is using old, bad data to run the app, so we have to fix the permissions or remove the cache files. As a rule, if an app or the system doesnt find cache files when launching, it will recreate them, so there is no danger in doing any of the following.

all commands below should be typed into the console, and you should run 'su' first:

  su 

su puts you in a root console

Contents

[edit] fixing permissions

from the console:

  fix_permissions

More information available at this article: fix_permissions

[edit] Apps Missing

if your apps are missing after reinstall (and the market is grayed out), you should:

  • kill (remove) your market cache
  rm -r /data/data/com.android.vending/cache

[edit] Market Broken

if your market is missing or broken (force closes, fails to install apps, or just isn't working)

  • Uninstall T-mobile's market update
 Settings > Applications > Manage Applications > Market > Uninstall Updates
  • kill the market dalvik-cache (apps2sd)
 mount /system/sd
 rm -r /data/data/com.android.vending/cache
 rm /system/sd/data/dalvik-cache/*MarketUpdater.apk*
 rm /system/sd/data/dalvik-cache/*com.android.vending.apk*
  • kill the market dalvik-cache (no apps2sd)
 rm -r /data/data/com.android.vending/cache
 rm /data/dalvik-cache/*MarketUpdater.apk*
 rm /data/dalvik-cache/*com.android.vending.apk*
  • Uninstall the market and reboot
 rm -rf /system/app/Market*.apk
 rm /data/app/com.android.vending.apk
 pm uninstall com.android.vending
 reboot

[edit] kill the whole dalvik-cache (for apps2sd)

 mount /system/sd 
 rm -r /system/sd/dalvik-cache

[edit] kill the whole dalvik-cache (no apps2sd)

 rm -r /data/dalvik-cache/*
Personal tools