[MOD]i9195 Disable HOME button on lockscreen(rooted stock rom)[MOD] - Galaxy S 4 Mini Themes and Apps

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!

Related

[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?

[Q] Lockscreen, Home & Recent Apps Button Not Working

Hi, I'm using sony xperia Z1 C6903, now the home and recent apps button on my phone is not working, I pressed but nothing happen, same with the lockscreen, even I set to PIN lock, after I unlock the screen, there is no PIN lockscreen, so my phone cannot be locked. I clear dalvik cache and wipe cache partition in recovery, but the problem did not disappear. How to fix this? Even in safe mode the button is not working too.
I'm using kitkat 4.4.2 14.3.A.0.757
and I found this on xda too, but my button still not working, the only working is the back button and menu.
for all those like me who have problems with the Home key (disappeared after flashing ROM or kernel), with the lockscreen and the poweroff button, and don't know how to use the ADB shell, here's a simple solution:
1) take the apk SQLite Editor from the Market;
2) using any root manager (I use Root explorer) follow this path: /data/data/com.android.providers/settings/databases/settings.db and open .db file with Sqlite;
3) select ''secure''
4) create a new record;
5) type device_provisioned (on name)
6) type 1 (on value)
7) reboot
Click to expand...
Click to collapse
up.. up.. up..

Is there a .zip to revert the home / menu

Is there a zip to put the Menu / Home buttons back to what they were on the s3 s4? I use apps that dont have a menu tap here button. I need the the original menu button.
Thanks in advance.
If you are rooted check out this post to see what would need to be changed
http://www.droidforums.net/threads/...menu-and-long-press-home-with-recents.269115/
a zip might be problematic as it might be dependent on the rom you are running.
An even easier way is to download gravity box and set the keys as you wish.
Isn't the default hold action on the "App switcher" (left) icon going directly to settings?

recent app softkey goes crazy

in the last month, i have g925f rooted , 5.1.1, sometimes (offten!) ) recent app softkey start random and open double window, recent apps.... i try to hibernate some apk but nothing.... i try also to clear cache...but nothing. In safe mode everithng works fine. i have only the last chance to clean all my data, but i read that this don't fix the problem.
it's very annoyng when you write and random the left soft key start to work itself......
any solution?
thank U!
i made all kind of reset, but nothing change, sometime i have a "crazy" soft button that start to work like a spirit! or stop to work.
i tried also "safe mode" and a little less, but same (random) problem!
The only way, i find, before to go to assistance (or to put in the garbage!!!) is to disable the softkey.
i find this on xda:
Use a root explorer (I used X-plore with root enabled).
Go to
/system/usr/keylayout/Generic.kl
Backup file Generic.kl ( copy it as a .bk or something )
Then open the file Generic.kl using the text editor within X-plore.
Then find the word APP_SWITCH linking with the code number (mine is key 254), change APP_SWITCH to MENU. Then reboot and your are done. The Recent Apps button is now back to being a Menu button. Life is great.
http://forum.xda-developers.com/gala...t3084638/page4
put"#" before key 254 and the key stop to exist, and stop to crash my balls
if someone has a different way to fix is wellcome for me.
thanks!

[MOD] Enable Navigation Bar Unofficial LOS15

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,

Categories

Resources