Enable Soft Keys on the Samsung Galaxy SII International (GT-I9100) (CyanogenMod 11)

Install “ES File Explorer” from the Play Store, and then open it.

Swipe in from the left edge to open the menu, and then click “Tools”.
2 ES Side Menu Tools
Scroll down, and enable “Root Explorer”.
3 ES Side Menu Tools Root Explorer On

A dialog might pop up asking you to grant superuser access. Click “Allow”.
4 ES Superuser
Enter your PIN if necessary.
5 ES Superuser PIN

Navigate to /system/. Click on build.prop.
6 ES system
Open it with “ES Note Editor”.
7 ES system build.prop Select
Click the 3 dots, then click “Edit”.
8 ES system build.prop Edit
Add the line qemu.hw.mainkeys=0 to the end of the file.
9 ES system build.prop qemu.hw.mainkeys 0
Press the back button, then when it asks you to save, click “Yes”.
10 ES system build.prop Save

Navigate to /system/usr/keylayout/. We will need to edit the following files:

Generic.kl
gpio-keys.kl
melfas-touchkey.kl
qwerty.kl
sec_key.kl
sec_touchkey.kl

11 ES system usr keylayout

Click on Generic.kl. In the “Open As” dialog, click “Text”.
12 ES system usr keylayout Generic.kl Open As
Open it with “ES Note Editor” as before. Change to edit mode, then comment out the following lines by putting a “#” at the beginning of the line:

key 102 MOVE_HOME
key 139 MENU WAKE_DROPPED
key 158 BACK WAKE_DROPPED

Save the file.

Follow the same steps for the rest of the files, but comment out the following lines instead:

For gpio-keys.kl, comment out the following line:

key 102 HOME WAKE

For melfas-touchkey.kl, comment out the following lines:

key 158 BACK VIRTUAL
key 139 MENU VIRTUAL

For qwerty.kl, comment out the following lines:

key 158 BACK WAKE_DROPPED
key 139 MENU WAKE_DROPPED
key 102 HOME WAKE

For sec_key.kl, comment out the following line:

key 102 HOME WAKE

For sec_touchkey.kl, comment out the following lines:

key 158 BACK VIRTUAL
key 139 MENU VIRTUAL

Exit ES File Explorer.

Open the Settings app. Under “Device”, click “Buttons”
13 Settings Devices
Click “Backlight”, and uncheck “Illuminate Buttons”.
14 Settings Devices Backlight

Reboot, and enjoy your shiny new soft keys!
NOTE: You will have to repeat these steps (with the exception of the backlight setting) every time you do a system update.