[MOD] Navigation Bar for CM10 - Nexus S General

Flashing this will enable navigation bar, and disable capacitive touch buttons on Nexus S.
Make sure to set the Backlight Dimmer delay to 0 using the NSTools, so the capacitive touch buttons don't light up.
If you are using the navigation bar, I recommend setting the LCD density to 200 or 190. Edit it with Rom toolbox, or
navigate to /system/build.prop/ro.sf.lcd_density=200 edit it with text editor and reboot.
Always do a backup before flashing. It should work for any JB rom.
To disable navigation bar, reflash the rom, restore the backup or flash disable nav bars.
You are doing this at your own risk.
Its based on Brainmaster's tweaks for android, all thanks goes to him.
Added files, they set dpi to 190 or 200 or disable Nav bars.

Screenshots please.
Gesendet von meinem Nexus S mit Tapatalk 2

AzN MusiQ said:
Screenshots please.
Gesendet von meinem Nexus S mit Tapatalk 2
Click to expand...
Click to collapse
You get these three buttons on bottom of your screen.
http://cdn3.digitaltrends.com/wp-co.../samsung-galaxy-nexus-review-home-buttons.jpg

Or you can just add
qemu.hw.mainkeys=0
To your build.prop and reboot. It works with every ROM I think. To disable, just set it back to =1.
Sent from my Nexus S using xda premium

But that won't disable the capacitive buttons
Sent from my Nexus S using xda app-developers app

Does DPI of 200 break the play store? I'm at 210 and its breaking some installs

tehkraft said:
Does DPI of 200 break the play store? I'm at 210 and its breaking some installs
Click to expand...
Click to collapse
First time I went from 240 to 200, I wiped googleplay, everything else worked okay, as far as I remember.
If you get FC's wipe that app.

If BLD is set to zero, this will just turn off the backlight right, but they will still work when pressed. Is there a way to disable them for real otherwise what's the point of the nav bars, right?
Sent using the xda mobile app

apatal said:
If BLD is set to zero, this will just turn off the backlight right, but they will still work when pressed. Is there a way to disable them for real otherwise what's the point of the nav bars, right?
Sent using the xda mobile app
Click to expand...
Click to collapse
They are disabled...

Serris said:
They are disabled...
Click to expand...
Click to collapse
Oh OK. So the zip turns then off already. Question though, in the BLD settings, setting it to zero turns off BLD meaning the buttons are always lighted up. I set it to 1 to turn it off almost immediately.
Sent using the xda mobile app

apatal said:
Oh OK. So the zip turns then off already. Question though, in the BLD settings, setting it to zero turns off BLD meaning the buttons are always lighted up. I set it to 1 to turn it off almost immediately.
Sent using the xda mobile app
Click to expand...
Click to collapse
Yes you are correct, I used NSTools, and set it to 0, I assumed its the same with CM settings, I will try to fix it. Thanks
EDIT: OK no go, CMsettings work like that, if its set to BLD 0 its always on, NSTools looks like overrides it.

great! this is working just great. really thanks! but i don't see any problem by leaving screen density to 240 though. been opened all apps installed on my ns
quick edit: i am using CM 10 nightly

What's about the menu button? Is it build in the apps? Can I configured them?
Gesendet von meinem Nexus S mit Tapatalk 2

AzN MusiQ said:
What's about the menu button? Is it build in the apps? Can I configured them?
Gesendet von meinem Nexus S mit Tapatalk 2
Click to expand...
Click to collapse
Yes you can see the three dots in the navigation bar, and in aplications

Serris said:
Yes you are correct, I used NSTools, and set it to 0, I assumed its the same with CM settings, I will try to fix it. Thanks
EDIT: OK no go, CMsettings work like that, if its set to BLD 0 its always on, NSTools looks like overrides it.
Click to expand...
Click to collapse
I'm using a script it works like a charm with 0 if you don't use bln.
Sent from my Nexus S using xda premium

