Prev Previous Post   Next Post Next
Old 12-17-2009, 10:10 AM
Jan_DK's Avatar
Jan_DK Jan_DK is offline
Junior Member
Join Date: Mar 2009
Location: Denmark
Posts: 88
Default Hacking the Firmware 1.10.04.exe

I've been trying to peek and poke the ZENX-Fi2_PCFW_L22_1_10_04.exe file to see
if there was anything interesting to be done.

So far I've change the boot logo using Gimp raw image import function
and a hexeditor to put the altered image back into the 1.10.04.exe file
and then updated the player. So there is no "checksum verification".

I've also extracted a LUA application from the firmware, looks like a
calculator, if run on the Zen X-fi2 (it sort of works, there is no clear screen). I've uploaded it here

If I use the luadec.exe -f 0 then this:
C:\luadec>luadec -f 0 hack.lua
-- Decompiled using luadec 2.0 standard by sztupy (

-- Command line was: -f 0 hack.lua

version = "20091116"
print("CTC LUA calc." .. version)
swidth = screen.width()
sheight = screen.height()
color_black =, 0, 0)
color_white =, 255, 255)
color_red =, 0, 0)
color_blue =, 0, 255)
The red X-fi text I drew on the boot image is displaying as blue so the image format must be 'BGRA' and not RGBA

The boot image header in the firmware is at '0xD09480'
0C DE 00 00 07 CB 60 04

The first 3 or 4 bytes is the size(in reverse) of the image block including the next 4 bytes, witch contains the image width CB = 203 and height?
6004 = 0x46 = 70 dec. ?

203*70*4 = 56840 0xDE08
203*70*4+4 = 56844 0xDE0C

I'm using this free Hexeditor
it can do block copy/paste.

I should be possible to extract all images,icons and put them back in, but it's manual hard work
and ONE byte off and your risking bricking the player.

Using GIMP raw import function and playing with the offset and width,
I can find a lot of bitmap in the firmware, and then using the hex editor to fine tune the image location and size in the exe file.

more to come...

Last edited by Jan_DK; 01-07-2010 at 11:16 AM.
Reply With Quote

Advertisement [Remove Advertisement]


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -5. The time now is 10:15 AM.