yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Ace Plus S7500] ShadowsDie:
wasn't the white screen issue a problem of clockworkmod? i think version 6 fixed it?
[Samsung Galaxy Ace Plus S7500] Master-ZizO:
S7500 only without L or T

the problem is in the kernel ... even i use inspiration rom i have to change boot.img
[Samsung Galaxy Ace Plus S7500] ctcx:
I made the kernel comparisons between non-variant and letter-variant in page 103 of the thread, and TheWhisp said there's nothing that can be causing (or explain) the boot problem on L variant (i.e, the black screen after GT-S7500L logo). Or at least in appearance...
[Samsung Galaxy Ace Plus S7500] PR0707YP3:
I have a problem with connecting my bluetooth headset it gets connected but media is not played via the headset instead the media plays via my phone speaker..How shud i fix dis bug ..
[Samsung Galaxy Ace Plus S7500] TheWhisp:
it will be fixed in the next build
[Samsung Galaxy Ace Plus S7500] TheWhisp:
Do you really have problems with your reading abilities? Tell me where have I said that I will add option to enable/disable deep sleep?! Stop posting things I haven't said. Deep sleep is working already.
[Samsung Galaxy Ace Plus S7500] ShadowsDie:
TheWhisp said he will implement the home button wake enable/disable feature i dont think he ever mentioned nothing about deep sleep
[Samsung Galaxy Ace Plus S7500] sallu08:
Yup you are correct.. Thewhisp mentioned about home button wake and nothing about deep sleep.. If anyone has any doubts then please see the attached picture..

And please read properly before posting..
[Samsung Galaxy Ace Plus S7500] blinqipa:
But Deep Sleep is the Home Button Wake , that is deep sleep (as I know , if I'm wrong please amend me ;) )
[Samsung Galaxy Ace Plus S7500] a.cid:
Please do not spread false info.

Cleaned before it causes further unrest/problems.
[Samsung Galaxy Ace Plus S7500] Depau:
What about the BT mouse problem? Is it a thing you can fix?

However, as I didn't want to open too much posts just to add my phone's behavior, I write everything I would have posted previously here:

Security>Permissions makes my phone's settings app crash too.

The first time I open the (stock) camera app (with the libs from S6500 and TweakNOS) after a reboot it crashes, the second time it works. If there is a problem you will probably find it in the logs I sent some days ago through PM.

Don't know if this is useful, but yesterday I tried pushing the home button after leaving it sleeping for about a day, and it waked the phone.
[Samsung Galaxy Ace Plus S7500] ShadowsDie:
NO LOL! Home Button Wake is just to wake the phone from DEEP SLEEP!

Deep Sleep is a feature on this rom that works perfectly! the only problem is the home button waking up the phone

JUST THAT, A SIMPLE BUTTON

So hard to understand?
[Samsung Galaxy Ace Plus S7500] akki809:
i have tried s duos kor camera files in cm10.1...got a bootloop...anyone plzz tell share ur efforts what u have done to fix camera flashlight and autofocus..
[MENTION=4148720]TheWhisp[/MENTION] may u plzz give any suggestion so that we could try..??
[Samsung Galaxy Ace Plus S7500] TheWhisp:
I already said, download some Torch app and send me a logcat
[Samsung Galaxy Ace Plus S7500] blinqipa:
OK will give the logcat after 20-25min. , what about the autofocus :rolleyes: thewhisp
[Samsung Galaxy Ace Plus S7500] akki809:
in app flashlight... it is not showing ledflashligh... so i took logcat of camerajb+ as cam and camera zoom fx as zoomfx. take a look sir
[Samsung Galaxy Ace Plus S7500] TheWhisp:
if both flash and autofocus is not working then it is definitely because you're using Mini 2 libs
[Samsung Galaxy Ace Plus S7500] akki809:
may be plzz tell me what should i do, to fix camera?? and may u tell me in your build which libs you took??
[Samsung Galaxy Ace Plus S7500] blinqipa:
But the 5MegaPixel camera works
[Samsung Galaxy Ace Plus S7500] Pagos1988:
I think it's fake 5 Mpixel.. The resolution is correct, but the images are not so nice as 5mpixel pics token with gingerbread sgap's roms
[Samsung Galaxy Ace Plus S7500] Franky 97:
No its very 5mp...after shot photo on PC or with any app watch the resolution
[Samsung Galaxy Ace Plus S7500] TheWhisp:
Because liboemcamera.so directly communicates with kernel driver. Libcamera.so sets camera parameters ( effects, video/preview size etc. )
[Samsung Galaxy Ace Plus S7500] blinqipa:
So is it real 5megapixel or fake

Also autofocus ?what about that isnt that set with those parameters?
[Samsung Galaxy Ace Plus S7500] TheWhisp:
How can it be fake? If the resolution is equal to what 5mp is then it's OK.
[Samsung Galaxy Ace Plus S7500] blinqipa:
Also can someone explain me what is swap .Sallu08 told me what is zRAM but I want to know what is swap .and why it bricked some galaxy mini 2's
[Samsung Galaxy Ace Plus S7500] akki809:
sir.. today i tried to replace liboemcamera.so from s duos as well as from stock fb rom.. s duos dint worked... and when i placed other camera files like libcamera.so, libcamera_client and libcamera service... from stock gb rom... i got bootloop...

tell me sir what can i do??
[Samsung Galaxy Ace Plus S7500] sallu08:
Hi akki809.. I'm very happy to someone work so sincerely.. I would like to tell you 1 thing.. I already tested libs of s duos a couple of weeks back and had already posted the results.. I used libs from 3 different roms.. One was stock and the other 2 were custom.. Ofcourse none of them worked.. All caused my phone to stuck at the GT-S7500 screen... And this is what I'm trying to ask from thewhisp.. That if the libs are just related to camera then why do they interfere with the phone's booting..
[Samsung Galaxy Ace Plus S7500] GTM_rhinox:
Guys I installed Kernel Tuner App and it has some cool features!! Try it out!

The thing I was interested in was the option to turn on/off USB OTG! Guys can you check if it works and provide logcats! I don't have a OTG cable with me at the moment...

Kernel Tuner:

https://play.google.com/store/apps/details?id=rs.pedjaapps.KernelTuner&hl=en
[Samsung Galaxy Ace Plus S7500] _Dorregaray_:
The libraries are loaded during the device boot. If you put wrong camera libraries (relying on some API function that yout ROM components does not provide) the library won't load and the mediaserver process (which is one of the core processes and among other things controls camera) will crash leading the device to stuck in bootloop. Connect the phone to the PC using USB cable and run adb logcat from SDK and you will see the exact cause of the crash.
[Samsung Galaxy Ace Plus S7500] akki809:
ohhh thnx sir.... sir may u please suggest me.. about why flashlight and autofocus fix... which i menationed in my pm.. logcat below
[Samsung Galaxy Ace Plus S7500] :
i think you should stop asking same questions over and over again, its against the rules also its annoying and people will be irritated of the same questions over and over again,

i suggest you first try to wait for an answer/fix

or search on it if someone have the same problem on another device.

or try to learn by yourself and see what you can manage to do, its not always copy/paste libs.

sometimes they need to be hexed/rewritten or even build from source with changes so they work successfully with your port
[Samsung Galaxy Ace Plus S7500] TheWhisp:
I already answered to that question like 5 times
[Samsung Galaxy Ace Plus S7500] akki809:
[MENTION=4435346]LastStandingDroid[/MENTION] and [MENTION=4148720]TheWhisp[/MENTION]

sorry for this.. but when i asked you that dint worked so i asked a developer who can help tp fix camera.. and yes xda is all about sharing and helping.
[Samsung Galaxy Ace Plus S7500] blinqipa:
Thewhisp I know that flashlight log cat was uploaded before ,but you can take a look at mine too

Here's the logcat
[Samsung Galaxy Ace Plus S7500] _Dorregaray_:
I cannot say much more than I wrote on pm. you can try to run: http://goo.im/devs/Dorregaray/app/CameraInfo.apk and provide me the logcat (if it will run) otherwise check for some app that prints camera parameters to check what autofocus and flashlight modes are reported. you can run any flashlight app and check the logcat - maybe there will be a clue why the flashlight isn't working
[Samsung Galaxy Ace Plus S7500] akki809:
the camerainfo app worked...logcat below..

*and the autofocus is only set to infinity.
[Samsung Galaxy Ace Plus S7500] TheWhisp:
please upload a logcat with stock Ace Plus camera libs that were included in my latest build.
[Samsung Galaxy Ace Plus S7500] akki809:
i have flashed latest build again and the logcats while using stock ace plus library is given below:
[Samsung Galaxy Ace Plus S7500] sonartica:
Is just sad how you guys are concerned about useless stuff like the camera, and doing nothing to help us, the variant users, to try the ROM.

Thanks a lot, guys
[Samsung Galaxy Ace Plus S7500] TheWhisp:
upload full logcat not just some cut-out part of it.
[Samsung Galaxy Ace Plus S7500] ShadowsDie:
http://xdaforums.com/showthread.php?t=2346752

can this help? i think it is for any aosp rom with camera issue

---------- Post added at 11:19 PM ---------- Previous post was at 11:16 PM ----------

and i found something that could help with home button waking up bug

===================================================

Pressing homebutton not waking up screen. Method to repair is:

"That bug is really easy to fix by editing the Generic.kl text file.

This file is under System->usr->keylayout->Generic.kl

Use Root Browser to access/open/edit this text file (you can use ES File Manager with root access, etc)

Change the line

key 172 HOME

to

key 172 HOME WAKE".
[Samsung Galaxy Ace Plus S7500] blinqipa:
Do I need to put : Wake". Or only wake .because it didnt work for me
[Samsung Galaxy Ace Plus S7500] ShadowsDie:
only wake
[Samsung Galaxy Ace Plus S7500] blinqipa:
Actually not working for me .I used root explorer

Edit:Actually worked after reboot .But due problem still persists.The phone can't be waken by pressing the home button .Sorry :(
[Samsung Galaxy Ace Plus S7500] ShadowsDie:
well maybe what i found serves only if the home button wake doesn't never work

i remembered it is deep sleep bug :)

p.d. actually i never had problems with this bug while listening music just sometimes when i try to wake it up very fast but never while listening music
[Samsung Galaxy Ace Plus S7500] blinqipa:
Is it possible to fix the VOip by replacing something??? (No spamming just asking)
[Samsung Galaxy Ace Plus S7500] _Dorregaray_:
in camera parameters you have: focus-mode-values=infinity

so your libcamera.so reports only one, infinity focus mode. you can try and overwrite this value in camerahal to: "auto,infinity,macro,continuous-video,extended,portrait,touch,face-priority" or whatever values should be supported by your camera.

there's also no flash-mode-values parameter, you can try to set it in camerahal to "off,on,auto,torch"

however if the libcamera.so doesn't report those values it probably doesn't support them it probably won't work

In the logcat you have: FATAL ERROR: could not dlopen liboemcamera.so: Cannot load library: soinfo_relocate(linker.cpp:1013): cannot locate symbol "_ZN7android11MediaSource13getBufferInfoERNS_2spINS_7IMemoryEEEPj" referenced by "libmmparser.so"...

check if you have MediaSource::getBufferInfo() function and patch MediaSource accordingly (or set the missing setting in your device's .mk file)
[Samsung Galaxy Ace Plus S7500] blinqipa:
I would try to overwrite but IDK how to open it and overwrite .A little guide would be helpful :)

---------- Post added at 09:49 AM ---------- Previous post was at 09:44 AM ----------

Thewhisp do you need another Logcat ,if so I will reflash the ROM and post it here .
[Samsung Galaxy Ace Plus S7500] _Dorregaray_:
If you're building the ROM you probably have the camerahal wrapper for the proprietary camera libraries. There there's probably a function with Fixup in the name that corrects the CameraParameters returned by the libcamera.so before passing to the system. You can add a modifications there.
[Samsung Galaxy Ace Plus S7500] blinqipa:
I don't have enough skills.to do these types of things .Sorry
[Samsung Galaxy Ace Plus S7500] Martins2759:
Guys, is Google Now always this slow or is there room for improvement?
[Samsung Galaxy Ace Plus S7500] TheWhisp:
Here is the modified libstagefright.so (attachment) push in /system/lib/
[Samsung Galaxy Ace Plus S7500] blinqipa:
Pushed .NOW? Flash works ,autofocus?
[Samsung Galaxy Ace Plus S7500] TheWhisp:
just try it with stock Ace Plus camera libs and upload a logcat
[Samsung Galaxy Ace Plus S7500] blinqipa:
Will report in 20min

Edit' flashed the Original CM10.1 system , going to replace the lib and take a logcat in 5minutes ;)
[Samsung Galaxy Ace Plus S7500] blinqipa:
TheWhisp I tried libstagefreight , opened camera (while Logcatting) and the Problem Still persists Cannot Connect to the Camera .

Here's the Logcat :
[Samsung Galaxy Ace Plus S7500] TheWhisp:
the previous error is gone.

take libcamera.so and liboemcamera.so from stock GB ROM (just to be sure) Seems that libdashplayer.so is missing, take it also from stock GB ROM.
[Samsung Galaxy Ace Plus S7500] blinqipa:
OKAY , Downloading and will replace those libraries (can I take any GB based ROM? thewhisp) ?Because I don't know where to get that STOCK GB ROM :(
[Samsung Galaxy Ace Plus S7500] TheWhisp:
yes, any GB, but seems that there is some other problem before that

Unable to determine the target type. Camera will not work

Could this happen because Ace Plus is using newer libcamera than Mini 2?

Not sure if I am right, but maybe libcamera looks for msm7627a but instead we have our platform defined as msm7x27a

https://android.googlesource.com/platform/hardware/qcom/camera/+/master/QualcommCameraHardware.cpp

See line 295 as reference.
[Samsung Galaxy Ace Plus S7500] blinqipa:
Thewhisp , WHAT TO DO NOW? Do I need to try to replace those libraries from GB , or ...what? :D
[Samsung Galaxy Ace Plus S7500] _Dorregaray_:
Run strings on libcamera.so. Search for msm7627a and msm7x27a. If there is msm7627a and no msm7x27a you can change it to msm7x27a using hexeditor
[Samsung Galaxy Ace Plus S7500] blinqipa:
OH GOSH!!! I don't really understand you,I just don't have a single idea what are you talking about ,REPLACE THOSE LIBS that TheWhisp said? :cyclops:
[Samsung Galaxy Ace Plus S7500] TheWhisp:
I'll do that. What you can do is, find what flash and focus modes that are supported by Ace Plus, I can try to set them in camera hal as Dorregaray said.
[Samsung Galaxy Ace Plus S7500] blinqipa:
TheWhisp I'm really really sorry , It seems that I cannot find them :crying: , sorry I'm not as skilled as e.g Dorreagaray to find what you have asked :( .

But (I know these INFOs won't make any difference ) I found these , in reality I just COPIED from WikiPedia :p

Rear CAMERA (1) :

5.0 megapixel 2592×1944 max,

3x digital zoom,

autofocus,

LED flash,

VGA video recording 640×480 px

MPEG4 at 30 fps max.
[Samsung Galaxy Ace Plus S7500] sallu08:
Have a look at this:

5 Megapixels Camera Resolution (Rear)

x3 Digital Zoom

Single LED Flash

Auto Focus available

Single / Continuous / Panorama / Self-shot / Smile shot

Black and white / Negative / Normal / Sepia

Auto / Daylight / Incandescent / Fluorescent / Cloudy

ISO: Auto / 100 / 200 / 400
[Samsung Galaxy Ace Plus S7500] akki809:
okk... th focus mode available in ace plus are:AUTO, MACRO, INFINITY.

and flash modes are

TORCH/ON, AUTO, OFF
[Samsung Galaxy Ace Plus S7500] vickyg.coolest:
pushed that file in cm 10.1 but flash still not working and auto focus is set at infinity!!!
[Samsung Galaxy Ace Plus S7500] blinqipa:
Did you read that libstagefright.so must be replaced with the STOCK CM10.1 LIBRARIES?

Don't try that ,I have already done , and thewhisp has said that the Previous PROBLEM was gone !(by replacing the libstagefright.so with the Original CM10.1 libstagefright.so )
[Samsung Galaxy Ace Plus S7500] vickyg.coolest:
which previous problem ???

and i replaced that file with original cm 10.1 libstagefright.but nothing happened

2nd problem in cm10.1 after flashing camera fix

not able to get logcats from any of the apps and also from pc

what could be the problem causing this ??
[Samsung Galaxy Ace Plus S7500] TheWhisp:
try this camera hal using Mini 2 libcamera.so and stock libstagefright
[Samsung Galaxy Ace Plus S7500] blinqipa:
Oh GOD!!!

Have you ever tried looking at the CM10.1 thread of Galaxy Mini 2???

Go to init.d folder at system/etc and open the nos injection 2 file with text Editor .Look for the rm/dev/log/main and put # symbol before the line .Finally it should look like this:

#rm/dev/log/main

Reboot your device and start taking Logcats.
[Samsung Galaxy Ace Plus S7500] vickyg.coolest:
read it on other thread and tried that but still getting that same error

may be i am doing something wrong

will do everything from scratch

btw thanks for suggestion
[Samsung Galaxy Ace Plus S7500] blinqipa:
Maybe you are ⅛ persons I've seen that couldn't fix the Logcat problem.Probably you've been making something Wrong . Try Again by reflashing the whole ROM and the Camera Fix then doing those steps.

Also in reality ,the camera fix doesn't cause the logcat problem ,TweakNOS causes the Logcat not to work .
[Samsung Galaxy Ace Plus S7500] akki809:
[MENTION=4148720]TheWhisp[/MENTION]...sir may you please upload stock libcamera.so also...
[MENTION=225032]vicky[/MENTION]

extract below file and paste in

etc/init.d/

and replace the file there reboot and u are all set to take logcat.
[Samsung Galaxy Ace Plus S7500] blinqipa:
Stock libstagefright.so ,the one that you gave before ,or the originals one?
[Samsung Galaxy Ace Plus S7500] TheWhisp:
actually it doesn't matter
[Samsung Galaxy Ace Plus S7500] yjosipy:
I have reflashed rom so its all stock did that what you said and camera is connecting but got gallery failed
[Samsung Galaxy Ace Plus S7500] blinqipa:
I have replaced replacing cameramsm7x27.so to system/lib/hw. still no result.Cannot connect to camera.

Here's the logcat I took :
[Samsung Galaxy Ace Plus S7500] blinqipa:
It would be helpful If you upload a log cat while opening the camera .?
[Samsung Galaxy Ace Plus S7500] yjosipy:
here is mine logcat i m using catlog and filtered only errors
[Samsung Galaxy Ace Plus S7500] TheWhisp:
I said use it with Mini 2 libcamera.so.
[Samsung Galaxy Ace Plus S7500] vickyg.coolest:
tried it with mini 2 libcamera.so

error is unfortunately gallery has sttoped
[Samsung Galaxy Ace Plus S7500] TheWhisp:
now do this:

1) adb shell

2) su

3) sysctl -w randomize_va_space=1

4) open camera app
[Samsung Galaxy Ace Plus S7500] blinqipa:
OK ,TheWhisp will do this using the cameramsm7x27.so that you have given to me ,using also the libcamera.so of mini 2

by adb shell can I use the terminal emulator (sorry for the noob question :cyclops: )

---------- Post added at 09:10 PM ---------- Previous post was at 09:04 PM ----------

[MENTION=4148720]TheWhisp[/MENTION] I tried those commands using Terminal Emulator and got an error systcl:not found (IDK if this is an error or something similar :D )
[Samsung Galaxy Ace Plus S7500] vickyg.coolest:
@TheWhishp

error

sysctl -w randomize_va_space=1

sysctl: error: 'randomize_va_space' is an unknown key
[Samsung Galaxy Ace Plus S7500] TheWhisp:
sorry, it's

kernel.randomize_va_space
[Samsung Galaxy Ace Plus S7500] vickyg.coolest:
error again

tools>adb shell

shell@android:/ $ su

su

shell@android:/ # kernel.randomize_va_space

kernel.randomize_va_space

sh: kernel.randomize_va_space: not found

127|shell@android:/ # kernel.randomize_va_sp

kernel.randomize_va_space=1

sh: kernel.randomize_va_space=1: not found
[Samsung Galaxy Ace Plus S7500] TheWhisp:
sysctl -w kernel.randomize_va_space=1

