Storage Space Running Out With WiFi on Android | Solution

One of the readers posted this following question in one of my earlier posts on a similar problem faced by users:

"Thanks for your valuable support.Only One quarry is that i delete log folder them my memory come back but when i on Wi-Fi continuously then automatic my free space of internal memory leaps from 10.0 Gb towards 0 MB .Pls Give solution i m really afraid that what happen whith my Samsung Note-2 phone."

Rewriting the problem in my style:

"Whenever I keep Wifi on, my free memory always gone!"

So the problem could be a lot of logs being created either when the wifi is getting initialised or due to some debug statement getting executed repeatedly. If updating firmware, or other workarounds did not work, then try this desperate workaround:

1. Root your phone. For a general idea or a step-by-step method for S2 I9100G (which is my phone) refer here.
2. Download the Root Browser app fro here:
3. Reboot
4. Open the newly installed Root Browser app, a pop up will come stating if you want to give the app root permission. Grant it.
5. Navigate to /system/bin and look for the file named: "dumpstate"
6. Touch the file for a few seconds (Right Click???) to get the options for the file, and select "Permissions".
7. Untick/Uncheck all the marks under the "Execute" Permissions column.
8. Navigate to /data/ and delete the folder "log".
9. See the magic :)

I don’t guarantee that you will fix the problem but it’s a good start nonetheless.