dev builds
themes manual
device status forums
mailing lists
IRC bugs
dev guide

Search | Go
Wiki > Main > SamsungZ5 (r15)

Samsung Z5


7 tactile buttons and a touchpad (directions).

Dedicated hold switch

SoC: Sigmatel STMP360(B)

Screen resolution: 128 x 160 (RGB)

RAM: 16 Mb

Radio (where present): Philips TEA5767

Nand: 1 - 2 - 4 GB splitted in various logical partitions (see under)


2 firmware updates are available here: The update is performed by placing the =Z5Update.dat file in the root of the player or the System/Data folder, depending on the current version you're player is running. This player runs Linux as well as a particular Java virtual machine! Indeed, the firmware UI is made up in Java and all the class are visible (and hacker-able smile ). Lots of interesting scripts and executable are present in the firmware.

Update process

With the help of the Z5 updater (recovery) application we can restore the firmware through the STMP3600 recovery mode. A as sent to the device. This ~1,8MB file is really complex since it includes some code to load a Linux kernel with a rootfs-based recovery. Then a z5-fw.dat is sent to the user memory (through UMS) and the process of decryption + flashing begins!

Z5Update?.dat is a mixture of plain and encrypted bytes.

Meaning Offset Length
Header 0 0x38
Data 0x38 Size of the data
MD5 Encrypted data 0x38 + Size of the data 0x10

Header info Offset Length
Signature (SAMSUNG YEPP) 0 0xC
Unknown 0xC 0x4
Version 0x10 0x8
Region Code 0x18 0x4
Unknown (revision ?) 0x1C 0x4
Model 0x20 0x14
Size of the data 0x34 0x4


Name Offset Length Usage
ufd0p0 16 4MB ( 16 blks, 1 blk = 256KB) chip-0, part-0 (blk 16 ~ 31) ?
ufd0p1 32 4MB ( 16 blks, 1 blk = 256KB) chip-0, part-1 (blk 32 ~ 47) ?
ufd0p2 48 16MB ( 64 blks, 1 blk = 256KB) chip-0, part-2 (blk 48 ~ 111) ?
ufd0p3 112 32MB ( 128 blks, 1 blk = 256KB) chip-0, part-3 (blk 112 ~ 239) ?
ufd0p4 240 923MB (3692 blks, 1 blk = 256KB) chip-0, part-4 (blk 240 ~ 3931) User data
**ufdrawa 16 4MB ( 16 blks, 1 blk = 256KB) chip-0, part-0 (blk 16 ~ 31) ?kernel?
**ufdrawb ? ? rootfs
**ufdrawc ? ? Oasis UI app data


To get the player to present itself as a STMP3600/Player Recovery Class device, hold the middle select button while connecting to USB from the off state. Keep in mind that this device has a sleep mode and the only way to truly turn it off is by pressing in the reset button on the bottom.


EOREX.png Board4Uart.jpeg

Schematics & Stuff

YP-Z5 Schematics, Service Manual & more!

ADCChannel Usage
ADC0 Tactile Buttons
ADC1 Microphone Power?
ADC2 Touchpad AX-
ADC3 Touchpad AY-
ADC4 Touchpad AX+
ADC5 Touchpad AY+

GPIO/other pins Usage Default State (OF) Direction
PSWITCH Power_Toggle L I
GPMI_D00 Boot mode N/A
GPMI_D01 Boot mode N/A
GPMI_D02 Boot mode N/A
GPMI_D03 Boot mode N/A
GPMI_D10 FM_BUS (toggle power) N/A
GPMI_D12 USB_Detect N/A
GPMI_D13 Hold_SW N/A
PWM2 LCD_TP (toggle power?) N/A
LCD_BUSY Touchpad TY- 0 O
ROTARYA Touchpad TX- 1 O
SSP_CMD Touchpad TY+ 1 O
SSP_DETECT Touchpad TX+ 0 O
SSP_DATA2 FM_INT (interrupt) N/A

Touchpad device shall be enabled via the TX/TY +/- pins. See the "Default value" in the table above.

Useful Links


Bootloader + Some system messages log during bootup

I Attachment Action Size Date Who Comment
Board4Uart.jpgjpg Board4Uart.jpg manage 800.9 K 02 Dec 2012 - 08:51 LorenzoMiori? Help for the UART
YPZ5_SM.pdfpdf YPZ5_SM.pdf manage 7989.5 K 02 Dec 2012 - 09:06 LorenzoMiori? Service Manual, Schematics and more
Edit | Attach | Print version | History: r23 | r16 < r15 < r14 < r13 | Backlinks | View wiki text | More topic actions...
r15 - 24 Dec 2012 - 17:47:24 - AmauryPouly
Copyright by the contributing authors.