yashsingh1/xdaforums huggingface dataset:
[Galaxy Ace S5830 Android Development] :
Wrong. HAL is using for load and use library from older system and use it on ICS. So right scheme:

Camera app -> HAL -> Library -> Kernel -> Hardware
[Galaxy Ace S5830 Android Development] Lijop:
From arco in ics forums

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.

one thing is for sure without proper hal we are not going to reach anywhere

---------- Post added at 08:57 PM ---------- Previous post was at 08:53 PM ----------

@mclaw no you are wrong. library comes first then hal and mclaw oisis is also form poland he has done a massive job for cm9 cam. is there any use pming him and asking for help ??

here is the link to his cam work

http://xdaforums.com/showthread.php?t=1651530

---------- Post added at 09:07 PM ---------- Previous post was at 08:57 PM ----------

@maclaw if you have any doubt you can check this link

http://processors.wiki.ti.com/index.php/TI-Android-DevKit-Camera_Porting_Guide

Android's camera application connect with android HAL through camera binding interface. HAL inturns connect physical camera sensor and provides control & data interface between application and camera sensor.
[Galaxy Ace S5830 Android Development] tomsons26:
Found camera libs that load HAL and detect CameraHAL_GetNum_Cameras: numCameras:1 but im getting a black screen in some cam apps the stock shows Cant connect to camera

But first Whats our cam sensor? is it s5k4ecgx?

Getting I/QualcommCameraHardware(2305): startCamera: camsensor name s5k4ecgx, flash 1

I used ZTE Skate libs
[Galaxy Ace S5830 Android Development] Lijop:
hey try 3rd party cam app and see if its working. if thats the sensor name we have the same as galaxy r (as quoted by emo)
[Galaxy Ace S5830 Android Development] InverseSandwich:
Will not work with other apps.

The problem does not lie with the app, it is the backend.
[Galaxy Ace S5830 Android Development] mefrodo:
lets make a masive request!

Why dont we make a masive request to samsung??? how many are we here?? we can schedule a day to spam samasung social networks, if we organice enough we can impact on twitter, facebook and google +, seending requests to every member of samsung team.

what do you thing ???
[Galaxy Ace S5830 Android Development] Lijop:
ohh pls not again. pls dont write ask samsung. it wont happen. discussion only for development

---------- Post added at 09:48 PM ---------- Previous post was at 09:45 PM ----------

theres a lot of threads in xda where stock cam doesnt work and people use other cam apps to get it working. you can check. he already said other cam apps show a black screen while stock cam shows not able to connect. i missed it.
[Galaxy Ace S5830 Android Development] lagloose:
Good to see that there is at least one more who has the knowledge how to use adb and replace libs...

Yep, i think s5k4ecgx is our sensor. Look here: http://xdaforums.com/showthread.php?t=877913 So it seems that camera sensor is correctly detected...

However, i already tried the skate libs here and got the same results as you. I think we can't use libcamera.so and liboemcamera.so from other devices. But libcamera.so from a stock Galaxy Ace Rom still gives unresolved symbols. Marcin already mentioned that he had fixed this problem, but with the latest HAL and libs he provided in this thread the problem still exists. There is an 'Overlay' patch which can be found here: http://xdaforums.com/showthread.php?t=1448303 I think we should try out this patch. Unfortunately i don't have any actual cooper device config files for compilation. So i've got a little handicap to try it out myself...
[Galaxy Ace S5830 Android Development] themountig:
O

Qualcom seem far more amenable to releasing sources including libs. As the whole architecture of the phone(s) revolve around, and must integrate with, their hardware they are our best chance at the minute with the exception of the brilliant devs around the xda community.
[Galaxy Ace S5830 Android Development] Wayland_ACE:
Why you dont like to work with sources?)
[Galaxy Ace S5830 Android Development] themountig:
Have you had any fresh inspiration yet Wayland? Seems like you and Marcin are peoples favourites to achieve working camera. Wish you all the best and am willing to test anything.:D
[Galaxy Ace S5830 Android Development] lagloose:
And another one...

