1

(43 odpowiedzi, napisanych Sprzęt / Hardware)

Cezary, jeszcze raz dziękuję za dodanie patchy do Twojego builda. Aktualizacja z 24.10 z zachowaniem konfiguracji weszła bez problemu.

2

(43 odpowiedzi, napisanych Sprzęt / Hardware)

Dziękuję i przepraszam za repost, przyzwyczaiłeś, że odpisujesz na wszystko i dlatego usunąłem wersję po edycji i wrzuciłem jeszcze raz "na czysto".

Teraz już nie zapomnę, że na Tobie można ZAWSZE polegać. smile

3

(43 odpowiedzi, napisanych Sprzęt / Hardware)

@Cezary, chciałbym poprosić Cię o dodanie wsparcia dla "uboot mod" oraz wersji CP do Twoich kompilacji 25.12. Patche tutaj:
https://github.com/openwrt/openwrt/comp … 0-cp.patch

Niestety mój PR dla uboot mod utknął i wisi sobie od maja 2025, za mało użytkowników, żeby przetestować... sad

4

(136 odpowiedzi, napisanych Gadżety USB)

I am afraid I can't do that, because my modem is at a remote location connected to a router. I have only remote access to it.

5

(2 odpowiedzi, napisanych Inne)

Szukaj tutaj, prawdziwa skarbnica firmware dla Huawei:
https://www.mediafire.com/folder/ll9ieq … /Documents

6

(136 odpowiedzi, napisanych Gadżety USB)

I am afraid I can no longer help here, you need someone with experience with flashing the modem.

The only thing I'd try would be:
1. Extract rootfs.ubifs from vos-system-recreated.ubi using ubireader_extract_images
2. Modify OTA package to flash it with

write_raw_image(package_extract_file("firmware-update/rootfs.ubi"), "system");

This might work if recovery can handle NAND bad blocks.

7

(136 odpowiedzi, napisanych Gadżety USB)

Maybe it's worth a try to flash it via fastboot or modify OTA package to write raw system partition image.

8

(136 odpowiedzi, napisanych Gadżety USB)

I tried to recreate UBI image for system partition.

Description of the process:
1. Make mtd25 partition backup with script from OpenWRT Wiki: https://openwrt.org/docs/guide-user/ins … ric.backup
2. Make ubi0_1 to ubi1_4 backup with the same script, slightly modified.
3. On modem, mount rootfs to a separate dir:

mkdir -p /tmp/rootfs ; mount -o ro /dev/ubi0_0 /tmp/rootfs

4. On PC, use ubireader_utils_info to get ubi creation parameters.
5. Run mkfs.ubifs on modem with parameters discovered by ubireader, then transfer it to PC:

mkfs.ubifs -m 4096 -e 253952 -c 2146 -x lzo -f 8 -k r5 -p 1 -l 4 -r /tmp/rootfs -o /tmp/ubi0_0.ubifs

6. Create ubi image with re-created ubi0_0 and remaining partitions directly from binary backup:

ubinize -p 262144 -m 4096 -O 4096 -s 4096 -x 1 -Q 783098594 -o img-783098594.ubi img-783098594.ini

Result: https://fromsmash.com/u0fDPpGa_X-dt (MD5 7f38237a42a21a610a8f35f40b244842)

9

(136 odpowiedzi, napisanych Gadżety USB)

First backup was made with dd from mtd25, like you asked for.

10

(136 odpowiedzi, napisanych Gadżety USB)

Dziękuję. Stety-niestety w Twoim obrazie jest to samo:

Extracting files to: ubifs-root
index Fatal: LEB: 64 at 16336192, Node size smaller than expected.

Pliki można wszystkie wyciągnąć przy pomocy ubidump, ale to nie o to chodzi.

Cały czas szukam, czy jest sposób na zrobienie w taki sposób kopii zapasowej całej partycji UBI, aby można ją było później wgrać z powrotem do urządzenia.

11

(136 odpowiedzi, napisanych Gadżety USB)

Tak, proszę.

Nawet jeśli kolega, który próbuje przerobić Compala nie skorzysta, to zawsze warto mieć pod ręką kopię zapasową - a moje obrazy niestety jak widać nie wgrywają się prawidłowo.

12

(136 odpowiedzi, napisanych Gadżety USB)

Coś w tej okolicy, to jest obraz partycji rootfs, /system, której w OTA nie ma. smile

13

(136 odpowiedzi, napisanych Gadżety USB)

I think that you need an UBIFS image that can be extracted by ubireader on the PC, then it can be flashed to a unit.

Panowie, czy ktoś z Was mógłby wykonać obraz partycji systemowej ze swojego modemu? Polecenie do odpalenia na PC (bo w tmpfs na modemie się nie zmieści):

ssh root@192.168.225.1 "dd if=/dev/ubi0_0" | gzip -9 - | dd of=rootfs.ubifs.gz

14

(136 odpowiedzi, napisanych Gadżety USB)

If you want to try one last thing, here's an UBI image that you can flash to /system that I created by backing up /dev/ubi0_* and recreating ubi image with header data extracted from raw partition image. This image can be extracted by ubi_reader except for rootfs, but I keep my fingers crossed that it works for you:
https://1drv.ms/u/c/6a12b36da65724ae/IQ … 4?e=cggZ6D

If it works, my recommendation is to apply latest OTA from Tricascade to make sure you're running the latest kernel and recovery - my previous backup had a previous version flashed. You'll see the latest version in GUI before flashing but you need to apply the OTA again nonetheless.

15

(18 odpowiedzi, napisanych Sprzęt / Hardware)

HiLink będzie mniej problematyczny, bo to modem zarządza połączeniem. Wyniki nocne masz dobre jak na ten sprzęt, a dzienne świadczą niestety o wysokim obciążeniu sieci w Twojej okolicy.

16

(136 odpowiedzi, napisanych Gadżety USB)

Can you try this image, it was created with nandump:
https://1drv.ms/u/c/6a12b36da65724ae/IQ … U?e=noFGbY

17

(136 odpowiedzi, napisanych Gadżety USB)

Okay, so we found the cause: you need a clean UBI image to flash to your /system partiton, not a raw NAND image created with DD.

I think the UBI image I created is not entirely correct. One way to go would be to use my "original" backup, use nandsim to emulate it, then ubireader to dump UBI images and recreate UBI.

Maybe if I used another way to make a system image would allow you to flash the image correctly.

18

(136 odpowiedzi, napisanych Gadżety USB)

I have made a new backup of my device. Next, I have extracted UBI images from system partiton with ubireader, and created the system.ubi with ubinize, using information provided by ubinfo.

But it's probably not entirely correct, as I haven't used nandsim to rebuild it.

You can try flashing this image if you'd like, it's smaller...
https://1drv.ms/u/c/6a12b36da65724ae/IQ … U?e=4Ss4LB

19

(136 odpowiedzi, napisanych Gadżety USB)

Okay, I was able to boot my modem info fastboot but no oem commands are available.

When your device has damaged /system partition, it should boot to recovery, correct? Can you write the system partition image to mtd25 then?

How do you boot your device into EDL mode? I mean I can't do that with my device.

What output do you see from "edl printgpt"?

20

(136 odpowiedzi, napisanych Gadżety USB)

Is there any OEM command that you can use to debug it?

fastboot oem help

21

(136 odpowiedzi, napisanych Gadżety USB)

Try fastboot erase system before writing?

22

(136 odpowiedzi, napisanych Gadżety USB)

It looks like your second try worked.

23

(136 odpowiedzi, napisanych Gadżety USB)

Let me highlight one fact again: I have zero knowledge about EDL and flashing the modem, I have never done this and I am simply trying to guide you towards a possible solution.

If I were you, I would follow the guide from GitHub for a different X55-based modem:
https://github.com/1alessandro1/T99W175_Recovery

I assume that you have all partitions flashed except for system.

I would try to make the modem boot into fastboot, then flash system (and anything else that you might have erased) in fastboot mode.

24

(136 odpowiedzi, napisanych Gadżety USB)

What is the size of the file if you make a backup of system partition with EDL? You can see that most bytes at the end of my backup file are "FF", so you can try to cut the bytes out from the ending and flash it.

You can also try using different loader:
https://github.com/bkerler/Loaders/tree … 72/quectel
or a loader from this guide:
https://github.com/1alessandro1/T99W175_Recovery

25

(136 odpowiedzi, napisanych Gadżety USB)

I don't know how to put this device in EDL mode.

If I make the backup over SSH, the image content is always the same and the same size:

dd if=/dev/mtd27ro bs=4096
dd if=/dev/mtd27 bs=4096
dd if=/dev/mtd27ro

If you look at /proc/mtd, it clearly says that /system size is 0x10800000, that is 276 824 964 bytes.

When I run `ubireader_display_info` on your backup of system parition, I get this warning:

UBI_File Warning: end_offset - start_offset length is not block aligned, could mean missing data.

Your backup is missing data for cachefs, persist, systemrw and usrfs. Also, some data from rootfs is missing.