Follow steps below to fix the problem:
- Search and install "mTerminal" from Cydia.
- Open mTerminal and type the following:
Note: default password for su root is alpine
You need to re-jailbreak the device, reinstall iKeyMonitor and run the above commands again each time after device reboots.