yashsingh1/xdaforums huggingface dataset:
[Nexus 5X Original Android Development] kewltidus:
Trying to Boost my Sound

Hi all,

I've been looking into boosting the headphone sound on my Nexus 5x, because it is much too quiet stock. After tons of research I found ElemetalX and have started using the headphone gain settings.

It is almost perfect, but I've noticed that raising the gain setting and then raising the volume on what I'm listening to past about 70% causes the audio to stop and I have to reduce the volume and start playing again. It almost seems as if the volume at which it functions is the original cap that was set before raising the gain settings.

Any insight on this or recommendations to make my headphones louder?

I'm currently using some Sennheiser noise cancelling headphones to travel with, and without the gain settings the max volume is what I consider barely normal listening levels in a quiet environment.
[Nexus 5X Original Android Development] herBosaurus:
Doesn't seem to add much value then to add that, I like how your app and kernels are minimal...please keep it that way.

---------- Post added at 10:56 AM ---------- Previous post was at 10:55 AM ----------

I think this issue has to do with the audio output this device supports to external devices (headphones, headsets, etc.) and that it is significantly lower than other phones in it's class.
[Nexus 5X Original Android Development] kewltidus:
Yes. it is the one thing that I can't stand about the phone as I have always used my smart phone as my primary music source; it is more convenient than carrying around another electronic device.
[Nexus 5X Original Android Development] sireangelus:
I mean changing all hotplugging related settings so to force the cores to stay down with a single option
[Nexus 5X Original Android Development] iPwn_:
Traditionally Qualcomm SoCs have four idle states:

* Standby

* Retention

* Standalone Power Collapse (Standalone PC or SPC)

* Power Collapse (PC)

In order from highest to lowest power consumption. But also in order for increasing latency on wake (which is why always entering, say, PC, is far from ideal).

I believe the SD 808 was only able to use Standby until some changes submitted recently. Retention might provide some gains in sleep battery life.
[Nexus 5X Original Android Development] OhioYJ:
Yeah this is something, I've been wanting as well. I don't necessarily see a reason to disable the little cluster, but definitely the big cluster. I've essentially disabled it through other means and my phone operates fine without for what I do.

I'm looking forward to this.
[Nexus 5X Original Android Development] flar2:
Update!!!

-N preview 4 update

Download

ElementalX-N5X-3.03

Changes:

-N preview 4 update
[Nexus 5X Original Android Development] 0140454:
Thanks for flar2's work.

But i meet a problem...

After installing version 3.0x for N preview, it will not load default settings on boot.

Although the configuration file /data/data/elementalx.conf exists, /init.rc seems not be modified successfully to load /init.elementalx.rc.

Is this normal?

Sorry for my bad english.
[Nexus 5X Original Android Development] khanjui:
@flar2

A little question, I see KSM is enabled by default. I'm not using zRAM. Is it better to disabling KSM or keeping it enabled for me?
[Nexus 5X Original Android Development] flar2:
I wasn't able to install this, so haven't tested. I thought it worked, but I'm changing it soon anyway.

KSM doesn't depend on ZRAM, so leave it enabled to make your memory more efficient.
[Nexus 5X Original Android Development] ulxerker:
But KSM consumes CPU and thus it drains more juice, just like zRAM. I disabled KSM from the beginning and don't have any memory issues. :)
[Nexus 5X Original Android Development] flar2:
Of course you are free to disable it. However, you won't notice the CPU usage from KSM, I have it set very conservatively. The battery usage from KSM would not even be measurable over the course of a day.
[Nexus 5X Original Android Development] dariett:
I advise you to try Viper Audio, there are two 3d on xda about it. I use viper atmos with the audiophile profile and I love it
[Nexus 5X Original Android Development] roofrider:
+1.

This has happened to me with all the N releases. This time, instead of setting it all again in the app, I just executed /sbin/elementalx.sh which had the correct values and it was all back to normal again.

-edit-

Looks like it won't stick after a reboot unless set so in the app.
[Nexus 5X Original Android Development] kewltidus:
I've just successfully installed the stock version of viper4android. Can you link me the direct download for your audiophile profile as well as steps as to where I need to place it?

Thanks!!
[Nexus 5X Original Android Development] dariett:
You can find all at this link

http://xdaforums.com/showthread.php?t=3289075
[Nexus 5X Original Android Development] SREEPRAJAY:
This FORUM doesnt support foreign languages in the primary form

