yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9506 Android Development] zsolti256:
Charge battery full before sleeping, put in airplane then in the moring check. cm12.1: from 100% it went down to 98-97% for about 6-10hours of me sleeping, and on cm13 it went down to 80-something percent!!

Or: cm12.1 drain over night: projected remaining life 4+days, and cm13 was projecting 1-2 days, cannot explain any better
[Galaxy S 4 i9506 Android Development] Sn0rre:
Current battery status after 11h 39min is 31%.

Screen time 1h 23min

?
[Galaxy S 4 i9506 Android Development] Sn0rre:
Now I am empty.

5% after 20h with a screentime of 1h 35min and didn´t do anything battery-eating tasks.
[Galaxy S 4 i9506 Android Development] zsolti256:
I have had simimlar experience with all of the cm13 build here, even on official cm13.

So im using arters temasek 12.1 that has less problems.
[Galaxy S 4 i9506 Android Development] Sn0rre:
Previously I used arters 12.1 and was quite happy with it.

I switched to official cm13 with nightly 22.01.2016 and this one also seems to have NO problem with battery drain.

The problem started with 26012016 I think. Maybe it was 25 ... I don´t remember exactly.

All the following nightlies have had this problem on my phone, and I assume that this will not change in the near future.

I think that no one really cares about this problem.

To me it looks like not many users are on this rom. I think most of them are on "Temasek / arters" rom, and for me I decided also to switch again.

Today Temasek released 4.0.

As soon as there is a qualified feedback, I will switch to it.

Br,

Sn0rre
[Galaxy S 4 i9506 Android Development] TonskuDaigle:
How long was the battery life in 22nd January build?

I've used both roms about the same. Been switching between them the past couple of years since I got the phone. To me a 20h+ battery consumption is rare if I use the phone for more than an hour or two. If I go have a night out and keep socializing, taking pictures and sharing stuff on FB, Twitter or whatever - the battery lasts maybe 10 hours or less.

Yes, the battery consumes very fast when used, the graph is the same for me. It's been this way with every single build I've tried since the beginning. It could be my usage habits with a lot of apps, multiple screens with widgets and whatnot, but it's something I'm accustomed to.

However, talking from the sidelines as well, please refrain from judging other peoples' work. This isn't a shop or a business you can march into and ask for service. You get what you have for free. These guys ([MENTION=5291759]solk2[/MENTION], [MENTION=4898097]arter97[/MENTION] or any other developer) are not there to serve your specific needs. They will develop the ROM, but they can't be catering their knowledge on individual basis as it is too time consuming and they'd be answering messages all day if it was so.

With that in mind. You have clearly noticed that the "group of people" that use these roms is not too big which is due to the fact that the phone is quite rare and is not a so called "mainstream phone". Hence the knowledge from common people like us is quite low apart from some individuals like [MENTION=4293606]DualJoe[/MENTION], who is always ready to help out in more technical issues. But to say no one cares is an insult to anyone using or developing this ROM. Let me remind you that it's all voluntary and free. Read the "What you need to know" from the opening post. If you have a problem with the phone, provide information like logcats on the topic and hope someone picks it up and is able to help. And maybe something being a problem to you, isn't a problem to someone else or they're simple not bothered by it.

Remember, this is not a business where the customer is always right or can demand things or question someone's work. This is a community where each of us helps one another if they can.

Specifically, this is the development part of the very specific phone's development so please keep this in mind if you have issues with the ROMs of your choosing. If you wish to keep complaining, switch to stock ROM and head over to Samsung's customer service with your issues.
[Galaxy S 4 i9506 Android Development] TonskuDaigle:
Out of curiosity I just had the battery dying a while ago. Only 15% left. So I had a look at the consumption and yep, it's looking like it's been looking for the past months. Since CM13, it's been always the same for me. Rapid downfalls and nice idling.

So yea, 85% in 15 hours. Didn't check screen time, but it's probably somewhere between 2-3 hours.

http://i.imgur.com/uQ3FQre.png
[Galaxy S 4 i9506 Android Development] marchnz:
Interesting, thanks for sharing. Do you use better battery stats or wakelock detector type apps? With doze you should see an improvement when the phone is left stationary say on a desk. At a guess your results indicate no tangible difference in consumption beteen LL and Marshmellow due to the phone not going into doze often because the phone is not still? Also have you check out the inactive apps feature in Marshmellow?

My observations are similar to your experience, (between OEM, CM12.1 and CM13 2016 versions) with noticable a noticable improvement and lower consumption when the phone is in doze. My hypothesis is a correlation for most to when the phone is being charged overnight/owner sleeping, thus resulting in no improvement with doze.
[Galaxy S 4 i9506 Android Development] TonskuDaigle:
I don't normally use any boosting apps, but I've tried them occasionally. Especially if there's tremendous drain happening. Currently I've Advanced Task Killer installed as I was testing to see if configuring it to kill apps (excluding certain apps like Apex, AdAway, Firepaper and Pushpullet), I could save resources and hence save some battery as well. I know Android's supposed to be built so that this shouldn't even be necessary, but I wanted to give it a try as I noticed ROMs sometimes clog a bit and it makes the phone run slower until you just simply close all apps.

However Advanced Task Killer didn't do what I needed it to do so I uninstalled it. Will give the internal battery optimization a go and fiddle around with it today.
[Galaxy S 4 i9506 Android Development] zsolti256:
So this is arters temasek cm12.1, as you can see , nearly nothing drains the battery when idle, still made 3h screen on time, and battery is still 21%, factory on original battery. I will swich to cm13 when it can reproduce this.
[Galaxy S 4 i9506 Android Development] Sn0rre:
I don´t want to make a big deal of it. It was a careless slip-up.

And therefore I want to make a pardon to all developers and contributors, who have been feeling offended of my previouse post.

It wasn´t my intnetion to sound disrespectfull. Sorry. You all are working hard to make CM such a superb software.
[Galaxy S 4 i9506 Android Development] downhere:
Had a reboot while the phone was on the table, untouched.

Nightly of 2016-02-09.
[Galaxy S 4 i9506 Android Development] knojap:
Problem with usb & PC?

Since the last update i can't see all my folders in ext SDCard connected to pc only the half of my folders is visible?

If I'm in TWRP connected to pc i can see all folders on ext Sdcard?
[Galaxy S 4 i9506 Android Development] vagika:
Hi,

Does anyone have issues w/ gps fix after update?

For me after applying a new nightly, GPS doesn't fix, only after 10-15 minutes. If I flash modem again, it's ok.

I have seen some gps changes on git, but I think it's not related...

thanks!
[Galaxy S 4 i9506 Android Development] Paul1865:
No problems here. Location detection is as fast as always...
[Galaxy S 4 i9506 Android Development] zardak:
Guys, is it normal that the screen brightness stutter so much?

It's so ugly to see it when there is a brightness change
[Galaxy S 4 i9506 Android Development] hgmichna:
Auto-brightness, programmed by idiots

Auto-brightness in any device is usually programmed by an idiot, as you can see. I see the same everywhere, like in my Samsung monitor.

That's because the boss thinks it's a simple task, and then the idiot botches it easily.

I say this, because better algorithms are not that difficult to conceive. But an idiot just doesn't get it. They think we users consider it wonderful when our screens keep flickering.
[Galaxy S 4 i9506 Android Development] zardak:
Also my Dell monitor brightness goes up and down like ****!

On stock ROM, though, the brightness works just fine. Why one would touch its code?

Also I don't remember it to be this bad at all.
[Galaxy S 4 i9506 Android Development] d-s-x:
I have automatic brightness disabled because of that issue.
[Galaxy S 4 i9506 Android Development] Kombuk:
Hey guys sorry for this but can someone tell me how to install rom. I never installed rom on samsung device. How to unlock bootloader, flash recovery? Thanks

Phone is GT-9500
[Galaxy S 4 i9506 Android Development] Cheesehead705:
First, you're on the wrong forum. This is for the GT-i9506, so ROMs you find here won't work on your phone. You can find the correct place for your phone here or here. You can find tutorials of how to use Odin (the software used to unlock bootloader and root, or flash rom and kernel) if you just use google, or check the correct xda forum for your phone for user made tutorials.
[Galaxy S 4 i9506 Android Development] kostaldavid8:
I'm coming from arter97's ROM and I have a bootloop with this official CM. What should I do before flashing this ROM? Thanks
[Galaxy S 4 i9506 Android Development] jeepcook:
don't forget to do a wipe system before installing new rom

Envoyé depuis Tapatalk
[Galaxy S 4 i9506 Android Development] d-s-x:
When I dirtyflashed cm13 over 12.1, phone gone into bootloop util I wiped system+data (factory reset). I tried everything google suggested me but only factory reset solved the issue.
[Galaxy S 4 i9506 Android Development] jeepcook:
Which recovery and version do you use? Did you wipe system and install rom+gapps?

Envoyé depuis Tapatalk
[Galaxy S 4 i9506 Android Development] d-s-x:
TWRP 2.8.7.0

When dirtyflashed - no, just dalvik and cache

when it bootlooped - yes, see above - system and data

Yes, ROM + open gapps arm
[Galaxy S 4 i9506 Android Development] kostaldavid8:
I'm still unable to boot this. I know I have to flash correct baseband, for Lollipop. I tried official ROM: http://www.sammobile.com/firmwares/download/61126/I9506XXUDOK1_I9506OXXDOK1_ETL/ and DOJ2 from here: http://xdaforums.com/galaxy-s4/i9506-develop/i9506-twrp-modem-collection-t3065064, because I had DOJ2 from stock. What baseband did you use?

Sorry for spamming, but I'm out of ideas. Thanks.

P.S.: BTW I'm using Heimdall instead of ODIN, but never had problem (heimdall flash --MODEM modem.bin --APNHLOS NON-HLOS.bin)

According to Samsung naming, DOJ2 should be latest release of baseband
[Galaxy S 4 i9506 Android Development] hgmichna:
Heimdall or Odin?

I am surprised that you found a version of Heimdall that works with this phone. Last I tried there was none, and I had to use Odin. That worked very well, however, after I understood Odin's strange ways.

Where did you get Heimdall from?
[Galaxy S 4 i9506 Android Development] kostaldavid8:
I'm using fork, with fixed support for this bootloader. I'll try to find where I got it

This is it I think: https://github.com/SaburoJiro/Heimdall/tree/v1.4.1_ForSCL22. Had to compile it.
[Galaxy S 4 i9506 Android Development] kostaldavid8:
Damn. When flashing with Heimdall, baseband version won't change according to phone settings. Will have to use Odin probably. DOJ2 is not working for me. Which baseband version is working?
[Galaxy S 4 i9506 Android Development] zardak:
As soon as you have a stock ROM working, just flash twrp 2.8.7.0 with heimdall/odin and forget about them, only use twrp to flash CM13 and gapps.

Also, if baseband does not change remove battery for a while and boot directly into download mode (using key combo), then you can flash again a stock ROM.
[Galaxy S 4 i9506 Android Development] kostaldavid8:
Fully stock now, I'll wait until it boots, then boot into download mode, install TWRP 2.8.7.0, factory reset and flash CM and then OpenGapps Mini
[Galaxy S 4 i9506 Android Development] d-s-x:
DOJ2, flashed with odin

CM12.1 and CM13 working just fine
[Galaxy S 4 i9506 Android Development] kostaldavid8:
I don't get it. It just isn't working. I'll try Odin, but I don't think that Heimdall is the problem
[Galaxy S 4 i9506 Android Development] Stokel:
I just flashed TWRP 3.0.0-0 with heimdall and installed CM13 nightly through it.

Rom seems to work but after encrypting the phone, TWRP cannot decrypt the /data partition even though I'm sure, it is the correct password.

CM can decrypt and start fine with the correct password.

This makes creating backups quite impossible...

Any Ideas?

My Phone also says

RECOVERY IS NOT SEANDROID ENFORCING

Set Warranty Bit: RECOVERY

Thought this was normal because of the flashed TWRP but could this be related?
[Galaxy S 4 i9506 Android Development] kostaldavid8:
Set Warranty Bit: Recovery means that bootloader detects recovery not signed by Samsung. Nothing to worry about
[Galaxy S 4 i9506 Android Development] Stokel:
Thanks. Yeah, thought this was the case.

This leaves the question, why TWRP can't decrypt my phone.

I also reflashed CM13 several times and tried freshly encrypting with pin, pattern, and password and no method is accepted by TWRP...
[Galaxy S 4 i9506 Android Development] jeepcook:
Don't install twrp 3.0 on i9506. Stay with 2.8.7.0, in fact 3.0 version is unable to do a real fresh install, wipe system is buggy.... But you do what you want ! ;)

Envoyé depuis Tapatalk
[Galaxy S 4 i9506 Android Development] Stokel:
TWRP 2.8.7.0 does not seem to work either. Tried it once, after 3.0.0 failed.
[Galaxy S 4 i9506 Android Development] mandroid717:
Has any body had success changing the blue icon at top right of display.

---------- Post added at 07:28 PM ---------- Previous post was at 07:24 PM ----------

I initially used 2.8.7.0 for months. Upgraded to 3.0 a few weeks ago. Runs great. I have the 9506. Maybe that's the difference.
[Galaxy S 4 i9506 Android Development] d-s-x:
If you are talking about owner photo then "take photo" works, but changing from gallery don't. Also it is possible to setup "ME" contact in contacts app.
[Galaxy S 4 i9506 Android Development] jeepcook:
3.0 is referenced in à lot of issues in cm jira. Each have been solved by reinstalling 2.8.7.0.....

Envoyé depuis Tapatalk
[Galaxy S 4 i9506 Android Development] Stokel:
So I installed TWRP 2.8.7.0 and CM13 afterwards. After freshly encrypting the phone, TWRP still can't decrypt my /data partition...
[Galaxy S 4 i9506 Android Development] Nico_60:
Use Google photos from play store
[Galaxy S 4 i9506 Android Development] mandroid717:
Work like a charm thank you sir.
[Galaxy S 4 i9506 Android Development] arrrow:
ROM seems to work fine, except for whenever I try to use any browser on data roaming it will always say the browser's variant of "error connection timed out", it does not matter where I am. Generally anything that is not a browser works fine on 3G lest a bit slow. Also it always has this exclamation mark near my data bar. I don't know if it's this ROM but when I was on stock ROM with custom kernel it worked fine, at least better than now. None of the CM updates has done anything to fix it for me (currently running 13.0-20160309-NIGHTLY-ks01lte), used this rom since around january.
[Galaxy S 4 i9506 Android Development] d-s-x:
Have you upgraded modem? I'm using DOJ2 and have no issues with cellular data
[Galaxy S 4 i9506 Android Development] arrrow:
I haven't done anything to modem, ever. This includes upgrading
[Galaxy S 4 i9506 Android Development] Nedar:
I come from a modified lollipop samsung rom and now it's another phone. Thank you very much Solk2!!

I have to say that have tried before the CM13 rom of Temasek and kyasu without good results (constant FC on google app). Yours works flawlessly. :)

Enviado desde mi GT-I9506 mediante Tapatalk

---------- Post added at 03:23 PM ---------- Previous post was at 03:18 PM ----------

Modem version OF2.

Enviado desde mi GT-I9506 mediante Tapatalk
[Galaxy S 4 i9506 Android Development] arrrow:
I upgraded modem from DOD2 to DOJ2, wasn't needed because it turns out that the automatic settings of my ISP access point(?) were wrong.
[Galaxy S 4 i9506 Android Development] marchnz:
Deleted.
[Galaxy S 4 i9506 Android Development] Espinosa_Rommel:
i can confirm that this nightly build is fully working on SHV-E330S model :D thanks dev for your great big support
[Galaxy S 4 i9506 Android Development] hpotter1234:
Bug Report

First of all, I wants to change my network mode to WCDMA Only for WCDMA Preferred...

There's several choice which I can use at preferred network

situaiton : When I change network type to 3G at setting it does not apply at all. So I tried to change preferred network mode at ##4636##....

But I only can use GSM only, LTE only, and LTE/GSM auto (PRL)...Default is LTE/GSM auto(PRL)

Whenever I change it to something else I come backs to LTE/GSM auto (PRL) and cellinfo always remains at CellinfoLte..It should change to CellinfoWCDMA when I change to WCDMA only but I never changes

P.S.1. I have tried everything I could do...I have done such as build.prop edit, change APN,,etc..BUT NOTHING HELPED...So I found out it was problem of CM13.

P.S.2 : At cm12.1, everything works fine
[Galaxy S 4 i9506 Android Development] zardak:
Did someone manage to make USB file transfer (MTP) working on windows 10? I just get a message saying "the last device malfunctioned" and I can't access my phone memory on this ROM.

From recovery it works though.
[Galaxy S 4 i9506 Android Development] hgmichna:
Windows driver problem

This can be a Windows driver problem. Try to change to a different driver.
[Galaxy S 4 i9506 Android Development] msin84:
After 3 days of daily use I can confirm that rom is very stable, almost bugless, fast and the battery performance is like my old stock 4.3 rom. Antutu reachs 55592 points, like the galaxy S5!

Thanks a lot solk2!
[Galaxy S 4 i9506 Android Development] Espinosa_Rommel:
yeah youre right. im also using this rom to my shv-e330s model and its fully working
[Galaxy S 4 i9506 Android Development] wanigarathna:
But it is burning...tooo much...
[Galaxy S 4 i9506 Android Development] Espinosa_Rommel:
its not for me. no overheating issue
[Galaxy S 4 i9506 Android Development] ninelore:
Sometimes....
[Galaxy S 4 i9506 Android Development] netwolfs:
Hi, I came across an interesting thing: during calls the proximity sensor turns off the screen but the hardware buttons are still active. The volume and power keys are active for a reason but I keep pressing Back and Menu buttons by mistake.

Is there an option in the settings for this? If not, I'd like to point out that an option to lock the capacitive buttons would be very useful (till then I can look for a third party apps for that)
[Galaxy S 4 i9506 Android Development] Paul1865:
MOD

What happend since last update???? Everyrhing starts with mod...
[Galaxy S 4 i9506 Android Development] knojap:
01.04.2016

Ain't funny :(
[Galaxy S 4 i9506 Android Development] Paul1865:
So this is a joke from the developers??? MOD
[Galaxy S 4 i9506 Android Development] Espinosa_Rommel:
remember that april 1 is april fools day
[Galaxy S 4 i9506 Android Development] ninelore:
Have a Bug on 0330 Build: Camera FC at Panorama Picture in horizontal mode
[Galaxy S 4 i9506 Android Development] Paul1865:
When I have a message on my lockscreen, I have tot doubletap it tot open it. But when I have to unlock it first with a code, I can enter the code, but the OK button (checkmark) does not respond...
[Galaxy S 4 i9506 Android Development] msin84:
I have a problem with the recorded videos: the mic sensitivity is too high, the audio goes distorted too easily. Is there a way to change the sensitivity value? I know is possible to do it with the stock ROM by entering into the engineering menu. Thank for any help.
[Galaxy S 4 i9506 Android Development] DonAndress:
CM (any) has issues with recording sound. No fix till this day.

