Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,772,899 Members 49,065 Now Online
XDA Developers Android and Mobile Development Forum
View Poll Results: Do you think HTC has cheated by calling the 3rd camera a "depth sensor"?
Yes, definitely. I thought it was a sp. hw sensor 1 8.33%
No, it's OK, expected a stereoscopic cam. anyway 3 25.00%
Can't say. It just doesn't matter. 8 66.67%
Voters: 12. You may not vote on this poll

[how to] capture pictures from ALL 3 cameras (in RGB, yes)

Tip us?
 
RealMcAlec
Old
(Last edited by RealMcAlec; 18th April 2014 at 02:44 PM.) Reason: cor. some typos.
#1  
Junior Member - OP
Thanks Meter 2
Posts: 12
Join Date: Apr 2014
Location: Hannover
Cool [how to] capture pictures from ALL 3 cameras (in RGB, yes)

If you want to experiment with your HTC One (M8) and want to know about the "secret" second rear camera, then this thread is for you. Works with M8 ONLY!

HTC told the press and the htcdev-members (after releasing the SDK) recently that the second lens of the "duo camera" would be something like a depth sensor. It turns out that this is definitely not the case. It is just a simple RGB-cam with 1080p resolution.

I read about the functionality and concept behind the camera on the following page (German only):
Concept of HTC One M8's Duo-Camera (title modified/translated)

On the page there is a sample App called DuoCamTest. It needs a rooted M8, APK and source can be downloaded.
The guys there used an internal debug-interface located at /system/bin/camera_test to take two pictures at the same time. One with full resolution (4 MP) and one with 2 MP (Full HD) using the second rear camera. On a rooted device you can play around with it.

I discovered a way to identify all the three camera-modules. Don't know, if somebody did this before, sorry:
Code:
  cat /sys/android_camera/sensor
  cat /sys/android_camera2/sensor
  cat /sys/android_camera3/sensor
OK, that was easy. Have fun.
The Following User Says Thank You to RealMcAlec For This Useful Post: [ Click to Expand ]
 
mushages
Old
#2  
mushages's Avatar
Senior Member
Thanks Meter 374
Posts: 728
Join Date: Sep 2009
Location: Muscat

 
DONATE TO ME
its said to be Duo camera means two cameras but HTC decided to name the smaller one as "depth sensor".
FiReFlaMe
Previous:HTC HD2 (Leo) {R.I.P}, HTC Butterfly S(Sold)
Current:SE Xperia X1 (HTC Kovsky), HTC One X (Tegra 3), HTC One M8

Donate or Thank to help me!
 
Tikerz
Old
#3  
Tikerz's Avatar
Senior Member
Thanks Meter 279
Posts: 1,741
Join Date: Nov 2005
Location: Phoenix
Here's the APK to make it easier for everyone.
Attached Files
File Type: apk DuoCamTest.apk - [Click for QR Code] (312.8 KB, 112 views)
LG G3
LG G Watch
The Following 3 Users Say Thank You to Tikerz For This Useful Post: [ Click to Expand ]
 
Maedhros
Old
#4  
Senior Member
Thanks Meter 121
Posts: 989
Join Date: Sep 2008
Location: Toronto
Quote:
Originally Posted by RealMcAlec View Post
If you want to experiment with your HTC One (M8) and want to know about the "secret" second rear camera, then this thread is for you. Works with M8 ONLY!

HTC told the press and the htcdev-members (after releasing the SDK) recently that the second lens of the "duo camera" would be something like a depth sensor. It turns out that this is definitely not the case. It is just a simple RGB-cam with 1080p resolution.
Would it be possible for us to take 1080p pictures with improved color/quality?
 
superchilpil
Old
#5  
superchilpil's Avatar
Senior Member
Thanks Meter 1209
Posts: 3,765
Join Date: Sep 2009
Location: Texas

 
DONATE TO ME
This app says that it proves the second sensor is a regular cam instead of a magical depth sensor.
Nobody made the claim it wasn't, HTC said the second camera is used for depth information. Key word is used here.

Just my two cents


Sent from my HTC One_M8 using Tapatalk
=========================

AT&T HTC One

Help me fill up my thanks meter by hitting thanks
==================================================
 
BerndM14
Old
#6  
Senior Member
Thanks Meter 155
Posts: 505
Join Date: Apr 2014
Quote:
Originally Posted by superchilpil View Post
This app says that it proves the second sensor is a regular cam instead of a magical depth sensor.
Nobody made the claim it wasn't, HTC said the second camera is used for depth information. Key word is used here.

Just my two cents


Sent from my HTC One_M8 using Tapatalk
Well someone had to make the claim, else where did the claim come from?

Just my two cents
Tags
3d-camera, cheated, duo-camera, hack, htc-m8
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Replace Your Stock Phone App with Reactiv Dialer

Your smartphone’s dialer app is obviously one of the most frequently used apps you … more

How to Factory Reset your Samsung Gear Live Android Wear SmartWatch – XDA Developer TV

Do you want to Factory Reset your Samsung Gear … more

Get Your Special xda:devcon ’14 Hotel And Conference Rate While It Lasts

By now you’ve definitely heard about XDA’s … more

Google Chromecast Rootable Once Again!

Over the six months, theGoogle Chromecasthas gained a considerable amount of official functionality. … more