Wednesday, August 14, 2013

Storage Space Running out on Android | Solution

Samsung S2 delete system log
Android delete system log

My Internal Storage was full, and I had no idea what was eating all the memory. I deleted all my apps (including Candy Crush :( Sigh ) in an attempt to increase the memory. None of my apps were getting updated, and the phone was laggy.

And the solution was pretty simple..

The files in "Internal Storage" cannot be browsed using a normal file browser because inherently Android states that files in this storage be 'private'.

I figured there must be something inside that is roughly the size of 10GB..

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 /data/ and delete the folder "log"
6. See the magic :)

The log folder in my case was full of trash since 6 months. The screenshot below shows the contents of the 'log' folder.

Each entry is around 600 KB in length. Every day around 7-10 of such entries were created by my phone. Every day!!!

Every day since Feb 5 2013.. and today is August 14.

And then I deleted the 'log' folder. Volia:

Unfortunately, I didnt take the screenshots earlier as I had no intention to blog about it. But just imagine the blue bar all the way to the right, stating only 150+ MB of free space instead of 1.5 GB.

Happy Happy :D What a simple solution to the irritating problem of the internal storage space running out constantly. Hurray

How to root the Samsung Galaxy S2 I9100G on Android 4.1.2 Jelly Bean | Easiest Way

Rooted on 14 August 2013.

This is the easiest way to root your Samsung S2 phone. It just requires one download, and you don't root it via the USB connection technically.

This works for S2 I9100G only and may not work for other Samsung s2 variants.
Other warnings regarding rooting a phone apply here as well, such as related to warranty, bricking your phone. These steps worked for me, but may not work for you. So don't blame me if you make a mistake somewhere.

Check list
1) Install the appropriate USB Driver for Samsung GalaxyS2 on the computer. Basically if you can connect your phone to your computer to browser the files, then you are done.
2) Ensure that USB Debugging Mode is enabled. [Press Menu>> Settings>> Applications. From there navigate and click on Development option and ensure the USB Debugging Mode is turned on.]   
3) Create back-up for all the data of the phone.  This is important. You don't want all your contacts to disappear. Use the program Samsung Kies to automate the backup/restore procedures.

Procedure to root the Samsung Galaxy S2 I9100G working on Android 4.1.2 Jelly Bean

1) Download Rooting package [File name: SU-BB-Installer.Zip] for Galaxy S2 I9100G to the computer. Let me know if the file is no longer there.
2) Connect the phone to the computer using USB cable and copy the downloaded zip file to the external SD card of the phone. It may come up as "Card" in your device under "Computer".
3) Unplug the USB cable from the Galaxy S2 and turn it off
4) Boot the phone into Recovery Mode. Press and hold Volume Up + Home + Power buttons together. Release the Home button first then the Volume Up until the Samsung logo appears. Now release the Power button.. Try other combinations of releasing and pressing if this doesnt work.
5) Using the Volume buttons scroll down to 'apply update from external storage,' select it by pressing the Power button. Then locate the file which is saved on the SD card. Select it using the Power button and confirm installation. The process took about a minute for me.
6) Once the installation is completed, return to the recovery menu and reboot the phone by selecting 'reboot system now'

Actual Source: