- # Copyright 2012 Sony Ericsson Mobile Communications AB.
- # Copyright (C) 2012 Sony Mobile Communications AB.
- # All rights, including trade secret rights, reserved.
- # Delete all files in the dalvik-cache to make sure there is enough
- # space on the data partition when doing an upgrade.
- # The dalvik-cache is only cleared if the $MARK file is not present.
- # The name of the MARK file should be changed for each upgrade.
- # The MARK variable is the name of a file which if present disables clean
- # up of dex files.
- /system/bin/log -t $TAG -p i "Checking $1 ..."
- if `/system/bin/ls $1 > /dev/null`; then
- return 0
- return 1
- if ! check_file_exists $DST/$MARK ; then
- /system/bin/log -t $TAG -p i "Clearing dalvik cache ..."
- /system/bin/rm $DST/*
- /system/bin/touch $DST/$MARK
- /system/bin/chmod 0644 $DST/$MARK
Xperia acro HD (IS12S) init.clrdex.sh (6.1.D.0.170)
huhka_com Jul 31st, 2012 95 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
RAW Paste Data