Please post in ENGLISH
[Nexus 5X Original Android Development] Sinistersky:
Does it have init.d support?
[Nexus 5X Original Android Development] flar2:
Please use /su/su.d
[Nexus 5X Original Android Development] Sinistersky:
:D Thanks
[Nexus 5X Original Android Development] delgado83:
Just a heads up. The kernel works with cm13.
[Nexus 5X Original Android Development] gleggie:
Thanks for this Kernel, got 4.5 hrs SOT yesterday. Question: does this kernel support init.d?
[Nexus 5X Original Android Development] flar2:
Init.d is deprecated and shouldn't be used on android anymore

If you are using SuperSU, create a directory called /system/su.d and put your scripts there.
[Nexus 5X Original Android Development] chickentech:
Maybe it's me, but I'm getting worse performance on this.. My antutu scores are good, but it seems the gov doesn't respond to my usage very well.. I haven't played with the tunables (besides accidentally clicking on powersave and now it won't change from that - all kinds of quirks in the Kernel Editor program for ElementalX).. What are some other people's settings who are getting good results? Because I'm thinking about going back to stock kernel b/c of this...
[Nexus 5X Original Android Development] szucsgf:
I find performance with EX to be at least as good as stock. That being said:

I'm using interactive governor with one 1 change: make hispeed_freq = max CPU for each cluster (i.e. 1440 and 1836 instead of the defaults). That helps with performance a bit I find.

Also, I find switching to ondemand governor improves performance noticeably. However I feel like ondemand comes with a hit to battery life. I want to test more to see if the performance / battery tradeoff of ondemand is worth it, but that's something you might want to try.
[Nexus 5X Original Android Development] flar2:
With default values, this kernel is identical to stock in performance and battery life. All I've done is add a few features.

The governor is exactly the same as stock, I've made no changes whatsoever.

Any difference you see is pure coincidence or you've been messing with settings.

I can't stress it enough, you should not be playing with cpu frequencies on this device. There are several things in the system that control them. That's why I put warnings on those settings in EXKM.
[Nexus 5X Original Android Development] chickentech:
Thanks.. Maybe I'll flash back over the same Kernel and keep defaults. I really think EX Kernel Manager is buggy.. Many times it will change a value and I just accidentally hit it and want to change it back, but it won't toggle back. Last reboot helped me to finally get powersave to turn off on elementalx gov. I usually don't play with frequencies, just governors. Should I stay away from doing this as well?
[Nexus 5X Original Android Development] flar2:
I have no issues with changing governors, or any other settings.only the frequencies won't work correctly, and that's because other parts of the system can override the app.
[Nexus 5X Original Android Development] andresee:
Does your elemental gov work any different then stock for the N5x?
[Nexus 5X Original Android Development] srnoth:
Hey Flar2, not sure if it's by design, but the icon to 'set on boot' doesn't show up next to the 'hostname' field. If I press in the empty space where it should be, it shows up, but doesn't survive a reboot.

Edit: I'm noticing the same thing on my N5.
[Nexus 5X Original Android Development] flar2:
That one can't be set on boot
[Nexus 5X Original Android Development] srnoth:
Thanks for the quick reply. Is it a problem with the way the EX Manager applies the settings on boot? Other kernel managers such as Trickster or Adiutor are able to set a custom hostname on boot (technically after boot I guess).
[Nexus 5X Original Android Development] flar2:
More specifically, it shouldn't need to be set on boot, because it's changed in build.prop. But it looks like on this phone, it gets reset somehow. I guess I could add it to set on boot.
[Nexus 5X Original Android Development] crescal:
[MENTION=4684315]flar2[/MENTION] thanks a lot for the kernel and support! Just want to clarify a few things:

Would changing the CPU frequency in the AROMA kernel setup ok? Or not recommended as well?

Also, would you recommend switching to elementalx governor? Haven't done any rigorous testing but I encountered frozen up from time to time with the elementalx governor.
[Nexus 5X Original Android Development] vampire36:
He said it time and again he hasn't yet tuned elementalx...he actually has lot of tuning to do through the kernel...just been a bit busy so its taking time :) [MENTION=4684315]flar2[/MENTION] see a new version for 6p...any chance the reduce wlan wakelock you added there will be useful for 5x as well ?
[Nexus 5X Original Android Development] parthabhatta:
Just installed this kernel a few hours back. What I observe is the device rinse very cool with this kernel. Fantastic.
[Nexus 5X Original Android Development] gleggie:
[MENTION=3025444]crescal[/MENTION] I would recommend sticking with ondemand or interactive. I've been getting great performance and battery life with both. Just cant decide which one I like more lol

Sent from my Nexus 5X (vzw)
[Nexus 5X Original Android Development] till22:
Hi guys, I don't own a N5X (yet?) and don't want to start any OT or battery-life boasting posts. I had a N5 until 1 month ago and am considering to buy the N5X now it has a discount and goes for $349 (32GB). Could you guys send me (by PM) some screenshots/reports of idle/SOT drain? How long does your device last? I'm posting this in this particular thread because I would be using Aaron's ElementalX kernel and the Cataclysm ROM like I used to on my N5.
[Nexus 5X Original Android Development] chickentech:
Thanks - I'm doing better with Interactive lately.. Every day or two however I end up having to reboot because the phone is just very sluggish. After a reboot however it is much much better. No clue what is causing this.. I'm going to try to uninstall some apps to see if it was one of them causing the performance issues.
[Nexus 5X Original Android Development] flar2:
Do a clean install. This kernel is definitely stable and has no bugs or issues. It will be much easier to reinstall than troubleshoot whatever is causing the problem
[Nexus 5X Original Android Development] Meandi51:
Does broke ambient display on PureNexus latest release may be related to EX flashing.

Means it worked in the beginning, and suddenly broke, just around the EX was flashed.

Any idea?
[Nexus 5X Original Android Development] flar2:
No. Kernel had nothing to do with ambient display.
[Nexus 5X Original Android Development] Meandi51:
Hey flar2,

really great job. I appreciate your work.

Would be great if EX worked for my tab s too :)

But For my tab s, can I use the ex kernel manager to replace kernel auditor?

Cheers
[Nexus 5X Original Android Development] flar2:
EX Kernel Manager works with any kernel or device.
[Nexus 5X Original Android Development] thrutheeyes:
Any feedback for preview 4?! Just downloaded and installed through app but I got ERROR when my phone rebooted. Guess I'll try manual flash.

I flashed twrp but when I boot into recovery I just get no command?
[Nexus 5X Original Android Development] zevik99:
hi ,this KERNEL work on ResurrectionRemix?
[Nexus 5X Original Android Development] Mrcactuseater:
Make a backup and try it.

Tapatalk'd from my Twisted, Despaired Nexus 5x
[Nexus 5X Original Android Development] zevik99:
working good

working good:good:
[Nexus 5X Original Android Development] yanleites:
Use flashfire
[Nexus 5X Original Android Development] Heisenber6:
quick question, can i boost my volume output if i use this?
[Nexus 5X Original Android Development] glehel:
yes
[Nexus 5X Original Android Development] ensboarder:
Delete
[Nexus 5X Original Android Development] ninjablackwing:
Is there a tasker intent for the backlight dimmer? For example I want the backlight dimmer to be enabled when it's at night and then disabled during the day.
[Nexus 5X Original Android Development] nathanchance:
You can echo 0 to disable and echo 1 to enable it via the sys path /sys/module/mdss_fb/parameters/backlight_dimmer
[Nexus 5X Original Android Development] ninjablackwing:
Thank you, it worked just as I hoped it would
[Nexus 5X Original Android Development] khanjui:
As I know backlight dimmer only effects low-medium brightness percentages. Am I wrong?
[Nexus 5X Original Android Development] myawan:
Adaptive brightness on Nexus 5x is flawed, use Velis auto brightness app for better results.

I wonder why Google hasn't fixed it yet.
[Nexus 5X Original Android Development] Smoosh1:
Android July update MTC19Z released

Download-Link: https://dl.google.com/dl/android/aosp/bullhead-mtc19z-factory-9f649f91.tgz

Changelog: https://source.android.com/security/bulletin/2016-07-01.html

What has changed compared to MTC19V?

bootloader is new (bhz10p)

radio is the same (2.6.32.1.13)

boot.img is new (MD5: e7107806ba1d6d01b8b30d4cb635faf1)

recovery is new (MD5: 609c7aeebf2e3617a936eba933b65686)

system is new (MD5: 74bb8e812260e96ea1e1f7d4b15952cb)

vendor is new (MD5: 9e66e593df9b552313165e0467e38a60)

userdata.img is the same

cache.img is the same
[Nexus 5X Original Android Development] ulxerker:
thanks, as always, for your detailed update-post! :)

I'm sure it won't take long until EX gets updated, too. maybe with some additional optimizations as well this time ... :)

---------- Post added at 22:48 ---------- Previous post was at 22:09 ----------

