[solved] Cycle reboot UE46C7700 - T-VALDEUC

This forum for information that related with C series hardware instead of firmware/software.

User avatar
juusso
SamyGO Moderator
Posts: 9623
Joined: Sun Mar 07, 2010 6:20 pm

Re: Cycle reboot UE46C7700 - T-VALDEUC

Post by juusso » Wed Jan 15, 2014 9:14 pm

hedak wrote:But there is not enough time to flash i suspect
you lose nothing

Code: Select all

stl.restore /dev/stl0/17 /mtd_swu/exe.img
sync
ps, chkhash i use on my old armv5 based NAS. Good news about filesize :)
p.p.s. FF are empty bytes and tool (the exeDSP as well) skips it for hash calculations. It is enough to reflash cutted binary (w/o ff`s) and that`s all.
LE40B653T5W,UE40D6750
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE

hedak
Posts: 81
Joined: Wed Jan 08, 2014 9:21 pm

Re: Cycle reboot UE46C7700 - T-VALDEUC

Post by hedak » Wed Jan 15, 2014 9:22 pm

ps, chckhash i use on my old armv5 based NAS. Good news about filesize :)
Ahh, i already read somewhere here :)
you lose nothing
Hmmm, ATM it's working somehow. But if flash/restore fails (broke up because of forced shutdown) and some exeDSP byte (for example) get crippled it's not working anymore! -> I will first try to calculate the correct hashes.

BTW, do you have a working toolchain for C series to build chkhash for me? That would really help a lot! Otherwise i cannot check the hashes on the tv and never be sure...

PS: to flash only the cutted binary of the dump means: 85,3MByte ;)

User avatar
juusso
SamyGO Moderator
Posts: 9623
Joined: Sun Mar 07, 2010 6:20 pm

Re: Cycle reboot UE46C7700 - T-VALDEUC

Post by juusso » Wed Jan 15, 2014 9:26 pm

no need to recompile, older arm versions are supported automatically by never ones!

Code: Select all

./chkhash -k 6f6bc7e1fc7f86bf9c150a82f343e2e0 -h 89485312 ./stl17.dmp 
You do not have the required permissions to view the files attached to this post.
LE40B653T5W,UE40D6750
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE

hedak
Posts: 81
Joined: Wed Jan 08, 2014 9:21 pm

Re: Cycle reboot UE46C7700 - T-VALDEUC

Post by hedak » Wed Jan 15, 2014 10:15 pm

Ohhh, thank you very much for the working chkhash! v0.02 didn't run :/

It seems as if chkhash doesn't ignore FF's (or i misunderstood you ;)):

Code: Select all

# /mtd_rwarea/chkhash -k 6f6bc7e1fc7f86bf9c150a82f343e2e0 -h 89485312 /mtd_rwcommon/stl17.dmp
Hash: 9471d1acb79458834655c4c382392cc6, length = 89485312
# /mtd_rwarea/chkhash -k 6f6bc7e1fc7f86bf9c150a82f343e2e0 -h 0 /mtd_rwcommon/stl17.dmp
Hash: 6d7d81d7b54bb38950274f1d27d854f1, length = 93323264
Then some strange length output(/dev/stl0/16 is exe.img from 1st partition, /18 from 2nd):

Code: Select all

# /mtd_rwarea/chkhash -k 6f6bc7e1fc7f86bf9c150a82f343e2e0 -h 0 /dev/stl0/16
Hash: 8887f9c275a1a5d22e70e2bba0327553, length = 58195968
# /mtd_rwarea/chkhash -k 6f6bc7e1fc7f86bf9c150a82f343e2e0 -h 0 /dev/stl0/18
Hash: befbb4f6ee76cc52aaee496f9bea2d53, length = 58195968
# /mtd_rwarea/chkhash -k 6f6bc7e1fc7f86bf9c150a82f343e2e0 -h 89485312 /dev/stl0/18
Wrong input data. Check if file /dev/stl0/18 exists and its size is less or equal to 89485312 bytes
But finally the hash for decrypted exe.img was correct:

Code: Select all

# /mtd_rwarea/chkhash -k 6f6bc7e1fc7f86bf9c150a82f343e2e0 -h 0 /mtd_rwcommon/exe17.img
Hash: 48f58bfa8050d88ea1757957dcf7ebc5, length = 89485312
So i can calculate the hash for my dumped modified partition :)

hedak
Posts: 81
Joined: Wed Jan 08, 2014 9:21 pm

Re: Cycle reboot UE46C7700 - T-VALDEUC

Post by hedak » Wed Jan 15, 2014 10:54 pm

OK, FINALLY IT WORKED! :D TV doesn't shutdown anymore! chkhash did the trick!

(i will check if all features are working again, on friday - as is still get '##### System Execution!!! #####' right after 'Application is started..')

Thank you so much! :)

PS: if everything is working fine again now, i will do some EEPROM research with you as promised :)

User avatar
juusso
SamyGO Moderator
Posts: 9623
Joined: Sun Mar 07, 2010 6:20 pm

Re: [solved] Cycle reboot UE46C7700 - T-VALDEUC

Post by juusso » Thu Jan 16, 2014 8:40 am

Congratts! Well, i was incorrect, FF are to be cutted off while calculating hash, but doesn`t matter when flashing. Anyway, everything worked, glad to know.
Sure i would like you chekced eeprom thing!

btw, if interested, full shell enabled kernel is ready for T-VALDEUC - no more input restrictions on exlink.
LE40B653T5W,UE40D6750
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE

User avatar
greenhorn
SamyGO Project Donor
Posts: 685
Joined: Wed Feb 15, 2012 3:05 pm
Location: Eastern Europe

Re: [solved] Cycle reboot UE46C7700 - T-VALDEUC

Post by greenhorn » Thu Jan 16, 2014 8:56 am

Great job guys. This one should go on wiki....
@juuso
Do FW upgrade affect full shell enabled kernel is ready for T-VALDEUC? I already had on FW 3005.1. Later I updated to 3009 and now 3011.
TV: UE40F7000 - T-FXPDEUC-1115.0 - SamyGO Extensions on F series
TV: UE55ES7000S - T-ECPDEUC-2003.4 - SamyGO tool Right from USB - no develop account is needed
TV: UE40C6710 - T-VALDEUC 3011 - Hacking TV over Hotel mode (C650 T-VALDEUC-3009.2)
BD-Player: BD-E6100 - B-FIRBPEWWC 1063.3 - rooted, no more Cin@vi@
NAS: CIFS: MAG250 NFS: Playon!HD

User avatar
juusso
SamyGO Moderator
Posts: 9623
Joined: Sun Mar 07, 2010 6:20 pm

Re: [solved] Cycle reboot UE46C7700 - T-VALDEUC

Post by juusso » Thu Jan 16, 2014 9:00 am

yes, fw upgrade change kernel.
LE40B653T5W,UE40D6750
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE

hedak
Posts: 81
Joined: Wed Jan 08, 2014 9:21 pm

Re: [solved] Cycle reboot UE46C7700 - T-VALDEUC

Post by hedak » Fri Jan 17, 2014 6:03 pm

After a one day break of celebrating my tv's resurrection i'm back :)

I attached a compiled chkhash (32 bit) for windows (compiled under win7x86 using mingw). I had to add 'O_BINARY' to open() calls (otherwise files were opened in textmode (thx windows) and reading the first 0x00 would fail the operation). It calculated all my hashes correctly :) If this upload harms any license regulations please remove it.

My next step is to repair the 1st partiton (just hash of exe.img). Then the kernel's input filtration follows (although this is interesing too: viewtopic.php?f=10&t=1818) ;)
Is there any interest of dumping cuurent fw of 1st partition: T-VALDEUC-1001.4

EDIT: updated attachment (added 'O_BINARY' flag to all open())
You do not have the required permissions to view the files attached to this post.
Last edited by hedak on Sat Jan 18, 2014 12:21 am, edited 2 times in total.

User avatar
juusso
SamyGO Moderator
Posts: 9623
Joined: Sun Mar 07, 2010 6:20 pm

Re: [solved] Cycle reboot UE46C7700 - T-VALDEUC

Post by juusso » Fri Jan 17, 2014 6:12 pm

1. Prepare one full working set of partitions and switch to (current ressurected 2nd partition)
2. Do whatever you like on 1st set of partittions (kernel/rootfs/exe...)

you will always able to switch to 2nd stable set if something go wrong. Don`t touch any of bml`s0-4... :)

p.s. no problem, thanks for chkhash32!
p.p.s
(although this is interesing too: viewtopic.php?f=10&t=1818) ;)
No, this is wrong way, you have to bml.restore patched kernel + correct i`ts hash in key partition like you did it for exe.img
correct approach here: viewtopic.php?f=10&t=2165
LE40B653T5W,UE40D6750
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE

Post Reply

Return to “[C] Hardware”