How to Clear/Wipe Dalvik-Cache via ADB?

Search This thread

Hassan_Elyas

Senior Member
Jul 1, 2011
245
107
Hyderabad
www.hassanelyas.com
I recently got my cache corrupted and whenever i turn on the phone the phone goes into recovery and says -
E : failed to mount cache.
E : failed to mount cache/recovery/last_log.
ETC ETC...

There is an endless argument about this error. i cannot boot into stock roms because of this. i just want to clear dalvik cache now.

Is there any way to do it?
I'm not able to wipe anything in recovery mode.
i can access download mode only.
 

Hassan_Elyas

Senior Member
Jul 1, 2011
245
107
Hyderabad
www.hassanelyas.com
can you paste a pic? Are you trying to do this in recovery mode? What recovery ?

Yeah i can.
My phone is in recovery mode Stock ICS.
here is the screenshot of cmd.

galaxy_note_error.PNG


What do i do next?
 
  • Like
Reactions: xyzabc123456789

nokiamodeln91

Senior Member
Jun 6, 2012
7,389
2,634
Flash speedmod ics kernel and i can now access adb shell.. what should i do next?
when i enter this 'rm - r /data/dalvik-cache' command it says 'rm' is not recognized as an internal or external command. operable program or batch file.

I'm a noob at this. please direct me.

mistakenly entered a space in "-r" command.
if you get permission denied then run adb as root...
Code:
adb root
rm -r /data/dalvik-cache
rm -r /cache/dalvik-cache
 

nokiamodeln91

Senior Member
Jun 6, 2012
7,389
2,634
looks problem with the memory block.. my support ends here.. may be you will need re-partition..
- you may try to rerun this after installing a newer recovery like cm10.2 kernel.
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 8
    Using adb
    rm - r /data/dalvik-cache
    rm - r /cache/dalvik-cache
    3
    I recently got my cache corrupted and whenever i turn on the phone the phone goes into recovery and says -
    E : failed to mount cache.
    E : failed to mount cache/recovery/last_log.
    ETC ETC...

    There is an endless argument about this error. i cannot boot into stock roms because of this. i just want to clear dalvik cache now.

    Is there any way to do it?
    I'm not able to wipe anything in recovery mode.
    i can access download mode only.
    2
    Flash speedmod ics kernel and i can now access adb shell.. what should i do next?
    when i enter this 'rm - r /data/dalvik-cache' command it says 'rm' is not recognized as an internal or external command. operable program or batch file.

    I'm a noob at this. please direct me.

    mistakenly entered a space in "-r" command.
    if you get permission denied then run adb as root...
    Code:
    adb root
    rm -r /data/dalvik-cache
    rm -r /cache/dalvik-cache
    1
    Using adb
    rm - r /data/dalvik-cache
    rm - r /cache/dalvik-cache

    Thanks for your reply.
    How can i get into adb ?
    In cmd, when i enter 'adb shell' it says ' exec '/system/bin/sh' failed : no such file or directory.

    i can see the device connected in adb devices.
    how can i proceed ? please help
    1
    can you paste a pic? Are you trying to do this in recovery mode? What recovery ?

    Yeah i can.
    My phone is in recovery mode Stock ICS.
    here is the screenshot of cmd.

    galaxy_note_error.PNG


    What do i do next?