FORUMS
Remove All Ads from XDA

[FIX][SOURCE] Camera Flicker

359 posts
Thanks Meter: 160
 
By Turducken, Senior Member on 29th September 2011, 10:40 PM
Post Reply Email Thread
Updated kernels that now include this fix:

.35 = francos v1.1-02102011 and newer
.32 = fserves gbs v18b2 and newer





It seems that some phones experience camera flicker when overclocking and some don't.

Example of Camera Flicker

I noticed that I didn't experience camera flicker with Paulos .35 kernel so I dug through his sources and found the routine that solved my problem.

Note - I'm not a developer and I've only tested this with francos .35 sources.

Extract acpuclock.c to arch/arm/mach-msm and compile

I've contacted franco and fserve via PM with my findings and I know that franco is including it in his next release. However, if you can't wait.... do it yourself!!

THIS IS NOT A FLASHABLE ZIP.
Attached Files
File Type: zip acpuclock.c.zip - [Click for QR Code] (7.9 KB, 290 views)
The Following 7 Users Say Thank You to Turducken For This Useful Post: [ View ] Gift Turducken Ad-Free
 
 
30th September 2011, 02:09 AM |#2  
fserve's Avatar
Inactive Recognized Developer
Flag Manaus / Amazonas
Thanks Meter: 821
 
Donate to Me
More
is it .35 only, right?
30th September 2011, 02:27 AM |#3  
Turducken's Avatar
OP Senior Member
Thanks Meter: 160
 
More
Quote:
Originally Posted by fserve

is it .35 only, right?

I don't think so. I know that I get camera flicker with both francos and your .32 kernels but not with Zacks. He has also implemented this or some variation (wish I could see his sources).

If you'll compile golldenleaf or gbs with this fix I'll test it for you.
The Following 2 Users Say Thank You to Turducken For This Useful Post: [ View ] Gift Turducken Ad-Free
30th September 2011, 02:30 AM |#4  
franciscofranco's Avatar
Recognized Developer
Flag Oeiras, Lisboa
Thanks Meter: 128,071
 
Donate to Me
More
Quote:
Originally Posted by Turducken

I don't think so. I know that I get camera flicker with both francos and your .32 kernels but not with Zacks. He has also implemented this or some variation (wish I could see his sources).

If you'll compile golldenleaf or gbs with this fix I'll test it for you.

I hate people that don't share their sources... It's completely against GPL. But well like I told you before thanks for that finding. I'll update my .32 and .35 when I have time.
The Following 4 Users Say Thank You to franciscofranco For This Useful Post: [ View ]
30th September 2011, 02:46 AM |#5  
Senior Member
Thanks Meter: 170
 
Donate to Me
More
CAF FTW! =), nice finding btw!

CAF patches/code can do wonders sometimes ;D
30th September 2011, 08:16 AM |#6  
shhbz's Avatar
Senior Member
Flag ▂ ▃ ▅ ▆ █ Searching...
Thanks Meter: 1,071
 
More
well that sounds good waiting for franco next release along with the integration
30th September 2011, 09:12 AM |#7  
DaXmax's Avatar
Recognized Themer
Flag Singapore
Thanks Meter: 10,042
 
More
Quote:
Originally Posted by Turducken

I don't think so. I know that I get camera flicker with both francos and your .32 kernels but not with Zacks. He has also implemented this or some variation (wish I could see his sources).

If you'll compile golldenleaf or gbs with this fix I'll test it for you.

Zacks uses alot of codeaurora patches...

Quote:
Originally Posted by franciscofranco

I hate people that don't share their sources... It's completely against GPL. But well like I told you before thanks for that finding. I'll update my .32 and .35 when I have time.

Quote:
Originally Posted by shhbz

well that sounds good waiting for franco next release along with the integration

Sorry franco, i love speeds and can u add smartass back in .35 kernel and turn vsync off... please! Thanks a ton... Btw, any tips of adding kernel into roms?
30th September 2011, 09:21 AM |#8  
franciscofranco's Avatar
Recognized Developer
Flag Oeiras, Lisboa
Thanks Meter: 128,071
 
Donate to Me
More
Quote:
Originally Posted by DaxElectro

Zacks uses alot of codeaurora patches...

Sorry franco, i love speeds and can u add smartass back in .35 kernel and turn vsync off... please! Thanks a ton... Btw, any tips of adding kernel into roms?

Guess where he got the CAF patches from...

1. No, smartass it's obsolete, you have smartass2
2. No, recompile the kernel yourself if you want vsync off
3. No, there's plenty of documentation and explanations about that
The Following User Says Thank You to franciscofranco For This Useful Post: [ View ]
30th September 2011, 09:33 AM |#9  
Turducken's Avatar
OP Senior Member
Thanks Meter: 160
 
More
Quote:
Originally Posted by DaxElectro

Zacks uses alot of codeaurora patches...

He does now in his newest versions but he applied this fix in version 3.3 or something (sites down now can't confirm the version number). This is when he stated in his changelog that he applied Paulos camera fix.
He also neglected to mention that he was using francos sources as his base (so wrong). Comparing franco and Zacks changelog and looking at the date/time stamps it's hard to argue this.

Edit - Sorry franco I didn't see you post before I began mine.
30th September 2011, 09:43 AM |#10  
Senior Member
Flag Singapore
Thanks Meter: 254
 
More
Quote:
Originally Posted by franciscofranco

Guess where he got the CAF patches from...

1. No, smartass it's obsolete, you have smartass2
2. No, recompile the kernel yourself if you want vsync off
3. No, there's plenty of documentation and explanations about that

Sorry for the OT, but how do I compile the LG stock kernel from scratch? I want to learn

Sent from my LG-P500 using XDA App
30th September 2011, 09:48 AM |#11  
Turducken's Avatar
OP Senior Member
Thanks Meter: 160
 
More
Quote:
Originally Posted by terratrix

Sorry for the OT, but how do I compile the LG stock kernel from scratch? I want to learn

Sent from my LG-P500 using XDA App

A month ago I didn't know either, here's how I did it:

Search engine + your deductive reasoning skills + trial and error = success. I'm sorry if this sounds like a smartass response but there are lot of tutorials out there.
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