[ROOT] K ROOT on T-JZ* and T-HK* fws up to 1169

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

zoelechat
SamyGO Moderator
Posts: 8615
Joined: Fri Apr 12, 2013 7:32 pm
Location: France

Re: [ROOT] K ROOT on T-JZ* and T-HK* fws up to 1169

Post by zoelechat »

Fix for unreachable NTFS devices through Samba server:
- Stop smbserver script, if started
- Replace SYSROOT/sbin/smbd by attached one
- Restart smbserver script or reboot TV. Done.

Congrats sectroyer for finding the clue :)
Applies to J as well, will be included in next sysroot(s), if any.

** attachment removed, included in sysroot v1.4 **
I do NOT receive any PM. Please use forum.
mastero122
SamyGO Project Donor
Posts: 42
Joined: Mon Aug 22, 2016 11:16 pm

Re: [ROOT] K ROOT on T-JZ* and T-HK* fws up to 1169

Post by mastero122 »

zoelechat wrote: Thu Apr 19, 2018 4:55 pm Here's the idea, you put that as init (or wherever it can start once) script of your router, copy rccli given build to path of your choice, setup top variables, done.

Code: Select all

#!/bin/sh

TV_IP=192.168.1.7
RCCLI=/usr/local/bin/rccli

while : ; do
	if ping -c1 -q $TV_IP ; then
		if ! wget -q ftp://$TV_IP/tmp/ROOT -O /dev/null ; then
			$RCCLI $TV_IP -w blah0blah1.ROOTK
		fi
	fi
	sleep 15
done&
Surely could be improved but the principle is there :)
Thank you zoelechat for the script. Finally I had time to try it :) Working well for the first time- widget was going to be switched on after TV boot but when TV is later switched off and afterwards on then the script doesnt apply anymore. I found out it stuck somehow sending new rccli order in cycle. I will elaborate further. Probably put one more delay after execution of the rccli command.
jaroprofe
SamyGO Project Donor
Posts: 29
Joined: Mon May 15, 2017 10:59 am

Re: RE: Re: [ROOT] K ROOT on T-JZ* and T-HK* fws up to 1169

Post by jaroprofe »

zoelechat wrote:Fix for unreachable NTFS devices through Samba server:
- Stop smbserver script, if started
- Replace SYSROOT/sbin/smbd by attached one
- Restart smbserver script or reboot TV. Done.

Congrats sectroyer for finding the clue :)
Applies to J as well, will be included in next sysroot(s), if any.
Great new!!!
Good job.
It works perfect.
zoelechat
SamyGO Moderator
Posts: 8615
Joined: Fri Apr 12, 2013 7:32 pm
Location: France

Re: [ROOT] K ROOT on T-JZ* and T-HK* fws up to 1169

Post by zoelechat »

New sysroot posted.

Code: Select all

V1.4 - Added: sftp-server
     - Fixed: unreachable NTFS drives through smbserver
     - Improved stability: sgo_fs_exec, sgo_rcremap (should much help in preventing random crashes, especially on root startup)
     - Fixed: HKMFK potential smbclient/crypto fail due to non-inserted (built-in!) sha256_generic.ko module
I do NOT receive any PM. Please use forum.
setti
SamyGO Project Donor
Posts: 131
Joined: Sat Jan 07, 2012 11:32 am

Re: [ROOT] K ROOT on T-JZ* and T-HK* fws up to 1169

Post by setti »

After running widget i get the "jit spray" log message just for a short time and im back on live tv within seconds (even after first start, which should take much longer). Root does not work. Should i wait longer, while watching tv, or is there something wrong? Im on 1165.1 FW on KS7000.
On USB there are 2 new txt files created. child_log.txt and parent_log.txt. I've found sth. like "Failed to parse kernel" in one of them.

EDIT: Already tried multiple USB drives.

Whats the problem?
You do not have the required permissions to view the files attached to this post.
zoelechat
SamyGO Moderator
Posts: 8615
Joined: Fri Apr 12, 2013 7:32 pm
Location: France

Re: [ROOT] K ROOT on T-JZ* and T-HK* fws up to 1169

Post by zoelechat »

You should wait longer, as told in 1st post. "jit spray blah" is not supposed to remain during that time, it's even told you'll see it only "quickly".
I do NOT receive any PM. Please use forum.
setti
SamyGO Project Donor
Posts: 131
Joined: Sat Jan 07, 2012 11:32 am

Re: [ROOT] K ROOT on T-JZ* and T-HK* fws up to 1169

Post by setti »

nevermind: it took just longer on my tv and my tv auto switched off after 15 minutes on "live tv" without signal. I had to play with the remote to remain tv on. It works! Never been so happy about root shell!

Thanks @ samygo team.
Blaubaer2
SamyGO Project Donor
Posts: 10
Joined: Mon Sep 14, 2015 10:47 pm

Re: [ROOT] K ROOT on T-JZ* and T-HK* fws up to 1169

Post by Blaubaer2 »

It works perfectly on 55KU6075 with T-JZL6-1165.1 ! But there is no autostart.

Thanks @samygo
setti
SamyGO Project Donor
Posts: 131
Joined: Sat Jan 07, 2012 11:32 am

Re: [ROOT] K ROOT on T-JZ* and T-HK* fws up to 1169

Post by setti »

I would like to use different keymaps whether on TV mode or HDMI input mode. Can we extract tv source mode via commandline, so i can switch between source mode in my executed keymap script?

Thanks in advance.

EDIT: For now I'm grepping `tzcinfo live`
zoelechat
SamyGO Moderator
Posts: 8615
Joined: Fri Apr 12, 2013 7:32 pm
Location: France

Re: [ROOT] K ROOT on T-JZ* and T-HK* fws up to 1169

Post by zoelechat »

Sure.

Code: Select all

# vconfget memory/tvs/sourcetype
SOURCE_TYPE_TV
If you want to get it remotely, I had added this to latest sysroot. Basically launches command above from php:

Code: Select all

http://YOUR_TV_IP:1080/source.php
Retrieves which source TV is currently on (J sysroot>=5.1, K sysroot>=1.3)
I do NOT receive any PM. Please use forum.

Post Reply

Return to “[K] Software”