5,605,766 Members 48,341 Now Online
XDA Developers Android and Mobile Development Forum

[ROM] Camera patch for CM9 official nightlies & UNOFFICIAL CM9 with working camera

Tip us?
(Last edited by _Dorregaray_; 17th December 2012 at 09:07 PM.)
Senior Member - OP
Thanks Meter 1058
Posts: 158
Join Date: Sep 2012
Location: Katowice

Default [ROM] Camera patch for CM9 official nightlies & UNOFFICIAL CM9 with working camera

The camera update for CM9 nightlies

Download link:
Starting from 20121217 official nightly no patches are needed.

Camera update for official nightly 20121209-20121216:

Camera update for official nightly 20121118 - 20121202:

What is working:
- preview
- taking pictures
- video recording
- Skype

Known issues:
- preview aspect ratio

Reporting issues:
- if you're running nightly older than 20121118 upgrade it to the latest one
- don't report issues with apps other than stock Camera and Skype
- yes, I know, the preview aspect ratio is wrong
- provide the date of the nightly you are using
- provide information if camera works under Web-OS
- please provide the system log (logcat) from system start and camera app start

first release, taking pictures work, skype does not work, reboot required after closing the camera app to be able to take pictures again, blue screen

skype works, no reboot required after closing camera app, blue screen, regression stock camera app may not take pictures

fixed stock camera app in preview2

stock camera app controls fixed, broken skype

fixed skype broken in preview4

fixed video recording

added EXIF tag with date & time to the pictures
updated audio & video drivers, updated nfs kernel modules,
added touch pressure patch and magnetometer fix

preview rotation fixed in stock Camera app

recording resolution is 640x480 now

now we have libcamera built from source

no more 3:1 memory split, now as update for official nightly

no more blue screen

potential segfaults fixed

freeze & reboot issue fixed


If you like my job you can donate me
The Following 172 Users Say Thank You to _Dorregaray_ For This Useful Post: [ Click to Expand ]
(Last edited by ranjib; 11th October 2012 at 06:51 PM.)
Senior Member
Thanks Meter 24
Posts: 212
Join Date: Nov 2010
Thank you. Very much!

so far: 3T02469563050300W

Here is the link to the rootzwiki-thread...
The Following User Says Thank You to ranjib For This Useful Post: [ Click to Expand ]
Senior Member
Thanks Meter 84
Posts: 338
Join Date: Nov 2010
Thank you you are the best
-SGA- Old
Thanks Meter
Posts: n/a

Sent from my aokp_tenderloin using xda premium
Senior Member
Thanks Meter 110
Posts: 505
Join Date: Apr 2012
curious, did you have to build a driver from scratch?
Senior Member
Thanks Meter 33
Posts: 235
Join Date: Jan 2011
Wait what!?

I don't know why I continue to be amazed by the development community but wow...thanks for doing the unthinkable!

Sent from my aokp_tenderloin using xda app-developers app
Senior Member
Thanks Meter 81
Posts: 601
Join Date: Sep 2011
wonder why this thread is under another touchpad dev thread. still the same android rite?
Senior Member
Thanks Meter 107
Posts: 532
Join Date: May 2012
Very good job, thank you.
I’ve learned… That life is like a roll of toilet paper. The closer it gets to the end, the faster it goes.
(Last edited by blmvxer; 26th September 2012 at 05:06 PM.)
blmvxer's Avatar
Senior Member
Thanks Meter 453
Posts: 1,146
Join Date: Jan 2012
So here's what has happened so far, flashed over the latest cm9 unofficial. Which what I run. First boot blue screen, second boot camera displays my face but won't take picture, close camera, open camera...cannot connect to camera.

Sent from my cm_tenderloin using xda app-developers app

I installed camera ICS, rebooted, waited for the SD card to stop checking for errors(just like with any OS starting you need to give it a breather) and so far the camera takes pictures perfect.
Samsung Galaxy Nexus(Sprint) - Android 4.4.2(CM11)
HTC Evo Shift 4G - Android 4.4(Evervolv)
HTC Desire(Bravo C) - Android 2.3.7(CM7.2.0)
Nexus 7 - Ubuntu Touch 14.04 and Android 4.4.2
HP Touchpad - WebOS 3.0.5(Have Installed Ubuntu Touch 13.10, Ubuntu 13.04, and Android 4.0-4.3)
Acer C710 Chromebook - ChromeOS 32 and Ubuntu 13.04
Dell Latitude 2100 - Sabayon Linux
Dell Optiplex 755 - Ubuntu 13.10(Liqourix Kernel 3.12)
Dell D600 - Bodhi Linux
The Following User Says Thank You to blmvxer For This Useful Post: [ Click to Expand ]
(Last edited by aashishlive; 27th September 2012 at 05:55 AM.) Reason: error
Junior Member
Thanks Meter 2
Posts: 5
Join Date: Feb 2011
Thumbs up Congrats and Thanks _Dorregaray_: What a HaRd WoRkeR!!!!!!!

Thanks a lot _Dorregaray_ , have been following your efforts on rootzwiki.... And i am very glad to see the time u have spent on this driver and its integration has finally worked out.. Thumbs UP...
Installed it yesterday itself, and it does exactly wat u have mentioned!!!!!!!!!!!!

and one more request kindly someone post this also in Android development thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes