Bidouillage‎ > ‎

DTS downmix on HDX-1000

(version française)


Subject

UPDATE: There is an official firmware for HDX with DTS downmix support available since 4 june 2009.
You don't need anymore to replace your HDX firmware by a Popcorn firmware.

If you have replaced your HDX firmware by a Popcorn: Restore the original firmware before to upgrade it.


This document explains how to replace the official HDX Firmware by a DTS enabled PopcornHour firmware.
This document is based on the discussion on the forum MPC Club.

New features to the HDX-1000

Installing this firmware disable the VGA output of your NMT.
Because your HDX-1000 doesn't have a VGA output, it's not a problem for you. But it's an important information for people who want to test this procedure on another NMT (it should work on the iStar Mini 1.3).

With this firmware, the color of the status LED will be inversed on the HDX-1000: Blue in standby and Red when working.
 
This firmware is not supported by HDX: There is no warranty, this document is for information only!
Don't forget to save your actual firmware file before to upgrade your HDX: this will permit to get back to the original firmware.

Downloading the Popcorn firmware and tools

Get the firmware-DTS and unzip this file (don't forget to read the original readme file included in this archive too!).

Install NMT apps


You need installed NNT applications before to continue, Install them if not allready installed.
Check the  official wiki for the HOW-TO.

Getting the IP addresse

Go to the «network-setup» menu and write down the IP adresse.
(in this document, the IP 192.168.100.5 will be used).

FTP Connection to HDX-1000

Start a FTP session on your NMT using a FTP client that can modify file permission.
Don't use FileZilla: It have problem for transfering the file "mtd2".
The command line FTP under Linux Ubuntu works very well.
The default FTP login is "ftpuser" an password "1234".

Here is my output under a Linux shell :

olivier@laptop:~$ cd Guide_to_flash_Popcornhour_firmware_to_other_NMT_players_to_enable_DTS/
olivier@laptop:~/Guide_to_flash_Popcornhour_firmware_to_other_NMT_players_to_enable_DTS$ ftp 192.168.100.5
Connected to 192.168.100.5.
220---------- Welcome to Pure-FTPd ----------
220-You are user number 1 of 10 allowed.
220-Local time is now 10:07. Server port: 21.
220 You will be disconnected after 1440 minutes of inactivity.
Name (192.168.100.5:olivier): ftpuser
331 User ftpuser OK. Password required
Password: 1234
230-This server supports FXP transfers
230 OK. Current directory is /
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> bin
200 TYPE is now 8-bit binary
ftp> hash
Hash mark printing on (1024 bytes/hash mark).
ftp> ls
200 PORT command successful
150 Connecting to port 58907
drwxrwxrwx    2 1001     1001         4096 Nov 29 16:56 Download
drwxrwxrwx    2 1001     1001         4096 Nov 29 16:56 Music
drwxrwxrwx    2 1001     1001         4096 Nov 29 16:56 Photo
drwxr-xr-x    3 1001     1001         4096 Nov 29 16:56 Podcast
drwxrwxrwx    7 1001     1001         4096 Jan  2 11:06 Video
drwxrwxrwx    2 1001     1001         4096 Jan 28 09:02 bin
drwxrwxrwx    2 1001     1001        16384 Nov 29 16:51 lost+found
-rwxr-xr-x    1 1001     1001          126 Nov 30 18:46 start_app.sh
226-Options: -l
226 8 matches total
ftp> !ls
busybox26  mtd2        telnet-installer.cgi   update.cgi
flash       readme.txt  telnet-installer.html


Files transfer

Uploader the 6 files from the unzipped file downloaded previously on the root of your HDX-1000.

Here is my output:


ftp> put mtd2
local: mtd2 remote: mtd2
200 PORT command successful
150-using direct IO

150 Connecting to port 36054
###### (...) ######
226-File successfully transferred
226 4.849 seconds (measured here), 6.19 Mbytes per second
31457280 bytes sent in 4.75 secs (6461.8 kB/s)

ftp> put busybox26
local: busybox26 remote: busybox26
200 PORT command successful
150-using direct IO

150 Connecting to port 52057
############(...)#####################
226-File successfully transferred
226 0.185 seconds (measured here), 3.09 Mbytes per second
598768 bytes sent in 0.04 secs (14698.8 kB/s)
ftp> put flash
local: flash remote: flash
200 PORT command successful
150-using direct IO

150 Connecting to port 57007
###############################
226-File successfully transferred
226 0.021 seconds (measured here), 1.49 Mbytes per second
32304 bytes sent in 0.00 secs (22630.5 kB/s)
ftp> put telnet-installer.cgi
local: telnet-installer.cgi remote: telnet-installer.cgi
200 PORT command successful
150-using direct IO

150 Connecting to port 59455
#
226-File successfully transferred
226 0.002 seconds (measured here), 113.57 Kbytes per second
197 bytes sent in 0.00 secs (7125.3 kB/s)
ftp> put telnet-installer.html
local: telnet-installer.html remote: telnet-installer.html
200 PORT command successful
150-using direct IO

150 Connecting to port 45851
#
226-File successfully transferred
226 0.002 seconds (measured here), 256.72 Kbytes per second
423 bytes sent in 0.00 secs (17211.9 kB/s)
ftp> put update.cgi
local: update.cgi remote: update.cgi
200 PORT command successful
150-using direct IO

150 Connecting to port 34800
#
226-File successfully transferred
226 0.002 seconds (measured here), 60.85 Kbytes per second
124 bytes sent in 0.00 secs (5264.9 kB/s)
ftp> 

Modify file permission

Change the permission of these 6 files to 777 (should be a right-clic on your graphical FTP client).

Here is my output:

ftp> chmod 777 mtd2
200 Permissions changed on mtd2
ftp> chmod 777 busybox26
200 Permissions changed on busybox26
ftp> chmod 777 flash
200 Permissions changed on flash
ftp> chmod 777 telnet-installer.cgi
200 Permissions changed on telnet-installer.cgi
ftp> chmod 777 telnet-installer.html
200 Permissions changed on telnet-installer.html
ftp> chmod 777 update.cgi
200 Permissions changed on update.cgi
ftp>

Browser from the HDX-1000

Go on your NMT screen and select "Media Source" (on your remote control).
Open the drive where you put the files.
Select the 4th Icon(on the right) for start the file browser.

Enabling telnet

Select the file "telnet-installer.html", and choose «Run from HARD_DISC», then «Run from USB (HARD_DISC) (Removing USB would be bad)».
You should have a white screen now: Stay on this screen.

 

Telnet session to the HDX-1000

Start a telnet session now:
You can use the telnet client include with MS Windows or Putty/Kitty.
With Putty, entrer the IP addresse of your HDX, choose Telnet as protocol an click on "open".

Here is my output from a Linux shell::
olivier@laptop:~/Guide_to_flash_Popcornhour_firmware_to_other_NMT_players_to_enable_DTS$ telnet 192.168.100.5
Trying 192.168.100.5...
Connected to 192.168.100.5.
Escape character is '^]'.
#
 

Backup your original HDX firmware

To a backup of your original HDX firmware with this command (from the telnet session):
dd if=/dev/mtd2 of=/opt/sybhttpd/localhost.drives/HARD_DISK/hdx-savefile.out
 
Here is my output:
 
# dd if=/dev/mtd2 of=/opt/sybhttpd/localhost.drives/HARD_DISK/hdx-savefile.out
61440+0 records in
61440+0 records out
#
 
You can download the file "hdx-savefile.out" using FTP now, and kept it in a safe place.

Start the firmware upgrade

Still from the telnet session, send this command:
/opt/sybhttpd/localhost.drives/HARD_DISK/update.cgi
 
Here is my output:
 
# /opt/sybhttpd/localhost.drives/HARD_DISK/update.cgi
 ./flash: /dev/mtd2: Bad block check not available  
Erasing 128 Kibyte @ 1de0000 -- 99 % complete.
61440+0 records in
61440+0 records out


 
During this upgrade:
  • Do not shutdown the HDX-1000, neither close the telnet session
  • Wait that the HDX-1000 reboot alone (it stuck few minute at 99%)
  • This step take about 10 minutes.
Once rebooted, you will see the Popcornhour logo and will be asked to re-install the Popcorn hour apps.
Answer: Default Installation (Installe NMT apps without erase data).

Configuring Audio DTS downmix

Go on the menu configuration Audio/Video, in the section "Audio Mode" and choose "Analog (PCM)" for the DTS.

Restore the original HDX firmware

 
If you want to restore the original HDX firmware, do the same procedure replacing the Popcorn "mtd2" file by your backup file:
  1. If you had delete the files, send them again by FTP and change their permission
  2. Re-enable the telnet
  3. Open a telnet session
  4. Copy the backuped file "hdx-savefile.out" (checksum md5: e0ed1bde4d46f60979c9152a2e14967f) over "mtd2"
  5. Do the upgrade again
Here is my output:
 
 
# cd /opt/sybhttpd/localhost.drives/HARD_DISK/
/opt/sybhttpd/localhost.drives/HARD_DISK # ls
Download               busybox26              telnet-installer.cgi
Music                  flash                  telnet-installer.html
Photo                  hdx-savefile.out       update.cgi
Podcast                lost+found
Video                  mtd2
/opt/sybhttpd/localhost.drives/HARD_DISK # cp hdx-savefile.out mtd2
/opt/sybhttpd/localhost.drives/HARD_DISK # ./update.cgi
./flash: /dev/mtd2: Bad block check not available
Erasing 128 Kibyte @ 1de0000 -- 99 % complete.
61440+0 records in
61440+0 records out

 

Then wait for the HDX reboot: You will have the HDX logo again and it will ask you to re-install the HDX apps.
For reinstalling the HDX apps, I meet a problem for re-installing the apps: Neither the online method, neither the USB method works again.
I need to follow these steps:
  1. Start a full upgrade (using the file 50-17-100317-15-HDD-403-000.zip unzipped on a USB key)
  2. After the reboot, rename the file «00-17-091216-15-HDD-403.nmt» on the USB key to «syb8634.nmt»
  3. And when the HDX ask for installing apps, choose USB method

Comments