Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,809,019 Members 51,475 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
mav.erik
Old
#91  
Senior Member
Thanks Meter 15
Posts: 131
Join Date: Apr 2012
Quote:
Originally Posted by Xistance View Post
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
 
arco68
Old
#92  
Recognized Developer
Thanks Meter 19,434
Posts: 1,998
Join Date: Oct 2010

 
DONATE TO ME
Guys, there's absolutely no need to be messing around with the kernels. That's not where the problem is.
Haters gonna hate

~$ git revert
746865696e7465726e6574

GitHub
The Following 13 Users Say Thank You to arco68 For This Useful Post: [ Click to Expand ]
 
Grabber28
Old
#93  
Grabber28's Avatar
Senior Member
Thanks Meter 151
Posts: 299
Join Date: Jan 2012
Location: Austria
Quote:
Originally Posted by arco68 View Post
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?
ROM: [Stock 4.3]
KERNEL: Yank555.lu
 
_strauch_
Old
#94  
Senior Member
Thanks Meter 59
Posts: 185
Join Date: Aug 2011
Quote:
Originally Posted by Grabber28 View Post
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.
 
oisis
Old
#95  
oisis's Avatar
Senior Member
Thanks Meter 2,106
Posts: 1,251
Join Date: Oct 2008
Location: Out of nowhere
Quote:
Originally Posted by arco68 View Post
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: [ Click to Expand ]
 
arco68
Old
#96  
Recognized Developer
Thanks Meter 19,434
Posts: 1,998
Join Date: Oct 2010

 
DONATE TO ME
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/
Haters gonna hate

~$ git revert
746865696e7465726e6574

GitHub
The Following 18 Users Say Thank You to arco68 For This Useful Post: [ Click to Expand ]
 
Xistance
Old
#97  
Xistance's Avatar
Recognized Contributor
Thanks Meter 3,756
Posts: 958
Join Date: 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
 
Keinbockwurst
Old
#98  
Keinbockwurst's Avatar
Senior Member
Thanks Meter 233
Posts: 510
Join Date: Mar 2011
Quote:
Originally Posted by arco68 View Post
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?
 
oisis
Old
#99  
oisis's Avatar
Senior Member
Thanks Meter 2,106
Posts: 1,251
Join Date: Oct 2008
Location: Out of nowhere
Quote:
Originally Posted by Xistance View Post
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: [ Click to Expand ]
 
Xistance
Old
#100  
Xistance's Avatar
Recognized Contributor
Thanks Meter 3,756
Posts: 958
Join Date: Dec 2011

 
DONATE TO ME
Quote:
Originally Posted by oisis View Post
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

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
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes