3vagos:
http://www.avsforum.com/avs-vb/showthre ... st17282061Échale un ojo, quizas por ahí haya una puerta a tu tele....
Aparte estoy mirando el proceso de instalación de los firmwares, y ejecuta lo que haya en el run.sh del lápiz....mira a ver si me puedes mostrar el run.sh de tu firmware (si lo hay)
#!/bin/sh
PROJECT_TAG=`cat /.info`
PARTITION_FLAG00=/mtd_rwarea/PartitionSwitch_0_0
PARTITION_VERSION_1ST=/mtd_rwarea/Version.0
WRITE_IMAGE()
{
if [ -e $2 ] ; then
echo "==================================="
echo "$1 erase & extract & download!!"
echo "==================================="
if [ $PROJECT_TAG = "T-CHL5DSEUC" -o $PROJECT_TAG = "T-CHL5DEUC" ]; then
$ROOT_DIR/ddcmp -d -i $2 -o $3
else
bml.restore $3 $2 2> /dev/null
fi
sync
echo "===============DONE================"
elif [ -e $2.enc ] ; then
echo "==================================="
echo "$1 erase & extract & download!![Enc]"
echo "==================================="
if [ $PROJECT_TAG = "T-CHL5DSEUC" -o $PROJECT_TAG = "T-CHL5DEUC" ]; then
$ROOT_DIR/ddcmp -e $PROJECT_TAG -i $2.enc -o $3
else
bml.restore $3 $2.enc 2> /dev/null
fi
sync
echo "===============DONE================"
fi
}
CHECK_IMAGE()
{
if [ -e $2 ] ; then
echo "==================================="
echo "$1 will be checked!!"
echo "==================================="
$ROOT_DIR/crc $2 $IMG_DIR/validinfo.txt
if [ $? != 0 ]; then
echo "===========$1 is invalid==========="
USB_invalid="true"
else
echo "==========$1 is valid ============="
USB_fileexist="true"
fi
echo "===============DONE================"
elif [ -e $2.enc ] ; then
echo "==================================="
echo "$1 will be checked!![enc]"
echo "==================================="
$ROOT_DIR/crc $2 $IMG_DIR/validinfo.txt $PROJECT_TAG
echo "===============DONE================"
if [ $? != 0 ]; then
echo "===========$1 is invalid==========="
USB_invalid="true"
else
echo "==========$1 is valid ============="
USB_fileexist="true"
fi
else
echo "==================================="
echo "$1 image is not provided"
echo "==================================="
Ya te contaré algo más...mafede, sigo mirando lo tuyo...
EDITO:
@3vagos:
¿que será esta clave? Algo tiene que ver con el cifrado....seguro
A435HX:d3e90afc-0f09-4054-9bac-350cc8dfc901-7cee72ea-15ae-45ce-b0f5-611c4f8d4a71
Por donde estaba esto, está también:
CSWUpgradeSecureCore->%s->line[%d]: Flash Write Error...A435HX:d3e90afc-0f09-4054-9bac-350cc8dfc901-7cee72ea-15ae-45ce-b0f5-611c4f8d4a71....CSWUpgradeSecureCore->%s->line[%d]: error in cipher final ret = %d..CSWUpgradeSecureCore->%s->line[%d]: error in cipher update..CSWUpgradeSecureCore->%s->line[%d]: unknown cipher = %s.....CSWUpgradeSecureCore->%s->line[%d]: unknown digest..CSWUpgradeSecureCore->%s->line[%d]: pass digest error...swupgrade_sec.../mtd_rwarea/secureSWU/..CSWUpgradeSecureCore->%s->line[%d]: %s Make file error = %d.....CSWUpgradeSecureCore->%s->line[%d]: %s file write error.....CSWUpgradeSecureCore->%s->line[%d]: %s file open error..CSWUpgradeSecureCore->%s->line[%d]: %s file read error..CSWUpgradeSecureCore->%s->line[%d]: memory allocation error.....CSWUpgradeSecureCore->%s->line[%d]: value = %d..CSWUpgradeSecureCore->%s->line[%d]: %s GetFileData error....CSWUpgradeSecureCore->%s->line[%d]: %s GetFileSize error....CSWUpgradeSecureCore->%s->line[%d]: Flash partition was not opened..CSWUpgradeSecureCore->%s->line[%d]: dummy_buffer new fail...CSWUpgradeSecureCore->%s->line[%d]: Flash partition was not Created.....CSWUpgradeSecureCore->%s->line[%d]: %s GetFileExist error.../mtd_rwarea/secureSWU/encLastblockData_temp.CSWUpgradeSecureCore->%s->line[%d]: unknown state = %c .....CSWUpgradeSecureCore->%s->line[%d]: name is NULL....CSWUpgradeSecureCore->%s->line[%d]: %s Make file error = %d.CSWUpgradeSecureCore->%s->line[%d]: secureSalt Byte read error..CSWUpgradeSecureCore->%s->line[%d]: secureSalt read success.....CSWUpgradeSecureCore->%s->line[%d]: get salt error..CSWUpgradeSecureCore->%s->line[%d]: SWUCipherGenerateKey false..CSWUpgradeSecureCore->%s->line[%d]: @@@ EVP_CipherInit false....CSWUpgradeSecureCore->%s->line[%d]: @@@ EVP_DigestInit false....CSWUpgradeSecureCore->%s->line[%d]: Unknown mode..../mtd_rwarea/secpub.key..CSWUpgradeSecureCore->%s->line[%d]: %s file open error = %d.....%s.%s.%s.%s.%s..CSWUpgradeSecureCore->%s->line[%d]: Error: Public Key file doesn't exists...CSWUpgradeSecureCore->%s->line[%d]: Error: problems while reading Public Key....CSWUpgradeSecureCore->%s->line[%d]: Flash partition was not opened..CSWUpgradeSecureCore->%s->line[%d]: secureSign Byte read error..CSWUpgradeSecureCore->%s->line[%d]: %s file in not exist....CSWUpgradeSecureCore->%s->line[%d]: Sign = %s ..CSWUpgradeSecureCore->%s->line[%d]: SWUCipherDsaInit false..CSWUpgradeSecureCore->%s->line[%d]: Manual Activation Sleep(10).CSWUpgradeSecureCore->%s->line[%d]: Standard Activation Sleep(1000).CSWUpgradeSecureCore->%s->line[%d]: operation canceled......CSWUpgradeSecureCore->%s->line[%d]: error readpubkey....CSWUpgradeSecureCore->%s->line[%d]: error malloc1...CSWUpgradeSecureCore->%s->line[%d]: error malloc2...CSWUpgradeSecureCore->%s->line[%d]: dgst_ds VERIFIED....CSWUpgradeSecureCore->%s->line[%d]: dgst_ds VERIFICATION ERROR..CSWUpgradeSecureCore->%s->line[%d]: SWUCipherDsaInitUSB false...CSWUpgradeSecureCore->%s->line[%d]: Check Salt false....CSWUpgradeSecureCore->%s->line[%d]: @@@ SWUCipher false.....CSWUpgradeSecureCore->%s->line[%d]: @@@ do_dsaVerify false..CSWUpgradeSecureCore->%s->line[%d]: @@@ otnCipher_generate_key false....CSWUpgradeSecureCore->%s->line[%d]: @@@ SWUDsaVerify false..CSWUpgradeSecureCore->%s->line[%d]: totalDecryptedSize = %d.....CSWUpgradeSecureCore->%s->line[%d]: %s GetFileDataValue error...CSWUpgradeSecureCore->%s->line[%d]: SecureDecrypt total size = %ld..CSWUpgradeSecureCore->%s->line[%d]: unCompressBufSize = %d..CSWUpgradeSecureCore->%s->line[%d]: encryptedLen = %ld..CSWUpgradeSecureCore->%s->line[%d]: Received partition new read_buffer error....CSWUpgradeSecureCore->%s->line[%d]: reacordCurrentReadOffset = %d...CSWUpgradeSecureCore->%s->line[%d]: saveCurrentReadOffset = %ld is not valid range .....CSWUpgradeSecureCore->%s->line[%d]: reacordWriteOffset = %d.....CSWUpgradeSecureCore->%s->line[%d]: saveCurrentWriteOffset = %ld is not valid range ....CSWUpgradeSecureCore->%s->line[%d]: reacordNextReadOffset = %d..CSWUpgradeSecureCore->%s->line[%d]: saveNextReadOffset = %ld is not valid range ....CSWUpgradeSecureCore->%s->line[%d]: reacordWriteNextOffset = %d.....CSWUpgradeSecureCore->%s->line[%d]: saveNextWriteOffset = %ld is not valid range ...CSWUpgradeSecureCore->%s->line[%d]: decryptedLen = %d...CSWUpgradeSecureCore->%s->line[%d]: %s ChangeState error....CSWUpgradeSecureCore->%s->line[%d]: This is first time..CSWUpgradeSecureCore->%s->line[%d]: Unknown dec state...CSWUpgradeSecureCore->%s->line[%d]: %s ChangeFileData error.....CSWUpgradeSecureCore->%s->line[%d]: flash read error....CSWUpgradeSecureCore->%s->line[%d]: SWUDecrypt error....CSWUpgradeSecureCore->%s->line[%d]: %s CreateFileData error.....CSWUpgradeSecureCore->%s->line[%d]: signlen Byte read error.....CSWUpgradeSecureCore->%s->line[%d]: GetSecureSignLength = %d....CSWUpgradeSecureCore->%s->line[%d]: filename is NULL....CSWUpgradeSecureCore->%s->line[%d]: create %s file error....CSWUpgradeSecureCore->%s->line[%d]: Flash read error : secure Sign length...CSWUpgradeSecureCore->%s->line[%d]: can not open SEC_SIGN_LEN_FILE......CSWUpgradeSecureCore->%s->line[%d]: can not write SEC_SIGN_LEN_FILE..try to write...CSWUpgradeSecureCore->%s->line[%d]: SEC_SIGN_LEN_FILE is successfuly wrote......CSWUpgradeSecureCore->%s->line[%d]: SWUCipherInit false.....CSWUpgradeSecureCore->%s->line[%d]: truncate %s file error..CSWUpgradeSecureCore->%s->line[%d]: file read error : secure file...CSWUpgradeSecureCore->%s->line[%d]: Salt Byte read error....CSWUpgradeSecureCore->%s->line[%d]: GetSecureSalt = %s..CSWUpgradeSecureCore->%s->line[%d]: can not open Salt file......CSWUpgradeSecureCore->%s->line[%d]: can not write Salt..try to write....CSWUpgradeSecureCore->%s->line[%d]: Salt is successfuly wrote.......CSWUpgradeSecureCore->%s->line[%d]: Flash read error : secure Salt..CSWUpgradeSecureCore->%s->line[%d]: Mbuf Byte read error....CSWUpgradeSecureCore->%s->line[%d]: GetSecureMbuf = %s..CSWUpgradeSecureCore->%s->line[%d]: can not open Mbuf file......CSWUpgradeSecureCore->%s->line[%d]: can not write Mbuf..try to write....CSWUpgradeSecureCore->%s->line[%d]: Mbuf is successfuly wrote.......CSWUpgradeSecureCore->%s->line[%d]: secureMbuf Byte read error..CSWUpgradeSecureCore->%s->line[%d]: Flash read error : secure Mbuf..CSWUpgradeSecureCore->%s->line[%d]: can not open SEC_MBUF_FILE......CSWUpgradeSecureCore->%s->line[%d]: can not write SEC_MBUF_FILE..try to write...CSWUpgradeSecureCore->%s->line[%d]: SEC_MBUF_FILE is successfuly wrote......CSWUpgradeSecureCore->%s->line[%d]: GetSecureSign = %s..CSWUpgradeSecureCore->%s->line[%d]: can not open SEC_SIGN_FILE......CSWUpgradeSecureCore->%s->line[%d]: can not write SEC_SIGN_FILE..try to write...CSWUpgradeSecureCore->%s->line[%d]: SEC_SIGN_FILE is successfuly wrote......CSWUpgradeSecureCore->%s->line[%d]: Flash read error : secure Sign../mtd_rwarea/secureSWU/secureSignLen............................./mtd_rwarea/secureSWU/secureSign................................/mtd_rwarea/secureSWU/secureSignLenOK.........................../mtd_rwarea/secureSWU/secureSignOK............................../mtd_rwarea/secureSWU/secureDecComplete........................./mtd_rwarea/secureSWU/secureClearDummyComplete................../mtd_rwarea/secureSWU/decryptSize.............................../mtd_rwarea/secureSWU/secureMbufOK............................../mtd_rwarea/secureSWU/secureMbuf................................/mtd_rwarea/secureSWU/secureSaltOK............................../mtd_rwarea/secureSWU/secureSalt................................/mtd_rwarea/secureSWU/readCurrentOffset........................./mtd_rwarea/secureSWU/readNextOffset............................/mtd_rwarea/secureSWU/writeCurrentOffset......................../mtd_rwarea/secureSWU/writeNextOffset.........................../mtd_rwarea/secureSWU/decData.................................../mtd_rwarea/secureSWU/decSize.................................../mtd_rwarea/secureSWU/decState................................../mtd_rwarea/secureSWU/encLastblockData..........................CheckSecureMagic....ChangeState.GetFileDataValue....ChangeFileData..CreateFileData..GetFileData.GetFileSize.ClearSecureInfoFiles....ED..ClearDummyData..ClearDummyData..SecureDecrypt...SecureDecrypt...GetSecureSalt...GetSecureSalt...GetSecureMbuf...GetSecureMbuf...GetSecureSign...GetSecureSign...GetSecureSignLength.GetSecureSignLength.SWUFlashWriteUSB....SWUFlashWrite...SWUDecryptUSB...SWUDecrypt..SWUDsaVerify....SWUDsaVerify....SWUDsaVerify....SWUReadpubkey...SWUCipherFinal..SWUCipher...SWUDummyCipher..SWUCipherDsaInitUSB.SWUCipherDsaInit....SWUCipherGenerateK