• The forum software that supports hummy.tv has been upgraded to XenForo 2.3!

    Please bear with us as we continue to tweak things, and feel free to post any questions, issues or suggestions in the upgrade thread.

Stuck custom-firmware-hdr package

skind56

Member
I installed the package to my box but it didn't update to v3.13 and nothing was displayed on the box display.
I powered down/up and now it's says 'WAIT - 51' on the box display.
What is happening and what should I do?
 
What CF version were you on before you tried to update?

IIRC the CF firmware-updating mechanism relies on you having a reasonably up-to-date firmware installed in the first place. If rebooting your HDR-FOX gets you nowhere, you will have to resort to updating/re-installing firmware the old way.

I'm not sure whether you should also have installed the cfupdater package first, or perhaps that was automatically installed as a dependency. I expect somebody will be along to say yay or nay...
 
Thanks.
Re-booted a couple of times and it came back! Version remains as 3.10 (build 2734). The packages cfupdater and custom-firmware-hd are in my list of installed packages. I assume I would need to resort to the 'old way' so I'm inclined to leave it at that.
 
...my box...the box...
I wish people would be specific. Is this an HDR or an HD?
IIRC the CF firmware-updating mechanism relies on you having a reasonably up-to-date firmware installed in the first place.
The package won't install if it's too old.
If rebooting your HDR-FOX gets you nowhere, you will have to resort to updating/re-installing firmware the old way.
Not necessarily...
I'm not sure whether you should also have installed the cfupdater package first, or perhaps that was automatically installed as a dependency.
It's a dependency, like anything else that requires something to work.
Re-booted a couple of times and it came back!
Yes, it does. It seems it gets stuck in Maintenance Mode for whatever reason. Rebooting once or twice does an auto-clear of this and puts it back to normal mode.
The packages cfupdater and custom-firmware-hd ...
Ah, so it is an HD, not an HDR (unless you believe the thread title which says ...custom-firmware-hdr...). This is interesting because my HD failed in exactly the same way, so something's got broken along the way as it used to work.
I haven't had time to see what might be going on. As far as I know, the HDR units don't have this problem, as no-one has reported it.
I assume I would need to resort to the 'old way' so I'm inclined to leave it at that.
If you go back in to Maintenance Mode now, you should find a menu option to update the firmware (you need tmenu version 1.25 installed, but it probably is if your packages are up to date).
Pick that and you should be presented with a choice (of 1 probably!) of which image to install. Pick that and it ought to install - it did for me.
Please report back success or failure.
 
Thanks for the full explanation @prpr
Sorry, it is actually an HDR and the package is actually custom-firmware-hdr. No idea how I got that wrong other than age!
I will try the Maintenance Mode when I get the time, fairly soon hopefully.
 
Booted into Maintenance Mode and got the below menu. Tried 'reprog' but it didn't seem to do anything but give a couple of errors!
Is 'reprog' the option to update the custom firmware?

| M A I N T E N A N C E M O D E M E N U |
\---------------------------------------------/
[ Humax HDR-Fox T2 (humax) 1.03.12/3.10 ] short - Run short hard-disk self test.

long - Run long hard-disk self test.
check - Check self-test progress.
fixdisk - Check and repair hard disk.
gptf - Re-format disk using GPT scheme.
reprog - Update the Custom Firmware
epg - Clear persistent EPG data.
dlna - Reset DLNA server database.
x - Leave maintenance mode (Humax will restart).
diag - Run a diagnostic.
cli - System command line (advanced users). Please select option: reprog

/var/lib/humaxtv_backup/mod/tmenu: line 935: /bin/mktemp: not found
/var/lib/humaxtv_backup/mod/tmenu: line 935: can't create : nonexistent directory

Connection to host lost.

Press any key to continue...
 
Tried 'reprog' but it didn't seem to do anything but give a couple of errors!
That's a bit sad.
Is 'reprog' the option to update the custom firmware?
Yes.
/var/lib/humaxtv_backup/mod/tmenu: line 935: /bin/mktemp: not found
I don't know why mktemp has been hard-coded to run /bin/mktemp but obviously that was not present in 3.10 CF (it was added in 3.11), which is what appears to stop it working.
You could try this from the "cli" option on that menu (I suggest you copy/paste rather than typing it as it's easy to make mistakes):
Code:
sed -i 's/\/bin\/mktemp/mktemp/' /mod/boot/2/tmenu
followed by "exit" to get you back to the menu. Then re-try the "reprog" option and report what happens.
 
Last edited:
Same again unfortunately:

Please select option: reprog
/var/lib/humaxtv_backup/mod/tmenu: line 935: mktemp: not found
/var/lib/humaxtv_backup/mod/tmenu: line 935: can't create : nonexistent directory
 
OK, use of mktemp is unnecessary anyway, so try this and repeat:
Code:
sed -i 's/cfutemp=.*/cfutemp=\/tmp\/cf.upd/' /mod/boot/2/tmenu
 
Back
Top