btw: [MENTION=4684315]flar2[/MENTION] do you plan to implement idle retention power state via Qcom patches, too?
[Nexus 5X Original Android Development] gpvecchi:
Like the remove of Faux sound...:D
[Nexus 5X Original Android Development] Midomad:
Maybe tonight,at least for 6p [emoji39]

http://xdaforums.com/showthread.php?p=67640662
[Nexus 5X Original Android Development] Javi22:
How is it supposed to work? I tried enabling/disabling on the fly but don't notice any difference (at home)
[Nexus 5X Original Android Development] ninjablackwing:
I have autobrightness enabled so now when the backlight dimmer is enabled at night, my screen can go even dimmer and it's easier on my eyes. This way during the day I wouldn't need to adjust my brightness level since the backlight dimmer is disabled. For example if I'm using autobrightness at 50% with the backlight dimmer enabled the screen tends to adjust the brightness to be lower (and of course it also has the ability to go dimmer than when the backlight dimmer is not enabled) as opposed to autobrightness at 50% with the backlight dimmer disabled. Also I believe that you need to turn the screen off and turn it back on when you enable or disable the backlight dimmer in order for it to take effect so that might be why you don't notice a difference when you enable or disable it on the fly.
[Nexus 5X Original Android Development] flar2:
Update!!!

July security update.

Do not install on earlier builds!

EAS version is discontinued

Download

ElementalX-N5X-1.16

Changes:

-July security update
[Nexus 5X Original Android Development] ulxerker:
working good, thanks!
[Nexus 5X Original Android Development] Javi22:
Ok men you are right. It's needed to turn screen on for changes to be made on the fly

Now I notice the difference, thanks for the tasker tip, so useful
[Nexus 5X Original Android Development] Zackptg5:
Darn, I liked eas. Any particular reason why?
[Nexus 5X Original Android Development] Midomad:
Deleted.
[Nexus 5X Original Android Development] khanjui:
Everything is fine for me.
[Nexus 5X Original Android Development] DavidRYHaynes:
Hello, thank you for developing ElementalX. I have greatly enjoyed tweaking my Nexus 5X and seeing a rather significant gain in battery life. I had a quick question. I am running ElementalX on PureNexus. I recently updated ElementalX through the EX Kernel Manager, and it reset all of my ElementalX settings and tweaks. Is there any way to prevent this in the future and keep my settings through sequential kernel updates?

Thank you! David
[Nexus 5X Original Android Development] joetheshmo:
Use express installation
[Nexus 5X Original Android Development] ulxerker:
according to your attachment in post #2413 you are still on MTC19V, not MTC19Z.

so you're not on the latest build, which is a requirement for EX 1.16 according to flar2 ...
[Nexus 5X Original Android Development] khanjui:
True, that's why I posted.
[Nexus 5X Original Android Development] marsaltito:
Is this kernel can be used on CM ? Like FK for all roms or its just for AOSP ?!

N5X CM13
[Nexus 5X Original Android Development] Psychofrantics:
It should work on CM
[Nexus 5X Original Android Development] fedexist:
Hello there! Does anyone have any clue about this wakelock, included in the kernel section of every app I have (wakelock detector, gsam, betterbattery): https://dl2.pushbulletusercontent.c...HIQoVw3PsLzDZ3/Screenshot_20160709-163928.png

I tried to search on the Internet, but I did not find anything useful. Any thoughts? It destroys my battery when it appears.

edit: I'm on Purenexus, june version, with ElemantalX 1.15
[Nexus 5X Original Android Development] ulxerker:
the wakelock on the top of the list (ipc... _FLP) is most likely related to com.google.android.gms.flp.BATCH_FLUSH, which is a google location alarm.

so first check your location/GPS settings. also, you might want to ask in the purenexus forums as this wakelock issue is not initiated by the EX kernel.
[Nexus 5X Original Android Development] fedexist:
Thanks for the insight! I will check these out.
[Nexus 5X Original Android Development] Flyview:
Thanks for the kernel [MENTION=4816740]elementalx[/MENTION] !

I've installed 3.03 for N preview 4. I've seen a couple of reboots, does this happen regularly with N preview 4 or could it be the kernel or overclocking? I overclocked both clusters one step up from stock.
[Nexus 5X Original Android Development] SlimSnoopOS:
I'm sure [MENTION=4684315]flar2[/MENTION] would have some less than kind words for this ElementalX fellow lol

