Android OS Forum banner

UNOFFICIAL CM9 with working camera

498K views 967 replies 211 participants last post by  nevertells 
#1 · (Edited by Moderator)
CM9 with working camera

Download link:
Starting from 20121217 official nightly there's no need to install any patches - all is included.

Camera controls & rotation fix for official nightly since 20121209-20121216:
http://goo.im/devs/D...-camera-fix.zip

Camera update for official nightly since 20121118 - 20121202:
Preview15: http://goo.im/devs/D...or-official.zip

If you like my works you can donate me

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

Changelog:
preview1
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

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

preview3
fixed stock camera app in preview2

preview4
stock camera app controls fixed, broken skype

preview5
fixed skype in preview4

preview6
working video recording

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

preview8
rotation fixed in stock Camera app

preview9
recording resolution is 640x480 now

preview10
libcamera from source

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

preview12
no more blue screen

preview13
potential segfaults fixed

preview15
freeze & reboot issue fixed

Sources repository:
ICS camera wrapper: https://github.com/D...garay/camerahal
kernel: https://github.com/D...rnel-tenderloin
CM9 patch scripts: https://github.com/D...in-camera-build
 
See less See more
#2 · (Edited by Moderator)
3rd Party compatibility (alphabetical order):

Camera MX - rotated preview
Camera ZOOM MX - rotated preview
Cartoon Camera - rotated preview
Google Hangouts - working
ICS Camera - rotated preview (until first picture)
Line Camera - rotated preview
LOMO Camera - not working
Magic Hour Free - not working
Nemus Camera - rotated preview
Paper Camera - rotated preview
Pudding Camera - rotated preview
Skype - working
uCam Ultra Camera - video recording crashes
 
#223 ·
Stock Camera - rotated preview (until first picture)

3rd Party compatibility (alphabetical order):

Camera MX - rotated preview (always)
Camera ZOOM MX - rotated preview (always)
Cartoon Camera - rotated preview (always)
ICS Camera - rotated preview (until first picture), messed up preview size, video recording does not work
Line Camera - rotated preview
LOMO Camera - not working
Magic Hour Free - not working
Nemus Camera - rotated preview
Paper Camera - rotated preview (always)
Pudding Camera - rotated preview
Skype - video is working
uCam Ultra Camera - correctly rotated, video recording crashes
the advanced camera in Instagram is working perfectly good vertically.
 
#14 ·
Lalalalala love this shit hopefully a complete 100% working Rom on the way
Wondering if there is anyway I can incorporate this fix inside of the aokp /cm9 remix from 9/24

If anyone has an idea throw them out to me

Btw flashed and loveit

Sent from my aokp_tenderloin using Tapatalk 2
 
#27 ·
Built per your instructions on your repository, and it did build and boot, but camera would not work. When I activated the camera, got the standard 'sorry, app has failed' message. Did a repo sync before following your directions. I think I also remember some error messages while running the "apply-camera_patches.sh", but wasn't sure if those were expected or not. Any suggestions?
 
#28 ·
Per Occam's Razor, the simplest solution is generally the best - or something like that. Download the zip in the OP, Nandroid your TP then flash the downloaded zip. Try it. If you like it, keep it. If you don't, revert.
 
#50 ·
I too am curious about which nightly build was used for this ROM. It works exactly as described and all else seems to have remained stable. A HUGE thank you, [background=rgb(245, 245, 245)]Dorregaray, for sticking it out and inventing this solution. What an accomplishment![/background]
 
This is an older thread, you may not receive a response, and could be reviving an old thread. Please consider creating a new thread.
Top