[Ended][ROOT] H "Skype" root (FW<=Dec.2014, all T-GFS)

Here are software that related with Samsung H series TVs.
Please don't create any new topic here unless you have software to post/release.
Locked

sectroyer
Official SamyGO Developer
Posts: 6305
Joined: Wed May 04, 2011 5:10 pm

Re: [!!!] Rooting H series

Post by sectroyer »

psobiech wrote:Hi there!
Why the root script does not backup the original Skype library?
If it would, it would be easy to "undo" the root procedure without any need of factory resets or smarthub region changes.

As far as i analyzed the rooting method, its basically replacing skype library with a stub that blindly executes runSamyGO.sh script using system call.
It should be possible to copy the orginal library to a different location
If you instead of nagging just checked your TV you would know it already HAS backup of the lib here:

Code: Select all

ls /mtd_rwcommon/emps/empSkype/libSkype.so 
psobiech wrote: and code our libSkype.so so that it would proxy all public methods to the orginal library using dlsym() AND execute the runSamyGO.sh when its at it. It would preserve orginal Skype functionality AND enable reverting root by replacing the modified file with the orginal.
No it would not work because beside functions TV also uses dlsym to get/set values of global variables in libSkype and we can't know when TV does something as simple as modifying a value at some address. For that you need a hypervisor ;)
I do NOT support "latest fw" at ALL. If you have one you should block updates on router and wait for it to STOP being "latest":)
If you want me to help you please paste FULL log(s) to "spoiler"/"code" bbcodes or provide link(s) to pasted file(s) on https://pastebin.com Otherwise "NO HELP"!!!
If you want root DISABLE internet access to your device!!!!
DO NOT EVER INSTALL FIRMWARE UPGRADE !!!!
psobiech
SamyGO Project Donor
Posts: 5
Joined: Fri Jan 02, 2015 7:31 am

Re: [!!!] Rooting H series

Post by psobiech »

sectroyer wrote: If you instead of nagging just checked your TV you would know it already HAS backup of the lib here:

Code: Select all

ls /mtd_rwcommon/emps/empSkype/libSkype.so 
Well i only analyzed the scripts and didnt see any copying being done before unzip (it seems i didnt dig deep enough or/and didnt know enough :) ) .. But I wanted to make sure that there actually is a backup _before_ rooting :P.
sectroyer wrote: No it would not work because beside functions TV also uses dlsym to get/set values of global variables in libSkype and we can't know when TV does something as simple as modifying a value at some address. For that you need a hypervisor ;)
Aww, thats a shame.. I expected thats something like this might be going on :cry:
UE55H6400 / T-MST14DEUC-2120.0 / T-MST14DEUS-1008
gaffel72
SamyGO Project Donor
Posts: 7
Joined: Thu Jan 01, 2015 12:23 pm

Re: [!!!] Rooting H series

Post by gaffel72 »

sectroyer wrote:
gaffel72 wrote:
Thank you for you support! Now it works!! :)
Hehe. Can you share with us what helped ? :)

To make a short recording on a usb drive.
Like you have described on page one in the instructions :-)
leikli
SamyGO Project Donor
Posts: 79
Joined: Mon Dec 29, 2014 11:41 pm

Re: [!!!] Rooting H series

Post by leikli »

I have tried to root a UE40H7005 without success so far. It is a non-MST. Firmware: T-GFSDEUC-1142.0, T-GOLDEUS3-1008. OTN and OTA are disabled of course.
I have attached a screenshot of the SamyGO installation screen. When I restart the TV, it starts up normally and nothing else happens. It does not respond to netcat or telnet. There is probably an issue with the Skype hack.

Does anyone have any idea about how I can make it work?
What can I do to debug it?
You do not have the required permissions to view the files attached to this post.
Model: UE40H7005 Firmware: T-GFSDEUC-1210.5 (previously T-GFSDEUC-1142.0)
neverstopdreaming
SamyGO Project Donor
Posts: 8
Joined: Sat Dec 06, 2014 3:25 pm

Re: [!!!] Rooting H series

Post by neverstopdreaming »

Root working on UE55H6500, T-MST14DEUC-2116.1
Thanks!
sectroyer
Official SamyGO Developer
Posts: 6305
Joined: Wed May 04, 2011 5:10 pm

