- Install Termux from Github: https://github.com/termux/termux-app/releases
- Download the apk and install it -> Note that installing termux from Play Store is highly discouraged.
pkg update
pkg update
#!/usr/bin/env python3 | |
# | |
# Simple Intel x520 EEPROM patcher | |
# Modifies the EEPROM to unlock the card for non-intel branded SFP modules. | |
# | |
# Copyright 2020,2021,2022 Andreas Thienemann <[email protected]> | |
# | |
# Licensed under the GPLv3 | |
# | |
# Based on research described at https://forums.servethehome.com/index.php?threads/patching-intel-x520-eeprom-to-unlock-all-sfp-transceivers.24634/ |
# Windows (receiver) side: | |
.\ffplay.exe -nodisp -ac 2 -acodec pcm_u8 -ar 48000 -analyzeduration 0 -probesize 32 -f u8 -i udp://0.0.0.0:18181?listen=1 | |
# Linux (transmitter) side: | |
pactl load-module module-null-sink sink_name=remote | |
ffmpeg -f pulse -i "remote.monitor" -ac 2 -acodec pcm_u8 -ar 48000 -f u8 "udp://RECEIVER:18181" | |
pavucontrol # Change the default output to the Null sink or move single applications to this "output" device. |
@echo off | |
REM Batch file to recursively zip align *.apk files in a directory | |
REM and its sub-directories. This is significantly easier and faster | |
REM than manually zip aligning them. | |
@echo Zip aligning now... | |
for /R %%X in (*.apk) do zipalign 4 "%%X" "%%~dpX%%~nX.new" | |
@echo Replacing non-aligned files with zip aligned files... | |
for /R %%X in (*.new) do move /Y "%%X" "%%~dpX%%~nX.apk" | |
@echo Zip aligning done, press any key to exit | |
pause |