I don't know if this is relevant but due to the fact that we now know that s5k4ecgx from Samsung is (probably) our camera sensor, could it be that we need this: https://dev.openwrt.org.cn/browser/...2.6.35/drivers/media/video/s5k4ecgx.c?rev=427 in our kernel drivers ?

Edit: Google for 's5k4ecgx' for more information about sensor...
[Galaxy Ace S5830 Android Development] tomsons26:
Can confirm the s5k4ecgx is our camera sensor Full name

Samsung S5K4ECGX 5M Pixel CMOS Image Sensor

https://github.com/teamhacksung/and...307/drivers/media/video/msm/s5k4ecgx_cooper.c
[Galaxy Ace S5830 Android Development] Wayland_ACE:
we have it, but in msm folder: https://github.com/GalaxyICS/Galaxy...lob/master/drivers/media/video/msm/s5k4ecgx.c
[Galaxy Ace S5830 Android Development] themountig:
This says so too and from way back.

http://code.google.com/p/the-ace-ke...4a&r=2ac4a63dbbad26dc447f3292c64a84ba6492a14a

---------- Post added at 06:18 PM ---------- Previous post was at 06:09 PM ----------

It's a definite confirmed from further Googling including s5830 in search. so how do we point camerahal to that as default config for camera surely that is next step.
[Galaxy Ace S5830 Android Development] kyucosta:
samsung realesed the ICS code from sIII i have cheked and seems the sensor its diferent but in the code maybe somethyng help us no???

sorry im no dev so im just tryng help.

lets make this real for our aces....

i cant upload the fck file i dont know why...

its kind late here i try 2morow again...
[Galaxy Ace S5830 Android Development] themountig:
an0nym0us posted sources 138mb worth but I get the famous divide by zero error on the zip. Just brill lol. Required libmedia_jni.so and correct media_config.XML to advance a little. Never done so many system restores since I was on win95 lol.:rolleyes:
[Galaxy Ace S5830 Android Development] Lijop:
simply means we have the same sensor as r and the nexus

@mountig lol.did you try the patch i posted earlier to avoid divide error ?
[Galaxy Ace S5830 Android Development] CallMeVentus:
Since the R will have ICS , will it work to port the camera libs over ? I'm working on CM7/9 there myself , but hey , I'm not a good dev like the rest :)

This was sent from a Galaxy Ace. Problem?
[Galaxy Ace S5830 Android Development] Lijop:
am not that sure if the hal and other stuff from will work on ace coz of the architecture difference. Will see if someone is able to get cam working on r. But our best bet is galaxy w. They have got cam working with the help of oisis.
[Galaxy Ace S5830 Android Development] ranger4740:
Hi devs has any one looked at the HTC legend for possible libs and stuff? Our unofficial cm9 has pretty much fully functional camera & panorama, partial video but not quite functional yet (codecs still a bit broken) its arm6 msm7227. I'm not a dev, more an advanced noob, just a suggestion for concideration.

http://xdaforums.com/showthread.php?p=23992858

set from my legend currently using zeubeas beta0
[Galaxy Ace S5830 Android Development] marcin1147:
Guys! Leave kernel alone!

Camera drivers in kernel are good, taken from gingerbread kernel and working on gingerbread. And: don't try to use libs from devices which doesn't have s5k4ecgx and MSM SoC.
[Galaxy Ace S5830 Android Development] lagloose:
Marcin did you read my post concerning thd libs you have posted here. ? Where and how did you fix the unresolved symbols ?
[Galaxy Ace S5830 Android Development] Wayland_ACE:
But what about MSM_CAMERA_DEGUG option?
[Galaxy Ace S5830 Android Development] djsky2011:
Yeah what about DEBUG options, we dont need new kernel drivers we just need a kernel for devs
[Galaxy Ace S5830 Android Development] ryant22:
I'm not an android dev, but i have stumbled across this https://groups.google.com/forum/?fromgroups#!msg/android-opencv/5ZKgvWBDtMU/sBWUqsbXFo8J

I asked samsung about the sensor and all i got back from them was that "the camera sensor is confidential" :mad:
[Galaxy Ace S5830 Android Development] SMillerNL:
So, how will this confidentiality help us?
[Galaxy Ace S5830 Android Development] ranger4740:
Hi again dev's, I was snooping around the root files of the ics rom I'm running and found this,

In the folder/sys/android_camera there is a file called sensor, in a text viewer, the contents of the file is this

"samsung s5k4e1gx 5M"

Is this any significant to you guys?

set from my legend currently using zeubeas unofficial cm9 beta0
[Galaxy Ace S5830 Android Development] okenshino:
I think the htc hd mini has the same camera :rolleyes:
[Galaxy Ace S5830 Android Development] Jonboy2011:
i think the htc hd mini has arm v7

Sorry for my bad english :D
[Galaxy Ace S5830 Android Development] themountig:
Legend armv6 same camera 512mb memory.
[Galaxy Ace S5830 Android Development] Jonboy2011:
same camera chip or only 5 mpx cam?

Sorry for my bad english :D
[Galaxy Ace S5830 Android Development] themountig:
My mistake ours is s5k4ecgx apparently diff then oh well I have faith in Wayland & Maclaw bit of help from people who have achieved working camera they will get there.
[Galaxy Ace S5830 Android Development] marcin1147:
Tommorow i'll post DEBUG kernels.
[Galaxy Ace S5830 Android Development] themountig:
Nice one but I believe you mean today - your time I guess.
[Galaxy Ace S5830 Android Development] Lijop:
does anyone have any idea about the sensor vendor ??
[Galaxy Ace S5830 Android Development] InverseSandwich:
I've just emailed Sammy.

"Hello.

We have been compiling builds of Android 4.0.4 for quite some time now. Most features work, except one major thing, the camera. We do not know what sensor is used in the Ace, so we're having a hard time getting it to work. We have made numerous debug kernels just to find out what sensor it is.

Someone else recently contacted you, and you said that the camera was confidential. Why is it confidential? We bought your product and we demand to know what it is, and if possible, create some Hal drivers for us.

You realize that we have done tonnes of things that Samsung could never do. We have ICS running on our Aces, even though you said it was impossible. We've done things Samsung could only dream about. Why are you so stubborn and drop support for your devices in 6 months?

I look forward to your reply.

Nathan"

I've also got the address for their British head office if you want it.
[Galaxy Ace S5830 Android Development] lagloose:
Dear dev's who have actual cooper device config files...

I alreay asked this a serveral times. Could someone please, please, please update github with actual cooper device configs or send them via PM or whatever...

Thank you very much.
[Galaxy Ace S5830 Android Development] marcin1147:
We know what sensor is used! It's s5k4ecgx by samsung...
[Galaxy Ace S5830 Android Development] scoffyburito:
I really don't think Samsung cares at all whether you demand or ask. The average person wouldn't have a clue about ICS let alone android. Samsung hits a target audience and achieves. They don't care about a %1 minority demanding answers. Our job is to identify a missing feature or problem and work around it to reach the desired result. Not to beg :D
[Galaxy Ace S5830 Android Development] themountig:
Surely the best people to tell phones using same camera sensor would be a good parts distributor or phone repairer. Seems like Samsung Electronics supplies many manufacturers with sensors.
[Galaxy Ace S5830 Android Development] coolya:
You won't fix this by copying the libs of any other phone only by writing code, the hole discussion about "maybe we can use this" is nonsense. Stop discussing if you won't contribute any code.

There are phone with the same sensor out there, at least 1 Million :D and the camera code is open source, but you won't be able to use anything of their libs and code.

You would need the exact same SoC with the same camera CMOS what simply does not exist.

AFAIK I haven't seen any 100% open source camera lib implementation for MSM SoC which means there isn't even any blue print to use. The only practical way is to get the libs working, which even is pretty hard.
[Galaxy Ace S5830 Android Development] lagloose:
To get WHICH libs working ? Those of a stock Ace ROM ?
[Galaxy Ace S5830 Android Development] themountig:
Reading what others have done editing E/ camera.smali seems to be one step along the way.Over my head but obviously not devs. Worth a look?
[Galaxy Ace S5830 Android Development] marcin1147:
Here are debug kernels: http://marcin.galaxyics.com/nightly/

BTW. @coolya - Camera code is not open source. That's the problem.

And to people who don't know anything about development - please! Don't post in this topic! Your advices won't help us and and are only making the topic "spammed"
[Galaxy Ace S5830 Android Development] themountig:
Most of the phones mentioned use Samsung camera sensor. Equally closed source surely. It's not about "let's try their libs" it's about let's ask those devs what procedures they went through to develop their libs and eventually get working cameras. One assumes that they experienced the same problems and pitfalls that our devs are facing.a nudge in the right direction could end up being invaluable to our devs as could advice re what not to meds with.
[Galaxy Ace S5830 Android Development] BRainXstorming:
i have heard about reverse engineering...

why you dont reverse the samsung drivers...?
[Galaxy Ace S5830 Android Development] marcin1147:
Do it yourself or shut up.

Can you read?
[Galaxy Ace S5830 Android Development] JorX_AD:
Have we got Nexus S source code ? Because Nexus S has Samsung S5K4ECGX camera sensor.
[Galaxy Ace S5830 Android Development] Tovagulet:
Isn't Nexus S ARM V7... <.<
[Galaxy Ace S5830 Android Development] CallMeVentus:
ARM code affects Camera code ?

This was sent from a Galaxy Ace. Problem?
[Galaxy Ace S5830 Android Development] Wayland_ACE:
Probably it's a my mistake, but when I trying to boot from this nightly kernel (cooper) I got bootloop...
[Galaxy Ace S5830 Android Development] coolya:
Yes the hole Nexus S driver is open source and we use it on the aries ( aka Galaxy S) phones, we modified it to work with the NEC sensor used in that phones. The real deal is not the camera sensor. The sensor might send some different encoded data but thats not a big deal.

The real deal is the camera interface of the SoC and the JPEG encoder. All SoCs include a hardware jpeg encoder that is used convert the camera data into a useable jpeg. This interface is specifig to any SoC. Also the camera interface is specific to many SoCs, Samsung uses Video 4 Linux 2 which makes is easier to work with it. Also all the stuff needed to interact with the camera, except the camera sensor frimware are open source for Samsung SoCs. But there isn't a single open source camera driver for a Qualcom SoC I know of.

Qualcoms reference design is a open source camera HAL which interacts with a closed source camera lib that does all the "magic".
[Galaxy Ace S5830 Android Development] lagloose:
Will try kernel today and report back here Wayland...
[Galaxy Ace S5830 Android Development] lagloose:
Confirmed. Bootloop at Samsung Logo...
[Galaxy Ace S5830 Android Development] marcin1147:
Strange... On Gio works good...

Will test it later.

Nexus S camera code is open-source but won't help us because Ace has MSM CPU and communicates with camera sensor in another way.
[Galaxy Ace S5830 Android Development] themountig:
100% of those who have got camera working have adjusted kernel to match libs not vice-verca.
[Galaxy Ace S5830 Android Development] ZenPluS:
goooood!
[Galaxy Ace S5830 Android Development] Soeskip:
What is good? :/
[Galaxy Ace S5830 Android Development] ZenPluS:
it is easier to adapt an open kernel ,that is create libraries without having a source .. or have I misunderstood?

modification of ICS kernel to read Camera libraries of Gingerbread
[Galaxy Ace S5830 Android Development] marcin1147:
You don't know anything about developing, am I right?
[Galaxy Ace S5830 Android Development] ZenPluS:
exact. I know that I will take an avalanche of insults ahahaha

I have not figured out what our friend said in his post, someone explained to me better?
[Galaxy Ace S5830 Android Development] lagloose:
@marcin

Did you read my post here ? http://xdaforums.com/showpost.php?p=26882535&postcount=107

Any ideas ? (because you mentioned that you fixed the missing symbols problem 2 months ago...)
[Galaxy Ace S5830 Android Development] diegonnc:
is this a development section ?, or a "lets teach how to develop" ? i think that this thread is getting a bit off topic
[Galaxy Ace S5830 Android Development] Prawesome:
If you dont know anything,then you may as well shut up...Stop spamming this thread guys,if you dont know what is happening here,then you are just making a fool of yourself
[Galaxy Ace S5830 Android Development] marcin1147:
@lagloose - https://www.box.com/s/96218daedfe1d2488a5e
[Galaxy Ace S5830 Android Development] lagloose:
Thanks for the lib. Tried it out and missing symbol _ZN7android7Overlay5setFdEi is resolved. But now facing missing symbol _ZN7android7OverlayC1EPFvPviEPFvS1_jjjjEPFvS1_S1_ES1_. This can be found in libui.so you provided but unfortunately your libui.so gives me loop:

I/ServiceManager( 250): Waiting for service media.audio_flinger...

W/AudioSystem( 250): AudioFlinger not published, waiting...

I/ServiceManager( 250): Waiting for service media.audio_flinger...

I/ServiceManager( 250): Waiting for service media.audio_flinger...

I/ServiceManager( 250): Waiting for service media.audio_flinger...

I/ServiceManager( 250): Waiting for service media.audio_flinger...

I/ServiceManager( 250): Waiting for service media.audio_flinger...

W/AudioSystem( 250): AudioFlinger not published, waiting...

I/ServiceManager( 250): Waiting for service media.audio_flinger...

I/ServiceManager( 250): Waiting for service media.audio_flinger...

I/ServiceManager( 250): Waiting for service media.audio_flinger...

I/ServiceManager( 250): Waiting for service media.audio_flinger...

I/ServiceManager( 250): Waiting for service media.audio_flinger...

W/AudioSystem( 250): AudioFlinger not published, waiting...

I/ServiceManager( 250): Waiting for service media.audio_flinger...

AFAIK Maclaw implemented an other audio system in our CM9. Could it be that your libui.so is not linked to Maclaw's audio libs ?
[Xperia Play Themes and Apps] bamsbamx:
I found this in xperia arc themes forum, so if anyone could port this into xperia play would be great!

http://xdaforums.com/showthread.php?t=1519742

EDIT: link is here http://xdaforums.com/showpost.php?p=24028173&postcount=140
[Xperia Play Themes and Apps] shion420:
Just replace home.apk on system/app you need to root your phone.
[Xperia Play Themes and Apps] bamsbamx:
I know it, but i am asking for anyone to make that home.apk compatible with the xperia play
[Xperia Play Themes and Apps] shion420:
Here, use this one

https://www.box.com/s/564a78283868c73481a3

Make sure to backup your home.apk first.
[Xperia Play Themes and Apps] bamsbamx:
Gives force close
[Xperia Play Themes and Apps] solomon4400:
jokawildrom v2.5 i think has the 4 corners and more home screens works perfect check out the dev section
[Xperia Play Themes and Apps] Jordanooo:
Yep, on the jokawild thread theres around 5-6 different types to choose from

Juat flashed on stock and all is good
[Xperia Play Themes and Apps] bamsbamx:
you mean which appear in this link??

http://xdaforums.com/showpost.php?p=23313191&postcount=3

