Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[I9001][ICS][28 JUL] Camera Development

OP texten

15th May 2012, 03:26 PM   |  #91  
Senior Member
Thanks Meter: 15
 
131 posts
Join Date:Joined: Apr 2012
Quote:
Originally Posted by Xistance

Tried CM7 kernel but it didn't boot. Sorry I can't get a logcat since I am away from my computer.

Sent from my GT-I9001 using xda premium

Idem.... for me didn't boot

Inviato dal mio GT-I9001 con Tapatalk 2
15th May 2012, 04:37 PM   |  #92  
Recognized Developer
Thanks Meter: 19,791
 
2,060 posts
Join Date:Joined: Oct 2010
Donate to Me
More
Guys, there's absolutely no need to be messing around with the kernels. That's not where the problem is.
The Following 13 Users Say Thank You to arco68 For This Useful Post: [ View ]
15th May 2012, 04:48 PM   |  #93  
Grabber28's Avatar
Senior Member
Flag Austria
Thanks Meter: 151
 
298 posts
Join Date:Joined: Jan 2012
More
Quote:
Originally Posted by arco68

Guys, there's absolutely no need to be messing around with the kernels. That's not where the problem is.

What do you think where the problem is?
Driver? HAL? Firmware?
15th May 2012, 04:51 PM   |  #94  
Senior Member
Thanks Meter: 59
 
185 posts
Join Date:Joined: Aug 2011
Quote:
Originally Posted by Grabber28

What do you think where the problem is?
Driver? HAL? Firmware?

I think HAL, Arco write it in an older comment in the cyanogenmod porting Thread.
15th May 2012, 04:55 PM   |  #95  
oisis's Avatar
Senior Member
Flag Out of nowhere
Thanks Meter: 2,106
 
1,251 posts
Join Date:Joined: Oct 2008
More
Quote:
Originally Posted by arco68

Guys, there's absolutely no need to be messing around with the kernels. That's not where the problem is.

Maybe not, but wants to know more about android, kernel, drivers etc and experiment a little. Can you tell something more where problem is? I'll be grateful.

Here is more information about Camera in Android.
The Following User Says Thank You to oisis For This Useful Post: [ View ]
15th May 2012, 07:41 PM   |  #96  
Recognized Developer
Thanks Meter: 19,791
 
2,060 posts
Join Date:Joined: Oct 2010
Donate to Me
More
We need a working HAL driver, or a HAL wrapper for the old camera libs. In Gingerbread there was libcamera which was the link between Android and kernel, but in ICS they switched to a HAL based driver, hence libcamera doesn't work. The easiest would be to use a HAL wrapper for the old libcamera, and there exists one that works for some HTC devices. I've tried this on the Galaxy W, and the camera is detected according to the logs, but when launching the camera app it just hangs and needs to be force closed.

http://review.cyanogenmod.com/#/c/13650/
The Following 18 Users Say Thank You to arco68 For This Useful Post: [ View ]
15th May 2012, 08:17 PM   |  #97  
Xistance's Avatar
Recognized Contributor
Thanks Meter: 3,765
 
963 posts
Join Date:Joined: Dec 2011
Donate to Me
Also found this thread in case you guys haven't seen it yet.

http://forum.xda-developers.com/show....php?t=1427030

I tried it out but I still get the moving box. But maybe with a few changes it could work as the guy says in the thread?

Sent from my GT-I9001 using xda premium
15th May 2012, 08:43 PM   |  #98  
Keinbockwurst's Avatar
Senior Member
Thanks Meter: 233
 
510 posts
Join Date:Joined: Mar 2011
More
Quote:
Originally Posted by arco68

We need a working HAL driver, or a HAL wrapper for the old camera libs. In Gingerbread there was libcamera which was the link between Android and kernel, but in ICS they switched to a HAL based driver, hence libcamera doesn't work. The easiest would be to use a HAL wrapper for the old libcamera, and there exists one that works for some HTC devices. I've tried this on the Galaxy W, and the camera is detected according to the logs, but when launching the camera app it just hangs and needs to be force closed.

http://review.cyanogenmod.com/#/c/13650/

But this seems to be a good start. What did the log say when you open the camera and it FC?
15th May 2012, 08:49 PM   |  #99  
oisis's Avatar
Senior Member
Flag Out of nowhere
Thanks Meter: 2,106
 
1,251 posts
Join Date:Joined: Oct 2008
More
Quote:
Originally Posted by Xistance

Also found this thread in case you guys haven't seen it yet.

http://forum.xda-developers.com/show....php?t=1427030

I tried it out but I still get the moving box. But maybe with a few changes it could work as the guy says in the thread?

Sent from my GT-I9001 using xda premium


When did you try this solution? On latest build?
The Following User Says Thank You to oisis For This Useful Post: [ View ]
15th May 2012, 08:51 PM   |  #100  
Xistance's Avatar
Recognized Contributor
Thanks Meter: 3,765
 
963 posts
Join Date:Joined: Dec 2011
Donate to Me
Quote:
Originally Posted by oisis

When did you try this solution? On latest build?

Yeah, I tried it right before posting it.

Sent from my GT-I9001 using xda premium

Post Reply Subscribe to Thread

Tags
camera fix, cyanogenmod, development, don't mess with the best - eat this, f u c k i n g shit, galaxy s plus, ics, im a handsome guy, oisis ftw!, sgs+ cam is shy
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes