Skip to main content
added 1 character in body
Source Link
Ju Tutt
  • 514
  • 4
  • 20

need root

go to "/data/data/com.android.chrome"

rename "cache" dir something else i.e "cache2"

create a symlink named "cache" in that folder pointing to somewhere else or null

done

I actually point the symlink to a newly created dir in the /storage partition. It gets erased every time you reboot (not with soft/hot-(re)boot). Since Chrome and other app cache can grow several hundred megabytes, I chose /storage partition so I can save space on user partition. I did the trick even with Twitter app, Maps app and other appapps that grow very large cache size.

These newly created dir must have set permission 771 and owner and group set to Chrome UID (10057 in my case).

I put a 11cachescript.sh into /system/etc/init.d/ to set up these folder at startup.

#!/system/bin/sh
mkdir -m 771 /storage/cache
mkdir -m 771 /storage/cache/chrome
chown 10057:10057 /storage/cache/chrome

You can also point the symlink to a non existing folder, Chrome will still work but will not save cache file anywhere. If you don't use a script like above, next reboot symlink will point to a non-existent dir, but still work.

You can delete everything inside "cache2" folder, there can be hundreds of megabytes in there!

need root

go to "/data/data/com.android.chrome"

rename "cache" dir something else i.e "cache2"

create a symlink named "cache" in that folder pointing to somewhere else or null

done

I actually point the symlink to a newly created dir in the /storage partition. It gets erased every time you reboot (not with soft/hot-(re)boot). Since Chrome and other app cache can grow several hundred megabytes, I chose /storage partition so I can save space on user partition. I did the trick even with Twitter app, Maps app and other app that grow very large cache size.

These newly created dir must have set permission 771 and owner and group set to Chrome UID (10057 in my case).

I put a 11cachescript.sh into /system/etc/init.d/ to set up these folder at startup.

#!/system/bin/sh
mkdir -m 771 /storage/cache
mkdir -m 771 /storage/cache/chrome
chown 10057:10057 /storage/cache/chrome

You can also point the symlink to a non existing folder, Chrome will still work but will not save cache file anywhere. If you don't use a script like above, next reboot symlink will point to a non-existent dir, but still work.

You can delete everything inside "cache2" folder, there can be hundreds of megabytes in there!

need root

go to "/data/data/com.android.chrome"

rename "cache" dir something else i.e "cache2"

create a symlink named "cache" in that folder pointing to somewhere else or null

done

I actually point the symlink to a newly created dir in the /storage partition. It gets erased every time you reboot (not with soft/hot-(re)boot). Since Chrome and other app cache can grow several hundred megabytes, I chose /storage partition so I can save space on user partition. I did the trick even with Twitter app, Maps app and other apps that grow very large cache size.

These newly created dir must have set permission 771 and owner and group set to Chrome UID (10057 in my case).

I put a 11cachescript.sh into /system/etc/init.d/ to set up these folder at startup.

#!/system/bin/sh
mkdir -m 771 /storage/cache
mkdir -m 771 /storage/cache/chrome
chown 10057:10057 /storage/cache/chrome

You can also point the symlink to a non existing folder, Chrome will still work but will not save cache file anywhere. If you don't use a script like above, next reboot symlink will point to a non-existent dir, but still work.

You can delete everything inside "cache2" folder, there can be hundreds of megabytes in there!

added 7 characters in body
Source Link
Ju Tutt
  • 514
  • 4
  • 20

need root

go to "/data/data/com.android.chrome"

rename "cache" dir something else i.e "cache2"

create a symlink named "cache" in that folder pointing to somewhere else or null

done

I actually point the symlink to a newly created dir in the /storage partition. It gets erased every time you reboot (not whenwith soft/hot-reboot(re)boot). Since Chrome and other app cache can grow several hundred megabytes, I chose /storage partition so I can save space on user partition. I did the trick even with Twitter app, Maps app and other app that grow very large cache size. 

These newly created dir must have set permission 771 and owner and group set to Chrome UID (10057 in my case).

I put a script11cachescript.sh into /system/etc/init.d/ to set up these folder at startup.

#!/system/bin/sh
mkdir -m 771 /storage/cache
mkdir -m 771 /storage/cache/chrome
chown 10057:10057 /storage/cache/chrome

You can also point the symlink to a non existing folder, Chrome will still work but will not save cache file anywhere. If you don't use a script like above, next reboot symlink will point to a non-existent dir, but still work.

You can delete everything inside "cache2" folder, there can be hundreds of megabytes in there!

need root

go to "/data/data/com.android.chrome"

rename "cache" dir something else i.e "cache2"

create a symlink named "cache" in that folder pointing to somewhere else or null

done

I actually point the symlink to a newly created dir in the /storage partition. It gets erased every time you reboot (not when soft-reboot). I did the trick even with Twitter app, Maps app and other app that grow very large cache size. These newly created dir must have set permission 771 and owner and group set to Chrome UID (10057 in my case).

I put a script.sh into /system/etc/init.d/ to set up these folder at startup.

#!/system/bin/sh
mkdir -m 771 /storage/cache
mkdir -m 771 /storage/cache/chrome
chown 10057:10057 /storage/cache/chrome

You can also point the symlink to a non existing folder, Chrome will still work but will not save cache file anywhere.

You can delete everything inside "cache2" folder, there can be hundreds of megabytes in there!

need root

go to "/data/data/com.android.chrome"

rename "cache" dir something else i.e "cache2"

create a symlink named "cache" in that folder pointing to somewhere else or null

done

I actually point the symlink to a newly created dir in the /storage partition. It gets erased every time you reboot (not with soft/hot-(re)boot). Since Chrome and other app cache can grow several hundred megabytes, I chose /storage partition so I can save space on user partition. I did the trick even with Twitter app, Maps app and other app that grow very large cache size. 

These newly created dir must have set permission 771 and owner and group set to Chrome UID (10057 in my case).

I put a 11cachescript.sh into /system/etc/init.d/ to set up these folder at startup.

#!/system/bin/sh
mkdir -m 771 /storage/cache
mkdir -m 771 /storage/cache/chrome
chown 10057:10057 /storage/cache/chrome

You can also point the symlink to a non existing folder, Chrome will still work but will not save cache file anywhere. If you don't use a script like above, next reboot symlink will point to a non-existent dir, but still work.

You can delete everything inside "cache2" folder, there can be hundreds of megabytes in there!

added 7 characters in body
Source Link
Ju Tutt
  • 514
  • 4
  • 20

need root

go to "/data/data/com.android.chrome"

rename "cache" dir something else i.e "cache2"

create a symlink named "cache" in that folder pointing to somewhere else or null

done

I actually point the symlink to a newly created dir in the /storage partition. It gets erased every time you reboot (not when soft-reboot). I did the trick even with Twitter app, Maps app and other app that grow very large cache size. These newly created dir must have set permission 771 and owner and group set to Chrome UID (or other related app10057 in my case).

I put a script.sh into /system/etc/init.d/ to set up these folder at startup.

#!/system/bin/sh
mkdir -m 771 /storage/cache
mkdir -m 771 /storage/cache/chrome
chown 10057:10057 /storage/cache/chrome

You can also point the symlink to a non existing folder, Chrome will still work but will not save cache file anywhere.

You can delete everything inside "cache2" folder, there can be hundreds of megabytes in there!

need root

go to "/data/data/com.android.chrome"

rename "cache" dir something else i.e "cache2"

create a symlink named "cache" in that folder pointing to somewhere else or null

done

I actually point the symlink to a newly created dir in the /storage partition. It gets erased every time you reboot (not when soft-reboot). I did the trick even with Twitter app, Maps app and other app that grow very large cache size. These newly created dir must have set permission 771 and owner and group Chrome (or other related app).

I put a script.sh into /system/etc/init.d/ to set up these folder at startup.

#!/system/bin/sh
mkdir -m 771 /storage/cache
mkdir -m 771 /storage/cache/chrome
chown 10057:10057 /storage/cache/chrome

You can also point the symlink to a non existing folder, Chrome will still work but will not save cache file anywhere.

need root

go to "/data/data/com.android.chrome"

rename "cache" dir something else i.e "cache2"

create a symlink named "cache" in that folder pointing to somewhere else or null

done

I actually point the symlink to a newly created dir in the /storage partition. It gets erased every time you reboot (not when soft-reboot). I did the trick even with Twitter app, Maps app and other app that grow very large cache size. These newly created dir must have set permission 771 and owner and group set to Chrome UID (10057 in my case).

I put a script.sh into /system/etc/init.d/ to set up these folder at startup.

#!/system/bin/sh
mkdir -m 771 /storage/cache
mkdir -m 771 /storage/cache/chrome
chown 10057:10057 /storage/cache/chrome

You can also point the symlink to a non existing folder, Chrome will still work but will not save cache file anywhere.

You can delete everything inside "cache2" folder, there can be hundreds of megabytes in there!

added 284 characters in body
Source Link
Ju Tutt
  • 514
  • 4
  • 20
Loading
Source Link
Ju Tutt
  • 514
  • 4
  • 20
Loading