Skip to content

Instantly share code, notes, and snippets.

@EncryptedCurse
Last active October 10, 2022 03:10
Show Gist options
  • Save EncryptedCurse/1661a9cfa0b1aef0e0deb554bb044940 to your computer and use it in GitHub Desktop.
Save EncryptedCurse/1661a9cfa0b1aef0e0deb554bb044940 to your computer and use it in GitHub Desktop.
Raspberry Pi MPEG-2, VC-1 license patch
sudo su <<EOF
cd /boot
cp start_x.elf start_x.elf_backup && \
perl -pne 's/\x47\xE9362H\x1D\x18/\x47\xE9362H\x1D\x1F/g' < start_x.elf_backup > start_x.elf
EOF
sudo su <<EOF
cd /boot
cp start.elf start.elf_backup && \
perl -pne 's/\x47\xE9362H\x3C\x18/\x47\xE9362H\x3C\x1F/g' < start.elf_backup > start.elf
EOF
@infojoe
Copy link

infojoe commented Oct 1, 2021

Last version this works on is Apr-15-2020:
https://github.com/raspberrypi/firmware/tree/9e3c23ce779e8cf44c33d6a25bba249319207f68/boot

The latest files all show the following after the 47E933363248 string:

start.elf: 0918
start_x.elf: has two locations, 0090 and 1D18

Hopefully someone smarter than me will be able to make it work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment