yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9506 Android Development] pRASNTH:
Ah, that explains it perfectly - thanks for the clarification & have a nice vacation man !

---------- Post added at 03:44 PM ---------- Previous post was at 03:41 PM ----------

Bro, see if the Media (or Media server) service is running more than normal - if yes, it's likely that either your SD card has a damaged file or partition and it's continously trying to index it. This leads to a battery drain and could damage your phone, as it can get significantly overheated.

Try this, kill the media / mediaserver process (from running apps / cached process) then clear data for your Download manager. Alternatively, try not using your microSD (I know mine had a problem and it's now working perfectly will without it).
[Galaxy S 4 i9506 Android Development] TonskuDaigle:
Thanks. Seems though enough reboots and flashes last night fixed it =)
[Galaxy S 4 i9506 Android Development] TonskuDaigle:
Well it started again. I went to work this morning and I sent my previous post from there. Up until I came back home, I noticed it started draining rapidly again. What happened in between was I walked home for 40 minutes and while doing that I used the TuneIn radio. That's all.

The media or media server process wasn't on so I don't know how I can shut it down. Android OS is taking around 70% of the load all the time. Next up is screen at 12%. These are pretty much the numbers I get nowadays. And yes, it's overheated as well.

The battery is now at 70% as I just recharged and rebooted it so I can get some data.

Also I noticed that the WIFI keeps going on and off like every minute or so. Could be the home wireless network too, I can't be sure just yet. It's been rather inconsistent as of late, but not like this though. More like it completely goes off maybe once a month and I'm forced to reboot the modem. Now it doesn't go off completely and my phone just keeps losing and gaining connection.

Battery is now 68% while typing this post. So about 2% percent after the boot. About 5 minutes.
[Galaxy S 4 i9506 Android Development] TonskuDaigle:
It seems WIFI is the reason for battery draining. And from what I read about the issue, it has something to do with kernels and wakelocks.

I went to bed and had about 52% battery left. Now I still have 34%. It's amazing. Had mobile data on all the time though. Then again my phone's idling all the time and I only used it while walking to work which took about 20 mins with TuneIn on.
[Galaxy S 4 i9506 Android Development] gartner:
I set the lights from automatic to manual, so I dont use to many % of the battery. But the phones keeps reboot and reboot... Got the latest nightly
[Galaxy S 4 i9506 Android Development] TonskuDaigle:
That's odd because I had the problem UNTIL I updated it to latest nightly. I'm using the 23rd of July version since it seems to be the one with the latest changes.
[Galaxy S 4 i9506 Android Development] Erkkipooka:
Do you use exchange active sync? There is something very wrong with Kitkat and exhange.. When the sync gets stuck in a loop it will kill my battery in just a few hours. This can be easily checked with wakelock detector.
[Galaxy S 4 i9506 Android Development] TonskuDaigle:
Nope, not using it. I do use my work e-mail with the gapps e-mail client, but it's IMAP and the settings were not there after flashing the rom again.
[Galaxy S 4 i9506 Android Development] neumann:
The ROM runs perfect on my S4, thanks a lot.

Did one of you manage it to get call recording working? I'm only able to record my own voice.
[Galaxy S 4 i9506 Android Development] gartner:
Hi

Now I have have a wired problem. Suddenly the phone does not remember my wifi password any-more. When I reboot, or go out of the wifi-zone, I have to insert the wpa key again.

Using the 11-20140805 version...

Same problem on two difference router's I have been on today....

Have some of you faced this problem before?

Regards

Gartner
[Galaxy S 4 i9506 Android Development] awicks:
I am running 0804 and have not had this problem.
[Galaxy S 4 i9506 Android Development] awicks:
I have just upgraded to 0808 and am now having issues with music playback over bluetooth in Google Play Music - it keeps coming up with an error "Music Playback Error - Couldn't play the track that you requested". Normal playback via the phone's speaker works fine. Playback from other apps works OK via bluetooth as well.

I have cleared data and uninstalled/re-installed the app, but with no success. Is anyone else having this issue?

Thanks
[Galaxy S 4 i9506 Android Development] TonskuDaigle:
I can't connect to my mobile network anymore. Just suddenly stopped yesterday evening. Not sure if it's the ROM or a hardware failure. Called my phone carrier and all was fine at their end.
[Galaxy S 4 i9506 Android Development] awicks:
I have now installed 0804 over the top of my 0808 install and the Google play music app is now working fine over Bluetooth.

Was actually quite surprised to be able to install an older version over a newer version without any issues!

---------- Post added at 12:07 PM ---------- Previous post was at 11:51 AM ----------

I have now installed 0804 over the top of my 0808 install and the Google play music app is now working fine over Bluetooth.

Was actually quite surprised to be able to install an older version over a newer version without any issues!
[Galaxy S 4 i9506 Android Development] TonskuDaigle:
Tried Carbon rom as well, no help. I'm suspecting that it's a hardware problem.
[Galaxy S 4 i9506 Android Development] mubeen_94:
Appericiate your work [MENTION=5291759]solk2[/MENTION], you did a wonderful job for the development of our rather "much unsupported" device. A few queries to be made:

1) Is this ROM flashable on stock 4.4.2 boot loader?

2) You gave a fix for the systemui crashes. Is it to be flashed via Odin under PDA/AP?

3) I found a link in this thread regarding an HDMI fix. Have you tried it yet? Or is the problem has been already solved with the updates?

4) Have all the camera modes been fixed? I mean slow-mo, HDR and all. I don't use those modes much, but it would be good to have them all.

5) What about the minimum CPU frequency? I mean the last time I flashed the ROM it was fixed at 300 MHz. Is it fixed?

6) I'm a noob, so I do want to know how to flash the modem and boot loader files in case if it is necessary (though I think it won't be, but I can gain some knowledge)

7) The newer updates seems to have some kind of bugs and you might have even started working on them. I love your work sir, and hope you'll get those fixed.

Regards
[Galaxy S 4 i9506 Android Development] SoRiNuS:
1) Yes

2) Via Recovery

3)

4) No

5) Yes

6) If you are on 4.4.2 bootloader, then you are ok
[Galaxy S 4 i9506 Android Development] mubeen_94:
Thanks for the prompt response........it would've been great if the camera modes would've worked
[Galaxy S 4 i9506 Android Development] dlee064:
WiFi Stuck turning on !

Hi all:

Thanks a lot for the CM11, it works nicely and I have not seen any major issue so far.

My device is E330K (LTE-A). solk2, I can confirm that yours are compatible with E330 so far including LTE. :)

Before updating 'cm-11-20140711-SNAPSHOT-M8-ks01lte', I had the latest firmware for it (E330KKKUCNF1 (sw) / E330KKKUCND1 (baseband), 12-June-2014)

Before the installation I made sure to wipe off data / cache and the installation went smooth, and I've got the CM11 installed and booted fine.

Very initially, the WiFi was working right for the very first time, I connected to my AP with password and it worked.

But then after few minutes of Gapp installation and doing system configuration, suddenly the WiFi no longer turns on, it gets stucked at the toggle (i.e., blue toggle does not get ON no matter what, even when I used the 3rd party app)

So I've updated to the latest 20140811 (both temasek and normal), and it still does not work, and I went to recovery mode to fully clean out everything except the 'firmware-modem' and 'sdcard1'. Reinstalled 20140711, rebooted and still the WiFi is stucked.

I've tried some workarounds other folks succeeded using the SQLite editor to find the 'wifi_display_on' set to 0, but mine was already set to 0.

http://forum.cyanogenmod.org/topic/83591-wifi-not-turning-on-after-upgrade-to-cm11/

some folks find that it might be the kernel as below link..

http://forum.cyanogenmod.org/topic/83858-cm11d2usc-wifi-problems-and-potential-fix/

Please help, any suggestions I could try ? Many thanks!
[Galaxy S 4 i9506 Android Development] solk2:
Please post logcats. Can't say for sure what could it be. Also try arters kernel coz hardware a little different.
[Galaxy S 4 i9506 Android Development] solk2:
This could be modem problem. Try flashing latest radio via odin.
[Galaxy S 4 i9506 Android Development] TonskuDaigle:
I flashed the stock firmware via odin, but didn't help. I'm taking the phone to see if I can get it to warranty.
[Galaxy S 4 i9506 Android Development] dlee064:
WiFi logcat

Hi solk2.

I've tried arter's latest kernel 2.2.2, WiFi still doesn't work, and it's unstable as it reboots within 20sec!

Below is the WiFi logcat: the following snippets are captured when I toggled WiFi on.

Also, sometimes later, I saw this, too.
[Galaxy S 4 i9506 Android Development] DualJoe:
Does Temasek kernel come with some extras like CIFS or OC/UV?
[Galaxy S 4 i9506 Android Development] you5urf:
Um so yeah, you should already know solk that i appreciate your work so with that in mind. My WiFi pass keeps going :) no information other than it started on one of the night lies several days ago and that it happens on the clean install of the normal version of the ROM. Take your time and take it easy.
[Galaxy S 4 i9506 Android Development] anonymous_1997:
same thing here
[Galaxy S 4 i9506 Android Development] awicks:
Those suffering WiFi problems - which version did it start happening with?
[Galaxy S 4 i9506 Android Development] solk2:
Please post dmesg. Looks like dhd module can't start.
[Galaxy S 4 i9506 Android Development] solk2:
CIFS is included in CM kernel in latest nighties. Temasek kernel is OCed a bit.
[Galaxy S 4 i9506 Android Development] anonymous_1997:
after reboot I am losing all my saved wifi access points

first nightly I noticed this happening was a I believe the 30/7/2014
[Galaxy S 4 i9506 Android Development] solk2:
Try to delete /data/misc/wifi folder and reboot.
[Galaxy S 4 i9506 Android Development] anonymous_1997:
did this and still same issue unfortunately :(
[Galaxy S 4 i9506 Android Development] stxfreak:
Hey there, new to custom roms, can I also do this from stock 4.4.2 (NEE)? Thanks for your work!
[Galaxy S 4 i9506 Android Development] Phil Muir:
Yes you can. It says you can do this from stock 4.4.2 on the first page. Haven't looked at this for a while as the HDMI port didn't work. Wonder if that's fixed now as noticed some references to that in the logs? Will definitely look at this again once HDMI port support becomes available :)
[Galaxy S 4 i9506 Android Development] stxfreak:
same her, dont know which nightly it appeared as i directly went from the snapshot to 0817
[Galaxy S 4 i9506 Android Development] Dabman:
can anyone update files from post 58 to another server or give login/pass?

http://xdaforums.com/showpost.php?p=53108287&postcount=58
[Galaxy S 4 i9506 Android Development] spurs77:
Disabled WiFi

I've also had problems with disabled WiFi. I've tried different nightlies and discovered that from version cm-11-temasek-20140814UnOfficial nighties, wifi was disabled.

Then I installed cm-11-temasek-20140813UnOfficial nighties again and wifi was enabled.

cm-11-temasek-20140813UnOfficial nighties - WiFi enabled

cm-11-temasek-20140814UnOfficial nighties - WiFi disabled

cm-11-temasek-20140815UnOfficial nighties - WiFi disabled

cm-11-temasek-20140816UnOfficial nighties - WiFi disabled

cm-11-temasek-20140817UnOfficial nighties - WiFi disabled
[Galaxy S 4 i9506 Android Development] faabak:
I have also been missing the WiFi with the latest temasek-roms..

But just installed the regular cm-11-20140818-UNOFFICIAL-ks01lte, and now the WiFi is back! :D
[Galaxy S 4 i9506 Android Development] stxfreak:
even immeadiatly after restart? did you also try 0817 as reference?

thanks!
[Galaxy S 4 i9506 Android Development] solk2:
Thats coz in CM kernel wifi is built in kernel and device tree modified accordingly. Will update temasek accordingly.
[Galaxy S 4 i9506 Android Development] stxfreak:
so it is fixed with the newest nightly? just want to know for sure because i reflashed my phone probably over 5 times the last couple of days searching for one that works and going back to snapshot. thanks for your awesome work solk!
[Galaxy S 4 i9506 Android Development] solk2:
Still not. Have a lot work and don't have time to fix this.
[Galaxy S 4 i9506 Android Development] awicks:
Battery life

My battery life seems to have taken a turn for the worse recently. In the initial versions, battery life was brilliant (and I commented as such), but now the battery is draining very quickly. This morning I have lost 25% in 3 hours of limited use. Yesterday I lost 50% in 5 hours with limited use.

I keep an eye on the battery drain chart, and each time it seems to say that something different is hogging the battery (Google Play Services, Media Server, Android OS. Today it is saying that my screen has used 23% of battery in 3 hours even though time on is only 12m 57s.

Any suggestions/ideas on how to improve battery life?

Thanks, Andy
[Galaxy S 4 i9506 Android Development] DualJoe:
I'm using 'cm-11-20140821-UNOFFICIAL-ks01lte.zip' and it doesn't save WiFi password. It works properly but once i disconnect i have to reenter it again. Can anyone confirm this? I currently have no sim card inside and no lockscreen enabled (in case that's important).

Edit: Maybe this is related.

01-01 05:52:20.069 E/ConnectivityService(758): net.tcp.usercfg.wifi not found in system properties. Using defaults

Also, manual brightness isn't stored and AOSP keyboard doesn't inject swiped words. Tapping works though.
[Galaxy S 4 i9506 Android Development] stxfreak:
i did not try the latest nightly, but personally i would wait for solk to confirm that he worked something out with the wifi. its a known issue since some days and he will fix it when there's time. i'm currently sitting on the m8 snapshot again because it annoyed the hell out of me ;)
[Galaxy S 4 i9506 Android Development] awicks:
I am running CM-11-20140818-UNOFFICIAL and can report no problems with WiFi. I was running 0808 before that and also had no issues with Wifi. The only problem I am really having is poor battery life.

Andy
[Galaxy S 4 i9506 Android Development] DualJoe:
If wifi 'properties' could be created once properly it probably works for ever. The problem might only affect people on latest freshly installed roms (if that theory is right).

What about the AOSP keyboard swiping? Anyone tested that as well? I feel like on old classic phones with that tapping-only. :)

I have constant battery drain as well. It doesn't get registered as 'active' though. Will later test that with BBS or whatever app it was to check for wakelocks.
[Galaxy S 4 i9506 Android Development] johnthepig:
Tried NlpUnbounce ?
[Galaxy S 4 i9506 Android Development] stxfreak:
May I ask you how you update your rom? I'm currently always full wiping and flashing over cwm, maybe dual Joe is right and it will keep the WiFi once saved on an earlier version. Last time I updated via cm updater I lost root and gapps :confused:
[Galaxy S 4 i9506 Android Development] awicks:
I am just updating via the cm updater in settings.
[Galaxy S 4 i9506 Android Development] stxfreak:
ill give it a try again then ;)
[Galaxy S 4 i9506 Android Development] DualJoe:
He also set up a buildbot.

Edit: Automatic nightly builds are here: http://getcm.solk.org.ua/_builds/ks01lte
[Galaxy S 4 i9506 Android Development] stxfreak:
Isn't this just what the cmupdater shows anyway?
[Galaxy S 4 i9506 Android Development] DualJoe:
Yes, probably. But if you start from scratch or want a backup image it could be useful to have a local copy.

I will try that as well. Thanks.

Edit: Hmm, that's the build with the auto-brightness bug. Do not uncheck it or it will corrupt the image (bootloop). It was fixed in a later version.
[Galaxy S 4 i9506 Android Development] stxfreak:
i actually got it to work with the method mentioned before. if your wifi is set before upgrading to the latest nightly it seems to stay even after reboots, running fine for me since 2 days.

besides that, whats up with the latest snapshot for the note 3? am i missing sth? ;) (regarding official hlte version, from which this is ported)
[Galaxy S 4 i9506 Android Development] DualJoe:
Anyone getting CIFS running? Doesn't look like its implemented properly. Still throws 'invalid argument' that points to missing cifs support and i couldn't find a cifs module in the rom.
[Galaxy S 4 i9506 Android Development] Chillzone:
Hey,

I have tried for many days to get CM stable on my phone.. Starting out with rooted 4.2.2 i found out fast that i needed to flash 4.3 or 4.4 to stop system ui from crashing. But now i have another problem. My phone bootloops no matter what i do. If i wipe cache, dalvik cache, /system and /data (factory reset) and then flash a clean CM from here, i get bootloop even if i reboot just after the setup is done (where you choose languange and so on) some times it doesnt bootloop, but if i reboot right after again, it will.. It only happened once, that i managed 2 reboots without getting a bootloop, then at the third boot it bootlooped..

I use cwm and have tried both user builds and userdebug builds with CM and temasek kernel. Also tried with both 4.3 and 4.4 bootloader and so on. Any hints on what to do? Just shout out if there is any info I didnt write ;)

And of course I want root :P So a fix to the userdebug rom's had been great :)
[Galaxy S 4 i9506 Android Development] solk2:
Try flashing keymaster.zip from first post.
[Galaxy S 4 i9506 Android Development] solk2:
Use unc mount option for now.
[Galaxy S 4 i9506 Android Development] DualJoe:
Thanks, will try that.

Which compiler/toolchain do you use for the 4.4.2 Samsung stock kernel (or do you use a different kernel)? I'm using the Google prebuilt one (arm-linux-androideabi-4.9) and am stuck here atm (after disabling most warnings already by removing the gcc wrapper script):

LD vmlinux.o
MODPOST vmlinux.o
WARNING: vmlinux.o(.data+0x7fb0): Section mismatch in reference from the variable msm_mpm_debug_mask to the function .init.text:mpm_irq_domain_linear_size()
The variable msm_mpm_debug_mask references
the function __init mpm_irq_domain_linear_size()
If the reference is valid then annotate the
variable with __init* or __refdata (see linux/init.h) or name the variable:
*_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console

WARNING: vmlinux.o(.data+0x7fc8): Section mismatch in reference from the variable msm_mpm_debug_mask to the function .init.text:mpm_irq_domain_legacy_size()
The variable msm_mpm_debug_mask references
the function __init mpm_irq_domain_legacy_size()
If the reference is valid then annotate the
variable with __init* or __refdata (see linux/init.h) or name the variable:
*_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console

To build the kernel despite the mismatches, build with:
'make CONFIG_NO_ERROR_ON_MISMATCH=y'
(NOTE: This is not recommended)
make[1]: *** [vmlinux.o] Error 1
make: *** [vmlinux.o] Error 2
[Galaxy S 4 i9506 Android Development] lkarus:
hey guys.

since my last update (20140821) I get this error every 10 seconds and my battery is draining fast... :

TemperatureHumiditySensor( 704)

mCompEngine is NULL

I don't know what's wrong with that and don't really understand the error logs but here is my full logcat too.

would be nice if u can explain what's wrong and give me a workaround or fix with new update :)

regards
[Galaxy S 4 i9506 Android Development] awicks:
I have reverted to m8 snapshot and the battery life is back to normal :)
[Galaxy S 4 i9506 Android Development] solk2:
Please post screenshot from settings->battery. This error have nothing with battery draining. It was from first build. For what i see on my phone battery drains after google services update. To workaround this i disabled location history in google services.
[Galaxy S 4 i9506 Android Development] solk2:
I am using stock cm build system.
[Galaxy S 4 i9506 Android Development] lkarus:
ty for ur help. the location history was and is disabled. so that's not the issue.

can u or anyone else tell me what this error mean? or how to fix?

I can give u a screen tomorrow cuz my phone shut down and now it's on the charger.
[Galaxy S 4 i9506 Android Development] solk2:
Try latest nightly. Coz there was some issues with power regulator from 18 or 19.08.

If any of devs of hlte, S4 knew what this error about. It would be fixed:).
[Galaxy S 4 i9506 Android Development] DualJoe:
I have battery drain as well. Will try latest nightly and report back. :fingers-crossed:

No GApps installed. No GSM used. Just WiFi and airplane mode.

Edit: Rom is 'cm-11-20140821-UNOFFICIAL-ks01lte.zip'.

Pics:
[Galaxy S 4 i9506 Android Development] hs911:
crazy screenshot. the phone drains constantly and says its the display but the display isnt even constantly on. someone tried an easy battery calibration?
[Galaxy S 4 i9506 Android Development] DualJoe:
I'm on cm-11-20140825-UNOFFICIAL-ks01lte.zip

- Battery drain untested is fixed!

- WiFi password still lost after turning wifi off

- Brightness on startup wrong (on manual brightness)

- AOSP keyboard not able to swipe (no text injection)

- CIFS working now :victory:

su -mm -c busybox mount -t cifs -o username=aaa,password=bbb,ro,iocharset=utf8 //192.168.1.1/share /mnt/cifs/share

Edit: I'm not sure if CIFS was even broken at all previously. I've noticed just now that it only works with 'busybox mount'. The standard '/system/bin/mount' still throws 'invalid argument'. Possible that i didn't test the busybox binary earlier.
[Galaxy S 4 i9506 Android Development] solk2:
Most likely that coz of permissions of /data/misc/wifi dir or /data/misc/wifi/wpa_supplicant.conf. Please post logcats and ls -l of thats dir.

I know about this bug. Will try to fix it. But this not in top priority list.

Most likely CM bug. Need to report bug on their JIRA.

I'll try to fix this in kernel. It must be that userspace mount not filling unc option, while busyboxes does.
[Galaxy S 4 i9506 Android Development] solk2:
Try to turn off wifi. Delete everything in /data/misc/wifi. Set ownership to /data/misc/wifi to system:wifi. And try it. Looks like it can't create ipconfig.txt. If this help I'll fix it in next nightly.

Also swipe working on my phone. Please post system and main logcats while swiping.
[Galaxy S 4 i9506 Android Development] tlund:
On my device, the real time clock does not seem to work. After rebooting it is back to 1970 every time. This happens in both recovery and cm11. Is this a known problem, or is something up with my device?