yashsingh1/xdaforums huggingface dataset:
[Sony Xperia T, TL, TX, V] dragonator4:
Battery, music, V4A, and MSM_MPDecision, a concise NeoWave review

First of all, this ROM is really worth unlocking the bootloader. It is the most perfect ROM around. It is like my dream ROM, beautiful and powerful. Only if Sony stock ROMs felt like this... It really feels like my phone got a shot of the mythical elixir...

After some extensive testing (on dalvik, have not touched ART yet), here's what I have to report about version 1.2.0:

Battery is amazing on version 1.2.0. I only lost about 45% battery in 8 hours.

Performance is amazing. My friend, who always finds some reason to playfully pass derogatory comments about my phone was left speechless. There is no better feeling than when your technology rival is lost for words.

UI is so smooth, that I don't know how I lived with a slower phone all these years. I mean, now whenever I pick up someone else's phone (and I have a few of those friends who like their phones cluttered and struggling under the strain of it), I feel this impatience when apps take too long to start.

The new thermal and core decision algorithm are excellent. They do not sacrifice performance to conserve battery.

V4A can really put a punch in your audio (especially the way it can boost bass is mind blowing), but...

Most importantly, [MENTION=5122093]WhiteNeo[/MENTION], this is the best compliment I can give: I'm not upgrading my phone unless you guarantee that you will develop a NeoWave ROM for the upgrade :p! In other words, you tell me for which upcoming phone you plan to develop a NeoWave, and I'll upgrade to that phone (if I have the money :D).

But here is the underbelly:

With the new MSM_MPDecision, music up to 128 kbps is fine. V4A can process that using the Super driver. But anything including and beyond 128 kbps gives problems when the screen is off. When I try to play full range rock music at 192 kbps using Super driver, the core utilization frequently jumps to 1620 MHz on at least one core, with the second core jumping in from time to time. Since the second core is offline when the screen is off, it creates playback issues. So if you stick to below 128 kbps, Super V4A driver will work flawlessly. (I also recommend that you close all recent unused applications for maximum RAM.) My governor is set to ondemand, and I/O is deadline.

Also, V4A Super (with Force V4A enabled) is a battery hog. Just 30 minutes of use dropped my battery from 50% to 20%, which is crazy.

So either use a lower V4A driver setting (for both performance and battery life), or switch to something else. V4A drains like a percent per two minutes.

Ps. I'll update after testing flac. I am currently 'downloading' flac audio from another computer on my university WLAN.
[Sony Xperia T, TL, TX, V] WhiteNeo:
I have the feeling that this will be a looong comment. :laugh:

I know the thread you're talking about. I fixed the microphone issues in XT version that way. This method may well work for our XV. :good:

I have no whistle on my phone.. Could you point me to an app where I can test this myself? :)

What you're looking for is the "renice" comand... Try to type something like "renice -19 com.android.providers.media" in Terminal.. This will give the Mediaserver a higher priority.

But I think the audio glitches are caused by one cpu core being too much used while the other one is forced offline, if you know what I mean.

I really suggest trying the Terminal command that I mentioned above.. Especially the line with "scroff"

This might completely fix our audio issues. :good:

Wow, thanks for that much appreciation of my work! :)

Can you imagine how great it feels to read feedback like this about a project that you have been working on for hundreds of hours? :o

Really, thanks very much! :victory:

I'll do my very best to keep my users happy and make NeoWave even better! :)

Use the interactive governor to fix the music issue for now. If you want, you may also try the lines in Terminal I was previously talking about.

However, you may skip the line beginning with "echo 2" so you keep at least some of the hotplug features for some battery improvements. :)
[Sony Xperia T, TL, TX, V] WhiteNeo:
Flash in recovery. ;)
[Sony Xperia T, TL, TX, V] dragonator4:
Flac playback update

Of course I can imagine how great that feels like! It probably feels as good as the first time you managed to compile with O3 flags and tested it on your phone! Or maybe it feels like getting a birthday surprise from your old dear friend, with your favourite cake and icecream! :D

I'll try the interactive governor. But with ondemand, flac behaves hilariously. The song either plays perfectly, or has slight distortions, especially when different instruments come together in a crescendo. Or, in the worst case the song slows down, and plays with very few hiccups. The interval between beats increases slightly, but noticeably, which makes the song sound funny. :D If I reboot, then the song plays normal for some time, before the distortions creep in again.
[Sony Xperia T, TL, TX, V] peter-k:
I flash under ART runtime since the Beta releases. What's the problem for you?
[Sony Xperia T, TL, TX, V] finac94:
Does that sound bug you're talking about also occur if you disable V4A? And are you all using the same music player?
[Sony Xperia T, TL, TX, V] Knutselmaaster:
Don't know about that, but it gets worse with every extra filter/enhancement.

