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://*gi**thub.com/nucular/raspi-keygen
How to run the script:
Simply run this one-liner:
wget https://raw.*github*user*content.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-onlyOnly checking if yet patched -
--patch-nowTo Patch the system -
--reset-to-originalReset 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.r*as**pberrypi.org/mpeg-2-license-key/
