Troubleshooting

From CyanogenMod Wiki
(Redirected from Problems after reinstall)
Jump to: navigation, search

Contents

Problems after upgrade

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:

Fixing Permissions

More Info: fix permissions
adb shell fix_permissions

Apps Missing

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

adb shell rm -r /data/data/com.android.vending/cache

Contacts error: "The contact does not exist" / FC

This is a common Contacts problem which occurs when you first flash CyanogenMod 5 on the device from CyanogenMod 4.x.x (without wiping).

To fix this, manually re-enable Google Account Sync in the Contacts Account Setting (Contacts (APP)» Menu » Accounts » Google Account » Check Contacts.

Market FC

Change the phone's language from Hd (English) (the default) to English (United States) (thanks to Kaik541 for the tip)

App issues

If an app doesn't work

  1. Try reinstalling (see below if the market doesn't let you)
  2. Clear data/cache for the app in settings » applications » application management
  3. Try fixing permissions (see above)
  4. Boot into Recovery and wipe Dalvik-cache

Apps don't run and appear in market with greyed out buttons

This typically happens during a ROM upgrade or when moving sdcards with apps2sd or similar. The cause is the application file (.apk) actually goes missing or gets deleted, but the market still thinks it's installed. The easiest solution is to manually remove the market data and let it re-create it from the .apks that are present.

  1. Settings » applications » manage applications » market » all » 'Force Stop' then 'Clear data' & 'Clear cache' buttons
  2. Reboot

Media scanner fails to pick up new files (music, pictures, ringtones, etc)

Recent changes to the indexing of mp3 files has changed the media database, but the database may not upgrade cleanly.

  1. Open Settings » Applications » Manage Applications
  2. Press 'Menu' and then 'Filter' and select 'All'
  3. Scroll to the Media Storage app, tap it and press 'Clear Data'
  4. From the launcher, open the Dev Tools app and use the 'Media Scanner' option
  5. Once media scanner is done, your new and old files should all be indexed.

Battery recalibration

If you're experiencing higher than normal battery drain, try the following:

  1. Charge the device to full battery; let it keep charging until the battery says it is fully charged. Do not just wait until the light is green, it isn't always fully charged, causing a lot of inaccuracies. (You can check by going to: Settings » About device » Status » Battery Level = Full.)
  2. Boot to recovery mode and delete the battery stats
    NOTE: To have the most accurate of battery stats, reboot the device immediately after wiping the battery stats and wait for CyanogenMod to boot completely to the desktop. Once your entire boot is done and you have full access to the device, go ahead and pull the charger and continue with this troubleshooter.
  3. Do not charge the device until after draining the battery completely, resulting in it automatically shutting off.
  4. Recharge the device completely and then use as you normally would.

Bootloop problem

If after flashing CyanogenMod via RomManager and the device is stuck constantly at the boot screen, it is experiencing what's called a "bootloop". If this is occurring, try the following and this should resolve the issue:

  1. Pull the battery from the device.
  2. Boot into the custom recovery image. Refer to this article on more info on that.
  3. Download the latest version of CyanogenMod on the computer.
    Optional: Download the Google Apps for the device.
  4. Mount the device into USB storage mode:
    • Amon_Ra's Recovery: select USB-MS toggle
    • ClockworkMod Recovery: select mounts and storage » mount USB storage
  5. Copy the CyanogenMod update.zip to the root of the SD card.
    Optional: Copy the Google Apps update.zip to the root of the SD card.
  6. Unmount USB storage mode:
    • Amon_Ra's Recovery: press the Home button
    • 'ClockworkMod Recovery: select Unmount
  7. Wipe userdata:
    • Amon_Ra's Recovery: select Wipe » Wipe ALL userdata
    • ClockworkMod Recovery: select wipe data/factory reset
  8. Flash CyanogenMod:
    • Amon_Ra's Recovery: select Flash zip from sdcard and select the CyanogenMod update.zip
    • ClockworkMod Recovery: select install zip from sdcard » choose zip from sdcard and select the CyanogenMod update.zip
    Optional: Also flash the Google Apps.
  9. Reboot the device and everything should be fine.

Missing Google-Specific Apps?

Once booted you might find some apps are missing, namely the Android Market, Gmail, etc. If this has happened, you will need to flash the Google Apps pack. To flash, copy the Google Apps to the root of the SD card, boot into the custom recovery image, and flash the Google Apps package like you flash any other ROM (do not wipe data after flashing the Google Apps package).

Dream specific

Downgrade to rc29 / rc7 issues

  1. If you have issues with the rc29/7 downgrade, reformat the card and re-download the DREAIMG.nbh and try again

Magic specific

HTC Magic / Sapphire bad audio (voice/mic) quality after upgrade

On CyanogenMod 5.0.7-xxxx versions, Magic users have reported very low mic volume or other audio problems. This should be fixed as of CyanogenMod 5.0.8-DS and later, but if you have issues try flashing from recovery the file attached to this issue report

On CyanogenMod 6.0.0-RC1, Magic users have experienced broken in-call sound. Flashing this from recovery will fix it

Personal tools
In other languages