[DEPRECATED][CAMERA][SEMI-MANUAL][COS 12.1] Snapdragon Camera Mod

Status
Not open for further replies.

fgnm

Senior Member
Dec 3, 2014
258
529
0
Does that mean we can use manual focus with CM/COS Stock Hal?
I mean that stock Cyanogen OS 12.1 (maybe also the previous releases) is designed to have all manual controls! Yes, without modify HAL or anything else.. We miss only manual ISO.. I know it's strange (just because my old tab2 has only full manual ISO :p ), but this is life ;)
I'm going to talk to OP support to have full specification of IMX214, I've in mind so cool features :D
 
Last edited:

htb2050

Senior Member
Apr 8, 2009
1,302
602
0
I am only getting 2.1mp photo size as the Max. Any way to change that manually? I don't see the options in the app settings.
 

funCrash93

Senior Member
Jan 30, 2012
1,650
584
0
Iași
I mean that stock Cyanogen OS 12.1 (maybe also the previous releases) is designed to have all manual controls! Yes, without modify HAL or anything else.. We miss only manual ISO.. I know it's strange (just because my old tab2 has only full manual ISO :p ), but this is life ;)
I'm going to talk to OP support to have full specification of IMX214, I've in mind so cool features :D
I feel so much excitement :highfive:
good luck :fingers-crossed:

btw, made some comparison in terms of picture size between the following apps (all having the picture quality set to 100%) :
Google Camera
Snapdragon (Camera that came with the ROM, Blisspop CAF by Vivek_Neel)
CameraNextMOD (latest from abhi*)
Snapdragon Camera (installed via flashable zip as found to be "latest", seems to be same as the one from the rom but with different signature)
Snapdragon Camera (yours :D )

here is the log, pictures and some apks ;)
Code:
https://drive.google.com/folderview?id=0BwsE1N7puJrkYXBjMzBFUTJ4bW8&usp=sharing
what do you think @fgnm :confused: ;)


p.s. in the exact order as described for time stamps on photos, from first Google Camera to yours
 
Last edited:

fgnm

Senior Member
Dec 3, 2014
258
529
0
I feel so much excitement :highfive:
good luck :fingers-crossed:

btw, made some comparison in terms of picture size between the following apps (all having the picture quality set to 100%) :
Google Camera
Snapdragon (Camera that came with the ROM, Blisspop CAF by Vivek_Neel)
CameraNextMOD (latest from abhi*)
Snapdragon Camera (installed via flashable zip as found to be "latest", seems to be same as the one from the rom but with different signature)
Snapdragon Camera (yours :D )

here is the log, pictures and some apks ;)
Code:
https://drive.google.com/folderview?id=0BwsE1N7puJrkYXBjMzBFUTJ4bW8&usp=sharing
what do you think @fgnm :confused: ;)


p.s. in the exact order as described for time stamps on photos, from first Google Camera to yours
Nice comparison, I suppose that all these shots are in auto mode.. Well are different, but in mine opinion not so different.. I think that the real power of this camera is manual mode indeed this app was born only to unlock manual settings :pp
Try to play around with manual controls and see the difference.. Maybe I will post later some comparison with and without manual :)

EDIT:
Here are two photo with the same ambient condition, the first (marked with _one_plus_one.jpg) is made with manual controls (and stock HAL driver), the second one is made with stock CameraNext in auto mode:
https://drive.google.com/folder/d/0B4VedC7-LiZPdDFod29lbmhleU0/edit
I wanted to make a comparison with very low light condition but.. Stock CameraNext crashes (always lol)
 
Last edited:

KingStarTech

New member
May 7, 2014
2
0
0
I mean that stock Cyanogen OS 12.1 (maybe also the previous releases) is designed to have all manual controls! Yes, without modify HAL or anything else.. We miss only manual ISO.. I know it's strange (just because my old tab2 has only full manual ISO :p ), but this is life ;)
I'm going to talk to OP support to have full specification of IMX214, I've in mind so cool features :D
I know some people have said it's impossible but do you think you can fix the problem when the camera stops working after a long exposure with raw enabled?
If not, do you think it's possible to restart the camera without needing to reboot?
 

fgnm

Senior Member
Dec 3, 2014
258
529
0
I know some people have said it's impossible but do you think you can fix the problem when the camera stops working after a long exposure with raw enabled?
If not, do you think it's possible to restart the camera without needing to reboot?
I've tried many times to fix this problem without success.. The bug itself is in Bayer format and slow shutter..
Even if I manually kill media server from adb, camera won't restart, so the problem must be in HAL driver and again without source code there is nothing to do...
Just for information the latest driver update was committed on 4 Mar
 

fgnm

Senior Member
Dec 3, 2014
258
529
0
+1, it crashes here too, both on stock CM13 (just the source code on GitHub compiled) and Sultan's CM13.
Any way to make it work on android 6.0. Crashes when opening. Using sultan's Rom.
I get it working on stock CM13 but again it's still too early to have a full support, 4k DCI power shutter and many other features doesn't work.. When official nightly will be released I will start working on it :)
 

PatrickMac

Senior Member
May 12, 2012
665
218
73
I get it working on stock CM13 but again it's still too early to have a full support, 4k DCI power shutter and many other features doesn't work.. When official nightly will be released I will start working on it :)
Hey, any news on a playstore release? :)
 

troopii

Senior Member
Feb 17, 2013
556
839
133
Munich
I've tried many times to fix this problem without success.. The bug itself is in Bayer format and slow shutter..
Even if I manually kill media server from adb, camera won't restart, so the problem must be in HAL driver and again without source code there is nothing to do...
Just for information the latest driver update was committed on 4 Mar
The hal set a timeout limit(think it is 5sec). When its reached it throws a timeout ex. Had same problem with g4 and camera2. Normaly you should be able to release the camera when that happen. Alernative the timeout can get increased with hex the hal

11-04 11:29:53.372 2278-1585/? E/mm-camera: mct: mct_bus_sof_thread_run: SOF freeze; Sending error message
11-04 11:29:53.372 2278-1558/? E/mm-camera: mct: mct_controller_proc_bus_msg_internal: MCT_BUS_MSG_SEND_HW_ERROR
11-04 11:29:53.372 2278-2278/? E/mm-camera: main: camera daemon notify error

#define MCT_BUS_SOF_TIMEOUT 5000000000 /*in ns unit*/
 
Last edited:

fgnm

Senior Member
Dec 3, 2014
258
529
0
The hal set a timeout limit(think it is 5sec). When its reached it throws a timeout ex. Had same problem with g4 and camera2. Normaly you should be able to release the camera when that happen. Alernative the timeout can get increased with hex the hal

11-04 11:29:53.372 2278-1585/? E/mm-camera: mct: mct_bus_sof_thread_run: SOF freeze; Sending error message
11-04 11:29:53.372 2278-1558/? E/mm-camera: mct: mct_controller_proc_bus_msg_internal: MCT_BUS_MSG_SEND_HW_ERROR
11-04 11:29:53.372 2278-2278/? E/mm-camera: main: camera daemon notify error

#define MCT_BUS_SOF_TIMEOUT 5000000000 /*in ns unit*/
Wow this is exactly what I was looking for, thank you so much! Indeed OPO stock hal has a timeout up to 2sec (stock shutter speed provided by Qualcomm)
So this might solve our problems but do you have some ideas to find this value? in main camera.vendor.bacon.so there is nothing related to timeout
thank you again :)
 
  • Like
Reactions: funCrash93

troopii

Senior Member
Feb 17, 2013
556
839
133
Munich
best is to look up with IDA where its stored in the lib. then note the hexpostion and change it with a hexeditor.
the file you have to find is mct_bus.c in liboemcamera.
the problem is that there are not much values stored to identfiy it correct. it can end in alot try and error
 
  • Like
Reactions: MAX 94 and fgnm

dev0lver

Senior Member
Apr 20, 2013
667
269
93
Čakovec
Why does this app not save dng file on my phone, or to say raw format?
I have setted to save dng file, in options, clear image is on atm.
Tried to make some pictures with the phone, but only jpeg file gets saved..
Is that a bug or am I the only my one with this situation?
 

fgnm

Senior Member
Dec 3, 2014
258
529
0
Why does this app not save dng file on my phone, or to say raw format?
I have setted to save dng file, in options, clear image is on atm.
Tried to make some pictures with the phone, but only jpeg file gets saved..
Is that a bug or am I the only my one with this situation?
You haven't read carefully the first post ;)
First of all you have to set picture format to any Bayer (not YUV) then enable DNG raw and you will have a .dng file with a .raw, no jpeg will be generated (for the moment) ;)
 
  • Like
Reactions: MAX 94

dev0lver

Senior Member
Apr 20, 2013
667
269
93
Čakovec
You haven't read carefully the first post ;)
First of all you have to set picture format to any Bayer (not YUV) then enable DNG raw and you will have a .dng file with a .raw, no jpeg will be generated (for the moment) ;)
oh, ok
i misunderstood then, i thought that you can / it's possible to have jpeg and raw files saved on the phone at the same time, like, let's say with cameranextmod (saves jpeg and raw file one after another)
oh well, thnx for the help :)
 
D

Darth

Guest
Paid app postings require a free equivalent version for XDA members. Thread closed until a free version is available.

Darth
Forum Moderator
 
Status
Not open for further replies.