After few bricks of C series TV last week, i want to share some solutions (thanx gao_atc and solevi).
It is known, that console after TV brick is restricted for input 0-9 and A-F and it is almost worthless in case of brick (except if TV was hacked and executes scripts from USB).
Idea is tested and enabling full console works. Look at the log:
Code: Select all
20089999
====================================
      [ TOP Debug Menu]
------------------------------------
  1  : SubSystem Print On/Off
  2  : Platform Print Setting
  3  : TD Print Setting
  4  : Performance Print Setting
  5  : Sdal Print Setting
  6  : Sdal Trace Setting
  10 : Factory Debug
  11 : TD Debug
  12 : SubSystem DBG
  13 : SubSystem Info Print
  20 : Performance File Write
  21 : Louvre Print Setting
------------------------------------
  70 : Jade Debug
====================================
  99 : Exit
====================================
DBG> : 11
==============================
 [ TD Debug Menu ]
------------------------------
 0x01  : TDc Debug
 0x02  : TDi Debug
 0x03  : SDAL Debug
 0x04  : SPCScreen Debug
 0x05  : Sequence Test
 0x06  : Amp mute on/off
 0x07  : SdAVDec_Debug
 0x08  : SdMisc Debug
 0x09  : SdTSData_Debug
------------------------------
 0x20  : System Shell
 0x21  : Get SDAL version
 0x22  : Get Kernel driver version
------------------------------
 0x99  : Exit Debug
------------------------------
TD>: 0x20
SELP#>
SELP#>
SELP#>
SELP#>
SELP#>
SELP#>
SELP#>
SELP#>
SELP#> asdf
/bin/sh: asdf: not found
SELP#> ls -al
total 66052
drwxr-xr-x    8 root     0              466 Aug  9 11:54 .
drwxrwxrwx   24 root     0              458 Aug  9 11:03 ..
drwxr-xr-x    2 root     0              108 Aug  9 11:54 Comp_LIB
drwxr-xr-x    2 root     0              156 Aug  9 11:54 EDID
-r--r--r--    1 root     0                6 Aug  9 11:54 EXE_IMG_VER
-rwxr-xr-x    1 root     0          5059912 Aug  9 11:54 Factory_Part1.dat
-rwxr-xr-x    1 root     0           652372 Aug  9 11:54 Factory_Part2.dat
drwxr-xr-x    3 root     0               20 Aug  9 11:54 InfoLink
-r--r--r--    1 root     0             8547 Aug  9 11:54 LifeScenario
drwxr-xr-x    3 root     0              161 Aug  9 11:54 RUIC
-rwxr-xr-x    1 root     0               13 Aug  9 11:54 ReleaseInfo
-r--r--r--    1 root     0             9764 Aug  9 11:54 SpecialItemNumber.txt
drwxr-xr-x    2 root     0               69 Aug  9 11:54 WIFI_LIB
-r-xr-xr-x    1 root     0           204085 Aug  9 11:54 audioencoder.bin
-r-xr-xr-x    1 root     0          2179151 Aug  9 11:54 avdecoder.bin
-r-xr-xr-x    1 root     0           351044 Aug  9 11:54 database_SX1.TSE
-rwxr-xr-x    1 root     0         55180264 Aug  9 11:54 exeDSP
drwxr-xr-x    2 root     0              580 Aug  9 11:54 lib
-rwxr-xr-x    1 root     0           564648 Aug  9 11:54 libSDAL.so
-rwxr-xr-x    1 root     0          2943468 Aug  9 11:54 libTrident.so
-rwxr-xr-x    1 root     0           118172 Aug  9 11:54 libptp.so
-rwxr-xr-x    1 root     0            40772 Aug  9 11:54 libusb.so
-rwxr-xr-x    1 root     0            92813 Aug  9 11:54 libz.so
-rwxr-xr-x    1 root     0           212928 Aug  9 11:54 monolithic.ko
-rwxr-xr-x    1 root     0              230 Aug  9 11:54 otpcheck.sh
-r--r--r--    1 root     0             1651 Aug  9 11:54 partition.txt
-rw-r--r--    1 root     0             2257 Aug  9 11:54 prelink.cache
-r--r--r--    1 root     0              198 Aug  9 11:54 prelink.conf
-r-xr-xr-x    1 root     0              907 Aug  9 11:54 rc.local
-r--r--r--    1 root     0               92 Aug  9 11:54 rc.local.rfs
SELP#>Code: Select all
#!/bin/sh
/bin/cttyhack /bin/shCould anyone test this:
1. Place the script 333 to /mtd_rwarea/CIP
2. mount --bind it to right place:
Code: Select all
mount --bind /mntd_rwarea/CIP /etc/Scripts/CIPCode: Select all
333To enable full console permanently, it is needed to edit rootfs:
the file: /etc/inittab
before:
Code: Select all
#::respawn:/bin/cttyhack /bin/sh 
::respawn:/bin/cttyhack -/bin/shCode: Select all
::respawn:/bin/cttyhack /bin/sh 
#::respawn:/bin/cttyhack -/bin/sh This forum is NOT FOR DUMMY USERS questions or problems but DEVELOPER.
This forum is NOT FOR DUMMY USERS questions or problems but DEVELOPER.
