Clear system caches (clear.caches)
Declaration
clear.caches()
Description
Clear system caches. The system noticeably stalls during the call, and all threads are blocked throughout.
This function may take a long time; force-stopping the script mid-run can be slow (it may require a hard kill).
Example
clear.caches()
--
clear.caches{no_uicache = true} -- Skip uicache (which is slow). You may run os.execute('su mobile -c uicache') instead.