How to delete the history and cache in Opera Mobile (10.1) via shell?
2
votes
2
answers
18442
views
I run **Opera Mobile 10.1** on Android. My device is rooted. **How can I clear the history and cache of the browser via shell?**
As su, removing
> /data/data/com.opera.browser/opera/profiles/smartphone/cookies4.dat
>
> /data/data/com.opera.browser/opera/profiles/smartphone/cache
>
> /data/data/com.opera.browser/opera/profiles/smartphone/cacheO
and a
> /system/xbin/busybox killall -9
> com.opera.browser
afterwards doesn't seem to do the job. Afterwards, bookmarks etc. are still there.
In **Opera Mini** I found it easy to just delete
> /data/data/com.opera.mini.android/cache/webviewCache
>
> /data/data/com.opera.mini.android/databases
but unfortunately, Opera Mini in it's current version has a bug and doesn't work on most devices.
**Edit:**
Another approach I tried is to kill the Opera process, then set an entry in the **opera.ini**, referring to http://www.opera.com/support/usingopera/operaini/#private :
[Clear Private Data Dialog]
CheckFlags=1023
but it doesn't cause Opera to clear the history and cache after a restart.
Asked by Mathias Conradt
(83 rep)
Dec 28, 2010, 05:19 PM
Last activity: Sep 4, 2012, 09:50 PM
Last activity: Sep 4, 2012, 09:50 PM