Fix the “Insufficient storage space” error message – Android

I got this error message when trying to install Viber on my phone. A 20 mb application would not install even though I had 3 gb of free space on my phone. This issue can sometimes happen if your app cache is full but that wasn’t the case this time. If you haven’t tried that yet, you should do that first.

First option
Install an app cache cleaner from play, rinse the cache and you should be good. But not this time.

Providing you have sufficient storage on your device, you have rinsed your cache and even freed up even more space than required and it still doesn’t work. There’s one more step you can take that worked for me. You have to have a rooted phone for it to work.

Last option
Open a file explorer with root permissions. Go to the root (/) folder of your phone and search for the app you are failing to install. I searched for viber. I found a few random files and just deleted them. But be cautious so you don’t delete anything important. For some reason, viber had left some files on my phone while failing to install the first time and they never got removed. After deleting them, I was able to install viber.


Root and install Kitkat on Samsung Galaxy s2 i9100 – without a computer

Root sgs2 and Install Kitkat Rom without even touching the computer.


If you own a Samsung Galaxy S2 GT-I9100 and haven’t already rooted it. First of all, wow, you really are patient. But by now, you have probably guessed that Samsung has deserted you and won’t bring any more updates to your phone. I like my phone a lot and the hardware still competes with new phones so there’s no reason to buy a new phone yet! Bring out the enviromentalist in you and keep your electronics a little longer!

1. Root
2. Download all files to your phone
3. Install Recovery
4. Factory erase phone
5. Install your flavor of Kitkat Rom.
1. Root – Framaroot
You’re going to need the “one click root” app framaroot. Scroll down and download the latest version or better yet, install framaroot from Google Play store. Just make sure your device is on the list of compatible devices.

It’s now ridiculously easy thanks to framaroot. Open framaroot on your phone and choose that you want to root your phone and  Install SuperSU as the action after root. There are at the time of writing, three modes available. Try them until you find one that works. For me Aragorn worked every time. If it doesn’t work, you won’t be able to continue with the next steps. Try my old manual on how to root sgs2. It should still be relatively accurate.

Alright, let’s say you’re Rooted, reboot your phone and go on to the next step.

2. Download all files to your phone

Install Rom Manager from Google play
Rom manager

Download CWM Recovery (Kitkat Compatible)

Download your flavor of Kitkat Rom and Gapps.
I have tried a multitude of different roms out there and as of now my favorite is Resurrection Remix. 3 main reasons. It’s stable, Gps works well MMS works well.
If you want this rom, head over here Resurrection Remix – XDA. Scroll down to the download section and download the latest versions available. Make sure you have both the Rom and Gapps (I use the light version of gapps. You can install the other apps from Play if there’s something your missing anyway)

3. Install Recovery
First you need to install just a normal recovery. I usually do it through Rom Manager.
open rom manager which you have already installed. And click Flash ClockworkMod Recovery. If it doesn’t choose phone version for you, choose galaxys2. I never choose i9100. I’m not sure why there are two versions but galaxys2 always works for me.

When you are done, turn your phone of. Start it up by simultaneously holding the vol-up, menu and power button. You should see a cute android spinning with things in his stomach and then you should find yourself in recovery mode.

Navigate with vol-up and vol-down and select with the power button. Choose Install zip.
> Choose zip from /storage/sdcard0 (or whatever option you have where you can find  your downloads)
Select your and choose Yes. After you’re done. Turn your phone of and start it into recovery mode again like you did earlier.

4. Factory reset
Select wipe data/factory reset. Make sure you have all your files you don’t want to loose, backed up. This WILL erase most files on your phone if not all.

5. Install Kitkat Rom
Now you’re ready to install your rom. Select Install zip and choose your “” file first. and chose Yes. After you have done this, install the Gapps file you downloaded as well.

Now reboot your phone and you should be done!

Downloads in case you’re confused.
1.  framaroot from Google Play store
2. Rom manager
3. CWM-Recovery-Kitkat-Compatible-i9100
4.  Resurrection Remix – XDA and Gapps.

IMPORTANT – Only if you get a signature verification issue
If you get issues with signature verification regarding CWM recovery. Please make sure you check the MD5 Sum of the file so that it hasn’t been corrupted during download. Here’s how to do it.

Download MD5 Sum Checker >here<
And compare to this MD5.

If you want to check the MD5 sum on your computer it fairly simple. For windows there are applications that will do it for you. In Linux or on a Mac you just open a terminal, go to where you have your file and type


press enter and the md5 sum will be displayed.

disclaimer: I’m not responsible for anything ever.

Login through ssh or backup with rsync without password

Login to a remote host through ssh without a password

There are a number of reasons why this would be useful. For me it was because I wanted to create an rsync backup job that would run every day at a certain time but I didn’t want the script to wait for me entering my password every time. Warning! This is a bit of a security risk so if you do this, it’s on you own risk.

1. First create a password file with ssh-keygen like this


(just press enter for every option until it’s done)

2. On this step, the “remoteuser@” is set so the user that you want to log in as on the remote host is set. If you skip this, you will log in as the current user on your local machine

ssh-copy-id -i ~/.ssh/

If you don’t have the ssh-copy-id command (on a mac) do the following:

curl -o /usr/local/bin/ssh-copy-id
chmod +x /usr/local/bin/ssh-copy-id

And don’t forget to thank beautifulcode

3. Now you should be ready. Try it out by typing


How to root Samsung Galaxy s2 (i9100)

1. Check your ROM version
2. Download the appropriate CF-Root for your ROM
3. “Flash” the kernel with Odin

There are a couple of different options but I’ll only explain one. Before you start. There is a possibility of loosing the guaranty on you phone, and also, if you break anything it’s not my fault. This is only an explanation of how I did it.

What you need. Your phone, a windows PC and a usb cable to your phone.

1. Check the version of your ROM (Firmware version)
On you phone go to menu->settings->about phone, scroll to the bottom. You will notice that your ROM has a long name that looks something like this x.x.x-xxxXWKF3-xxxxxx. The last 5 digits in the “middle” part of the name shows the name of your ROM.

2. Dowload the appropriate CF-Rooted kernel for your ROM
Now that you know the version of your ROM, you can go to the next step. A developer called Chainfire has been kind enough to set up prerooted kernels with all the tools you need to get the best use of your rooted phone

Check the following link, CF-Root press ctrl+f (cmd+f if you’re on a mac) and search for the last 3 digits in the name of your ROM which in this case will be KF3. Double check the name to see if it’s correct and then download the kernel

3. “Flash” the kernel with Odin3 v 1.83
Download Odin, you can find it with an easy google search.
Extract the file and open the program.

Power off your phone and power it on by holding the following 3 buttons simultaneously.
Volume-Down + Home (middle button) + Powerbutton. If you did it right you should find your self on a screen with the title ODIN MODE and the option of restarting or continue. Press Volume-Up to continue.
Now connect the USB-Cable to your phone. Windows should now try to install the drivers for you phone, just let it finnish. If the driver install fails you should check Samsungs support pages for the drivers to your phone. If it works, Odin should look like this:

Now click the PDA button and point it to the CF-Rooted kernel you downloaded. Make sure Repartition and Phone Bootloader are not checked (if you don’t know what your are doing). Now click Start and wait until you see this screen

Your phone should restart by itself. When it’s up and running again, check your applications menu and see if you have a new app called CWM. If you do, you are good to goo. Happy rooting!