seud0nym / tch-gui-unhide

Modify Telstra-branded Technicolor devices to access hidden features
GNU General Public License v3.0
129 stars 15 forks source link

Firmware version different after importing config file #72

Closed gyCfjSnO closed 2 years ago

gyCfjSnO commented 2 years ago

I imported a config file from bricked DJA0231 which was running 20.3.c.0389-MR19-RA and it's returning the same firmware version on the destination DJA0231 which had vcnt-a_20.3.c.0389-MR20-RA installed.

This is from SSH on my current DJA0231.

Product: vcnt-a_telstra
Release: Egyptian Blue (20.3.c)
Version: 20.3.c.0389-3241005-20211107230250-1d419907a0533ea736114d0b54c3001bc9cc2130

This is from GUI on my current DJA0231

image
seud0nym commented 2 years ago

spare DJA0231 running 20.3.c.0389-MR19-RA

Do you mean 20.3.c.0329-MR19-RA?

The suffix is defined in the /etc/config/versioncusto configuration file, which is why the configuration import changes it. You can just edit it manually back to the correct suffix.

gyCfjSnO commented 2 years ago

spare DJA0231 running 20.3.c.0389-MR19-RA

Do you mean 20.3.c.0329-MR19-RA?

The suffix is defined in the /etc/config/versioncusto configuration file, which is why the configuration import changes it. You can just edit it manually back to the correct suffix.

Sorry I meant bricked not spare.

seud0nym commented 2 years ago

I don't use configuration export/import any more because of its habit of doing stuff like this.

I use ./mtd-backup -colvy0 to make a full backup of the mtd partitions and current configuration. Then I use ./reset-to-factory-defaults -f new.rbi --restore-config which does a complete recovery of configuration, installed/removed packages and de-telstra/tch-gui-unhide settings.

The bonus is that if anything goes wrong with the upgrade, I can also completely restore the device to its exact state using ./mtd-restore.