Using an external camera with 4.0 - Samsung Galaxy Player 4.0, 5.0

Basically, I want to connect a Microsoft webcam to my SGP 4.0, and probably using a custom made .apk, just record the video from the webcam. No preview display or anything.
My plan so far is to wait until TeamSuperNova finishes their ICS for the 4.0
http://forum.xda-developers.com/showthread.php?t=1712668
And I already have the webcam and I ordered a USB host-mode cable from Amazon (not sure if I would still need that with ICS though).
So the plan is to connect the webcam to the 4.0 with the cable, but I'm just curious if you guys think it'll work, or if any experiments have already been done in this field. I have seen the video of a webcam running on the Nexus, but I really dont care about a preview, just recording. Imagine the most ghetto Go-Pro possible, that's what I'm shooting for.
Thanks guys

no suggestions/ tips/ etc?

Frogman9 said:
no suggestions/ tips/ etc?
Click to expand...
Click to collapse
Make sure you can get it working with desktop Linux. That'll give you the added benefit of knowing what driver it needs. From there you can find/port a program that'll read your /dev/video* devices, something like gstreamer, ffmpeg, mencoder, or an Andriod app.

jlyo said:
Make sure you can get it working with desktop Linux. That'll give you the added benefit of knowing what driver it needs. From there you can find/port a program that'll read your /dev/video* devices, something like gstreamer, ffmpeg, mencoder, or an Andriod app.
Click to expand...
Click to collapse
thanks for the help bro, also, why do i need a linux system? how does that show me what driver it uses?

Frogman9 said:
thanks for the help bro, also, why do i need a linux system? how does that show me what driver it uses?
Click to expand...
Click to collapse
Because Android is a Linux system, though the userspace is mostly different. You don't necessarily need to have a Linux system, but I imagine it'd be harder to do Android work on another system. Though chances are good that you'd be able to do it on another kind of UNIX, such as Mac OS X being the most popular.

jlyo said:
Because Android is a Linux system, though the userspace is mostly different. You don't necessarily need to have a Linux system, but I imagine it'd be harder to do Android work on another system. Though chances are good that you'd be able to do it on another kind of UNIX, such as Mac OS X being the most popular.
Click to expand...
Click to collapse
okay, this makes sense, but what about using eclipse? that can handle android development and all, so would i be able to determine the driver using windows/ eclipse? and also do those terminal commands and such you also posted?
ps: sorry for my ignorance, the best ive done in android so far is a fallout soundboard....

Frogman9 said:
Basically, I want to connect a Microsoft webcam to my SGP 4.0, and probably using a custom made .apk, just record the video from the webcam. No preview display or anything.
My plan so far is to wait until TeamSuperNova finishes their ICS for the 4.0
http://forum.xda-developers.com/showthread.php?t=1712668
And I already have the webcam and I ordered a USB host-mode cable from Amazon (not sure if I would still need that with ICS though).
So the plan is to connect the webcam to the 4.0 with the cable, but I'm just curious if you guys think it'll work, or if any experiments have already been done in this field. I have seen the video of a webcam running on the Nexus, but I really dont care about a preview, just recording. Imagine the most ghetto Go-Pro possible, that's what I'm shooting for.
Thanks guys
Click to expand...
Click to collapse
I bought a USB OTG cable for my Nexus and it worked perfectly. I then tried it on my 5.0 and it didn't work. I think USB host mode is not compatible with the player range (the 5.0 anyway) as the micro USB port is not powered. But who knows, maybe it works on the 4.0
Sent from my Nexus 7 using XDA Premium HD app

Frogman9 said:
okay, this makes sense, but what about using eclipse? that can handle android development and all, so would i be able to determine the driver using windows/ eclipse? and also do those terminal commands and such you also posted?
ps: sorry for my ignorance, the best ive done in android so far is a fallout soundboard....
Click to expand...
Click to collapse
You can find out what driver you need (if it exists) from the camera's datasheet and some Googling. If you want to test it on a more well known platform before you test it on the device, that platform would be an x86_64 linux. It's just a good refernce is all, and would come in handy in case the plug and pray method doesn't work.
Those commands only coincidentally take the name of their project, of which I was referring. See:
* http://gstreamer.freedesktop.org/
* http://www.mplayerhq.hu/design7/news.html
* http://ffmpeg.org/

Supermaster34 said:
I bought a USB OTG cable for my Nexus and it worked perfectly. I then tried it on my 5.0 and it didn't work. I think USB host mode is not compatible with the player range (the 5.0 anyway) as the micro USB port is not powered. But who knows, maybe it works on the 4.0
Sent from my Nexus 7 using XDA Premium HD app
Click to expand...
Click to collapse
yeah i got the OTG cable too, and it didnt work with the 4.0, but I believe thats because its not getting powered due to the 4.0 not having true 4.0 host mode, which powers the usb, so either i splice in the required 3-5v in the usb line or i wait for Team SuperNova to complete their port of CM9 (4.0.4) for my player (the 5.0 actually already has it so you should be good to go).

Frogman9 said:
yeah i got the OTG cable too, and it didnt work with the 4.0, but I believe thats because its not getting powered due to the 4.0 not having true 4.0 host mode, which powers the usb, so either i splice in the required 3-5v in the usb line or i wait for Team SuperNova to complete their port of CM9 (4.0.4) for my player (the 5.0 actually already has it so you should be good to go).
Click to expand...
Click to collapse
I tried it on my 5.0 running my CM9 rom, but no luck. I'm not sure if the player series supports USB Host seeing as the GT-I9000 does not have this feature. As far as I'm aware, USB Host started appearing on devices in the same generation as the GT-I9100 so about a year later.
EDIT:
USB Host appears to be a kernel feature:
http://www.xda-developers.com/android/samsung-galaxy-s-i9000-gains-usb-host-functionality/

Supermaster34 said:
I tried it on my 5.0 running my CM9 rom, but no luck. I'm not sure if the player series supports USB Host seeing as the GT-I9000 does not have this feature. As far as I'm aware, USB Host started appearing on devices in the same generation as the GT-I9100 so about a year later.
EDIT:
USB Host appears to be a kernel feature:
http://www.xda-developers.com/android/samsung-galaxy-s-i9000-gains-usb-host-functionality/
Click to expand...
Click to collapse
damn, i wonder if we need usb host mode, i mean if its powered externally with 3-5v, and then the proper drivers are installed in a custom app, wouldnt we be able to at least display what the camera sees?

Frogman9 said:
damn, i wonder if we need usb host mode, i mean if its powered externally with 3-5v, and then the proper drivers are installed in a custom app, wouldnt we be able to at least display what the camera sees?
Click to expand...
Click to collapse
kinda a side question, but do you guys think this app would work with a galaxy player 4.0?http://forum.xda-developers.com/showpost.php?p=22884164&postcount=3
i dont know much about android, but as far as i know, as long as its android, it might be able to run, right? does the transformer use jellybean? < thats probably where my idea would fall flat if it does...

Related

SGS2 to have USB OTG?

I can't believe my eyes but the specs page on Samsung's website says it has USB OTG!!!!!!!!!!! I can finally use my portable DAC with this beast!
Check under Connectivity
galaxys2.samsungmobile.com/html/specification.html
That's great news for us audiophiles; I actually just sold my UM3Xs to help find for new stiff (the galaxy2 mainly) . I don't really listen to music that much anymore though.
my Fiio E7 USB DAC is also happy for it!
I just need to find short USB mini to micro cable.
Sorry if this might be a n00b question, but I don't seem to be clear on the subject. Will this allow for me to attach a usb harddrive or usb-stick as add-on storage via a usb-micro-usb connector?
Thanks
Corell said:
Sorry if this might be a n00b question, but I don't seem to be clear on the subject. Will this allow for me to attach a usb harddrive or usb-stick as add-on storage via a usb-micro-usb connector?
Thanks
Click to expand...
Click to collapse
Yes, it should work providing the microUSB port can provide enough power to drive your HDD (or if it comes with an adaptor).
I remember having USB OTG on one of my Cowon players and it made life so much simpler when I wanted to copy somebody's music over to my player, or pictures from a camera. Only question is, what kind of devices will Samsung give us support for (I guess once they give out the kernel sources this should become less of an issue).
martino2k6 said:
Yes, it should work providing the microUSB port can provide enough power to drive your HDD (or if it comes with an adaptor).
I remember having USB OTG on one of my Cowon players and it made life so much simpler when I wanted to copy somebody's music over to my player, or pictures from a camera. Only question is, what kind of devices will Samsung give us support for (I guess once they give out the kernel sources this should become less of an issue).
Click to expand...
Click to collapse
Thanks added
Guess it will provide an easy way to add much more storage to the phone without having to swap multiple memory cards
^That never occured to me, I'm really excited now. Being able to hook up a hard drive or something to copy a movie or two over before a long trip is a plus.
Wait does it have a microusb or full one
Sorry I'm a noob
Sent from my Vibrant using XDA App
It's micro. Being the world's thinnest smartphone, it doesn't really make sense to have a full USB port does it.
Virtue94 said:
It's micro. Being the world's thinnest smartphone, it doesn't really make sense to have a full USB port does it.
Click to expand...
Click to collapse
SGS2 isn't the world's thinnest smartphone. I read an article on Engadget saying a recently released Japanese phone is.
Fine, I'll concede that. Let me rephrase: Being an extremely thin smartphone, it doesn't really make sense to have a full USB port does it.
bbm21 said:
Wait does it have a microusb or full one
Sorry I'm a noob
Sent from my Vibrant using XDA App
Click to expand...
Click to collapse
It has a mmicro USB that doubles as an HDMI. Crazy stuff.
Sent from my Nexus One using XDA Premium App
horusray said:
SGS2 isn't the world's thinnest smartphone. I read an article on Engadget saying a recently released Japanese phone is.
Click to expand...
Click to collapse
Yea, there's this 2.2 Android phone coming out that is a couple of tenths of a mm thimbleful; however, there are things called set points which are the minimum points where we can discern differences. I think 8 mm give or take a tenth reaches that.
Sent from my Nexus One using XDA Premium App
will this also allow for usb Kb or mouse ?
Possibly, but the phone should already support BT keyboard and mouse anyways, which is much more convenient.
Yes it has
Can I say something to help?
Sent from my Xtouch X405 using XDA Free mobile app

USB Host via MHL?

Hey everyone.
On the German Samsung site i found this adapter for the Galaxy SII:
http://samsung.de/de/Privatkunden/Mobil/Mobiltelefone/Zubehoer/etr205u/ET-R205UBEGSTD/accdetail.aspx
It allows the SII to be a USB Host. Does something like this also exist for the Evo 3d?
peter9991 said:
Hey everyone.
On the German Samsung site i found this adapter for the Galaxy SII:
http://samsung.de/de/Privatkunden/Mobil/Mobiltelefone/Zubehoer/etr205u/ET-R205UBEGSTD/accdetail.aspx
It allows the SII to be a USB Host. Does something like this also exist for the Evo 3d?
Click to expand...
Click to collapse
Like the above post said...you'll need Rom+Kernel support enabled...as of right now the kernel is only working on some evo3D's but not all. Chad has stated his next sense kernel should have it working on all evo3d's that have Rom support. At this time I think the only Rom confirmed working with Host mode is Olympus. I'm running Chad's Kernel & Olympus but still haven't got it to work. I'm just waiting for Chad to finish up his release, can't wait !!
BTW search Ebay for USB OTG or OTG Cable you'll see plenty
Sorry for my English .. Hello everyone first of all, any driver to control the MHL from the PC?
The truth did not know very well where to place this post, but I think the media is the main function and see if you're lucky, the idea is to propose or if anyone knows, the android can control from your PC, as the case Samsung TVs that recognize the application MHL Device Anynet + (post link). The idea is to connect mobile phone to a computer with a touch screen and control it from the screen contenplando the quality of this type of connection and future applications, CarPC, game systems, internet browsers.
So far the closest I've seen is through a remote program or Android QtADB Commander, but they perform a virtualization and graphics functions are very limited (videos, photos, games, etc. ..).
An interesting idea would be that an application for Android was able to control the touch screen driver THROUGH USB host our phones, this topic is more interesting and juicy indeed already been mentioned in some places but unfortunately I guess we have to wait to get the ICS to Partin, do not you think?.
For those interested in the latter is here.
Greetings.

[Q] A/V output.

Hello everybody,
I know that the scene is working really hard making and porting ROMS for the NT, now that CM7 (ALPHA) is out... I'm curious if is a CHANCE or light in the future to use a micro USB/HDMI output to be able to connect the tablet to a HD TV using MHL.
PS: Is the CM7 KERNEL capable of mounting or recognize keyboards, gamepads etc etc with micro USB port.
apavoratiago said:
Hello everybody,
I know that the scene is working really hard making and porting ROMS for the NT, now that CM7 (ALPHA) is out... I'm curious if is a CHANCE or light in the future to use a micro USB/HDMI output to be able to connect the tablet to a HD TV using MHL.
PS: Is the CM7 KERNEL capable of mounting or recognize keyboards, gamepads etc etc with micro USB port.
Click to expand...
Click to collapse
I'm pretty sure that video output would require some hardware support, soas far as I know that won't be possible.
I don't know about using the USB for external devices, but if they ever figure out the "magic number" it should be possible via Bluetooth.
apavoratiago said:
Hello everybody,
I know that the scene is working really hard making and porting ROMS for the NT, now that CM7 (ALPHA) is out... I'm curious if is a CHANCE or light in the future to use a micro USB/HDMI output to be able to connect the tablet to a HD TV using MHL.
PS: Is the CM7 KERNEL capable of mounting or recognize keyboards, gamepads etc etc with micro USB port.
Click to expand...
Click to collapse
MHL is pretty cool .But AFAIK Nook does not have a HDMI out function. B&N would've advertised the **** out of this feature , coz it would have been a great advertising feature .IIRC most 7" tabs lack video output .
USB OTG has not been described as a feature and seems very unlikely .
If the bluetooth module (present but disabled) is unlocked and drivers installed , then BT keyboards, gamepads possible in the distant future .
Hav fun
Gwindli said:
I'm pretty sure that video output would require some hardware support, soas far as I know that won't be possible.
I don't know about using the USB for external devices, but if they ever figure out the "magic number" it should be possible via Bluetooth.
Click to expand...
Click to collapse
It is possible to pipe the display signal with software plugin and rebuild in PC via normal USB connector. It works in PSP.
Can someone send me the internal zip for cm7 please
Sent from my BNTV250 using xda premium
scotthall1515 said:
Can someone send me the internal zip for cm7 please
Sent from my BNTV250 using xda premium
Click to expand...
Click to collapse
This would be awesome.

[Q] G-Tablet hacking without screen

Hi all,
The backlight on my G-Tablet failed today, the LCD itself still works but without the backlight its pretty much useless as a tablet.
So I am trying to figure out if I can salvage it for other uses, mainly 'headless' (no screen) ARM Linux development. Tegra 2 should still pack a punch, without having to buy a Beagleboard or similar.
So, I want to know:
1. Will a HDMI cable/dock display everything on screen from bootup onwards? (i.e does CWM work with HDMI-out). Are there any kernel-level dependencies on having HDMI out working?
2. Are there any serial, jtag or the like pads on the PCB? Serial would be very useful, but it seems no one has looked for either..
Tremere said:
2. Are there any serial, jtag or the like pads on the PCB? Serial would be very useful, but it seems no one has looked for either..
Click to expand...
Click to collapse
If you just want to do development--ie. you just want to use the gTab as a headless computer--you can setup and use ADB and/or a ssh/telnet server on the tablet.
True, I would be looking to natively boot a Linux distribution rather than use Android, I would have to put ADB support into the system ( at least we have a capable kernel already). That probably won't give me any kernel boot messages.
I'll just order the HDMI cable and see if that does the trick.
Tremere said:
True, I would be looking to natively boot a Linux distribution rather than use Android, I would have to put ADB support into the system ( at least we have a capable kernel already). That probably won't give me any kernel boot messages.
I'll just order the HDMI cable and see if that does the trick.
Click to expand...
Click to collapse
Any updates on this? My backlight went out as well and would like to know if you got the hdmi to display on a monitor or TV?
truvoo said:
Any updates on this? My backlight went out as well and would like to know if you got the hdmi to display on a monitor or TV?
Click to expand...
Click to collapse
1. Have you checked the cable(s) to the LCD?
2. HDMI via the dock should work, not certain if only the cable alone will do the job on all ROMs.
3. If the HDMI cable does not work, then running a VNC server on the gTablet (after install using: adb install ... ) should work too.

Download Links Not Working

When I click the mirror downloads button I get a "This site can't be reached" error. I can't use the torrent download link where I am.
Vdekjeza said:
When I click the mirror downloads button I get a "This site can't be reached" error. I can't use the torrent download link where I am.
Click to expand...
Click to collapse
The reason is because Jide has left the consumer market, and had completely stopped supporting their consumer products.
Now they only work with enterprises.
Try Phoenix OS instead.
Download torrent.
moriel5 said:
The reason is because Jide has left the consumer market, and had completely stopped supporting their consumer products.
Now they only work with enterprises.
Try Phoenix OS instead.
Click to expand...
Click to collapse
How does Phoenix compare with Remix? Will it work on a TW700 tablet? I have been trying for over a week to load Remix 3.0 with zero success
Sent from my mobile device
Shehzada said:
How does Phoenix compare with Remix? Will it work on a TW700 tablet? I have been trying for over a week to load Remix 3.0 with zero success
Click to expand...
Click to collapse
To say the truth, I had not gotten the chance to check Phoenix OS lately.
However, since you have a BayTrail CPU (those did not get much supportĺ I think that you're better off with the Android-X86 LOS or standard Linux (I highly recommend Solus, and the GNOME 3 UI has great support for touch displays), and even then, you will need to compile some of the drivers yourself (such as the touch driver for the screen, until you do so, you will absolutely have to connect a mouse and keyboard).
moriel5 said:
To say the truth, I had not gotten the chance to check Phoenix OS lately.
However, since you have a BayTrail CPU (those did not get much supportĺ I think that you're better off with the Android-X86 LOS or standard Linux (I highly recommend Solus, and the GNOME 3 UI has great support for touch displays), and even then, you will need to compile some of the drivers yourself (such as the touch driver for the screen, until you do so, you will absolutely have to connect a mouse and keyboard).
Click to expand...
Click to collapse
Thank you so much. I am checking your recommendations as i type this.
My other problem is the 1GB Ram. Which one of those you think will work best.
I am planning on connecting it via HDMI to my TV and running just 1 android app (hmdi audio/video is all i need). I don't care about touchscreen support.
Sent from my mobile device
Shehzada said:
Thank you so much. I am checking your recommendations as i type this.
My other problem is the 1GB Ram. Which one of those you think will work best.
I am planning on connecting it via HDMI to my TV and running just 1 android app (hmdi audio/video is all i need). I don't care about touchscreen support.
Click to expand...
Click to collapse
With only 1 GB of RAM, I highly recommend using Android-x86's LOS 15.1 (you will still need to compile the touch driver for the screen, and probably other drivers as well, including audio and HDMI.
Thanks...will let u know how it goes.
Sent from my mobile device
You were right. I wasn't able to find LOS 15.1 but did boot 14.1 and though it did reboot on its own twice, it did finally load. It was however very slow.
I tried it on the TW801 which has 2GB Ram and it was more fluid. Touchscreen​ did work and so did Wifi. Hdmi audio was the bummer.
I have officially given up installing android on the TW700.....I don't think tje tablet is capable of running it well and even if it did.... HDMI audio will be a lost cause.
Thanks for your help....i appreciate it and at least I did finally got to see android on it.
Sent from my mobile device
Shehzada said:
You were right. I wasn't able to find LOS 15.1 but did boot 14.1 and though it did reboot on its own twice, it did finally load. It was however very slow.
I tried it on the TW801 which has 2GB Ram and it was more fluid. Touchscreen​ did work and so did Wifi. Hdmi audio was the bummer.
I have officially given up installing android on the TW700.....I don't think tje tablet is capable of running it well and even if it did.... HDMI audio will be a lost cause.
Thanks for your help....i appreciate it and at least I did finally got to see android on it.
Click to expand...
Click to collapse
Wait, how about you try running a standard Linux distribution on it?
You may still need to compile the drivers, however there is a higher chance that things will work properly after running updates and rebooting without any compilations.
I tried ubuntu live...slow on the 700 better on the 801. I ordered an Android box..... should receive it today. Lol
Sent from my mobile device
Shehzada said:
I tried ubuntu live...slow on the 700 better on the 801. I ordered an Android box..... should receive it today. Lol
Click to expand...
Click to collapse
However did touch work properly?
moriel5 said:
However did touch work properly?
Click to expand...
Click to collapse
Touch did not work.
Sent from my mobile device
Shehzada said:
Touch did not work.
Click to expand...
Click to collapse
And this was Ubuntu 18.04, correct?
I tried 16.04.4 64 bit
Sent from my mobile device
Shehzada said:
I tried 16.04.4 64 bit
Click to expand...
Click to collapse
Why such an old version?
18.04 has a much newer kernel (I think 4.14 or 4.15), and as such, has a much higher chance of working properly with your hardware (you may still need to compile drivers, however it's not too hard when people have already prepared the code and instructions for you), plus, it uses GNOME rather than Unity (which is discontinued by Canonical), which is at version 3.28, a release that brought many optimizations to system resources, so it should run more smoothly.
Also, when installed, it'll be be much faster, since the internal NAND is much faster than a USB drive, partly because of the fact that it ustilizes the SATA protocol, rather than the USB protocol, and partly because the chip is just way faster.
I thought that my limitation is the poor processor and the RAM. If I had a celeron it would fly.
These tablets are only good for the operating system they came with from the factory.
Sent from my mobile device
Shehzada said:
I thought that my limitation is the poor processor and the RAM. If I had a celeron it would fly.
These tablets are only good for the operating system they came with from the factory.
Click to expand...
Click to collapse
While an Atom processor is certainly no fun (I have an old Dell Inspiron mini 1018, so I know how it feels), it can be faster than you think.
That old laptop (it was also my first laptop) has a single core Atom CPU, from the N series (the N455), and I was running it with Windows 7.
While it does not have an OS right now (I accidentally broke the keyboard connector on the motherboard while testing RAM sticks for work (I volunteered to do this), and salvaged the hard drive for my desktop (I have 12 hard drives, and 10 trays, 2 of which are are for 2.5" drives. The hard drives were all, save for one, which was bought second hand together with the computer (the case was bought seperately), salvaged from old PCs that people had thrown away), it runs alright on Ubuntu (and slightly better on Solus), however you have a quad-core Atom, which also generates less heat (so less throttling), so it will run much better.
I am not saying that the OS will fly, after all, it does not have a core i3 CPU, however it will outperform your expectation.
Thanks. Today I can't wait to get home to the Android box being delivered.
When I get some time....i will try to load 18.04 and report back. Thanks again.
Sent from my mobile device

Categories

Resources