FORUMS
Remove All Ads from XDA

[17 May][AOSP 4.3, 4.4][PORT][APP]Fixed Camera App and Lib for CM/All AOSP roms

2,450 posts
Thanks Meter: 1,680
 
By RohanAJoshi, Senior Member on 31st October 2013, 09:50 PM
Post Reply Email Thread
*OmniRom/based users, flash Omni Rom Mod*
.
Steps for install :
1. Reboot to recovery.
2. Flash zip.
3. Wipe cache and dalvik.
4. Reboot phone normally.

This will replace your current camera app.

Tested on : Official cm10.2 nightlies, Temasek's Unofficial cm10.2, Temasek's Unofficial cm11.0.

Works on : Mostly all CM/AOSP based roms like PA,,AOKP, Carbonn Rom, PAC, etc.

Changelog :

V5 Update on 17/05/2014 :

For CM Mod : 1. New camera app from CM11S with cool UI and more features.
2. Added wrapper to blob camera.
3. Fixed Goggle camera freeze after 1st shot. (http://review.cyanogenmod.org/64070)
4. Added perfectly working snapshot while video recording feature. (http://review.cyanogenmod.org/64071)

For OmniRom : New camera app from CM11S with cool UI and more features.

Downloads :

1. For CM, Slim Rom, AOKP, Carbonn Rom, Temasek Rom, Neat AOSP, C-Rom etc which are using blob camera : Click here for download

2. For Omni Rom users which is using Open Source camera HAL : Click here for download

V4.0 Update on 01/04/2014:

Completely reworked and new camera HAL by @dhiru1602 with help of @tdcfpp aka Javier Ferrer.
.
Fixes / New features :
1. Most causes of "Can't Connect Camera" error are resolved, For me, no more can't connect camera error whatever I do.
2. Included Snapshot while video recording.
3. Fixed : Video recording focus issues.
4. Fixed : Sometimes shutter gets disabled, no matter how hard we bash it.
5. Fixed : Sometimes Pictures comes blurry ever after correct focus.
6. Most of front camera issues are fixed.
7. More those I did not remember.
.
Bugs :
1. Stock Camera app does not refocus after 1st shot in Continuous Picture Mode, Use any 3rd party app I mentioned previously for Continuous Picture Mode.
WorkAroud : Set focus to Auto in default camera settings.
2. Snapshot while video recording only working nice till 480p size, in 720p and 1080p snapshots stops after few shots and camera becomes unstable.
3. Face detection is broken.
.
I have changed stock camera app to camera from AOSP Neat Rom 3.10, Thanks to @_Sale_ and @tarzan11

V3 / OmniRom Lib V2 :
* Added latest patches by @dhiru1602
http://review.cyanogenmod.org/#/c/57294/
http://review.cyanogenmod.org/#/c/57293/

* Added support for face detection without any crash.
* Added Power and Volume button as shutter. Thanks to @rori~ Camera CM_11 Fix & Features v.3 by rori~

Bugs From cm11 camera App which are available in this mod for CM based roms :
*Continuous Picture mode is taking only 1 pic with focus, other pictures comes without focus,so use bellow given app.
*Face Detection is not working in stock camera app, you need to use supported app, some of them are listed below.
1. Nexus 5 Galley and Camera by RagzDog
2. Lenovo Super Camera
3. Camera Awesome

OmniRom users, Enjoy lib, your camera will work without any crash.

V2.3 / OmniRom lib V1.1 :
* added latest lib with following commits merged [Thanks to @Moster2 for lib] :
http://review.cyanogenmod.org/#/c/54818/
http://review.cyanogenmod.org/#/c/54817/
http://review.cyanogenmod.org/#/c/54690/ [patch 2]

V2.2 :
* Changed camera and gallery app to cm10.2 latest, same features with nice UI.

V2.1 :
* Added latest lib with minor fixes by DhiruCVR
* Now all functions working properly.


V2 :
* Support for Android 4.4 roms.
* Using latest lib provided by DhiruCVR.



Pros:
1. Storage to external SD. (Tested on Temasek's cm11 builds)
2. Timely synchronized flash when auto focus is on.
3. All camera features those were available on cm10.2 nightlies.

Cons/Bugs :
1. Video recording previews are stretched, but recording comes normal.
2. Gallery can't delete images captured from camera from external sd card, internal sdcard working good.

Screenshots : http://forum.xda-developers.com/show...59&postcount=5

For "Can't connect camera" error please use following app (Credit to Temasek) :
Restart Camera by temasek APK from attachments

Credits :
Dhiru1602(For perfectly working lib),Temasek(for camera app).

Downloads :

1. For CM, Slim Rom, AOKP, Carbonn Rom, Temasek Rom, Neat AOSP, C-Rom etc which are using blob camera : Click here for download

2. For Omni Rom users which is using Open Source camera HAL : Click here for download
The Following 264 Users Say Thank You to RohanAJoshi For This Useful Post: [ View ] Gift RohanAJoshi Ad-Free
31st October 2013, 10:59 PM |#2  
andrewwright's Avatar
Senior Member
Flag east
Thanks Meter: 4,964
 
Donate to Me
More
Very handy. Thank you
1st November 2013, 12:56 AM |#3  
Senior Member
Flag A Coruña
Thanks Meter: 207
 
More
Thanks for your job

Enviado desde mi GT-I9300 mediante Tapatalk
1st November 2013, 04:35 AM |#4  
supreethms's Avatar
Senior Member
Flag Bangalore
Thanks Meter: 185
 
More
No issues.
And thanks for the port. Video works PERFECTLY too.
The Following User Says Thank You to supreethms For This Useful Post: [ View ] Gift supreethms Ad-Free
1st November 2013, 04:58 AM |#5  
RohanAJoshi's Avatar
OP Senior Member
Flag Pune
Thanks Meter: 1,680
 
More
Screenshots :

Attached Thumbnails
Click image for larger version

Name:	Screenshot_2013-11-26-23-34-00.jpg
Views:	16571
Size:	51.4 KB
ID:	2416473   Click image for larger version

Name:	Screenshot_2013-11-26-23-34-07.jpg
Views:	25363
Size:	60.2 KB
ID:	2416474   Click image for larger version

Name:	Screenshot_2013-11-26-23-34-14.png
Views:	20715
Size:	200.5 KB
ID:	2416475   Click image for larger version

Name:	Screenshot_2013-11-26-23-34-35.jpg
Views:	15540
Size:	75.8 KB
ID:	2416476  
The Following 8 Users Say Thank You to RohanAJoshi For This Useful Post: [ View ] Gift RohanAJoshi Ad-Free
1st November 2013, 05:00 AM |#6  
supreethms's Avatar
Senior Member
Flag Bangalore
Thanks Meter: 185
 
More
Quote:
Originally Posted by RohanAJoshi

that is the old problem of cm camera even in 10.1.
please use restart camera. apk.

No sir. That's not it.
Camera FV5 game me the right info.
The driver problem.
I deleted te above mentioned file.
Everything is alright.
Even TWCamera port is working fine.
And your port is working flawlessly. Video recording is also perfect even with TWCamera port installed.

Thanks again.
The Following User Says Thank You to supreethms For This Useful Post: [ View ] Gift supreethms Ad-Free
1st November 2013, 08:22 AM |#7  
RohanAJoshi's Avatar
OP Senior Member
Flag Pune
Thanks Meter: 1,680
 
More
Quote:
Originally Posted by supreethms

No sir. That's not it.
Camera FV5 game me the right info.
The driver problem.
I deleted te above mentioned file.
Everything is alright.
Even TWCamera port is working fine.
And your port is working flawlessly. Video recording is also perfect even with TWCamera port installed.

Thanks again.

I got it.
TWCamera port pushes camera.smdk4x12.so and my port pushes vendor-camera.exynos4.so.
so in system we get two same files with different names.
that's why we need to delete one of them.
Now I m updating mod with same file name as TWCamera port.
this will solve confusion.
The Following 3 Users Say Thank You to RohanAJoshi For This Useful Post: [ View ] Gift RohanAJoshi Ad-Free
1st November 2013, 08:36 AM |#8  
RohanAJoshi's Avatar
OP Senior Member
Flag Pune
Thanks Meter: 1,680
 
More
New file uploaded.
The Following 3 Users Say Thank You to RohanAJoshi For This Useful Post: [ View ] Gift RohanAJoshi Ad-Free
1st November 2013, 10:35 AM |#9  
supreethms's Avatar
Senior Member
Flag Bangalore
Thanks Meter: 185
 
More
Quote:
Originally Posted by RohanAJoshi

I got it.
TWCamera port pushes camera.smdk4x12.so and my port pushes vendor-camera.exynos4.so.
so in system we get two same files with different names.
that's why we need to delete one of them.
Now I m updating mod with same file name as TWCamera port.
this will solve confusion.

Exactly what i wanted to express.
1st November 2013, 11:30 AM |#10  
Senior Member
Thanks Meter: 54
 
More
this looks interesting!

I'm on beanstalk 4.3 ROM for my phone, and the ROM has no working camera right now. there is a beanstalk 4.2 ROM with working cam. can you describe which files/apps i need to get from it?

Sent from my Xperia Acro S using xda app-developers app
1st November 2013, 11:47 AM |#11  
RohanAJoshi's Avatar
OP Senior Member
Flag Pune
Thanks Meter: 1,680
 
More
Quote:
Originally Posted by steveeJ

this looks interesting!

I'm on beanstalk 4.3 ROM for my phone, and the ROM has no working camera right now. there is a beanstalk 4.2 ROM with working cam. can you describe which files/apps i need to get from it?

Sent from my Xperia Acro S using xda app-developers app

i never tried this on beanstalk..
but if that aosp based then this will work.
just flash from recovery..
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes