Skip to content

Instantly share code, notes, and snippets.

@allendema
Last active November 2, 2022 19:04
Show Gist options
  • Save allendema/d511327e15576dddd90f8ca0691e898e to your computer and use it in GitHub Desktop.
Save allendema/d511327e15576dddd90f8ca0691e898e to your computer and use it in GitHub Desktop.
FritzBox debranden

AVM Unbranding

In order to remove the branding from some devices made by AVM like FritzBox models, FTP can be used to tell the devices to use the stock Firmware version from the maker
and not from ISP.

This method will work for different models made by this manufacturer.

In general

You have to restart the router.

While booting (during first 15-30 seconds) you will acces the FTP server from
the bootloader.

(Note: If you wait for too long you will only be connected to the NAS. And "adam2" will not be accepted as the user and password.)

Fritzbox 7412

My FritzBox 7412 device had 192.168.178.1 as the IP address. You need to replace that with yours.

I. Firstly restart the device, then open a Terminal on your PC and type:

ftp -v -d 192.168.178.1

II. Enter username adam2

Enter password adam2

III. Then comes the command which removes the branding quote SETENV firmware_version avm

IV. Now we can reboot the device, using the following command quote REBOOT

Fritzbox 7362 SL

ftp -v -d 192.168.178.1 adam2 adam2 quote SETENV firmware_version avm quote REBOOT

Below is the communication with the Fritzbox 7362 SL

~$ ftp -v -d 192.168.178.1
Connected to 192.168.178.1.
220 ADAM2 FTP Server ready
ftp: setsockopt: Bad file descriptor
Name (192.168.178.1:allen): adam2
---> USER adam2
331 Password required for adam2
Password:
---> PASS XXXX
230 User adam2 successfully logged in
---> SYST
215 AVM EVA Version 1.1964 0x0 0x740D
Remote system type is AVM.
ftp> quote SETENV firmware_version avm
---> SETENV firmware_version avm
200 SETENV command successful
ftp> quote REBOOT
---> REBOOT
221 Thank you for using the FTP service on ADAM2
ftp>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment