yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S 5 Unified Development] compmodder26:
[MENTION=2693412]haggertk[/MENTION] [MENTION=5991425]Ozzy2403[/MENTION]

Just tried a clean flash of 07/27 and camera still crashing. This time it happens when I change my orientation (lanscape, or portrait). It doesn't matter which way I go from, it will still crash. Here's the current exception it's throwing:

07-28 06:49:21.002 17841 17875 E AndroidRuntime: java.lang.RuntimeException: setParameters failed

07-28 06:49:21.002 17841 17875 E AndroidRuntime:	at android.hardware.Camera.native_setParameters(Native Method)

07-28 06:49:21.002 17841 17875 E AndroidRuntime:	at android.hardware.Camera.setParameters(Camera.java:1967)

07-28 06:49:21.002 17841 17875 E AndroidRuntime:	at com.android.camera.AndroidCameraManagerImpl$CameraHandler.handleMessage(AndroidCameraManagerImpl.java:342)

07-28 06:49:21.002 17841 17875 E AndroidRuntime:	at android.os.Handler.dispatchMessage(Handler.java:102)

07-28 06:49:21.002 17841 17875 E AndroidRuntime:	at android.os.Looper.loop(Looper.java:148)

07-28 06:49:21.002 17841 17875 E AndroidRuntime:	at android.os.HandlerThread.run(HandlerThread.java:61)

I've attached a full logcat in case it helps diagnose the problem further. Had to break it up into 2 files to meet the upload size requirements. The 2nd file contains the actual exception.

Edit: Just for clarification, I have not updated my camera's firmware.

Edit 2: Just tried clean flash of 07/28 with the same results.

Edit 3: Forgot to mention that this only happens in video mode.
[Samsung Galaxy S 5 Unified Development] zavorrax:
I have never noticed that. I am on 20160721 nightly. Is it possible?
[Samsung Galaxy S 5 Unified Development] atomeromu:
Hey guys! Is the latest tested nightly release link is down also the GAPPs links? I can`t download any of them for my G900F unified kltexx.
[Samsung Galaxy S 5 Unified Development] theelle:
And using this file we have hdr but flashlight problem? Anyone can create a flashable zip?
[Samsung Galaxy S 5 Unified Development] phalkon30:
Ignore the OP. Download from cyanogenmod.com (we're now officially supported)

Use any gapps you like, I recommend opengapps pico

Sent from my SM-G900R4 (klteusc) running CM13 7.21.16 official with xposed
[Samsung Galaxy S 5 Unified Development] cal002:
So, just don't do that :)

FWIW, I can reproduce it. Happens in video mode only, not in photo mode.
[Samsung Galaxy S 5 Unified Development] compmodder26:
Ahh yes, sorry forgot to mention that. Doh!

I'm glad I'm not the only one who has this problem though.
[Samsung Galaxy S 5 Unified Development] haggertk:
Hmm, maybe it is the image stabilization... I can reproduce.

If I had my way, I would cause a force close anytime someone started a video vertically. ☺️
[Samsung Galaxy S 5 Unified Development] andacro:
Went back to stock after flashing the build with the sd-card bug, but I'm gay I flashed the 28th build as it works great. :)
[Samsung Galaxy S 5 Unified Development] haggertk:
It was image stabilization, it will be fixed tomorrow's nightly.

As an FYI, adopted storage seems to be borked for everyone (my definition involves it being broken for both kltevzw and jfltevzw on official nightlies in my hands, don't feel like digging out the old d2vzw right now). Last good one for that is 27 Jul. I'm working with Steve to debug/correct one of his changes.
[Samsung Galaxy S 5 Unified Development] iammcfinkel:
Hi there,

I was just hoping someone could steer me in the right direction as I have searched all over the place and can not seem to find a working solution to fix my issue. Here is what I'm working with:

-I have a Verizon Samsung S5, G900V running CM13.

-It has a T-Mobile SIM (switched providers from Verizon to T-Mobile)

-CyanogenMod version 13.0-20160727

-Baseband: G900VVRU2BPB1

-Kernel Version: 3.4.0-g53f1253

Issue:

When I set my Cellular Preferences to 'LTE', the phone seems to hold down a consistent data connection, but then I can not receive any calls or make any calls (when making a call in this state, I see 'Call Ended' and hear audible beeps indicating call ended). To receive/make calls, I have to go in and change the preferences and change to 'Global' and then it works, however, after some variable amount of time I see an Exclamation Mark over the status bar indicator; I have lost the data connection and this can only be remedied by toggling Airplane Mode or disabling & enabling Cellular.

I am trying to figure out the cause, but it seems that this mostly happens when moving locations (like driving) and/or something to do with bluetooth. If anyone has any ideas, that would be awesome.

PS This has been happening since first install of Nightly back in March.
[Samsung Galaxy S 5 Unified Development] bilbonotry:
Maybe update baseband, BPB1 is a bit old isn't it ?
[Samsung Galaxy S 5 Unified Development] compmodder26:
Just clean installed 7/30. Camera doesn't crash anymore. So far everything has been rock solid. First time in a long time I've felt that my phone is 100% stable with no noticeable bugs.
[Samsung Galaxy S 5 Unified Development] giorgina351:
And battery life?
[Samsung Galaxy S 5 Unified Development] compmodder26:
Battery life has been great.
[Samsung Galaxy S 5 Unified Development] RBThompsonV:
Install?

Hey guys... do I want to install this via Safestrap, or do I want to unlock the bootloader, flash custom recovery and install that way?

(sorry if this is noob... it's been 9 months since i messed with an S5)...

Coming from:

Verizon S5

Lolipop 5.0 (B0G5) rooted...
[Samsung Galaxy S 5 Unified Development] Sirocco.ukr.lviv:
klte. no bluetooth freezes in 28 build.
[Samsung Galaxy S 5 Unified Development] haggertk:
You'll need to unlock bootloader, flash TWRP and then CM.
[Samsung Galaxy S 5 Unified Development] RBThompsonV:
OK... unlocked BL, flashed TWRP...

Is there anything else I need to do? flash any firmware because I'm on 5.0? Or do I just flash to CM13 and flash G-apps?
[Samsung Galaxy S 5 Unified Development] Pain_Deluxe:
MM Baseband still working? Because of revert mm blobs

Gesendet von meinem SM-G935F mit Tapatalk
[Samsung Galaxy S 5 Unified Development] PorchSong:
Yes mm baseband works perfectly fine.
[Samsung Galaxy S 5 Unified Development] haggertk:
Your firmware should work fine, but you can flash this if you want.

https://www.androidfilehost.com/?fid=24572369242686804

Aside from that, just flash CM and gapps in one go.
[Samsung Galaxy S 5 Unified Development] Atento:
Did you notice that you lost many functions of your camera app? HDR, image stabilization.
[Samsung Galaxy S 5 Unified Development] rayzen6:
Hahaha people will never notice the things which are not necessary at all.in front of more stability.
[Samsung Galaxy S 5 Unified Development] v00d007:
(Unfortunately) I changed the user icon that is shown in statusbar. Then I wanted to switch it back to the default icon but there's no option, just to choose another picture or camera. Someone know how to reset this user icon?
[Samsung Galaxy S 5 Unified Development] haggertk:
Especially given that image stabilization was there for all of about 3 days.
[Samsung Galaxy S 5 Unified Development] compmodder26:
Of course I did. [MENTION=2693412]haggertk[/MENTION], made it very clear in prior posts that HDR was gone, then he had to remove image stabilization to keep camera from crashing. So yes, those are gone, but I, like others, am in favor of stabilizing CM over those features. I never bothered with HDR myself, and as others have pointed out, image stabilization wasn't included until a few days ago.
[Samsung Galaxy S 5 Unified Development] Mibars:
Oh come on, I did most of my photos with HDR on, it is just when I need a flash I turn HDR off. BTW I wonder why flash and HDR aren't compatible...

Since crashing issue was with image stabilisation... Why was the HDR removed?

It's a shame, KLTE has a great camera in stock ROM and now it lost one more function...
[Samsung Galaxy S 5 Unified Development] rayzen6:
Bro don't mind me. But [MENTION=2693412]haggertk[/MENTION] and other devs who are working on klte are I think more humble then I ever thought. Probably if u were commenting like this about stock vs cm(aosp) in any other device forum U would probably will be fired by them and they will said you just simply away from cm and go back to stock . Not them only but the whole bunch of users.

I really liking this s5 klte community and the devs. Respect:)
[Samsung Galaxy S 5 Unified Development] spaziomilano:
Bro!!! It's just for a time!!! For work on other things for find all problems, please wait or use the stock or toutchwizz

Envoyé de mon SM-G900W8 en utilisant Tapatalk

---------- Post added at 10:59 AM ---------- Previous post was at 10:57 AM ----------

Good said!! Cm13 its a really good base and work very good.

Envoyé de mon SM-G900W8 en utilisant Tapatalk
[Samsung Galaxy S 5 Unified Development] Perru:
Just tested HDR + flashlight with nightly 20160721 + Open Camera 1.32.1: works, no fc, no bootloop.
[Samsung Galaxy S 5 Unified Development] omgbossis21:
I actually spent some time last night comparing camera wrapper and includes for the camera. Looks like we could have alot of room for improvement. My wife's family just came in town so this may hinder my time for the next week but I grabbed the stock source as well for furthur analysis. I may reverse engineer a few of our camera files as well in case theirs something useful I find there.
[Samsung Galaxy S 5 Unified Development] Atento:
I'm on the same build and everything is working fine. HDR, flashlight and image stabilization.
[Samsung Galaxy S 5 Unified Development] Decamerondix:
Not kltespr sorry
[Samsung Galaxy S 5 Unified Development] jeremiah.rs:
Thanks for checking!

It's weird, none of the motion sensors seem to be working, I can get the GPS, proximity, and apparently heart rate sensor to work but nothing else is functional.

I wonder what's going on haha.
[Samsung Galaxy S 5 Unified Development] rayzen6:
Hi [MENTION=2693412]haggertk[/MENTION] and other devs who are working on klte. Guys I want to tell you that looks like media server was hogging battery life too. Now on ROMs based on latest sources I can see more much juice. Also in deep sleep much improvement is seeing. My g900f was never getting that much of battery life before. Awesome job. :good:
[Samsung Galaxy S 5 Unified Development] phalkon30:
I haven't upgraded yet to a version without the mediaserver issue, but have to brag quick. Had my S5 camping over the weekend, and went over 48 hours on a charge with 15% left when I got to my car. That's 2hrs SOT, and 1hr talk time.

In that same time my dads S7 had to be charged twice, with much less use time. He was so mad :D

This phone is near perfect with this rom! Why upgrade??

Sent from my SM-G900R4 (klteusc) running CM13 7.21.16 official with xposed
[Samsung Galaxy S 5 Unified Development] FlexiPack:
First time using CM13, is the built-in root system or systemless? If I install SuperSu, what happens to the built-in root manager, does it automatically disable or will I have two proofs to allow superuser access?
[Samsung Galaxy S 5 Unified Development] FlexiPack:
Accidental post please delete
[Samsung Galaxy S 5 Unified Development] vedko:
not sure if you still need the answer, but anyway: no need for SuperSu, the root is built-in. Just enable it in the developer settings.
[Samsung Galaxy S 5 Unified Development] f0xy:
It's down to personal preference, keep it disabled and install supersu if you prefer.
[Samsung Galaxy S 5 Unified Development] EmilRodSalvador:
Is anyone experiencing stuttering on games? Mine stutters even on light games like clash royale.
[Samsung Galaxy S 5 Unified Development] spiramedia:
Everything is perfect, very big thanks to devs, finaly we have a stable cm13 rom.

And a stupid question, is NFC still dead or maybe i have some compatibility issue?
[Samsung Galaxy S 5 Unified Development] :
You shouldn't be using a proprietary rooting method.

http://www.androidpolice.com/2015/0...n-involved-in-the-project-for-two-more-years/
[Samsung Galaxy S 5 Unified Development] j1gga84:
[MENTION=2693412]haggertk[/MENTION]

when I record a video in quiet conditions the background noise is quite high.

I know there was a fix from CM for this issue some month ago and the issue was gone after this patch (I don't know which one it was) but since a few weeks it seems to be back again :confused:

I am using Snap Camera HDR.

Any ideas?

regards
[Samsung Galaxy S 5 Unified Development] phalkon30:
I play clash Royale all the time, no stuttering.

Sent from my SM-G900R4 (klteusc) running CM13 7.21.16 official with xposed
[Samsung Galaxy S 5 Unified Development] ScratMan38:
You may use Mic Gain Mod : http://xdaforums.com/galaxy-s5/development/how-to-microphone-gain-increase-s5-t3190613

I confirm the issue on the SM-G900F with CyanogenMod (12.1 or 13, same issue) : the recording volume on videos is very low, and when using the mod above to increase the recording level, the volume becomes OK, but the noise becomes much louder too, degrading the quality of the recording.

Looks like there is an issue with the dynamic range of the mic, as if the output of the mic was 16 bits and considered as 32 bits by the system.
[Samsung Galaxy S 5 Unified Development] giorgina351:
[MENTION=2693412]haggertk[/MENTION]

It is two days with the 31/7 build, after abandoning the CM13 :( for 2 months due to stability.

It is so mature and great now! I am sure there are still glitches, but for me it is now a a good productive tool Developers, very big praise! :)

Another thing, a question:

The attached file taken from the link below changes the audio mixer settings and by this making our mediocre speaker into a much better one. This is done by using also the front phone speaker. [MENTION=2693412]haggertk[/MENTION], I would like to suggest to consider including it in the builds.

http://gs5.wonderhowto.com/how-to/enable-true-stereo-sound-your-galaxy-s5-0157969/
[Samsung Galaxy S 5 Unified Development] Zoomed:
NFC works, as long as you don't try to use Mifare Classic NFC tags.

As a side note, Mifare Classic was also broken on One Plus one, but it seems to be working now (it was recently fixed). It is still broken for klte though.

I think both use the same NFC hardware, so it should be fixable.
[Samsung Galaxy S 5 Unified Development] FlexiPack:
I'd forgotten about the transfer of ownership. If Xposed works OK with the CM root manager then I won't bother with SuperSu.

---------- Post added at 01:32 PM ---------- Previous post was at 01:28 PM ----------

I'm on holiday atm and could really do with having HDR in the camera. A few posts back a couple of members reported that 21st July build was stable for them using HDR and flashlight. The Nightlies downloads only goes back to 28th. Is there any way to access older builds?
[Samsung Galaxy S 5 Unified Development] j1gga84:
[MENTION=3974390]thejester123[/MENTION] updated the mod, I will see if audio recording in video has improved :good:

http://xdaforums.com/showpost.php?p=68009819&postcount=365

regards
[Samsung Galaxy S 5 Unified Development] spiramedia:
The funniest thing is, that all my tags are Mifare Classic NFC tags. But this is not the main problem, so i can use the rom perfectly without nfc, just waiting until it is fixed.
[Samsung Galaxy S 5 Unified Development] Ozzy2403:
Hallo all,

can someone of our bluetooth junkies pls test this build. it's another try for mm kernel. i can't test audio streaming with bt as i don't have any devices to pair :D

pls tell me if there are any crashes while streaming or file transfer or whatever you do with bt...

Link: https://www.dropbox.com/s/tyh9cmll0ox4229/cm-13.0-20160802-UNOFFICIAL-klte.zip?dl=0
[Samsung Galaxy S 5 Unified Development] f0xy:
I never saw this, thank you for the update!
[Samsung Galaxy S 5 Unified Development] lollipop:
When i charging my phone ,i have this message "charging slowly" . is it normal?
[Samsung Galaxy S 5 Unified Development] Ozzy2403:
do you use any battery apps? i've never seen anything like this and don't remeber any change at gerrit causing this.
[Samsung Galaxy S 5 Unified Development] leotakacs:
Does this require an unlocked bootloader?
[Samsung Galaxy S 5 Unified Development] lollipop:
I use only greenify
[Samsung Galaxy S 5 Unified Development] ScratMan38:
I tried it, noise level is still high.

With stock CM mixer_paths.xml, the sound level is barely audible, but the noise is OK.

With Mic Gain Mod mixer_paths.xml, the sound is louder, but still not as loud as stock, and noise is really high.

[MENTION=5341181]omgbossis21[/MENTION] : regarding camera and sound recording, when looking at the videos made with stock camera with MediaInfo, it mentions there is 1 audio channel, the Front Center. Is it normal ? usually the center channel is used in 5.1 or 7.1 audio systems, with reduced bandwidth and different level than standard L and R channels. So maybe that's the reason why the sound in videos is very low.

I will try to get a video from a S5 with stock ROM, to see the audio format.
[Samsung Galaxy S 5 Unified Development] omgbossis21:
Not familiar with mediainfo but stock there's a surround sound feature somewhere if I recall, perhaps its on or mediainfo just reports the front speaker as a center? I reverse engineered the libcamera_client.so file but they changed a lot since I've last looked at them in the early cm7 ish days. Anybody know what size to set the array for the vtables by chance? If you compare cm13s source on our s5 to the s4s there are multiple camera additions in the board make file where as our s5 has I think it was one. Also in the camera wrapper of most any qualcomm devices I checked they have some code snippets dedicated to converting some parameters to qualcomms. Sometime back we used to pull the board camera make configs from the lib camera so but I can't get the table size right even using an array of 46. I grabbed the stock source last night but went to sleep as it was going to take some time to download.
[Samsung Galaxy S 5 Unified Development] BrX91:
Yes it is normal since You are not using fast charger provided by Samsung, but the stock one. That's why it prints slow instead of fast. It should be just charging in my opinion, but this is how it works.

Wysłane z mojego SM-G900F
[Samsung Galaxy S 5 Unified Development] ScratMan38:
MediaInfo reports from the standard AAC channel definition :

"Front: C",

"Front: L R",

"Front: L C R",

"Front: L C R, Side: C",

"Front: L C R, Side: L R",

"Front: L C R, Side: L R, LFE",

"Front: L C R, Side: L R, Back: L R, LFE",

So if the video is encoded with mono, it reports "Front: C".

I started a video and tapped on the two microphones. Both mic gave identical level when tapping, but at the end, both are merged in a single mono channel.

Then I tried using the app "LED VU Meter" from Play Store, and I could see that the phone only uses the bottom mic for recording in this app.

So it's not easy to compare behavior, as the recording configuration may be different between different apps.

So we should concentrate on video recording for the moment.
[Samsung Galaxy S 5 Unified Development] omgbossis21:
Well we dropped a few lines in the board make configuration as we went up in cm versions. These were from cm11 I believe under audio :

AUDIO_FEATURE_DISABLED_ANC_HEADSET := true

AUDIO_FEATURE_DISABLED_FM := true

AUDIO_FEATURE_DISABLED_MULTI_VOICE_SESSIONS := true

AUDIO_FEATURE_LOW_LATENCY_PRIMARY := true
[Samsung Galaxy S 5 Unified Development] phalkon30:
It's always said this to me on any charger I've tested. I used a USB voltage reader many many pages back and proved that it charges the same speed as an S5 on Touchwiz when using the same charger.

In other words, ignore it, it's charging normally.

Sent from my SM-G900R4 (klteusc) running CM13 7.21.16 official with xposed
[Samsung Galaxy S 5 Unified Development] theelle:
Hi guys, but in last nightly are hdr for camera working? And what about audio during video?
[Samsung Galaxy S 5 Unified Development] MVZE:
Latest nightly giving me an annoying issue with Hangouts. It brings up this popup.
[Samsung Galaxy S 5 Unified Development] marouane80:
Hi,

These are some fix for the latest nighlty

What inside ?

-SoundFix : clear sound on camcorder, voice recorder, call voice and audio playback.

-Button Backlight Duration Fix : the official lib doesn't work properly when set to 35s (aka infinite) and sometimes goes to ''off'' itself ?!:eek:

Important ! don't change anything in build.prop or you will have muffled sound again :cool:

Everything was tested, and it works ! :good:
[Samsung Galaxy S 5 Unified Development] nazfalas:
Hey guys, just a quick question as I'm new to the S5 (bought it used for my mother as a replacement for her S3 (also on CM13)).

Flashed the latest nightly along with gapps, did the initial setup, but upon restoring apps through Google the device does a soft reboot and the restore process is cancelled. At first I thought I had to set everything up manually, but without any indication the apps were restored in the background (no app download visible in Play Store or anywhere else).

Is this a known issue?

I tried two different gapps packages with the same result (also happens on other CM based ROMs) -> OpenGapps, Banks Gapps. It was a clean flash on a completely wiped device. Tried both 5.0 and then 6.0 firmware although I didn't really think that would make a difference.
[Samsung Galaxy S 5 Unified Development] marouane80:
did you set all permissions for Google Play Service ?
[Samsung Galaxy S 5 Unified Development] nazfalas:
Not sure how I am supposed to do that during initial setup. :D Fix permissions in TWRP? Isn't the gapps package supposed to set the correct permissions while flashing?

I have flashed custom ROMs on a myriad of devices since Eclair, just new to the S5 and haven't experienced this behavior on any of my other devices running CM13 (based) ROMs (Nexus 4/6/7/10, OPO, S3, S4, etc). This made me think it might be a device specific issue.

Will try again with today's nightly/gapps package, though.
[Samsung Galaxy S 5 Unified Development] marouane80:
I mean permissions in the app manager :eek:
[Samsung Galaxy S 5 Unified Development] nazfalas:
Again: How do you think I would access the app manager during initial setup? (after which the soft reboot occurs instantly)

Ok: I take everything back. Seems to have been the gapps package that was at fault. Today's package works fine!
[Samsung Galaxy S 5 Unified Development] marouane80:
:eek:

why restore from the initial boot ?

boot without restoring anything and go to app manager and set all permissions for google play services , enter you google account and then restore what you want

:D
[Samsung Galaxy S 5 Unified Development] nazfalas:
Well, as I mentioned. App restore with today's OpenGapps package works again, but now on latest nightly the commits for the theme manager seem to have broken themes.

Going back to yesterday's (020816) and I will be all set, I guess. Thanks for your assistance.

Edit:

Everything working now
[Samsung Galaxy S 5 Unified Development] ScratMan38:
Wow !! looking at the diff with original build.prop from CM13 nightlies, and your build.prop looks completely different :eek:

What are the lines responsible for sound fix ? I will try updating only these lines.
[Samsung Galaxy S 5 Unified Development] Mibars:
Ooops! I did not expect such reaction! I was replying to note fact that ther are actually people using HDR and it isn't one of those functions that is there to make a list of features longer and will be probalby used once or twice when playing with new system, but it is actually useful :)

Peace!

(besides I've considered switching back to stock just for the camera, but guess what? I'm still running CM ;) )