yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Original Android Development] Nabeel_Nabs:
So, I'm considering flashing this on my S4 which has been on stock since I bought it, but the Lollipop update is getting annoying with its random video bugs,memory leaks etc.

However, I'd like it to remain fluid and have at the very least the same battery life. Is this the case with this rom, I've read that a more stable release will be coming in the following week or two. I haven't really flashed anything for the past couple of years and have barely visited xda, so forgive me if this is answered somewhere else.
[Galaxy S 4 i9505 Original Android Development] PePeMoke:
This ROM ist just great in my opinion!

Can't complain about battery life but there are settings that can be made to save battery too.

It runs fluidly and has some minor bugs which might be fixed soon.

I would wait until the next build comes out and then make a clean install.
[Galaxy S 4 i9505 Original Android Development] FernBch:
Battery life for me is very good. Normal usage for me (several calls/messages per day, emails, and some web/forum surfing) will easily net me 3-4 hours SOT with 30-40% battery left after 14-16 hours between charges. On light usage days (no game playing and minimal web surfing) my best is 33 hrs before charging (still had above 20% battery).

There are some minor bugs in the August 17 build but many of them should be squashed with the next public release. Make sure to read the OP to be sure you have everything needed to flash. For a Gapps package I suggest using the micro.
[Galaxy S 4 i9505 Original Android Development] FPSUsername:
Mic quality is good in the dev build, I tested it and it works fine, no background noise and it gets up to 100dB, which is nice.
[Galaxy S 4 i9505 Original Android Development] mafsi:
I used to run this Rom and I have to say that the team did an excellent job. I had no errors at all. However, I gave up because of the lag in incoming call. Is just to annoying for me. So now I'm waiting a new release to see if the problem is solved to move again on this rom.
[Galaxy S 4 i9505 Original Android Development] galaxy mini:
[MENTION=5464206]AntaresOne[/MENTION]

Will the be any future updates or did you stopped working??
[Galaxy S 4 i9505 Original Android Development] Razoth:
any news on the audio playback bug?
[Galaxy S 4 i9505 Original Android Development] FPSUsername:
Do you mean the stuttering?
[Galaxy S 4 i9505 Original Android Development] Razoth:
sounds like audio artifacts from buffer underflow, but isn't actually happening, something with how the kernel handles sound flow would be my "IT but no idea about android kernels" guess... hard to explain xD also when sending whatsapp messages it happens.... gets better when using awesome player instead of newplayer, but not completely gone.
[Galaxy S 4 i9505 Original Android Development] FPSUsername:
Well, I never had those problems, only when I use V4A (ultra quality driver + high quality irs), but those are static noises, the phone is not fast enough to handle it (happens with screen off and when multitasking), this can be helped by forcing 3 cores to be online, but it eats battery.

I can't say anything about the whatsapp bug that causes music to stop for a second as I dual booted the dev build so it is clean. Have you already tried clean install? Also try cleaning the headphone jack, just in case.
[Galaxy S 4 i9505 Original Android Development] Razoth:
i just clean install, is there a cleaner way then wiping everything and starting from scratch? this whatsapp thing doesnt happen on stock rom, no dust in the headphone jack^^ i nearly tried everything i could think of, no way to make it better by tweaking poweramp or v4a settings... maybe its really the powersaving thats too "hardly" tuned, so it mismanages audio output on sync for example.

hardly happens when the screen is on, screen locking makes it happen often....
[Galaxy S 4 i9505 Original Android Development] FPSUsername:
In twrp wipe system, data, cache and dalvik cache, then install rom + gapps and supersu (and all other mods you use)

When screen is off, the cpu upscale the frequency less fast and pulls less requests from it to check if it needs to increase or decrease speed. You can change governors and hotplug and see what's best for you.
[Galaxy S 4 i9505 Original Android Development] stevvie:
Not sure if this helps anybody but NEVER had any black screen/lag on incoming calls usind a sview cover. I just open it and pickup.
[Galaxy S 4 i9505 Original Android Development] rothmark:
Some pulls / refresh from external git repositories and Hardware infos added to About section in Settings! Wooohoo!!!
[Galaxy S 4 i9505 Original Android Development] AntaresOne:
Yes, has been fixed since some internal builds. :)

Still working, just doing what I always wanted to do but didn't have anymore a good local system to. :cowboy:

I must say that I like V4A but it's basically a system modification... No audio issues coming from devices with V4A on board will be trusted. Don't mean to be rude, sorry, but it's to keep issue reports pure :)

Yeah, there are many upcoming things for the public release... Changelog will be kinda kilometric haha

Pictures attached for a new feature inside DeviceInfoNext... (big white borders below frequencies have already been fixed, screenshots are took before fixing them) source: 1 - 2
[Galaxy S 4 i9505 Original Android Development] biazoto:
I had the same audio issues using extreme battery profile, alucard governor, alucard hotplug and I/O ZEN 2048 for both storage.. Changing CPU gorvernor to intelliactive and hotplug to intelliplug or mpdecison, drastically reduced the occurrence. With default profile, it occur sporadically, like 1 or 2 times more or less after about 5 or 6 songs.

all ROMs CM based I've ever used, the one that showed no problems in the audio (hicups and "zzzzz") was the Resurrection Remixand decided to install again to take a look at the default kernel settings. By default, it uses:

CPU governor: interactive

I/O: BFQ internal, NOOP external, 512k to both (if I remember well)

Hotplug: MPDecision

The only problem with it, is the battery life (that in stand by is great, but not much in use) and SELInux is enforcing, which impairs the use of V4A, since it requires SELinux permissive and even changing, after rebooting it comes back to enforcing.

Before it concludes that the cause of our problems with audio are the kernel settings. But do not care if we have to "pay" this price to continue using this ROM, which is the best one cm base I've ever used so far

Enviado de meu GT-I9505 usando Tapatalk
[Galaxy S 4 i9505 Original Android Development] AntaresOne:
Interactive+BFQ+MPDecision is basically speed+very high battery drain when you use your phone. We could really boost up the speed forgetting battery life, but at that point makes no sense to have a mobile phone which needs to be charged two times at day... Then our good compromise is "best performance with long lasting battery" :)
[Galaxy S 4 i9505 Original Android Development] biazoto:
Yes, I noticed it.. to be honest, not much understand about governors and their combinations, but got a very good combination of performance and battery life using alucard, alucard or intelliplug and SIO. about 5 SOT and an average of 20 hours in a complete charging cycle

Enviado de meu GT-I9505 usando Tapatalk
[Galaxy S 4 i9505 Original Android Development] FPSUsername:
What about CPUQuiet hotplug? I heard that it has good performance and battery life + less heat
[Galaxy S 4 i9505 Original Android Development] Razoth:
mhhh, i kinda think there aren't enough hotplugs in alucard and this rom by default, is there a simple method to add tons of hotplugs? :D

btw thanks for being a communicative dev, appreciate it.
[Galaxy S 4 i9505 Original Android Development] subwars:
Something i just wanted to mention, I ended up installing an official nightly on the weekend, and my battery life is sooooo much better now.

Now I don't know if that's something they've improved recently, and that we'll get it in the next build to? I'm guessing these builds are just modified official builds? So if something changes in the official to improved battery, we'll get that too? I don't know.

But yea something about the official that i downloaded on the weekend, compared to, well all versions of this 12.1 build since it's release is alot better on battery life.
[Galaxy S 4 i9505 Original Android Development] Lennyz1988:
What do you do with your phone that you get 5 SOT? I get 2/2,5 maximum usually even less. My battery is fine btw.
[Galaxy S 4 i9505 Original Android Development] biazoto:
Hahaha.. Some facebook, whatsapp and tapatalk.. And play sudoku... But, I change GPU governor, clock and voltage.. Simple, 320mzh and UV -25

Enviado de meu GT-I9505 usando Tapatalk
[Galaxy S 4 i9505 Original Android Development] AntaresOne:
I get the same SOT with battery cycle 100~0% and an average of 20~24 hours for single charge. STweaks all stock except freqs (cores) 1 - 1674MHz / 2-3-4 - 1458MHz, fast charge enabled, read-ahead for extSD at 1024KB and notification LED brightness 150, a bit of data connection during the morning with tapatalk and AOSP email client without whatsapp or similar (I have Facebook app frozen with TB, unlocked only when I want to use it), rest of the day with WiFi once at home

I hate IM clients and any kind of texting, who knows me knows I want calls [emoji23]

I don't know, [MENTION=4899086]alucard_24[/MENTION] is costantly focused on the Alucard Hotplug which is extremely optimized for our platform.. I don't feel any heat with it (except while playing heavy games or youtubing (up to FHD) for half an hour and more. If you will ever feel your device hot and you're not doing heavy tasks check the wakelock, assuming that the phone is not under direct sunlight or close to a heat source

Usually stock kernels have 1 or 2 hotplug methods only (msm mpdecision / msm hotplug), there are 4 in our kernel with Intelliplug which is working good and Alucard one is even better (read the answer above) Why would you need many governors? (and not optimized!)

Doing that might also add more bugs and instability, there's no best software ever and less bugs = always better. But I don't see the point of adding more hotplugs my friend, while we already have the best one for our S4

Beware that "just modified official builds" may sound bad... :)

This is not "just modified" (e.g. you could call the zip modding this way), refer to the OP for further informations about differences up to 17/08 build. Base code in this ROM is not publicly updated through a new OTA since 17 August but we're close to release a new build. No ETA

Data connection enabled?

Inviato dal mio GT-I9505
[Galaxy S 4 i9505 Original Android Development] FPSUsername:
I use alucard hotplug as it has good battery life, yet sometimes intelliplug works better (less static noises in music using V4A). But what I found out is that you need a perfect balance in all settings to get it working right.

I know that my phone had freezes and bsod when I used alucards undervolted settings and my own modified settings, now I have a profile that is even more undervolted and it runs smooth fast, great battery life and almost no static noises.
[Galaxy S 4 i9505 Original Android Development] Lennyz1988:
Yes, LTE or wifi. It depends where I am.
[Galaxy S 4 i9505 Original Android Development] Razoth:
Sorry, but if that audio static bug is happening something is wrong there, as FPSUsername said Intelliplug gives less noise artifacts, so alucard governor seems to be party responsible because its a bit too "aggressive" on the battery saving, ignoring the demands of the audio engine. even without V4A i experienced that... so my thought process is, either tune alucard governor less aggressive, and if that's out of your or my control, add other governors that are not as aggressive. there are so many different ones out there, and even tuning core 1 and 2 to a different one is a huge difference.

i wouldn't go as far as calling it imperfect, i mean everything else except audio is working fine for me, but i am basically listening to music all the time and its a huge deal for me if its keeps skipping and the only "thing" i can do about it makes the battery life abysmal.

i hope you take no offense cause it's not meant offensive in any way...

regards.
[Galaxy S 4 i9505 Original Android Development] droidblitz:
Hoping the best for the up coming build.

Buzzing/static sound when playing music to be fix

And

Less heat when playing clash of clans XD which is not to demanding game.

SGS4 LolliROMv.6+Imperium Kernel v2.8
[Galaxy S 4 i9505 Original Android Development] FPSUsername:
Yeah, well.

I want battery and get ~4h screen on time (just in case I really need it), but I also want high quality music (V4A makes it possible) without any static noises. Till now, I have it figured out, but not perfect. It eats battery.

This View attachment 3505388 is my profile and don't know how to fine tweak it for battery life any further. If I change governor cpu0,1 to alucard, I get better battery, but way more static noises. This profile is extremely undervolted and works fine on my phone (which is one of the wost types, 925mV default at 378MHz).
[Galaxy S 4 i9505 Original Android Development] Razoth:
i think for further battery tweaking you would need a edited alucard governor or more governors, not sure which one tho :D

had that profile active on my old install, works well, but not perfect. i would still get audio artifacts from time to time, and battery life was not really perfect neither. but better then the default profile overall.
[Galaxy S 4 i9505 Original Android Development] Elancastro:
Already there will be no updates? =(
[Galaxy S 4 i9505 Original Android Development] Spud37:
I thought there was at least one more update coming before working on the next version for marshmellow for the S4
[Galaxy S 4 i9505 Original Android Development] biazoto:
I use greenify for apps that do not use or use infrequently. I had forgotten to mention that I leave data on (3g/4g auto) for about 12hr and WiFi all the time at home.

Enviado de meu GT-I9505 usando Tapatalk
[Galaxy S 4 i9505 Original Android Development] FernBch:
There is but it is not ready for release yet. No ETA.
[Galaxy S 4 i9505 Original Android Development] PePeMoke:
How can I apply your sent battery profile and test it?

I've extracted it but I am not quite sure where to put it.

And..how does anyone got a flashable file or V4A?
[Galaxy S 4 i9505 Original Android Development] audianer:
Hey, when i try to clean my RAM with ST Tweaks, the App freezes.

Log:
[Galaxy S 4 i9505 Original Android Development] FPSUsername:
Extract the zip to the internal storage, open stweaks, use battery profile and restore settings.

For v4a:

http://xdaforums.com/htc-one-m8/themes-apps/app-viper4android-material-themed-2-3-3-t3021407

First install apk file as user app, then flash the zip file in recovery. All IRS should work fine then.
[Galaxy S 4 i9505 Original Android Development] PePeMoke:
Thanks for the advice.

I did what you've said about the battery profile BUT

I checked before and it said that it used the "battery.profile" before I did anything in STweaks.

I did like you said and restored afterwards but how can I check whether it really uses your profile and not the default one?

For the V4A I will take some time to set it up because I have to get a clue what it is really about and how it works.
[Galaxy S 4 i9505 Original Android Development] FPSUsername:
At cpu-voltage tap, check if it is on and see if the value at 384.000mhz is 750000μV, the rest should be good then
[Galaxy S 4 i9505 Original Android Development] chinchulin01:
I know what you mean. I converted the filesystem to f2fs too...

I wiped everything. Completely clean installation. I didn't want to run any risk.
[Galaxy S 4 i9505 Original Android Development] PePeMoke:
Did you mean kHz? And no..the value is different :(

See Screenshot.
[Galaxy S 4 i9505 Original Android Development] FPSUsername:
Uhh yes :D

The file name should be "battery.profile_backup" and be located in /storage/sdcard0" (or one of the same mounting paths. Then restore it with stweaks, (make sure you are on battery profile first)

---------- Post added at 11:35 PM ---------- Previous post was at 11:27 PM ----------

Sorry to brake the news mate, but stuttering is still here in the latest closed-dev build.

Yes I use a custom stweaks profile and v4a which increases the effect of stuttering/static noises, but I hear it more often now, especially when I unlock the device or even doing simple tasks (like whatsapp or scrolling through the app drawer).

I'll test it with the default profile and see if it works good.

This is a kernel issue, not on rom, because I used alucard's kernel since 4.4.4 with carbon rom. I know it is not nice, but this kernel somehow is sometimes better than default kernels.

I have to say, I miss the s2.

Dorimanx kernel, fast and smooth

Apollo kernel, fast boot (people claimed cold boot in 8 seconds) and battery life
[Galaxy S 4 i9505 Original Android Development] PePeMoke:
I don't know exactly whether I put it right because it does not seem to work in STweaks.

I found another profile.backup which confused me even more.

Could you look at the screenshots and tell me which one is right please?
[Galaxy S 4 i9505 Original Android Development] Strephon Alkhalikoi:
I use Viper4Android at ultra-high, and in playing music through both a bluetooth headset and regular headphones, I haven't encountered any stutter or static. So, I do agree with you that the problem is kernel related, but it's not the kernel itself. It's your settings.

I'm looking at your backup, and it appears to me that you're undervolting too much. The alucard kernel, if I recall correctly, is already undervolted by 50,000, so long as you turn it on. On top of that, you've undervolted your GPU by the same amount, which I believe is too much. There are other differences, mainly in the size of my read ahead buffers and the IO Scheduler (3072KB, FIOPS).

Try my settings, and see if that improves things.
[Galaxy S 4 i9505 Original Android Development] Razoth:
will test this profile, and btw, the default settings with alucard kernel make the stutter happen too, IO and read ahead tweaks changed nothing for me. it really seems to me that this is a kernel issue/how it handles the audio stream internally... you can switch it around with governors and make it better but its still a bug. i will test cm12 with the slimsaber kernel tomorow maybe and report back... would be sad to switch....
[Galaxy S 4 i9505 Original Android Development] FPSUsername:
Weird that your internal sd has 2 same paths with different content.

Try with another file manager and put it in "/storage/emulated/legacy"

---------- Post added at 09:39 AM ---------- Previous post was at 09:34 AM ----------

Will test, I have to change all settings manually as there are new stweak settings.

I see that you use westwood, just want to say that it eats battery when you are on wifi hotspots with a lot of repeaters.
[Galaxy S 4 i9505 Original Android Development] Strephon Alkhalikoi:
I haven't noticed that, but I don't generally bother with WiFi hotspots.
[Galaxy S 4 i9505 Original Android Development] FPSUsername:
[MENTION=2807229]Strephon Alkhalikoi[/MENTION] I updated your profile to be compatible with the latest version for the next release (just change GPS zone to your location, I have set Europe).

Do not use it yet on release 18/7, use it when the next release is.

Whoops.

Please disable google play wakelock workaround, I activated it by accident, it will make play services crash now and then. Just disable it.

Download the fixed version if you are lazy :D
[Galaxy S 4 i9505 Original Android Development] johnny88:
Alucar, I have terrible battery drain because msm_hsic_host wakelocks. I googled it and there is some kernel patches around the web. Please take care of this because I am getting mad.

thx :)

Inviato dal mio GT-N8000 utilizzando Tapatalk
[Galaxy S 4 i9505 Original Android Development] PePeMoke:
Damn.. I am getting frustrated.

I put it there with another file manager but it won't work.

I cannot choose it in STweaks or did you mean that it will replace the original "battery.profile" ?

I just put it in the the path you gave me, made sure battery.profile was chosen before and then under "backup and restore" restored..

But I do not get the values you told me.

ps.: I tried different times with CPU main voltage switch on or off.
[Galaxy S 4 i9505 Original Android Development] FPSUsername:
Remove all profile_backup profiles from your sdcard.

Put "battery.profile_backup" on the internal SD's root (/storage/emulated/0, /storage/sdcard0 or /storage/emulated/legacy, once copied to one of them you should be able to see the file in the other directories, if not, via supersu, uninstall root and then flash supersu from recovery), in stweaks load battery profile under profile, (app restarts), then restore under backup and restore, (app restarts) then check.

It may take up to 60 seconds to switch/load/restore profiles.

If this doesn't work, rename it to "battery.profile" and put it in /data/.alucard (backup the current battery.profile before you replace it). Also delete /data/.alucard_old if you have that folder.

Load battery profile (app wil restart), restart phone and check.
[Galaxy S 4 i9505 Original Android Development] PePeMoke:
Ok.

The last thing worked for me. Renamed it as battery.profile then put it in /data/.alucard (made a backup of the old one) and deleted /data/.alucard_old.

Then I loaded battery profile, the app restarted and the values where as you said (screenshot) BUT when I rebooted the phone it jumped back to the old values for some reason (screenshot).

Any suggestions?

Can I leave the values like that (the higher ones) or will it cause damage?

EDIT: Ok...I tried to put the battery.profile_backup file in /storage/emulated/legacy again and restored it via STweaks, then rebooted.

The values stayed!! (378000khz 750000μV)

Thank you very much for your help!

One more thing...

The qickconfig for batterymodus in the statusbar...does it make sense to use it at all while using your battery profile?
[Galaxy S 4 i9505 Original Android Development] Jimbus369:
My Ir Blaster truly not working! If I use "Peel Smart Remote", my phone got a reboot after a button click, with "IR Remote", the phone does nothing. What can i do?

P.s. I did a Clean installation in F2fs

Sorry for my english I'm Italian!
[Galaxy S 4 i9505 Original Android Development] wpyh:
Hi AntaresOne / stokesd3 / all:

I've been using the Bluetooth vendor blob for more than a week now without any Bluetooth crash. AntaresOne, could you please test if the vendor blob works with your new code?

There's a bug I've experienced many times before but haven't reported: Sometimes there is no sound when calling (receiving a call or making a call). I cannot hear the other party and the other party cannot hear me. Has this been reported before? I couldn't find it in this thread.

There is a bug in the Mobile Data functionality. Sometimes the status bar would display the mobile data icon with an exclamation mark (!), which means that mobile data is disconnected. However, when I check in Settings -> About -> Status ... I can see that mobile data is connected. Using command line tools (like ping) to test the connection, I see that the connection is available. However, apps such as Chrome senses that the mobile data is disconnected and refuses to load any web pages, it only shows the dinosaur icon. It seems that there is an inconsistency between the actual mobile data connection (system level) and the mobile data connection status in Android.

There is also another bug whereby sometimes mobile data is disconnected. It would really be disconnected, no way to reconnect except rebooting the phone, or switching on Airplane Mode and off again.
[Galaxy S 4 i9505 Original Android Development] smstiv:
Enjoy AntaresOne

The great developer of this ROM birthday today. JDCTeam congratulates you. Happy Birthday AntaresOne.

https://plus.google.com/u/0/+SimeonSmstiv/posts/Y1HHJafTD6K