How-To: Flashing a Fritzbox 7170 using the ruKernelTool
from any (German) firmware (with Annex B), e.g. 29.04.xx
to the English firmware 58.04.82 with Annex A.
|Version: 07/25/2010, 1:45 pm
Important notes (please read this before you begin):
- Please also read the brief instructions and the FAQ.
- For the most buttons and settings, tooltips are shown when hovering them with the mouse.
- Disabled buttons are normally enabled by activating the "Experten-Modus" (Expert Mode) (see "Einstellungen" [Settings]) or are only available, when the corresponding function makes sense in the context.
- For uploading a firmware onto the router neither the Expert mode nor a manual setting of the Adam2-IP-Address is required!
Download the file "ruKernelTool.zip" and extract it to a folder on your hard disk (preferably onto the Desktop) using a suitable program like "WinZip" or "7-zip".
Here we use the program "7-zip".
Extracting files from the "ruKernelTool.zip":
2) Run the ruKernelTool
After extracting is completed, run the ruKernelTool.exe from that directory.
(On a 64-bit Version of Windows you would run the ruKernelTool_x64.exe instead).
The program needs to be run with administrative privileges (because network adaptors will be re-configured).
On Windows 7 you need to confirm the UAC (User Account Control) prompt.
Click "Yes" to allow running the program with administrative privileges.
When your current user account does not have administrative privileges, you need to run the program using the "Run as..." feature. (Right click the ruKernelTool.exe and select "Run as...")
Enter the credentials (User name and password) of an account with administrative privileges in the following window.
Now the programm will be started. In the upper-left corner of the screen you can see a message window and in the middle of the screen you see the splash-screen with the current program status.
3) Setup assistant (First start of ruKernelTool only)
When the program is run for the first time, the setup assistant supports you. You will be asked some questions.
After reading, confirm these terms by clicking "Yes".
Automatic version checks:
You may either select settings for the Program (1) and the Download-Link-List (2) by yourself ...
... or you click on "Empfehlung" (Recommendation) (3) and the default settings are made for you.
You may now change the settings and when everything fits your needs, click on "Weiter" (Next) (4).
Temporary disable unneded network adaptors:
This window only appears if you have multiple network adaptors (NICs) in your computer. It allows you to configure
whether to temporary disable all unused NICs during the flasing.
You need to click on "Ja" (Yes), otherwiese no Down- or Upload from / to the router will work!
Startup warning, short guide and FAQ:
Now the short guide and the FAQ will be opened in the system-default text editor.
Please read the short guide and also at least chapter 1 of the FAQ!
Click on "OK" when you read the warnings, the short guide and also the FAQ!
Now you see the ruKernelTool's main window.
4) Disable MediaSensing
Now you need to disable a feature called "Media sensing" of your NIC. This helps in establishing a connection to your router.
Click on the tab "Netzwerk" (network).
Then click on "MediaSensing abschalten" (Disable Media sensing) (1) and confirm the appearing message box with "Yes" (2).
Now the PC has to be restarted. Confirm the following message box with "Yes".
Turning off MediaSensing only takes effect after a reboot!
5) Select the correct network adaptor (If computer has multiple NICs)
After the reboot, start the ruKernelTool again. (see Chapter 2).
If you only have one network adaptor in your PC, it will automatically be selected for you. But if you have more than one NIC, you now have to select the NIC to which your router is connected.
In this example there are 2 NICs in the PC. The NIC "LAN im Notebook" is being selected. You have to choose the correct NIC (NIC's names vary depending on your hardware)!
6) Verify network connection to your router
It's important that your NIC's settings are detected and displayed correctly!
If you only see the MediaStatus here but e.g. no IP-Address, you have to cancel here and update the network card's driver. See also FAQ, chapter 3!
If the NIC is detected correctly, you do not necessarily have to do the connection test, but it's recommended.
To save time, you can directly continue with chapter 7.
Now we will check if the network connection to your router is working correctly by reading out some settings from it (Yes, this is possible even if the router is caught in a "reboot loop").
Click on the tab "Upload" to switch to it.
Read out settings from the router
Now click the button "Infos auslesen" (Read information from router).
Answer the following question (whether you want to start reading out information from the router):
Now all unneeded network adaptors are deactivated and the only remaining NIC (the one you selected previously) is set to a static IP Address.
Now a message box appears, asking you whether the power supply of the router has been unplugged. Unplug the power supply and then confirm the message box by clicking "Yes".
Another message box appears, asking you to plug in the power supply again and then confirm the messge box.
After confirmation the message box by clicking "OK" you have 30 seconds time to plug in the power supply again.
Don't hurry, the time should be enough.
Now the tools tries to establish a connection to the router and read the actuall Adam2-IP-address and set the correct fitting Adam2-IP-address.
If this was successful, the read-out settings are displayed in the ruKernelTool.
If your router has a WLAN access point (the FritzBox 7170 has one), a message box appears asking you whether you want to overtake the read-out
WLAN-Key into the Upload-settings.
Confirm this message box by clicking "Yes". This ensures that your WLAN won't be unencrypted (-> unsecure) after flashing the firmware later.
Because reading-out information from the router is now complete, the network settings are now reset.
Confirm this message box by clicking "OK".
The test of the network adaptor and of the connection to your router was successful!
Also your router now reboots, but since it's still caught in the "reboot loop", we are not finished yet.
(If your router was not caught in a "reboot-loop" you would now do the following:
Wait until your router has fully rebooted, then go to the tab "Netzwerk" (network) and click on auf "DHCP erneuern" (Renew DHCP).
If an error occurs here, the router has not yet rebooted completely! Wait a little bit and then click on the button again!
7) Select and download correct firmware
Now you have to select the correct Annex A firmware for your FritzBox 7170.
First click on the tab "Firmware-Downloads" in the ruKernelTool. There you find a list of avalilable firmware files.
Select the firmware "58.04.82_AnnexA" here by clicking the checkbox in the column "DL" (Downlaod) (1) and then clicking on the button "Download" (2) .
(At this moment, this is the only English Annex A FW available for the 7170. [58.04.76_AnnexA supports only German language.])
A message box appears, asking you whether you want to download the firmware.
Do so by clicking on "Yes". The firmware will then be downloaded to your hard disk.
The download is compelete and the firmware stored on the local hard disc. Confirm this by clicking on "OK".
Now select the firmware again in the list and click on the button "Als kernel.image benutzen" (Use as kernel.image). This selects the downloaded firmware for later flashing.
A message box appears asking you whether you want to use this file as a kernel.image. Confirm it by clicking "Yes".
Another message box appears, telling you that the downloaded firmware image needs to be extracted (the kernel.image needs to be extracted from it).
Confirm it by clicking "Yes".
Another dialog box appears asking you for a name for the extracted kernel.image.
A default name is already given (kernel_aus_FRITZ.Box_Fon_WLAN_7170.AnnexA.en.58.04.82.image), so click on "OK".
Another message box appears, asking you to make sure that the selected kernel.image is suitable for your router.
Because you have just selected and downloaded the correct firmware a few steps ago, you are sure that it's correct and confirm ist by clicking "Yes".
8) Verify settings
Another message box appears informing you about the firmware's settings.
(In the message box there should appear "Branding: avme" and "Annex: Annex A").
Confirm it by clicking "OK".
After confirming that message box, the tab "Upload-Parameter" (Upload-Parameters) should be automatically selected in the ruKernelTool. (If not, select it manually).
Verify that the "Branding" ist set to "avme" and the "Annex" is set to "Annex A" in the corresponding dropdown boxes. (Both should already be set to the correct values).
Also make sure that a WLAN-Key is entered. If not, enter one in the corresponding text box (Preferrably the one written on your router's label).
The WLAN-Key has 16 characters.
9) Flash the firmware onto the router
After verifying that the above settings are correct, select the tab "Upload".
Now we will flash the firmware onto the router. Full attention, please.
On this tab you click on the button "Upload starten" (Start upload). A message box appears, asking whether you really want to flash.
Confirm it by clicking "Yes".
Now your network card will be set to a static IP Address (this is required because the router will not provide an IP via DHCP during flashing).
After the tool has set your network card to a static IP Address, a message box (Title: "Netzteil ausgesteckt?" [Power supply unplugged?])
appears asking you whether you have unplugged the power supply of your router.
Unplug the power supply and then click on "Yes".
After doing so, another message box (Title: "Bereit?" [Ready?]) appears, asking you to plug in the power supply again
AFTER clicking "OK".
Click "OK" in this message box and then plug in the power supply of your router again.
Now the tools tires to establish a connection to the router and read the actuall Adam2-IP-address and set the correct fitting Adam2-IP-address.
When this is done, the router is being pinged. If this also was successful, the kernel.image will be transferred.
The bootloader which runs after power-up has a special FTP service for such purposes.
The given times are just approximated! You don't have to worry if it takes a longer or shorter time on your router.
Then the flash-area mtd3 will be erased ...
... and then the flash-area mtd4 ...
If everything was successful, your NIC's previous settings are restored and a message box appears, asking you whether to turn on MediaSensing again.
Do this by clicking "Yes".
10) Reboot your computer (router will be rebooted automatically)
Then another message box apears, asking you to reboot your computer.
Do so by clicking "Yes" there. Your computer will reboot.
Your router will also reboot automatically.
The first boot of the router after a flash takes longer than a normal boot. Please be patient before trying to log-in on the FritzBox Web-Interface.
After the reboot is done, make sure your network card's settings are really set to DHCP again (if not, set them to DHCP).
11) Enjoy your FritzBox
After your computer and router have rebooted, your FritzBox should be reachable by typing fritz.box in your web-bowser.
Because during the flash process we also cleared all settings in the router, you will have to re-enter all your settings
(e.g. user name and password for internet connection, WLAN settings, phone configuration, etc) in the FritzBox Web-Interface.
Thank you very much Andi for this very good How-To!
25.07.2010, Copyright © 2009-2017 by Andreas Gsinn and Rainer Ullrich - All rights reserved! Please report suggestions and errors to Andi or Rainer