This rooting method should be applicable to all T-HK* firmwares up to 1480. No need to continue reading (nor ask!) if you've got 1490 or above.
T-NT14MJ* (non-Tizen-renamed-H) go there.
Be warned that required skill could be considered as quite high for common user, so please make an effort before asking stupid questions on every word of every single line of tutorial. Also don't forget Google is better friend than us
Preliminaries:
You must permanently block TV access to https://osb-apps.samsungqbe.com (in addition to usual fw update stuff, but that's another story...) for root widget not to be deleted on TV reboot, and therefore root lost. Note that blocking this URL will break installation of official apps, so you can temporarily unblock it (between 2 reboots) in case you want to install any.
Disable in TV main menu -> Smart Hub -> Auto update apps
Menu -> System -> General -> Samsung Instant ON, has to be disabled as well
Procedure:
1. The point is first to install rooting widget, for this several possibilities:
You have fw 1412 or lower, you can sideload app through USB. Download attached ROOT-J_widget.zip and copy extracted ROOT-J.wgt into "userwidget" folder you created on root of an USB drive you plug to TV. Widget should install automatically. (done? -> skip to 2.)
You know how to install and use Tizen Studio, installing widget shouldn't be a problem for you. (done? -> skip to 2.)
If you have fw greater than 1412 and don't know how to use Tizen Studio, we provide a Linux Virtual Machine image where Tizen Studio is installed and ready to use:
Download and extract attached SamyGO-J*.7z, you'll get single SamyGO-J.vdi file being VM image.
Download and install VirtualBox for your computer/platform.
Once installed, launch it, create "New", configure it as shown and click on "Create":
VBox_Conf.jpg
Open "Settings", go to "Network" tab and change "Attached to:" value to "Bridged Adapter" then OK.
VBox_Bridge.jpg
Click on "Start", and wait for VM to boot until it shows popup with instructions (can take several minutes):
VM_popup.jpg
Read and do carefully everything shown into information popup, and press OK. Wait then for Tizen Studio to load.
Once loaded, open Device Manager, "Scan" your network and "Connect" your TV. Then "Close":
SDK_connect.jpg
Right click on "ROOT-J" in left pane and "Run as" -> "Tizen Web Application". Widget will be installed on TV.
SDK_runas.jpg
You'll see some progress percentage at the bottom, when finished you can close VM and VirtualBox.
2. Widget now installed.
Go to TV main menu -> Smart Hub -> Auto Start -> Ticker and select "ROOT-J"
Power OFF TV.
Download and extract attached SamyGO_J_sysroot_*.7z to a fresh FAT or (better) exFAT formatted USB drive. As a result you should have "SamyGO" folder on root of USB. Note: In case you installed widget through USB sideload method, you MUST delete userwidget folder from drive.
Plug USB to TV, power ON then wait... WAIT... 1st start before root can be VERY long (up to 15min), will be much quicker on next starts. TV telling "Attempt #1.2.3.success" doesn't mean you have root yet, you MUST wait.
Some quick/top SamyGO banner on TV will tell you when root is started. If you don't want to constantly focus on TV while waiting, you still can check FTP/Telnet connection from time to time...
3. Root done!
Successful FTP or Telnet access to TV is enough to reliably confirm it.
Notes:
Of course root USB must remain permanently plugged to TV, since sysroot is on it.
In case of ANY issues such as "root already worked but not anymore", delete SamyGO.shm from USB root and try again. Also has to be mandatorily and especially done in case of firmware or TV (!) change. Note that its deletion implies again "up to 15min wait before root" as from scratch.
VM disk can be quite easily converted for use in VMware, but only open-source VirtualBox will be supported here.
Any Oscam related post/question will be deleted without prior notice. Here is root topic.
26/04/2022
v5.1b - Added downgrade.sh script for convenience
7/7/2018
V5.1 - 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: large amount of files issue in smb/nfs clients scripts, MUCH faster now (due to no feedback I left former scripts as .oldversion, just in case)
- Added: WebIF/source.php URL to remotely get current source from TV
2/2/2018
v5.0 - Service update to align on upcoming K sysroot
- Included root/ssh password change script (rootpwd.sh)
- Logging enhancements
- Added few bins (lscpu, tcping, jq...)
16/6/2017
v4.9 - Added tzantmode and tzcinfo features bins
- Now logging SamyGO startup to console (Exlink)
- Fixed init scripts exit codes for better handling
- Improved screenshot.sh (filenaming + notification)
- Numerous small fixes
4/5/2017
v4.8 - Fixed sparse remnant nohup.out file(s) left by reboot/poweroff
- screenshot.sh now captures video+UI
27/4/2017
v4.7 - Updated ffmpeg with srf decryption to latest
22/4/2017
v4.6 - Fixed large file support (>4GB) in drmdecrypt
19/4/2017
v4.5 - Fixed locale support
- Added custom hostname support
15/4/2017
v4.4 - First release
You do not have the required permissions to view the files attached to this post.
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 !!!!
Here will be description of built-in sysroot features/bins/scripts/startup scripts. Might be filled later in case I forget any, or if any added.
Reminder:
File operations have to be done by FTP to TV on port 21. Best is to use FileZilla where you need to set file transfer to binary mode.
For terminal access, commands can be sent by either SSH on port 22 or Telnet on port 23.
If you don't know what are FTP/Telnet/SSH, ask Google, not us.
SSH username is root, default password is SamyGO.
For text/script edition, strong advice is to use Notepad++ (never Windows Notepad!!), and always be sure linefeeds are set to UNIX (LF) mode.
What we're gonna call SYSROOT is path to SamyGO folder on your root USB, as absolute path: /opt/storage/usb/sd*/SamyGO
Features:
Recordings decryption
In wait for hypothetical PVRdecoder for J, some script is provided to do so. You have to create REC folder on root on any USB you plug to TV then type into terminal:
Used without args it will process decryption of all found recordings to REC folder. You can otherwise decrypt on-demand giving recording(s) name(s) (timestamps you find in CONTENTS folder) as arg(s). e.g:
By default, script is using tweaked ffmpeg for decryption, if ever it fails on some recording you can retry with -d switch (srf2ts.sh -d [RECS...]) to use drmdecrypt instead on these specific recordings. Should be slower but more reliable in such case. (fixed in sysroot 4.6, updated in 4.7)
In case you only want to generate keyfiles (to decrypt later offline on computer for example), you have to use tzpvrdmpkeys bin. Might require path to CONTENTS as arg.
You'll be given usage executing it without args, no need for further comment assuming you'll need it only if you know what it's meant to.
Send Remote Control keys
As we used to know on former series, samyGOrc bin is available to send keys from terminal. Beware that keycodes are not the same anymore! Launch without arg for usage.
Can switch to fixed antenna mode if single specified (e.g: sat), or cycle through colon separated ones. e.g: tzantmode sat:air will switch from sat to air (to sat). Optional:
-pip: Change antenna in PIP window (if active).
-no-ui: Won't show top notification on antenna change.
Channel / Source / Picture infos(Jsysroot>=4.9) tzcinfo shows more than necessary infos about current channel/program/resolution/etc.
Launch an app
You can launch an app from terminal using app_launcher tool, if you know its name, or its ID for a widget. For example to start web browser:
Tool can even take more args to open certain sub apps. Nothing that I can detail more since they're specific to each app and need reversing/investigation of them. Just as proof-of-concept, to open signal information popup:
app_launcher org.tizen.menu type signal-information
hostname and locale(J sysroot>=4.5)
By default, TV will get its hostname from your router DHCP/DNS. If undefined it will default to "localhost" (you'll notice it in Telnet/SSH prompts), in such case you can define your own by editing SYSROOT/etc/hostname.sample then remove .sample extension from file. Custom hostname will appear after reboot.
The same way, terminal locale will be get from currently set TV menu language. If you prefer custom one, edit SYSROOT/etc/locale.sample then remove .sample extension. New locale will be applied after reboot as well.
Startup scripts:
Reminder:
Startup scripts are to be found into SYSROOT/etc/init.d
To enable/disable a startup script, you have to append/remove .dis extension. e.g:
Retrieves which source TV is currently on (J sysroot>=5.1, K sysroot>=1.3)
20_smbserver.init
Samba server, allowing to browse TV contents from network.
By default TV will be discovered as SamsungTV in network neighbourhood, you can change that (NetBIOS) name into SYSROOT/etc/samba/smb.conf, as well as workgroup and other stuff if you know what to do.
Two shares are there by default: ROOT=/ and USB=/opt/storage/usb
Note: For whatever reason, obviously some security limitation of exotic driver used by TV, NTFS partition can't be browsed through Samba server, so in wait for hopeful fix prefer FAT32/exFAT/ext4 formats. FIXED: J sysroot>=5.1, K sysroot>=1.4
25_RCremap.init
Remote control keys remapping.
The principle is very simple: when a key is pressed on RC, module will check into SYSROOT/etc/keymaps if a script corresponding to key name is there. If so, script will be launched instead of original key function.
Script can be either single line samyGOrc command to "remap key to another" (check provided sample into SYSROOT/etc/keymaps to understand better), a simple lib injection, or more elaborated as you wish.
Key names list can be found into SYSROOT/usr/share/samyGOrc_KeyList.txt or from samyGOrc -l command.
Since as usual most keys don't have accurate name, once script is enabled and started, you can get real-time keypresses info from:
Here for example key name is KEY_INFO, so you'd just have to create SYSROOT/etc/keymaps/KEY_INFO script to remap it.
Users with Exlink can also retrieve log from console.
Any new or removed mapping require script to be restarted.
30_ChannelInfo.init
Also formerly known, enabling it will show channel info banner on channel change, using tzbanner bin.
90_nfsclient.init and 95_smbclient.init
Network shares. ONLY FIXED shares are supported, no auto-discovery.
You have to edit script(s) and setup ###### CHANGE ME !!! ####### section according to your network/shares info.
Shares must be under SERVER:Share (nfs) or SERVER/Share (smb) shape. Server IP or name is allowed. A subfolder of a share such as SERVER/Share/sub is NOT a share and is not allowed.
FIXED: J sysroot>=5.1, K sysroot>=1.3Show
VERY IMPORTANT: Do not try to mount shares containing too huge amount of files, TV is unable to handle them (same for true USB btw, not mount related), some database refresh is mandatory and looks to "overflow" at some point, resulting in "endless refresh".
A reasonable MAXIMUM total (=all shares sum) number of files would be no more than ~10000. Less is better. You're warned.
Shares are mounted to root of root USB (=SYSROOT/.. - no virtual USB there!), so that's where you need to seek with media player.
Note: In case you find your USB devices systematically empty into media player, try "killall media-server" command then refresh media player or reboot TV.
99_finish_crap.init
Some cleanup stuff, same as 01_catch_crap.init, better not touch, might evolve.
Phew
You do not have the required permissions to view the files attached to this post.
Now you can extract any lower firmware to USB, and go into software update menu If you don't know how to update fw by USB, check Samsung website, no such support here.
Midnight Commander
If you're regular Linux user you probably know/want/need mc, so here's ready to use version for your SamyGO sysroot.
Copy attached mc.zip to any place, let's say SYSROOT (do not unzip yet! Archive is relative to sysroot...)
Grafhkgb wrote: ↑Mon Apr 17, 2017 9:13 am
Great work!!!
What for a size must the USB Device have? 4gb, 8gb?
The one that works If not works change, if NOT works on ALL your usb devices go to store and buy more
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 !!!!
Sysroot itself is very light (<40MB once unpacked), but prefer the fastest possible USB. I mean: if you take a 64MB USB, it will mandatorily be not fast...
Besides you can put other stuff on root USB. Take a 32GB USB3.0 and put some core movies/photos on it for example
cant access to tv when i use putty to connect to tv. have tryed Telnet port 21 and ssh port 22. and have also problem tv when i use filezilla. cant connect to tv.
Fortunately I remind which ports are what, you're clearly showing that you didn't read carefully enough.
Can't connect to nothing means TV not rooted, simple as that.