user15886: For learning and hacking purposes, I plan to study and use parts from smartphones and tablets like Galaxy or iPhone. They are really efficient and pretty cheap...
Did anybody do this before? If yes, can anybody tell me what kind of connector is this one on the galaxy camera, Galaxy Tab S 10.5 Front Facing Camera (Wi-Fi), and whether it can be found for attaching it to an Arduino project? 
Edit: Someone else asked a similar question here, How to reuse quality camera from old / broken phone.

user7102: (summary of comment thread)
I strongly recommend against trying to use any of these smartphone camera replacement parts. While they are cheap, this is because the signal they output is nigh impossible for you to use, even if you knew its specifications, which is unlikely given proprietary parts often have proprietary, non-public protocols. Even if you did have it, you'd likely have to implement a linux kernel extension for Raspberry Pi yourself to support it. Far more work than it's worth.
If you actually want to do image processing, there is a clear recommendation: the Raspberry Pi camera interface. RasPis have a special flex socket on the board for a camera, and you can buy cameras which work with the raspivid etc. commands included in raspbian with no extra setup. This allows you to use OpenCV or similar image processing libraries, or write your own, without having to worry about bitbanging obscure camera protocols.
No-name camera boards can be bought from eBay or similar sites for less than US$20, and they support 30fps 5 MP image/video capture to the Raspberry Pi natively and easily. Just search for "Raspberry Pi camera".
However...
If you're really sure you're up to the challenge of hacking a proprietary camera module, you'll want to do thorough research finding the exact protocol specifications for these camera chips first, and try to find ones that are the most common, for the highest chance of compatibility, and likelihood of others having made progress on using them. Good luck!

user3917: The connector on the flex circuit from that camera was made by Hirose (it has an HRS logo on it), and might be in the BM10, BM14, or BM20 series.  You can measure the pin spacing, stacking height, etc. to check which series it's in.  For example, the Hirose BM14 series of FPC to board connectors has pins at 0.4 mm Pitch and 0.8 stacking height.
Mouser.com carries a 24-pin BM14 connector that might mate or match with the pictured connector.  For other photos of Hirose FPC connectors, see google images for hirose fpc.
While you probably can find a matching connector (via careful measurement and perhaps some trial and error) and build an interface, it may be difficult to use the camera once it's hooked up.  Most Arduino models have too little RAM to support image processing.  A Yun might do it, a Tre, or some other micro entirely, eg Beagle or Raspberry.

15886: <p>For learning and hacking purposes, I plan to study and use parts from smartphones and tablets like Galaxy or iPhone. They are really efficient and pretty cheap...</p>

<p>Did anybody do this before? If yes, can anybody tell me what kind of connector is this one on the galaxy camera, <a href="https://www.ifixit.com/Store/Parts/Galaxy-Tab-S-10-5-Front-Facing-Camera-Wi-Fi/IF252-001-1" rel="nofollow">Galaxy Tab S 10.5 Front Facing Camera (Wi-Fi)</a>, and whether it can be found for attaching it to an Arduino project? </p>

<p>Edit: Someone else asked a similar question here, <a href="http://forum.arduino.cc/index.php?topic=269272.0" rel="nofollow">How to reuse quality camera from old / broken phone</a>.</p>
 7102: <p><em>(summary of comment thread)</em></p>
<p>I <strong>strongly recommend</strong> against trying to use any of these smartphone camera replacement parts. While they are cheap, this is because the signal they output is nigh impossible for you to use, even if you knew its specifications, which is unlikely given proprietary parts often have proprietary, non-public protocols. Even if you did have it, you'd likely have to implement a linux kernel extension for Raspberry Pi yourself to support it. Far more work than it's worth.</p>
<p>If you actually want to do image processing, there is a clear recommendation: <strong>the Raspberry Pi camera interface</strong>. RasPis have a special flex socket on the board for a camera, and you can buy cameras which work with the <code>raspivid</code> etc. commands included in raspbian with no extra setup. This allows you to use OpenCV or similar image processing libraries, or write your own, without having to worry about bitbanging obscure camera protocols.</p>
<p>No-name camera boards can be bought from eBay or similar sites for less than US$20, and they support 30fps 5 MP image/video capture to the Raspberry Pi natively and easily. Just search for &quot;Raspberry Pi camera&quot;.</p>
<h3><em>However...</em></h3>
<p>If you're <em>really</em> sure you're up to the challenge of hacking a proprietary camera module, you'll want to do thorough research finding the exact protocol specifications for these camera chips first, and try to find ones that are the most common, for the highest chance of compatibility, and likelihood of others having made progress on using them. Good luck!</p>
 3917: <p>The connector on the flex circuit from that camera was made by Hirose (it has an HRS logo on it), and might be in the BM10, BM14, or BM20 series.  You can measure the pin spacing, stacking height, etc. to check which series it's in.  For example, the <a href="http://www.mouser.com/new/hiroseconnector/hirose-BM14-b2b-b2fpc-connectors/">Hirose BM14 series</a> of FPC to board connectors has pins at 0.4 mm Pitch and 0.8 stacking height.</p>

<p><a href="http://www.mouser.com/ProductDetail/Hirose-Connector/BM14B08-24DS-04V53/?qs=sGAEpiMZZMvffgRu4KC1R8YV3BvcJQGKbUaU25rr%252bdwhFlq%2fl3Wjjw%3d%3d">Mouser.com</a> carries a 24-pin BM14 connector that might mate or match with the pictured connector.  For other photos of Hirose FPC connectors, see <a href="https://www.google.com/search?hl=en&amp;site=imghp&amp;tbm=isch&amp;source=hp&amp;biw=1095&amp;bih=609&amp;q=hirose+fpc&amp;oq=hirose+fpc&amp;gs_l=img.3..0i24l2.2328.4678.0.5124.10.9.0.1.1.0.102.604.8j1.9.0....0...1ac.1.64.img..0.10.604.S8xAzOt5A_8">google images for <strong>hirose fpc</strong></a>.</p>

<p>While you probably can find a matching connector (via careful measurement and perhaps some trial and error) and build an interface, it may be difficult to use the camera once it's hooked up.  Most Arduino models have too little RAM to support image processing.  A Yun might do it, a Tre, or some other micro entirely, eg Beagle or Raspberry.</p>
