-
Notifications
You must be signed in to change notification settings - Fork 160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unable to update user interface #270
Comments
Script your needed changes as a batch in the Afterwards the call to |
I tried changing image file logo_fritzDiamond.svg (there were no changes in the scripts in the firmware or filesystem) How do I know if router was flashed or not? |
You have to apply your own changes under And the question, whether a new firmware image was installed successfully, is only the second one ... if you want to be sure it got installed, apply it to a partition with an older version - yes, it's so simple. You may use the same workflow to flash this different version (and get experiences, how to install via EVA, at the same time) or you may use the recovery program from manufacturer. Here are both points a possible source of your problem(s) ... first you have to ensure, whether your changes are incorporated in the new image. You could try to unpack it manually again and check, whether the file in question was exchanged correctly. If it was not, nobody should expect to see a difference in the GUI finally. If you write a correct file with the shown PS script to the box and it starts this image and begins to blink with the INFO LED, the flash process was started and if this process was finished successfully, the box gets rebooted. Because the installation in this manner doesn't change the environment variable If it already contains an original image for one version and you're installing the same version again - whether by "accident" (due to a wrong workflow during modification) or by intention, doesn't matter - you're unable to find any difference afterwards. |
Hi Peter,
I just changed the svg file, which is a picture file for logo, I believe I don't need fakeroot, since there is nothing to test by executing it. Let me know if I missed something in case of understanding the purpose of fakeroot.
I extracted files, and I see my updated images in the extracted folder, but cannot find the same changes in the router user interface once I execute BootDeviceFromImage. If you write a correct file with the shown PS script to the box and it starts this image and begins to blink with the INFO LED, the flash process was started and if this process was finished successfully, the box gets rebooted. the only LED blinks during the process is marked in this picture -> https://ibb.co/YDL7Mmt |
Show the comparison (e.g. using a SHA-1 check) of the original and the modified (picture) file ... but after really(!) unpacking both (firmware) images (the original and the modified one) - up to the single files in the SquashFS image (and best you show us, too, how you've extracted these structure and here I mean "en detail" and not only as a description like the cited above). EDIT: |
I tried generating zip version of the compiled image, in Checksum for 2 files
|
And once again ... why don't you even TRY the tips, you've got already? You're comparing the WHOLE images ... why? It's not really surprising, that they're different. These files are TAR-balls and if only one file date within is different, the checksum (crypto or not) over the whole file gets different. If you want to verify, that your changes were applied successfully, you have to unpack these firmware image files to SINGLE files (that means, to unpack even the "filesystem_core.squashfs" file from the inner "ext2" image of the "filesystem.image" file from the "firmware image") - or where did you replace your SVG file? In an image? That's something, what I can't believe. And it doesn't matter, whether YOU may believe it or not, that your problem is (with high possibility) related to These "environment files" record inode numbers and file attributes and IF your changes tamper with an inode number (e.g. Because the cache file is created during "unpack" and used during "pack", any unrecorded changes in-between MAY get ignored and this has usually only an impact on changes to EXISTING files. Is this "explanation" sufficient, to make you believe? If it's enough ... if you put your "cp" command (or whatever you want to use here) in the "fwmod_custom" script, as I recommended already two days ago, your command is executed automatically in the |
Just an update on the trail,
Thanks for all your help and direction, probably I will give a couple of more tries else will move to another device. |
Hi, I am trying to update the user interface of my fritxbox 6820 v1, I followed the following steps:
make menuconfig
make
now I am able to get the * .image file in the images directory, also I am able to flash the router at mtd4 , but unfortunately, my changes are not reflected in the default page displayed at http://192.168.178.1/
Default firmware on the router is 7.01, I can make out the upgrade since the version post flashing is changed to 7.13.
Changes I am trying to make:
I changed the image for logo_fritzDiamond.svg (kept the same file name, but different image)
can someone, please help me in case I a doing anything wrong with the flashing or compilation process? Thanks in advance.
The text was updated successfully, but these errors were encountered: