[MOD] Enable Navigation Bar Unofficial LOS15 - Xiaomi Redmi Note 3 Themes, Apps, and Mods

This mod ONLY FOR unofficial Linege OS 15 by @abhishek987
DONT TRY ON ANOTHER OREO ROM
Download Here
https://drive.google.com/file/d/0B0WG9Zf2eOC8T3diZ3VzdldyWGM/view?usp=drivesdk
Restore
https://drive.google.com/file/d/0B0WG9Zf2eOC8T2NyZkl6eDJrUGc/view?usp=drivesdk

TIPS: DISABLE CAPACITIVE BUTTON BACKLIGHT
U can disable the button backlight by modifying files at "sys/class/leds/button-backlight/brightness" and change the value to zero, but after reboot that value will revert back to default, so u have to change it manually every time the phone reboot. Or you can use app from playstore

will this disable hardware button and the button backlight?

Kuato said:
..
Click to expand...
Click to collapse
Do you know how to remap nav bar keys? I need to do "back" -vice versa- with "app_switch " (back on right of nav bar)
I tried to edit your keylayout files (Atmel_maXTouch_Touchscreen, ft5x06_ts, Generic from my phone too) and flash it but without help.
yeihang24 said:
will this disable hardware button and the button backlight?
Click to expand...
Click to collapse
Nope. Kuato build prop edit has disabling rule but it does not work. I think its because of Oreo.

BluurPL said:
Do you know how to remap nav bar keys? I need to do "back" -vice versa- with "app_switch " (back on right of nav bar)
I tried to edit your keylayout files (Atmel_maXTouch_Touchscreen, ft5x06_ts, Generic from my phone too) and flash it but without help.
Click to expand...
Click to collapse
Unfortunately to do that, u need to modify the framework, I have no time to do that sorry
yeihang24 said:
will this disable hardware button and the button backlight?
Click to expand...
Click to collapse
U can disable the button backlight by modifying files at "sys/class/leds/button-backlight/brightness" and change the value to zero, but after reboot that value will revert back to default, so u have to change it manually every time the phone reboot,

Related

[Q] Disable power button ?

Is it possible to disable power button on lockscreen ?
I prefer to wake up phone only by button menu.
On GB i edit keylayout file but on ics doesn't work
Thanks

[MOD]i9195 Disable HOME button on lockscreen(rooted stock rom)[MOD]

Hi
The main goal: disabling the home button wake on the lockscreen and every other home fuction remain the same
this solution based on this tutorial:
http://forum.xda-developers.com/showthread.php?t=2224688
you need root acces:
http://forum.xda-developers.com/showthread.php?t=2364980
Download Total Commander from Play (it's better bcose there is automatic moun/remount function )
https://play.google.com/store/apps/details?id=com.ghisler.android.TotalCommander
- allow root acces to TC
- navigate to /system/usr/keylayout
- locate and copy to safe place gpio-keys.kl and sec_keys.kl
- open the original files with TC editor (press once on the filename and choose "Edit")
- Search the following lines in gpio-keys.kl:
Code:
key 102 HOME WAKE
key 172 HOME WAKE
and delete the WAKE world and all spaces after HOME!
it should be looking:
Code:
key 102 HOME
key 172 HOME
- save gpio-keys.kl (TC do all mount-remount thing)
- Search the following line in sec_keys.kl:
Code:
key 172 HOME WAKE
and delete the WAKE world and all spaces after HOME!
it should be looking:
Code:
key 172 HOME
- save sec_keys.kl (TC do all mount-remount thing)
restart the phone and enjoy
If you're using CM, go to Settings - Display and Uncheck the second last option to achieve the same effect in a much simpler way
Whosat said:
If you're using CM, go to Settings - Display and Uncheck the second last option to achieve the same effect in a much simpler way
Click to expand...
Click to collapse
Not in 10.2?
Sent from my GT-I9195 using xda app-developers app
shayne77 said:
Not in 10.2?
Sent from my GT-I9195 using xda app-developers app
Click to expand...
Click to collapse
In 10,2 it is found in Settings - Buttons - Home button wake.
How to disable HOME button on Kitkat 4.4.2? This solution doesnt work on Kitkat anymore
Whosat said:
In 10,2 it is found in Settings - Buttons - Home button wake.
Click to expand...
Click to collapse
Same is in CM 11
Very useful tutorial. Thank you a lot. My phone used to unlock itself in my pocket and then make a call or mess up settings... S4 mini reacts to touches trough thin cloth. This wasn't problem on HTC.
Wanam xposed module can do it ss well. Obviously you need to have xposed framework installed.
Sent from my GT-P3110 using XDA Free mobile app
Not working with my AT&T S3 with stock 4.4.2 android. This is driving my nuts. There has to be a way to disable this. HELP!!!
Hi,
I've rooted my Galaxy S4 mini because the home button is turning on the screen continiously draining my battery. The root was succesfull, but i cant edit the files with Total commander. I get a 're-mount error'. Anyone know how to solve this? I'm running stock android 4.2.2.
I also tried installing Wanam Xposed and found the option, but it didn't work.
Thanks
Removing WAKE didn't help my either. I had to comment out (#) the whole line in gpio-keys.kl.
Now HOME is completely disabled and I installed Auto Hide Soft Keys to create a virtual nav bar.
On the other hand, who needs HOME
no-idea said:
Removing WAKE didn't help my either. I had to comment out (#) the whole line in gpio-keys.kl.
Now HOME is completely disabled and I installed Auto Hide Soft Keys to create a virtual nav bar.
On the other hand, who needs HOME
Click to expand...
Click to collapse
Thanks for your reaction! My problem is that i cant change the gpio-keys.kl file. I get a 're-mount error'. But maybe i will need your suggestion further on.
Hmmm, phone is rooted?
I used ES File Explorer in Root Mode, changed gpio-keys.kl file permissions to rx-rx-rx, edited the file and restored permissions to rx-r-r. After a reboot, HOME was disabled.
no-idea said:
Hmmm, phone is rooted?
I used ES File Explorer in Root Mode, changed gpio-keys.kl file permissions to rx-rx-rx, edited the file and restored permissions to rx-r-r. After a reboot, HOME was disabled.
Click to expand...
Click to collapse
Yes the phone is rooted. I checked it with root checker. Maybe i need to change the the file permissions. How can i do this? With ES file explorer?
Do you use stock android ?
Yes I'm on stock rom.
Open ES Explorer and go to Tools. Switch on Root Explorer. Mark the file and change the permissions via More > Properties. Just add the middle and lower check on the right side.
Now edit the file and change the permissions back.
I am able to save the file now, but the home button is still functioning. I commented out the lines with HOME in gpio-keys.kl and rebooted. But still the screen keeps turning on because of the home button.:crying:
In reverse?
Anyone know if the opposite variation on this is possible?
I.e., I'd like to be able to use the home button to wake my phone up, but not to take me to the home screen, simply to turn the screen on so I can continue with whatever app I'm currently using, such as gps... (if it can carry on working as home button when the screen is already on, that would be fine).
Using the side power button can sometimes be a hassle and I'd like a way to simply turn the screen on quickly. I'm also on CM not stock though...
Thanks!

[MOD] Menu key -> App Switch/Recents

Flashable zips to change the hardware menu key to app switch/recents.
Method is simply to replace MENU with APP_SWITCH in Generic.kl
Tested with TWRP and Google Edition 4.4.2/Hyperdrive RLS15 4.3.
You will lose access to settings menus, so use your preferred alternative method to access them. I use Gravitybox to set long press on recents key to menu. You need to change settings for recents key, not menu key in Gravitybox/whatever you use.
Mostly just for convenience since I always do this when flashing roms anyways and I think it's ridiculous to have to hold the middle button for 2 seconds to switch apps. I just add menu_switch to queue after whatever rom zip I'm flashing.
Attached:
menu_switch.zip - changes menu key to app switch/recents key
menu_revert.zip - reverts changes

[Q] How to add Soft keys (Menu ,Home & Back Button) in android 4.2.1 jeely bean?

Hi I am a 4.2.1 Jelly Been user. & my Hardwere keys( Menu Key , Home Button ,& Back Key) are not working anymore.
but my screen works fine.
Can any one tell me how to add soft keys on screen without rooting my device?
I am using apps from google play which can enable Home & Back soft key without rooting my device.
But i dont want to use any app like that because it prob a lot.
How to add these three keys without using any app from play store?
can anyone tell me the coding ? & how to do it ?
& will be great if the menu key is also be enable on screen with out rooting my device.
I have seen post which tells how to enable the on-screen navigation buttons but it required root.
Please somebody help me out.
Home & Back button code will be fine too if without root.
& will be great if with menu key.
i will appreciate your help:good:
Thanks in Advance :angel:
Sankha1 said:
Hi I am a 4.2.1 Jelly Been user. & my Hardwere keys( Menu Key , Home Button ,& Back Key) are not working anymore.
but my screen works fine.
Can any one tell me how to add soft keys on screen without rooting my device?
I am using apps from google play which can enable Home & Back soft key without rooting my device.
But i dont want to use any app like that because it prob a lot.
How to add these three keys without using any app from play store?
can anyone tell me the coding ? & how to do it ?
& will be great if the menu key is also be enable on screen with out rooting my device.
I have seen post which tells how to enable the on-screen navigation buttons but it required root.
Please somebody help me out.
Home & Back button code will be fine too if without root.
& will be great if with menu key.
i will appreciate your help:good:
Thanks in Advance :angel:
Click to expand...
Click to collapse
try the link
http://forum.xda-developers.com/nexus-s/development/mod-softkeys-ics-jb-roms-t1918632
Vaibhav Chauhan said:
try the link
http://forum.xda-developers.com/nexus-s/development/mod-softkeys-ics-jb-roms-t1918632
Click to expand...
Click to collapse
He said without root, and for this package, you need to flash a .zip which requires root.
If you have root, the easier way without any apps is this:
http://forum.xda-developers.com/showthread.php?t=2032117
I can't find any way to enable them without root. Sorry.
AAbounegm said:
He said without root, and for this package, you need to flash a .zip which requires root.
If you have root, the easier way without any apps is this:
http://forum.xda-developers.com/showthread.php?t=2032117
I can't find any way to enable them without root. Sorry.
Click to expand...
Click to collapse
there is a another way by application called softkey enabler works without rooting and this is the easiest way
you can find it on play store
Vaibhav Chauhan said:
there is a another way by application called softkey enabler works without rooting and this is the easiest way
you can find it on play store
Click to expand...
Click to collapse
The only one I found with this name is this: https://play.google.com/store/apps/details?id=com.fatedevgroup.softkeyenabler
And it says it requires root.
AAbounegm said:
The only one I found with this name is this: https://play.google.com/store/apps/details?id=com.fatedevgroup.softkeyenabler
And it says it requires root.
Click to expand...
Click to collapse
i am also talking about that app but i did't see it require root
Thanks you guys so much for replying.. :angel::good:
But there are others apps too which can provide soft keys without root (Home & back button only)
like
1) Back button ( https://play.google.com/store/apps/details?id=com.appspot.app58us.backkey&hl=en )
2) Virtual Button non ROOT for JB ( https://play.google.com/store/apps/details?id=jp.ne.neko.freewing.VirtualButton )
3) Button Savior Non Root ( https://play.google.com/store/apps/details?id=com.smart.swkey.nonroot&hl=en )
I was wondering if a app can provide soft Back & Home keys without any root (like the apps i mentioned above) then there must be some ways to do so by coding & by not using these apps.
like this one u guys mentioned. http://forum.xda-developers.com/showthread.php?t=2032117 , but unfortunately it required root which i dont wanna do because i don't want my device to be vulnerable.
so plz if anyone know the coding of even Home & Back soft keys plzz plzzz plzz tell me. because i really need it ,
Because my awesome Hard keys is dead. & without these keys my phone is useless.:crying:
BTW again Thank you guys very much for replying :good::angel:
Sankha1 said:
Thanks you guys so much for replying.. :angel::good:
But there are others apps too which can provide soft keys without root (Home & back button only)
like
1) Back button ( https://play.google.com/store/apps/details?id=com.appspot.app58us.backkey&hl=en )
2) Virtual Button non ROOT for JB ( https://play.google.com/store/apps/details?id=jp.ne.neko.freewing.VirtualButton )
3) Button Savior Non Root ( https://play.google.com/store/apps/details?id=com.smart.swkey.nonroot&hl=en )
I was wondering if a app can provide soft Back & Home keys without any root (like the apps i mentioned above) then there must be some ways to do so by coding & by not using these apps.
like this one u guys mentioned. http://forum.xda-developers.com/showthread.php?t=2032117 , but unfortunately it required root which i dont wanna do because i don't want my device to be vulnerable.
so plz if anyone know the coding of even Home & Back soft keys plzz plzzz plzz tell me. because i really need it ,
Because my awesome Hard keys is dead. & without these keys my phone is useless.:crying:
BTW again Thank you guys very much for replying :good::angel:
Click to expand...
Click to collapse
for enabling soft buttons via coding you need to edit system files which require root so you can not add softkeys by coding without root
Vaibhav Chauhan said:
for enabling soft buttons via coding you need to edit system files which require root so you can not add softkeys by coding without root
Click to expand...
Click to collapse
I understand but then how these apps like "Back Button" doing this without rooting my phone.
i did not root my phone till now & used black button app.
& it can creat Home & Back soft keys on my screen without rooting.
If a app can creat Home & Back Button with out root then it could be done by coding too?
Sankha1 said:
I understand but then how these apps like "Back Button" doing this without rooting my phone.
i did not root my phone till now & used black button app.
& it can creat Home & Back soft keys on my screen without rooting.
If a app can creat Home & Back Button with out root then it could be done by coding too?
Click to expand...
Click to collapse
please explain how you will done it by coding
Vaibhav Chauhan said:
please explain how you will done it by coding
Click to expand...
Click to collapse
This is what i have asked too...
how to do it by coding?
if a app can do it without rooting my phone then how to do it?
Sankha1 said:
This is what i have asked too...
how to do it by coding?
if a app can do it without rooting my phone then how to do it?
Click to expand...
Click to collapse
if you want to edit system file to coding you need root
without root it can not done
Vaibhav Chauhan said:
if you want to edit system file to coding you need root
without root it can not done
Click to expand...
Click to collapse
Oke i will root my phone then ..
so can you tell me how to add menu soft key by coding?
please describe the process..
Sankha1 said:
Oke i will root my phone then ..
so can you tell me how to add menu soft key by coding?
please describe the process..
Click to expand...
Click to collapse
in this link
http://forum.xda-developers.com/showthread.php?t=2032117
Vaibhav Chauhan said:
in this link
http://forum.xda-developers.com/showthread.php?t=2032117
Click to expand...
Click to collapse
Well Thanks a lot..
Well Finally i Root my phone using Framaroot-1.9.1 .apk. & Does As Describe Below :
1) open Es file explorer.
2) go to system & open "build.prob" with text editer.
3) & in the buttom of file i put this value qemu.hw.mainkeys=0 & save & exit.
4) shut down my phone & on again.
But the ****ing Navigation bar did not appear.
I repeat this above step 10 time & shut down my phone & on again but still this ****ing Navigation bar did not appear.
can anybody tell me why?
i am using a karbonn titenium s2 white model.
Sankha1 said:
Well Finally i Root my phone using Framaroot-1.9.1 .apk. & Does As Describe Below :
1) open Es file explorer.
2) go to system & open "build.prob" with text editor.
3) & in the bottom of file i put this value qemu.hw.mainkeys=0 & save & exit.
4) shut down my phone & on again.
But the ****ing Navigation bar did not appear.
I repeat this above step 10 time & shut down my phone & on again but still this ****ing Navigation bar did not appear.
can anybody tell me why?
i am using a karbonn titanium s2 white model.
Click to expand...
Click to collapse
I found 2 solutions for your problem:
1- Try adding "ro.show.navigationbar=0" instead of "qemu.hw.mainkeys=0" (without the quotation marks ). But first make sure that they aren't present in the beginning. (Got this from: http://bit.ly/1sosAta )
2- The other way is by flashing a .zip file made by an XDA member and he posted it on this thread: http://forum.xda-developers.com/galaxy-s3/themes-apps/mod-enable-screen-nav-soft-keys-t1918166
Here is the download link: http://nrecom.net/downloads/summary/11-navbar/189-nav-universal-aroma-16
Try this. I hope I helped
AAbounegm said:
I found 2 solutions for your problem:
1- Try adding "ro.show.navigationbar=0" instead of "qemu.hw.mainkeys=0" (without the quotation marks ). But first make sure that they aren't present in the beginning. (Got this from: http://bit.ly/1sosAta )
2- The other way is by flashing a .zip file made by an XDA member and he posted it on this thread: http://forum.xda-developers.com/galaxy-s3/themes-apps/mod-enable-screen-nav-soft-keys-t1918166
Here is the download link: http://nrecom.net/downloads/summary/11-navbar/189-nav-universal-aroma-16
Try this. I hope I helped
Click to expand...
Click to collapse
Thank You but i got another problem now, & i think big one!
after trying so many time the 1st process i describe above & failed ,
I overwrite the "build.prob" file with a "build.prob" file which i manually copy using Es file explorer before rooting my device from SD Card.
But Before i overwrite i again edit the back up file & put this value qemu.hw.mainkeys=0 in it , & Then overwrite it.
& Then I unchecked "Quick Boot " Option In settings & shut down my phone & try to turn it on again but since then my phone is not starting. though the starting animation are playing at the moment i turn it on but freeze then, at the end of the starting animation.
I open boot loader by pressing Volume down + Power key together until the boot menu appear & Clear "eMMC" 3 times & reboot . but nothing happened.
Can u tell me what the hell happened with my phone? & How can i make it work again?
Sankha1 said:
Can u tell me what the hell happened with my phone? & How can i make it work again?
Click to expand...
Click to collapse
It's boot looping because you've done something wrong, so if you don't have CWM and a backup installed you'll have to reflash your device. You'll have to check your devices forum for help with that.
XperienceD said:
It's boot looping because you've done something wrong, so if you don't have CWM and a backup installed you'll have to reflash your device. You'll have to check your devices forum for help with that.
Click to expand...
Click to collapse
But what did go wrong? I did not flash any custom rom . Neither i delete any system file . I did successfully root my phone.
& checked it with "Root Checker" apps too.
Then what goes wrong?
& how to reflash my device?

Swap capacitive button "back" and r"recent apps"

Hi,
I have the Phhusson treble AOSP rom V22 on my device (honor 9 STF-L09).
I have hidding the softkey by modifying the build prop "qemu..."
Now i try to switch/swap the both capacitive buttons. I want my back (left) to become recent apps and so on.
I tried the adb shell method "space,recent;home...." this works for the softkey but not for the capacitive hardware key.
Does someones know how to do this ? some roms have this option i guess it exist !
Thansk for help.
Aqwel said:
Hi,
I have the Phhusson treble AOSP rom V22 on my device (honor 9 STF-L09).
I have hidding the softkey by modifying the build prop "qemu..."
Now i try to switch/swap the both capacitive buttons. I want my back (left) to become recent apps and so on.
I tried the adb shell method "space,recent;home...." this works for the softkey but not for the capacitive hardware key.
Does someones know how to do this ? some roms have this option i guess it exist !
Thansk for help.
Click to expand...
Click to collapse
What about to edit Generic.kl file (/system/usr/keylayout) - try to find APP_SWITCH for recents and BACK for back, but double check it, please.
Regards.
modest.young said:
What about to edit Generic.kl file (/system/usr/keylayout) - try to find APP_SWITCH for recents and BACK for back, but double check it, please.
Regards.
Click to expand...
Click to collapse
Damn thank you ! i tried that Method before but i was looking for RECENT_APPS OR RECENT_ACTIVITY cam't find the right key.
What do you mean double check it ?
For those who search the right back is on key 158 and switch apps on 580.
Aqwel said:
What do you mean double check it ?
Click to expand...
Click to collapse
I wrote it based on RROS treble ROM so, I'm not sure with the right file names on stock ROM.
guestx00130 said:
Damn thank you ! i tried that Method before but i was looking for RECENT_APPS OR RECENT_ACTIVITY cam't find the right key.
What do you mean double check it ?
For those who search the right back is on key 158 and switch apps on 580.
Click to expand...
Click to collapse
Please tell me how did you do the swap buttons, by adb commands ? Please explain what command lines for adb.

Categories

Resources