was it so difficult to figure that out? :P
[Samsung Galaxy Ace Plus S7500] vickyg.coolest:
i dont even know a single word in it :P

so its difficult for me to guess this :P:laugh:

---------- Post added at 01:35 AM ---------- Previous post was at 01:34 AM ----------

And yes the camera is working now !!!

5 mp camera with auto focus

awesome clarity

Do you need a logcat for that ???

---------- Post added at 01:39 AM ---------- Previous post was at 01:35 AM ----------

Flash is still not working

but the camera is showing that i have flash in my phone

before i was unable to set flash on or off

SCREENSHOT
[Samsung Galaxy Ace Plus S7500] blinqipa:
Can I type these Commands through Terminal Emulator , I'm using it but it's showing this error

"sh: systcl: not found
[Samsung Galaxy Ace Plus S7500] TheWhisp:
ok, what about auto-focus? Could you take logcat enabling/disabling flash?
[Samsung Galaxy Ace Plus S7500] vickyg.coolest:
just a minute

i will try to take logcat through adb

yes auto focus is working like a charm

auto

infinity

macro

and touch

but these are shown in camea zoom fx

edit

unfourtunatly when changing the auto focus setting it says cant connct to camera !!

what is the bug in this ??

is it auto focus or is it me ???

edit

ruuning this command sysctl -w kernel.randomize_va_space=1 fixed the issue

now i will try to give logcat when flash on and logcat when flash off
[Samsung Galaxy Ace Plus S7500] vickyg.coolest:
logcat when flash is on

logcat when flash is off
[Samsung Galaxy Ace Plus S7500] blinqipa:
Can you tell me did you use Terminal Emulator application through Android , or adb shell through the Windows ?
[Samsung Galaxy Ace Plus S7500] vickyg.coolest:
touch Focus is working

but when changing the auto focus setting in camera zoom fx the app fc and then when trying to run the stoc camera it says cannot connect to camera !!!

---------- Post added at 02:15 AM ---------- Previous post was at 02:12 AM ----------

i said that already

i am using adb shell
[Samsung Galaxy Ace Plus S7500] blinqipa:
I just don't know how to do it.Don't have any Single Idea why that systcl command doesn't work with the Terminal Emulator :confused:
[Samsung Galaxy Ace Plus S7500] jsgage:
happybunny

Nice One for info ..I could`nt get su to work over adb permmisions denied but in term window on phone worked .

$ su

# sysctl -w kernel.randomize_va_space=1

I started camera and now it working 90% ish .. still no flash even the setting inside camera app would`nt make it work , this is a masive jump forward Thanks again...

logcat taken 4 pic in standard cam video and panaramic :))))
[Samsung Galaxy Ace Plus S7500] vickyg.coolest:
TheWhisp is the 1 who can ans that question because even i dont know what were those commands !! :laugh::p

---------- Post added at 02:31 AM ---------- Previous post was at 02:26 AM ----------

i think we are about to get a new build of cm 10.1 with camera partially fixed already [MENTION=269770]whisp[/MENTION] can you tell me that what is the reason when trying to change the auto focus settings through 3rd party apps crashes the camera ??

will try to upload a logcat on that too!!

hoping that i am helping not spamming!! :)

EDIT

another logcat for flashlight

this is taken from flashlight app

hope this will help !!!
[Samsung Galaxy Ace Plus S7500] Depau:
Because you are mistyping it. It's sysctl, not systcl.

"sysctl" → "system control" :)

The one who cannot become root through adb should check developer settings and make sure that root access is enabled for both applications and ADB.

I advice both of you to start using some linux distro in your PC (e.g. Kubuntu) and read some command line tutorial and other POSIX guides.
[Samsung Galaxy Ace Plus S7500] vickyg.coolest:
dude i did it with a little guidance from thewhisp so i think i dont need to learn linux for such a silly things

windows can do it for me coz i am not that much of a developer i m just ''flashoholic'' !!!