yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Ace Plus S7500] magaedy:
Thank you for your reply man :)

but i searched also and found device has the same CPU & GPU but display & camera as Galaxy Mini 2 and has more ram 768 MB, its called (Samsung Galaxy Young S6310)

and this is the link of its features : (http://www.gsmarena.com/samsung_galaxy_young_s6310-5280.php)

and it has an offical jellybean rom :)
[Samsung Galaxy Ace Plus S7500] magaedy:
New Found Device :) :

Samsung Galaxy Young 2

http://www.gsmarena.com/samsung_galaxy_young_2-6480.php

very near to ace plus and it has offical Kitkat rom :)
[Samsung Galaxy Ace Plus S7500] Paget96:
try to port this rom :D

http://xdaforums.com/showthread.php?t=2682511
[Samsung Galaxy Ace Plus S7500] magaedy:
this device doesn't have flash so I think the flash remain bug if we port this rom to our device
[Samsung Galaxy Ace Plus S7500] Androidoo:
gpu isnt mentioned and i guess galaxy young can help us,but is really a toisome wrk, coz we have to mess with samsung framework
[Samsung Galaxy Ace Plus S7500] magaedy:
I think we could begin from pure galaxy rom, only if any one tell me about wifi-ap and camcoder files so i can extract them from the offical firmware of galaxy fame or galaxy young and we could make stable jellybean rom
[Samsung Galaxy Ace Plus S7500] Androidoo:
i dont know about that files jporasekar can tell you more about that i hope he replies
[Samsung Galaxy Ace Plus S7500] magaedy:
also for galaxy young 2 the only issue is that the gpu and i think with the gpu driver could solve that problem :

and here is the adreno 200 gpu driver for ics :

https://developer.qualcomm.com/forum/qdevnet-forums/mobile-gaming-graphics-optimization-adreno/26624
[Samsung Galaxy Ace Plus S7500] Paget96:
I think to port CM7 ROM, because our device is old.

CM7 have a lot of futures, changes :)

and this is easier than to port cm11 or any other

---------- Post added at 11:47 AM ---------- Previous post was at 11:28 AM ----------

hey :D

galaxy duos have same cpu :D

http://www.phonearena.com/phones/Samsung-Galaxy-S-Duos_id7333

only difference is DPI, larger battery,little more RAM, 4gb of instead 3gb and front facing camera :D

I compare this devices

http://www.phonearena.com/phones/compare/Samsung-Galaxy-Ace-Plus,Samsung-Galaxy-S-Duos/phones/6785%2C7333 [MENTION=5669811]magaedy[/MENTION] [MENTION=5415343]Androidoo[/MENTION] [MENTION=4951482]j.posarekar70[/MENTION] [MENTION=5274986]ShadowsDie[/MENTION]
[Samsung Galaxy Ace Plus S7500] ShadowsDie:
rear camera is different too, the one on s duos has light sensor on camera
[Samsung Galaxy Ace Plus S7500] Paget96:
yes, but that can remove :)
[Samsung Galaxy Ace Plus S7500] magaedy:
I tried working on the offical firmware of galaxy fame s6810 but only can't make flashable zip rom, tried every thing (android kitchen, editing a working flashable zip rom) but each method makes a non flashable zip rom in TWRP :(

any help in that ????????????
[Samsung Galaxy Ace Plus S7500] jasper~:
Is Hyperion 9 or Lenox can be Ported to our device?
[Samsung Galaxy Ace Plus S7500] Paget96:
I want to add SmartassV2 to kernel, how to do this?? :)
[Samsung Galaxy Ace Plus S7500] magaedy:
no it's very complicated to try porting rom for different device, if you try you will get bootloop bug
[Samsung Galaxy Ace Plus S7500] jasper~:
Someone port Hyperion to Galaxxm Pocket sir.
[Android Q&A, Help & Troubleshooting] zillah2004:
Dear Experts

Recently I installed Telegram on my SGS3, and surprising the Telegram's concocts shows me the contacts from my father's phone!!!! My father has SGS2.

By the way my SGS3 "Contacts to Display " option is set up to show gamil account,,,,which none of my father's lists are there

Any reason for that ?

Thanks
[Galaxy Ace S5830 Original Android Development] Mm7:
Hey xda!

If you have problems with video recording here is a patch to get it working in cm 11 :)

You have just to flash it in recovery but please before doing anything make a nandroid backup

Unfortunately the resolution is 320x240.

Download: http://www.mediafire.com/download/09zsgo2zltit4eg/VideoRecordingPatch.zip

Source code of the patch: https://gist.github.com/Mm7/14cf84296dc2f5b78f41

I hope this can help.

Mm7

EDIT: Now this fix is included in androidarmv6's builds, you no longer have to flash this
[Galaxy Ace S5830 Original Android Development] Persian Ace:
Thanks man.but these files you uploaded exist in cm11 roms that i have downloaded before.is there any diference between them?
[Galaxy Ace S5830 Original Android Development] Mm7:
Yes, files that I uploaded contain the fix
[Galaxy Ace S5830 Original Android Development] Persian Ace:
Hi

This is not believable.your patch works fine.I tried this patch on Salim PS ROM(cm11.0.0-RC7) and Mardon ROM(cm10.2-20140126)and WOW!!!!!!!

Camcoder worked very well.stock video player worked too.

Thanks man.your work is very amazing.thanks a lot
[Galaxy Ace S5830 Original Android Development] Sam7777777:
Sir could you please let me know whether it will work on omni rom too

Btw my device is not 10.1 n8000

Thank you, good day
[Galaxy Ace S5830 Original Android Development] Mm7:
I've just proposed this patch to androidarmv6 team. Whether it will be merged will be included in the next builds. I will keep you informed
[Galaxy Ace S5830 Original Android Development] Mm7:
It seems that my patch is useful also for beni (galaxy fit), I'm waiting feedbacks from beni's users. If I get feedbacks (in a resonable time) I will update my patch to work also with beni and then I will merge this in androidarmv6

Sorry for delay
[Galaxy Ace S5830 Original Android Development] Mm7:
Patch merged. You no longer need to flash this
[Galaxy Ace S5830 Original Android Development] Deleted member 4859884:
Great, do you know if it made it into RC9?
[Galaxy Ace S5830 Original Android Development] Mm7:
No, You will have to wait for the next nightly!
[Galaxy Ace S5830 Original Android Development] graineeg:
This is in the changelog of the RC9:

* device/samsung/cooper

b8e532b [2/2] cooper: fix video recording for cooper

:good:
[Galaxy Ace S5830 Original Android Development] Mm7:
Oh, You are right! Sorry for mistake!
[Galaxy Ace S5830 Original Android Development] Venkatesh:
Could you please look into galaxy mini and gio camera issue?

We are having source built libcamera which isn't colorful at all and proprietary gb libcamera isn't working in cm11. Can you help us? Thank you.
[Galaxy Ace S5830 Original Android Development] Mm7:
Uhm, I don't own neither mini nor gio so I can't help very much! Can you explain me clearly the issues?
[Galaxy Ace S5830 Original Android Development] Venkatesh:
Gingerbread libcamera.so isn't loading in cm11, so psyke83 built it from source, which isn't colorful, no effects at all. As we don't have developers left, we are left with that colorless camera.

---------- Post added at 08:19 AM ---------- Previous post was at 08:16 AM ----------

Is it possible to use ace libcamera on mini/gio(both are 3mp devices)?
[Galaxy Ace S5830 Original Android Development] Mm7:
Ace libcamera shouldn't work. Fixing the source built libcamera is better than fixing the prebuilt one, can you provide a logcat?
[Galaxy Ace S5830 Original Android Development] Venkatesh:
Unfortunately, I can't give you logcat since i don't have cm11 built with proprietary libcamera.so(the last build with prebuilt libcam is way long back on december 2013). These are some from other users taken at that time. Camera app opened, but it's all grey.

http://xdaforums.com/showpost.php?p=48793634&postcount=484

http://xdaforums.com/showpost.php?p=46201670&postcount=124

http://xdaforums.com/showpost.php?p=46219494&postcount=129

http://xdaforums.com/showpost.php?p=46247165&postcount=131

logcat1

logcat2

logcat3

log4
[Galaxy Ace S5830 Original Android Development] Mm7:
I still think that you should try to fix source built libcamera; however if you want prebuilt one:

That bug has already been fixed (I think after gio dropped prebuilt libcamera) by this commit: https://github.com/androidarmv6/and...mmit/227e32e355603b87b9b2991517796066c1bd1f16

I think that a fresh build with prebuilt libcamera enabled is enough to get it working!

EDIT: Here's the build link -> http://jenkins.androidarmv6.org/job/cm-gerrit/2359/ Please test it and let me know!
[Galaxy Ace S5830 Original Android Development] Venkatesh:
Thank you.

Edit: Sir, my device is galaxy mini. I'll ask the gio users to test.
[Galaxy Ace S5830 Original Android Development] Ansh2000:
[MENTION=5051035]Mm7[/MENTION] could you please look into galaxy 551 callisto camera issue? The problem is same as gio and tass.
[Galaxy Ace S5830 Original Android Development] Mm7:
Oh, Sorry, I thought you were a owner of a gio! However here is a tass build -> http://jenkins.androidarmv6.org/job/cm-gerrit/2364/ [MENTION=5364545]Ansh2000[/MENTION] if prebuilt libcamera works on gio/tass I will enable it also for callisto!
[Galaxy Ace S5830 Original Android Development] Venkatesh:
Thanks a ton sir. I'll post the results as soon as i test it.
[Galaxy Ace S5830 Original Android Development] Venkatesh:
Sir, You missed a few things. So "can't connect to error".

1. Prebuilt libcamera.so isn't copied(not present in zip)

