yashsingh1/xdaforums huggingface dataset:
[T-Mobile, Samsung Galaxy SIII] GenericAsianGuy:
EDIT: The culprit was Cerberus, and its "Wrong Unlock Code Photo" feature (and possibly all of its features that relate to using the camera). See post #8.

What the problem is: after a couple of minutes or hours, your camera suddenly "dies", meaning when you open any camera app (e.g. Snapchat, Camera Zoom FX, stock Camera, Instagram (when taking a picture)), causing "Camera has failed" or "Cannot connect to camera" messages. The only solution to this is rebooting.

Supposed solutions: there are many "solutions" posted that apparently worked for people, such as:

- Flashing back to stock (and sticking with the stock kernel)

- Doing a factory reset / internal storage wipe

- Battery (and MicroSD) pull

- Clearing the data and cache for Camera (and Gallery)

- Removing or replacing the MicroSD card (if any; it may be corrupted)

- Deleting all images/videos (may be corrupted)

- Uninstalling Skype

- Killing the mediaserver process

- Unfreezing the default Email.apk

- Updating the camera firmware (note: must have TouchWiz)

- Physically opening the back, and checking the camera connection

- And some other weird ones, like removing the top left screw.

(disclaimer: do the above "solutions" at your own risk)

What I've done: I did all of the above, except the last two which involve you physically opening up your phone.

Even flashing back to stock (TouchWiz), removing my MicroSD card, unfreezing the default Email.apk, updating the camera firmware to the latest version, I still get the failed camera every now and then. Clearing data/cache for Camera/Gallery doesn't fix it. Only a reboot does.

Possible Cause and Solution: undervolting too much may be the cause.

One common denominator that I recently realized is that I like to undervolt (e.g. lowest frequency set at 800 mV). I usually flash a custom kernel almost immediately after I flash a rom, and then configure it.

Currently I have reset my kernel (KT747) to its default settings, default voltages, and the camera has been working for the past few hours, so let's see how this goes! I will keep everyone updated.

I just wanted to share this thread because I know this is a pretty annoying "bug" and I know how much we XDAers like to tinker with our kernels and voltages.

Of course, another assumption may be that the hardware itself has deteriorated and needs to be replaced, but I keep my phone in an Otterbox and have never dropped it.

If you are reading this and you have no problems with your camera: DO A NANDROID BACKUP NOW. I have no idea why or how this problem started, but that's one piece of advice I would offer to those of you who don't currently have this issue.
[T-Mobile, Samsung Galaxy SIII] Perseus:
Good finding. Hardwarewise it does makes sense if you are doing extreme undervolting. Please post further tests or findings.
[T-Mobile, Samsung Galaxy SIII] GenericAsianGuy:
Thanks Perseus!

I happened to come across LeanKernel, and the "slow", "nominal", "fast" settings. I never knew about this; apparently this tells you what kind of chip you have and how much undervolting it can handle:

http://xdaforums.com/showthread.php?t=2102369 (see post #2)

I get PVS: 3, which apparently means "Fast"

Hopefully this info is useful.

If anyone else is experiencing this issue, feel free to let me know what you've done to try to fix it :) I'm going to try out different things (kernels + settings) and report back.

EDIT: FOLLOW UP - 10 hours after (since 10am today), with LeanKernel 8.6 and the recommended settings in this post for my chip type (fast), my camera is still working fine. Now I'm on SlimBean 4.3.1 build 2.2 as well. Let's see how long this goes...

EDIT 2: woke up today, and at 9am I got the camera failed message. So while it's still lingering around, it went nearly a day without failing. I wonder if it has anything to do with my phone being idle (e.g. if it goes into a deep sleep). Just rebooted (11:30am), let's see how long it lasts.
[T-Mobile, Samsung Galaxy SIII] chemicalx50:
i dont know much about kernel and rooting as a matter a fact i have never rooted this phne but i have the issue does this still apply to me? and can you provide detail instructions and how to fix?
[T-Mobile, Samsung Galaxy SIII] DocHoliday77:
It probably doesn't apply to you since you are not doing anything like what he had mentioned.

Backup your data and then factory reset (will wipe internal sd). This will set you back to pure out of box stock. If you still have problems its probably hardware.

If you have more questions, go ahead and post in the q&a section. That way we dont go too off topic for this thread.
[T-Mobile, Samsung Galaxy SIII] GenericAsianGuy:
So the issue is still there. I came across this today:

http://xdaforums.com/galaxy-s3/themes-apps/cyanogenmod-camera-bug-solved-connect-t2293287

(here's the original APK by Temasek (Restart_Camera): http://temasek.hopto.org/?dir=Samsung Galaxy S3 - i9300/CM10.1/Misc )

Requires root, and what it basically does is run the kill -9 `pidof mediaserver` command.

Many people have said it helps (temporarily) fix the error for them, but it didn't work for me. They did say they were on vanilla CM, so I may flash that tonight and see. (I'm still on SlimBean)

I checked my running apps, and saw Snapchat was running, so I have frozen it with Titanium to see if this will help (as it is also the only app I use that triggers the camera on start, aside from "camera-only" apps).

Will report back!
[T-Mobile, Samsung Galaxy SIII] Perseus:
Do you still have that Camera has failed issue continuing ? I 'd suggest go back and Odin flash the last Stock firmware you had. After Nandroid of Course.

That way you make sure the camera firmware is correct in the first place.
[T-Mobile, Samsung Galaxy SIII] Perseus:
Possible. But remember Wind MK5 is 4.3. So you can't just flash prior Root66. That will Brick your phone. I suggest flash MK5 again after doing factory Reset. Then check to see if the camera has stabilized before flashing Custom Roms. Also on several threads here, Doc has posted methods to Check Camera firmwares or flash different Camera Firmwares. You can try that too.
[T-Mobile, Samsung Galaxy SIII] GenericAsianGuy:
Thanks, so with my latest edit to my last post, I believe I have solved the mystery (in my instance at least).

The culprit is/was most likely Cerberus, and its "Wrong Unlock Code Photo" feature (and possibly all of its features that relate to using the camera). I was able to "crash" my camera after purposely mis-entering my pattern gesture a couple of times in a row. My guess is that Cerberus does not cleanly terminate the camera access when triggered repeatedly. (edit: I found this link that mentions a very similar issue with Cerberus - https://groups.google.com/forum/#!topic/cerberus-support-forum/hagX135SmVk)

I have disabled it to see if it was the culprit, and so far, the camera is not dying after purposely mis-entering my pattern gesture a couple of times in a row (I tested both rear and front cameras).

If it still works after 24 hours, I'll unfreeze Snapchat and see if it is another possible culprit.

Thanks everyone for following along, and I really, really hope that this thread is helping/has helped at least one person out there.
[T-Mobile, Samsung Galaxy SIII] Perseus:
That could very well be the case. I had similar experience with a Prior version of ShopKick and QR Code Reader.
[T-Mobile, Samsung Galaxy SIII] TheLastSidekick:
This thread just helped me big time. I'm on a 32GB Nexus 5 using Cerebrus to capture a picture when the password is incorrectly entered once.

I'm gonna test a small work around regarding having the camera run less frequently by taking photos after 3 or 4 fails.
[T-Mobile, Samsung Galaxy SIII] GenericAsianGuy:
Happy to hear! :D

Just following up: I haven't had any more camera failures after changing my wrong unlock threshold from 1 to 3 attempts (and also being more careful when entering my code).
[T-Mobile, Samsung Galaxy SIII] DocHoliday77:
[MENTION=4712945]GenericAsianGuy[/MENTION] and [MENTION=4776810]TheLastSidekick[/MENTION], you guys should report the issue to the developer of Cerberus. Could be they dont even know about it.
[T-Mobile, Samsung Galaxy SIII] GenericAsianGuy:
I've just emailed them with a link to this thread, I'll keep everyone updated as to what they say :)
[T-Mobile, Samsung Galaxy SIII] TheLastSidekick:
Changed my feedback on the store to explain the but without changing the 5 star rating. I'll email him when I get on my Linux Mint box.
[T-Mobile, Samsung Galaxy SIII] GenericAsianGuy:
Luca has replied:

