Openwrt 21.02 with fritzbox 7412 installation not working anymore

Hi, today I treid to install the 21.02 for fritzbox 7412, but I am only able to install in RAM. After reboot everything is lost. I tried all the stuff with fritz_tffs_nand -d /dev/mtd1 -n linux_fs_start and so on. What does this message mean with ..Warning: segment is longer than possible ?????

Here are the steps :

This is the

#!/usr/bin/env python3

import argparse

from ftplib import FTP
from sys import argv
from os import stat

parser = argparse.ArgumentParser(description='Tool to boot AVM EVA ramdisk images.')
parser.add_argument('ip', type=str, help='IP-address to transfer the image to')
parser.add_argument('image', type=str, help='Location of the ramdisk image')
parser.add_argument('--offset', type=lambda x: int(x,0), help='Offset to load the image to in hex format with leading 0x. Only needed for non-lantiq devices.')
args = parser.parse_args()

size = stat(args.image).st_size
# arbitrary size limit, to prevent the address calculations from overflows etc.
assert size < 0x2000000

if args.offset:
	addr = size
	haddr = args.offset
	# We need to align the address.
	# A page boundary seems to be sufficient on 7362sl and 7412
	addr = ((0x8000000 - size) & ~0xfff)
	haddr = 0x80000000 + addr

img = open(args.image, "rb")
ftp = FTP(args.ip, 'adam2', 'adam2')

def adam(cmd):
	print("> %s"%(cmd))
	resp = ftp.sendcmd(cmd)
	print("< %s"%(resp))
	assert resp[0:3] == "200"

# The following parameters allow booting the avm recovery system with this
# script.
adam('SETENV memsize 0x%08x'%(addr))
adam('SETENV kernel_args_tmp mtdram1=0x%08x,0x88000000'%(haddr))
ftp.storbinary('STOR 0x%08x 0x88000000'%(haddr), img)
type or paste code here

execute while FTP Server just boots on Fritzbox 7412 openwrt-21.02.0-lantiq-xrx200-avm_fritz7412-initramfs-kernel.bin

Then scp this 2 files to fritzbox


The putty (ssh) to

BusyBox v1.33.1 (2021-08-31 22:20:08 UTC) built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 OpenWrt 21.02.0, r16279-5cc0535800
=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.
root@OpenWrt:~# cd /tmp
root@OpenWrt:/tmp# ls
TZ                                                                   lowlevel.cfg
dhcp.leases                                                          openwrt-21.02.0-lantiq-xrx200-avm_fritz7412-squashfs-sysupgrade.bin
dnsmasq.d                                                            pipe
etc                                                                  resolv.conf
fritz-tffs-nand_1_mips_24kc.ipk                                      resolv.conf.d
hosts                                                                run
lantiq-vrx200-b.bin                                                  shm
lib                                                                  state
lock                                                                 sysinfo
log                                                                  tmp
root@OpenWrt:/tmp# opkg install /tmp/fritz-tffs-nand_1_mips_24kc.ipk
Installing fritz-tffs-nand (1) to root...
Configuring fritz-tffs-nand.
root@OpenWrt:/tmp# fritz_tffs_nand -d /dev/mtd1 -n linux_fs_start
Warning: segment is longer than possible
Warning: segment is longer than possible
Warning: segment is longer than possible
Warning: segment is longer than possible
Warning: segment is longer than possible
Warning: segment is longer than possible
root@OpenWrt:/tmp# sysupgrade -n openwrt-21.02.0-lantiq-xrx200-avm_fritz7412-squashfs-sysupgrade.bin
Tue Aug 31 22:24:03 UTC 2021 upgrade: Commencing upgrade. Closing all shell sessions.

Ok, perhaps the python script needs to be changed with the adress range or the fritz-tffs-nand_1_mips_24kc.ipk is not working anymore in the 21.02 release ?

hello, i flashed my 7412 3 days ago, with official 21.02.0 with the py script on a mac with success. and then sysupgrade. (i did not check linux_fs_start). everything fine.
set your pc network adapter to fixed:
start 7412.
i waited for the first successful ping on and in this moment i started:
/Downloads/ /Downloads/openwrt-21.02.0-lantiq-xrx200-avm_fritz7412-initramfs-kernel.bin

then in webif i did sysupgrade
now you have a writeable filesystem.

(after that i flashed my own compiled image via webif

(maybe this you need, i did not needed How to install OpenWrt on AVM Fritzbox 7412? - #14 by wrter)