FORUMS

Analysis & Opinion

Top Forum Discussions

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

1,276 posts
Thanks Meter: 1,547
 
By texten, Senior Member on 13th May 2012, 11:14 AM
Post Reply Subscribe to Thread Email Thread
15th May 2012, 02:26 PM |#91  
Senior Member
Thanks Meter: 15
 
More
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, 03:37 PM |#92  
Recognized Developer
Thanks Meter: 20,881
 
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, 03:48 PM |#93  
Grabber28's Avatar
Senior Member
Flag Austria
Thanks Meter: 151
 
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, 03:51 PM |#94  
Senior Member
Thanks Meter: 59
 
More
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, 03:55 PM |#95  
oisis's Avatar
Senior Member
Flag Out of nowhere
Thanks Meter: 2,106
 
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, 06:41 PM |#96  
Recognized Developer
Thanks Meter: 20,881
 
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, 07:17 PM |#97  
Xistance's Avatar
Recognized Contributor
Thanks Meter: 3,769
 
Donate to Me
More
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, 07:43 PM |#98  
Keinbockwurst's Avatar
Senior Member
Thanks Meter: 233
 
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, 07:49 PM |#99  
oisis's Avatar
Senior Member
Flag Out of nowhere
Thanks Meter: 2,106
 
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, 07:51 PM |#100  
Xistance's Avatar
Recognized Contributor
Thanks Meter: 3,769
 
Donate to Me
More
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
15th May 2012, 08:08 PM |#101  
oisis's Avatar
Senior Member
Flag Out of nowhere
Thanks Meter: 2,106
 
More
Quote:
Originally Posted by Xistance

Yeah, I tried it right before posting it.

Sent from my GT-I9001 using xda premium

Strange because I have a FC and the application closes. Could you do logcat.
The Following User Says Thank You to oisis For This Useful Post: [ View ]

Read More
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