yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Original Android Development] SolGarlic:
Today my phone turned off after a few minutes of heavy use browsing the net (it was a bit hot and with 6% battery).

After reboot I had again the black screen problem.

I'm running the latest version (beta 4) with Open GAPPs. I have F2FS in all possible partitions. I also flashed a new MODEM earlier today, but everything seemed ok until this happened.

I tried wiping cache in recovery, and when rebooting it shows the counter of optimizing apps, but when finished, instead of showing the lockscreen or the launcher, the screen is turned off. If I press the power button, it shows the shutdown menu.

I also tried wiping system and reflashing, but had the same problem: after optimizing all apps still had a black screen (or just off).

I then did a Nandroid data backup followed by a factory reset and the problem was gone. I had to reinstall the apps (from TB) and restore recent data for most apps (from the Nandroid).

I don't know if restoring the Nandroid backup I did when the screen was black would replicate the situation, but if it is needed for debug purposes I might do it (I just need a bit of refresh on how to retrieve the log).
[Galaxy S 4 i9505 Original Android Development] NZgeek:
The TCP congestion algorithms shouldn't have any effect on finding a good cellular/Wi-Fi signal. As the name suggests, they operate on TCP (Transmission Control Protocol), which sits in top of IP (Internet Protocol), which in turn sits on top of the works protocol being used (802.11 for Wi-Fi, dunno for cellular).

To the best of my knowledge, it's the modem/radio in our devices that tries to find the best cellular signal, and that's quite separate to the TCP stack.
[Galaxy S 4 i9505 Original Android Development] AntaresOne:
Still under investigation, there's a SystemUI continuous crash when you see that black screen...

Hi mate,

thank you for the support :)

Check that energy saving is not enabled by default: Settings->Battery->press overflow menu->threshold->put "never". Also put Sync tile in the quick settings menu to see if sync is enabled or not (if this is disabled you'll be unable to send/receive Whatsapp messages, Email etc. until you don't open the app manually and wait some time)

The exclamation mark means "no internet connection", normally that mark shouldn't be showed but due to a CAF bug in the telephony framework is showed

After 21K+ downloads of the previous version, TWRP v2.8.7.0 with F2FS management support is available! :)

Download: https://www.androidfilehost.com/?fid=24052804347763625
[Galaxy S 4 i9505 Original Android Development] VanGolfer:
After 21K+ downloads of the previous version, TWRP v2.8.7.0 with F2FS management support is available! [MENTION=5464206]AntaresOne[/MENTION]: could you brief the change log of TWRP v2.8.7.0? Thanks
[Galaxy S 4 i9505 Original Android Development] AntaresOne:
There are many code updates between the v2.8.6.0 and v2.8.7.0 (GitHub)

A new feature has been added: option to mount /system as read-only

Nothing more found :)
[Galaxy S 4 i9505 Original Android Development] No1VIPER:
I've also just had this happen... again. This is the second time now. It only seems to happen when the battery gets below 10%. If this keeps happening I think I'm going to have to switch to another rom, until its fixed.
[Galaxy S 4 i9505 Original Android Development] kapitanbasa:
After trying countless times flashing a lollipop rom with the same results...data and cellular signal is always borked...i tried this ROM and bam, signal is working fine. All's well for now. Thanks heaps!!!
[Galaxy S 4 i9505 Original Android Development] HectorAguirre:
I will try and let you know. Thanks everything counts
[Galaxy S 4 i9505 Original Android Development] vagkar:
ANT radio

Is there a way to enable ANT connectivity? It used to work on stock rom, but not on this one. I'm on version 12.1-20150602-OPTIMIZED-jflte.

Thank you!
[Galaxy S 4 i9505 Original Android Development] Kippy51:
Sim card not detected/fixed for now!

My father in law replaced the sim card holder (it's on a small, separate circuitboard) with another one out of a totalled S4 and for now (2 days use) everything is fine! Haven't had the 'sim card not detected' message anymore and no loss off cellular reception anymore :) Hopefully it stays that way! :good:
[Galaxy S 4 i9505 Original Android Development] FilloK83:
Camera issue

Hi guys, first of all thanks to the developers for this awesome ROM.

I noticed that when i use stock google camera (installed from Play Store) the phone slow down and starts to stutters heavily until it become completely unusable. Are you aware of this problem? there is a fix coming? how can i help reporting this bug more efficiently?

I'm using a GT-I9505 with the latest update of this ROM (16 June)

Thanks

Fillo
[Galaxy S 4 i9505 Original Android Development] jd1001:
Search back in this thread about 10 pages there is a camera fix you can flash through recovery. Works perfectly for me.

EDIT: Here is the link for the fix - http://xdaforums.com/showthread.php?p=61444793
[Galaxy S 4 i9505 Original Android Development] FilloK83:
Thanks jd... and sorry for the stupid question.
[Galaxy S 4 i9505 Original Android Development] jd1001:
Ah it wasn't stupid dude! Good luck, i find that fix really good, very rarely does the camera stop with this fix or lag etc.
[Galaxy S 4 i9505 Original Android Development] SolGarlic:
I updated my post with the information that I had to factory reset to solve the problem.

I also have the impression that this is a problem on the DATA partition and maybe caused in a low battery situation (based on my short experience of 2 events).

Anyway, this only happened twice in over a month, and I am extremely satisfied with this ROM.

Let me know if I can help debugging (I still have the NANDROID backup of when I had the problem).
[Galaxy S 4 i9505 Original Android Development] Morkovich:
I also replaced the SIM-tray but often get the message during startup. Only softboot works fine.
[Galaxy S 4 i9505 Original Android Development] fryandlaurie:
Thank you for your feedback. I'll try the threshold setting but that seems to be explicitly for battery use cases. I forgot to mention in my previous post that my phone is hooked up to the charger every night which makes the behavior even more puzzling.

Anyway, as I said: not very important in the greater theme of things: :cool:

Cheers
[Galaxy S 4 i9505 Original Android Development] Strephon Alkhalikoi:
Yours may sadly be a faulty motherboard, unlike the other poster.
[Galaxy S 4 i9505 Original Android Development] Fat_boy555:
Hi, I'm getting no kernel support in stweak app. Anyone knows how to solve this?
[Galaxy S 4 i9505 Original Android Development] Technical:
Strange... It's working perfectly here. Which is your STweak app version? Mine is 1.7.3.

The kernel is 3.4.107 Alucard PWR Core
[Galaxy S 4 i9505 Original Android Development] Fat_boy555:
Same. But I have SELinux as enforcing. Is SELinux needed to be permissive in order to run the app?
[Galaxy S 4 i9505 Original Android Development] Technical:
Ops. I don't know, but my SELinux is Permissive.
[Galaxy S 4 i9505 Original Android Development] jd1001:
Do you have root enabled in developer settings?
[Galaxy S 4 i9505 Original Android Development] Fat_boy555:
Yes. Kernel Aduitor works fine that's why. And I can execute commands with root in terminal. Greenify doesn't seem to have problem hibernating apps.
[Galaxy S 4 i9505 Original Android Development] christoophat:
Or perhaps just remember to recharge before it hits 10% ? I've seen it recommended in numerous places to not let batteries get much below 30% before recharging to make them last longer.
[Galaxy S 4 i9505 Original Android Development] Opuske:
As in the RC world where we always use LiPo baterys we always say to not discharge ur batterys below 3.3 volts.

Best is always to leave around 20 to 25% in the battery and then recharge.

Else the battery will lose its quality over a faster period of time.
[Galaxy S 4 i9505 Original Android Development] Specht77:
I believe it has nothing to do with the battery percentage, I had this problem 2 times in less than 10 days, one time I had more than 50% battery, the other I had more than 80%...
[Galaxy S 4 i9505 Original Android Development] Morkovich:
I had exact the same issue after a dirty flash. Now working on a clean flash (latest ROM).
[Galaxy S 4 i9505 Original Android Development] hnegrao:
Hi guys, I have a doubt.

Can someone tell what's the major differences betwen this "Optimized CyanogenMod 12.1 builds" and the "CyanogenMod 12.1 Nightlies" ?

THe ones that can make me choose between them.

Thanks.

(PS: I've read the OP of both Versions but still have some doubts...)
[Galaxy S 4 i9505 Original Android Development] nlansing:
It's optimized. That means it's faster, better battery life. It uses the Alucard Kernel with STweaks. It's also actively supported by the developers in this thread.
[Galaxy S 4 i9505 Original Android Development] Shockz:
Well the nightlies are being put out every day so new bugs are more common and with the optimized they take the cm builds and optimize them with tweaks and implement fixes. These are updates less often but will be more stable.
[Galaxy S 4 i9505 Original Android Development] coldoherty:
Hi All

I'm new to this and have just installed cyanogen on my s4 using the installer. Everything is fine but I wanted Android 5. Am I OK to install this ROM now with a clean install as per instructions or do I have to do anything more prior to installing?

Thanks
[Galaxy S 4 i9505 Original Android Development] jd1001:
Hey, you should be good with a clean install. Follow the OP and you should be good to go.
[Galaxy S 4 i9505 Original Android Development] oran3e1:
Camera crash fix didn't fix it, the camera works fine alone, but when using WhatsApp, on this build i get alot of "cannot start camera" and its very unstable, today while changing music by holding the volume up button with my Samsung official headset plugged in it didn't work as it was 5 mins earlier, i checked the phone and the screen was black and wasn't changing but the music continued to play normally, i had to restart it. that's the first black screen issue ive had yet.

Still love the ROM, i have noticed subtle stability improvements throughout ROM compared to build 2nd of june

10/10 would flash again, will keep you posted
[Galaxy S 4 i9505 Original Android Development] FernBch:
Nightlies from CM may be daily but they are more platform specific. Not all nightly commits are specific to the SGS4. The developers here are working more at a level that benefits our device, not just the platform
[Galaxy S 4 i9505 Original Android Development] AntaresOne:
Impossible, you don't use the embedded kernel. The command line sets SELinux as permissive at device boot, this setting is persistent until you don't modify the command line (which requires the bootimage to be unpacked and repacked or rebuild the kernel from source modifying it)

Please do not report issues here if you change kernel, as stated in the post #2

Inviato dal mio GT-I9505
[Galaxy S 4 i9505 Original Android Development] measel:
Does that mean it is not possible to run this ROM in enforced mode?

Asking bcs M66B, the dev of Xprivacy recommended using enforced SELinux.
[Galaxy S 4 i9505 Original Android Development] Lifu':
He says that it's impossible to have SELinux as enforced if you use the ROM as intended without mods and he will not bother with problems and bugs for those who chose to use other kernels or mods.

Do not report bugs if you:

Flashed a different kernel

Installed or did mods from untrusted sources

Installed Xposed

Modified system files

P.S. why do you want Xprivacy when you have Privacy Guard already fully integrated into this ROM?

L.E. I didn't know that, thank you [MENTION=6596912]android_patrizian[/MENTION]
[Galaxy S 4 i9505 Original Android Development] android_patrizian:
It's off topic but Privacy Guard can't control leak of IMEI or phone number, for example or access to the contacts on contact levels..
[Galaxy S 4 i9505 Original Android Development] ** A - R **:
Analysing AMOLED Power Efficiency Improvements

http://anandtech.com/show/9394/analysing-amoled-power-efficiency​
[Galaxy S 4 i9505 Original Android Development] azuziel:
hahaha, yep - typo. nailed it! :P
[Galaxy S 4 i9505 Original Android Development] hnegrao:
Hello.

When I go to definitions - users - Me, I got this message "The contact doesn´t exist".

Is it possible to change my picture in this ROM?
[Galaxy S 4 i9505 Original Android Development] Strephon Alkhalikoi:
Sure. Simply create a contact card for yourself in contacts. Android will recognize it and change the name to "Me", thus associating it with the current user.
[Galaxy S 4 i9505 Original Android Development] measel:
Well Anteres' statement sounded like you had to recompile the kernel to enforce SELinux. Normally that isn't necessary, if I recall correctly.

About XPrivacy:

You'll find the differences on the Github page but mainly it blocks much more info than just permissions plus it feeds apps with fake data so the still work with restricted permissions.

It is a very powerful yet not so easy to use tool (my opinion).
[Galaxy S 4 i9505 Original Android Development] 1qazwsx4:
First off, amazing ROM :)

Quick question, is there any way to enable automatic call recording on this or cm based ROMs? This is the only feature I miss from tw. Cheers
[Galaxy S 4 i9505 Original Android Development] stackz07:
has anyone successfully dirty flashed this? meaning they're getting the increased stability with the latest update? meaning...again.. most of the "core problems" are now gone even on a dirty flash
[Galaxy S 4 i9505 Original Android Development] gkai:
Yes. Trick was clean cache, art/dalvik cache (that's the usual procedure) but also app caches using titanium backup. Look in the thread, smearoni gave me this advice and it worked great, solved very strange things I had after a sequence of dirty flashes (went to newer version through dirty flashes maybe 4 times... )
[Galaxy S 4 i9505 Original Android Development] hnegrao:
Tried whithout success :( I keep getting this message: " Contact doesn't exist". Is there another way?
[Galaxy S 4 i9505 Original Android Development] donkyshot:
This

This works like a charm.: good:
[Galaxy S 4 i9505 Original Android Development] Strephon Alkhalikoi:
Not that I can think of. The only thing I know I did after creating the contact was to assign my avatar to it (as I like my avatar). Just one thing though. You didn't name the contact "Me", did you?
[Galaxy S 4 i9505 Original Android Development] hnegrao:
No.

I just add a new user but I am unable to do anything with it (configuration). It just swaps to new user... only that :(

I also wanted to change the avatar...
[Galaxy S 4 i9505 Original Android Development] Strephon Alkhalikoi:
Really odd, because all I had to do was make a contact with my contact information in it, then go to Settings>Users and configure the user from there. It found my contact, assigned my picture, and in the Contacts app, changed the name from my name to "Me".
[Galaxy S 4 i9505 Original Android Development] Fat_boy555:
The kernel version is alucard power core correct? I didn't change the kernel but I did do a dirty flash. I also change selinux go enforcing on my own through stweaks because I didn't know why it was permissive. Is that the reason why?
[Galaxy S 4 i9505 Original Android Development] JhoonB51:
What you are experiencing is odd, reading your post I opened contacts and at the top was listed "ME Set up my profile". I chose that and it allowed me to enter my name and change photo (I removed for these screenshots) Optimized 6-16 build.
[Galaxy S 4 i9505 Original Android Development] hnegrao:
How do you configure the new user?

I cannot do it... Perhaps I am doing something wrong...

I mean, how do I associate contact to a user?
[Galaxy S 4 i9505 Original Android Development] Lifu':
I don't have that option. :(

L.E. ok my bad, I was using contacts from "Dialer" tabs.

Using "Contacts" shortcut the option is there and easy to setup.
[Galaxy S 4 i9505 Original Android Development] alexcochifu:
Las update lost root

Hi! Did anyone Loose root with last update ? How do i robot ir again ?
[Galaxy S 4 i9505 Original Android Development] Fat_boy555:
Delete
[Galaxy S 4 i9505 Original Android Development] Shockz:
If you lost root just flash the supersu update zip file in your recovery.

Sent from my SCH-I545
[Galaxy S 4 i9505 Original Android Development] SynapticKaos:
So, I installed the latest version last night, and now I have virutally no sound, and noone can hear me in phone calls
[Galaxy S 4 i9505 Original Android Development] 1weener:
Flash the ROM again and clear cache and Dalvik. Or try a clean flash. Sound works so it is on your end.
[Galaxy S 4 i9505 Original Android Development] ReyWey:
What is VLC?
[Galaxy S 4 i9505 Original Android Development] Morkovich:
Just Google.
[Galaxy S 4 i9505 Original Android Development] kalhimeo:
This worked for me having similar problem:

Open Google+ -> Settings -> (Choose your account name) -> Contacts -> "Update contacts" Enabled

After that my Android "User" was automatically updated with my picture etc.

Hope it helps
[Galaxy S 4 i9505 Original Android Development] micjon:
Unlock problem

I have a problem with unlocking the screen. I must repeat waking several times before it starts to operate touch and go unlock the screen. He met someone with a similar problem? I installed ROM with full wipe. Cache and Dalvik I tried to delete. I am sorry for my bad english.

Samsung S4 i9505.
[Galaxy S 4 i9505 Original Android Development] pitelasssss:
Only if you want to have now singapure firmware
[Galaxy S 4 i9505 Original Android Development] w3nZ:
I have the same bug when activating LiveDisplay. Try again after disabling it, hope it helps.
[Galaxy S 4 i9505 Original Android Development] Axl_Mas:
Hi Antares!

I solved all my battery drain problems with the last build.

Beyond the usually wipes this time I formatted the internal storange too.

No Titanium Backup restore, I just reinstall all my apps by Play Store and now my battery life is awesome!!!

Just with a small underclock to 1488 Mhz I have 3 hours and half SOT!!!

The only problem I found with the last build is with Snap Camera (it crashes frequently even with CameraFix update) but I think it is a app related problem.

No problems and quite good performances with A Better Camera Unlocked.

Many thanks for this fantastic rom and kernel!!!
[Galaxy S 4 i9505 Original Android Development] micjon:
Unlock problem

Thanks. LiveDisplay was off. But "reduce power consumption" was switched on under LiveDisplay. I'll see if it helps.
[Galaxy S 4 i9505 Original Android Development] bongster:
Hi Guys,

I went into the Black Screen issue yesterday.

Here what happened for me:

I connected my S4 to my Ford Sync system via Bluetooth and listened to an audible audio book, which starts automatically.

After some time I noticed, that I was not able to wake up the screen via home button. The audio book was still playing. I restarted the phone a few times with no luck, but the Bluetooth connection connected every time and the audio book started again.

I tried to do a phone call with the Sync system in my car and surprisingly the screen woke up and the call was no problem, but I was not able to hang up with button on the touch display. The only other thing that worked with the touch display was the shut down dialog after pressing on/off button.

The only thing I changed that day, if I remember right was that I switched to 2G only mode to save some battery. But this was in the morning and I used the phone normally the whole day.

For Info, Battery was still by 80% and my car dock uses Qi to Charge the Phone.

I did a factory reset and tried to recover only the Data partition with no luck. Only a factory rest helped and in the end I recovered an old nandroid.

Hopefully this helps to find the issue…

Regards!
[Galaxy S 4 i9505 Original Android Development] r0ckarong:
I flashed the optimized 02062015 build over the official CM 12.1 build 01062015 with no problems so far.
[Galaxy S 4 i9505 Original Android Development] verossi:
I'm on last ROM and no issues with Snap Camera, without CameraFix.
[Galaxy S 4 i9505 Original Android Development] cookiiee94:
Is the latest version the most stable?
[Galaxy S 4 i9505 Original Android Development] jd1001:
For me absolutely, clean flash and I have no issues. Not one, BT, WiFi, Cellular and camera working perfectly.
[Galaxy S 4 i9505 Original Android Development] IcyH:
Google for VideoLan VLC ;) you'll be surprised I guess.
[Galaxy S 4 i9505 Original Android Development] oran3e1:
Okay good news, I have not encountered the media volume lock bug for a couple days and the battery life and ROM is more stable, BUT:

I have discovered a new bug, when changing tracks using the volume keys when the phones locked on the default music player, it not only doesn't work but it causes the screen to not turn on and stays black, confirmed this by trying a couple times, doesn't matter if music is on internal or SD Card, I'm using the Samsung Galaxy S5 official earphones headset BTW.

Other then that u love this ROM! Please keep up the good work
[Galaxy S 4 i9505 Original Android Development] jd1001:
Do you have livedisplay enabled?
[Galaxy S 4 i9505 Original Android Development] SynapticKaos:
Well, I have wiped everything, and clean flashed and still have the volume issue. Flashed CM11 to make sure it wasnt a hardware issue, and sound was fine.....
[Galaxy S 4 i9505 Original Android Development] stegalli:
I have the same problem ,has somebody got a solution?
[Galaxy S 4 i9505 Original Android Development] AntaresOne:
It's possible to run with enforcing SELinux, even if with less flexibility than the permissive. Kernel command line needs to be modified if you want to use Enforcing mode (and strongly unsuggested)

If you put SELinux to Enforcing in STweaks it will still be reverted to Permissive. You must edit the kernel command line, as I told previously

Thank you, yes there are still issues with the camera, mainly crashing randomly when you use front one

By the way, I found a solution for the random black screen issue after a system crash, without wiping data.

Bootloop on bootanimation:

- theme engine becomes crazy. Just reboot in TWRP recovery, go in file manager->data/system and delete "theme" folder, then reboot

Black screen of death (no bootloop, long press power key shows power menu):

- unknown reason, power on the device not in recovery just normally, connect to PC and through ADB do in order:

adb devices (here you see a code and "device")

adb shell

su

am startservice -n com.android.systemui/.SystemUIService

USB debugging must be enabled for the BSOD solution
[Galaxy S 4 i9505 Original Android Development] Arturxxx:
When watching media my battery drains really fast, any suggestions on how I could decrease the drain?
[Galaxy S 4 i9505 Original Android Development] nlansing:
This is not specific to this ROM is it? I have a nexus 7 with CM12.1 and I had this problem a few days ago... ended up having to wipe everything to fix. Good to know there is a fix if it happens again.
[Galaxy S 4 i9505 Original Android Development] stackz07:
How do i dirty flash? do i need to wipe anything before or after flashing the zip?
[Galaxy S 4 i9505 Original Android Development] Technical:
Dirty flash: nothing is wiped. Flash process will, generally, autowipe cache and dalvik.

Clean flash: you wipe before flashing.
[Galaxy S 4 i9505 Original Android Development] AntaresOne:
No mate, it is not specific. You can do this on any device running CM12.1, Thank you for letting us know that it happens on other devices too
[Galaxy S 4 i9505 Original Android Development] NomOur:
Wakelocks - Battery drain

So, since i've updated to June 16 with a clean flash i sometimes get a bit of heavier battery usage now and then. Not all the time. It's currently starting to be heavy again and i checked the wakelocks, this isn't normal right? What could be causing this?