So please send logcats to support@cerberusapp.com :)
[Galaxy S III Q&A, Help & Troubleshooting] magix01:
Hello

I dont know where to ask this question, so i did here because i think you guys might help us.

Anyhow, we are porting CM10 to Galaxy S6310, we used stock ril libs and bins from stock rom, so far we are able to start rild daemon via terminal and at startup normally. Problem is that we have no network and logcat for radio gives some error regarding socket connection.

So further investigating lead us to SecPhone.apk app wich once removed on stock would give same condition as we have in our CM port.

Now the question is, does this SecPhone.apk contains any java/smali or xml files/code that is related for further operation of ril/modem that is required for proper operation of network, or we should focus on something else? Tomorrow i can put logcats.

Best Regards,

Magix
[General Questions and Answers] mano4ever:
Hello

I recently upgrade my Xperia Neo V To KitKat 4.4.2

I've used this ROM [CM11.0] LegacyXperia here

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

But I've also tested the Carbon ROM here

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

And , now I want to know the best ROM for my Xperia Neo V

because every ROM have a size

for example : The Carbon ROM smaller than [CM11.0] LegacyXperia

So , I want your suggestions for my device

Thanks
[Xperia SP Android Development] chikrron:
Wich is.better? Slim o.this.rom? It has stamina mode???
[Xperia SP Android Development] Zulfauzi:
wow! :eek:
[Xperia SP Android Development] reed_bone:
nice, download and test now :)
[Xperia SP Android Development] Oblox:
Amazing work on releasing kitkat before Sony!! I cannot say how grateful I and im sure many others are for your work.

Downloading and will test this ASAP.
[Xperia SP Android Development] Buleste:
First link to GAPPS is not working.

EDIT: Doh! Me being an arse.
[Xperia SP Android Development] Oblox:
So far not too bad, get some odd messages when rebooting in notifications and they open up the time and date panel.

Otherwise all seems to be working great.
[Xperia SP Android Development] Wytosandroid:
Yuo are a genius, very great work :good:
[Xperia SP Android Development] Oblox:
Not sure if it was a one off or a problem with recovery but I made a nandroid backup of CM11 to test out slimkat and when I went to restore it said MD5 sums didnt match up so ive had to reinstall from scratch again. This was trying to restore in CWM not philz (had some crashes in philz when trying to wipe to install slimkat)
[Xperia SP Android Development] MrSteve555:
Amazing work!!!

It seems like all major bugs are fixed(RIL and video recording)!

But there is a small bug - when I try to access settings in Google Camera, the app crashes.

Could you try to fix it?
[Xperia SP Android Development] Oblox:
The app store version?

It all worked fine for me, so did the CM version.
[Xperia SP Android Development] MrSteve555:
Yeah, the app from GPlay.

Swipe from the left side of screen, then tap the gear icon, and then app crashes.
[Xperia SP Android Development] Rempty:
Google Camera app is not fully compatible, is a app bug not rom related.
[Xperia SP Android Development] Oblox:
yep just saw that http://xdaforums.com/galaxy-s3/general/google-camera-crashing-t2721230
[Xperia SP Android Development] neXus PRIME:
This guy [MENTION=5765508]bagyusz[/MENTION] is Legend

Btw, Anyone care to give an experienced review??? not too long though.
[Xperia SP Android Development] Rempty:
Review XD
[Xperia SP Android Development] neXus PRIME:
Any bugs or freezes or stutters???
[Xperia SP Android Development] Jermin94:
Nice Rom ! Fast and so good for Multitask.
[Xperia SP Android Development] Rempty:
Is faster than cm11 fxp, no reboots no freezes
[Xperia SP Android Development] bagyusz:
APP FC fix