2. I am not sure about this, you should also use samsung(i don't know it is froyo one or gb one)liboemcamera.so(inside the zip one is source built, i think).

---------- Post added at 07:02 PM ---------- Previous post was at 06:43 PM ----------

I saw your commit. It isn't enough, i think. You may need to modify make files in libcamera folder(msm7x27-common).
[Galaxy Ace S5830 Original Android Development] Mm7:
You're right, I belived that this https://github.com/androidarmv6/and...mmit/dd66809dac9fd0984e677c3164fe684ab2ea1bc6 was enough also to copy prebuilt libcamera, but I was wrong. Ok, now fixed! I'm building now, I will provide you a link as soon as the build is done.

Source built libcamera need froyo revision of liboemcamera to load
[Galaxy Ace S5830 Original Android Development] Mm7:
Here is the link http://www.mediafire.com/download/sczlmhglxb2xl2d/cm-11-20140819-UNOFFICIAL-tass.zip
[Galaxy Ace S5830 Original Android Development] Mm7:
[MENTION=4523093]Venkatesh[/MENTION], Is camera loading now? If no, can you provide me a logcat?
[Galaxy Ace S5830 Original Android Development] Venkatesh:
According to this post http://xdaforums.com/showthread.php?p=54946805-No. Same "can't connect to camera error".

I'll post logcat shortly.
[Galaxy Ace S5830 Original Android Development] force_close:
I hope I'm doing it right, here's a logcat

http://pastebin.com/VWvErChK
[Galaxy Ace S5830 Original Android Development] Venkatesh:
Looks like you din't try to open camera.

Hal loaded but there is nothing much to debug. Please try opening camera app after starting logcat.
[Galaxy Ace S5830 Original Android Development] force_close:
I have, I'm trying to open camera twice, first it stopped working, then it openned but says can't connect to camera
[Galaxy Ace S5830 Original Android Development] Venkatesh:
Okay..thank you. I'll try to get something to debug.
[Galaxy Ace S5830 Original Android Development] force_close:
another log http://pastebin.com/x4Xve8JN
[Galaxy Ace S5830 Original Android Development] Venkatesh:
Sir, here is my log. I tried opening stock cam app and 3rd apps. Generated both logs. See attachments.

Text file is of both stock and 3rd party app. And the zip contains separate logs. xda isn't allowing me to upload a txt file more than 500kb, so, i zipped them.

I see you building locally. My internet is slow and i am on low bandwidth. So, if it is possible please upload only these files(libcamera_client.so, libcamera_metadata.so, libcameraservice.so, liboemcamera.so, libcamera.so, hw/camera.msm7x27.so)

so that i can test it within short time and can give you logcats immediately.

Thank you.
[Galaxy Ace S5830 Original Android Development] Mm7:
Perhaps the problem is in "CameraHAL_FixupParams" function. I've added some logging. Please test this camera hal http://www.mediafire.com/download/befbfhju526gew0/camera.msm7x27.so

Remeber to restart the mediaserver if you don't reboot android.

Please provide me a logcat as soon as you can!
[Galaxy Ace S5830 Original Android Development] Venkatesh:
Logcat attached.
[Galaxy Ace S5830 Original Android Development] Venkatesh:
[MENTION=5051035]Mm7[/MENTION], This one is cm10 camera log, perhaps it helps you.
[Galaxy Ace S5830 Original Android Development] Mm7:
Uhm.. I really can't understand why "cancelPicture" is called in initialization. I try to workaround this call.

http://www.mediafire.com/download/befbfhju526gew0/camera.msm7x27.so

Let me know!
[Galaxy Ace S5830 Original Android Development] Venkatesh:
Logcat attached.

cancelPicture is called from proprietary libcamera.so too but why? is it beacuse not enough resources, i mean adsp(or something like that) values in kernel?
[Galaxy Ace S5830 Original Android Development] Mm7:
Are you sure you have tested properly my latest camera hal? Despite I workarounded the call to "cancelPicture" in your logcat it is present yet.

"cancelPicture" is not called by libcamera. Android framework call "camera_cancel_picture" which call "cancelPicture". Adsp is needed only for video recording
[Galaxy Ace S5830 Original Android Development] Venkatesh:
Sure. Tested properly. Took 3 logcats, all says the same. Deleted that library,copied, rebooted and wiped dalvik cache. And took logcat.

---------- Post added at 08:02 PM ---------- Previous post was at 07:58 PM ----------

Cm10 logcat is full of mempool allocations which isn't not even present in cm11 logcat. Pskye83 may better help you. When he built with prebuilt lib, camera is opened and preview is all grey...no fc's and can't connect errors.
[Galaxy Ace S5830 Original Android Development] Mm7:
Fixed a problem. http://www.mediafire.com/download/befbfhju526gew0/camera.msm7x27.so

OK, I'll ask psyke83 for help. He is really better than me! AFAIK adsp is allocated by gralloc for preview and by libomxvidenc for encoding video, maybe I'm wrong.
[Galaxy Ace S5830 Original Android Development] psyke83:
OK, I may know how to fix the problem. Will upload some changes to gerrit and run a build.

Edit: I took a quick look at the prebuilt libs and see some possible issues in the cameraparameters. I've updated Marco's changes for gio and tass with the config that may fix the GB libcamera.

gio build: [removed]

tass build: [removed]

If we have success, this will also fix callisto, but I don't think there's any point in doing a test build yet, since there are less users available for testing on that device.
[Galaxy Ace S5830 Original Android Development] force_close:
camera openned for a few seconds (all black with shutter) but then stopped working

here's a log http://pastebin.com/6DyFr3CL
[Galaxy Ace S5830 Original Android Development] Venkatesh:
Please take logcat even after it says stopped working. We'll get more info after that.
[Galaxy Ace S5830 Original Android Development] psyke83:
New builds for testing:

gio: http://jenkins.androidarmv6.org/view/Developers/job/cm-experimental/1093/

tass: http://jenkins.androidarmv6.org/view/Developers/job/cm-experimental/1095/
[Galaxy Ace S5830 Original Android Development] Venkatesh:
camera app opened(preview is all black) but freezes upon taking/clicking a pic, clicking any option in camera app releases from freeze. Same with video recording. But no errors like can't connect to camera. Definitely a step forward.

However both pskye83 build(according to force_close user logcat) and your build fails at

QualcommCameraHardware( 126): receive_camframe_error_timeout: X

QualcommCameraHardware( 126): Camframe timed out. Not receiving any frames from camera driver

E/Camera ( 1924): Error 1002

E/CameraErrorCallback( 1924): Got camera error callback. error=1002

V/CAM_FocusManager( 1924): Start autofocus.

camera app freezes at focus. anything wrong with focus? [MENTION=3877378]psyke83[/MENTION]

Look at the screenshot.

Attached both stock cam, 3rd party camera app logcats.(22-08.txt-stock cam, 22-08-1.txt-3rd party app).
[Galaxy Ace S5830 Original Android Development] Venkatesh:
Logcat attached. Black preview, force closes after clicking shutter.

V/QualcommCameraHardware( 126): takePicture: X

D/QualcommCameraHardware( 126): snapshot_thread E

V/QualcommCameraHardware( 126): runSnapshotThread E

V/QualcommCameraHardware( 126): SNAPSHOT: loading libqcamera at 0x4127e800

E/CAM_FD ( 126): config_proc_CAMERA_START_SNAPSHOT: state is not correct ctrl->state = 9

E/QualcommCameraHardware( 126): native_start_ops: type 7 error Success

E/QualcommCameraHardware( 126): main: snapshot failed! [CAMERA_OPS_SNAPSHOT]

E/QualcommCameraHardware( 126): get picture failed, giving jpeg callback with NULL data

F/libc ( 126): Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 1322 (Binder_2)

Edit: a few observations. [MENTION=5051035]Mm7[/MENTION], using your lib causes no fc's.

V/QualcommCameraHardware( 126): setParameters: X

W/CAM_PhotoModule( 2569): startPreview: surfaceTexture is not ready.

W/CAM_PhotoData( 2569): Zero dimension in ContentResolver for /storage/sdcard0/DCIM/Camera/IMG_20140108_113837.jpg:0x0

E/QualcommCameraHardware( 3291): <=PCAM=> PCAM_AF_LOWCONF, Fail! mAFStatus : 0

E/QualcommCameraHardware( 3291): <=PCAM=> PCAM_AF_LOWCONF, Fail! mAFStatus : 0

E/QualcommCameraHardware( 3291): <=PCAM=> AF Fail

E/QualcommCameraHardware( 3291): <=PCAM=> AF Fail

I/QualcommCameraHardware( 3291): <=PCAM=> added 500msec delay for lens moving

I/QualcommCameraHardware( 3291): <=PCAM=> added 500msec delay for lens moving

V/QualcommCameraHardware( 3291): native_ext_sensor_config: mode b, address 0, value I/QualcommCameraHardware( 3291): <=PCAM=> not mSamsungCamera AE Unlock after AutoFocus

zero dimensions?
[Galaxy Ace S5830 Original Android Development] erikcas:
[MENTION=3877378]psyke83[/MENTION], w/o reading latest logcats (not able to open them on phone) or reading sources... add (or remove) shutter hack? I remember we had to work around a freeze by ifdeffing out frontcam shutter sound.

Can anybody post the logcat on gist or pastebin?

Verstuurd vanaf mijn GT-I9505 met Tapatalk
[Galaxy Ace S5830 Original Android Development] erikcas:
double post ?

Edit: lens moving??
[Galaxy Ace S5830 Original Android Development] Somebod y:
This time it is not for cooper, but a big THANKS to mm7, psyke83 and erikcas

Sent from GT-S5830
[Galaxy Ace S5830 Original Android Development] psyke83:
Comparing the symbols in the libs may help: https://gist.github.com/psyke83/4d46a7951a8a3d9ddce2#file-diff-log
[Galaxy Ace S5830 Original Android Development] psyke83:
Yes, I remember. I'm grepping the older branches now to try and find it. In the meantime, I've started new builds to test the BOARD_CAMERA_MSG_MGMT config:

gio: http://jenkins.androidarmv6.org/job/cm-experimental/1097/

tass: http://jenkins.androidarmv6.org/job/cm-experimental/1098/

Here's another build that implements QCOM legacy camera parameters as well as the above change:

gio: http://jenkins.androidarmv6.org/job/cm-experimental/1099/

tass: http://jenkins.androidarmv6.org/job/cm-experimental/1100/

[MENTION=5051035]Mm7[/MENTION], can you provide me with a cooper camera log to use as a frame of reference? Also, if anyone happens to be running a CM10.2 build on gio or tass, a log from that would be useful as well.
[Galaxy Ace S5830 Original Android Development] Mm7:
This is initialization only, if you need also picture taking or video recording let me know

https://gist.github.com/anonymous/c86995f4ed7bc9a9e533
[Galaxy Ace S5830 Original Android Development] Venkatesh:
Cm10.2 with source built camera?
[Galaxy Ace S5830 Original Android Development] force_close:
camera openned with no preview, freeze when I press shutter button, but still can access camera menu when it freeze.

log for #1100 attached

edit : log for build #1098 tass http://pastebin.com/i93kL3BU

camera open for 3 seconds then stopped working
[Galaxy Ace S5830 Original Android Development] Venkatesh:
Don't you guys think black screen is because of these errors:

I/QualcommCameraHardware( 127): added 500msec delay for lens moving

I/QualcommCameraHardware( 127): receive_camframe_error_timeout: E

E/QualcommCameraHardware( 127): Camframe timed out. Not receiving any frames from camera driver.

Perhaps, a kernel dmesg could help us?
[Galaxy Ace S5830 Original Android Development] psyke83:
[MENTION=5051035]Mm7[/MENTION],

I found a typo in the camhal code that was breaking the libcamera dlopen functionality, so I integrated the fix into your existing commit. I was able to test on totoro (which had the same typo in the camhal) and the dlopen code now works properly. It should be working on msm7x27 too, but you should probably double-check that it works OK on cooper.

I've started a build for you, just in case it's more convenient than running a local build: http://jenkins.androidarmv6.org/job/cm-experimental/1101/
[Galaxy Ace S5830 Original Android Development] psyke83:
The first line is probably not related to the problem, but the other two are simply informing of an error occurring in the driver and we can't really tell much from those messages alone. The problem is likely due to broken/missing camera parameters, which is causing the driver initialization to fail. If we had a camera log from cm10.x (i.e. using the GB libcamera with the camhal), it might help us to identify the problem.
[Galaxy Ace S5830 Original Android Development] Venkatesh:
erikcas also mentioned lens moving in his previous posts.

I'll post cm10.1 logcat in sometime.

By the way, you can get cm10 logcat from my previous post.

Edit: check cm10 logcat here http://xdaforums.com/showthread.php?p=54959989
[Galaxy Ace S5830 Original Android Development] Bhargav97:
Does this typo exist in galaxy5's camhal too?

P.S. Camera is all fine on galaxy5 since a long time (THANKS!) but I noticed that the video recording is not as smooth (it's low on FPS) as on stock Froyo in any of the CM roms. Can that be fixed by manually adjusting settings for exposure and FPS for video recording mode in camhal (on CM11)?
[Galaxy Ace S5830 Original Android Development] Venkatesh:
cm10.1 logcat

cm10.1 logcat attached. Rar contains logcat while taking pics and video.
[Galaxy Ace S5830 Original Android Development] psyke83:
The camhal is the same for galaxy5, but galaxy5 doesn't need to use dlopen, as the libcamera is built from source and integrated into one shared library. OMX support on ICS and later is fairly hacky, so it's possible that performance won't reach Froyo/Gingerbread levels... but the performance difference could be explained if we use a different (i.e. more CPU intensive) codec or profile settings for encoding audio/video compared to GB. Experimenting with media_profiles.xml may give you better results.