Good day...
Im wanting to connect a USB camera to my ViewSonic G Tablet... I have 3 different USB models. When I plug them in (individually,) I get the /dev/video0 device but I don't seem to be able to use the device...
Why a second camera? I'm thinking I can use my G Tab in my car with a USB camera connected for a Baby Cam (since the baby faces the other way so I can't see and most of my traveling is at night so the normal mirror won't work unless I blind the poor child...) -- In theory, it could be used as a backup camera as well. (Same effect)
The internal camera works, but I don't need to see myself, I'd rather see something behind me.
Ideas?
I've scoured the Forums in more detail... Several ask the questions and someone made it work on the Nook, but it looked Nook specific. =/
Is there a more appropriate place to ask? This would affect all Android Devices that have a USB Host Port...
Now, the G Tablet, VEGAn mod at least... has the UVC Driver for WebCams. When I plug a camera in I get the /dev/video0 device (which doesn't exist until I plug in a camera.) - could it be permissions or is the driver not fully implemented?
The mplayer app that was released sets the root path to /sdcard so I can't point it at /dev/video0... I've tried to use the stream part, but it just exits the video - no error that I can see...
adamsoutherland said:
Now, the G Tablet, VEGAn mod at least... has the UVC Driver for WebCams. When I plug a camera in I get the /dev/video0 device (which doesn't exist until I plug in a camera.) - could it be permissions or is the driver not fully implemented?
Click to expand...
Click to collapse
The device appearing is a good first sign. Can you get me a dmesg output after you've plugged the webcam in? Run a Terminal Emulator app, then type in the window:
Code:
$ [B]dmesg > /mnt/sdcard/dmesg.txt[/B]
The mplayer app that was released sets the root path to /sdcard so I can't point it at /dev/video0... I've tried to use the stream part, but it just exits the video - no error that I can see...
Click to expand...
Click to collapse
Is this app an Android port of the standard mplayer for Linux? If yes, then it will use the V4L (Video 4 Linux) API to grab video frames, and if you can start it on the command line (or supply an input file name), then you can try "tv://" as the input file name.
Run this command first, though, to give everybody read-write access to /dev/video0:
Code:
$ [B]su[/B]
# [B]chmod 666 /dev/video0[/B]
I'm attaching a dmesg prior to plugging in the camera, and one after... I'm also inserting the text of the "diff" in the post...
Code:
[ 189.574313] usb 1-1.1: new high speed USB device using tegra-ehci and address 3
[ 189.657223] usb 1-1.1: New USB device found, idVendor=18ec, idProduct=3299
[ 189.664506] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 189.671944] usb 1-1.1: Product: USB2.0 PC CAMERA
[ 189.677125] usb 1-1.1: Manufacturer: ARKMICRO
[ 189.685907] usb 1-1.1: configuration #1 chosen from 1 choice
[ 189.695760] uvcvideo: Found UVC 1.00 device USB2.0 PC CAMERA (18ec:3299)
[ 189.708989] uvcvideo: UVC non compliance - GET_DEF(PROBE) not supported. Enabling workaround.
[ 189.732392] input: USB2.0 PC CAMERA as /devices/platform/tegra-ehci.2/usb1/1-1/1-1.1/1-1.1:1.0/input/input7
[ 190.318832] SO340010: gpio_val=0xc0a50000, button_val = 0xdbaf0002
[ 190.445387] SO340010: gpio_val=0xc0a50000, button_val = 0xdbaf0000
and this:
Code:
/data/data/berserker.android.apps.sshdroid/home # ls -lh /dev/vid*
crw-rw---- 1 0 1006 81, 0 Sep 2 18:22 /dev/video0
I've also done this:
Code:
/data/data/berserker.android.apps.sshdroid/home # chmod 666 /dev/video0
/data/data/berserker.android.apps.sshdroid/home # cat /dev/video0 /mnt/sdcard/test.mpg
cat: read error: No such device
/data/data/berserker.android.apps.sshdroid/home # ls -lh /dev/vid*
crw-rw-rw- 1 0 1006 81, 0 Sep 2 18:22 /dev/video0
/data/data/berserker.android.apps.sshdroid/home #
The mplayer was an APK from someone on the forums... I've opened it up only to find a "mplayer.so" as I thought it might contain the mplayer binary... (I don't have a machine (with sufficient space) to load the Android SDK at the moment...) (It's on my todo list.)
Am I right to try "cat /dev/video0" before I find the proper mplayer or event ffmpeg binary? (It generally works in linux when I do it...)
PS - I have 3 WebCams, I can give you a dmesg of each one if you need it... They all appear to do the same thing (they are by different manufacturers... iMicro, Sabrent and Agama.) -- also note that these 3 web cams work in Linux (each slightly different, but they work.)
adamsoutherland said:
The mplayer was an APK from someone on the forums... I've opened it up only to find a "mplayer.so" as I thought it might contain the mplayer binary... (I don't have a machine (with sufficient space) to load the Android SDK at the moment...) (It's on my todo list.)
Click to expand...
Click to collapse
Attach the APK so I can have a look at it.
Am I right to try "cat /dev/video0" before I find the proper mplayer or event ffmpeg binary? (It generally works in linux when I do it...)
Click to expand...
Click to collapse
I'm surprised that that works even on standard Linux! You have to setup the frame capture parameters first using ioctl()s before you can start reading data from /dev/video0. Even after that, you get raw frame data, and not mpeg video from the device.
PS - I have 3 WebCams, I can give you a dmesg of each one if you need it... They all appear to do the same thing (they are by different manufacturers... iMicro, Sabrent and Agama.) -- also note that these 3 web cams work in Linux (each slightly different, but they work.)
Click to expand...
Click to collapse
Attach all the 3 webcams to your desktop machine, check that each one works and get me a dmesg and a lsmod command output for each one. I want to see what drivers are loaded for each one. We'll have to load the same drivers on the gTablet too after compiling them.
Code:
[I]Attach Camera1 and make sure its working, then,[/I]
desktop$ [B]dmesg > dmesg1.txt[/B]
desktop$ [B]lsmod > lsmod1.txt[/B]
[I]Attach Camera2 and make sure its working, then,[/I]
desktop$ [B]dmesg > dmesg2.txt[/B]
desktop$ [B]lsmod > lsmod2.txt[/B]
[I]Attach Camera3 and make sure its working, then,[/I]
desktop$ [B]dmesg > dmesg3.txt[/B]
desktop$ [B]lsmod > lsmod3.txt[/B]
Caveats: Even if we get all the drivers to load on the gTablet (the V4L drivers, the main camera driver, and, possibly, its support drivers), we still have the problem of displaying the video stream on Android. While I'm happy to write whatever systems code is required, writing the Java UI code for the Android app is beyond my ken. We'll have to ask someone else (try in the main Android development forums on XDA, or, ask user herbert1 here who's helped out before with custom Java apps) once we've checked that we can read data from the V4L device (I'll send you a test prog which'll output .jpg files once every second once we have the drivers sorted out).
It would be great if someone has already ported mplayer for Android.
I'm attaching the APK I found...
Side note:
After looking deeper at 'cat /dev/video0'; it does not work with these webcams... I think this works on my TV Cards that natively displayed mpeg2 video (it's been a while).
See the attached dmesg-*.txt and lsmod-*.txt. Each is named after the company logo on the camera. (I can get the model numbers if the dmesg isn't enough.) Between each dmesg I rebooted the linux box for clarity. (They can all work at once, but I get confused on what is doing what.)
The command I used to test:
Code:
ffmpeg -f alsa -i hw:0,0 -f video4linux2 -s 320x240 -i /dev/video0 test-agama.mpg
(Each of these cameras has audio - The audio is not important for what I am attempting to do...)
About the UI... I've been avoiding this but it maybe time to start work on this =P -- I just realized that the box I'm testing the cameras on has space... I may have to reload linux for 64bit but then I can install the Android SDK and get to UI Development.
All three webcams seem to depend on only 3 kernel modules: uvcvideo, videodev and v4l1_compat.
If all 3 drivers are loaded on the gTablet too, then we should be able to get the video frames from /dev/video0 (or whatever the device).
I'll send you a test program this evening. In the mean time...:
That .apk file contains the application too--the classes.dex file contains the Dalvik executable bytecode. Just install the .apk, then run the app and provide a file name as input. Try "tv://" as the file name once all 3 drivers have been loaded. Do the "chmod 666 /dev/video0" before running the app.
Try the webcam test program in the attachment. The program reads from a user-specified V4L device and outputs JPEG images until you stop it with CTRL-C. Run as:
Code:
$ [B]su[/B] [I]Become superuser[/I]
# [B]mkdir /mnt/sdcard/tmp[/B] [I]Make a tmp dir. for storing imgs[/I]
# [B]./webcam -o /mnt/sdcard/tmp[/B] [I]Capture webcam images until stopped with CTRL-C[/I]
Get usage instructions with "./webcam --help".
EDIT: I actually didn't test the program out because I couldn't locate my webcam. Report if you encounter any bugs.
Quick Update:
I will be trying this tonight... I've been busy trying to get things done. (Little one is going to be born tomorrow!)
Sorry I haven't been able to respond sooner...
rajeevvp said:
Try the webcam test program in the attachment. The program reads from a user-specified V4L device and outputs JPEG images until you stop it with CTRL-C. Run as:
Code:
$ [B]su[/B] [I]Become superuser[/I]
# [B]mkdir /mnt/sdcard/tmp[/B] [I]Make a tmp dir. for storing imgs[/I]
# [B]./webcam -o /mnt/sdcard/tmp[/B] [I]Capture webcam images until stopped with CTRL-C[/I]
Get usage instructions with "./webcam --help".
EDIT: I actually didn't test the program out because I couldn't locate my webcam. Report if you encounter any bugs.
Click to expand...
Click to collapse
I copied it to /mnt/asec (because I can execute things there without remount)
When I run it, i get:
Code:
/mnt/asec # ./webcam -o /mnt/asec/tmp -d /dev/video0
./webcam: error getting video channel info. Invalid argument
I tried without the -d /dev/video0 and got the same result.
(Sorry for the LOOONG delay... Turns out a newborn takes more time and energy than I expected. I'm just now figuring that out... =P It's worth it though.)
Try this simple USB Webcam test app in the attachment which works on VEGAn-Tab 7.1 and GtabComb* (which have the pershoot kernel).
1. Plug the USB webcam in.
Assuming the kernel you're running has the correct USB webcam drivers compiled in--and, most of them do seem to have the V4L subsystem and the UVC camera drivers (which supports a lot of the common USB webcams) built into the kernel--you should see a new /dev/video0 device file pop up.
2. Run these commands to set correct permissions and owners on the device file (some ROMs--eg. GtabCombOver--don't need it):
Code:
$ [B]su[/B]
# [B]chown system.camera /dev/video0[/B]
# [B]chmod 660 /dev/video0[/B]
(Note that if you unplug and replug the webcam, you'll have to re-run the commands on ROMs which don't set the correct permissions and owners.)
3. Now install and run the SimpleWebCam app.
If, for some reason, no /dev/video0 device is created, then your webcam may need different device drivers, which have not been compiled in (or not been written!), in which case you'll have to compile a new kernel with the correct drivers either built-in or as loadable modules. Nothing else described in this post will need change.
adamsoutherland said:
When I run it, i get:
Code:
/mnt/asec # ./webcam -o /mnt/asec/tmp -d /dev/video0
./webcam: error getting video channel info. Invalid argument
I tried without the -d /dev/video0 and got the same result.
Click to expand...
Click to collapse
Looks like I'll have to update the code to make the program use the V4L2 API instead.
Nexus 7
Just tested this on my Google Nexus 7 tablet and it worked fine, I didn't have to modify the permissions either,
PS, it is rooted, of sure if that makes much difference, will test it on my friends stock nexus 7 tomorrow
USB Camera App
I was able to get the app working on my rooted Nexus 7 4.2 and an unrooted Galaxy SIII . How hard would it be to add a video record function to the app?
droidoso said:
How hard would it be to add a video record function to the app?
Click to expand...
Click to collapse
If you want to do that, then it's better to compile a custom native camera-interface library which makes the USB webcam appear as a standard camera (--the rear one, usually). Then, you can use the standard apps to record videos.
See this thread for a precompiled binary and for the source.
this method can make sound in ubuntu on android.
this is a demo.a friend told me about this method.my device is new nexus 7(2013)
I will make a tutorial on xda-developers.
make a audio server on android.and ubuntu send the voice to android.the audio server play the voice.
this method is not real time,have delay.when play music,parse the music,it didn't parse immediately ,go on play about 10 seconds,and when resume ,the music is played from later seconds.
1.unzip the android file.7z, on android install the IRB.apk file.
run IRB,then sdcard have a directory jruby, audioserver.12.rb put here.
go to IRB,find scripts,select audioserver.12.rb,and execute
2.in ubuntu: install socat and perl,use "apt-get install socat " and "apt-get install perl"
3.unzip asoundrc.7z ,put .asoundrc into /root,
In .asoundrc uncomment this line:
pcm.!default "myfifo"
4.unzip audiofifoloop.1.tar,put audiofifoloop somewhere, To allow multiple ALSA applications, can configure
audiofifoloop. Find these two lines at the beginning:
$multi = 0;
$sleep = 1;
Set $multi to 1 and $sleep to 0.
make it executeable,and run it
then you can "aplay *.wav" in terminal,check is ok?
and can install smplayer to play music ,make sure the audio driver select alsa.
can play video in youtube but only html5.I played some but didn't smooth.
View attachment 2214234
View attachment audiofifoloop.1.tar
View attachment asoundrc.7z
I have a very simple method:
1.you can play musice use some player in android,at the same time in ubuntu termianl to do "alsactl store" to save the soundcard parameter.
2.close the player.and in ubuntu terminal do "alsactl restore" to resume the soundcard parameter.
3.then you can use "aplay *.wav" to play .
but this method does have more effect.I don't know.this only some point.
{ in android stock player or google player maybe couldn't ,you shoud find some other player,i used is chinese app 天天动听 } this method only sound in output like headphone,no sound in speaker.
reserve
Hello, i'm trying to get this to work.
I would like to know what image from sourceforge.net/projects/linuxonandroid/files/Ubuntu/ you used when testing this.
I have two problems, first when executing the audio server script it seems like i'm getting an error that I can't see that you get in your video when you execute it (but it's hard to tell in the video cause it's only visible for a second so i'm not sure) imgur.com/PckDNyC.png
and then when i execute aplay a.wav i get
shm_open() failed: Function not implemented
So i don't know where to start to fix this, need someone with understanding of how this works to help me out.
I followed the method and it worked fine... Does anyone know who to quit the audioserver when i am finished. i found nothing that would do it.. and had to restart phone.. any help would be appreciated.
Hey guys
I already asked this in some way over at Zenfone 2 sub forum but it might be better to post it here since it could be more CM-related than phone related.
At work we're developing an app which requires an x86 based processor to function properly. But we also need to use ALSA instead of tinyALSA related to various startup scripts required for that mentioned application and the application itself. Rewrite the whole parser is out of question due to the amount of work involved to port it over ARM platform.
Anyway we digged through the mixer settings of tinyALSA and came to the conclusion that it's not suitable for our app.
Currently I'm using the CyanogenMod 13 source code with ALSA lib and ALSA utils packages from Android x86 project (the Marshmallow-one of course). The build process is all fine and the binaries are usable inside an ADB shell but I'm not really able to use aplay for recording or playback of audio files.
Right now I'm stuck with the following error:
Code:
aplay: pcm_write:1684: write error: I/O error
I used "alsa_aplay /sdcard/Front_Center.wav -D hw:0,5 " to test the audio playback.
Some other problems occur when I want to use "alsa_ctl init", alsa_amixer can't load default mixer settings, "alsa_aplay -L" results in "NULL" output and so on.
Any suggestions on how to get audio capabilities working with true ALSA?
By the way: Our Zenfone 2 uses an Intel Atom Z3560 processor with rt5647-audio codec.
I have UE48J6250 TV, latest Tizen Studio. On TV Developer Mode is enabled. Remote Device Manager registered TV and I am connected. On top bar of Studio I can see UJ6200 and IP address of my TV.
In Tizen Studio I've created jQuery Navigation project and haven't modified any code. TV - 2.4.
Now I have successfully created certificates, including distribution one.
If I click on "Installed Web App List", I can see some of the apps installed.
When I click on Permit to Install Applications, I'm always getting Failed to upload certificate error.
Any clue what might be wrong?
Sorry.
I have nearly ZERO experience with TV...
Are you able to work with SDB?
Code:
sdb capability
This Command could show you something like this...
https://forum.xda-developers.com/showpost.php?p=69343637&postcount=51
Code:
secure_protocol:disabled
intershell_support:enabled
filesync_support:pushpull
usbproto_support:disabled
sockproto_support:enabled
rootonoff_support:enabled
zone_support:disabled
multiuser_support:disabled
cpu_arch:x86
profile_name:mobile
vendor_name:Tizen
[B]platform_version:2.4.0[/B]
product_version:unknown
sdbd_version:2.2.31
sdbd_plugin_version:unknown
syncwinsz_support:enabled
This is from Mobile... Platform means Tizen Version...
No idea if your TV supports this output or you are able to connect via:
Code:
sdb shell
And check what is inside folder:
/home/developer
No idea if I will increase my ""skills"" with Tizen Studio 1.1... and install TV profile...
Best Regards
adfree said:
Sorry.
I have nearly ZERO experience with TV...
Are you able to work with SDB?
Code:
sdb capability
This Command could show you something like this...
https://forum.xda-developers.com/showpost.php?p=69343637&postcount=51
Code:
secure_protocol:disabled
intershell_support:enabled
filesync_support:pushpull
usbproto_support:disabled
sockproto_support:enabled
rootonoff_support:enabled
zone_support:disabled
multiuser_support:disabled
cpu_arch:x86
profile_name:mobile
vendor_name:Tizen
[B]platform_version:2.4.0[/B]
product_version:unknown
sdbd_version:2.2.31
sdbd_plugin_version:unknown
syncwinsz_support:enabled
This is from Mobile... Platform means Tizen Version...
No idea if your TV supports this output or you are able to connect via:
Code:
sdb shell
And check what is inside folder:
/home/developer
No idea if I will increase my ""skills"" with Tizen Studio 1.1... and install TV profile...
Best Regards
Click to expand...
Click to collapse
That sheds some light at least... Thanks!
secure_protocol:enabled
rootcmd_support:disabled
zone_support:disabled
multiuser_support:disabled
cpu_arch:armv7
profile_name:tv
vendor_name:Samsung
platform_version:2.3.0
product_version:1.0
sdbd_version:2.2.17
sdb shell just says "closed" and jumping out of sdb.
Now there is no official way to develop on 2.3 TV, as far as I understand. From the other side, dozens of new apps are appearing weekly on my TV app store.
This looks interesting:
https://developer.tizen.org/forums/native-application-development/how-get-duid-samsung-smart-tv
Look at SDB hints... with repeadly...
Now I am trying to install TV extension to Tizen Studio 1.1
Only to play little bit around...
Wearables and TV is not soooo interesting for me... sorry.
So I have no real experience with TV... never seen Firmware nor other Stuff for research...
Best Regards
some progress has been made...
I've also downloaded old IDE, which is called Samsung TV IDE. Then I was trying to fight with certificates again. Since it is obsolete, the links are not working for generating new certificate. Importing also was not working - it was telling wrong password in XML. So what I did is I copied certificates from new Tizen Studio, where I generated certificates to samsung-tv-sdk-data\keystore, including device-profile.xml.
And to my big surprise, I was able to install certificate with old Samsung TV IDE! Then I tried to run app and it works as well!!!
Then I tried one step more - running app from new Tizen Studio, since certificate is already installed and what a magic, it also worked!
Now few questions, before I dive in:
- Tizen Studio is giving me the following error very often:
An internal error occurred during: "Compute launch button tooltip".
org.eclipse.core.internal.resources.File cannot be cast to org.eclipse.core.resources.IProject
Click to expand...
Click to collapse
- The guy from your link also asked the same question: how to install the app on TV, so it can be launched without using PC?
- How the certificates are being installed? Using sdb push? Which command exactly?
- Can I have any debug log output while my app is running? Currently when I am connecting to TV using remote device manager it says "Log is not supported. log is not available".
- I'm trying default AnalogWatch sample, which in index.html has the following: <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">. However, the app is still running with scrollbars, means it is taking wrong screen size. How can I take the proper screen resolution?
Thanks a lot for your help.
Thanx for feedback about your progress. :good:
Yesterday I have installed Tizen Studio 1.1... TV extension
And first time I have created TV Profile in Emulator...
Also TV Emulator seems make same trouble with SDB...
No SDB as Security is fully enabled...
No Root
No access via SDB
No idea yet...
Later I will add output from SDB capability command
Here I have no idea...
----------------------------------------------------------------------------------------
Tizen Studio / SDK problems...
I have for instance Windows 7... 64 bit PC
Maybe if you share your Computer Config...
Windows Version?
Computer or Notebook?
Then maybe you can find somewhere answer in Internet...
For me it looks like... as Windows 10... and Notebooks have more troubles with Tizen SDK stuff...
Only idea.
Best Regards
---------- Post added 20th January 2017 at 12:22 AM ---------- Previous post was 19th January 2017 at 11:52 PM ----------
Code:
[B]sdb version[/B]
Smart Development Bridge version 2.3.0
[B]sdb capability[/B]
[COLOR="Red"][B]secure_protocol:enabled[/B][/COLOR]
[B][COLOR="Red"]intershell_support:disabled[/COLOR][/B]
filesync_support:push
usbproto_support:disabled
sockproto_support:enabled
syncwinsz_support:enabled
[COLOR="Red"][B]rootonoff_support:disabled[/B][/COLOR]
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
[B][COLOR="Red"]log_enable:disabled[/COLOR][/B]
log_path:/tmp
[B]sdb root on[/B]
Permission denied
[B]sdb shell[/B]
closed
closed
Oh, I have not seen TV Simulator... but this not work with SDB as it seems...
Result is from Emulator Manager... with latest SDB 2.3.0
I have no idea, how with easy steps enable SDB...
From capability... it looks like sdb push could work... maybe also:
Code:
[B]sdb install[/B]
Will try on Emulator...
But this is risky, if you not know what is inside... and how to remove...
Best Regards
---------- Post added at 12:35 AM ---------- Previous post was at 12:22 AM ----------
Code:
sdb push sdb.exe /home
WARNING: Your data is to be sent over an unencrypted connection and could be read by others.
pushed sdb.exe 100% 3163KB 4974KB/s
error: failed to close '/home/sdb.exe': Permission denied
Code:
sdb push sdb.exe /home/developer
WARNING: Your data is to be sent over an unencrypted connection and could be read by others.
pushed sdb.exe 100% 3163KB 4966KB/s
error: failed to close '/home/developer/sdb.exe': Permission denied
Code:
sdb install Line_101.wgt
WARNING: Your data is to be sent over an unencrypted connection and could be read by others.
pushed Line_101.wgt 100% 1883KB 0KB/s
1 file(s) pushed. 0 file(s) skipped.
Line_101.wgt 3964KB/s (1928439 bytes in 0.475s)
closed
closed
I had no better idea as copy sdb.exe... but failed into both path:
Code:
/home
/home/developer
Also sdb install seems not work... complete... maybe only first part... copy...
Best Regards
hello
did you find a solution to your problem?
i have the same problem
i cannot install with sdb (response : closed)
adfree said:
Thanx for feedback about your progress. :good:
Yesterday I have installed Tizen Studio 1.1... TV extension
And first time I have created TV Profile in Emulator...
Also TV Emulator seems make same trouble with SDB...
No SDB as Security is fully enabled...
No Root
No access via SDB
No idea yet...
Later I will add output from SDB capability command
Here I have no idea...
----------------------------------------------------------------------------------------
Tizen Studio / SDK problems...
I have for instance Windows 7... 64 bit PC
Maybe if you share your Computer Config...
Windows Version?
Computer or Notebook?
Then maybe you can find somewhere answer in Internet...
For me it looks like... as Windows 10... and Notebooks have more troubles with Tizen SDK stuff...
Only idea.
Best Regards
---------- Post added 20th January 2017 at 12:22 AM ---------- Previous post was 19th January 2017 at 11:52 PM ----------
Code:
[B]sdb version[/B]
Smart Development Bridge version 2.3.0
[B]sdb capability[/B]
[COLOR="Red"][B]secure_protocol:enabled[/B][/COLOR]
[B][COLOR="Red"]intershell_support:disabled[/COLOR][/B]
filesync_support:push
usbproto_support:disabled
sockproto_support:enabled
syncwinsz_support:enabled
[COLOR="Red"][B]rootonoff_support:disabled[/B][/COLOR]
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
[B][COLOR="Red"]log_enable:disabled[/COLOR][/B]
log_path:/tmp
[B]sdb root on[/B]
Permission denied
[B]sdb shell[/B]
closed
closed
Oh, I have not seen TV Simulator... but this not work with SDB as it seems...
Result is from Emulator Manager... with latest SDB 2.3.0
I have no idea, how with easy steps enable SDB...
From capability... it looks like sdb push could work... maybe also:
Code:
[B]sdb install[/B]
Will try on Emulator...
But this is risky, if you not know what is inside... and how to remove...
Best Regards
---------- Post added at 12:35 AM ---------- Previous post was at 12:22 AM ----------
Code:
sdb push sdb.exe /home
WARNING: Your data is to be sent over an unencrypted connection and could be read by others.
pushed sdb.exe 100% 3163KB 4974KB/s
error: failed to close '/home/sdb.exe': Permission denied
Code:
sdb push sdb.exe /home/developer
WARNING: Your data is to be sent over an unencrypted connection and could be read by others.
pushed sdb.exe 100% 3163KB 4966KB/s
error: failed to close '/home/developer/sdb.exe': Permission denied
Code:
sdb install Line_101.wgt
WARNING: Your data is to be sent over an unencrypted connection and could be read by others.
pushed Line_101.wgt 100% 1883KB 0KB/s
1 file(s) pushed. 0 file(s) skipped.
Line_101.wgt 3964KB/s (1928439 bytes in 0.475s)
closed
closed
I had no better idea as copy sdb.exe... but failed into both path:
Code:
/home
/home/developer
Also sdb install seems not work... complete... maybe only first part... copy...
Best Regards
Click to expand...
Click to collapse
Still my old LG TV is alive... So in near future no Samsung TV in my hands...
I have never own experiences with Samsung TV...
But still my "Google knowledge"...
Depend on Model... and on Firmware...
Samsung only increase Security... against all and everywhere...
So without knowing your TV Model... and maybe Firmware Version...
Best Regards
P.S.:
Own experiences with Tizen Mobile and Tizen Wearable...
Tizen su xxxx
i have panasonic 4k tv th-dx625dx before update i have audio pass thorough option and easily ouput 5.1 surround from home theater . but after update this option is missing and unable to out 5.1 sound from home theater through HDMI sound out. and now i have only three option in audio setting 1) PCM 2) Auto 3) DD+ and in pCM and Auto only 2.1 sound out . i search every where but didn't find the solution. is any there app , or any adb command to restore this option . i find a code but dont know how to apply
Multimedia tunneling | Android Open Source Project
source.android.com
Create AudioTrack with HW A/V sync AudioAttributes.
The audio policy manager asks the hardware abstraction layer (HAL) for a device output that supports FLAG_HW_AV_SYNC, and creates an audio track directly connected to this output with no intermediate mixer.
AudioAttributes.Builder aab = new AudioAttributes.Builder();
aab.setUsage(AudioAttributes.USAGE_MEDIA);
aab.setContentType(AudioAttributes.CONTENT_TYPE_MOVIE);
aab.setFlag(AudioAttributes.FLAG_HW_AV_SYNC);
// or, for Android 11 or higher
new tunerConfig = TunerConfiguration(0, avSyncId);
aab.setTunerConfiguration(tunerConfig);
AudioAttributes aa = aab.build();
AudioTrack at = new AudioTrack(aa);
please any one help me . i will greatful to you