TapaTalked from i9506
[Galaxy S 4 i9506 Android Development] DualJoe:
Go to /system/etc/mixer_paths.xml and change "rec-stereo-mic" from "17"/"100" to something like 17/84 or even more 12/84 (all four values).
[Galaxy S 4 i9506 Android Development] ninelore:
Camera FC if you try front cam HDR

Then you need to delete app Data to bring it to work again
[Galaxy S 4 i9506 Android Development] msin84:
That's what I was looking for! I will try it!Thanks a lot!
[Galaxy S 4 i9506 Android Development] DonAndress:
This only lowers sensitivity making sound level decreased, it doesn't fix the noise issue.

TapaTalked from i9506
[Galaxy S 4 i9506 Android Development] msin84:
Do you mean the sound will be anyway distorted?
[Galaxy S 4 i9506 Android Development] DonAndress:
Yes. I've been waiting for quite some time now for a fix...

TapaTalked from i9506
[Galaxy S 4 i9506 Android Development] DualJoe:
Depends on the app. Some apps like Cinema-FV5 allow to switch to different internal source channel (built-in mic -> external mic) that run properly (in stereo). This input channel is affected by the values i mentioned above. I guess the standard audio path is corrupted due to faulty AGC or noise cancellation. No one knows for sure.
[Galaxy S 4 i9506 Android Development] DonAndress:
I don't agree. Cinema FV5 indeed allows to switch mics but that doesn't help. I tested all configurations, believe me. The best I could achieve was acceptable level of distortion but with significantly lower sound volume.

And it's not necessarily true that no one knows what to do. Temasek or Arter97 stated he knows what the cause was but there is no fix as of yet.

TapaTalked from i9506
[Galaxy S 4 i9506 Android Development] DualJoe:
For me it works properly. As this is the 'external mic' raw input channel it doesn't have any post-processing or volume control (like auto gain control) that consumers usually expect from mobiles. It does distort if environment is too loud. That's how things work. Its the same as recording with any "normal" device like PC soundcard or native ADC (audio digital converter). What you probably want is the AGC input channel. That, unfortunately, is not working indeed.
[Galaxy S 4 i9506 Android Development] DonAndress:
I am on modified "stock" Touchwiz 5.0.1 at the moment and I can assure you that recording sound on CM is nothing comparing to TW. In fact this is the only reason I resigned from CM, to be honest, as I rely on recording heavily.

On CM you have:

- acceptable quality with quiet ambient but low volume

- good volume with quiet ambient but lots of hissing

- acceptable distortion with loud ambient but very low volume

- good volume with loud ambient but terrible distortion

Tested on both mics, multiple movie recording apps, lots of tweaking of mixer_paths file. BTW I got best results with Open Camera.

But to believe me you should test recording yourself, two recordings on each, CM and TW, quiet ambient and loud ambient. You would see the difference...

TapaTalked from i9506
[Galaxy S 4 i9506 Android Development] DualJoe:
Removed
[Galaxy S 4 i9506 Android Development] Diapolo:
bootloop after 2016-04-30 nightly

My phone is encrypted and worked fine until build 2016-04-30, installing newer nightlies via TWRP leads to a bootloop just before I can enter the decryption pin.

The crash happens when "CM-Settingsstorage is prepared" is displayed (I have a non english version so the string could be different a little).

Reflashing 2016-04-30 nightly makes the phone usable again.

Any ideas for me?
[Galaxy S 4 i9506 Android Development] d-s-x:
I haven't my phone encrypted but I had similar issue a couple months ago. Wiping /data were the only solution in my case. You can try to backup everything while on 2016-04-30 nightly (e.g. with titanium backup) then wipe data, flash newer build, install titanium backup and restore everything. (Also you can make copy of /data with TWRP just in case I was wrong about wiping /data :p )
[Galaxy S 4 i9506 Android Development] Paul1865:
Anyone problems with battery drain since a few days? I have. Biggest consumer (155mAh during 3 hours) is Gmail that keeps synching, followed by Google services (80mAh during 3 hours)...

Normally I had 19 hours of battery, now 6 hours at most after loading to 100%.