[Q] How can I turn the button's light off? - Galaxy Note GT-N7000 General

I got some 4.0 ROMs which do not have a option switch to turn off the backlight of the BACK and MENU button, including the "Liquid Smooth BETA2" and "MIUI by pri..".
However i found them brilliant execpt this tiny bug so I would really appreciate it if any one knows
HOW TO TURN OFF THE BACKLIGHT OF THE BUTTONS?
My device is Galaxy Note.
Thank you.

+1

On ICS Stunner its Settings>Galaxy Note Setting>Sensors>untick the bottom option.

RudiRulez said:
On ICS Stunner its Settings>Galaxy Note Setting>Sensors>untick the bottom option.
Click to expand...
Click to collapse
I think the op is stating that some have the option and we are trying to figure out what they are changing to accomplish such feat so that we may use that option on other roms e.g liquid beta and miui....

Well it requires decompiling the framework-res.apk and editing an xml file called arrays.xml for the disabling to work, and even then it might not work and might also need a change to a hardware lib file called lights.exynos4.so
So unfortunately, it's not an easy task

Related

[mod][how to][ics & jb]disable capacitive buttons

I've seen some interest on the forums in how to do this. So here is a guide.
NOTE: This mod will render the capacitive buttons(hardware buttons) on your Nexus s completely inoperable. Use this mod only if you are using a custom ICS OR JB ROM with navigation bar(on screen buttons) enabled, or some other way to navigate your phone.
First, make sure that you are completely satisfied with the operation of the navigation bar & are certain that you have no need for the capacitive buttons.
DISCLAIMER: This mod involves editing system files. Use at your own risk. This mod will not magically make the navigation bar appear on roms that do not already have it enabled. This mod only disables the capacitive buttons. Instructions on how to disable the backlights for these buttons will be at the bottom of this post.
UPDATE : Just flash these zips.
To disable capacitive keys
http://db.tt/AyJLDkg1
To restore capacitive keys
http://db.tt/PhxFyBb3
And an init.d script for BLD to turn the backlights off (to the best of your BLD supported kernels ability anyway)
http://db.tt/BRpy78Cz
NOTE : Success will vary with BLD according to the capabilities of your chosen kernel. Some kernels are really good with bld responsiveness, others aren't. This has nothing to do with my script. And remember that you can't just choose a kernel based on how well it handles backlight settings. It's gotta run your whole phone too.
For those who want to do it manually.
1; Using Root Explorer (from market) go to system/usr/keylayout.
2; Mount system as r/w.
3; Long press on the file called mtx224_ts_input.kl.
4; Select 'open in text editor'. Scroll down and you will see these 4 lines:
key 158 BACK WAKE
key 139 MENU WAKE
key 217 SEARCH WAKE
key 102 HOME WAKE
5; Delete these 4 lines. Or alternately, just delete the lines for the buttons you want disabled.)
6; Press menu, save & exit. (Root Explorer will automatically create a backup of this file. It will be called mtx224_ts_input.kl.bk)
7; Now, make the same edits to the 4 lines in the file called cypress-touchkey.kl and save & exit.
8; Reboot.
Now you have no capacitive buttons(or only the ones you left intact in step 5 & 7).
Now, the backlights are still working. To disable these, flash a kernel that has backlight dimmer support(BLD) (I use GladOs) and use NStools(from market). Set BLD to on. And delay to 0. Done. No buttons & no backlight.
NOTE: BLN will still work even with BLD on.
To undo this mod you can either restore the original .kl file using the backup that Root Explorer automatically created. Just delete the modified .kl file and rename the .kl.bk file by just removing the .bk from the end of the file name. And reboot.
Alternately, you can just flash your ROM straight over the top. (of course, that means you'll have to flash your kernel & any other mods again too)
Followed this to the letter and my buttons still work... Any thoughts?
dchoward1977 said:
Followed this to the letter and my buttons still work... Any thoughts?
Click to expand...
Click to collapse
Hmm... are you sure you rebooted after making the edits? Which rom are you using. I've tested with AOKP build 27. And cm9 with evilisto's mod and both work fine. Are the button functions still working or just the backlights? If it's just backlights, make sure you set nstools to run on boot. If it's function that's still working, check the edited .kl file and make sure the edit stuck. If you are sure you've folowed to the letter and button 'functions' are still working it may be necessary to make the same edits in cypress-touchkey.kl as well. This wasn't necessary for me but it may be with your rom.
Sent on neXus from somehere. Could be anywhere.
Awesome mod! I needed to also delete in cypress-touchkey.kl. Great job!
stu5797 said:
Awesome mod! I needed to also delete in cypress-touchkey.kl. Great job!
Click to expand...
Click to collapse
Glad it worked for you, although the cypress touchkey edit really shouldn't have been necessary, since that file only sets the function of those keys, not the status. Which rom are you using, so I can test some more? And thanks for the feedback.
Sent on neXus from somehere. Could be anywhere.
I m using aokp milestone 4. I have to set my bld at 500ms with matrix v17 because if i set it to 0 it does not work correctly. Wish i could set it to 0. Any ideas to completely get rid of those lights?
I also had success deleting the lines from cypress touch key.kl. Thanks a bunch.
Sent from my Nexus S using xda premium
stu5797 said:
I m using aokp milestone 4. I have to set my bld at 500ms with matrix v17 because if i set it to 0 it does not work correctly. Wish i could set it to 0. Any ideas to completely get rid of those lights?
Click to expand...
Click to collapse
Milestone 4 is basically the same as build 27. Which is what I'm using. I have no problems with bld set to zero. As for disabling the lights, someone would have to write a boot script I think. I have no idea how. So if anyone wants to give this a go.....
Sent on neXus from somehere. Could be anywhere.
Heres a flashable zip for disabling the capacitive keys.. It just includes the mxt224_ts_input.kl and cypress-touchkey.kl, modded for no capacitive funciton.
View attachment 957555
Please make restore zip , tnx
Sent from my Nexus S using xda premium
Thanks Swamp Goblin. Wish I knew how to do that. Got any tricks for the backlights?
Sent on neXus from somewhere. Could be anywhere.
If i install this mod i cant set bld off/on :S
Sent from my Nexus S using xda premium
dinos3 said:
If i install this mod i cant set bld off/on :S
Sent from my Nexus S using xda premium
Click to expand...
Click to collapse
I just tried it. Works fine. Reflash your kernel.
Sent on neXus from somewhere. Could be anywhere.
I try this but For me not work ;S
Sent from my Nexus S using xda premium
dinos3 said:
Please make restore zip , tnx
Sent from my Nexus S using xda premium
Click to expand...
Click to collapse
Here you go
Restore_capacitive_keys_NS
---------- Post added at 09:22 AM ---------- Previous post was at 09:20 AM ----------
stumpy352 said:
Thanks Swamp Goblin. Wish I knew how to do that. Got any tricks for the backlights?
Sent on neXus from somewhere. Could be anywhere.
Click to expand...
Click to collapse
I might be able to figure out where to disable it.. I'll try tonight
This button mod and completely disabled lights would be perfect, thanks for the mod
That would extremely helpful!
Guys the backlight of the buttons on my i9023 are really really weak.. is there any way to make them brighter?
Sent from my Nexus S using xda premium
swamp goblin said:
Here you go
Restore_capacitive_keys_NS
---------- Post added at 09:22 AM ---------- Previous post was at 09:20 AM ----------
I might be able to figure out where to disable it.. I'll try tonight
This button mod and completely disabled lights would be perfect, thanks for the mod
Click to expand...
Click to collapse
No probs. Thanks for making it a zip, although i've added it into
my rom now so only one flash reqd.
thegtfusion said:
Guys the backlight of the buttons on my i9023 are really really weak.. is there any way to make them brighter?
Sent from my Nexus S using xda premium
Click to expand...
Click to collapse
We're trying to disable them, but I suppose the method used, when we work it out might give you a starting point.
Sent on neXus from somewhere. Could be anywhere.
thegtfusion said:
Guys the backlight of the buttons on my i9023 are really really weak.. is there any way to make them brighter?
Sent from my Nexus S using xda premium
Click to expand...
Click to collapse
This may be related to hardware.. My dad's ns4g has super dim backlights, and mine are insanely bright.. But if we figure out how to disable them there may be a way to maybe bump up the brightness a bit without breaking them haha
I was just reading an article for LEDs hack.apk. Supposedly gives you control on/off for button bl. The dev says nexus s will never be supported because the button bl & screen bl are powered together. If that was the case, bld wouldn't work without affecting the screen. Evilisto made a reference to arrays.xml in framework res. Maybe the answer is here. I don't have a pc so I can't decompile it and have a look. Any takers?
Sent on neXus from somewhere. Could be anywhere.

[MOD][REQUEST] Disable Capacitive Buttons

I am currently running AOKP on my Tmobile version and enabled the onscreen navigation bar. Id like to know if we have a script that disables the capacitive buttons yet on this device, and if not, a request for a dev to make one. Thank you.
I haven't been able to disable them, but if you just want to have the capacitive buttons not light up snag "Screen Filter" as it lets you turn off the button lights (set it to 100% if you don't want to dim your screen). I also used "Auto Start (no root)" to have it start at boot.
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
Dandude159 said:
I am currently running AOKP on my Tmobile version and enabled the onscreen navigation bar. Id like to know if we have a script that disables the capacitive buttons yet on this device, and if not, a request for a dev to make one. Thank you.
Click to expand...
Click to collapse
What do you mean disable those buttons? Disable actions when pressing them?
So you have a huge useless bezel at the bottom of your screen?
Simple Line changes in the key map.
Sent from my SPH-L710 using Tapatalk 2
nabbed said:
What do you mean disable those buttons? Disable actions when pressing them?
So you have a huge useless bezel at the bottom of your screen?
Click to expand...
Click to collapse
Well mostly disable the light. I want to use the on screen navigation keys in AOKP as a substitute.
Dandude159 said:
Well mostly disable the light. I want to use the on screen navigation keys in AOKP as a substitute.
Click to expand...
Click to collapse
Are you for real?
I don't mean to be a **** but come on!
Settings/Display/Touch Key Light Duration/Always Off.
LOL i bet a lot of people didn't know that (including me).... i mean i've been to that setting before to see how long the lights could be "on" for. but never noticed there was a "always off" option
nabbed said:
Are you for real?
I don't mean to be a **** but come on!
Settings/Display/Touch Key Light Duration/Always Off.
Click to expand...
Click to collapse
Please don't be rude, especially because you are wrong. This option is only available in the stock touchwiz based rom. I am on AOKP.
Dandude159 said:
Please don't be rude, especially because you are wrong. This option is only available in the stock touchwiz based rom. I am on AOKP.
Click to expand...
Click to collapse
Sry. Reading comprehension was subpar on my part.
This is actually a very useful tool if available. On my Asus Transformer Prime, there is a lock setting that disables the capacitive buttons while you watch a movie or play a game. I know the OP wants to disable the capacitive buttons for the purpose of replacing it with the AOKP onscreen buttons, but I would like to have that ability just to disable it so that I don't accidentally press on those buttons while playing game or watching video. Like a quick setting from the notification bar to lock it would be perfect!
Ill be subscribing to this thread for when we get a daily driver AOSP rom on Verizon. I too would like to disable the capacitive buttons and have on-screen navigation buttons instead. I find the capacitive buttons are too hard to press when I want to and too easy to accidentally press when I don't want to.
Sent from my SCH-I535 using xda premium
So, I don't know how to actually disable the button function (I'm running task's AOKP rom) and I didn't like using that Screen Filter app to keep the backlight off since it keeps it in the notification bar.
However, it is pretty easy to keep just the backlight off. Go into Settings>Display>Custom Backlight Settings. Check the "Use custom" option and go into "Edit other levels...".
Change the value for all the different levels from 1 to 0. Reboot and enjoy!
clark44 said:
Simple Line changes in the key map.
Sent from my SPH-L710 using Tapatalk 2
Click to expand...
Click to collapse
Do you happen to know what or where this line of code is so that we may modify it...?
Thanks,

Auto rotation

Does Nexus 7 have auto rotation or not? When I turn it from vertical to horizontal, the screen does not change at all.
ScottXe said:
Does Nexus 7 have auto rotation or not? When I turn it from vertical to horizontal, the screen does not change at all.
Click to expand...
Click to collapse
Yes it has auto rotate but it may not work for a couple of reasons:
It will not work on the "homepage" as for some reason, it is still not available to landscape your homepage.
If your in apps, like the broswer etc, then yes it should auto-rotate, but my Nexus 7 also had this turned off by default.
Goto your settings -> display -> auto rotate. (Im 90% sure its under display )
Make sure the box is ticked
Hope I helped
ScottXe said:
Does Nexus 7 have auto rotation or not? When I turn it from vertical to horizontal, the screen does not change at all.
Click to expand...
Click to collapse
If you're wondering how to enable rotation on the launcher (homepage), you can do it a number of ways. If you don't want to root, you can install an app like ultimate rotation control from the play store. You can also install an alternate launcher like Apex or Nova.
If you want to root, you can flash a ROM that has tablet mode such as Paranoid Android. You can also edit the build.prop file but I wouldn't recommend the latter as it seems to have negative repercussions in system apps.
Sent from my Paranoid Nexus 7
Wilks3y said:
Yes it has auto rotate but it may not work for a couple of reasons:
It will not work on the "homepage" as for some reason, it is still not available to landscape your homepage.
If your in apps, like the broswer etc, then yes it should auto-rotate, but my Nexus 7 also had this turned off by default.
Goto your settings -> display -> auto rotate. (Im 90% sure its under display )
Make sure the box is ticked
Hope I helped
Click to expand...
Click to collapse
Very strange - there is no auto rotate option as per you described. Where does it go?
ScottXe said:
Very strange - there is no auto rotate option as per you described. Where does it go?
Click to expand...
Click to collapse
Easiest way, when you pull the notification bar down, you will see 2 Icons right at the top of the notification bar.
One will be three lines, with dots on them, which looks like the icon of the "Settings" app.
Next to that, you will see something with two arrows, and in the middle either like a screen of a device, or a padlock.
That is what you want to click, if the padlock is there, then rotation is locked, if you have the device screen, with the two arrows, auto rotate is enabled.
Hope this helps.
If you want more help download the application nova launcher.
Once you have nova, open it up and go to "look and fell". Once In there go Into screen orientation and click on auto-rotate.
When you finish do the command above, and it all should work
Sent from my Nexus 7 using xda app-developers app
ScottXe said:
Does Nexus 7 have auto rotation or not? When I turn it from vertical to horizontal, the screen does not change at all.
Click to expand...
Click to collapse
add this to the end of your build.prop file and reboot, then youll be able to autorotate your homescreen. no, adding this to your build.prop file will not hurt your device or cause issues as others here have stated..
launcher.force_enable_rotation=true
simms22 said:
add this to the end of your build.prop file and reboot, then youll be able to autorotate your homescreen. no, adding this to your build.prop file will not hurt your device or cause issues as others here have stated..
launcher.force_enable_rotation=true
Click to expand...
Click to collapse
Works great! Thank you!
The auto rotate is turned off when you have stock jelly bean. But if you pull down the menu you can change it there.
Apex Launcher does it too.
The cheapest way ist modifying the build.prop
An nice app but it cost is
look for "Ultimate Rotation Control" in app store
goes like hell
Don't use the rotation control app, at least not in auto or forced auto. It kills performance.
Sent from my Nexus 7 using Tapatalk 2
simms22 said:
add this to the end of your build.prop file and reboot, then youll be able to autorotate your homescreen. no, adding this to your build.prop file will not hurt your device or cause issues as others here have stated..
launcher.force_enable_rotation=true
Click to expand...
Click to collapse
What is build.prop file and where is it to find for the modification?
RE
The Rotation Control app worked great on my Nexus 7.
I can't say the same for my GS3;
it kept resetting itself to "Forced Auto".
The build.prop method is easy, and works mostly well.
My only problem seems that the Play Store app always crashes when the screen rotates in the app drawer. I'm not sure yet if it happens anywhere else, but so far everything else is good.
The build.prop file is in the "/system/" folder, and you'll need root access to get to it.
Once rooted, get ES File Explorer from the app store.
You'll need to enable "Root Explorer", "Up to Root" and "Mount File System" in the app's "Root Settings" to reach and edit the build.prop.
Once you find the build.prop file in the /system/ folder, you can press it and choose to open it with ES Note Editor.
!!!!! WARNING !!!!!
Before you start messing with the build.prop file,
you'd be smart to make a nandroid backup in CWM.
The slightest typo or mistake can cause your device to not boot up.
You've been warned...!
!!!!! END WARNING !!!!!
But, assuming you add the line accurately to the bottom of your build.prop, you'll be ok.
Rezard said:
!!!!! WARNING !!!!!
Before you start messing with the build.prop file,
you'd be smart to make a nandroid backup in CWM.
The slightest typo or mistake can cause your device to not boot up.
You've been warned...!
!!!!! END WARNING !!!!!
But, assuming you add the line accurately to the bottom of your build.prop, you'll be ok.
Click to expand...
Click to collapse
also, in case you mess something up in you build.prop file, any kind of edit, not just this, you can just reflash your current ROM(no wiping of anything) without anykind of data loss or repercussions. well, OK, one repercussion, a loss of about 3-4 minutes

[Q] Hide Screen Buttons

Hey, i just saw that the Huawei Ascend D2 has on-screen buttons that you can hide easy and pop it up again http://www.youtube.com/watch?v=UH4Zt9lP23c(it's from 0:55) and just wondering if anybody could make something like that for the nexus 4?
There are a few ways to do it i believe. If you have a root a few apps will let you do it. Also AOKP has options to change it, as far as without root I'm not sure as I didn't try before i rooted my device. One of the things I have set is using Gesture Control I made swiping gestures from the area where the buttons would have been instead of having the buttons. I think it looks a lot better and for me works just as well.
download a custom rom such as cm10.1 to get this feature.
AOKP CM10.1 and PA all support this in the power menu.
Yes i know about the extended desktop, and i use it all the time. But i were thinking about a button on the soft-keys and a gesture to enable and disable it.
Jbele said:
Yes i know about the extended desktop, and i use it all the time. But i were thinking about a button on the soft-keys and a gesture to enable and disable it.
Click to expand...
Click to collapse
pa has per app expand. meaning you define app you like to jump into this and that mode and they will. if they have a quit button your bars will come back automatically.
there are apps out there can can do that with gestures. three finger gesture or whatever - not sure if they can hide the navigationbar because that would need framework changes afaik. we're working on something like that actually, its not yet 100% ready though.
molesarecoming said:
pa has per app expand. meaning you define app you like to jump into this and that mode and they will. if they have a quit button your bars will come back automatically.
there are apps out there can can do that with gestures. three finger gesture or whatever - not sure if they can hide the navigationbar because that would need framework changes afaik. we're working on something like that actually, its not yet 100% ready though.
Click to expand...
Click to collapse
Ok nice, tnx
Edit: Where can i get it without pa?
Jbele said:
Ok nice, tnx
Edit: Where can i get it without pa?
Click to expand...
Click to collapse
i Guess he means parandroid
What's this .........
http://forum.xda-developers.com/showthread.php?t=2253770
Does this help you ?
Sent from my Nexus 4

[Tweak] Disable soft buttons' backlight

Don't like soft buttons' backlight? Want to save some battery?
Here is an init.d script to disable soft buttons' backlight in Aurora.
It should work with other roms too but I haven't tested.
You must have init.d support.
You have it if you have init.d folder in /system/etc.
Instructions:
1. Extract the zip
2. Put 80button-backlight_off to /system/etc/init.d
3. Reboot phone
To enable soft buttons' backlight again just delete the file.
View attachment 1794612
This is the first time I hear about "don't like the buttons backlights" here something to kill it lolol
This is crucial to the good usage of the device and if the sensors are well calibrated and working good the backlights should be automatically adjusted, including on/off. Something that the majority of the roms don't have.
This would then be a great share
Miui v4 if you set the brightness to automatic the backlights will go off after a while. Don't need a patch is a bug eheheh :thumbup:
Djuganight said:
This is the first time I hear about "don't like the buttons backlights" here something to kill it lolol
This is crucial to the good usage of the device and if the sensors are well calibrated and working good the backlights should be automatically adjusted, including on/off. Something that the majority of the roms don't have.
This would then be a great share
Miui v4 if you set the brightness to automatic the backlights will go off after a while. Don't need a patch is a bug eheheh :thumbup:
Click to expand...
Click to collapse
I don't like button-backlights especially at night. You can see them clearly enough without backlights in our u8800.
I did some research, there are people who don't like button-backlights, even in u8800 forums and want to know how to disable those.
I did this for myself and thought that there could be someone who would like to disable them. It's really simple tweak but I think that there are some "noobs" who don't know how to disable them. So I shared my tweak.
Btw in Aurora they dim, but doesn't go off.
Sent from my Huawei U8800
At least is something new and sharing is sharing so good job

Categories

Resources