Kernel LED control & sound boost? - Nexus 5 Q&A, Help & Troubleshooting

Before anyone starts yelling "Best <insert blank> threads aren't allowed!!" this is NOT a thread asking for the best of anything.
I've carefully gone through the all the kernel dev threads and not found what I want, so I'd like to know if I've missed something.
I'm looking for a kernel that will allow me LED control and volume increase on Cataclysm ROM. I would ask in that thread, but I'm afraid of getting savaged for cluttering it up!
Anyone help me?

setspeed said:
Before anyone starts yelling "Best <insert blank> threads aren't allowed!!" this is NOT a thread asking for the best of anything.
I've carefully gone through the all the kernel dev threads and not found what I want, so I'd like to know if I've missed something.
I'm looking for a kernel that will allow me LED control and volume increase on Cataclysm ROM. I would ask in that thread, but I'm afraid of getting savaged for cluttering it up!
Anyone help me?
Click to expand...
Click to collapse
I'm pretty sure most kernels (i.e. franco) support volume increase, but I haven't seen any kernel that has LED control. I use Light Manager on Google Play to set up custom LED colors for apps and it works perfectly.
also you could try Viper4Android for volume increase and other fantastic audio tweaks

david23c said:
I'm pretty sure most kernels (i.e. franco) support volume increase, but I haven't seen any kernel that has LED control. I use Light Manager on Google Play to set up custom LED colors for apps and it works perfectly.
also you could try Viper4Android for volume increase and other fantastic audio tweaks
Click to expand...
Click to collapse
I'll give Light Manager a go, but it never really worked too well for me on my last phone (S3), and nor did Light Flow, which is why I wanted kernel control. Thanks.

Related

Anyway to disable the capacitive button lights?

I read that CM7 will supposedly let you turn off the button lights (back, menu, search, and home), but is there a way to turn them off without it? Thanks.
Are you using a custom kernel with backlight notifications? Or do you just want the lights off all the time? If you are using a custom kernel with BLN you can use BLN Control from the market to disable backlight notifications.
I'm using it stock and want the 4 cap. button lights to turn off after a few seconds so I can watch videos in the dark (or have an app that I start that turns off the lights before I watch a movie).
Does BLN also disable capacitivte button lights (not just backlight notifications)? Are there other non custom rom solutions?
Backlight dimmer (BLD), one of Ezekeel's mods does this. It disables the capacitive buttons after x amount of time (variable you can set freely). But you need a custom kernel for this to work, not a custom rom. Check the developer section, most new kernel versions support BLD. Then, you can download NSTools from the market to set and configure the functionality.
BLN is only for notifications and blinking normally so it's not what you're looking for.
Greetz
edit: Check this: http://forum.xda-developers.com/showthread.php?t=1141233
frutelaken said:
Backlight dimmer (BLD), one of Ezekeel's mods does this. It disables the capacitive buttons after x amount of time (variable you can set freely). But you need a custom kernel for this to work, not a custom rom. Check the developer section, most new kernel versions support BLD. Then, you can download NSTools from the market to set and configure the functionality.
BLN is only for notifications and blinking normally so it's not what you're looking for.
Greetz
edit: Check this: http://forum.xda-developers.com/showthread.php?t=1141233
Click to expand...
Click to collapse
Awesome, that's actually even better. One question though, once the buttons/lights are disabled how are they re-enabled? Simply touching the screen? Thanks.
nope they'll stay off if you touch the screen. you have to touch the buttons themselves to get them to relight
v3rk said:
nope they'll stay off if you touch the screen. you have to touch the buttons themselves to get them to relight
Click to expand...
Click to collapse
Oh ok, perfect. thanks
Can someone point me to the correct file to download here for installing BLD:
https://github.com/Ezekeel/GLaDOS-nexus-s
Thanks
edit: the newest CM7 has the feature built in!! Thanks everyone
i've been looking for a way to disable the lights too! thanks!
drleospaceman said:
edit: the newest CM7 has the feature built in!! Thanks everyone
Click to expand...
Click to collapse
As a clarification, the feature is not available on 7.1.0.1 but only in the nightly later nightly builds. However, if you're running the stable mod, a workaround is to use Spark Mod Manager.

