FORUMS
Remove All Ads from XDA

[UNOFFICIAL][DEV/GEEKS-ONLY] Cyanogenmod 9 (Android 4.0.3)[BETA4][KANG TEST BUILD]

977 posts
Thanks Meter: 7,422
 
By lupohirp, Recognized Developer on 16th January 2012, 02:40 PM
Thread Closed Email Thread
8th February 2012, 07:55 AM |#2231  
gymfreak7855's Avatar
Senior Member
Flag Palmerston North
Thanks Meter: 168
 
More
Quote:
Originally Posted by sweetbinodray

@ Arjen,

Try This. I don't now why the hell I am getting this.

HTML Code:
 Could not load camera HAL module

This is old. Been there tried that
 
 
8th February 2012, 07:59 AM |#2232  
Junior Member
Thanks Meter: 1
 
More
Beta 2, Franco3.0, min=480 max=710

I am having a problem with video playback, audio in the video is fine but picture is lagging. Other than that everything is running very smooth 3D games, apps, wifi, 3G. Nice work , thanks guys.

oh one other thing, when I tried to launch Portable Hotspot it didn't work and then I could not toggle WiFi or 3G on or off, had to reboot to fix.
8th February 2012, 08:00 AM |#2233  
sweetbinodray's Avatar
Senior Member
Flag kolkata
Thanks Meter: 3,006
 
More
Guys who doesn't know about camera problem here we go.
Guys who doesn't know about camera problem here we go.

Quote:

Quote:

Due to the change in ICS that requires moving the camera driver from libcamera to libhardware (like GPS and other devices for Gingerbread), a new driver has to be written.

The problem with this is that many data structures have changed. I couldn't get a single one to compile with the ICS SDK. There are many fundamental changes in the way memory is shared for preview/pictures/video, so that will need to be addressed. I have addressed picture only functionality in the skeleton driver, which will show how to transfer a picture back to the HAL.


ICS Camera Driver Overview

The driver seems to be very generic to most Qualcomm SoCs, so either approach should work for many other devices.

New Driver

See CameraHal_Module.cpp from the ICS source code to see what functions needs to be implemented. It needs to be placed in /system/lib/hw/camera.<target_name_in_build.prop>.so and have the struct "camera_module_t HAL_MODULE_INFO_SYM" inside the code, which the HAL looks for before loading. Once it is loaded, you must implement a few dozen functions to get it to work.


Old Driver

The old drivers primary interface with Android is through libcamera. This loads liboemcamera, which sends commands to the camera kernel driver and the Snapdragon DSP. Liboemcamera is a propriatary library with no documentation apart from the source for QualcommCameraHardware.cpp (which compiles to libcamera.so). The actual Linux kernel module is just a simple I2C bridge to control the camera, and provides no real interface.

Current code/skeleton driver available:

The Following 2 Users Say Thank You to sweetbinodray For This Useful Post: [ View ] Gift sweetbinodray Ad-Free
8th February 2012, 08:44 AM |#2234  
Arjen's Avatar
Retired Forum Moderator
Flag Musselkanaal
Thanks Meter: 5,950
 
More
Quote:
Originally Posted by pymebrahimi

Hi... I found this error on my phone's logcat for connecting to wifi... it happens when i'm turning it on... it does not show any network... this error exists with Beta2 ROM when using Stock and Franco v3 Kernel:


23:39:55.547 Error WifiStateMachine 1585 Failed to reload STA firmware java.lang.IllegalStateException: Error communicating to native daemon

23:39:55.980 Error WifiConfigStore 1585 Error parsing configurationjava.io.FileNotFoundException: /data/misc/wifi/ipconfig.txt: open failed: ENOENT (No such file or directory)

could anyone help about this error?!

Is it right after boot, or does it occur after a few hours, after wake?
Please be more specific

---------- Post added at 08:44 AM ---------- Previous post was at 08:40 AM ----------

@sweetbinodray
Hope some do realize now how much work it is

Thanks for posting this
8th February 2012, 09:27 AM |#2235  
LastStandingDroid's Avatar
Senior Member
Thanks Meter: 5,601
 
Donate to Me
More
We should seriously respect the developers. And not begging for fix this or that. I know its hard to just doesn't. As your excited. I know how hard it is but we seriously got to do it. // XDA-Member

Sent From My TF101 TAB
8th February 2012, 11:42 AM |#2236  
lupohirp's Avatar
OP Recognized Developer
Flag Avellino
Thanks Meter: 7,422
 
Donate to Me
More
Quote:
Originally Posted by sweetbinodray

Guys who doesn't know about camera problem here we go.

good yesterday i had so many problems.....every build that i compiled didn't work....no boot no recognize on computer same problem with a wrong boot.img....yesterday was really a bad day...now i've deleted all sources resynced again and now i'm going to recompile a test build to see if it works then i will try to add this to my sources
The Following 7 Users Say Thank You to lupohirp For This Useful Post: [ View ]
8th February 2012, 11:46 AM |#2237  
Arjen's Avatar
Retired Forum Moderator
Flag Musselkanaal
Thanks Meter: 5,950
 
More
Hope you will have more luck today
My 2nd harddisk on development pc just crashed (my ubuntu partition)
So need to install ubuntu again and start all over

ICS/CM9 for P500 seems to be cursed
The Following 5 Users Say Thank You to Arjen For This Useful Post: [ View ] Gift Arjen Ad-Free
8th February 2012, 12:08 PM |#2238  
skhamsala's Avatar
Senior Member
Flag Hyderabad
Thanks Meter: 24
 
More
Quote:
Originally Posted by _Arjen_

Hope you will have more luck today
My 2nd harddisk on development pc just crashed (my ubuntu partition)
So need to install ubuntu again and start all over

ICS/CM9 for P500 seems to be cursed

Lol, if devs were to say that... where will go... hahaha

Sent from my LG-P500 using xda premium
The Following User Says Thank You to skhamsala For This Useful Post: [ View ] Gift skhamsala Ad-Free
8th February 2012, 01:26 PM |#2239  
Arjen's Avatar
Retired Forum Moderator
Flag Musselkanaal
Thanks Meter: 5,950
 
More
PC is back in business, syncing CM9 again
Found some more info about camera, so can't wait to try it
The Following 16 Users Say Thank You to Arjen For This Useful Post: [ View ] Gift Arjen Ad-Free
8th February 2012, 01:32 PM |#2240  
thachtunganh's Avatar
Senior Member
Flag Hà Nội - Hanoi
Thanks Meter: 1,982
 
More
I think that i should learn some things about building from source...
The Following User Says Thank You to thachtunganh For This Useful Post: [ View ] Gift thachtunganh Ad-Free
8th February 2012, 01:40 PM |#2241  
Arjen's Avatar
Retired Forum Moderator
Flag Musselkanaal
Thanks Meter: 5,950
 
More
Building from source ain't that hard, it's the fixing that takes a lot of time and is sometimes frustrating
The Following 5 Users Say Thank You to Arjen For This Useful Post: [ View ] Gift Arjen Ad-Free
Thread Closed Subscribe to Thread

Tags
cm9 for p500, cyanogenmod 9, ics & beta rom, optimus one, p500
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes