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

5/30/2021 Modernization of TV Samsung LE32C530 F1W: restoring "BRICK" - 100.org.

ua - programmer's blog

 

100.org.ua - programmer's
blog
web-developing, programming ...

TV MODERNIZATION

Modernization of TV Samsung LE32C530 F1W:


we restore "BRICK"
by Ivan Melnyk  • 01.10.2013 •  0 Comments

This article will discuss how to restore your TV from "BRICK" state to normal working.

For this we need:

1. Ex-Link cable (RS-232)


2. Computer with USB port
3. Program / Client - Putty (my choice)
4. USB flash drive, the volume is not important, the main thing is formatted in FAT file system (in Windows 7 -
by default).

Ex-Link cable (RS-232) .


There are many instructions on the Internet on how to build it. It's easier, of course, to buy a ready-made one if
you have an extra $ 5- $ 10.
One of the instructions is http://wiki.samygo.tv/index.php5/Ex-Link_Cable_for_C/D/E_Series_and_BD_players .

I hope it's not a secret for anyone how to enable additional programs (console utilities) in Windows 7, for
example:
Control Panel -> Programs and Features -> Turns Windows features on or off -> [add-ons list] -> Telnet
Client.
However, I recommend using the Putty utility . She, as for me, is easier to set up, and also stable in operation.

The worst thing that can happen is that the TV won't turn on and all you see is a black screen. On pressing the
buttons of the remote control, the red light simply flashes without any reaction.
The main reason for such soullessness of your TV can be a damaged start.sh file / script.
For example, you experimented (as, for example, me :)) and made a syntax error in the code of this file - the TV
will turn into a "BRICK".
In our case, the LE32C530 defies the standard recovery methods described here . The only thing that works
from the above instruction is command 10041004, it actually puts the console into command mode, but that's
about it. The most that I was able to find a working one is another CB command (but more on that later).
https://100.org.ua/improving-tv-samsung-le32c530-f1w-restore-brick/ 1/18
5/30/2021 Modernization of TV Samsung LE32C530 F1W: restoring "BRICK" - 100.org.ua - programmer's blog

So, if your TV turned into a "BRICK", do the following:

1. Turn off the TV: to turn off the TV, you need to unplug the power cord from the outlet for about 30 seconds,
this is the only way to turn off / restart your TV in the "BRICK" state.
2. We connect the Ex-Link cable to the VGA port of the TV (one end), and to the USB port of the computer
(the other end), the one that you configured to work with the Putty client.
We connect the TV to the power supply: Just plug the power cord into the outlet, the red light should light
up, but not blink.
3. On the computer, run the configured Putty program / client. You should just see a black screen.
4. Using the remote control, Power or CH UP buttons - turn on the TV. At this point, you should see rapidly
changing lines with information in the client's log (Putty), like this one:

=================================
Samsung Bootloader Infomation
release ver: 1004 Release
etc:
=================================
UART2 is used to debug mode (0)
load kernel start, size: 131072 + 2883584 byte
load_cmac () [918 line]: entry-> first_blk = 1, entry-> no_blks = 1
1024 bit RSA Sign / Verify Test Success.
authentication success
XIP Kernel Image ...
Starting kernel ...
[SELP] preset_lpj manual setting 175616
================================================== ===============================
SAMSUNG Mstar Kernel
Version: 1004.84 (RELEASE)
================================================== ===============================
init started: SELP-BusyBox v1.6.0-VD Linux SELP.4.2.1.x (2010-03-25 09:52:34 KST) multi-call bi
starting pid 21, tty '': '/etc/rc.sysinit'
/etc/rc.local start !!!!
##################################
VDLinux 1.1.1.x Mstar RootFS ver
1004
Used kernel ver (module is builed)
1007.88 (RELEASE)
##################################
starting pid 32, tty '': '/ bin / cttyhack'
/ etc / profile start !!
/ mtd_rwarea / PartitionSwitch_0_0 is detected ...
1st Partition is selected ....
_mod_sys_init.176 ioctl
== Start exeDSP ==
/mtd_exe/rc.local start !!!!!
insmod: cannot insert '/mtd_exe/samsung_mstar.ko': File exists (-1): File exists
https://100.org.ua/improving-tv-samsung-le32c530-f1w-restore-brick/ 2/18
5/30/2021 Modernization of TV Samsung LE32C530 F1W: restoring "BRICK" - 100.org.ua - programmer's blog

************************************************* ****
Application running is failed ..
SW image is stopped ..
************************************************* ****
SELP #> [CIP_KERNEL] >>> (/ bin / authuld) file is successfully authenticated <<<
[CIP_AUTHULD] ============================================== =====
[CIP_AUTHULD] Authuld Version: 1.1: REL
[CIP_AUTHULD] ============================================== =====
[CIP_KERNEL] Success !! Authuld is successfully completed.

5. So we saw what is really going on inside the TV, and why it cannot turn on: insmod: cannot insert
'/mtd_exe/samsung_mstar.ko': File exists (-1): File exists
This line tells us that the samsung_mstar.ko module can not be loaded into the TV's memory, but this is
one of the main TV modules, without which it "does not show" anything.
6. We format the flash drive into the FAT file system (as it turned out, from under Windows 7, only this file
system is normally supported by the TV in this state).
7. Create empty files on the flash drive:
emergency_start.sh
kill_start.sh
start.sh

These files do nothing by themselves, therefore they are empty, but another script reacts to their presence,
which is activated when the flash drive is inserted into the TV. But in our case, not everything is so simple.
In order for our TV to determine (in the "BRICK" state) that the flash drive was plugged into the TV, we
need to somehow force it to load modules / drivers to work with flash media.
As we can see from the logs, it does not load any modules for working with USB drives, that is, with flash
drives, even if the flash drive were plugged into the TV at that moment, and here the CB team comes to
our aid .

8. We take out (safely) the flash drive from the computer, with the empty files created, and insert it into the
TV, while we continue to watch everything that happens inside the TV from our little window - Putty.
9. We type the command 10041004 , we see something like this:
SELP#>
10. We type the CB command , you should see something like this:

SELP #> CB
==========================================
1.sync for /core/Coredump.gz
==========================================
sync
sync
==========================================
2. Insert usb modules
==========================================

https://100.org.ua/improving-tv-samsung-le32c530-f1w-restore-brick/ 3/18
5/30/2021 Modernization of TV Samsung LE32C530 F1W: restoring "BRICK" - 100.org.ua - programmer's blog

==========================================
3. Finding usb mount point
==========================================
Please insert USB
usb 2-1: new high speed USB device using Mstar-ehci-1 and address 2
sd 0: 0: 0: 0: [sda] Assuming drive cache: write through
sd 0: 0: 0: 0: [sda] Assuming drive cache: write through
FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitiv
==========================================
4. Copy /core/Coredump.gz to usb
==========================================
COPY to /dtv/usb/sda1/Coredump.gz
cp: cannot stat '/core/Coredump*.gz': No such file or directory
==========================================
5.sync for Coredump.gz in usb
==========================================
sync
sync
==========================================
6. Copying is ended ... please remove USB
==========================================

At the moment, in fact, internal processes have occurred on the TV (even internal :)), which we did not see
(which ones - I will inform you later, you need to watch the SamyGO scripts, which react to the presence of
these files on the flash drive).

11. Turn off the TV by unplugging the cord from the outlet.
12. We remove the USB flash drive from the TV, but at the same time we leave the Ex-Link cable connected
as before, in order to see everything that happens in the Putty client.
13. After waiting at least 30 seconds, we connect the TV to the power supply - by plugging the power cord into
the outlet, the red light should light up, but not blink.
14. We close the old Putty client window and open a new one so that the old information does not interfere
with us, so to speak, we start from scratch.
15. Using the buttons on the Power or CH UP remote control - turn on the TV, in the client window there
should be something like this:

=================================
Samsung Bootloader Infomation
release ver: 1004 Release
etc:
=================================
UART2 is used to debug mode (0)
load kernel start, size: 131072 + 2883584 byte
load_cmac () [918 line]: entry-> first_blk = 1, entry-> no_blks = 1
1024 bit RSA Sign / Verify Test Success.
https://100.org.ua/improving-tv-samsung-le32c530-f1w-restore-brick/ 4/18
5/30/2021 Modernization of TV Samsung LE32C530 F1W: restoring "BRICK" - 100.org.ua - programmer's blog

authentication success
XIP Kernel Image ...
Starting kernel ...
[SELP] preset_lpj manual setting 175616
================================================== ===============================
SAMSUNG Mstar Kernel
Version: 1004.84 (RELEASE)
================================================== ===============================
init started: SELP-BusyBox v1.6.0-VD Linux SELP.4.2.1.x (2010-03-25 09:52:34 KST) multi-call bi
starting pid 21, tty '': '/etc/rc.sysinit'
/etc/rc.local start !!!!
##################################
VDLinux 1.1.1.x Mstar RootFS ver
1004
Used kernel ver (module is builed)
1007.88 (RELEASE)
##################################
starting pid 32, tty '': '/ bin / cttyhack'
/ etc / profile start !!
/ mtd_rwarea / PartitionSwitch_0_0 is detected ...
1st Partition is selected ....
_mod_sys_init.176 ioctl
== Start exeDSP ==
/mtd_exe/rc.local start !!!!!
[FASTBOOT] Main thread id: 54
##### System Execution !!! #####
Running Parallel FASTBOOT
Preloading Font File Start [2670]
PM Bank mapping success. Base = [2af30000], Size = [225600]
NonPM Bank mapping success. Base = [2b156000], Size = [25600]
Flash Bank0 mapping success. Base = [2d228000], Size = [4000000]
--------------------
X4_SEMS_18
--------------------
SDAL - 03.45.16.00
[UTIL] sys_config 1540
pthread_mutex_init
CHIP_InitISR
_mod_sys_open.235 ioctl
MMAP: E_MMAP_128MB_128MB
>> u8BinType = 0
DSP code loaded successfully
IRQThread_24
MDrv_PWM_Init has MMIO base 0x2B156000
MDrv_PWM_SetDbgLevel (1)
_mod_sys_open.235 ioctl

https://100.org.ua/improving-tv-samsung-le32c530-f1w-restore-brick/ 5/18
5/30/2021 Modernization of TV Samsung LE32C530 F1W: restoring "BRICK" - 100.org.ua - programmer's blog

_s32FdSYS is 8
MApi_DDC2BI_Init.96 ioctl Done
MApi_DDC2BI_Init.108 ioctl Done
---------------------------------------------
SdCommon_GpioInit ()
---------------------------------------------
[InitX4] SdMisc_DisplayResolution: FHD !!!
[SdMisc_DisplayResolution 433]
Dclk = 34f59d
XC: [_MApi_XC_Init_Context] [148] This is first initial 0x2aec8710
XC RIU base = 2b156000
Preloading Font File End [3590]
IRQThread_18
MDrv_WBLE_EnableBLE (): invoking Hal_WBLE_set_ble ()
PQ INPUTTYPE NUM MISMATCH: SUB! = SUBEXPQ INPUTTYPE NUM MISMATCH: MAIN! = EX [MWE] Hstart 70 He
X4 version: T-MSX5DEUC-2005.4 Date: Sep 3 2010 (14:54:13)
SDAL version: SDAL - 03.45.16.00
>>> TDBuilder :: Build start
[TDBuilder] EEPROM I2C Line -> [BUS_2]
TDaTunerCXD Building ...
TDaDemodulatorCXD Building ...
[LightSensorMonitor :: LightSensorMonitor] m_poLightSensor = [0x0363b3c0]
[LightSensorMonitor :: LightSensorMonitor] m_poLightSensor = [0x0363bad8]
<<< TDBuilder :: Build End
ResetSystemConfig tuner
############## Find Factory_Part1.dat File in mtd_exe ##################
############## Find Factory_Part2.dat File in mtd_exe ##################
FixedId: Nvram [130] vs File [130]
WBId: Nvram [147] vs File [147]
WB ADC (Part1) Id: Nvram [41] vs File [41]
EER Basic Id: Nvram [340] vs File [340]
EERId Custom: Nvram [215] vs File [215]
FACId: Nvram [210] vs File [210]
SEMS-18 LCD
before m_semReset.Take
after m_semReset.Take
========= 10 Tuner Selected !!!
>> [TDsAlps514Tuner] Create: === Start Create
TUNER Init
INTERN_DVBT_Power_On_Initialization call stop vdmcu
>> u8BinType = 1
============================= LOAD DSP ==================== ============
============================= LOAD DSP DONE =================== =============
MApi_DMX_GetLibVer 00231898
[HAL_DSCMB_SetBank] [82] Set bank 0x2b156000
IRQThread_12

https://100.org.ua/improving-tv-samsung-le32c530-f1w-restore-brick/ 6/18
5/30/2021 Modernization of TV Samsung LE32C530 F1W: restoring "BRICK" - 100.org.ua - programmer's blog

DVB-T Load DSP Code OK


IRQThread_36
@INTERN_DVBT_config BW: 8
INTERN_DVBT_Reset
▒‫ ▒ڡ‬Check Factory, Num of Amp is 1.
[MDrv_SAR_Kpd_Init]: SAR Kpd has been initialized!
>> [TDsAlps514Tuner] Create: === End Create
>>> t_GetFastBootInfo 0
>> [ERR: TDsX4Mpeg.cpp] Create (): 130 - SDAL ERROR [-1] !!!
[eSoundSys = 2] <--- SoundSystem
IRQThread_69
IRQThread_54
audio DSP_SE LoadCode success ..
the length of the thread name exceeds 15, it will be truncated to 15 chars
Before m_semFrontEND Take START
After m_semFrontEND Take END
==================================================
---------- GLOBAL INITIALIZATION START ----------
==================================================
>> [TDsAlps514Tuner] Connect: Antenna 1
_mod_sys_open.235 ioctl
PCMCIA open / dev / system success >> SYS_fd = 14
IRQThread_29
LightSensorMonitor Creat ... Start Brightness Step = [20]
delay should be great than 20ms.
[LightSensorMonitor] Start!
[TDaSystem :: X4PivotModeConfig] PivotConfig Size [1920 * 1080], Mode [3]
[TDaScaler] [Create] CREATE_TYPE_STEP_FHD !!!
[TDaScaler] [Create] CREATE_TYPE_STEP_FHD !!!
[TDaScaler] [Create] CREATE_TYPE_STEP_FHD !!!
==== HDMI [SRC num: 1], [ID: 0x47], [HP STATE: 0xf]
### eSrc 0, DDCompMode 1 (RFmode: 1), Factory value 1, SDAL set value 0
bEnable = 1
Param_u16Fmodulation = 4
u16Fmodulation = 400
u16Span = 203
u16Rdeviation = 150
u16Step = 256
DDR_u16Deviation = 10
[Fast Boot] [Panel Control Type: 2]
Before m_semAmp Take START
After m_semAmp END
>>> t_PlayMelody 0
>>> t_CheckFastBoot 0
==================================================
----------------- FAST BOOT START ----------------

https://100.org.ua/improving-tv-samsung-le32c530-f1w-restore-brick/ 7/18
5/30/2021 Modernization of TV Samsung LE32C530 F1W: restoring "BRICK" - 100.org.ua - programmer's blog

==================================================
SdVideo_Get () # 1740: g_IPanel.Width (), g_IPanel.Height (): (1920, 1080)
Error! Unexpected bankend ID.
>> [TDsAlps514Tuner] Connect: Antenna 1
>> [TDsAlps514Tuner] SetLna: OnOff 0
>> [TDsAlps514Tuner] SetLna: ==== LNA is always ON
>> [TDsAlps514Tuner] SetTune: ======================================== ===============
>> [TDsAlps514Tuner] SetTune: [Mod: 2] [Freq: 450000.000] [OffSet: 0] [BW: 1]
[Fast Boot] [Panel Control Type: 1]
>> [TDsAlps514Tuner] SetTune: [SymbolRate: 6875] [SoundSystem: 1] [bAnalogSignal: 0]
>> [TDsAlps514Tuner] SetTune: [bIsAutoProgram: 0] [eHierarchyPriority: 1]
>> [TDsAlps514Tuner] SetTune: ======================================== ===============
TunerS [0] = 1E, TunerS [1] = 63, TunerS [2] = 9B, TunerS [3] = 4E, TunerS [4] = C0
|||||||||||||||||| PVCC On .. !!! ||||||||||||||||||
|||||||||||||||||| LVDS OutPut On .. !!! ||||||||||||||||||
====== Send Jack ID Command to SubMicom! =====
INTERN_DVBC_Power_On_Initialization call stop vdmcu
>> u8BinType = 2
DVB-C Load DSP Code OK
INTERN_DVBC_Reset
>> [TDsAlps514Tuner] SetTune:
TDsTunerHalfNim :: tSdTuner_StartChannel ... SDAL Mod Format = [6] eSource = [0x0] ePipSource =
SdTSData_UnInstallCallback
Source: 513 Video ID: 0
SD_NOT_SUPPORTED
>> [ERR: TDsX4Mpeg.cpp] ConnectVideo (): 1000 - SDAL ERROR [-2] !!!
Source: 513 Video ID: 0
SD_NOT_SUPPORTED
>> [ERR: TDsX4Mpeg.cpp] SetAVSync (): 1496 - SDAL ERROR [-2] !!!
>> [ERR: TDiMpeg.cpp] InstallVideoCallbackFrameCapture (): 963 Null Fuction Call !!! Mu
>> [ERR: TDaPanel.cpp] GetPanelConfigType (): 353 Input Option Error: 2
## Core Software Platform (TM) 1.1: DTP-SP-0072 (RELEASE)
Copyright (C) SAMSUNG Electronics Co., Ltd.
CSP No sched_yield ()
TCMW :: Initialize () start
ProfileManager :: t_CompareMagicKey () line [569] Offset 0 Size 4]
ProfileManager :: t_CompareMagicKey () line [577] CRC: 82250689, magicKey: 82250689
ProfileManager :: Init () line [73] Mark 2193
>> [TDsAlps514Tuner] GetDevCaps: Called ...
|||||||||||||||||| PWM Enable .. !!! ||||||||||||||||||
TDResolution_k: [21]
TDResolutionInfo_t [720], [576], [0], [0], [864], [625], [0], [50000], [1], [0], [0], [0], [ 0]
[DEFAULT / Debugging] 0: FlagHotelMode, hotelProductType [0]
[DEFAULT / Debugging] 1: FlagUseHotelMixedMap, factoryMapUse [1]
[DEFAULT / Info] 2: #### Reset TCTvManagerBase :: Create ####
>> [TDsAlps514Tuner] GetDevCaps: Called ...

https://100.org.ua/improving-tv-samsung-le32c530-f1w-restore-brick/ 8/18
5/30/2021 Modernization of TV Samsung LE32C530 F1W: restoring "BRICK" - 100.org.ua - programmer's blog

>> [ERR: TDsX4Mpeg.cpp] StartVideoDecoding (): 352 - SDAL ERROR [-1] !!!
>> [ERR: TDsX4Mpeg.cpp] StopVideoDecoding (): 370 - SDAL ERROR [-1] !!!
[DEFAULT / Info] 3: #### Reset Channel Magic Key! old = 1001007 new = 1001007 !!! ####
IRQThread_72
>> [TDsAlps514Tuner] GetDevCaps: Called ...
>> [ERR: TDiSystem.cpp] GetSIProtocol (): 961 Null Fuction Call !!! Must Check Implemen
[pthd_t_InitCrumbs] START
Tune Done ... [0]
>> [TDsAlps514Tuner] GetDevCaps: Called ...
Check Resolution .... Time 0, RESOLUTION_NOSIGNAL
>> [TDsAlps514Tuner] GetDevCaps: Called ...
|||||||||||||||||| Inverter On .. !!! ||||||||||||||||||
[Fast Boot] [Panel Control Type: 3]
[DEFAULT / Debugging] 4: FlagHospitalMode [0]
[pthd_t_InitCrumbs] NvRam Caching
[pthd_t_InitCrumbs] END
[M_TMS / Fatal] 5: TCChSortModeDB :: LoadSortMode Cannot Open File / mtd_chmap / ChSortMode
Check Resolution .... Time 240, RESOLUTION_NOSIGNAL
Check Resolution .... Time 340, RESOLUTION_NOSIGNAL
Check Resolution .... Time 450, RESOLUTION_NOSIGNAL
Check Resolution .... Time 550, RESOLUTION_NOSIGNAL
>> [ERR: TDsX4AudioProcessor.cpp] Connect (): 1096 !!! Melody not done: eSrc = [0x201]
>> [TDsAlps514Tuner] GetDevCaps: Called ...
Resolution Done Time 740, RESOLUTION_1080I
Add Delay 160
>> [TDsAlps514Tuner] GetDevCaps: Called ...
[DEFAULT / Fatal] 6: TCWindowInfoManager_DVB :: t_ChangeCountry (WindowId: 1 TvMode: 0 Country
>> [TDsAlps514Tuner] GetDevCaps: Called ...
>> [TDsAlps514Tuner] GetDevCaps: Called ...
[DEFAULT / Fatal] 7: TCWindowInfoManager_DVB :: t_ChangeCountry (WindowId: 2 TvMode: 0 Country
>> [TDsAlps514Tuner] GetDevCaps: Called ...
>> [TDsAlps514Tuner] GetDevCaps: Called ...
[DEFAULT / Fatal] 8: TCWindowInfoManager_DVB :: t_ChangeCountry (WindowId: 3 TvMode: 1 Country
[DEFAULT / Info] 9:
[DEFAULT / Info] 10: [CI + information] Make sure that this is DVB CI + product.
[DEFAULT / Info] 11: [CI + information] Make sure that production certificates and keys should
TDResolution_k: [24]
TDResolutionInfo_t [1920], [1080], [0], [0], [2640], [1125], [0], [25000], [1], [0], [0], [0],
#TDResolution_k: [24]
#TDResolutionInfo_t [1920], [1080], [0], [0], [2640], [1125], [0], [25000], [1], [0], [0], [0],
>> [ERR: TDaPanel.cpp] GetPanelConfigType (): 353 Input Option Error: 2
SET 50 Hz m_VideoSetting.sScaleData.frameRate = 25000
>> [TDsAlps514Tuner] GetDevCaps: Called ...
>> [TDsAlps514Tuner] GetDevCaps: Called ...
[DEFAULT / Fatal] 12: TCWindowInfoManager_DVB :: t_ChangeCountry (WindowId: 5 TvMode: 0 Country
m_X4Picture_SetGamma_______________

https://100.org.ua/improving-tv-samsung-le32c530-f1w-restore-brick/ 9/18
5/30/2021 Modernization of TV Samsung LE32C530 F1W: restoring "BRICK" - 100.org.ua - programmer's blog

***** Game Mode OFF


CFastBoot.cpp: t_BootOnDtv PANEL UNMUTE [8530]
>> [ERR: TDsX4Demux.cpp] SetAudioDescriptionId (): 965 Invalid Audio Descriptio PID ..
Source: 513 Window Type: 0 Back End Decoder Type: 8, tdRet = 0
### eSrc 201, DDCompMode 1 (RFmode: 1), Factory value 1, SDAL set value -9
HVD cmd: 20306; cmd arg timeout: 0
### eSrc 201, DDCompMode 1 (RFmode: 1), Factory value 1, SDAL set value -9
TCMW :: Initialize () end
0 (4294967295): Shadow 2.1 (Release Version: DTP-BP-Shadow-0120-Release) is being initialized.
>>> t_ExeFastBoot 0
==================================================
------------------ FAST BOOT END -----------------
==================================================
=====================
First GOP driver instance, flush GWIN HW
=====================
InitPlane0: 1, 0, PA: 0a400000, (960, 540)
InitPlane1: 1, 0, VA: 3b628000, (960, 540)
InitPlane: 0, 3b628000
InitPlane0: 1, 1, PA: 0a5fa400, (960, 540)
InitPlane1: 1, 1, VA: 3b822400, (960, 540)
InitPlane: 1, 3b822400
CFastBoot.cpp: m_UnmuteCallback FASTBOOT Callback UNMUTE [8930]
[PQ_ReduceBW_ForOSD]: 1
SET 50 Hz m_VideoSetting.sScaleData.frameRate = 25000
InitPlane0: 1, 2, PA: 0624a000, (1920, 1080)
InitPlane1: 1, 2, VA: 37472000, (1920, 1080)
InitPlane: 2, 37472000
InitPlane0: 1, 3, PA: 06a33000, (1920, 1080)
InitPlane1: 1, 3, VA: 37c5b000, (1920, 1080)
InitPlane: 3, 37c5b000
[▒ϢϢ▒ by AutoSizeMon [0] ▒ϢϢ▒] SourceId = 0x35, AFD = 0, Aspect = 2, SettingValue = 0, Ctltype
InitPlaneFromPlane0: 4, PA: 0624a000, (1280, 720)
[TDsX4Scaler :: SetMute] m_eWindowId [0] Mute Off. 30ms [9130]
InitPlaneFromPlane1: 4, VA: 37472000, (1280, 720)
InitPlaneFromPlane0: 5, PA: 06a33000, (1280, 720)
InitPlaneFromPlane1: 5, VA: 37c5b000, (1280, 720)
InitPlaneFromPlane0: 6, PA: 065ce000, (720, 576)
InitPlaneFromPlane1: 6, VA: 377f6000, (720, 576)
InitPlaneFromPlane0: 7, PA: 06db7000, (1280, 720)
InitPlaneFromPlane1: 7, VA: 37fdf000, (1280, 720)
InitPlaneFromPlane0: 8, PA: 06763000, (720, 576)
InitPlaneFromPlane1: 8, VA: 3798b000, (720, 576)
InitPlane0: 1, 9, PA: 0721c000, (1280, 720)
InitPlane1: 1, 9, VA: 38444000, (1280, 720)
InitPlane: 9, 38444000

https://100.org.ua/improving-tv-samsung-le32c530-f1w-restore-brick/ 10/18
5/30/2021 Modernization of TV Samsung LE32C530 F1W: restoring "BRICK" - 100.org.ua - programmer's blog

[DTVInputService :: t_Create] m_nKeyInputTime = 9390


SAMSUNG (R) Core SW Platform 2.0 for CSP 1.1
Copyright (C) SAMSUNG Electronics Co., Ltd.
>> [TDsAlps514Tuner] GetDevCaps: Called ...
APP_INITIALIZE (); end
[DEFAULT / Debugging] 13: MW Initilize Completed
==================================================
----------- GLOBAL INITIALIZATION END -----------
==================================================
[DEFAULT / Debugging] 14: WaitForFastBoot End
TPCTv :: Power, ######## 3 ######## Param: 0
TPCTv :: Power, Return Value Check: 1
>> [ERR: TDiSystem.cpp] SupportNonVolatileClock (): 136 Null Fuction Call !!! Must Chec
==================================================
------------------- NORMAL MODE ------------------
==================================================
==================================================
--------------- NORMAL MODE COMPLETE --------------
==================================================
[PQ_ReduceBW_ForOSD]: 1
System proccess >>>>> [SYSTEM_READY]
==================== DCDsmManager pid = 54
[DEFAULT / Debugging] 15: [t_OnSystemReady: 5785] First, Display Channel Banner Start (10220)
[TPAWindow.cpp] [ConnectSource] [WID: 0] [CALL] ..
[TPAWindow.cpp] [ConnectSource] [WID: 0] [END] ..
[TPAWindow.cpp] [ConnectSource] [WID: 3] [CALL] ..
TDResolution_k: [24]
TDResolutionInfo_t [1920], [1080], [0], [0], [2640], [1125], [0], [25000], [1], [0], [0], [0],
Source: 513 Window Type: 3 Back End Decoder Type: 8, tdRet = 0
>> [ERR: TDsX4AudioProcessor.cpp] Connect (): 1217 - SDAL ERROR [-2] !!!
[TPAWindow.cpp] [ConnectSource] [WID: 3] [END] ..
TDResolution_k: [24]
TDResolutionInfo_t [1920], [1080], [0], [0], [2640], [1125], [0], [25000], [1], [0], [0], [0],
[DEFAULT / Debugging] 16: [t_OnSystemReady: 5796] First, Display Channel Banner End (10610)
/ bin / sh: /mtd_boot/rest_mount.sh: not found
[TDsX4Scaler :: SetMute] m_eWindowId [0] Mute Off. 40ms [10670]
[TDsX4Scaler :: SetMute] m_eWindowId [0] Mute Off. 30ms [10750]
[DEFAULT / Debugging] 17: AddSection .. chTypeOfWinId = -1 old: [-1] type = -1, new: [-1] type
[TDsX4Scaler :: SetMute] m_eWindowId [0] Mute Off. 30ms [10810]
[DEFAULT / Debugging] 18: t_MonitorSIOnPAT !!!!! EIT Monitoring start !!!!!
[DEFAULT / Info] 19: CALL ClearPESData !!!!!!
[TDsX4Scaler :: SetMute] m_eWindowId [0] Mute Off. 30ms [11530]
[NETWORK_MIDDLE] NetworkManager
/ bin / sh: / sbin / iptables: not found
[NETWORK_MIDDLE] Create
NetworkDB :: GetInstance ()

https://100.org.ua/improving-tv-samsung-le32c530-f1w-restore-brick/ 11/18
5/30/2021 Modernization of TV Samsung LE32C530 F1W: restoring "BRICK" - 100.org.ua - programmer's blog

NetworkDB ()
NetworkDeviceMonitor :: GetInstance ()
NetworkDHCPMonitor :: GetInstance ()
[NETWORK_MIDDLE] NetworkEventManager :: GetInstance ()
[NETWORK_MIDDLE] New NetworkEventManager () -> Success
[NETWORK_MIDDLE] NetworkEventManager :: Create ()
[NETWORK_MIDDLE] NetworkEventManager :: Create () m_Mutex.Create Success
[NETWORK_MIDDLE] NetworkEventManager :: Create () -> Success
[NETWORK_MIDDLE] NetworkEventManager :: GetInstance ()
[NETWORK_MIDDLE] Already created ...
[NETWORK_MIDDLE] NetworkEventManager :: GetInstance ()
[NETWORK_MIDDLE] Already created ...
[NETWORK_MIDDLE] NetworkEventManager :: GetInstance ()
[NETWORK_MIDDLE] Already created ...
[NETWORK_MIDDLE] NetworkEventManager :: GetInstance ()
[NETWORK_MIDDLE] Already created ...
=== [AGC: 39196] [ifAgcOut: 0x991c] Init EMAC error!
insmod: cannot insert '/lib/modules/mdrv-emac.ko': Operation not permitted (-1): Operation not
[NETWORK_SUBSYS] Set MAC eth0 [ff: ff: ff: ff: ff: ff]
ifconfig: SIOCSIFHWADDR: No such device
cat: can't open '/ sys / class / net / eth0 / address': No such file or directory
[AP_FRONTRUNNER / Fatal] 20: [t_Create] [line: 122] Wired Module Loaded ...
[SSL_library_init] Initializing ...
[SSL_library_init] already intialized ...
[DevMgr / Fatal] 21: [GetInstance: 137] Device Manager START ...
[AP_FRONTRUNNER / Fatal] 22: [t_Create] [line: 132] DeviceManager Created ...
[DevMgr / Fatal] 23: [t_OnEvent: 304] DeviceManager :: MESSAGE_FLASH_INFO_UPDATED: DeviceKEY (1
NetworkDeviceMonitor :: GetInstance ()
Already created ...
######## CreateNetworkManager [StartDeviceMonitoring] ######
[NETWORK_MIDDLE] NetworkEventManager :: GetInstance ()
[NETWORK_MIDDLE] Already created ...
[NETWORK_MIDDLE] NetworkEventManager :: GetInstance ()
[NETWORK_MIDDLE] Already created ...
[NETWORK_MIDDLE] NetworkEventManager :: GetInstance ()
[NETWORK_MIDDLE] Already created ...
>> [TDsAlps514Tuner] GetDevCaps: Called ...
GetMACStringViaProc (): error fopen ()
[DLNA] cd_uuid_generate_init () might be failed <- ethernet driver load failed?
DLNA: DLNA UPnP_CD_RegisterCallback (dmr / SamsungMRDesc.xml) -> handle [0]
>> [TDsAlps514Tuner] GetDevCaps: Called ...
DLNA: DLNA UPnP_CD_RegisterCallback (pmr / PersonalMessageReceiver.xml) -> handle [1]
++++++++ [CCPTvUtil: GetModelCode: 24] ModelCode: TV-32C550
[dlna at 0] addinfo @ [] cpSendMSearch with no ipaddr, currently ignore this
++++++++ [CCPTvUtil: GetModelCode: 24] ModelCode: TV-32C550
[dlna at 0] addinfo @ [] cpSendMSearch with no ipaddr, currently ignore this

https://100.org.ua/improving-tv-samsung-le32c530-f1w-restore-brick/ 12/18
5/30/2021 Modernization of TV Samsung LE32C530 F1W: restoring "BRICK" - 100.org.ua - programmer's blog

[NETWORK_MIDDLE] NetworkEventManager :: GetInstance ()


[NETWORK_MIDDLE] Already created ...
[NETWORK_MIDDLE] NetworkEventManager :: GetInstance ()
[NETWORK_MIDDLE] Already created ...
>> [TDsAlps514Tuner] GetDevCaps: Called ...
DLNA: DLNA UPnP_CD_RegisterCallback (/ruis/RemoteUIServerDescLevel1.xml) -> handle [2]
[AP_FRONTRUNNER / Fatal] 24: [t_OnEvent] [line: 239] MESSAGE_APP_INITIALIZED received
>> [ERR: TDiPanel.cpp] GetUpgradeDevice (): 684 Null Fuction Call !!! Must Check Implem
MESSAGE_APP_INITIALIZED ~!
[LoadUSBModules: 1246] Start ...
[AP_SWU / Fatal] 25: [GetFactoryVersion] [line: 4055] Factory MODEL: T-MSX5DEUC, Factory MODULE
[AP_SWU / Fatal] 26: [IsDualBSP] [line: 1454] This is Single BSP !!!!!!!!!!!!!!!!!!!
>> [TDsAlps514Tuner] GetDevCaps: Called ...
[AP_SWU / Fatal] 27: [RecoverVersion] [line: 3857] LOC VERSION [SWU_T-MSX5DEUC_002005_I02_EK000
[AP_SWU / Fatal] 28: [RecoverVersion] [line: 3858] NEW VERSION [SWU_T-MSX5DEUC_002005_I02_EK000
[AP_SWU / Fatal] 29: [RecoverVersion] [line: 3867] Version is same. No Write
>> [TDsAlps514Tuner] GetDevCaps: Called ...
>> [TDsAlps514Tuner] GetDevCaps: Called ...
>> [TDsAlps514Tuner] GetDevCaps: Called ...
insmod usbcore ...
>> [TDsAlps514Tuner] GetDevCaps: Called ...
insmod ehci_hcd ...
insmod: can't open '/lib/modules/ohci-hcd.ko': No such file or directory
insmod ohci_hcd ...
insmod usb_storage ...
USB: Exit Load USB module ... Elapsed Time: 1090msec.
[AP_FRONTRUNNER / Fatal] 30: [t_OnEvent] [line: 249] USB Module Loaded ...
NetworkDB :: GetInstance ()
Already created ...
[NETWORK_SUBSYS] [LoadWirelessStaModule, 2787] insmod rtutil3572sta.ko ...
[NETWORK_SUBSYS] [LoadWirelessStaModule, 2789] insmod rt3572sta.ko ...
[CIP_AUTHULD] ============================================== =====
[CIP_AUTHULD] Authuld Version: 1.1: REL
[CIP_AUTHULD] ============================================== =====
[NETWORK_SUBSYS] [LoadWirelessStaModule, 2791] insmod rtnet3572sta.ko ...
[NETWORK_MIDDLE] NetworkEventManager :: GetInstance ()
[NETWORK_MIDDLE] Already created ...
[NETWORK_MIDDLE] NetworkEventManager :: t_OnEvent ()
[NETWORK_MIDDLE] [NetworkEventManager :: t_OnEvent ()] NetworkCommon :: EVENT_NET_WIRELESS_MODU
[AP_FRONTRUNNER / Fatal] 31: [t_OnEvent] [line: 262] Wireless Module Loaded ...
Player Recieve Event: [5326] !!!
Player Recieve Event: [5326] !!!
Player Recieve Event: [5326] !!!
Player Recieve Event: [5326] !!!
Player Recieve Event: [5326] !!!
Player Recieve Event: [5326] !!!

https://100.org.ua/improving-tv-samsung-le32c530-f1w-restore-brick/ 13/18
5/30/2021 Modernization of TV Samsung LE32C530 F1W: restoring "BRICK" - 100.org.ua - programmer's blog

Player Recieve Event: [5326] !!!


Player Recieve Event: [5326] !!!
Player Recieve Event: [5326] !!!
[DevMgr / Fatal] 32: [t_OnEvent: 304] DeviceManager :: MESSAGE_FLASH_INFO_UPDATED: DeviceKEY (1
[AP_FRONTRUNNER / Fatal] 33: [t_OnEvent] [line: 281] StartMonitoring Done ...
Player Recieve Event: [5326] !!!
Player Recieve Event: [5326] !!!
Player Recieve Event: [5326] !!!
Player Recieve Event: [5326] !!!
Player Recieve Event: [5326] !!!
Player Recieve Event: [5326] !!!
Player Recieve Event: [5326] !!!
usb_storage found ...
ehci_hcd found ...
usbcore found ...
[DevMgr / Fatal] 34: [t_OnEvent: 268] DeviceManager :: MESSAGE_USB_INSMOD_COMPLETE: (11)
++++++++ [CCPTvUtil: GetModelCode: 24] ModelCode: TV-32C550
[dlna at 4] addinfo @ [] cpSendMSearch with no ipaddr, currently ignore this
[DevMgr / Fatal] 35: [t_Main: 510] All devices are initiated !!!
>> [TDsAlps514Tuner] GetDevCaps: Called ...
>> [TDsAlps514Tuner] GetDevCaps: Called ...
>> [TDsAlps514Tuner] GetDevCaps: Called ...
>> [TDsAlps514Tuner] GetDevCaps: Called ...
>> [TDsAlps514Tuner] GetDevCaps: Called ...
===================== DCSwdManager pid = 54
[TDsX4Scaler :: SetMute] m_eWindowId [0] Mute On. 20ms [36950]
>> [TDsAlps514Tuner] GetDevCaps: Called ...
>> [TDsAlps514Tuner] GetDevCaps: Called ...
IRQ 72 polling thread destroyed
IRQ 72 polling fd closed !!
IRQThread_72
IRQ 72 polling thread destroyed
IRQ 72 polling fd closed !!
IRQThread_72
### eSrc 201, DDCompMode 1 (RFmode: 1), Factory value 1, SDAL set value -9
TDResolution_k: [24]
TDResolutionInfo_t [1920], [1080], [0], [0], [2640], [1125], [0], [25000], [1], [0], [0], [0],
#TDResolution_k: [24]
#TDResolutionInfo_t [1920], [1080], [0], [0], [2640], [1125], [0], [25000], [1], [0], [0], [0],
>> [ERR: TDaPanel.cpp] GetPanelConfigType (): 353 Input Option Error: 2
SET 50 Hz m_VideoSetting.sScaleData.frameRate = 25000
m_X4Picture_SetGamma_______________
***** Game Mode OFF
TDResolution_k: [24]
TDResolutionInfo_t [1920], [1080], [0], [0], [2640], [1125], [0], [25000], [1], [0], [0], [0],
[[type = 0] SetResolutionFlag] Aspect Ratio Change [2] !!

https://100.org.ua/improving-tv-samsung-le32c530-f1w-restore-brick/ 14/18
5/30/2021 Modernization of TV Samsung LE32C530 F1W: restoring "BRICK" - 100.org.ua - programmer's blog

[DEFAULT / Info] 36: CALL ClearPESData !!!!!!


SET 50 Hz m_VideoSetting.sScaleData.frameRate = 25000
[▒ϢϢ▒ by AutoSizeMon [0] ▒ϢϢ▒] SourceId = 0x35, AFD = 0, Aspect = 2, SettingValue = 0, Ctltype
[TDsX4Scaler :: SetMute] m_eWindowId [0] Mute Off. 40ms [39420]

And of course, you should contemplate the beautiful picture of your newly working TV.

So what happened when we introduced the CB command ? The thing is that it is the CB command that initiates
the loading of modules for working with USB drives, and at the same moment, SamyGO scripts were activated ,
which found special files on the flash drive, which entailed a system recovery.

ATTENTION:
Never edit the file /mtd_rwarea/network_opt/usr/restore/start.sh , if you screw something up there, then the
TV set will be very difficult to restore, since most likely it will not mount the USB flash drive, and therefore the
recovery script will fail to start. But still there is a way out (tested on a personal example).

As described above, we use the CB command to mount the flash drive , it will force the TV to load the necessary
drivers to work with USB drives. Then, all we have to do is create a file on the SamyGO.sh flash drive , and write
the commands we need in it, for example: ls -al / mtd_rwarea / network_opt / - view the contents of the
directory. Do not forget at the top of all isponyaemyh file .sh insert line: # / bin directory / sh! .

In my case, the /mtd_rwarea/network_opt/usr/restore/start.sh file was corrupted , to restore it I had to view


the contents of this file: cat /mtd_rwarea/network_opt/usr/restore/start.sh >> $ USB_FLASH / echo.txt 2> &
1 - this command outputs the entire contents of the script to a file and saves it to the root of the flash drive.
Finding where exactly I had an error, I fixed the script, saved it in the root of the flash drive and copied it back to
/mtd_rwarea/network_opt/usr/restore/start.sh : / bin / cp $ USB_FLASH / start.sh / mtd_rwarea /
network_opt / usr / restore / >> $ USB_FLASH / echo.txt 2> & 1 .

Tags: bash ex-link hack hacking LE32C530 linux rs-232 samygo start.sh tv usb

← Upgrading TV Samsung LE32C530 F1W: Presets 10 reasons why you will quit your job in the near
future →

Add a comment
You must be logged in to post a comment .

TO FIND

Search…

https://100.org.ua/improving-tv-samsung-le32c530-f1w-restore-brick/ 15/18
5/30/2021 Modernization of TV Samsung LE32C530 F1W: restoring "BRICK" - 100.org.ua - programmer's blog

TAGS

access (3) apache (4) backup (3) bash (6) cache (3) centos (13) config (7)
configuring (7) design patterns (13) free (3) FreeBSD (19) git (3)
host (4) html (3) installing (6) Java (3) javascript (11) jessie (3) linux (12) log (3)

memory (3) mysql (7) nginx (6) OOP(15) php (6) pi (3) raspberry (4) raspbian (4) rpm

(3) script (6) sdcard (3) security (5) server(11) settings (3) soft (2) ssh (3 ) SSL (3) svn (3)
system (3) update (2) usb (5) user (3) web (5) OOP (12) Design Patterns (13)

May 2021

Mon W Wed Th Fri Sat Sun

one 2

3 four five 6 7 eight nine

10 eleven 12 13 fourteen fifteen sixteen

17 eighteen nineteen twenty 21 22 23

24 25 26 27 28 29 thirty

31

Apr

RECENT COMMENTS

Rurik on Installing and configuring nginx + php-fpm + MariaDB + phpmyadmin on CentOS 7


Raspberry PI - Boot from USB Flash Drive | 100.org.ua - programmer 's blog on Raspberry Pi - booting
from a USB flash drive (errors)
Raspberry Pi - Booting from USB Flash Drive (Errors) | 100.org.ua - programmer 's blog on Raspberry
PI - booting from a USB flash drive
Ivan Melnik on Amazon Web Service
ivankess on Amazon Web Service

https://100.org.ua/improving-tv-samsung-le32c530-f1w-restore-brick/ 16/18
5/30/2021 Modernization of TV Samsung LE32C530 F1W: restoring "BRICK" - 100.org.ua - programmer's blog

RECENT ENTRIES

We fasten a free SSL certificate for 3 years from WoSign to NGINX (A on ssllabs)
Raspberry Pi 2 - building AAC, MP3, H264 and FFMPEG on Raspbian (Jessie)
Raspberry Pi - USB storage optimization
Raspberry Pi - booting from USB stick (errors)
Raspberry PI - Boot from USB stick

ARCHIVES

April 2016
January 2016
December 2015
August 2015
July 2015
April 2015
March 2015
May 2014
January 2014
December 2013
November 2013
October 2013
May, 2013
April 2013
March 2013
February 2013
January 2013
October 2012
September 2012
August 2012
May 2012
April 2012
March 2012
February 2012
January 2012
December 2011

Copyright © 2021 100.org.ua - programmer's blog . All Rights Reserved.

https://100.org.ua/improving-tv-samsung-le32c530-f1w-restore-brick/ 17/18
5/30/2021 Modernization of TV Samsung LE32C530 F1W: restoring "BRICK" - 100.org.ua - programmer's blog

https://100.org.ua/improving-tv-samsung-le32c530-f1w-restore-brick/ 18/18

You might also like