BenHeng said:
I'm using a script it works like a charm with 0 if you don't use bln.
Sent from my Nexus S using xda premium
Click to expand...
Click to collapse
So all you have to do, is disable BLN, and put below code(script) in init.d?
Code:
echo 1 > /sys/devices/virtual/misc/backlightdimmer/enabled
echo 0 > /sys/devices/virtual/misc/backlightdimmer/delay

Works for me at least
Sent from my Nexus S using xda premium

Tried the mod last night and it works! Unfortunately, my fingers are already too big for the default PDI, and reducing it to 200 won't really help me very much. Thanks for sharing this anyway. I'm sure some users have been looking for this.
Sent using the xda mobile app

apatal said:
Oh OK. So the zip turns then off already. Question though, in the BLD settings, setting it to zero turns off BLD meaning the buttons are always lighted up. I set it to 1 to turn it off almost immediately.
Sent using the xda mobile app
Click to expand...
Click to collapse
in order to turn off capacitive buttons follow these:
1. using root browser lit go to system.
2.then "usr" then " keylayout"
3. open sec_touchscree.kl > open as > text file > rb text editor
4. insert "#" in front of lines u want to make them stop working.
like
#key 158 BACK virtual
will make back button stop working.

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.

[Q] Disable softkey lights in Google Edition ROM

Hi there!
I have a general question about the Samsung Galaxy S4 Google Edition. More precisely I am using a common european Version of the i9505 with Jamals Google Edition ROM. Is there any possibility to disable the softkey lights completely like it is possible in the original Samsung software? I think they don't look really good in the SGS4 and it is annoying me. I couldn't find anything about that on Google so I'm posting it here.
I have been looking as well, but there is nothing that works, all the apps in play store are old. If I get time I'm gonna have a look myself see if I can find the code and turn em off.
Sent from my GT-I9505 using Tapatalk 4 Beta
Found out how to disable touch key backlights. Find the file in the screen shot and set the maximum brightness to 0.
Sent from my GT-I9505 using Tapatalk 4 Beta
Great job, thanks a lot! :good:
*edit: I just recognized that the settings I made for the brightness like you told me just work fine until I restart the phone. Then the touch key lights glow again. Is there a possibility to set this permanently?
Kazzor7492 said:
Great job, thanks a lot! :good:
*edit: I just recognized that the settings I made for the brightness like you told me just work fine until I restart the phone. Then the touch key lights glow again. Is there a possibility to set this permanently?
Click to expand...
Click to collapse
A mod has recently been created for this. Check here
marcadam said:
Found out how to disable touch key backlights. Find the file in the screen shot and set the maximum brightness to 0.
Sent from my GT-I9505 using Tapatalk 4 Beta
Click to expand...
Click to collapse
Anyone knows where this file is present in case of I9000 Galaxy S ? Because there is no folder called leds.

You can turn off hard keys. (sm-p600 mk1)

