Difference between revisions of "Customised Firmware Release Notes"

From hummy.tv Wiki
Jump to: navigation, search
(2.21 (TBC))
 
(28 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
{{DND}}
 
{{DND}}
== 2.21 (13.01.2014) ==
+
== 3.13 (28.04.2017)==
 +
* Backport kernel fix for CVE-2016-5195 (Dirty Cow vulnerabilty);
 +
* Backport kernel fix for CVE-2016-10229 (arbitrary code execution via UDP traffic);
 +
* Do not attempt to use DNS during modinit/setup_hosts.
  
* Detect the case when the full web interface has failed in some way. In this case, continue to present the initial bootstrap interface to allow another installation attempt. Previous firmware versions displayed a directory listing instead;
+
== 3.12 (23.03.2017)==
* Switch the address for the package repository to http://hpkg.tv/ rather than http://hummypkg.org.uk/
+
* Downgrade ''ext2'' utilities to 1.42.13 due to problems with 1.43.x converting very small files to inline data which isn't supported by the Humax kernel.
 +
NB: 3.11 has been withdrawn as a result of this problem.
  
== 2.20 (06/12/2013) ==
+
== 3.11 (15.03.2017)==
 +
* Web-based telnet menu now built-in and available in initial installation, maintenance, safe and RMA modes;
 +
* Updated ''telnet menu'':
 +
** Runs ''fix-disk'' in a separate session so that it will keep running if the connection to the telnet menu is terminated;
 +
** New telnet menu invocations can attach to running ''fix-disk'' sessions.
 +
* Updated ''fix-disk'':
 +
** Shows progress and when finished on front panel;
 +
** More screen output is copied to the log file;
 +
** Log file includes timing information for the various passes;
 +
** Log file includes filesystem summary information at the end of each partition check;
 +
** Progress bars are removed from the final log file;
 +
** Will no longer fail if the output log file exceeds ~60MiB (new limit is ~510MiB);
 +
* Updates to bootstrap web pages (those shown during boot or when in different modes):
 +
** Show button to access telnet menu via web browser;
 +
** Add reboot buttons to pages where a reboot is required;
 +
** Fixed unwanted interaction with some naïve ad-blockers;
 +
** Allow more time for system initialisation before displaying ''No hard disk found'';
 +
** Change mouse pointer when hovering over buttons;
 +
* Suppress audio in maintenance mode;
 +
* Create initial basic /etc/hosts file during boot. The file is overwritten with more information once the network comes up;
 +
* Improve disk mounting (run-and-gun) process;
 +
* Updated ''ext2'' utilities;
 +
* Additional utilities in flash: ''mktemp, mkfifo, tail, which, pipe_progress''.
  
* Additional hook for modules that wish to run directly after the Humax TV application starts;
+
== 3.10 (13.03.2016)==
* New version of ''fix-disk'' courtesy of '''xyz321''';
+
* Add support for large hard disks (> 2^32 sectors [~2TB with 512-byte logical sectors]) - internal and USB-attached;
** Restructure so that all ''smartctl'' tests are performed before attempting to locate the file(s) associated with any bad block(s). As suggested by '''prpr''';
+
* Update SATA driver to fix rare problems initialising some disks (e.g. WD20EURX);
** New option ''-n'' to prevent polling of the smartctl status throughout the test. This should only be used if absolutely necessary since it will greatly extend the test time.
+
* <nowiki>RFC 1323</nowiki> TCP window scaling is disabled by default (as per the ''tcpfix'' package);
 +
* Add support for automatically mounting GPT disks connected via USB;
 +
* Add new Safe Mode which disables almost all custom firmware components - useful for troubleshooting without having to load stock firmware (which isn't possible with large drives). Safe Mode can be enabled via the web interface diagnostics page or telnet menu and disabled in the same way;
 +
* Initial web interface installation (CFW Bootstrap) now tests repository connectivity using TCP instead of ICMP;
 +
* Updated ''fix-disk'':
 +
** Add support for GPT partitioned disks;
 +
** New ''-y'' option to automatically answer yes to most prompts;
 +
** For AF drives with a pending/unreadable logical sector, fix-disk now checks and attempts to repair the entire physical sector;
 +
** Backup copies of the disk partition table are now kept in flash to aid future recovery;
 +
** The 6 most recent fix-disk logs are retained for inspection rather than just the last;
 +
* Updated telnet menu:
 +
** All options are now words rather than numbers;
 +
** New ''gptf'' option to re-format the internal hard disk using the GPT scheme;
 +
** New ''safe'' option to toggle safe mode;
 +
** New ''upgrade'' option to upgrade all installed packages;
 +
** New ''webif'' option to install the initial web interface (if missing);
 +
** New ''fixweb'' option to re-enable web server and re-install the web interface;
 +
** New ''reboot'' option to restart the Humax in as clean a way as possible other than to use the remote control;
 +
* Updates to bootstrap web pages (those shown during boot or when in different modes):
 +
** HTML format fixes;
 +
** Served images are now browser-cacheable;
 +
** The initial web page shown before the disk is initialised now says that the system is still initialising and will automatically refresh to the standard web interface once it's running. If no disk is found within 20 seconds then an appropriate page is shown;
 +
** Web pages are shown when in maintenance or safe modes with an option to restart in normal mode;
 +
* Set system clock from front panel ''Micom'' early in boot sequence (required for bootstrap caching);
 +
* Provide consistent and deterministic behaviour if multiple boot modes are selected together (''Maintenance mode'' wins followed by ''Safe'', then ''Reset'' and finally ''RMA'');
 +
* New ''boot.log'' file consolidates messages from boot-time;
 +
* New ''-d'' option to ''diag'' command to dump the diagnostic code to the terminal instead of running it;
 +
* Include ''gdisk'', ''sgdisk'' and ''sfdisk'' utilities for partition table management;
 +
* Update ''smartctl'', ''hdparm'' and ''ext2'' utilities;
 +
* Include basic ''vi'' and ''more'' commands in flash;
 +
* Remove some unused/non-working/superseded commands from flash (''fsck'', ''syslogd'', ''klogd'', ''inetd'').
  
== 2.19 (13/09/2013) ==
+
== 3.03 (0<span style="color: #ff4000">3.03</span>.2015) ==
 +
* Updated kernel:
 +
** Updated SATA driver to overcome a rare problem with disk initialisation;
 +
** Support USB drives that automatically spin-down when idle.
 +
* Improve web page shown during system initialisation on HDR;
 +
* Available for the Humax HDR Fox-T2 versions 1.02.20, 1.02.32 and 1.03.12 - [[Firmware Downloads]];
 +
* Available for the Humax HD Fox-T2 versions 1.02.20, 1.02.31 and 1.03.02 - [[Firmware Downloads]].
  
* Enable fan when in maintenance mode;
+
== 3.02 (0<span style="color: #ff4000">3.02</span>.2015) ==
* Use correct timezone in telnet menu;
+
* Improve bringing up Wi-Fi connection in maintenance mode;
* New version of ''fix-disk'' courtesy of '''xyz321''';
+
:Thanks are due to '''Black Hole''' for the legwork in tracking the root cause of this issue down in the first place and to '''MontysEvilTwin''' for testing release candidates and providing valuable feedback;
** The long test will now find and repair multiple damaged sectors;
+
* Display Wi-Fi on the front panel in maintenance mode, prior to displaying the IP address, if only a Wi-Fi connection is found;
** New partition table repair routine (currently only supports standard format disks);
+
* Show ''ENTERING MAINTENANCE MODE'' on front panel during maintenance mode boot;
** Various bug fixes.
+
* Add ''dlna'' command to the HDR maintenance mode menu to clear the DLNA database. Useful if you do a monthly maintenance boot for housekeeping (e.g. clear epg, clear dlna, check disk);
 +
* Upgrade embedded telnet menu;
 +
* Removed checks related to legacy ''mongoose'' web server;
 +
* Available for the Humax HDR Fox-T2 versions 1.02.20, 1.02.32 and 1.03.12 - [[Firmware Downloads]];
 +
* Available for the Humax HD Fox-T2 versions 1.02.20, 1.02.31 and 1.03.02 - [[Firmware Downloads]].
  
== 2.18 (12/07/2013) ==
+
== 3.01 (14.01.2015) ==
 +
* When no hard disk is detected, show appropriate default web page.
  
* Lower system priority of default telnet server to reduce likelihood of stealing CPU time from the main Humax TV application (problem noted by prpr).
+
== 3.00 (01.07.2014) ==
  
== 2.17 (29/05/2013) ==
+
* Automatically recover from repeated failed maintenance mode boots and revert to a normal boot;
 +
* Display a 'You are in RMA mode' web page when in RMA mode (thanks to ''Black Hole'' for the idea);
 +
* Check network connectivity to the package repository during bootstrap and display a more useful error message (thanks to ''Raydon'');
 +
* Upgrade embedded filesystem check and repair utilities to latest version (e2fsprogs 1.42.10);
 +
* Include ''extundelete'' utility;
 +
* Fix bug where aliased filesystem format/check utilities didn't work (noted by ''Black Hole'');
 +
* Automatically remove Sky Player from flash memory if still present (Humax have removed this from newer firmware releases);
 +
* New custom OS kernel with support for:
 +
** Large block devices;
 +
** EFI Partition tables;
 +
** Basic IP filtering (iptables).
 +
* Unified installation image that can safely by applied on top of any existing version, custom or otherwise, in a single step;
 +
* New USB packages available to:
 +
** Perform a factory reset;
 +
** Force a maintenance mode boot;
 +
** Remove all iptables rules (to recover if you lock yourself out).
 +
* Available for the Humax HDR Fox-T2 versions 1.02.20, 1.02.32 and 1.03.12;
 +
* Available for the Humax HD Fox-T2 versions 1.02.20 and 1.02.31.
  
* Lower system priority of custom firmware packages and tasks to reduce likelihood of stealing CPU time from the main Humax TV application (problem noted by raydon);
+
== 2.23 (11.05.2014) ==
* Create missing /mod/tmp directory on environment initialisation.
 
  
== 2.16 (22/04/2013) ==
+
* Upgrade embedded filesystem check and repair utilities to latest version;
 
+
* Update embedded telnet menu to version 1.10;
* New version of ''fix-disk'' courtesy of '''xyz321'''.
+
** Includes new options to reset the environment or enter RMA mode;
** Automatically perform a long disk test if necessary;
+
** Improves web interface reset/password rem
** Bug fixes;
 
* Embedded telnet menu updated to version 1.06;
 
** Menu options to perform short and long disk tests and check test status;
 
** EPG clear option renamed;
 
* Bootstrap process detects when no suitable disk is found for the custom firmware environment and presents a web page explaining the problem (rather than providing no web page at all);
 
* Only scan removable drives for packages;
 
* Support signed packages (.spk) on USB drives. Allows for the execution of arbitrary code or installation of files into flash to help resolve problems.
 
 
 
== 2.15 (21/01/2013) ==
 
 
 
* New version of ''fix-disk'' courtesy of '''xyz321'''.
 
** Add option for automatic repair of suspect/corrupt disk sectors;
 
** Improve partition type detection by testing EXT2/3 backup superblocks;
 
** Additional diagnostic output.
 
* Improve behaviour of environment initialisation, particularly in the presence of a faulty disk (based on a patch from '''xyz321''');
 
* Maintenance mode now waits for full network initialisation before shutting down the Humax software (should help with wireless connections);
 
* Maintenance mode now displays system IP on front panel once the network is initialised (last 12 characters on HDR, part after last . on the HD);
 
* Prevent mod environment initialisation if disk is not formatted with EXT2/3;
 
* Update embedded telnet menu to v1.05;
 
** better PIN entry;
 
** improved answer processing;
 
** flash disk conversion (FAT -> EXT2) (See [[Converting a USB Flash Drive to EXT2 on a HD-Fox T2]]).
 
* Update busybox version in flash to 1.20.2;
 
* Replace standalone binaries with busybox applets:
 
** mkswap, stty, swapoff, swapon, tee;
 
* Add new busybox applets to flash:
 
** clear, date, fsync, rmdir, sync;
 
* Replace busybox applets with standalone binaries:
 
** hdparm
 
* Add new standalone utilities to flash:
 
** smartctl, e2fsdump
 
* Move RMA flag location so that installation of official firmware will remove it;
 
* Add date stamps to various log files;
 
* Miscellaneous bug fixes.
 
 
 
== 2.14 (19/11/2012) ==
 
 
 
* Telnet server now automatically converts Windows new line sequences (patch from xyz321);
 
* Telnet server now properly handles client window size changes (patch from xyz321);
 
* By default, the telnet server will display a menu system rather than a system command line prompt;
 
* Option to revert to the previous telnet server behaviour (with webif >= 0.10.0-4 - Settings->Expert mode telnet server);
 
* fix-disk works properly if CFW installed whilst the hard disk cannot be mounted (patch from xyz321);
 
* fix-disk works properly if run more than once in the same maintenance mode session (patch from xyz321).
 
 
 
== 2.13 (31/10/2012) ==
 
 
 
* Fix race condition bug in maintenance mode which stopped it initialising properly on occasion if a disk was slow to mount;
 
* Front panel feedback for maintenance mode (MAINTENANCE on HDR, UtiL on HD);
 
* Add parameters to ''fix-disk'' to allow selective partition checking, magic number check skip and additional file system check options;
 
* Add persistent log file for ''fix-disk'';
 
* Add RMA (Return to Manufacturer [Authorisation]) mode to allow for complete removal of custom firmware.
 
 
 
== 2.12 (01/9/2012) ==
 
 
 
* Unified release, downloads available for Humax firmware 1.02.20 and 1.02.29 (not 1.02.27 nor 1.02.28);
 
* Include additional file system and disk utilities (''gfdisk'', ''tune2fs'', ''debugfs'', ''badblocks'');
 
* Include swap management utilities (''mkswap'', ''swapon'', ''swapoff'' - provided by xyz321);
 
* Include native ''fix-disk'' utility (HDR only - written by xyz321);
 
* Add ''resume'' argument to settop startup script.
 
 
 
== 2.11 (03/6/2012) ==
 
 
 
* Unified release, downloads available for Humax firmware 1.02.20, 1.02.27 and 1.02.28
 
 
 
== 2.10 (14/4/2012) ==
 
 
 
* Packaged as a ZIP file;
 
* Updates to support Humax firmware 1.02.27;
 
* Show custom firmware version on front panel display during boot;
 
: (Idea taken from the Foxsat custom firmware - thanks Raydon/Adrianf26/Partridge)
 
* Remove reservation sync utility from firmware (now separate package);
 
* Maintenance boot now works properly with a corrupt disk.
 
 
 
== 2.00 (23/2/2012) ==
 
 
 
* Various bug fixes and updates.
 
 
 
== 1.17 (24/1/2012) ==
 
 
 
* Fix bug with settop restart (that was causing problems for DHCP users who use HDR Mode).
 
 
 
== 1.16 (22/1/2012) ==
 
 
 
* Adds hooks to allow packages to take action should the main Humax software crash.
 
 
 
== 1.15 (5/1/2012) ==
 
 
 
* No longer replace the built-in FTP server (see http://hummy.tv/forum/threads/1014/);
 
* Include ext file system utilities (mke2fs, e2fsck);
 
* Ability to boot in maintenance mode;
 
* Several minor bug fixes.
 
 
 
== 1.14 (18/11/2011) ==
 
 
 
* Improve package installation from USB drives;
 
* Add support for installing package bundles from USB (see [[Manually loading Features from USB]]);
 
* Support installing packages from NTFS formatted USB drives;
 
* Fix bug with IP address detection for wireless connected devices.
 
 
 
== 1.13 (9/10/2011) ==
 
 
 
* Fix problem with boot framework initialisation.
 
 
 
== 1.12 (9/10/2011) ==
 
 
 
* Additional boot environment hooks.
 
 
 
== 1.11 (31/8/2011) ==
 
 
 
* Include boot-time reservation sync service.
 

Latest revision as of 14:21, 28 April 2017


Warning

If your Humax came with software version 1.03.06 or above


If your Humax arrived running software version 1.03.06 or later then do not downgrade it to an earlier version. It is safe to install the customised firmware based on 1.03.12.


3.13 (28.04.2017)

  • Backport kernel fix for CVE-2016-5195 (Dirty Cow vulnerabilty);
  • Backport kernel fix for CVE-2016-10229 (arbitrary code execution via UDP traffic);
  • Do not attempt to use DNS during modinit/setup_hosts.

3.12 (23.03.2017)

  • Downgrade ext2 utilities to 1.42.13 due to problems with 1.43.x converting very small files to inline data which isn't supported by the Humax kernel.

NB: 3.11 has been withdrawn as a result of this problem.

3.11 (15.03.2017)

  • Web-based telnet menu now built-in and available in initial installation, maintenance, safe and RMA modes;
  • Updated telnet menu:
    • Runs fix-disk in a separate session so that it will keep running if the connection to the telnet menu is terminated;
    • New telnet menu invocations can attach to running fix-disk sessions.
  • Updated fix-disk:
    • Shows progress and when finished on front panel;
    • More screen output is copied to the log file;
    • Log file includes timing information for the various passes;
    • Log file includes filesystem summary information at the end of each partition check;
    • Progress bars are removed from the final log file;
    • Will no longer fail if the output log file exceeds ~60MiB (new limit is ~510MiB);
  • Updates to bootstrap web pages (those shown during boot or when in different modes):
    • Show button to access telnet menu via web browser;
    • Add reboot buttons to pages where a reboot is required;
    • Fixed unwanted interaction with some naïve ad-blockers;
    • Allow more time for system initialisation before displaying No hard disk found;
    • Change mouse pointer when hovering over buttons;
  • Suppress audio in maintenance mode;
  • Create initial basic /etc/hosts file during boot. The file is overwritten with more information once the network comes up;
  • Improve disk mounting (run-and-gun) process;
  • Updated ext2 utilities;
  • Additional utilities in flash: mktemp, mkfifo, tail, which, pipe_progress.

3.10 (13.03.2016)

  • Add support for large hard disks (> 2^32 sectors [~2TB with 512-byte logical sectors]) - internal and USB-attached;
  • Update SATA driver to fix rare problems initialising some disks (e.g. WD20EURX);
  • RFC 1323 TCP window scaling is disabled by default (as per the tcpfix package);
  • Add support for automatically mounting GPT disks connected via USB;
  • Add new Safe Mode which disables almost all custom firmware components - useful for troubleshooting without having to load stock firmware (which isn't possible with large drives). Safe Mode can be enabled via the web interface diagnostics page or telnet menu and disabled in the same way;
  • Initial web interface installation (CFW Bootstrap) now tests repository connectivity using TCP instead of ICMP;
  • Updated fix-disk:
    • Add support for GPT partitioned disks;
    • New -y option to automatically answer yes to most prompts;
    • For AF drives with a pending/unreadable logical sector, fix-disk now checks and attempts to repair the entire physical sector;
    • Backup copies of the disk partition table are now kept in flash to aid future recovery;
    • The 6 most recent fix-disk logs are retained for inspection rather than just the last;
  • Updated telnet menu:
    • All options are now words rather than numbers;
    • New gptf option to re-format the internal hard disk using the GPT scheme;
    • New safe option to toggle safe mode;
    • New upgrade option to upgrade all installed packages;
    • New webif option to install the initial web interface (if missing);
    • New fixweb option to re-enable web server and re-install the web interface;
    • New reboot option to restart the Humax in as clean a way as possible other than to use the remote control;
  • Updates to bootstrap web pages (those shown during boot or when in different modes):
    • HTML format fixes;
    • Served images are now browser-cacheable;
    • The initial web page shown before the disk is initialised now says that the system is still initialising and will automatically refresh to the standard web interface once it's running. If no disk is found within 20 seconds then an appropriate page is shown;
    • Web pages are shown when in maintenance or safe modes with an option to restart in normal mode;
  • Set system clock from front panel Micom early in boot sequence (required for bootstrap caching);
  • Provide consistent and deterministic behaviour if multiple boot modes are selected together (Maintenance mode wins followed by Safe, then Reset and finally RMA);
  • New boot.log file consolidates messages from boot-time;
  • New -d option to diag command to dump the diagnostic code to the terminal instead of running it;
  • Include gdisk, sgdisk and sfdisk utilities for partition table management;
  • Update smartctl, hdparm and ext2 utilities;
  • Include basic vi and more commands in flash;
  • Remove some unused/non-working/superseded commands from flash (fsck, syslogd, klogd, inetd).

3.03 (03.03.2015)

  • Updated kernel:
    • Updated SATA driver to overcome a rare problem with disk initialisation;
    • Support USB drives that automatically spin-down when idle.
  • Improve web page shown during system initialisation on HDR;
  • Available for the Humax HDR Fox-T2 versions 1.02.20, 1.02.32 and 1.03.12 - Firmware Downloads;
  • Available for the Humax HD Fox-T2 versions 1.02.20, 1.02.31 and 1.03.02 - Firmware Downloads.

3.02 (03.02.2015)

  • Improve bringing up Wi-Fi connection in maintenance mode;
Thanks are due to Black Hole for the legwork in tracking the root cause of this issue down in the first place and to MontysEvilTwin for testing release candidates and providing valuable feedback;
  • Display Wi-Fi on the front panel in maintenance mode, prior to displaying the IP address, if only a Wi-Fi connection is found;
  • Show ENTERING MAINTENANCE MODE on front panel during maintenance mode boot;
  • Add dlna command to the HDR maintenance mode menu to clear the DLNA database. Useful if you do a monthly maintenance boot for housekeeping (e.g. clear epg, clear dlna, check disk);
  • Upgrade embedded telnet menu;
  • Removed checks related to legacy mongoose web server;
  • Available for the Humax HDR Fox-T2 versions 1.02.20, 1.02.32 and 1.03.12 - Firmware Downloads;
  • Available for the Humax HD Fox-T2 versions 1.02.20, 1.02.31 and 1.03.02 - Firmware Downloads.

3.01 (14.01.2015)

  • When no hard disk is detected, show appropriate default web page.

3.00 (01.07.2014)

  • Automatically recover from repeated failed maintenance mode boots and revert to a normal boot;
  • Display a 'You are in RMA mode' web page when in RMA mode (thanks to Black Hole for the idea);
  • Check network connectivity to the package repository during bootstrap and display a more useful error message (thanks to Raydon);
  • Upgrade embedded filesystem check and repair utilities to latest version (e2fsprogs 1.42.10);
  • Include extundelete utility;
  • Fix bug where aliased filesystem format/check utilities didn't work (noted by Black Hole);
  • Automatically remove Sky Player from flash memory if still present (Humax have removed this from newer firmware releases);
  • New custom OS kernel with support for:
    • Large block devices;
    • EFI Partition tables;
    • Basic IP filtering (iptables).
  • Unified installation image that can safely by applied on top of any existing version, custom or otherwise, in a single step;
  • New USB packages available to:
    • Perform a factory reset;
    • Force a maintenance mode boot;
    • Remove all iptables rules (to recover if you lock yourself out).
  • Available for the Humax HDR Fox-T2 versions 1.02.20, 1.02.32 and 1.03.12;
  • Available for the Humax HD Fox-T2 versions 1.02.20 and 1.02.31.

2.23 (11.05.2014)

  • Upgrade embedded filesystem check and repair utilities to latest version;
  • Update embedded telnet menu to version 1.10;
    • Includes new options to reset the environment or enter RMA mode;
    • Improves web interface reset/password rem