ok, found it here http://xdaforums.com/showpost.php?p=24028173&postcount=140
[Xperia Play Themes and Apps] CTU_Loscombe:
This require a certain 2.3 kernel or does any one work?
[Xperia Play Themes and Apps] bamsbamx:
Dont tried it, but this apks are designed to be used in Gingerbread, although the could work on ics too... In any case make backup of /system and if home doesnt work restore it :)
[Xperia Play Themes and Apps] CTU_Loscombe:
works like a charm until you reboot...wont make it past the lockscreen :S freezes and have to battery pull
[Xperia Play Themes and Apps] bamsbamx:
No the same here, after some reboots didn't frozen... I am using 5screen and two corners mod... Are you using ics, or somthing??? Make sure that you have set correct permissions
[Xperia Play Themes and Apps] CTU_Loscombe:
Its ok now. Cant download off the market though. Just stays downloading forever :S
[Xperia Play Themes and Apps] Jordanooo:
Im on stock .49 and using 4 corners 9screens. Everythings fine for me
[Xperia Play Themes and Apps] CTU_Loscombe:
sorted :)

Seems it was kernel issues I think
[Sony Xperia P, U, Sola, Go] xperiax10.awesome:
Hi Guys,

Lets discuss these two here:

Details:

Key features for Xperia Acro S

4.3” 720p HD Reality Display powered by Mobile BRAVIA Engine gives razor sharp clarity

12MP fast capture camera goes from sleep to snap in just over a second with a single key press

PlayStation™ Certified

Full 1080p HD video recording and 720p HD front camera

Scratch resistant mineral glass display with wet finger tracking

IP55 and IP57 Ratings for dust and water resistance

1.5Ghz dual core processor gives consumers super fast performance

Launching on Android 4.0 (Ice Cream Sandwich)

Available in black, white and pink colours

Key features for Xperia Go

3.5” Reality Display powered by Mobile BRAVIA Engine gives razor sharp clarity

5MP fast capture camera goes from sleep to snap in just over a second

Scratch resistant mineral glass display with wet finger tracking

Highest level of dust and water resistance in a smartphone – IP67 Rating

1Ghz dual core processor gives consumers super fast performance

Launching on Android 2.3 (Gingerbread), upgradeable to Android 4.0 (Ice Cream Sandwich)

Available in black, white and yellow colours

Xperia go will launch in the US market under the name “Xperia advance”

CLICK HERE FOR MORE DETAILS

Video:

[YOUTUBE]hF8DFhnYyUE[/YOUTUBE]

Pictures:
[Sony Xperia P, U, Sola, Go] K900:
I'm liveblogging the launch event: http://www.wordfaire.com/sony-event/
[Sony Xperia P, U, Sola, Go] LitoNi:
more detailed specs below

http://www.sonymobile.com/cws/corporate/press/pressreleases/pressreleasedetails/xperiagoxperiaacrospressreleasefinal-20120530
[Sony Xperia P, U, Sola, Go] mailthesauce:
Video here

[YOUTUBE]hF8DFhnYyUE[/YOUTUBE]
[Sony Xperia P, U, Sola, Go] metcard:
micro sd card slot!!

if Sony don't show the global hayabusa before this launches I might just bite.
[Sony Xperia P, U, Sola, Go] kurk_droog:
How can I visit those press releases at the costs of Sony? The Hawaii style was made for me :D

Phones looks great.
[Sony Xperia P, U, Sola, Go] K900:
You have to work for a Russian tech website :P
[Sony Xperia P, U, Sola, Go] LitoNi:
you should add one "sticking with xperia s" :)
[Sony Xperia P, U, Sola, Go] xperiax10.awesome:
Any news about RELEASE DATES ?
[Sony Xperia P, U, Sola, Go] Ambroos:
It's a shame the Acro S runs on the S3, not on an S4.
[Sony Xperia P, U, Sola, Go] LitoNi:
@SonyXperiaRu: acro S launches with ICS, Q3 2012, Xperia go launches with GB, Q3 2012. Both have wet finger tracking tech
[Sony Xperia P, U, Sola, Go] ronijs19:
size and weight just like htc sensation :D

But durable and big battery. need know what is cpu. If s3, then i take xperia P. somting smoler and butafull.

If s4, then realy bee good battery life in perfomance and nice styl.