--- rockbox.orig/apps/tagcache.c 2010-10-19 15:20:20.230864600 +0700 +++ rockbox/apps/tagcache.c 2010-10-22 10:07:58.553828100 +0700 @@ -4462,11 +4462,19 @@ remove_files(); remove(get_user_file_path(TAGCACHE_FILE_TEMP, IS_FILE|NEED_WRITE, path, sizeof(path))); +#if (CONFIG_PLATFORM & PLATFORM_ANDROID) + tagcache_build("/sdcard"); +#else tagcache_build("/"); +#endif break; case Q_UPDATE: +#if (CONFIG_PLATFORM & PLATFORM_ANDROID) + tagcache_build("/sdcard"); +#else tagcache_build("/"); +#endif #ifdef HAVE_TC_RAMCACHE load_ramcache(); #endif @@ -4484,13 +4492,21 @@ { load_ramcache(); if (tc_stat.ramcache && global_settings.tagcache_autoupdate) +#if (CONFIG_PLATFORM & PLATFORM_ANDROID) + tagcache_build("/sdcard"); +#else tagcache_build("/"); +#endif } else #endif if (global_settings.tagcache_autoupdate) { +#if (CONFIG_PLATFORM & PLATFORM_ANDROID) + tagcache_build("/sdcard"); +#else tagcache_build("/"); +#endif /* This will be very slow unless dircache is enabled or target is flash based, but do it anyway for