Use OpenWRT:
https://openwrt.org/toh/avm/start
https://openwrt.org/toh/avm/avm_fritz_box_7360_v2

Or patch source code:
https://osp.avm.de/fritzbox/fritzbox-7360-v2/

Or
https://freetz.github.io/wiki/index.en.html