Raspbian Stretch repository is using a bit outdated version of kodi (version 17.1  17.3 and the latest stable is kodi 17.4 krypton).

By using the pipplware repository you will receive latest updates of kodi faster than the official raspbian repository .To install the latest version of kodi (kodi 17.4) on your raspberry pi follow below steps.

Note: This tutorial is for Raspbian Stretch (new), If you are running Raspbian Jessie (old ) Follow this guide

Add the pipplware repository  to  /etc/apt/sources.list

sudo nano /etc/apt/sources.list


add below line to /etc/apt/sources.list

deb http://pipplware.pplware.pt/pipplware/dists/stretch/main/binary /


Add the repo keys

wget -O - http://pipplware.pplware.pt/pipplware/key.asc | sudo apt-key add - 


Now update the sources and Upgrade your Rpi

sudo apt-get update && sudo apt-get dist-upgrade


Now install Kodi

sudo apt-get install kodi


install Kodi PVR addons (optional)

sudo apt-get install kodi-pvr*


below set of commands provides kodi proper permission for accessing rpi hardware

Create new system group

sudo addgroup --system input


Create new file

sudo nano /etc/udev/rules.d/99-input.rules


Now add the below lines to above file

SUBSYSTEM==input, GROUP=input, MODE=0660
KERNEL==tty[0-9]*, GROUP=tty, MODE=0660

Create new file

sudo nano /etc/udev/rules.d/10-permissions.rules


Now add the below lines to above file

KERNEL=="mouse*|mice|event*", MODE="0660", GROUP="input"
KERNEL=="ts[0-9]*|uinput", MODE="0660", GROUP="input"
KERNEL==js[0-9]*, MODE=0660, GROUP=input
KERNEL==tty[0-9]*, MODE=0666
SUBSYSTEM==vchiq, GROUP=video, MODE=0660


Now run the following commands

Note:Replace ‘pi’ with your username (in most cases pi is the default user in raspbian,You can use the command ‘whoami’ to get your username)

sudo usermod -a -G audio pi
sudo usermod -a -G video pi
sudo usermod -a -G input pi
sudo usermod -a -G dialout pi
sudo usermod -a -G plugdev pi
sudo usermod -a -G tty pi


How to enable shutdown and reboot option in kodi power menu

To add shutdown or reboot option you need Make Sure policykit-1  package is installed then create a new policy kit file.

sudo nano /etc/polkit-1/localauthority/50-local.d/all_users_shutdown_reboot.pkla

Now add below contents to the file

[Allow all users to shutdown and reboot]

To start kodi automatically with boot  (raspbian boots directly to kodi)
Run below command to add Kodi upstart script

 sudo wget -O /etc/init.d/kodi https://gist.githubusercontent.com/shyamjos/60ea61fd8932fd5c868c80543b34f033/raw;sudo chmod +x /etc/init.d/kodi

Then enable upstart script by running below command

sudo systemctl enable kodi


Voila! now you have successfully installed kodi on your raspberry pi

PS: Make Sure you have gpu memory of >=160MB to play Full HD videos. (use raspi-config command to increase  it)



How to install latest version kodi 17.4 krypton on Raspbian stretch [Complete Guide]
Tagged on:     

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: