FORUMS

Analysis & Opinion

Top Forum Discussions

[DEV] Camera driver for 3.x kernel with ION support

160 posts
Thanks Meter: 1,059
 
Post Reply Subscribe to Thread Email Thread
I'm creating this thread to let you know about the progress of getting the camera to work on 3.x kernel.
I'm using 3.4 kernel but the changes should be easily applicable for 3.0 kernel as well.

The goal is to have a functional camera driver using ION memory allocator. Unfortunately the Qualcomm's proprietary libs we have for Touchpad relies on now deprecated PMEM allocator.

What is working:
- preview,
- taking pictures,

What is not working:
- panorama,
- video recording,
- skype.

Sources:
https://github.com/Dorregaray/androi...ree/kitkat-cam
https://github.com/Dorregaray/camerahal/tree/cm-11-ion
Last edited by _Dorregaray_; 28th January 2014 at 10:48 PM.
The Following 34 Users Say Thank You to _Dorregaray_ For This Useful Post: [ View ]
 
 
15th January 2014, 07:59 AM |#2  
OP Senior Member
Flag Katowice
Thanks Meter: 1,059
 
Donate to Me
More
reserved
The Following 5 Users Say Thank You to _Dorregaray_ For This Useful Post: [ View ]
15th January 2014, 11:32 AM |#3  
Senior Member
Thanks Meter: 88
 
More
dorregaray you are the man!!
many thanks for the amazing work
15th January 2014, 12:02 PM |#4  
puhleez's Avatar
Senior Member
Flag Middle TN
Thanks Meter: 83
 
Donate to Me
More
As a Rezound owner, I follow the xda community for it and they came up with a hybrid situation where they were still able to use the pmem blobs/drivers for the camera while running under an ion based 3.0 kernel. Worked really well. Something to consider for the short term?

Sent from my TouchPad using xda app-developers app
15th January 2014, 01:04 PM |#5  
OP Senior Member
Flag Katowice
Thanks Meter: 1,059
 
Donate to Me
More
Quote:
Originally Posted by puhleez

As a Rezound owner, I follow the xda community for it and they came up with a hybrid situation where they were still able to use the pmem blobs/drivers for the camera while running under an ion based 3.0 kernel. Worked really well. Something to consider for the short term?

Sent from my TouchPad using xda app-developers app

I have such configuration right now, but after I'll fix some issues I have I want to get rid of pmem and get it working fully using ION if possible. That will require replacing some proprietary Qualcomm libs with the ones supporting ION.
15th January 2014, 06:21 PM |#6  
nevertells2's Avatar
Senior Member
Flag Sunny Central Florida!!!
Thanks Meter: 739
 
More
Just want to be clear. If you get this working, it should work on any 3.xx kernel including J.C. Sullins CM10.1 experimental 3KERN build?
16th January 2014, 07:43 AM |#7  
OP Senior Member
Flag Katowice
Thanks Meter: 1,059
 
Donate to Me
More
Quote:
Originally Posted by nevertells2

Just want to be clear. If you get this working, it should work on any 3.xx kernel including J.C. Sullins CM10.1 experimental 3KERN build?

If I will get it working it shouldn't be hard to apply the changes to the 3.0 jcsullins kernel.
In fact the reason I'm working on 3.4 kernel is that the flintman has released a kitkat no data/media build with this kernel.
Last edited by _Dorregaray_; 16th January 2014 at 07:46 AM.
The Following 3 Users Say Thank You to _Dorregaray_ For This Useful Post: [ View ]
17th January 2014, 01:09 AM |#8  
nevertells2's Avatar
Senior Member
Flag Sunny Central Florida!!!
Thanks Meter: 739
 
More
Quote:
Originally Posted by _Dorregaray_

If I will get it working it shouldn't be hard to apply the changes to the 3.0 jcsullins kernel.
In fact the reason I'm working on 3.4 kernel is that the flintman has released a kitkat no data/media build with this kernel.

That's interesting. I thought I read that he was switching over to data/media. Where did you see that he is not doing data/media?

I found this that he posted Jan.7th:

"I have moved the development to a new forum as i have changed over to data/media and don't want confusion on what is what. Posted a new update remember requireds data/media now."
The Following User Says Thank You to nevertells2 For This Useful Post: [ View ]
17th January 2014, 01:32 AM |#9  
Recognized Developer
Flag MASS
Thanks Meter: 3,280
 
More
Quote:
Originally Posted by nevertells2

That's interesting. I thought I read that he was switching over to data/media. Where did you see that he is not doing data/media?

I found this that he posted Jan.7th:

"I have moved the development to a new forum as i have changed over to data/media and don't want confusion on what is what. Posted a new update remember requireds data/media now."

That is true in order to fix the Play store issue i was having.
The Following User Says Thank You to flintman For This Useful Post: [ View ]
17th January 2014, 12:51 PM |#10  
OP Senior Member
Flag Katowice
Thanks Meter: 1,059
 
Donate to Me
More
Quote:
Originally Posted by nevertells2

That's interesting. I thought I read that he was switching over to data/media. Where did you see that he is not doing data/media?

I found this that he posted Jan.7th:

"I have moved the development to a new forum as i have changed over to data/media and don't want confusion on what is what. Posted a new update remember requireds data/media now."

Yes, but I'm running his old build and just replacing the kernel and camera driver with the ones I have built. I just don't want to switch to data/media images to be able to easily switch back to the CM9 or CM10 builds not losing anything
The Following User Says Thank You to _Dorregaray_ For This Useful Post: [ View ]
17th January 2014, 03:45 PM |#11  
nevertells2's Avatar
Senior Member
Flag Sunny Central Florida!!!
Thanks Meter: 739
 
More
Quote:
Originally Posted by _Dorregaray_

Yes, but I'm running his old build and just replacing the kernel and camera driver with the ones I have built. I just don't want to switch to data/media images to be able to easily switch back to the CM9 or CM10 builds not losing anything

Smart move! I personally don't see enough benefit in data/media to endure the hassle of setting up my TP to be able to install a data/media build.
J.C. Sullins CM10.1 with the 3.xx kernel works great for me. Getting the camera and bluetooth working would be awesome!

Read More
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes