FORUMS
Remove All Ads from XDA

ICS Camera fix 8MP/6MP [v0.10]

677 posts
Thanks Meter: 4,791
 
Post Reply Email Thread
Hi everybody,

I've been going around the forum for a few months now without posting anything.

But Today I made my first beta fix for the Camera on ICS.

What works?:

* 8MP
* 6MP
* Others seems OK

It's using the native Jpeg encoding, so the images won't be 6Mega but will be compressed

Unlike the patch from z + J GB lib, the photo is taken each time.

How did I this?

I took the sources from Sony, and removed all the specific parts, face recognition, scenes and so on.
Used missing defines from Zte blade Ics repository.

I'm now testing with FXP CM9.1 and the default camera App

I'm running a FXP-kernel 140 or 139 but they are nearly the same.
I'm mostly using App Camera Zoom for taking picture (because it bought it when it was the one app that worked with htc wildfire ICS camera ) but the default app also takes pictures.

Binaries

Download zip file and apply using ClockWork Recovery

See next post for download links.


Sources

https://github.com/skritchz/android_device_semc_es209ra

The code is pretty a mess with #if and #endif to remove SEMC specific code, I'll clear it up later.

I'll be working on improving the code, but I only get one hour a day to work on this, so it might take some time.

If you find any bug please report, I'll try to fix them as soon as I possible.


Thanks to:

J for the existing camera lib which help me to understand the Sony sources
rapmv78 for the cameraHal.cpp
To the ZTE Blade team I found some missing defines.
Championswimmer for his great How To
DoomLord for his kernel generation script
Vasishta Reddy for his roms
Z for the hw_config.sh patch
THeLogic and kingstonxl for the feedback. Wouldn't be that good without them.
The Following 208 Users Say Thank You to scritch007 For This Useful Post: [ View ] Gift scritch007 Ad-Free
 
 
15th October 2012, 10:35 PM |#2  
OP Senior Member
Flag Reims
Thanks Meter: 4,791
 
Donate to Me
More
ICS Camera fix [beta 1] 8MP/6MP and so on
Binaries
http://www.wuala.com/scritch/Android

Now two version of roms. One with hw_config.sh (for CM9.1 users) and one without.

For people using CM9.1 by ME, don't flash hw_config.sh version, the fix is already included.

ChangeLog


[B]v0.10[/B>
* Add exposure compensation

v0.9
* Add zoom

v0.8

* Fix freeze issue.
* QR Code working (Check if there's no side effect on the lib)
* Iso Speed fixed.
* Update LOGGING with Semc one, for easier file comparison

v0.7-sceneTest
* Changed values for the scene, after kingstonxl feedback.
* Added ExifInfo (somme might not be correct yet. Working on it)
* Rotation now stored in exif, so pictures are now in the correct direction

V0.6-testScene
* Changed value for AutoFocus. Test if it is better. Macro should still be working.
* Added Scene mode. Check Scene mode value.

V0.5-unstable
* Changing quality now works
* White balance works
* Filter works
* Macro should now be working

V0.4-unstable

2 libs now, one with hw_config.sh and one without. For CM9.1 please use the standard one.
For other roms with old Camera fix, please use the -no_hw_config.zip file


* Added working autofocus.

Caution on my phone the default App is having issue when leaving app and reopening App. Please report Rom + Kernel if you get an issue.
Use ICS Camera + instead. (Or CameraZoom)


V0.3
* Ported Flash from J GB library (Torch + On + Off)
* Activated AutoFocus from Qualcomm (Doesn't seem to work)

V0.2

Z isn't required anymore.
* Added hw_config.sh script from Z file
* Fixed Crash when changing resolution
The Following 76 Users Say Thank You to scritch007 For This Useful Post: [ View ] Gift scritch007 Ad-Free
15th October 2012, 10:35 PM |#3  
OP Senior Member
Flag Reims
Thanks Meter: 4,791
 
Donate to Me
More
ICS Camera fix [beta 1] 8MP/6MP and so on
TODO

* Scenes (Done partially)
* Use the Sony Flash module instead of J patch
* CamRecorder
* Anti Banding (Not done)
The Following 47 Users Say Thank You to scritch007 For This Useful Post: [ View ] Gift scritch007 Ad-Free
15th October 2012, 10:35 PM |#4  
OP Senior Member
Flag Reims
Thanks Meter: 4,791
 
Donate to Me
More
ICS Camera fix [beta 1] 8MP/6MP and so on
Bugs:

* Zoom is lost when focusing and not taking the picture.
* bar code not working only QR code
* Thumbnail issue depending on the picture resolution.
* Exif info not correctly set, some apps are happy with it but some aren't
* -8 Exposure compensation leads to FC.
The Following 30 Users Say Thank You to scritch007 For This Useful Post: [ View ] Gift scritch007 Ad-Free
15th October 2012, 11:59 PM |#5  
FeraVolt's Avatar
Senior Member
Thanks Meter: 13,991
 
Donate to Me
More
thanks..that worked.
nice job
The Following 2 Users Say Thank You to FeraVolt For This Useful Post: [ View ] Gift FeraVolt Ad-Free
16th October 2012, 12:12 AM |#6  
sdzbwxp's Avatar
Member
Flag Victoria
Thanks Meter: 48
 
More
scritch007, welcome to the X10 community, and thank you for working on the camera. We really really need to get the camera fixed in ICS.
16th October 2012, 01:16 AM |#7  
mrd7rs's Avatar
Senior Member
Thanks Meter: 101
 
More
Quote:
Originally Posted by scritch007

Hi everybody,

I've been going around the forum for a few months now without posting anything.

But Today I made my first beta fix for the Camera on ICS.

What works?:

* 8MP
* 6MP
* Others?? didn't test it

8mp, 6mp, 2.1mp and vga works on fxp142-cm9. thanks scritch007.
16th October 2012, 01:25 AM |#8  
mhdsanto85's Avatar
Senior Member
Flag São José dos Campos SP
Thanks Meter: 171
 
Donate to Me
More
great news for all in X10 comunity....!!! thanks.!
The Following User Says Thank You to mhdsanto85 For This Useful Post: [ View ] Gift mhdsanto85 Ad-Free
16th October 2012, 02:20 AM |#9  
sdzbwxp's Avatar
Member
Flag Victoria
Thanks Meter: 48
 
More
any hope to get the camcorder working as well?
16th October 2012, 04:48 AM |#10  
brenty108's Avatar
Senior Member
Flag santa flora
Thanks Meter: 243
 
Donate to Me
More
Quote:
Originally Posted by sdzbwxp

any hope to get the camcorder working as well?

Small steps for now small steps

Sent from my X10i using xda app-developers app
16th October 2012, 05:07 AM |#11  
Toledo_JAB's Avatar
Retired Forum Moderator
Flag Toledo, Ohio
Thanks Meter: 3,273
 
Donate to Me
More
Now I really feel like a noob. Awesome work. And welcome. I don't think I have ever seen a better first post.

Sent from my X10S using xda app-developers app
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