When someone writes an error to any program you enter these lines into the buid.prop

# stirctmode

persist.sys.strictmode.visual=0

persist.sys.strictmode.disable=1
[Xperia SP Android Development] MrSteve555:
[MENTION=5765508]bagyusz[/MENTION]

Yeah, all packages and Java 6 installed. I tried to resync the repo, still no luck.
[Xperia SP Android Development] bagyusz:
It's not my fault. CM team added some days in the patch and it beeps due.
[Xperia SP Android Development] spicx212:
Is the Clash of Clans bug fixed with the new update?

(before i flash this rom :laugh: )
[Xperia SP Android Development] bagyusz:
The library has this file? "Makefile"
[Xperia SP Android Development] MrSteve555:
[MENTION=5765508]bagyusz[/MENTION]

Yep, it's in the library.
[Xperia SP Android Development] bagyusz:
Now I know what's wrong. pa_huashan.mk to do a file. example

Here, add this line

add_lunch_combo pa_huashan-userdebug
[Xperia SP Android Development] MrSteve555:
[MENTION=5765508]bagyusz[/MENTION]

Thanks! I'll try that tomorrow.
[Xperia SP Android Development] MK99:
The waiting and rebooting didn't help. I wiped the phone and I took off the auto-loading. Then I chose all the apps again and now everything works.

Perhaps there would have been easier way, but I was just emptied the phone anyway. :)
[Xperia SP Android Development] magamad:
I was not going to blame someone)))) I just need to fix this problem, you can help with this?
[Xperia SP Android Development] bagyusz:
CM team fixed this problem.

Should be compile to the rom again. :(
[Xperia SP Android Development] magamad:
forgive my obsession, but how long to wait to solve this problem?
[Xperia SP Android Development] bagyusz:
Maybe tomorrow I upload the new rom.
[Xperia SP Android Development] magamad:
thank you very much for your answers
[Xperia SP Android Development] spicx212:
For installing this rom, im on another rom (existnez) can i 'just' wipe data/cache, and install cm 11 ?

thx for answers :)
[Xperia SP Android Development] vwadam:
yes
[Xperia SP Android Development] subwrc:
google hangout

[MENTION=5765508]bagyusz[/MENTION]

could you also check why microphone does not work during a video call in google hangout ? The other part cannot hear me.
[Xperia SP Android Development] spicx212:
Thanks!

so no need to install CM 10.2?
[Xperia SP Android Development] Captain Sweatpants:
[MENTION=5765508]bagyusz[/MENTION] for the purposes of experimentation trying to fix my WiFi problems will this ROM boot with the .266 kernel
[Xperia SP Android Development] TsunaH:
Do we need to flash the kernel again?
[Xperia SP Android Development] MrSteve555:
Good news!

New Google Camera Update fixed the settings bug!
[Xperia SP Android Development] sanjayatlive:
Help

I'm running stock JB 4.3

Could you tell me what all things I need to do for installing this rom?

No I'm not rooted,and I'm on locked boot loader.

Also Is it compatible with C5302?
[Xperia SP Android Development] Remlas:
Wheatley so nice :D

Wysłane z mojego C5303 przy użyciu Tapatalka
[Xperia SP Android Development] Captain Sweatpants:
From stock 4.3

1: downgrade to 4.1.2 via flashtool

2: root with doomlords exploit

3: install cwm recovery

4: follow the instructions for cm10.2

5: follow the instructions for cm 11

I DONT KNOW IF THIS IS COMPATIBLE WITH C5302 wait until you know that before flashing [MENTION=5765508]bagyusz[/MENTION] is this compatible?
[Xperia SP Android Development] Androidkeeda:
Its compatible....
[Xperia SP Android Development] bagyusz:
I can not check out, because I do not use. Skype video call works the microphone.

[MENTION=5681636]TsunaH[/MENTION]

do not install again
[Xperia SP Android Development] spicx212:
[MENTION=5765508]bagyusz[/MENTION] could you tell me the steps to install this rom, coming from eXistenZ, i Got very different answers...

