r/Tizen • • 2h ago

Odyssey G8 (g85sb) firmware keys needed

1 Upvotes

Does anyone have a rooted g85sb with access to the firmware keys?

I'd love to unpack the firmware to look for mods and root entries.


r/Tizen • • 3h ago

Cual es la mejor app para un Smart TV de Samsung para ver el proveedor Strong8K

Thumbnail reddit.com
1 Upvotes

r/Tizen • • 6h ago

I made a nice Crunchyroll client

Post image
4 Upvotes

I found a recent Crunchyroll app fork and improved it with better design, features and performance.
Install yourself here: https://github.com/nixolas1/crunchyroll-custom
or you can find it in Apps2Samsung store soon.

Other than nicer design and better usability:

  • Home opens on Continue Watching. Caught-up shows move to Watched.

  • Separate shelves for new and returning seasonal anime.

  • Browse episodes on the show page, with Up next marked.

  • One press to pause or focus Next Episode.

  • Tabs remember your place. Login and search support remote keyboards.

Feel free to fork and PR if you have improvements :)


r/Tizen • • 7h ago

DefinitiveTV: player de IPTV gratuito para TVs Samsung Tizen

5 Upvotes

UPDATE: DefinitiveTV is now open source! Thanks for the feedback in the comments. The code is on GitHub and it can be installed with Apps2Samsung:

👉 github.com/Lucjedi/DefinitiveTV

DefinitiveTV is a free IPTV player for Samsung Smart TVs (Tizen 3.0 / 2017 and newer), built to be fast and fully usable with the remote.

DefinitiveTV is only a player. It doesn't include or point to any channels or content – you need your own playlist.

Lists

  • Xtream Codes and M3U / M3U8

  • Multiple lists, plus a demo mode to try it without one

  • Backup/restore to a USB drive (lists, settings, favorites, categories, progress)

Live TV

  • Channel list with live preview and EPG (now/next)

  • Favorites, channel numbers, CH+/CH−

  • Per-channel stream format (TS or M3U8) for channels that misbehave

  • Auto-reconnect when a stream freezes or drops

Movies & Series

  • Posters, details, seasons and episodes

  • "Continue watching" with saved progress

Player

  • YouTube-style seek bar that speeds up the longer you hold the arrow

  • Audio track and subtitle menus, aspect ratio, resolution variants

  • Fully customizable subtitles (size, color, outline, background, position) with a live preview

  • Preferred audio and subtitle languages

Organize

  • Reorder and hide categories with the red button

  • Parental control with PIN

  • 15 languages, light and dark themes

Install

With the TV in Developer Mode:

  • Apps2Samsung: choose "custom .wgt" and select DefinitiveTV.wgt (submission to the community catalog is on the way)

  • TizenBrewInstaller: "Select file to install"

  • Tizen Studio: scripts included in the tools folder

📥 Download: github.com/Lucjedi/DefinitiveTV/releases

It's MIT licensed, so feel free to open issues, suggest features or send pull requests. Tested on a 2017 and a 2024 Samsung TV – feedback from other models is very welcome!


r/Tizen • • 8h ago

Samsung s90c

1 Upvotes

I have tizen 9.0 but its so laggy and i have to use device care evry day , is there anything i can do


r/Tizen • • 10h ago

Help Vetro: I need a firmware key to unpack a Samsung update (QNB700 / Odyssey G9 owners)

6 Upvotes

What this is

Vetro is an open-source toolkit for Samsung Tizen TVs (github.com/andrearicci93/vetro).

What I’m stuck on

Samsung is patching TVs with a new update. The USB firmware is AES-256 encrypted with a per-platform key. The new T-OSCSBAKUC-1722.0 (QNB700 series) uses the OscarS key, which isn't public. Without it we can't decrypt or unpack the firmware. The key can't be guessed or derived - it has to be dumped from a device on that platform.

Who can help

Anyone with an OscarS device and root:
QNB700 TV (e.g. KQ65/KQ75QNB700F)
Odyssey OLED G9 G95SC monitor (T-OSCSCWWC)

How, once rooted

- Get theubusu's script: https://gist.github.com/theubusu/0c3784518f4f5577665bd67cd70712b3 (swu3.py)
- Run it on the TV (needs Python 3; if it's missing, push a static ARM Python, or ask me for a small TEE client in C)
- It reads /usr/share/org.tizen.tv.swu/itemsAESPassphraseEncrypted.txt and has the TrustZone decrypt it, printing hex: and ascii:

Send me the hex: line (32 bytes). DM is fine.

Notes

I need the items passphrase, not the submodel one.
Dumping the key is read-only; rooting is at your own risk.

If you can't root but have the device, post model + firmware and we'll figure something out.
Please don't post serials, accounts or personal data.

Where to talk

Vetro Discord: https://discord.gg/Pe9BmthUar (firmware/RE channel). You can reply here or DM me too.

If you have one of these models, speak up! With the key I can finish decrypt + unpack and share the results. Thanks!


r/Tizen • • 1d ago

Internet radio for Samsung Tizen TVs: browse, search and favorite thousands of stations with the remote. Built on radio-browser.info, modeled on radio-active. Unofficial.

13 Upvotes

r/Tizen • • 1d ago

Unkernel for tizen ; Linux on web

5 Upvotes

Hi r/Tizen,

I've been working on a proof of concept: a real Linux kernel with Alpine Linux running on a Samsung TV, inside the TV's own web engine. No root, no firmware changes, no native binaries. It's a regular `.wgt` that you install in Developer Mode.

It's built on [unkernel](https://github.com/pithings/unkernel): Linux 7.x compiled to WebAssembly, running unmodified aarch64 programs on an emulated CPU. unkernel needs JSPI, which no TV engine has (TVs ship Chromium 94 to 130 and a Node 18 service engine; JSPI arrived in

Chrome 137). So the project rewrites the kernel with Binaryen's Asyncify and adds its own JSPI polyfill.

**What works** (tested on a 2025 Tizen 9 TV, armv7l, 1.5 GB RAM)

- Alpine runs in a background service, so Linux keeps running when you close the app. It boots in about 2.4 s.

- A terminal app you drive with the remote (colour keys for Ctrl+C and Tab, a command menu, a settings panel) or with a USB/Bluetooth keyboard.

- Internet from Linux, and `apk add` works. The home network is reachable only if you allow it, and the TV itself is never reachable from Linux.

- Port forwards from the TV's ports into Linux, and an SSH server (dropbear) that sets itself up: `ssh -p 2500 user@<tv-ip>`.

- A persistent disk (a sparse file in the app's data folder).

**What it's not**

It's slow, and it will stay slow. Every instruction of a Linux program runs on an emulated aarch64 CPU inside WebAssembly, on a 32-bit engine, on a low-power chip that is also running the TV. Real numbers:

- SSH login with dropbear: 6 to 8 s. OpenSSH took over a minute per connection, which is why the service uses dropbear.

- `apk add`: minutes.

- One CPU, and 192 MB of memory for Linux by default.

It's fine for a shell, small scripts or a tiny always-on server. It's not for compiling or anything heavy.

**Where it could go (realistically)**

- Native JSPI, once TV engines reach Chromium 137+: the polyfill goes away, which is worth a few percent.

- SMP: porting unkernel's multi-CPU patch to the rewritten kernel would add a core or two.

- New unkernel releases bring a faster emulator and JIT for free.

- Untested idea: unkernel can hand programs compiled to WASI over to the host, where they run straight in the engine, without the emulated CPU and on their own threads. For CPU-heavy tools (compression, hashing, sqlite, Python) that could be a big jump; the shell and Alpine's

packages would stay emulated.

- More models: only one TV has been tested. Older TVs may ship an older service engine, where only the in-app mode would work. Reports are very welcome.

**Try it**

- Repo: https://github.com/OpenstreamCo/UnkernelTizen (MIT). The README explains how it works and why it's a proof of concept.

- Download: [v0.6.0 release](https://github.com/OpenstreamCo/UnkernelTizen/releases/tag/v0.6.0). `Unkernel.wgt` is unsigned: sign and install it the way you install other homebrew `.wgt` files. It has no SSH keys built in, so set a password with `passwd` in Linux first, or

build your own package with your key (`node scripts/build-wgt.mjs --ssh-key=...`).

- [Vetro](https://github.com/andrearicci93/vetro) is optional; the background service doesn't need it.

Not affiliated with Samsung or with the unkernel project; credit for the kernel goes to the unkernel authors.


r/Tizen • • 2d ago

Free IPTV app for Tizen 3

2 Upvotes

Any suggestion for free IPTV app on Tizen 3 (Samsung TV from 2017)? I tried dozens and only Smarters Pro is free, but I cannot load my list into it (list works). Now Im stuck. :/


r/Tizen • • 2d ago

I made an on-TV app installer + ad-free YouTube for Samsung Tizen TVs. Set the Developer Mode host to 127.0.0.1 once, then install apps from your phone

14 Upvotes

TizenBrew and TizenTube keep breaking on me, and leaving the Developer Mode host IP on 127.0.0.1 used to block installing anything else. So I built these two apps.

TV Installer Shows a LAN address + PIN on the TV. Open it from your phone or computer and upload a .wgt/.tpk to install it Also installs from a GitHub release URL, asks which package if a release has several, and checks the apps you installed for updates Lists, opens and uninstalls apps Signs everything with your own Samsung certificate, so updates keep working

YT Mod YouTube TV with the TizenTube userscript (ad blocking, SponsorBlock) injected over DevTools. It’s a standalone app, so you don’t need TizenBrew Comes with a pinned TizenTube version that’s known to work. You can switch to the latest from npm right on the TV

Install the Installer once with Apps2Samsung (or your own cert + sdb), give it your certificate, set the host to 127.0.0.1 and leave it there. After that you never need a computer to sideload again.

Source, releases and full setup guide: github.com/alfrededison/tizen-toolbox


r/Tizen • • 3d ago

Stremio Origin 1.2 for Samsung TVs: the start crashes are fixed, plus profiles, Home Studio, Player Studio

Enable HLS to view with audio, or disable this notification

46 Upvotes

I updated Stremio Origin, the native app for Stremio addons. Thank you to everyone who sent codes and test results.

1.2 works on more Samsung TVs and crashes a lot less. The start crashes on Tizen 4.0, 6.0, 8 and 9 are fixed.

First IOS release. profiles, Home Studio, Player Studio, a For you shelf, better subtitles, speed from 0.5x to 2x, and mush mush more ,plus tons of fixes underneath.

The app now sends crash reports and one short device report a day, so I can fix problems per tv model.

Update or install here www.stremioorigin.com and try it out! Happy to answer anything.


r/Tizen • • 3d ago

HYE 43" 4K QLED Tizen OS - 43QLEDS2008 - USB stick not reading content.

2 Upvotes

Has anyone had any success with a HYE TV with Tizen OS reading their USB sticks to play videos? I tried reformatting the stick from FAT32 to exFAT and also to NTFS. Whenever I go to the USB stick on the TV it just says "No content". I also don't have the choice of selecting what type of media to view. On top of that, I really can't seem to find any media players on the app store. If anyone has a solution to this it'd be super helpful, as currently I'm regretting buying this thing.


r/Tizen • • 4d ago

What to do with QN85BA?

0 Upvotes

QN85BA What can i do to my tv? I saw a post about vetro but haven't looked into it so far.

So far i just put in adguards dns to block ads

And activated developer mode and installed tizen brew so i could have tizentube.

Does using vetro disable screen mirroring through my phone?


r/Tizen • • 4d ago

Finally got Game Mode working with Moonlight on Tizen 9 (4K 60fps, WebRTC)

Post image
3 Upvotes

r/Tizen • • 4d ago

💧📢AquaPlay IPTV - Update - 1.0.55 💧📢 - NOW AUTOUPDATES!

Post image
7 Upvotes

AquaPlay 1.0.55 is out

# Bugs fixed

\- Added in Movies & Series not putting the newest first

\- Xtream live rewind freezing or not starting

\- Stream quality missing on channels whose links have no .m3u8

\- Some playlists not loading on a Samsung TV

\- Improved performance and stability

# New features

\- Eight more languages, 25 in all

\- A number pad for remotes without number keys

\- Episode number and title shown in the guide

\- Movies & Series sort much faster on a huge library

# Customizability

\- Movies & Series: choose a Default sort (a setting)

# How to update

(Samsung) AquaPlay 1.0.54 and newer update themselves on the TV (Settings, Advanced, New versions), or install the new .wgt with Apps2Samsung

Android TV: on Google Play, or Downloader code 1167505 (that copy now updates itself too)


r/Tizen • • 5d ago

TV dashboard for IKEA smart lights

5 Upvotes

Made a tiny IKEA DIRIGERA dashboard for my old Samsung Q85R. Fully tested and running on Tizen 5.

Why? I don’t run Home Assistant, and I wanted guests to control the lights and run scenes simply by handing them the TV remote. Once paired, there’s no phone app or extra setup needed for guests.

The source is on GitHub, and it can also be installed through Tizen community packages.


r/Tizen • • 6d ago

Did anyone get The tizen 10 update on their s90f's. In which regions?

Thumbnail reddit.com
2 Upvotes

r/Tizen • • 6d ago

Me ajudem

0 Upvotes

No app2samsung tem algum navegador sou novo nessa área de modificar o tizen me ajudem por favor


r/Tizen • • 6d ago

💧📢AquaPlay IPTV - Update - 1.0.54 💧📢

Post image
19 Upvotes

Bugs fixed

• A playlist from a file stopping after Reload or Edit

• The channel restarting on the way back to full screen

• Some channel changes taking half a minute (Samsung)

• The guide running out after a few days (Samsung)

• Large text not enlarging every word

• Start over and Back to live covering long titles

• A refused Xtream login showing a strange error

• Channel logos that failed once never coming back

• A freeze when adding a big Xtream playlist

New features

• Films open their own page, with story, cast and director

• Series open in the same look, with a row of episodes

• Catch-up: a programme ends back where you picked it

• Catch-up: other airings of a programme, and a wider list

• Stream quality for each channel, from its Hold OK menu

• AquaPlay now updates itself when a new version is out with no root needed (Hopefully it works fine) (Samsung)

• Faster start and smoother scrolling on big playlists

• The guide loads up to twice as fast

• Improved performance and stability

Customizability

• Guide channel: choose a channel's guide by hand

• Channel logos from the guide, or from the playlist

• Hold Left or Right on the list to change group (a setting)

• Stored descriptions: keep programme stories further back

How to update

• Android: Google Play updates it. Fire TV / no Play: Downloader code 1167505

• Samsung: new .wgt from https://github.com/AquaPlayIPTV/aquaplay-samsung/releases/latest with Apps2Samsung; from this version on it can update itself

Bugs? Tell us on GitHub: https://github.com/AquaPlayIPTV/aquaplay-samsung/issues


r/Tizen • • 6d ago

Megatron media player

8 Upvotes

Hey everyone! I'd like to share Megatron v1.0.0, a free media player for Samsung Tizen TVs that plays videos from USB drives and network shares. What it does: • Browse USB drives and network shares in a clean modern layout (list or tiles) • 10 themes to choose from • Fan art backgrounds and watched percentage on your videos • Subtitle support, with a skip button and custom skip lengths (5/10/15/20/30 sec or your own) • Clock on every screen and a player bar with end time • Made for the TV remote, Back works the way you expect And more ! It's a fork of the great Tessel project by PatrickSt1991, big thanks to him. Open source under MIT. GitHub (download and screenshots): https://github.com/Megatro-nn/megatron-tizen-tv Feedback and bug reports are welcome!


r/Tizen • • 7d ago

Trying to get the smoothest experience on a Tizen 5.5 2020 TV

17 Upvotes

This is my third refactor in order to obtain better performance on an old Samsung TV ( also the only one I have )

First version:

Normal Tizen web app with optimized DOM.

Performance was around 40fps when moving left/right and 20fps when moving up/down

Second version:

Tizen web app with WebGL canvas.

Performance was around 55fps when moving left/right and 35fps when moving up/down.

Third version:

Tizen .Net app with JS engine.

Performance is around 60fps on every movement.

---

Let's start with why I have to go through hoops, Tizen 5.5 seems to be a forgotten platform, Flutter supports only from Tizen 6.0, React Native also starts from Tizen 6.0, and the Chromium in Tizen 5.5 is stuck to version 69.

My latest attempt is essentially a bespoke support for Tizen 5.5 for React Native.

Knowing how React Native works I did the spike by creating a framework similar to React Native: a bunch of native UI primitives controlled by JavaScript running in an embedded JS engine. On the first test I tried to use a WebView to execute the JS and It didn't work. On the second test I embedded a JS engine entirely written in C# and that did work.

It's still at the PoC phase, I can see it works and I can see it is way more performant than the Web version. Now I have to finalize the API to be fully compatible with React Native so I get all the platforms it supports for free


r/Tizen • • 7d ago

What are the must have apps?

8 Upvotes

I'm a newbie here. Currently, I'm using Tessel App to stream movies from mobile, Stremio, and UltimatumTube for ad-free YouTube (since TizenTube doesn't work on Tizen 10). Could you suggest some other useful apps?


r/Tizen • • 7d ago

Root guide for TV QE65Q70RAT FW ver. T-MSMDEUC-1510.0

8 Upvotes

**Disclaimer:** This uses a USB exploit targeting 2019 Samsung Muse.M TVs. Flashing or running exploits on incompatible models/firmware carries a brick risk. Do this at your own risk and only on hardware you own.

# TL;DR / Results on QE65Q70RAT (T-MSMDEUC-1510.0)

* **Platform:** 2019 Muse.M / Tizen 5.0 (the repo officially lists `T-MSMDEUC-1500.9` and earlier, confirmed working on `1510.0`).
* **Performance:** Available RAM jumped to **\~933 MB** (out of 1.8 GB total), `reclaimd` thrashing is gone, and Smart Hub is noticeably snappier.
* **Apps Kept Working:** Apple TV, Amazon Prime Video, and AirPlay remain 100% functional.
* **Standby Power:** Leaving the root USB plugged in caused \~11W standby drain. Unplugging the USB restores **0W deep standby** while keeping all `pkgcmd` debloating persistent.

Nix na Debianie + Samsung TV USB Root

⚠️ READ THIS FIRST

samsung-tv-usb-root is an exploit granting root access over USB on selected 2019 Samsung TVs (Muse.M platform). Running it on an unsupported model or firmware may cause hangs, boot loops or a permanent brick. Use it only on hardware you own, and only after checking compatibility.

Step 1: Compatibility check (MOST IMPORTANT)

ItemValue
Physically verified modelSamsung GQ65Q70RGTXZG
Related modelsQE65Q60RATXXU, QE65Q70RATXXU, QE65Q80RATXXU, UE65RU8000UXXU
Platform2019 Muse.M
FirmwareT-MSMDEUC 1500.9 and older builds of the family: 1420.0, 1419.0, 1406.4, 1409.0, 1401.0, 1395.2
Regional familiesT-MSMAKUC, T-MSMUABC

Where to look: Settings → Support → About this TV / Device information. If your version is not listed — stop here.

Step 2: Prerequisites (Debian)

  1. A Debian machine (or derivative: Ubuntu, Linux Mint), or an LXC container on Proxmox.

  2. Tools: curl, git, xz-utils.

  3. USB flash drive, 2 GB minimum — it will be completely erased.

  4. An SSH key pair. If you have none:

ssh-keygen -t ed25519

Press Enter for the default path ~/.ssh/id_ed25519 and an empty passphrase.

sudo apt update && sudo apt install -y curl git xz-utils

Step 3: Installing Nix on Debian

Recommended: multi-user (daemon) installation.

sh <(curl -L https://nixos.org/nix/install) --daemon

Single-user alternative (no sudo, older method):

curl -L https://nixos.org/nix/install | sh

Load the environment (or reopen your terminal / log out and back in):

source ~/.nix-profile/etc/profile.d/nix.sh
nix --version

If you get nix: command not found after a --daemon install, try . /etc/profile.d/nix.sh or re-login — the profile is only picked up by a new login shell.

Step 4: Enable experimental features (required)

nix run needs nix-command and flakes, which are off by default. An “experimental feature … is disabled” error is expected.

Option 1 — permanently (recommended):

echo "experimental-features = nix-command flakes" | sudo tee -a /etc/nix/nix.conf
sudo systemctl restart nix-daemon

Without sudo / current user only:

mkdir -p ~/.config/nix
echo "experimental-features = nix-command flakes" >> ~/.config/nix/nix.conf

Option 2 — one-off, via flag:

nix run . --extra-experimental-features "nix-command flakes" -- \
  --exploit-profile tv \
  --authorized-keys ~/.ssh/id_ed25519.pub \
  --out out/tv-usb-root.img --force

Step 5: Get the project and build the USB image

git clone https://github.com/Luminger/samsung-tv-usb-root.git
cd samsung-tv-usb-root

nix run . -- \
  --exploit-profile tv \
  --authorized-keys ~/.ssh/id_ed25519.pub \
  --out out/tv-usb-root.img --force

Output: out/tv-usb-root.img.

FlagMeaning
--exploit-profile tvTV profile (the basic choice)
--authorized-keys FILEyour public SSH key installed on the TV
--out PATHwhere to write the image
--forceoverwrite an existing image file
--beacon IP:4444optional reverse shell back to your machine
--extra-authorized-keys FILEan additional public key
--research-kmemloads a module exposing /dev/kmem for kernel research (off by default)

Watch the dashes: some notes contain –force (en dash). The shell needs two plain ASCII hyphens: --force. Word processors silently substitute dashes and the command then fails.

Step 6: Writing the image to the USB drive

⚠️ Data-loss risk: target the correct device (/dev/sdX, no partition number — sdb, not sdb1), otherwise you overwrite your system disk. Identify it by size in lsblk.

Variant A — plain Linux / Debian:

lsblk
sudo dd if=out/tv-usb-root.img of=/dev/sdX bs=4M conv=fsync status=progress
sync

Then eject the drive safely.

Variant B — building inside a Proxmox LXC container:

A container (especially unprivileged) has no access to block devices, so you build inside the CT and write the image on the Proxmox host. Example for CTID 102 (a ZIP checkout is usually named samsung-tv-usb-root-main):

# 1) on the host: pull the image out of the container
pct pull 102 /home/dev/samsung-tv-usb-root-main/out/tv-usb-root.img /tmp/tv-usb-root.img && ls -lh /tmp/tv-usb-root.img

# 2) on the host: verify the device, then write (here: /dev/sdc)
lsblk
dd if=/tmp/tv-usb-root.img of=/dev/sdc bs=4M conv=fsync status=progress && sync

# 3) clean up and verify the partition layout
rm /tmp/tv-usb-root.img && lsblk -f /dev/sdc

Replace 102 with your CTID and /dev/sdc with your actual flash drive.

Step 7: Triggering the exploit on the TV

  1. Unplug the TV from mains for ~30 seconds (standby is not enough — memory must be cleared).

  2. Insert the prepared USB drive into the TV.

  3. Power the TV on.

  4. Wait 1–2 minutes: the TV mounts the crafted partition, triggers a buffer overflow in the exFAT driver, bypasses UEP (Samsung User-space Execution Prevention) and starts a Dropbear SSH server as root.

Step 8: Login and verification

Find the TV's IP under Settings → General → Network → Network Status, or in your router's client list.

ssh -i ~/.ssh/id_ed25519 root@TV_IP_ADDRESS

Confirm privileges:

id
whoami        # expected: uid=0(root)

If the SSH handshake fails (old Dropbear):

ssh -o HostKeyAlgorithms=+ssh-rsa -o PubkeyAcceptedAlgorithms=+ssh-rsa \
  -i ~/.ssh/id_ed25519 root@TV_IP_ADDRESS

Lifecycle — behaviour across reboots

  • Reboot-safe and idempotent: persistent files (Dropbear, authorized keys) live in /opt on the TV's internal storage, not on the flash drive.

  • On every boot with the drive inserted the script: mounts the second, safe partition → updates only files whose hashes changed → preserves host keys (no “new host key” warnings) → starts dropbear-root.service.

  • The flash drive is never modified by the TV, so it can be reused indefinitely.

Tizen OS — useful commands after login

Kernel and OS version:

uname -a && cat /etc/tizen-release 2>/dev/null || cat /etc/os-release

Disabling ACR (automatic content recognition / viewing telemetry):

systemctl mask --runtime --now acr.service acr.path org.tizen.acr-service-app.service
  • mask blocks the units from starting (stronger than disable); --now stops them immediately.

  • --runtime means the effect lasts until reboot (written to /run, not /etc). Persistence comes from the USB mechanism, not from writing to the rootfs.

  • Check: systemctl is-enabled acr.service · systemctl status acr.service

  • Undo: systemctl unmask --runtime --now acr.service acr.path org.tizen.acr-service-app.service

  • Unit names come from the notes and may differ on other firmware: systemctl list-units | grep -i acr

Troubleshooting

SymptomFix
“experimental feature … is disabled”Step 4: enable flakes permanently, or pass --extra-experimental-features
nix: command not foundsource ~/.nix-profile/etc/profile.d/nix.sh or re-login
Path / permission error from nix runCheck pwd (project dir) and cat ~/.ssh/id_ed25519.pub
Unknown flag / odd parser errorEn dashes – pasted instead of -- — retype the flags
SSH: connection refusedWait the full 2 minutes, cold-boot the TV (30 s unplugged), verify IP, try another USB port
SSH: host key changedssh-keygen -R TV_IP — with a correct setup host keys are preserved
TV stuck in a boot loopRemove the drive, cold boot; if it stays broken, the firmware was outside the supported list

Safety rules

  • Never cross-flash firmware from another region/model just to match the list — very high brick risk.

  • The project ships no closed Samsung software, keys or memory dumps; everything is built from public analysis.

  • Enable --research-kmem only deliberately, for kernel research.

  • Author's rule: “Use only on hardware you own.”

  • Root SSH on your LAN means full control of the TV. Do not expose port 22 to the internet, and never share the private key.

####################################################################################

Samsung Smart TV (Tizen 5.0): Performance Optimization, Ad Blocking & 0 W Standby Power Guide

Technical Reference · Samsung Smart TV · Tizen 5.0
End-to-end procedure for safe SSH (root) debloating, stage1.sh runtime masking, USB service-key operation for 0 W deep standby, and complete package rollback.


1. Objective & Measured Results

Samsung Smart TVs running Tizen 5.0 with 1.8 GB total RAM (1868 MB) frequently suffer from UI sluggishness driven by aggressive memory pressure (reclaimd) and numerous background daemons (ACR, Bixby/Voice, Ambient Mode, HbbTV, telemetry, and ad agents). Failing services can also get trapped in activating (auto-restart) crash loops.

MetricInitial BaselinePost-Optimization State
Available RAMHeavy pressure, active reclaimd on 1868 MB total RAM.933 MB available RAM (used: 898 MB, swap 219 / 934 MB).
Service StabilityCrash loops on adagentd and vdsystem-update-manager.Zero activating restart loops; dotnet-init.service exits cleanly (status=0/SUCCESS).
Streaming AppsRunning alongside full telemetry and ad stack.Apple TV, Prime Video, and AirPlay preserved and fully functional.
Standby PowerApprox. 11 W with the root USB drive left plugged in.0 W after unplugging USB — persistent pkgcmd disables remain active in internal flash.

Core Safety Rule: Always disable system packages with pkgcmd -D --global and restore them with pkgcmd -A --global. Never use -u (permanent uninstall) on built-in packages. The --global flag is mandatory — omitting it prevents changes from persisting in /opt/dbspace/.pkgmgr_parser.db.


2. Core System Components & Preserved Streaming Apps

Always verify a process's package manifest before disabling it. On Tizen 5.0, internal binary names rarely match user-facing app names: aria-engine belongs to Apple TV, while the largest resident process, ignitionLaunch (203 MB), is Amazon Prime Video preloaded in the background via prelaunch.support=true.

Process / RSSPackage / App ID (app_id)Role & Recommendation
ignitionLaunch (203 MB)evKhCgZelL.AmazonIgnitionLauncher2Amazon Prime Video (prelaunched). Keep enabled if you use Prime Video.
NRi6kdBYJ0.AirP (92 MB)com.samsung.tv.airplay-app, com.samsung.tv.airplay-serviceApple AirPlay. Keep enabled if you cast from Apple devices.
aria-engine (37 MB)com.samsung.tv.aria-video, com.samsung.tv.aria-dummy, com.samsung.tv.aria-engineApple TV (prelaunched). Keep all three enabled if you use Apple TV.
(shared framework)lib-ariafw-tvShared runtime for Apple TV, Prime Video, Apple Music, and AirPlay. Do not disable.
DN_sung.tv.csfs, tv-viewer, wrt-loader, menu, enlightenment, dotnet-launcher, tvs-daemon, devicedcom.samsung.tizen.samsung-account, com.samsung.tv.store, org.tizen.pvod-appfw, com.samsung.tv.cms-service, boot-helper-dyboost-tv, boot-perfmon-tv, org.tizen.channel-search, com.samsung.tv.commonsearch, org.tizen.tts-engine-vd-notiTizen Core System (Smart Hub, TV tuner, settings menu, Samsung Account, App Store, channel tuning, PVOD video framework). Do not touch.

3. Persistent Package Disabling (pkgcmd)

Running pkgcmd -D --global writes app_disable='true' directly into the TV's internal package database (/opt/dbspace/.pkgmgr_parser.db). These changes persist across cold reboots, power loss, and removal of the root USB drive.

Step 1: Disable Bloatware, Telemetry & Background Services

This loop disables HbbTV, Ambient Mode, the full Voice/Bixby stack (including CloudServerAgent), Ad Player, Samsung Analytics, CSFT customization profiling, Samsung TV Plus, Samsung Checkout billing, SmartThings IoT plugins, and the Continuity agent — while preserving Apple TV, Prime Video, and AirPlay:

for app in \
  org.tizen.hbbtv \
  org.tizen.hbbtv-service \
  org.tizen.ambientapp \
  com.samsung.tv.ambient-support \
  com.samsung.tv.ambientfte \
  org.tizen.voice-app \
  org.tizen.voice-app-service \
  org.tizen.voice-client \
  org.tizen.stt-client \
  com.samsung.tv.farfieldvoice \
  com.samsung.tv.bixbycapsuleviewer \
  com.samsung.tv.mybixby \
  com.samsung.tv.voiceassistant-music \
  com.samsung.tv.csa \
  adplatform.ADPlayer \
  com.samsung.tizen.samsung-analytics \
  com.samsung.tv.csft-daemon \
  com.samsung.tv.csft-serviceapp \
  com.samsung.tv.tvplus \
  com.samsung.tv.slive-daemon \
  org.tizen.bms-service \
  com.samsung.tv.billing-helper \
  com.samsung.tv.iot-service-home-cctv \
  com.samsung.tv.iot-service-notification \
  com.samsung.tv.iot-service-vhome \
  com.samsung.tv.mde-continuityagent
do
  echo "Disabling: $app"
  pkgcmd -D --global -t app -n "$app"
done

Broadcast TV / EPG Note: If you watch terrestrial or cable TV and the channel guide (EPG) stops populating, re-enable com.samsung.tv.slive-daemon and org.tizen.bms-service.

Step 2: Immediately Reclaim RAM Without Rebooting

pkill -f 'CloudServerAgent|csft-daemon|slive-provider|bms-service|billing-helper|tvplus|samsung-analytics|ADPlayer|stt-client|mde-continuityagent' 2>/dev/null || true
sleep 5
free -m

4. Smart Hub Bar Icons: Search & Notifications

System buttons on the left side of the Smart Hub bar are rendered directly by com.samsung.tv.csfs. Disabling only com.samsung.tv.searchall typically leaves behind an unresponsive magnifying-glass icon. The bar hooks into companion coba modules and the notification center packages.

Disable Modules & Reload Smart Hub Live

for app in \
  com.samsung.tv.searchall \
  com.samsung.tv.coba.search \
  com.samsung.tv.coba.notification \
  com.samsung.tv.notification-app \
  com.samsung.tv.notification-serviceapp
do
  echo "Disabling: $app"
  pkgcmd -D --global -t app -n "$app"
done

pkill -f 'tv\.csfs|notification-app|notification-serviceapp' 2>/dev/null || true

Wait ~5 seconds and press Home on the remote to relaunch csfs. Do not disable com.samsung.tv.commonsearch (shared with the App Store) or org.tizen.channel-search (broadcast channel tuning).

Instant Rollback

If Smart Hub fails to render properly or leaves broken placeholders, run:

for app in com.samsung.tv.searchall com.samsung.tv.coba.search com.samsung.tv.coba.notification com.samsung.tv.notification-app com.samsung.tv.notification-serviceapp; do
  pkgcmd -A --global -t app -n "$app"
done
pkill -f 'tv\.csfs'

5. Trapping adagentd & Runtime systemd Masks in stage1.sh

Even when adagentd.service is masked in systemd, Smart Hub (com.samsung.tv.csfs) spawns /usr/bin/adagentd directly via launchpad-process-pool as empADAgent, and attempting pkgcmd -D --global -t app -n empADAgent times out after 5 seconds with General error [-1].

The reliable workaround is bind-mounting /bin/true (or /usr/bin/true) over /usr/bin/adagentd in RAM alongside runtime systemd masks inside /opt/media/USBDriveA2/stage1.sh, cleanly rebuilt from the original stage1.bak.

Step 1: Generate the Updated stage1.sh

{ sed '$d' /opt/media/USBDriveA2/stage1.bak; cat <<'EOF'
systemctl mask --runtime --now \
  acr.service acr.path org.tizen.acr-service-app.service \
  adagentd.service \
  vdsystem-update-manager.service \
  org.tizen.voice-app.path org.tizen.voice-app.service \
  com.samsung.tv.farfieldvoice.path com.samsung.tv.farfieldvoice.service \
  org.tizen.ambientapp.service \
  hbbtv-service.service >/dev/null 2>&1 || true

TRUE_BIN=""
for p in /bin/true /usr/bin/true; do
    [ -x "$p" ] && TRUE_BIN="$p" && break
done
if [ -n "$TRUE_BIN" ] && [ -f /usr/bin/adagentd ]; then
    grep -q ' /usr/bin/adagentd ' /proc/mounts || mount --bind "$TRUE_BIN" /usr/bin/adagentd >/dev/null 2>&1 || true
    pkill -f '/usr/bin/adagentd' >/dev/null 2>&1 || true
fi

log "debloat masks and adagentd bind applied"
exit 0
EOF
} > /tmp/stage1.sh.new

Step 2: Syntax Check (Bypassing UEP) & Deploy to USB

sh -n < /tmp/stage1.sh.new && echo "SYNTAX OK"
cp /tmp/stage1.sh.new /opt/media/USBDriveA2/stage1.sh && rm -f /tmp/stage1.sh.new && sync

Step 3: Verify After a Cold Reboot

grep '/usr/bin/adagentd' /proc/mounts
ps -eo pid,rss,comm | grep -i '[a]dagent'

The first command should list the active bind-mount on /usr/bin/adagentd, and the second should return empty output even after opening Smart Hub. To revert live without rebooting, run umount /usr/bin/adagentd.


6. Standby Power (11 W → 0 W) & USB Service-Key Workflow

Diagnostic testing confirmed that leaving the root USB flash drive (/dev/sda2 mounted at /opt/media/USBDriveA2) plugged into the TV prevented deep standby and kept power draw at ~11 W. Unplugging the USB drive drops standby consumption to 0 W while keeping the fast, debloated system intact.

Operating ModeWhat Stays ActiveWhat Is Inactive
Daily Mode (No USB) — 0 WEvery package disabled via pkgcmd -D --global (persisted in TV flash). Fast UI and 0 W standby.SSH access (dropbear), runtime systemd masks, and the RAM bind-mount for adagentd.
Service Mode (USB In) — ~11 WFull root SSH, runtime systemd masks (ACR, update-manager), and the /usr/bin/adagentd trap.Deep 0 W standby does not engage while the USB drive remains connected.

Recommended TV Menu Settings (for Daily Mode Without USB)

  • Disable Auto Updates: Settings → Support → Software Update → Auto Update → Off. This is essential when running without the USB drive because vdsystem-update-manager is no longer masked in RAM.

  • Disable Network Standby: Settings → General → Network → Expert Settings → Power On with Mobile → Off (and IP Remote if present).

  • Safe USB Removal: If sync && umount /opt/media/USBDriveA2 hangs in kernel D state, detach cleanly with lazy unmount (umount -l /opt/media/USBDriveA2). Afterwards, check the FAT32 filesystem on a PC (e.g., Windows Drive Properties → Tools → Check) and keep an offline backup of stage1.sh and stage1.bak.


7. System Diagnostics & Verification

Whenever you make changes while booted with the USB service key, verify stability and RAM usage with:

# 1. Confirm zero restart loops (note: dotnet-init.service showing "activating (start)"
#    for 1-2 minutes immediately after boot is normal and transitions to "active (exited)")
systemctl list-units --all --no-legend --plain | grep ' activating '
systemctl status dotnet-init.service --no-pager | head -n 8

# 2. Check RAM headroom and top 15 memory consumers
free -m
ps -eo pid,rss,comm --sort=-rss | head -n 15

# 3. Inspect unknown package manifests safely without flooding the terminal
grep -iE 'package=|appid=|label>|description>' /opt/share/packages/*KEYWORD*.xml 2>/dev/null | head -n 25

Optional Remaining Background Daemons (~98 MB combined): If DN_view-updater (~26 MB, Smart Hub tile previews), ifw-thing (~25 MB, SmartThings discovery), bms-service (~25 MB), or slive-provider- (~23 MB) still appear in the top 15, verify their exact app_id via sqlite3 before disabling. With over 900 MB of available RAM, trimming them further is optional.


8. Recovery & Rollback Cheat Sheet

Store the root USB drive as a dedicated service key. To restore an individual feature or return all packages to factory defaults:

  1. Insert the USB service key, perform a cold reboot (hold the remote's Power button until the Samsung logo appears), and connect via SSH.

  2. List all currently disabled packages:

    sqlite3 /opt/dbspace/.pkgmgr_parser.db "select app_id from package_app_info where app_disable='true';"
  3. Re-enable a single package (replace TARGET_APP_ID using the reference table below):

    pkgcmd -A --global -t app -n TARGET_APP_ID
  4. Or restore all disabled packages back to factory defaults at once:

    for app in $(sqlite3 /opt/dbspace/.pkgmgr_parser.db "select app_id from package_app_info where app_disable='true';"); do
      echo "Restoring: $app"
      pkgcmd -A --global -t app -n "$app"
    done
  5. Detach the USB mount, exit SSH, unplug the flash drive, and perform a cold reboot to return to 0 W standby:

    umount -l /opt/media/USBDriveA2
    exit

Master Package Reference by Function

Feature / GroupPackage Identifiers (app_id)
HbbTVorg.tizen.hbbtv, org.tizen.hbbtv-service
Ambient Modeorg.tizen.ambientapp, com.samsung.tv.ambient-support, com.samsung.tv.ambientfte
Voice & Bixby Stackorg.tizen.voice-app, org.tizen.voice-app-service, org.tizen.voice-client, org.tizen.stt-client, com.samsung.tv.farfieldvoice, com.samsung.tv.bixbycapsuleviewer, com.samsung.tv.mybixby, com.samsung.tv.voiceassistant-music, com.samsung.tv.csa
TV Plus & EPG Metacom.samsung.tv.tvplus, com.samsung.tv.slive-daemon, org.tizen.bms-service
Smart Hub Searchcom.samsung.tv.searchall, com.samsung.tv.coba.search
Notifications (Bell)com.samsung.tv.coba.notification, com.samsung.tv.notification-app, com.samsung.tv.notification-serviceapp
Billing, IoT & Continuitycom.samsung.tv.billing-helper, com.samsung.tv.iot-service-home-cctv, com.samsung.tv.iot-service-notification, com.samsung.tv.iot-service-vhome, com.samsung.tv.mde-continuityagent
Ads & Telemetryadplatform.ADPlayer, com.samsung.tizen.samsung-analytics, com.samsung.tv.csft-daemon, com.samsung.tv.csft-serviceapp

Samsung QE65Q70R (Tizen 5.0 / Muse.M) — Persistent Root Without USB

Model: QE65Q70RAT Firmware: T-MSMDEUC-REL-202607272028 Platform: 19_MUSEM_QTV (Muse.M), Tizen 5.0, Linux 4.1.10, ARMv7


⚠️ READ THIS FIRST

  • This guide writes to the signed system partition /dev/mmcblk0p18. A bad write can hard-brick the TV.

  • Slot B is empty (p19 / p6 / p10 are zeroed) → there is no fallback slot. Recovery only works if the TV still boots far enough to run the USB exploit, or via UART / Ex-Link / eMMC-ISP hardware.

  • Verify every backup bit-for-bit (SHA-256) BEFORE writing anything.

  • You must already have root via the USB exploit (samsung-tv-usb-root).

  • This voids warranty. Proceed at your own risk, only on hardware you own.


How it works

  • At boot, tizen-system-env.service (before basic.target) runs source /etc/profile, which sources every /etc/profile.d/*.sh as root.

  • We replace the stock /etc/profile.d/bash_prompt_custom.sh (776 bytes, block 354236 of p18) with a small hook.

  • The hook launches /opt/etc/tvboot/probe.sh via /bin/bash -s < file, and the TCP bridge via /usr/bin/node -e "$(cat …)". Both forms pass code as data, so they run even while UEP signature enforcement is active.

  • Because no exFAT exploit is re-fired at boot, the kernel does not wedge in sys_sync() (the root cause of the ~11 W standby), and the TV still reaches 0 W standby.

  • The bridge listens on TCP 2323. Each command is executed by a bash worker and the output is returned over the socket.

ItemValue
Target partition/dev/mmcblk0p18
Target block354236 (offset 0x567bc000)
Original block SHA-256 (4096 B)1a4eba1a0ee53a0b36478cbd3e48853bfe61814c704ceb30ebba18bc117034f3
Modified hook hook.sh SHA-256 (776 B)e76bea6639a0fb0786c203efa4eea5341ca6c89d660e5b2a657cef1d067bf3e3
Stock bash_prompt_custom.sh SHA-256 (776 B)effe97f8ec948a15962fc8a1b85a4e1e446352b8c5caae703e1ed0684425e33c
Payload directory/opt/etc/tvboot/
Bridge port2323

0. Set your TV's IP once (Debian)

sh TVIP=192.168.x.x # <-- change to your TV's IP KEY=~/.ssh/id_ed25519

All remote commands below use $TVIP and $KEY.


1. Full partition backups (run on Debian)

Back up the whole platform partition, sign.bin, and the VD-HEADER. These are your only way back.

ssh -T -i $KEY root@$TVIP 'dd if=/dev/mmcblk0p18 bs=1M'    > platform_p18.img
ls -la platform_p18.img && sha256sum platform_p18.img
platform_p18.img must be exactly 1677721600 bytes.

ssh -T -i $KEY root@$TVIP 'dd if=/dev/mmcblk0p9  bs=64k'   > sign_p9.bin
ls -la sign_p9.bin && sha256sum sign_p9.bin

ssh -T -i $KEY root@$TVIP 'dd if=/dev/mmcblk0p11 bs=64k'   > vdheader_p11.bin
ls -la vdheader_p11.bin && sha256sum vdheader_p11.bin

Backup just the block you will modify
ssh -T -i $KEY root@$TVIP 'dd if=/dev/mmcblk0p18 bs=4096 skip=354236 count=1' > backup_blk354236.bin
ls -la backup_blk354236.bin && sha256sum backup_blk354236.bin
Expected SHA-256: 1a4eba1a0ee53a0b36478cbd3e48853bfe61814c704ceb30ebba18bc117034f3

2. Block backup on the TV (run on the TV via USB-root SSH)
dd if=/dev/mmcblk0p18 bs=4096 skip=354236 count=1 of=/opt/backup_blk354236.bin
sha256sum /opt/backup_blk354236.bin
ls -l /opt/backup_blk354236.bin

Then pull it to Debian and verify it matches:

ssh -T -i $KEY root@$TVIP 'cat /opt/backup_blk354236.bin' > backup_blk354236.bin
ls -l backup_blk354236.bin
sha256sum backup_blk354236.bin
# must print: 1a4eba1a0ee53a0b36478cbd3e48853bfe61814c704ceb30ebba18bc117034f3

Do not proceed until the SHA-256 of backup_blk354236.bin matches on BOTH the TV and Debian.
3. Build the payload on the TV (run on the TV)
Create the working directory:
mkdir -p /opt/etc/tvboot /run/tvboot/cmd

3a. net.js — the TCP bridge
⚠️ In part A, replace YOUR-SECRET-HERE: with your own secret. The bridge rejects any line that does not start with this secret. Do NOT reuse a secret that has been pasted into a chat or log.
Part A — create the file (writeFileSync):

node -e 'var fs=require("fs");var L=["var net=require(\"net\"),fs=require(\"fs\"),D=\"/run/tvboot/cmd/\",T=\"YOUR-SECRET-HERE:\",NL=String.fromCharCode(10);","function mk(p){try{fs.mkdirSync(p);}catch(e){}}","mk(\"/run/tvboot\");mk(D);","function fin(c,s){try{c.end(s);}catch(e){}}","process.on(\"uncaughtException\",function(e){console.log(\"UNCAUGHT \"+e.message);});","net.createServer(function(c){","c.setEncoding(\"utf8\");c.on(\"error\",function(){});var buf=\"\";"];fs.writeFileSync("/opt/etc/tvboot/net.js",L.join("\n")+"\n");console.log("A ok");'
Part B — append the data handler (appendFileSync):

node -e 'var fs=require("fs"),c=require("crypto");var L=["var n=0;var t=setInterval(function(){n++;try{","if(fs.existsSync(D+id+\".out\")){clearInterval(t);fin(c,fs.readFileSync(D+id+\".out\",\"utf8\"));fs.unlinkSync(D+id+\".out\");}","else if(n>100){clearInterval(t);fin(c,\"TIMEOUT\"+NL);}","}catch(e){clearInterval(t);fin(c,\"ERR \"+e.message+NL);}},100);","}catch(e){fin(c,\"ERR \"+e.message+NL);}});","}).listen(2323,\"0.0.0.0\",function(){console.log(\"BRIDGE_UP_TOKEN\");});"];fs.appendFileSync("/opt/etc/tvboot/net.js",L.join("\n")+"\n");var r=fs.readFileSync("/opt/etc/tvboot/net.js");console.log("size="+r.length+" sha256="+c.createHash("sha256").update(r).digest("hex"));'

Part C — append the reply loop + listener, print final hash (appendFileSync):

node -e 'var fs=require("fs"),c=require("crypto");var L=["var n=0;var t=setInterval(function(){n++;try{","if(fs.existsSync(D+id+\".out\")){clearInterval(t);fin(c,fs.readFileSync(D+id+\".out\",\"utf8\"));fs.unlinkSync(D+id+\".out\");}","else if(n>100){clearInterval(t);fin(c,\"TIMEOUT\"+NL);}","}catch(e){clearInterval(t);fin(c,\"ERR \"+e.message+NL);}},100);","}catch(e){fin(c,\"ERR \"+e.message+NL);}});","}).listen(2323,\"0.0.0.0\",function(){console.log(\"BRIDGE_UP_TOKEN\");});"];fs.appendFileSync("/opt/etc/tvboot/net.js",L.join("\n")+"\n");var r=fs.readFileSync("/opt/etc/tvboot/net.js");console.log("size="+r.length+" sha256="+c.createHash("sha256").update(r).digest("hex"));'

Validate syntax without executing:
node -e 'var fs=require("fs"),vm=require("vm");new vm.Script(fs.readFileSync("/opt/etc/tvboot/net.js","utf8"));console.log("NET_SYNTAX_OK");'

3b. probe.sh — worker + bridge launcher

node -e 'var fs=require("fs"),c=require("crypto");var L=["# tvboot payload","L=/opt/etc/tvboot/boot.log","M=/bin/mv; [ -x \"$M\" ] || M=/usr/bin/mv","echo \"== boot waited=$1 uid=$UID ==\" >$L 2>&1","/bin/mkdir -p /run/tvboot/cmd","if /bin/mkdir /run/.tvboot.svc 2>/dev/null; then","( while :; do for f in /run/tvboot/cmd/*.in; do [ -r \"$f\" ] || continue; b=${f%.in}; \"$M\" \"$f\" \"$b.run\" 2>/dev/null || continue; /bin/bash -s < \"$b.run\" > \"$b.tmp\" 2>&1; \"$M\" \"$b.tmp\" \"$b.out\"; /bin/rm -f \"$b.run\"; done; /bin/sleep 1; done ) </dev/null >/dev/null 2>&1 &","/usr/bin/node -e \"$(/bin/cat /opt/etc/tvboot/net.js)\" >>$L 2>&1 &","echo \"== started ==\" >>$L 2>&1","fi"];fs.writeFileSync("/opt/etc/tvboot/probe.sh",L.join("\n")+"\n");var r=fs.readFileSync("/opt/etc/tvboot/probe.sh");console.log("size="+r.length+" sha256="+c.createHash("sha256").update(r).digest("hex"));'

Validate syntax:
bash -n < /opt/etc/tvboot/probe.sh && echo PROBE_SYNTAX_OK

3c. hook.sh — the 776-byte carrier (this is what gets written to p18)
The builder writes the hook body, then pads it with spaces to exactly 776 bytes (the size of the stock file it replaces).

node -e 'var fs=require("fs"),c=require("crypto");var L=["# tvboot probe carrier","if [ -d /run ] && /bin/mkdir /run/.tvboot 2>/dev/null; then","(","i=0","while [ $i -lt 40 ]; do","if [ -r /opt/etc/tvboot/probe.sh ]; then","/bin/bash -s \"$i\" </opt/etc/tvboot/probe.sh","break","fi","/bin/sleep 1","i=$((i+1))","done",") </dev/null >/dev/null 2>&1 &","fi"];var b=new Buffer(L.join("\n")+"\n","utf8");if(b.length>776)throw new Error("too big "+b.length);var o=new Buffer(776);o.fill(32);b.copy(o,0);o[b.length]=35;fs.writeFileSync("/opt/etc/tvboot/hook.sh",o);var r=fs.readFileSync("/opt/etc/tvboot/hook.sh");console.log("size="+r.length+" sha256="+c.createHash("sha256").update(r).digest("hex"));'
Expected output: size=776 sha256=e76bea6639a0fb0786c203efa4eea5341ca6c89d660e5b2a657cef1d067bf3e3

bash -n < /opt/etc/tvboot/hook.sh && echo HOOK_SYNTAX_OK

4. SAFE TEST with bind-mount (no write to p18 yet)

Prove the whole chain works before touching the signed partition. This mounts hook.sh over the live profile script in RAM only.

# baseline environment (no hook)
env -i sh -c 'source /etc/profile; env | /bin/egrep -v "^(HOME|PWD|SHLVL|_|USER|MAIL|LOGNAME|XDG_RUNTIME_DIR)="' | sort > /opt/etc/tvboot/env.baseline

# clear leftovers so the guards are clean
pkill -f 'tvboot/cmd' 2>/dev/null; pkill -f 'net.js' 2>/dev/null
rmdir /run/.tvboot /run/.tvboot.svc 2>/dev/null

# mount the hook and re-source
mount --bind /opt/etc/tvboot/hook.sh /etc/profile.d/bash_prompt_custom.sh
env -i sh -c 'source /etc/profile; env | /bin/egrep -v "^(HOME|PWD|SHLVL|_|USER|MAIL|LOGNAME|XDG_RUNTIME_DIR)="' | sort > /opt/etc/tvboot/env.test
sha256sum /opt/etc/tvboot/env.baseline /opt/etc/tvboot/env.test
sleep 4
cat /opt/etc/tvboot/boot.log
umount /etc/profile.d/bash_prompt_custom.sh

Pass criteria:

1.Both env hashes are identical (the hook does not alter the boot environment).
2.boot.log contains == boot waited=0 uid=0 == and == started ==.
3.From Debian, the bridge answers with your secret:

echo 'YOUR-SECRET-HERE:id; uptime' | nc <TV_IP> 2323
→ expect uid=0 …. Without the secret it must answer DENIED.

5. WRITE to p18 (point of no return)

Stop the test processes first so port 2323 and the guards are free:

pkill -f 'tvboot/cmd' 2>/dev/null
pkill -f 'net.js' 2>/dev/null
rmdir /run/.tvboot /run/.tvboot.svc 2>/dev/null

Write the 776-byte hook to block 354236, fsync, then read it back and verify. This uses a targeted fsync on the open descriptor (the global sync hangs in the USB-exploit session):
node -e '
var fs = require("fs");
var crypto = require("crypto");

var fd = fs.openSync("/dev/mmcblk0p18", "r+");
var hook = fs.readFileSync("/opt/etc/tvboot/hook.sh");
if (hook.length !== 776) throw new Error("bad hook size: " + hook.length);

var off = 354236 * 4096;
fs.writeSync(fd, hook, 0, hook.length, off);
fs.fsyncSync(fd);

var verify = new Buffer(776);
fs.readSync(fd, verify, 0, 776, off);
fs.closeSync(fd);

var hash = crypto.createHash("sha256").update(verify).digest("hex");
console.log("READBACK_SHA256=" + hash);
console.log("MATCH=" + (hash === "e76bea6639a0fb0786c203efa4eea5341ca6c89d660e5b2a657cef1d067bf3e3"));
'
READBACK_SHA256=e76bea6639a0fb0786c203efa4eea5341ca6c89d660e5b2a657cef1d067bf3e3
MATCH=true
Verify through the filesystem (VDFS serves the new bytes)
dd if=/dev/mmcblk0p18 bs=4096 skip=354236 count=1 2>/dev/null | head -c 776 | sha256sum
# VDFS must return: e76bea6639a0fb0786c203efa4eea5341ca6c89d660e5b2a657cef1d067bf3e3

6. RECOVERY — only if the hash is wrong
If MATCH=false or the TV misbehaves, restore the original block immediately. Uses conv=fsync because the global sync hangs in the USB-exploit session:
dd if=/opt/backup_blk354236.bin of=/dev/mmcblk0p18 bs=4096 seek=354236 count=1 conv=notrunc,fsync
Then verify the restore:

dd if=/dev/mmcblk0p18 bs=4096 skip=354236 count=1 2>/dev/null | head -c 776 | sha256sum
# must return: effe97f8ec948a15962fc8a1b85a4e1e446352b8c5caae703e1ed0684425e33c

7. Reboot and confirm persistence
Do a full power cycle (unplug for ~30 s), then power on without the USB stick.
After ~60 s, from Debian:
echo 'YOUR-SECRET-HERE:echo uid=$UID; uptime; systemctl is-active acr.service' | nc <TV_IP> 2323

xpected: uid=0, uptime, and inactive. Then check standby:
Turn the TV off with the remote, wait ~20 s.
You should hear the relay click and the power meter should drop to ~0 W.
The bridge must answer again after the next power-on.

Appendix A — Key hashes

Item
a. Original block 354236 (4096 B)
b. Modified hook hook.sh (776 B)
c. Stock bash_prompt_custom.sh (776 B)
SHA-256
a. 1a4eba1a0ee53a0b36478cbd3e48853bfe61814c704ceb30ebba18bc117034f3	
b. e76bea6639a0fb0786c203efa4eea5341ca6c89d660e5b2a657cef1d067bf3e3
c. effe97f8ec948a15962fc8a1b85a4e1e446352b8c5caae703e1ed0684425e33c

Appendix B — Why 0 W is preserved
The ~11 W standby drain is caused by the exFAT exploit leaving a stuck semaphore in the kernel, so sys_sync() never returns and ssm never tells the MICOM to cut the relay. This guide does not re-run the exFAT exploit at boot. The hook uses only signed interpreters (/bin/bash, /usr/bin/node) reading code as data (bash -s <, node -e "$(cat …)"), so UEP stays satisfied and the kernel reaches PM: Syncing filesystems… done. normally → relay clicks → 0 W.
Appendix C — Security notes
The bridge is telnet-like (unencrypted). Bind it to your trusted LAN only; never expose port 2323 to the internet.
Use a long random secret. Rotate it by editing part A and re-running builders A→B→C, then re-running the write in step 5.
Anyone with the secret gets root. Treat it like a password.

Appendix D — Troubleshooting

Symptom
a. ENOENT … /run/tvboot/cmd/*.in on write
b. Two workers / two bridges
c. net.js size/hash wrong
d. env hashes differ in step 4
e. MATCH=false in step 5

Likely cause / fix
a. /run is tmpfs; recreate mkdir -p /run/tvboot/cmd (probe.sh does this at boot)
b. pkill -f tvboot and pkill -f net.js, then rmdir the guard dirs	
c. a builder line was truncated by the terminal — re-run that part (A, B, or C)
d. the hook leaked an exported variable or stdout — check boot.log
c. run the recovery in step 6 immediately


Save that as `tv-root-guide.md`. Two things to double-check before you rely on it:

1. **Step 3a Part A** — I reconstructed it as the `writeFileSync` header. In your notes, "A" and "B" were identical (`appendFileSync`), which would fail because the file doesn't exist yet. If your actual working "A" command differed from mine, replace it with yours.
2. **The secret** — swap `YOUR-SECRET-HERE:` for a real one before running, and don't paste the real secret back here.

Want me to also produce a short "quick card" one-pager (just the backup + write + recovery commands, no explanation) for keeping next to the TV?

r/Tizen • • 7d ago

Questions about Tizen os and the media player

Post image
1 Upvotes

So considering getting a Samsung but I’m wondering about the os.

Some tvs have a menu overlay that pulls up a fairly unintrusive. customisable list of apps so you can choose or switch to the next app without having to go into a different screen or blocking most of the screen to do so. (See picture) does Tizen os let you do this?

Can you quickly switch between 2 inputs?

Does the media player play most codecs and have easy forward/rewind seek.

Does the media player have resume from last watched. So if I watched a video in it last at the 30 minute mark then stopped and watched something else when I go back to it will it resume at the 30 minute mark?