Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

More Create Blog Sign In

Michael Spector's Blog


Monday, May 10, 2010 About Me

Michael
Fixing Mvix Ultio firmware
View my complete
profile
I always dreamed of a small NAS with BitTorrent capabilities to replace my noisy and
always hot AMD-based HTPC computer. Last week I've received Mvix Ultio (MX-800HD),
which I bought on eBay. This box connected to your LAN via either a cable or wireless
from one side, and to your TV panel (via HDMI video and optical audio) from the other side,
while having a 3.5 SATA disk bundled inside can be turned into a powerful entertainment Blog Archive
device (with minimal power consumption).
► 2017 (1)

The first thing I did when I connected this device, is flashing a new firmware v3.0 from Mvix ► 2016 (1)
Ultio support site. I enabled BitTorrent client and Samba plug-ins, as was described in ► 2015 (1)
manual. At that time I didn't expect any disappointment, but it came soon when I left it on ► 2014 (4)
overnight: the device hanged every couple of hours with no possibility to reboot it using
▼ 2010 (7)
remote control or panel buttons. I've read in one forum that unlimited number of peers in a
bundled BitTorrent client (btpd) can kill this device easily. I tried to change settings of btpd ► December (1)
startup script via telnet, but with no success as /etc is actually mapped to memory, and is ► November (1)
not changeable. ► October (1)
► September (1)
Below comes a remedy process based on fixing an existing firmware, and preparing it for
further hacking :) ▼ May (2)
Fixing Mvix Ultio firmware
DISCLAIMER: I take no responsibility for any damage you might cause to your device by HTML5 Geolocation API is
following this guide. scaring me

► January (1)
1. You must have some Linux machine for that (choose yourself, what's easier: installing
Ubuntu on VirtualBox or installing Cygwin on Windows? :-]) ► 2009 (13)

2. Download, compile and put mkyaffs2image and unyaffs utilities under your $PATH.
Labels
3. Extract existing firmware image:
eclipse pdt BigData

1 mkdir install ?
2 cd install
3 tar xvf ../intsall.img

4. Extract contents of yaffs2_1.img:

1 cd package2 ?
2 mkdir yaffs2_1
3 cd yaffs2_1
4 unyaffs ../yaffs2_1.img
5 cd ../

5. Extract contents of usr.local.etc.tar.bz2 (this archive will be extracted into a writable


partition on a device, partition size is controlled by <sizeBytesMin> entry in
configuration.xml):

1 mkdir usr_local_etc ?
2 cd usr_local_etc
3 tar jxvf ../usr.local.etc.tar.bz2
4 cd ../

The whole idea is to place things that we might need to configure later on a running device
into this archive. So I've just merged contents of package2/yaffs2_1/etc/ into this archive
(please do it carefully as there are plenty of symlinks pointing to the same place:
/usr/local/etc). Then, I removed whole directory package2/yaffs2_1/etc/, and created a
symlink instead:

1 rm ‐rf yaffs2/etc ?
2 ln ‐s /usr/local/etc yaffs2/etc

6. Now, lets fix the BitTorrent client settings:

1 vi yaffs2_1/usr/local/bin/package/script/bt.script ?
2 # find "start running btpd", and add needed settings after the $btpdbin
3 # (I've just limited a number of peers by adding: ‐‐max‐peers 48)

BTW, you can move this script into /usr/local/etc archive too, and create a symbolic link
to it, if you wish to modify it later on a running device.

7. Compress usr.local.etc.tar.bz2 back:

1 cd .usr_local_etc/ ?
2
3 # Restore original files ownership (I don't know whether this is crucial):
4 chown ‐R 500:500 .
5
6 tar jcvf ../usr.local.etc.tar.bz2 *
7 cd ..
8 rm ‐rf usr_local_etc

7.1 (maybe optional) I don't know what's the point in duplicate /usr/local/etc/ folder
contents under package2/yaffs2_1/usr/local/etc/, so I just did the following:

1 cd yaffs2_1/usr/local/etc/ ?
2 rm ‐rf *
3 tar jxvf ../../../../usr.local.etc.tar.bz2
4 cd ../../../../
8. Compress yaffs2_1.img back:

1 # Restore original files ownership ?


2 chown ‐R 500:500 yaffs2_1/
3
4 mkyaffs2image yaffs2_1 yaffs2_1.img
5 chmod 644 yaffs2_1.img
6 rm ‐rf yaffs2_1

9. Compress the firmware image back:

1 # Restore original files ownership again :) ?


2 chown ‐R 500:500 .
3
4 tar cvf ../install.img *
5 cd ../
6 rm ‐rf install/

That's all. Now you're ready to go, and flash your box with the updated firmware.

PS: I'm too lazy to write how to setup "ipkg" package manager on Mvix Ultio, which allows
installing additional software on this device, may be later...

Posted by Michael at 6:28 AM

2 comments:
The Dude Abides said...
Hi Michael just came across this entry and have to say I'm glad I did. I own an
earlier MVIX box which isn't as easily hackable and is now quite old so I'm
considering the ultio (along with the sumvision cyclone and the HDX BD1. It would
be nice if this stuff just worked out of the box but the ability to play is nice too!

Have you made any other modifications to the firmware?

Cheers
Marcus
6:04 AM

Michael said...
@The Dude Abides, no, I haven't. Everything worked OK, except for the torrent, so I
did a small modification to fix it.
1:55 PM

Post a Comment

Newer Post Home Older Post

Subscribe to: Post Comments (Atom)

Simple theme. Powered by Blogger.

You might also like