Overclocking is likely your issue. It has caused reboots for others on Marshmallow. Flar2 does not recommend increasing the clock speeds.
[Nexus 5X Original Android Development] Flyview:
Thanks. Only seen it once in about 24 hours, just curious what others were seeing.
[Nexus 5X Original Android Development] Bicet:
I've used this Kernel until July release of Pure Nexus, and I find it fantastic, so thank you!

Is there any plan to implement Pure Nexus Led Fix for the N5X?
[Nexus 5X Original Android Development] Flyview:
How would one go back to the stock kernel? I assume there are some modifications to /system as well?
[Nexus 5X Original Android Development] flar2:
What led fix? Led seems to work fine.

No, just reflash the boot.img
[Nexus 5X Original Android Development] Flyview:
Thanks. I noticed the governor is interactive by default? Did you mean it to be like that? Swipe to turn screen off also isn't working for me. This is on 3.03.
[Nexus 5X Original Android Development] Psychofrantics:
If we use orange as an led color in any rom with franco or elemental or any other kernel, the resulting colour is yellowish. However in latest purenexus with its default kernel, it seems to work fine. It is the first rom/kernel with which orange seems orange
[Nexus 5X Original Android Development] Flyview:
I had two reboots today at stock clocks with all default elementalx 3.03 settings. Please let me know how to help!
[Nexus 5X Original Android Development] jomegu:
I've tried the last release of franco kernel (r12) and was surprised that I was actually able to get an orange color from the led, but thought it had to do with the newer version of the rom that I installed. But then I went back to ElementalX, and when I selected orange, the led ended up in the usual greenish yellow. I'm not sure, but I believe the commit that fixed it on franco kernel was this one:

github.com/franciscofranco/bullhead/commit/d216cd8e1cc6f776a05ba73f5390fc78f904fab2

(I'm sorry, but I still can't post links)
[Nexus 5X Original Android Development] Bicet:
The led is normally working but Nate has made some modofications and you can choose all the colours. I.e. the orange was not available before. In any case thank you for your reply ;)
[Nexus 5X Original Android Development] :
Any way to uv the kernel? And can I flash this over franco or is it gonna be a problem?
[Nexus 5X Original Android Development] Mrcactuseater:
Msm8992/94 come with dynamic voltage frequencies as well as more efficient and low voltages anyway, uv would just cause a lot of problems. And it will cause problems, so dirty flash your ROM.

Tapatalk'd from my Twisted, Despaired Nexus 5x
[Nexus 5X Original Android Development] khanjui:
UV is unnecessary for this device. Flash the stock boot.img then flash EX for best result.
[Nexus 5X Original Android Development] cibic89:
elementalx.conf file location

Hi all,

I have Chroma ROM r54 with Elementalx 1.16 (wi-fi works) and TWRP 3.0.2.0.

I wanted to make kernel changes permanent but I cannot find the elementalx.conf file anywhere.

I am using FX file explorer accessing system (root) with "show hidden items" enabled and looked for it in etc but there's nothing there. Did a full search ("elementalx.conf") but still nothing!

EX Kernel Manager works great but it applies the changes after reboot. In user data (internal user accessible data storage) there's a file called ".elementalx.backup" :confused:

Can someone shed some light to this one please?

UPDATE: Found it in data/data instead?!
[Nexus 5X Original Android Development] Flyview:
I flashed boot.img and lost custom recovery (TWRP) and root, and the device self-encrypted :(

Now I'm afraid flashing a custom recovery will require me to wipe data since that's the only way I could get it to work the first time I did it.
[Nexus 5X Original Android Development] Argeddion:
Just flash Twrp with adb again. You will have an encrypted Data partition, but that is not really a problem. (Some say it is slower, but I never noticed a difference with the Nexus 5X).

Good news is, next time you will be smart enough to create a backup prior to flashing
[Nexus 5X Original Android Development] Midomad:
[MENTION=4684315]flar2[/MENTION]

What rom do you suggest to use with EX.

I know stock is prefred, i used to have cataclysm+EX but development as you know stopped!

Envoyé de mon Nexus 5X
[Nexus 5X Original Android Development] flar2:
I only use stock, but I hear good things about Pure Nexus
[Nexus 5X Original Android Development] nathanchance:
If you are looking for a stable ROM, you cannot go wrong with Pure Nexus (more features) or Krexus (more stock feel). Both [MENTION=4395895]BeansTown106[/MENTION] and [MENTION=3190122]KreAch3R[/MENTION] are solid developers constantly giving back to the community in fixes and features.
[Nexus 5X Original Android Development] Zackptg5:
I've tried elementalx with at least 6 different roms and it works amazingly on every one. It's a win win :)