Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
projects:hh40v [2023/04/08 17:33] Andreas Böhlerprojects:hh40v [2023/04/08 22:11] Andreas Böhler
Line 164: Line 164:
 </code> </code>
  
-Once you have SSH access, you can proceed with installin OpenWrt.+Once you have SSH access, you can proceed with installing OpenWrt. 
 + 
 +==== Backup file format ==== 
 + 
 +Very brief overview of the file format after decryption. 
 + 
 +<code> 
 +String: ALCATEL BACKUP FILE HEAD 
 +0x00 
 +0x00 
 +0x00 
 +0xzz length of filename (without 0 terminator - maybe it's a ushort with the previous 0x00) 
 +String: filename 
 +0x00 
 +0x00 
 +0xzz file 
 +0xzz length (ushort) 
 +TAR GZ ARCHIVE 
 +0x00 
 +0x00 
 +0x00 
 +0xzz length of filename (without 0 terminator - maybe it's a ushort with the previous 0x00) 
 +Binary: file content 
 +String: filename 
 +0x00 
 +0x00 
 +0xzz number of bytes remaining in file (ushort) 
 +0xzz 
 +String: ALCATEL BACKUKP FILE HEAD 
 +0xf7 Lenght of file, different endian (originates from modem) 
 +0x3b 
 +0x00 
 +0x00 
 +Binary: file content 
 +Binary: Some sort of trailer, didn't attempt to decode 
 +</code>
  
 ===== Installing OpenWrt ===== ===== Installing OpenWrt =====
Line 214: Line 249:
 ===== Restoring Stock ===== ===== Restoring Stock =====
  
-To restore stock, you need a system image. Unfortunately, you can't backup without disassembling and soldering serial headers. However, a firmware upgrade can be downloaded from https://alcatelfirmware.com/alcatel-onetouch-hh40v. Look for the file Firmware/DownloadImage/uprade_hh40v_all.tar.gz. Inside, you will finde the file "sysupgrade/firmware-system.bin". This firmware-system.bin can be installed via TFTP recovery. The TFTP recovery also resets any U-Boot variables so it will boot normally.+To restore stock, you need a system image. Unfortunately, you can't backup without disassembling and soldering serial headers. However, a firmware upgrade can be downloaded from https://alcatelfirmware.com/alcatel-onetouch-hh40v. Look for the file Firmware/DownloadImage/uprade_hh40v_all.tar.gz. Inside, you will find the file "sysupgrade/firmware-system.bin". This firmware-system.bin can be installed via TFTP recovery. The TFTP recovery also resets any U-Boot variables so it will boot normally.
  
   - Power off the device   - Power off the device