Do i need to install CM 10.2? Or just wipe all and flash CM 11?
[Xperia SP Android Development] TsunaH:
So just wipe cache and install the ROM and gapps to update right ?
[Xperia SP Android Development] Shywim:
Coming from eXistenZ too, I just flashed CM11 and it works like for everyone...
[Xperia SP Android Development] orangpelupa:
on page 1 glove mode is listed.

but how to use it?

thanks
[Xperia SP Android Development] bagyusz:
I do not know because I have not installed eXistenZ ROM. The first step you MUST install the cm10.2 is, otherwise going to write an error when installing cm11.
[Xperia SP Android Development] bagyusz:
Is always on the glove method. You can not Toggles.
[Xperia SP Android Development] Oblox:
I havent had any updates for google camera so still have the bug. When did you get updated?
[Xperia SP Android Development] spicx212:
Thx, so i guess i wipe all and flash cm 10.2 and then cm 11. Hope i dont need to come black to 4.1 and root again
[Xperia SP Android Development] Remlas:
You can find updated apk of Google Camera on XDA News Portal

Wysłane z mojego C5303 przy użyciu Tapatalka
[Xperia SP Android Development] Oblox:
Uninstalled and reinstalled camera but settings still broken, did you do anything else to get this working? I havent flashed latest CM11 yet due to in call beeping bug.

---------- Post added at 10:41 AM ---------- Previous post was at 10:19 AM ----------

Brilliant thanks!
[Xperia SP Android Development] krokanic:
Why the google search dont work in this rom? It worked for first few hours and now is broken...:(
[Xperia SP Android Development] orangpelupa:
i just wipe and flash
[Xperia SP Android Development] krokanic:
I installed first the kernel given in first post, than go to cwm, factory wipe,wipe cache, wipe dalvik, format system and than install rom...and it worked for both, slim and cyanogenmod... :)
[Xperia SP Android Development] spicx212:
I did, everything went well!

CM 11 is awesome :D
[Xperia SP Android Development] orangpelupa:
can you use the GLOVE MODE?

try unlocking your phone with thick cloth or glove.

thanks
[Xperia SP Android Development] sanjayatlive:
Thanks

Thankss
[Xperia SP Android Development] TsunaH:
I finally find why my xsp crash when i play coc. \o
[Xperia SP Android Development] sanjayatlive:
Help

I've done everything as per the guide and I got it working.

Now I'm facing a really weird issue i.e during calls ear piece produce a beeping sound.It repeats after a short interval.It feels like call waiting even though there's no calls waiting.
[Xperia SP Android Development] TsunaH:
Anyone tried Art ?
[Xperia SP Android Development] bagyusz:
C5302 devices only kernel.sin install the flashtool. The others is forbidden, because there are differences in the radio firmware
[Xperia SP Android Development] sanjayatlive:
thanks again for your quick response :)
[Xperia SP Android Development] Remlas:
Me. Phone work faster, BUT SOME APPS FC ON LAUNCH (like. SonyAlbum with is working on dalvik)