Sorry if this is old news but I seen a few people asking if you could disable these especially over at the clean Rom thread cause the developer included soft keys in the rom. Anyways again I'm sorry if this is old news but you go to accessibility/access control. It then walks you through a series of steps like if you want certain parts of the screen to not be affected by touch and so on. I thought this was pretty sweet. Not sure if it's for all models and firmware but worth a shot!
Sent from my SM-P600 using XDA Premium 4 mobile app
I'm on stock and I can't find Access Control in Accessibility. Is this a CleanRom only feature?
Zrutisan said:
I'm on stock and I can't find Access Control in Accessibility. Is this a CleanRom only feature?
Click to expand...
Click to collapse
No... I'm stock right now. I don't remember seeing it before so not sure how I got it there. Maybe from exposed?
Sent from my Nexus 5 using Tapatalk
Again not sure how it got here...
Sent from my SM-P600 using XDA Premium 4 mobile app
Zrutisan said:
I'm on stock and I can't find Access Control in Accessibility. Is this a CleanRom only feature?
Click to expand...
Click to collapse
It's all the way at the very bottom of Accessibility. It is listed under Recognition. Turn it on. Then hold down the home button and and volume down to enter the wizard.
It should be helpful for when I do note taking at a meeting so I don't have to worry about touching the physical buttons. But for Button Savior Pro it disables the Home, Menu and Back so it's not something I can have on all the time. Plus the notification drawer cannot be interacted with anymore while this mode is on.
Stocklone said:
It's all the way at the very bottom of Accessibility. It is listed under Recognition. Turn it on. Then hold down the home button and and volume down to enter the wizard.
It should be helpful for when I do note taking at a meeting so I don't have to worry about touching the physical buttons. But for Button Savior Pro it disables the Home, Menu and Back so it's not something I can have on all the time. Plus the notification drawer cannot be interacted with anymore while this mode is on.
Click to expand...
Click to collapse
It can if you have nova launcher pro. With a gesture. The notification drawer that is...
Sent from my Nexus 5 using Tapatalk
I can open the drawer just fine. You just can't touch any of the notifications after you open the drawer.
Stocklone said:
I can open the drawer just fine. You just can't touch any of the notifications after you open the drawer.
Click to expand...
Click to collapse
Weird... Did you x out of the past that says disable parts of the screen with touch? Wonder why it does that.
Sent from my Nexus 5 using Tapatalk

Wanam has been updated for the Note 4!

