Languages

Menu
Sites
Language
sdb write 'closed'

Hello!

I have problem connect to emulator with sdb. I downloaded sdk by link

After created emulator, I try to connect emulator, but always show "closed" message.

Commands and result in console:

 

 ./sdb devices 
List of devices attached 
emulator-26101          device        TV-Emulator

 

./sdb version

Smart Development Bridge version 2.2.91

 

./sdb get-state
device

 

./sdb dlog
closed
- waiting for device -
error: failed to run command: command 'wait-for-device' not supported
closed
- waiting for device -
error: failed to run command: command 'wait-for-device' not supported
closed
- waiting for device -
error: failed to run command: command 'wait-for-device' not supported
closed

 

/sdb shell

closed
closed

 

./sdb install /home/andrey/DEVELOPER/TIZEN_PROJECTS/BasicProject/bp.wgt
closed

 

But command push works, for example push logServer.conf file on emulator.

./sdb push logServer.conf /tmp/
WARNING: Your data is to be sent over an unencrypted connection and could be read by others.
pushed                 logServer.conf    100%         30 B        0KB/s
1 file(s) pushed. 0 file(s) skipped.
logServer.conf                   0KB/s (30 bytes in 0.128s)

 

Maybe I need to enable something on emulator ? 

Maybe somebody have good instruction, how need config sdb ?

My system: Ubuntu 16.04.1 LTS

In logs IDE

06:41:23 E/sdb: sdb rejected shell command (0 list_showcontrol "/"): closed
06:41:23 E/sdb: excute doLS failed:org.tizen.sdblib.exception.SdbCommandRejectedException: closed
06:41:23 E/sdb: sdb rejected shell command (dlogctrl get platformlog): closed

 

Edited by: Andrey Nikonov on 05 Dec, 2016

Responses

8 Replies
Mark Watney

Hi Andrey!

I think outdated sdb version may throw this error. Did you try updating sdb tool?

Andrey Nikonov

This is last version sdb tool  - Smart Development Bridge version 2.2.91.

Downloaded from https://developer.tizen.org/development/tizen-studio/download

ILWOO PARK

Dear Andrey Nikonv,

 

sdb shell in Tizen TV is not supported for the security reason. It is only allow to provide Samsung Smart TV Partner Developers.

I am sorry about that.

 

Regarding sdb install, Tizen CLI will support Samsung Tizen TV CLI next version - It could be supported from Tizen Studio 1.1

 

Best Regards,

Tizen TV SDK team.

Andrey Nikonov

Dear Ilwoo Park,

Thanks for the answer, I will wait update sdk tools.

HD Nguyen

Dear ILWOO PARK

I installed Tizen Studio 1.2 but "sdb shell" still shows message "closed".

Peter Wegner

The problem is the "Security" on your device... depend on Firmware Version.

Samsungs priority is Security at all cost... against everone and everwhere...

:)

 

Try for instance this Command on your "Smart TV":

sdb capability

 

Then maybe you can see, what all is locked down...

 

Best Regards

Peter Wegner

This is what I found long time ago... in Tizen Studio... TV Emulator...

because I was also confused, why Emulator Image is protected like real device...

 

Best Regards

 

sdb version
Smart Development Bridge version 2.3.0

sdb capability
secure_protocol:enabled
intershell_support:disabled
filesync_support:push
usbproto_support:disabled
sockproto_support:enabled
syncwinsz_support:enabled
rootonoff_support:disabled
zone_support:disabled
multiuser_support:enabled
cpu_arch:x86
sdk_toolpath:/home/owner/share/tmp/sdk_tools
profile_name:tv
vendor_name:Samsung
can_launch:tv-samsung
platform_version:3.0
product_version:3.0
sdbd_version:2.2.31
sdbd_plugin_version:3.1.7_EM_REL
sdbd_cap_version:1.0
log_enable:disabled
log_path:/tmp


sdb root on
Permission denied

sdb shell
closed
closed
Phil rzr

One alternative is to try (or rebuild) TV images from tizen.org on SBC (and eventually tune capabilities..)

https://wiki.tizen.org/TV