Re: [!!!] Rooting H series

Post by sectroyer »

leikli wrote:
Does anyone have any idea about how I can make it work?
What can I do to debug it?
It looks a lot of users with NON-MST firmware have problems... Does Skype work?
I do NOT support "latest fw" at ALL. If you have one you should block updates on router and wait for it to STOP being "latest":)
If you want me to help you please paste FULL log(s) to "spoiler"/"code" bbcodes or provide link(s) to pasted file(s) on https://pastebin.com Otherwise "NO HELP"!!!
If you want root DISABLE internet access to your device!!!!
DO NOT EVER INSTALL FIRMWARE UPGRADE !!!!
User avatar
ryn0909
SamyGO Project Donor
Posts: 82
Joined: Thu Jan 01, 2015 9:22 am
Location: california, USA

Re: [!!!] Rooting H series

Post by ryn0909 »

hi my tv is a Samsung Model: UN46H6201AF-XZA Firmware: T-NT14MAKUC-1112.1 Im attempting to gain root access however my tv doesnt have skype on it. So what should i do? im totally new to this. i do have a usb flash drive formatted as FAT32. and have the Installsamygo-h and samygo folders with their content as well.
leikli
SamyGO Project Donor
Posts: 79
Joined: Mon Dec 29, 2014 11:41 pm

Re: [!!!] Rooting H series

Post by leikli »

sectroyer wrote:
leikli wrote:
Does anyone have any idea about how I can make it work?
What can I do to debug it?
It looks a lot of users with NON-MST firmware have problems... Does Skype work?
Yesterday, Skype seemed to work normally even after SamyGO installation, but today, its just says "Loading..."
I tried telnet again today and instead of no response, I got:
Trying 192.168.1.28...
Connected to smarttv (192.168.1.28).
Escape character is '^]'.
/bin/sh: can't access tty; job control turned off
$
When I type ls -al, I see a new strange filesystem. It looks like I am inside my TV. It obviously worked, at least partially, after all, but not the way it was described in the instructions. Even stranger, since I gave up yesterday, I removed the USB stick in order to look for any information on the stick. Maybe this was what was needed to make it work. However, I have not seen any reboots, as described in the instructions.

When I run ps, I see the following SamyGO-related processes:
1484 app 0:00 sh -c /bin/sh /mtd_rwcommon/moip/engines/Skype/runSamyGO.sh
1488 app 0:00 /bin/sh /mtd_rwcommon/moip/engines/Skype/runSamyGO.sh
1531 app 2:09 /dtv/bin/samygo_telnetd 3123
Should I reconnect the USB stick again?
Model: UE40H7005 Firmware: T-GFSDEUC-1210.5 (previously T-GFSDEUC-1142.0)
sectroyer
Official SamyGO Developer
Posts: 6305
Joined: Wed May 04, 2011 5:10 pm

Re: [!!!] Rooting H series

Post by sectroyer »

leikli wrote: Should I reconnect the USB stick again?
Of course!!!! :D It looks you are the first one to get root working on NON-MST :D Shutdown TV attach usb and power on TV :D On which port did you get telnet?
I do NOT support "latest fw" at ALL. If you have one you should block updates on router and wait for it to STOP being "latest":)
If you want me to help you please paste FULL log(s) to "spoiler"/"code" bbcodes or provide link(s) to pasted file(s) on https://pastebin.com Otherwise "NO HELP"!!!
If you want root DISABLE internet access to your device!!!!
DO NOT EVER INSTALL FIRMWARE UPGRADE !!!!
leikli
SamyGO Project Donor
Posts: 79
Joined: Mon Dec 29, 2014 11:41 pm

Re: [!!!] Rooting H series

Post by leikli »

sectroyer wrote:
leikli wrote: Should I reconnect the USB stick again?
Of course!!!! :D It looks you are the first one to get root working on NON-MST :D Shutdown TV attach usb and power on TV :D On which port did you get telnet?
I used port 3123 for telenet.

I reconnected the USB stick again. The TV became unstable and went through a number of reboots. I hope this is normal. It seems to have stabilised again now.

What should I look for now?
Model: UE40H7005 Firmware: T-GFSDEUC-1210.5 (previously T-GFSDEUC-1142.0)

Locked

Return to “[H] Software”