[Q] Change LED to blink until you read message

On the sensation is it possible to configure the LEDs to blink until you read the txt message for example. I think it is currently set to blink for about a minute. On the HD2 I was able to make registery changes to do this.
I am on a stock 1.50 rom with stock kernel.
I think faux has changed the led blink time, you'll have to look at his kernel. It requires a change in the kernel.
Sent from my HTC Sensation 4G
Show's kernel also does this.
Just spotted this post from Faux. Exactly what I am looking for just need to find out how to do it now
Originally Posted by faux123
Ah crap.. forgot about that...
BTW, it's not clean to hack the LED driver... much cleaner to hack the ROM... ask your ROM devs to hack the LED timer since it is SET by the ROM and kernel only does the blinking part....
So as you can see, by hacking the blinking part, it is an Ugly hax.. Just have the ROM tell the kernel to blink for longer...
Does anybody know how to tweak the rom to get the leds blinking continiously?
Any ideas?
This might do the trick http://forum.xda-developers.com/showthread.php?t=1407403&highlight=phone+notifier
I currently use noLed. Our led is crap IMO lol...
https://market.android.com/details?...lt#?t=W251bGwsMSwxLDEsImNvbS5sZWQubm90aWZ5Il0.
Works fine for me. I set it where it shuts off in 5 mins though.
Here is BLN control
https://market.android.com/details?id=neldar.bln.control.free&feature=search_result
I tried it using the stock kernel and it was a no go. I think I'll play with kernels to see if any work for our phones. Anyone else have a go at this app yet?
Those arnt quite what I am looking for. Faux123 suggested that you should be able to edit a file in the rom its self to control the time of the leds. I think you can make it stay on by setting it to 0. I just cant remember what file to edit.
As far as I know the kernel only defines the colour of the led and the time between each flash, not the actual length of time it flashes for. It is the rom that defines that. I am continuing to look and see if I can find the file.
i think this is default from htc sense o.0
otherwise - with miui you can set however you want
GhostXSeries said:
Those arnt quite what I am looking for. Faux123 suggested that you should be able to edit a file in the rom its self to control the time of the leds. I think you can make it stay on by setting it to 0. I just cant remember what file to edit.
As far as I know the kernel only defines the colour of the led and the time between each flash, not the actual length of time it flashes for. It is the rom that defines that. I am continuing to look and see if I can find the file.
Click to expand...
Click to collapse
Bricked kernel will keep your led flashing till you read your messages or emails.
Sent from my HTC Sensation 4G using XDA App

[Q] Droid Charge ROM with fine volume control?

I have been loving Tweaked 2.0 so far, but it doesn't seem to handle volume hacks right. Ages ago (maybe when I first tried Infinity?) my alarms were able to gradually increase from barely audible to full volume (if I took that long to snooze it!) but here lately the alarm comes on at the lowest notch above silent which is still too loud. Any way to bust up the alarm volume stream (or any of them for that matter) from the standard 7 steps to 20/30/100?
I'm not talking about an app that does this but a ROM where this tweak is baked in (although if there is an app that will do this compatible with Tweaked, I'm listening). dwitherell, if you're watching, please advise if this is something you could mod in your latest build. Thanks.
I use Alarm Clock Plus from the Market. It has a mode that lets you start the alarm out at a very low volume and smoothly increase the volume over a specified period of time, at which point it maxes out. It's a dock mode app as well, so if you have the desk dock, you can have it autolaunch on the dock.
https://play.google.com/store/apps/...usDock&feature=nav_result#?t=W251bGwsMSwyLDNd
shrike1978 said:
I use Alarm Clock Plus from the Market. It has a mode that lets you start the alarm out at a very low volume and smoothly increase the volume over a specified period of time, at which point it maxes out. It's a dock mode app as well, so if you have the desk dock, you can have it autolaunch on the dock.
https://play.google.com/store/apps/...usDock&feature=nav_result#?t=W251bGwsMSwyLDNd
Click to expand...
Click to collapse
Yep I got that one. I first noticed the change while using AC Xtreme then thinking it was an issue with the app, tried out AC Plus. Both apps can start at low volume but it's still not as low as I originally experienced back in the day. My query is around how much customization can be done on the volume steps themselves within the framework and if that can be built into the custom rom.
Hmm... I suppose I could look into this, but I have no real knowledge offhand for where to start (or if it's possible). You said this sort of thing worked on infinity - what build was it?
dwitherell said:
Hmm... I suppose I could look into this, but I have no real knowledge offhand for where to start (or if it's possible). You said this sort of thing worked on infinity - what build was it?
Click to expand...
Click to collapse
I'm not positive it was Infinity but if it was it would have been the 1211 version. I thought I could get to the audio settings menu via TSM Parts but I couldn't figure out which option corresponded to dial code *#*#197328640#*#*, found here:
http://androidforums.com/vibrant-tips-tricks/136997-secret-codes-3g-lock-built-day-time-firmware-gps-test-more.html
I may presume too much, but I am hoping that the backmenu audio settings cover all audio streams and not just in-call volume.
EDIT: I restored back to stock to try the dialer code for adjusting audio which didn't work under Tweaked. It didn't work under stock either. I then re-flashed Infinity_1211 to verify my earlier claim and... FAIL! It doesn't seem to handle the volume streams any differently. So I'm back to square one with this, until someone can confirm a dialer code for audio that actually works on the Charge.
Brianakin said:
Yep I got that one. I first noticed the change while using AC Xtreme then thinking it was an issue with the app, tried out AC Plus. Both apps can start at low volume but it's still not as low as I originally experienced back in the day. My query is around how much customization can be done on the volume steps themselves within the framework and if that can be built into the custom rom.
Click to expand...
Click to collapse
I was going to suggest AC Xtreme but never mind. Perhaps could it have something to do with the option for the ascending ringer in TSM Parts? (Dwitherell?)
You could try this to see if it helps at all.
https://play.google.com/store/apps/details?id=com.matthew.rice.volume.master.lite
Thanks all for your input. I came to the conclusion that the ROMs are not to blamed, but possibly the kernel or even Gingerbread (yes I'm saying it may have been as long ago as when I was on stock Froyo). I am trying Gentle Alarm and it does what I expect volume-wise and it allows me enough customization to create all the alarms I need.
I find that the smart alarm is quite subtle but it may not be your cup of tea.

Touch key brightness

Hey all, I'm trying to figure out how to get some brightness settings for the touch key brightness to stick. I've used LG 2x Notifications and O2x Touch Key Brightness, and they both work up until the point where i put the phone to sleep by tapping the power button. As soon as I wake it up, the brightness goes straight to zero unless i head back to the app and raise it up again. And if i uninstall the apps, the brightness on my keys stay off until i re-flash or reinstall the app again. Help!
My issue is a little different but similar. It worked fine for me on every basic gingerbread rom, but when I switched to a cm7 based rom the lights change with the brightness of the screen. I turned off all the light notifications but it did not help.
If anyone has any ideas, I'd love to hear them.
What rom?
Sent from my LG-P999 using XDA
redmonke255 said:
What rom?
Sent from my LG-P999 using XDA
Click to expand...
Click to collapse
On SinghUI but it doesn't have built-in LED notifications, if that's what you're getting at.
If the setting from one of those apps doesn't stick, then it's most likely being set by your ROM or Kernel. Have you tried checking if you get the same issue with other ROMs?
@jcbofkc That's a built-in setting that can't really be changed unless you get a custom ROM or Kernel cooked up to remove the link between the brightnesses.
xBIGREDDx said:
If the setting from one of those apps doesn't stick, then it's most likely being set by your ROM or Kernel. Have you tried checking if you get the same issue with other ROMs?
@jcbofkc That's a built-in setting that can't really be changed unless you get a custom ROM or Kernel cooked up to remove the link between the brightnesses.
Click to expand...
Click to collapse
90% sure the ROM doesn't have built in notifications. I'm noticing now that very rarely the settings do stick. Perhaps there is a way to force the app to stay in memory?
rrroach said:
90% sure the ROM doesn't have built in notifications. I'm noticing now that very rarely the settings do stick. Perhaps there is a way to force the app to stay in memory?
Click to expand...
Click to collapse
That wouldn't work. All that those apps do is write a number from 0-20 to the text file:
/sys/devices/platform/star_touch_led/wled
in your root file system.
When you read the file, it shows you the current output to the LEDs (from 0uA to 2000uA).
When you write to the file, it interacts with the Kernel and sets the brightness.
The Touch Key Lights type apps, all they do is when you move the slider they write a value to that file, and that's it. The only reason it wouldn't stick is if your ROM or Kernel is changing the value in the background. For example it will set it to 0 when you turn the screen off, and then it should set it back to wherever it was before when you turn the screen on again.
The closest you could get is to take the source for LG Touch LED Notifications and modify it to set the brightness every few seconds or something, but that probably wouldn't be too good for your battery life.
Based on your symptoms it appears that either your ROM or your phone doesn't really handle the modifying of the brightness very well. It looks like SinghUI does use a kernel from CM7, so I don't think your kernel is the problem. I'd suggest flashing the most recent CM7.2 RC, and seeing if you have the same problem there. CyanogenMod will change your LED brightness based on your screen brightness though.
EDIT: Ignore all that for a moment, try this first. It is a post from January 21st in the SinghUI thread, so it might not work now, but go ahead and try it: http://forum.xda-developers.com/showpost.php?p=21652744&postcount=293
Also I'd suggest posting in the SinghUI thread as everyone there is using your ROM, so they might be able to help better.
xBIGREDDx said:
That wouldn't work. All that those apps do is write a number from 0-20 to the text file:
/sys/devices/platform/star_touch_led/wled
in your root file system.
When you read the file, it shows you the current output to the LEDs (from 0uA to 2000uA).
When you write to the file, it interacts with the Kernel and sets the brightness.
The Touch Key Lights type apps, all they do is when you move the slider they write a value to that file, and that's it. The only reason it wouldn't stick is if your ROM or Kernel is changing the value in the background. For example it will set it to 0 when you turn the screen off, and then it should set it back to wherever it was before when you turn the screen on again.
The closest you could get is to take the source for LG Touch LED Notifications and modify it to set the brightness every few seconds or something, but that probably wouldn't be too good for your battery life.
Based on your symptoms it appears that either your ROM or your phone doesn't really handle the modifying of the brightness very well. It looks like SinghUI does use a kernel from CM7, so I don't think your kernel is the problem. I'd suggest flashing the most recent CM7.2 RC, and seeing if you have the same problem there. CyanogenMod will change your LED brightness based on your screen brightness though.
EDIT: Ignore all that for a moment, try this first. It is a post from January 21st in the SinghUI thread, so it might not work now, but go ahead and try it: http://forum.xda-developers.com/showpost.php?p=21652744&postcount=293
Also I'd suggest posting in the SinghUI thread as everyone there is using your ROM, so they might be able to help better.
Click to expand...
Click to collapse
Thanks for the link. It turns out that the ROM does have led notifications. However, disabling them didn't help the problem. :/ the g2x has just been an awful experience for me! :/

Question Separate Ring and Notification volume?

Anyone know how to achieve this? Gravity box used to allow this. I'm have xposed/magisk installed so I'm open to anything.
The notification sounds are too loud but the ring sound is too quiet.
If it was like past versions of Android (8?) and phones, Google made a change to link them as one level. The App that I found that allows for seperate volume and notification control is 'Volume Butler'. It's simple and works well. There may be other Apps that can do this, but, at the time I needed it, it was the only one.
tonyo123 said:
If it was like past versions of Android and Phones, Google made a chnage to link them. The App tyat I use that allows for seperate volume control is 'Volume Butler'. It's simple and works well. There may he other Apps that can do this but at the time I needed it, it was the only one.
Click to expand...
Click to collapse
Yeah I searched all over the forums and those seems to be only apps that might work. Not sure how power hungry those apps are constantly monitoring app activity.
I was hoping something smaller that works on magisk or xposed.
Agenesis said:
Anyone know how to achieve this? Gravity box used to allow this. I'm have xposed/magisk installed so I'm open to anything.
The notification sounds are too loud but the ring sound is too quiet.
Click to expand...
Click to collapse
This is the app I use to do that. Works great. No extra battery drain with it either.

Categories

Resources