(P.S. bechs art vs dalvik aren't true :P

Wysłane z mojego C5303 przy użyciu Tapatalka
[Xperia SP Android Development] spicx212:
little question here: how do you find the option for applications running on boot? (like on existenz for those who had it)

I didnt find it in the developpers option
[Xperia SP Android Development] sanjayatlive:
Update Help

How do I update rom from cm-11_LBL-20140507 to cm-11_LBL-20140508?

Do I need to wipe data/format?

Or just install latest rom and gapps over the previous one?
[Xperia SP Android Development] Captain Sweatpants:
This is a known issue due to a change in the cm11 source it will be fixed in the next update
[Xperia SP Android Development] TsunaH:
So Apps which works only with dalvik right ?

So i guess there is no problem
[Xperia SP Android Development] bagyusz:
Can you look at thisPatch?
[Xperia SP Android Development] bagyusz:
If you have an application that is not compatible with the ART-l is then returned to Dalvik.
[Xperia SP Android Development] subwrc:
I ve just installed cm-11_LBL-20140508 over cm-11_LBL-20140507 with no gapps reinstallation and works fine.

Thank you [MENTION=5765508]bagyusz[/MENTION] i 'll try it.

Edit: Checked and it works!!! You are awesome!
[Xperia SP Android Development] krokanic:
is anybody facing the odd sound during calls...???

every second or two one beep...
[Xperia SP Android Development] Oblox:
You mean a beeping every 4 seconds? Update again and itll be gone.
[Xperia SP Android Development] krokanic:
can i patch it or install new cyogenmod?
[Xperia SP Android Development] Oblox:
Just flash the latest version from the first post over the top of what you have. No wipes or anything needed, no kernel or gapps.
[Xperia SP Android Development] amir-kia:
bagyusz You say that enable Golve Mode on this rom . Question1 : is touch problem fix in this rom on desk ? and Touch is good like stock roms ?

Question2 : is there way to install sony camera on this rom ? sony camera is very better, also 5mp wide is not in google camera , its bad .
[Xperia SP Android Development] abhishekcal:
[MENTION=5765508]bagyusz[/MENTION] I have one more bug.

Empty Android folder and empty folders are created in the external sd card.

And bro do u know the fix for the time and date resetting after every reboot.
[Xperia SP Android Development] spicx212:
Do you have latest CM installed? Il dont have date bug when i reboot or turn off my phone
[Xperia SP Android Development] MrSteve555:
[MENTION=4433839]abhishekcal[/MENTION]

It's not bug, it's Android "feature". On stock it's the same.

Time and date isn't resetting for me...
[Xperia SP Android Development] abhishekcal:
for me empty folders didnt got created when i was using the SONY stock.

and for the time and date resetting some are facing that problem. i dont know whats the reason for that
[Xperia SP Android Development] bagyusz:
1: The glove mod is always on, so sensitive to touch.

2 I do not know, did not try it yet.

[MENTION=4433839]abhishekcal[/MENTION]

I do not really understand why this is wrong. :confused: But I do not really understand this question. :silly: The date time reset problem can not be fixed in due to the bootloader locked.
[Xperia SP Android Development] abhishekcal:
Bro please chk the pics atttached it shows the empty folders being created in the external sd card
[Xperia SP Android Development] bagyusz:
No matter by creating the empty folders. Some applications can use the external sd card. For example, Sygic
[Xperia SP Android Development] Sheharyar13:
Excellent work bagyusz :good:

Never Leave Us :)
[Xperia SP Android Development] noahvt:
[MENTION=5765508]bagyusz[/MENTION] Can you port the national data roaming over to this ROM because I really miss this feature and what version of cm11 is this? m5 m6? after the m5 build national data roaming option should've been added but it's not there on my phone
[Xperia SP Android Development] Sheharyar13:
[MENTION=5765508]bagyusz[/MENTION] Plz fix the wifi signals,plz increase them like stock 4.3 :(
[Xperia SP Android Development] bagyusz:
This CM11 M6 build. I do not know why there is no "national data roaming" support.
[Xperia SP Android Development] spicx212:
After one day of use: eerything is smooth, good battery life, buuut i had 2 freeze, and i had to hard reboot my phone...

It was totaly random: one in youtube, another in facebook.

What can it be?
[Xperia SP Android Development] sanjayatlive:
Wifi signal

Could you please fix the wifi signal strength?
[Xperia SP Android Development] abhishekcal:
The only con of this Rom is the freezes.

That will be the only reason I switch to some other rom
[Xperia SP Android Development] Treboeth:
There is a much better rom available try SlimKat by [MENTION=5765508]bagyusz[/MENTION] :)).

Been using it since he uploaded it no freezing or lag phone lasts about 6-7hours screen time and easily lasts a full day.

Makes Sony software look really bad.
[Xperia SP Android Development] spicx212:
Gonna flash it!

Is it as smooth as this one?
[Xperia SP Android Development] Androidkeeda:
Exactly.......