Page 10 of 13

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

Posted: Tue Jul 03, 2018 8:22 pm
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 **

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

Posted: Wed Jul 04, 2018 9:02 am
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.

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

Posted: Wed Jul 04, 2018 4:33 pm
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.

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

Posted: Sat Jul 07, 2018 4:48 pm
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

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

Posted: Wed Jul 11, 2018 2:10 pm
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?

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

Posted: Wed Jul 11, 2018 2:29 pm
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".

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

Posted: Wed Jul 11, 2018 2:31 pm
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.

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

Posted: Tue Aug 28, 2018 10:15 pm
by Blaubaer2
It works perfectly on 55KU6075 with T-JZL6-1165.1 ! But there is no autostart.

Thanks @samygo

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

Posted: Mon Oct 15, 2018 2:48 pm
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`

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

Posted: Mon Oct 15, 2018 6:00 pm
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)