https://play.google.com/store/apps/details?id=ma.wanam.xposed&hl=en
What's New
- Some GNote4 incompatibilities fixes
- Mute some useless logs
It was already working before this update???
Some things work some don't, I still can't get skip tracks on lockscreen or the lockscreen flashlight or a couple more features to work. I guess it's just a maintenance release.
Sent from my SM-N910T using Tapatalk
Headsup doesnt work for me either.
Wifi tether is not working for me now. Neither is T-Mo hotspot.
All APN settings are now "Not Set". Ouch.
kchino said:
Some things work some don't, I still can't get skip tracks on lockscreen or the lockscreen flashlight or a couple more features to work. I guess it's just a maintenance release.
Sent from my SM-N910T using Tapatalk
Click to expand...
Click to collapse
Lock screen skip works out the box. Yours broke?
I had lock screen music controls with Google play and Spotify out if the box. Did you try to enable something that broke the default controls?
Sent from my SM-N910T using XDA Free mobile app
Yeah I've never been able to get lock screen vol to work. I'm talking about when the screen is off using the physical vol keys, not on screen controls those work fine and are not wanam related.
Sent from my SM-N910T using Tapatalk
I have this xpose too. It seems like this is a tool for any Samsung phone. I wish the make one just for the Note 4. My up vol on Flash doesnt work. It just will not let me toggle anything. Bugs.
Wanam was updated again on 11/12/14 great to see him still maintaining this. Doesn't look like anything N4 specific though.
What's New
- Fixed some status bar elements theming incompatibilities with newer TW Roms
- Add CM battery + Text size
- Fixed overlapping 2 lines date on some devices
- Many other improvements
When i press the power botton no menu shows up ohone just restarts after a min
Still no torch solution? =(
vinnyj85 said:
When i press the power botton no menu shows up ohone just restarts after a min
Click to expand...
Click to collapse
What rom are you on?
This issue is usually something to do with advanced reboot settings. I had this problem with my note 3 on Tweaked, the built-in power button settings were conflicting with my wanam power button settings. Even if you're on stock, check your advanced reboot settings in wanam.
It don't work for me, anything I can do to make it work?
Anyone know how i can change the color of nav bar?., wanam not working.. any other xposed module?.
Sent from my SM-N910T using XDA Free mobile app
egren58 said:
Anyone know how i can change the color of nav bar?., wanam not working.. any other xposed module?.
Sent from my SM-N910T using XDA Free mobile app
Click to expand...
Click to collapse
Should be called handle bar in wanam
sandman7793 said:
Should be called handle bar in wanam
Click to expand...
Click to collapse
Yes but it does not change it.
Sent from my SM-N910T using XDA Free mobile app
egren58 said:
Yes but it does not change it.
Sent from my SM-N910T using XDA Free mobile app
Click to expand...
Click to collapse
Dang!! Sorry haven't tried it since note 3. I don't use wanam anymore.
sandman7793 said:
Dang!! Sorry haven't tried it since note 3. I don't use wanam anymore.
Click to expand...
Click to collapse
Yeah i only use it for a few things only for system ui theming nothing else.
Sent from my SM-N910T using XDA Free mobile app
Use gravity box, it works

Capacitive Keys Backlight Permanently On?

Is there a kernel that allows the capacitive key backlights to be turned on at all times that the screen is on? I'm using ElementalX and I can't see anything in the settings.
I know there's an app on Play that does this but it needs to be re-enabled after every reboot.
appro77 said:
Is there a kernel that allows the capacitive key backlights to be turned on at all times that the screen is on? I'm using ElementalX and I can't see anything in the settings.
I know there's an app on Play that does this but it needs to be re-enabled after every reboot.
Click to expand...
Click to collapse
There's a setting under "Buttons" in the settings. Disable the toggle titled "Backlight". I've never had mine turn back on after I've toggled that off.
reffu said:
There's a setting under "Buttons" in the settings. Disable the toggle titled "Backlight". I've never had mine turn back on after I've toggled that off.
Click to expand...
Click to collapse
The thing is that I want them on all the time..... not off all the time.
appro77 said:
The thing is that I want them on all the time..... not off all the time.
Click to expand...
Click to collapse
Whoops, misread that, my bad. I'm not sure how to enable them all the time, maybe see if you can create a tasker profile for the app that needs to be enabled on boot.
reffu said:
Whoops, misread that, my bad. I'm not sure how to enable them all the time, maybe see if you can create a tasker profile for the app that needs to be enabled on boot.
Click to expand...
Click to collapse
Yes, that might work.
You can try Xposed + Gravitybox, but if you're willing to go that route I'd suggest running a custom ROM, because all of them have that option
appro77 said:
Is there a kernel that allows the capacitive key backlights to be turned on at all times that the screen is on? I'm using ElementalX and I can't see anything in the settings.
I know there's an app on Play that does this but it needs to be re-enabled after every reboot.
Click to expand...
Click to collapse
You may try with EX Kernel manager, setting brightness on sys/class/leds/button-backlight
I tried quickly, setting to 255 light them up and short time after screen goes off they are lightning off too, when screen goes on they are lightning up again.
Envoyé de mon ONEPLUS A5000 en utilisant Tapatalk
Sinaptik said:
You may try with EX Kernel manager, setting brightness on sys/class/leds/button-backlight
I tried quickly, setting to 255 light them up and short time after screen goes off they are lightning off too, when screen goes on they are lightning up again.
Envoyé de mon ONEPLUS A5000 en utilisant Tapatalk
Click to expand...
Click to collapse
I don't think that I'm doing this correctly. Do you mean in Tools/User Settings, then add a new setting so that I end up with " sys/class/leds/button-backlight/255" on the top line? The bottom line shows "NA".
Edit: doh.... I finally worked it out. Thanks heaps. This was exactly what I was looking for.
Mackay - how can You fix this problem?
appro77 said:
I don't think that I'm doing this correctly. Do you mean in Tools/User Settings, then add a new setting so that I end up with " sys/class/leds/button-backlight/255" on the top line? The bottom line shows "NA".
Edit: doh.... I finally worked it out. Thanks heaps. This was exactly what I was looking for.
Click to expand...
Click to collapse
How did you get this to work? I can create a sys/class/leds/button-backlight by typing it directly into the user settings but then I can't change its value (stays na). Or I can follow the path to sys/class/leds/button-backlight but then I cannot select it.

Categories

Resources