Skip to content

Simple helper & proof of concept script to activate forgotten mpeg2 & and vc codec licenses on raspberry pi

License

Notifications You must be signed in to change notification settings

suuhm/raspi_mpeg_license_patch.sh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 

Repository files navigation

raspi_mpeg_license_patch.sh

Simple hack & proof of concept script to activate (forgotten) mpeg2 and VC codec licenses on raspberry pi

BASED AS SHELL Proof of Concept and HELPER ON:

https://github.com/nucular/raspi-keygen


How to run the script:

Simply run this one-liner:

wget https://raw.githubusercontent.com/suuhm/raspi_mpeg_license_patch.sh/main/raspi_mpeg_license_patch.sh -qO- | bash -s -- --patch-now

You can also easily patch/check with the additional --os=<raspbian|libreelec|osmc|xbian> parameters if you want to specificate your Raspi-Enviroment.

For Example, if you want to patch libreElec:

raspi_mpeg_license_patch.sh --patch-now --os=libreelec
and reboot your Raspi.



Tested on libreelec 9x & raspbian and OSMC (Rpi1 -3)

Functions:

  • --check-only Only checking if yet patched
  • --patch-now To Patch the system
  • --reset-to-original Reset the start.elf to original state
  • Autodetect of start.elf file in your system

(On Raspbian and other OS you have to replace START_ELF=/flash/start.elf with START_ELF=/boot/start.elf or something else keep in mind some directories can be variable!)



!!!! IMPORTANT NOTE !!!!

PLEASE BUY THE LICENSES - THIS SCRIPT IS JUST FOR RECOVER CASES!!!

I don't take responsibility for any damages, you have to do your backup before!

SEE MORE:

https://codecs.raspberrypi.org/mpeg-2-license-key/

Releases

No releases published

Packages

No packages published

Languages