15th October 2012, 09:35 PM
(Last edited by scritch007; 14th November 2012 at 07:43 AM .)
Reason: New update with exif and scene values changed
Senior Member -
OP
Thanks Meter
2743
Posts: 292
Join Date: Jan 2011
Location: Reims
DONATE TO ME
ICS Camera fix 8MP/6MP [v0.10]
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 202 Users Say Thank You to scritch007 For This Useful Post: [ Click to Expand ]
'Sky (12th November 2012),
315phatboi (16th October 2012),
3Dota (23rd October 2012),
a.monteiro (17th October 2012),
Achotjan (30th October 2012),
adhit_praj (16th October 2012),
adityalahiri13 (27th October 2012),
admad (16th October 2012),
aleespa (6th November 2012),
alexs790 (23rd October 2012),
alzbac (19th November 2012),
amermalik (7th November 2012),
AmG77 (21st October 2012),
aminp (16th October 2012),
asuwang89 (23rd October 2012),
avarora (18th October 2012),
azeez77 (7th November 2012),
barepe (29th October 2012),
Bares (16th October 2012),
bashir111 (16th October 2012),
battery93 (18th October 2012),
bayanster (19th October 2012),
bbsrailfan (17th October 2012),
BeerKamel (23rd October 2012),
bekshind (16th October 2012),
Berik84 (13th April 2013),
Blizzard300 (15th October 2012),
blueowl0708 (17th October 2012),
blueurge (16th October 2012),
bouncynemoss (27th October 2012),
brenty108 (15th October 2012),
brigameister (15th October 2012),
Caimarcladev (18th October 2012),
ceprk (25th October 2012),
championswimmer (16th October 2012),
chriscx (17th October 2012),
ciran (15th October 2012),
coglyostro (14th November 2012),
cpumaster (17th October 2012),
daniLaLaLaLaLa (16th May 2013),
dankan1 (18th October 2012),
DavidMKD (11th November 2012),
dawouw (25th October 2012),
deathbreath2010 (16th October 2012),
deepa2119 (16th October 2012),
Denie46 (16th October 2012),
desspil (16th October 2012),
deveron3 (20th October 2012),
dodasss (17th October 2012),
domincity (4th December 2012),
dushan90 (17th October 2012),
dxt3r (18th October 2012),
eboogie33 (27th October 2012),
egyptshun (26th December 2012),
eldani19 (16th October 2012),
Engr.Asif (11th December 2012),
Enriqe (22nd October 2012),
Ethan2011 (19th October 2012),
exkubik (16th October 2012),
EzzyLupe (21st January 2013),
fa_im1 (17th October 2012),
FeraVolt (15th October 2012),
fsmaia (16th October 2012),
Futura2000 (15th October 2012),
G-FACE (17th October 2012),
Galcactus (16th October 2012),
garodna (21st October 2012),
getjayu (16th October 2012),
gregbradley (26th October 2012),
GregórioAxiaMagno (18th October 2012),
GuilhermeXOT (16th October 2012),
hahayouaredead (1st November 2012),
hamed1297 (19th October 2012),
Hzu (16th October 2012),
iceevil (27th October 2012),
idcrisis (18th October 2012),
illusiveman1995 (17th October 2012),
inadequate (3rd January 2013),
InternationalPlayer71 (16th October 2012),
iSkyLiner (17th November 2012),
ItBankRock (23rd October 2012),
ivan123 (17th October 2012),
jadwigo (29th October 2012),
JahmanSoldat (16th October 2012),
jason57 (16th October 2012),
justmpm (27th October 2012),
Kaito_Kuroba (17th October 2012),
kalack93 (24th October 2012),
kalel29 (16th October 2012),
karan thakur (16th October 2012),
katak.bali (15th November 2012),
KaZet (16th October 2012),
keenofhiphop (16th October 2012),
kingstonxl (16th October 2012),
Kordius (2nd November 2012),
kreuk (18th October 2012),
kun kidou (19th October 2012),
laill (17th October 2012),
laneyofdeath (16th October 2012),
leonardo.marchese (16th October 2012),
letterman12 (21st October 2012),
lghost1213 (29th October 2012),
licha26 (16th October 2012),
light86 (16th October 2012),
Lijop (26th March 2013),
lmbibi (17th October 2012),
Lord_Kimbou (16th October 2012),
lucaoldb (16th October 2012),
MadridZ (21st October 2012),
magicyoda (25th October 2012),
mahdy_mir (16th October 2012),
Maikel205 (28th October 2012),
maikinho10 (16th October 2012),
mcsqwizzys98 (16th October 2012),
mhdsanto85 (16th October 2012),
Midaaa (18th October 2012),
mikrokiwi (18th October 2012),
mjonyh (16th October 2012),
Mohsen X10 (9th November 2012),
mossrulez (20th October 2012),
mrd7rs (15th October 2012),
mundy725 (16th October 2012),
nielneal (16th October 2012),
NikitoGR (24th October 2012),
niraj30518 (20th October 2012),
nitneuq (28th October 2012),
NuriJ (16th October 2012),
omaroid (19th December 2012),
OscarChang (3rd November 2012),
pataxda (17th October 2012),
petran_7 (24th October 2012),
PeZoII (27th October 2012),
pficrx (17th October 2012),
pinkmozo (1st November 2012),
pixule (16th October 2012),
PoorCollegeGuy (22nd October 2012),
pratikverma28 (26th October 2012),
pretnarm (16th October 2012),
project_arms (16th October 2012),
psycmos (16th October 2012),
quintas84 (15th October 2012),
rasoooli (24th October 2012),
rattanchauhan (27th October 2012),
RenoYeh (31st October 2012),
Ricsko (16th October 2012),
riginal (16th October 2012),
rodriguesm17 (16th October 2012),
RogerUP (17th October 2012),
ronak.super (16th October 2012),
RonieX10 (18th October 2012),
Rubenos (7th April 2013),
s655401 (24th October 2012),
sahibunlimited (16th October 2012),
saifulsaijue (18th October 2012),
salhzmzm (16th October 2012),
sapoide (30th October 2012),
sdzbwxp (15th October 2012),
Sina King (17th October 2012),
sina.1993h (1st January 2013),
sinatra_shinoda (21st January 2013),
skyline10 (16th October 2012),
smithinsundar (16th October 2012),
SmokyX8 (16th October 2012),
SpeedCode (18th October 2012),
spiritedwithin (16th October 2012),
srikzrulez (15th November 2012),
StaticGTF (16th October 2012),
stroker_denton (16th October 2012),
sudersanmurthy (5th November 2012),
SumCanadianGuy (17th October 2012),
Superman (16th October 2012),
sve1313 (16th October 2012),
SysGhost (22nd October 2012),
TAL333 (16th October 2012),
Tavocampana (29th October 2012),
Telemuddi (19th October 2012),
The Gingerbread Man (16th October 2012),
TheDeathlord (4th November 2012),
THeLogiC (16th October 2012),
themis123 (17th October 2012),
TheRuan (17th October 2012),
tinhanhvanthe1504 (22nd January 2013),
titan69 (25th October 2012),
tkr_X10 (28th October 2012),
ToledoJab (16th October 2012),
tombassi (16th October 2012),
Ultimategeppie (16th October 2012),
varacharoad (16th October 2012),
varshil (16th October 2012),
Vasishta Reddy (16th October 2012),
velix2 (30th October 2012),
vesper007 (23rd October 2012),
Vipin_C (16th October 2012),
weaponXandroid (16th October 2012),
whitefang3456 (21st October 2012),
william tham (22nd October 2012),
WmSid (26th October 2012),
xSkArx (16th October 2012),
yeeyon1990 (17th October 2012),
yikimo (22nd October 2012),
z28tovette (15th October 2012),
zackiddo (31st October 2012)
15th October 2012, 09:35 PM
(Last edited by scritch007; 14th November 2012 at 07:42 AM .)
Reason: changelog for v0.9
Senior Member -
OP
Thanks Meter
2743
Posts: 292
Join Date: Jan 2011
Location: Reims
DONATE TO ME
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: [ Click to Expand ]
a.monteiro (15th November 2012),
a2441918 (30th October 2012),
Achotjan (30th October 2012),
aleespa (24th November 2012),
alexs790 (23rd October 2012),
aminp (16th October 2012),
Amin` (17th October 2012),
asuwang89 (30th October 2012),
avarora (18th October 2012),
bayanster (19th October 2012),
Berik84 (13th April 2013),
blueurge (20th October 2012),
coglyostro (14th November 2012),
dawouw (26th October 2012),
deveron3 (20th October 2012),
dodasss (17th October 2012),
dxt3r (23rd October 2012),
eboogie33 (27th October 2012),
eldani19 (1st November 2012),
Enriqe (22nd October 2012),
Erofich (1st November 2012),
Ethan2011 (19th October 2012),
getjayu (16th October 2012),
Gooperz06 (30th October 2012),
GregórioAxiaMagno (26th October 2012),
idcrisis (19th October 2012),
inadequate (3rd January 2013),
InternationalPlayer71 (1st November 2012),
ItBankRock (23rd October 2012),
jason57 (18th October 2012),
JeffreyPiket (25th November 2012),
jmtocali (25th October 2012),
kalack93 (24th October 2012),
katak.bali (15th November 2012),
KaZet (20th October 2012),
kingstonxl (17th October 2012),
kreuk (28th October 2012),
kun kidou (19th October 2012),
laill (19th October 2012),
leonardo.marchese (16th October 2012),
letterman12 (21st October 2012),
magicyoda (15th November 2012),
mahdy_mir (30th October 2012),
mikrokiwi (18th October 2012),
mossrulez (23rd October 2012),
NuriJ (27th October 2012),
pataxda (17th October 2012),
petran_7 (24th October 2012),
pficrx (18th October 2012),
pixule (17th October 2012),
psycmos (17th October 2012),
quintas84 (22nd October 2012),
rasoooli (24th October 2012),
RenoYeh (31st October 2012),
Ricsko (17th November 2012),
riginal (17th October 2012),
ronak.super (31st October 2012),
Rubenos (7th April 2013),
salhzmzm (30th October 2012),
shailu.googled (30th October 2012),
sina.1993h (1st January 2013),
SpeedCode (25th October 2012),
spiritedwithin (20th October 2012),
srikzrulez (15th November 2012),
stroker_denton (18th October 2012),
stunning (19th February 2013),
Superman (18th October 2012),
Tavocampana (29th October 2012),
testosteronas (20th October 2012),
THeLogiC (18th October 2012),
titan69 (25th October 2012),
tombassi (16th October 2012),
vesper007 (23rd October 2012),
whitefang3456 (23rd October 2012),
william tham (22nd October 2012),
wilson0313 (30th October 2012)
15th October 2012, 09:35 PM
(Last edited by scritch007; 14th November 2012 at 07:41 AM .)
Reason: Quality + WhiteBalance OK
Senior Member -
OP
Thanks Meter
2743
Posts: 292
Join Date: Jan 2011
Location: Reims
DONATE TO ME
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: [ Click to Expand ]
alexs790 (23rd October 2012),
aminp (29th October 2012),
avarora (18th October 2012),
badgone88 (24th October 2012),
Berik84 (13th April 2013),
coglyostro (14th November 2012),
dawouw (26th October 2012),
deveron3 (20th October 2012),
dodasss (17th October 2012),
dxt3r (23rd October 2012),
getjayu (16th October 2012),
idcrisis (19th October 2012),
inadequate (3rd January 2013),
InternationalPlayer71 (1st November 2012),
ItBankRock (23rd October 2012),
jianlinooi (15th November 2012),
katak.bali (15th November 2012),
KaZet (20th October 2012),
kun kidou (19th October 2012),
laill (19th October 2012),
leonardo.marchese (16th October 2012),
lolec22 (1st November 2012),
mahdy_mir (30th October 2012),
mikrokiwi (18th October 2012),
mossrulez (30th October 2012),
NuriJ (27th October 2012),
pataxda (17th October 2012),
petran_7 (24th October 2012),
pficrx (18th October 2012),
pixule (17th October 2012),
psycmos (17th October 2012),
ronak.super (31st October 2012),
salhzmzm (30th October 2012),
sina.1993h (1st January 2013),
SmokyX8 (23rd October 2012),
SpeedCode (25th October 2012),
srikzrulez (15th November 2012),
stunning (19th February 2013),
Superman (18th October 2012),
THeLogiC (30th October 2012),
TheRuan (17th October 2012),
titan69 (25th October 2012),
tombassi (16th October 2012),
varacharoad (17th October 2012),
vesper007 (23rd October 2012),
Vipin_C (19th October 2012),
william tham (22nd October 2012)
15th October 2012, 09:35 PM
(Last edited by scritch007; 14th November 2012 at 09:35 AM .)
Senior Member -
OP
Thanks Meter
2743
Posts: 292
Join Date: Jan 2011
Location: Reims
DONATE TO ME
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: [ Click to Expand ]
avarora (18th October 2012),
Berik84 (13th April 2013),
coglyostro (14th November 2012),
deveron3 (20th October 2012),
dodasss (17th October 2012),
dxt3r (23rd October 2012),
getjayu (16th October 2012),
idcrisis (19th October 2012),
inadequate (3rd January 2013),
ItBankRock (23rd October 2012),
katak.bali (15th November 2012),
KaZet (20th October 2012),
laill (19th October 2012),
leonardo.marchese (16th October 2012),
mackereljoe (26th October 2012),
mikrokiwi (18th October 2012),
mossrulez (30th October 2012),
pataxda (17th October 2012),
psycmos (17th October 2012),
ronak.super (31st October 2012),
sina.1993h (1st January 2013),
SmokyX8 (23rd October 2012),
SpeedCode (25th October 2012),
srikzrulez (15th November 2012),
stunning (19th February 2013),
Superman (18th October 2012),
THeLogiC (22nd October 2012),
TheRuan (17th October 2012),
titan69 (25th October 2012),
vesper007 (23rd October 2012)
15th October 2012, 10:59 PM
Senior Member
Thanks Meter
8175
Posts: 1,190
Join Date: Dec 2011
Location: Istambul
DONATE TO ME
thanks..that worked.
nice job
***FeraLab*** - Feel The Power...
Break The Limits..
Semc Debrand Engine Tweaker
***Feralab*** Official - feralab.ru
The Following 2 Users Say Thank You to FeraVolt For This Useful Post: [ Click to Expand ]
15th October 2012, 11:12 PM
Member
Thanks Meter
40
Posts: 39
Join Date: Aug 2012
Location: Victoria
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, 12:16 AM
(Last edited by mrd7rs; 16th October 2012 at 01:14 AM .)
Senior Member
Thanks Meter
62
Posts: 194
Join Date: Oct 2009
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, 12:25 AM
Senior Member
Thanks Meter
105
Posts: 419
Join Date: Jul 2008
Location: São José dos Campos SP
DONATE TO ME
great news for all in X10 comunity....!!! thanks.!
The Following User Says Thank You to mhdsanto85 For This Useful Post: [ Click to Expand ]
16th October 2012, 01:20 AM
Member
Thanks Meter
40
Posts: 39
Join Date: Aug 2012
Location: Victoria
any hope to get the camcorder working as well?
16th October 2012, 03:48 AM
Senior Member
Thanks Meter
204
Posts: 751
Join Date: Jan 2011
Location: santa flora
DONATE TO ME
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
Thread Tools
Search this Thread
Display Modes
Linear Mode
Most Thanked In This Thread
76 ICS Camera fix [beta 1] 8MP/6MP and so on 47 ICS Camera fix [beta 1] 8MP/6MP and so on 33 V0.9
The long awaited
Zoom meets the … 30 And here comes V0.8 * Fix
freeze issue. … 30 ICS Camera fix [beta 1] 8MP/6MP and so on