I use Walkman.

The interactive governor uses more battery when browsing than the ondemand.

I'm going to try the terminal commands now.
[Sony Xperia T, TL, TX, V] finac94:
Maybe that Viper4Android is causing those problems :confused:
[Sony Xperia T, TL, TX, V] Knutselmaaster:
I don't think so. It is just that there is not enough processing power available for the audio.

I've tried the command

echo "0" > /sys/kernel/msm_mpdecision/conf/scroff_single_core

And have found no difference at all (using ondemand)

Can I simply put it back on by setting it to true (1) like this:

echo "1" > /sys/kernel/msm_mpdecision/conf/scroff_single_core

??

I will try the second line now.

Edit, tried it with both lines in terminal (ondemand) it is slightly better but still a lot worse than it was on interactive governor with core offline activated.

I will try raising priority for the media process now.

Edit2

I get this answer, please help:

u0_a51@tsubasa:/ $ su

root@tsubasa:/ # renice -19 com.android.providers.media

renice: invalid option -- 1

USAGE: renice [[-r] [-t TYPE] priority pids ...] [-g pid]

1|root@tsubasa:/ #
[Sony Xperia T, TL, TX, V] Aria.A97:
[MENTION=5122093]WhiteNeo[/MENTION] can you include latest TWRP 2.8.0.1 on this ROM? Carbon ROM has this feature :)
[Sony Xperia T, TL, TX, V] neofral:
after the long optimization even with only a dozen apps, the phone was very choppy until couple of reboots. and finally after losing almost 30% battery in restarting, everything worked fine. that's why i couldn't comment on battery life yesterday

---------- Post added at 11:07 AM ---------- Previous post was at 11:05 AM ----------

no app, just phone call on speakerphone mode
[Sony Xperia T, TL, TX, V] WhiteNeo:
Try this

renice 19 com.android.providers.media

All of these improvements can be reverted by simply rebooting, so dont worry. But yes, you can also revert them the way you mentioned. :)
[Sony Xperia T, TL, TX, V] Knutselmaaster:
Rebooting..... Hahahahaha I rebooted right after entering the code in the terminal !

Please consider last remarks as non valid!

/Facepalm

I'll report back with real information, sorry
[Sony Xperia T, TL, TX, V] WhiteNeo:
Call me crazy, but I dont even have audio issues with ondemand governor. Oo
[Sony Xperia T, TL, TX, V] Knutselmaaster:
Can it be possible that it is the soundabout service I use for my incompatible headphones?

I retried the two lines to reactivate the core (without restart afterwards ^^) and the sound output is perfect. The ui is a lot smoother too imo.

Is there an easy way to switch those two settings on and off, or can I save the setting in the terminal ?

Edit, oooo nooo it is not over......

I put some high bitrate mp3 on and it is still there :(

I'm going to try other headphones that doesn't need soundabout service.

Edit 2

Normal headphones without soundabout gives the same buggy sound.
[Sony Xperia T, TL, TX, V] WhiteNeo:
You can use TricksterMod or System Tuner to modify all included kernel settings. The latter app also includes some descriptions about what each of the features do.

Are you using the rom on completely unmodified performance settings?

(Excluding SD read ahead and governors)

If yes, you might try my minfree settings. Perhaps that's the fix we are looking for.

See attached picture. :)
[Sony Xperia T, TL, TX, V] finac94:
Back button issue RESOLVED !

I'm glad to report that my back button issue is resolved after I did a clean installation of 1.2.0.

Everything is working smooth for now ^^

I'm sorry if I caused trouble...I probably did something wrong when installing version 1.1.0 so that's probably why I got the issue.

Thank you for this awesome ROM and I hope it will get even better in the future :D

BTW: Does the version 1.2.0 come with decreased voltage by default or do I have to set it manually?
[Sony Xperia T, TL, TX, V] MESA:
Hello. Using 1.2.0 from yesterday and its good. I have no sound issues and i think battery last little longer. But with 1.1.4 in facebook scrolling was smooth and now its not so smooth. Can it be from the new options or something like only 1 core working?
[Sony Xperia T, TL, TX, V] WhiteNeo:
Glad to hear. :good:

It's by default decreased by quite a lot, but you can further optimize it if you want. :)

Yes, that might be the reasons for such an issue.

You might try the Terminal commands I've talked about some pages ago.
[Sony Xperia T, TL, TX, V] neofral:
decreased voltages by default, check first post KERNEL FEATURES

and good to hear that you have resolved your issues. it's always good when everybody on the thread is on the same "page" and no strange things happen to different people. this brings us all to conclusion that we have an awesome developer working on our devices :D

in 1.2.0 we have only 1 core working only when screen is off and while the device is in use both cores working ok. how about trying different governor/scheduler and maybe try the 1.6Ghz frquency ;)
[Sony Xperia T, TL, TX, V] finac94:
How can I change the voltage if I need to? And what are the default voltages in this and the previous kernels?
[Sony Xperia T, TL, TX, V] WhiteNeo:
You can find and adjust the Voltage table in apps like Kernel Tweaker, TricksterMod Kernel Settings, System Tuner etc. :)

These are the default values for the voltage.

384000 > 950000
486000 > 975000
594000 > 1000000
702000 > 1025000
810000 > 1075000
918000 > 1100000
1026000 > 1125000
1134000 > 1175000
1242000 > 1200000
1350000 > 1225000
1458000 > 1237500
1512000 > 1250000
[Sony Xperia T, TL, TX, V] neofral:
So, finally i can comment about batery life: AWESOME

i have my Xperia V for almost 2 years and never reached this time of night with 47% battery.

Thank you again [MENTION=5122093]WhiteNeo[/MENTION]. Keep up the good work.
[Sony Xperia T, TL, TX, V] Knutselmaaster:
I tried the memory setting you posted, but I did not notice a difference, it might help a bit but it doesn't solve it.

Just to be sure that there is no other problem causing the sound problems, I've installed the basic kernel from the first post.

All problems have been solved.

Still I would love to help, so I'll reinstall the new kernel and try a few things.

Is the beta kernel you sent me by pm the same as the final version?

If so I will use that one.

The rom is really great already with the old kernel but the tweak possibilities of the new one are very attractive.

It might be an idea to make the new kernel with the old kernels settings available for download in the first post so that we can activate (or set) the tweaks one by one to see what is causing the problem and cherrypick the optimisations we want, taking in consideration the experiences that you had developing it and the feedback of different users and their scenarios ?
[Sony Xperia T, TL, TX, V] WhiteNeo:
Yes, reflash the beta version.

This problem is really confusing me...

It must be the MPDecision feature.

As you have the required Qualcomm binaries back, we might try something.

Flash the beta kernel and completely disable the custom MSM MPDecision with this command:

su
echo "0" > sys/kernel/msm_mpdecision/conf/enabled

Then check if music playback works.

I'm just a little curious why simply using interactive governor is not enough of a solution. :D

By the way, ob my phone audio playback even works properly when I set the max frequency to 394... Whole system gets choppy, but audio works perfectly.

Reeeally strange.. :/
[Sony Xperia T, TL, TX, V] Knutselmaaster:
Quick reply before I flash...

Interactive on the new kernel has some sound gitches still, namely the speed variations as someone described in this thread.

Also, battery usage while browsing is worse than ondemand on the old kernel.

So on the old kernel with ondemand I have smoother system, better battery and good sound, the new kernel with interactive is great in a lot of domains but not those important for my personal usage.

As I already mentioned I have had these sound glitch problems on all kitkat roms, yours was the first that didn't have it.

I've never had those on 4.1 and 4.3 based roms.
[Sony Xperia T, TL, TX, V] WhiteNeo:
Alright, I understand. :)

Make sure to report if you notice any improvements with Qualcomm's Mpdecision. :good:
[Sony Xperia T, TL, TX, V] Knutselmaaster:
It is a whole lot better now.

Not solved but much less long and hard glitches.

Overall ui experience is a bit less smooth though.

I'm going to try it in combination with your memory setting and see (hear) what happens.
[Sony Xperia T, TL, TX, V] Knutselmaaster:
Been listening an hour with that, and the second core activated and had no single glitch or bug.

Will try how it holds tomorrow.
[Sony Xperia T, TL, TX, V] WhiteNeo:
Great! How's battery life?
[Sony Xperia T, TL, TX, V] WhiteNeo:
Alright, I've created a flashable zip for everyone else experiencing audio issues.

Please try interactive governor first before flashing. If this one completely solves your issues, stick with that. :)

Check "Known Bugs" in OP for a link. :good:
[Sony Xperia T, TL, TX, V] peter-k:
I had 100 % the same experience after updating to 1.2. I even considered downgrading initially.
[Sony Xperia T, TL, TX, V] Knutselmaaster:
My first impressions on my setup (besides sound quality) are really good.

The rom is a tiny bit less smooth than with the basic kernel, so I set the animation speed settings in dev options a little faster and now it is not noticeable any more.

Battery life while browsing is better than the old kernel, and better than the new kernel with interactive governor.

The new kernel with default settings sometimes doesn't react right away (like when the keyboard needs to open) and with this setting it never "hesitates".

I did not change anything but the 3 things you proposed; the two settings to keep the second core online and the last one.

Is that all you changed in the alternative kernel in the first post?

Another question, the memory setting that you proposed are very different of the default values, much more "light" but I must admit that I don't understand what those values do exactly, could you please explain what is happening when those values are very low?

I'm going to test the rom all day and will report back this evening.

Thanks a lot for your patience and great support, I don't regret having donated, it was really worth it.
[Sony Xperia T, TL, TX, V] WhiteNeo:
Dont wipe dalvik cache after upgrades, I do it neither. Only a few apps change and those who indeed do are detected and optimized automatically by the system. :)

This will not cause issues, I'm upgrading my rom the same way.

The first post doesn't include a kernel - it includes a script that is executed during startup and launches a command to disable the in-kernel MPDecision.

I also included the proprietary Qualcomm mpdecision binary to replace the disabled one.

So no more hotplug with this one. :)

My memory settings will keep foreground apps and apps you might need again in ram. Like when switching from Browser to Notes app you don't want the Browser to get killed, right? :)

That's the low values.

The higher values make apps more likely to be killed. I hate unnecessary remains of closed apps still using ram, so I use a higher minfree value for those so-called empty apps. :good:

I've never had app redraws with this setup, and been using this one for months now. :)
[Sony Xperia T, TL, TX, V] MrAlez:
Hi [MENTION=5122093]WhiteNeo[/MENTION] , i been using your rom for 2 days now everything is ok, but i have some problems like Battery getting drained in just 9 hours with 2 hours of normal use ( whatssap, fb, web browsing) also recording audio is very low, and i had some audio problems in calls, i dont know what is wrong, also active display is not adjusted :(
[Sony Xperia T, TL, TX, V] finac94:
Post pics of your battery usage
[Sony Xperia T, TL, TX, V] WhiteNeo:
Regarding the fact that you are the only one with such issues, I suggest re-downloading the rom zip and flashing it with a clean install. :)

You may backup user apps with Titanium Backup first, so you don't lose all data and stuff.
[Sony Xperia T, TL, TX, V] MrAlez:
Ok. downloaded again, i will reflash and i will tell you, thanks.

Edit1: Reflashed rom, wiped everything, and installed normal apps, tell you later how it went.

About audio, i dont get those weird pitchs or distorcions, didnt isntalled viper4a, last time i did, but mic still low, anyway to increase it?
[Sony Xperia T, TL, TX, V] WhiteNeo:
[MENTION=535343]all[/MENTION]:

Patch 1.2.1 is out.. You'll receive an ota update soon. ;)

Fixed some bugs and updated hosts file.

If you can't wait your ota notification, check "Downloads" in OP for a link. :good:
[Sony Xperia T, TL, TX, V] WhiteNeo:
By the way... I was thinking about compiling a new kernel. With CM device files.

Might be possible to get rid of the bluetooth and offline charge bugs that way. :D

However, recovery would be CWM in that case. Unless I find out how to revert to TWRP.
[Sony Xperia T, TL, TX, V] Knutselmaaster:
So it replaces the three command lines in the terminal, and I won't need to enter the commands nor set up the kernel in system tuner, or does it do something different ?

Because just deactivation of the mpdecision didn't stop the second core from going offline when I tried it, at least when I looked in system tuner it was still showing offline second core.

I will update now, install the script, recharge fully and test.

This morning I had no problems at all, everything was running smooth and without any problems.

Battery life playing ingress is better than before thanks to the lowered voltages.

Browsing seems to be more economical on battery too, but I had a bad connection so cannot judge accurately.
[Sony Xperia T, TL, TX, V] MrAlez:
So why not changing NeoWave to CM sources instead of omni, acutally i dony know anything about development in xperia V(came from s3) and CM sources was more "stable" than OMNI, is there anyway to get a 3.10 kernel? Did you think of adding hover to your rom?, TRDS from slimroms, sorry for many questions, im just trying to get the max juice from this device, i hope battery goes well now
[Sony Xperia T, TL, TX, V] WhiteNeo:
Yeah. It is intended to replace the Terminal commands. I didn't include all three of them, only the last one (think it overwrites the others anyway)

Looking forward to your results. :)

Simple answer: Because I'd have to invest 100 hours of work again. :D

Compiling a CM kernel is a matter of 30min max, and if it solves our bluetooth issues this is definitely better. :)
[Sony Xperia T, TL, TX, V] finac94:
Isn't battery life worse on CM kernel?

And what's new in the new 1.2.1 update?
[Sony Xperia T, TL, TX, V] WhiteNeo:
Possible. We'll see.

If it's a very minor difference, it might be worth it. :)
[Sony Xperia T, TL, TX, V] finac94:
I hope it's minor :S

Wouldn't you be able to lower the voltage on CM kernel like you did on this one to give better battery life?
[Sony Xperia T, TL, TX, V] WhiteNeo:
Actually, this rom is already using cm kernel. :D

But some device specific files that are required to build it were used from omni.

That's where the bluetooth bug comes from.

I'm trying to replace those files with CM ones. :good:
[Sony Xperia T, TL, TX, V] neofral:
Eagerly waiting for the new build :D

I noticed that on 1.2.0 the transpatent nav and button bar are not working. Please bring it back :)

EDIT:i'm looking for the option right now and i don't seem to find it. Did 1.1.4 have transparent navigation buttons and notification bar?:o
[Sony Xperia T, TL, TX, V] Knutselmaaster:
The disable command does not stop the second core from going offline.

The sound bug is thus still present after the startup script.

So I use system tuner to disable the in-kernel options for the second core.

This makes my system a lot smoother and music playback flawless (music need some more testing)

I've included screenshots.

Can I unpack your zip and simply add the two other commands into the file with a code editor or isn't it that easy?
[Sony Xperia T, TL, TX, V] WhiteNeo:
It seems the CM kernel can't properly boot Omni. At least the data partition can't be detected.

Offline charging issue would be solved.. Bluetooth as well, I think.

But no way I'm gonna release this thing if no user apps can be installed and the system bootloops when wiping data.
[Sony Xperia T, TL, TX, V] WhiteNeo:
It's that easy. :good:

Will update the zip in OP, then.

EDIT: Done.
[Sony Xperia T, TL, TX, V] WhiteNeo:
I managed to solve the issue with CM kernel.. Need some testers. :)
[Sony Xperia T, TL, TX, V] Knutselmaaster:
Ready when you are ;)
[Sony Xperia T, TL, TX, V] MrAlez:
I can be a tester :D, also is possible to port this http://xdaforums.com/galaxy-s3/development/info-cpu-governor-zzmoove-t2326544 to this kernel?
[Sony Xperia T, TL, TX, V] Knutselmaaster:
I installed the zip for audio error (fresh download) but the second core still goes offline.

I checked the script, the three commands are in there.

Maybe the order should be inversed, to disable the second core offline stuff before all mpdecision is deactivated?
[Sony Xperia T, TL, TX, V] neofral:
No need to ask, you know where to pm the link

I'm available :D
[Sony Xperia T, TL, TX, V] WhiteNeo:
First of all, beta links out!

This time I'll give you three some more time for testing. :good:

If my assumption is right, the bluetooth issue will finally be fixed with this kernel!

We can charge our phones even when they're turned off - you can finally enjoy my themed charging screen!

And.. Most important: NeoWave no longer has any device specific bugs! :D

Nope, order doesn't matter in that case.

Init.d scripts seem to sometimes have issues with certain settings, like governors. Perhaps MPDecision is one of those problematic features.

I will build an app with Tasker that, once installed, sets the required values on each boot. :)
[Sony Xperia T, TL, TX, V] Isocadia:
Could you send me a link for the cm based kernel too, I didn't have any problems with the modded omni kernel and I would like too see if that remains :p
[Sony Xperia T, TL, TX, V] peter-k:
I gotta say I am not following in detail what you guys are doing there at the moment. BUT:

1. My bluetooth does not dis-pair after reboot. I'm on NeoWave 1.2.

2. NeoWave was always outmost smooth for me, even in Beta phase. A bit of that smoothness is lost after the 2. CPU mod.

3. Battery saving: 7 h sleep usage is now below 1% for me.
[Sony Xperia T, TL, TX, V] Mircinko96:
It is also possible to log testers? :)
[Sony Xperia T, TL, TX, V] dyfk3l:
You mean the re-pair issue? That would be great because this is the only thing that kept me from installing your ROM :D
[Sony Xperia T, TL, TX, V] WhiteNeo:
Exactly. :)

Keep an eye on this thread, in a few days I might release a stable public version. :good:
[Sony Xperia T, TL, TX, V] WhiteNeo:
What do you mean? :)