Home button - Galaxy S 4 Q&A, Help & Troubleshooting

Hello,
Can I disable the home button for activity so it doesn't wake up the phone?
Just the power button hqs to wake up the phone.
Any ideas?
thx a lot!!!
--- Send from my phone ---
GRTZ FROM BELGIUM! Danny Schaukens Service.

1) Open Root Explorer
2) Navigate to: /system/usr/keylayout/
3) Press 'Mount R/W'
4) Long hold 'gpio-keys.kl' and choose "Open in Text Editor"
5) Remove "WAKE" from the line "key 172 HOME WAKE"
6) Back out, Save, Reboot

vpwrf said:
1) Open Root Explorer
2) Navigate to: /system/usr/keylayout/
3) Press 'Mount R/W'
4) Long hold 'gpio-keys.kl' and choose "Open in Text Editor"
5) Remove "WAKE" from the line "key 172 HOME WAKE"
6) Back out, Save, Reboot
Click to expand...
Click to collapse
TOP!!! :good::good:
THX FOR THE INFO!
Grtz!

Related

Creating apk and obex list.

Things you need:
Windows computer
Android SDK (on the root of your C:\ drive)
A phone running Android (duh)
Your SDcard inseterd into the phone
USB charge/data cable that came with the phone
A few mins of your time
The purpose of this is to show you how to create a text file listing the applications in the '/system/app' directory. This is where the apk and obex(program) files are located. There are so many in there it's nice to have a list so you can pick and choose which ones you want to remove OR move to your SDcard incase you want them later.
When I downloaded the SDK from Androids site I just extracted it and renamed it sdk and placed it in the root of my C: drive. Open a CMD window or terminal and change to 'c:\sdk\tools' directory.
With the phone powered off plug it into the computer with the USB cable. Hold the POWER button + VOL DOWN while the phone turns on. Choose RECOVERY, when it appears, with the VOL DOWN key and tap POWER. Again with VOL DOWN choose 'partition menu' and press in the OPTICAL MOUSE button. Using the VOL DOWN key you want to highlight '-mount /system' and
'-mount /sdcard' using the OPTICAL MOUSE button to choose each one so they should change to '-unmount /system' and '-unmount /sdcard'.
At this point focus your attention back to the terminal or command window that should be sitting at the 'c:\sdk\tools' prompt. Type in 'adb shell' and press enter. Leave off the ' in the command. Once it connects to your phone change directory to the '/system/app' folder by typing this out...
#cd /system/app/ <hit enter>
Now type
#ls > /sdcard/applist.log
That's it! You should now have a log file on your sdcard. It's so much easier than reading the screen and making a quick decision to remove something that might be bugging you now when you MIGHT need it later. Hope this helped someone!
Once the command is finished (it only takes a second or two) unmount the SDcard and /system folder and reboot your phone.
Snickasaurus said:
Things you need:
Windows computer
Android SDK (on the root of your C:\ drive)
A phone running Android (duh)
Your SDcard inseterd into the phone
USB charge/data cable that came with the phone
A few mins of your time
The purpose of this is to show you how to create a text file listing the applications in the '/system/app' directory. This is where the apk and obex(program) files are located. There are so many in there it's nice to have a list so you can pick and choose which ones you want to remove OR move to your SDcard incase you want them later.
When I downloaded the SDK from Androids site I just extracted it and renamed it sdk and placed it in the root of my C: drive. Open a CMD window or terminal and change to 'c:\sdk\tools' directory.
With the phone powered off plug it into the computer with the USB cable. Hold the POWER button + VOL DOWN while the phone turns on. Choose RECOVERY, when it appears, with the VOL DOWN key and tap POWER. Again with VOL DOWN choose 'partition menu' and press in the OPTICAL MOUSE button. Using the VOL DOWN key you want to highlight '-mount /system' and
'-mount /sdcard' using the OPTICAL MOUSE button to choose each one so they should change to '-unmount /system' and '-unmount /sdcard'.
At this point focus your attention back to the terminal or command window that should be sitting at the 'c:\sdk\tools' prompt. Type in 'adb shell' and press enter. Leave off the ' in the command. Once it connects to your phone change directory to the '/system/app' folder by typing this out...
#cd /system/app/
Now type
#ls > /sdcard/applist.log
That's it! You should now have a log file on your sdcard. It's so much easier than reading the screen and making a quick decision to remove something that might be bugging you now when you MIGHT need it later. Hope this helped someone!
Once the command is finished (it only takes a second or two) unmount the SDcard and /system folder and reboot your phone.
Click to expand...
Click to collapse
Very usefulfor people who like the "de-sensed" route.
Sent from my ADR6300 using XDA App
Thank you. I thought it would be useful to some. After seeing 80+ have viewed this threat I feel it may have been a waste of time but perhaps someone will learn something from it.

free sim unlock

I9000 unlock instructions
1. Power on the phone and go to Applications->Settings->About Phone->USB
settings
2. Select Mass Storage
3. Connect the phone to USB cable
4. Swipe down the top notification bar then tap “USB Connected” then select
MOUNT
5. Copy update.zip file to phone mass storage root
6. Power off the phone
7. Press Volume Up+Home+Power on key to start the phone into recovery
mode
8. Go to “apply sdcard:update.zip” using volume keys then select it using
home key
9. Power on the phone then go to Andoid Market and install Terminal
Emulator
10. Run Terminal Emulator
11. Type cat /efs/nv_data.bin >> /sdcard/nv_data.bin into terminal then type
Enter
12. Connect the phone to PC in USB Storage Mode then copy nv_data.bin file
to your pc
13. Open nv_data.bin file with any hex editor (ex. Hex workshop) then go to
address 00181460
14. There are the codes
15. Power on the phone with any unaccepted sim card inside then type in the
first code to unlock the phone
http://www.mediafire.com/?3v6vsqh9qorrwn2
http://www.mediafire.com/?o8djyf4moc9ae44
use thanks button
http://forum.xda-developers.com/showthread.php?t=762384
This is a double post.
And there is no 'thanks' button
Tyxerakias said:
And there is no 'thanks' button
Click to expand...
Click to collapse
Maybe he copy-pasted from a forum that has one?
I am following 100% tutorial but I am unable to unlock my I9000. Look at the screenshot for the error that I encounter.
I have put the update.zip in root of phone memory, root of MicroSD etc but no chance. Do I need to root the phone or what's the problem?
Thanks
Hi,
I have a NSPRO box and read the unlock code, but as I insert it, it doesn't unlock the phone.
As this didn't work, I tried your method, and the code that showes up is the same as read by NSPRO box, and... it still doesn't work.
Attached is the printscreen of the HEX area where the code is. I've noticed it says "18146D" and not "181460" as your indicated. Could this be the reason why the code doesn't work?
Please help...

Softkeys in 1.2 rooted (MN 4.5.6)

Before the 1.2 update in rooted 1.1 pressing n-button twice would always bring up softkeys, so I didn't have to have that annoying button on the screen. With 1.2 rooted with MN 4.5.6 pressing n-button twice bings up softkeys only in apps that aren't full screen. Full screen apps don't seem to respond to that and simply exit (or whatever their handler for "home" does) on the first n-key press. The only way around that that I found is to have that annoying button up on the screen which seems to work.
Did anyone else encounter this? Is there any kind of a workaround? It is quite annoying to have that button up there when watching videos, etc.
Thanks
My understanding is that B&N changed the home button so it's just a 'back' action now. That being the case, I don't know why you would need softkeys anymore. You can always swipe right to left on the status bar to go back as well.
doncaruana said:
My understanding is that B&N changed the home button so it's just a 'back' action now. That being the case, I don't know why you would need softkeys anymore. You can always swipe right to left on the status bar to go back as well.
Click to expand...
Click to collapse
There is no status bar in a full screen app, and I typically want to hit menu or back.
Reprogramming the Vol+/- keys
mkhuh said:
There is no status bar in a full screen app, and I typically want to hit menu or back.
Click to expand...
Click to collapse
There is an easy mod to edit a couple keylayout files to replace the vol +/- button functions with "back" and "menu" functions. Further, if you can boot a rooted SDcard containing ADB support (or have Connectbot installed), you can do the mod without even rooting.
I have gotten so used to this mod that it's hard to imagine being without it:
For replacing vol+/- with "back"/"menu" (v1.2) on a rooted NC w/ ADB access:
1. cd /system/usr/keylayout
2. mv qwerty.kl qwerty.kl.org
3. mv twl4030-keypad.kl twl4030-keypad.kl.org
4. exit
5. adb pull /system/usr/keylayout/qwerty.kl.org c:\qwerty.kl
6. adb pull /system/usr/keylayout/twl4030-keypad.kl.org c:\twl4030-keypad.kl
On your PC, edit the two ASCII files just "pulled" to replace functions for keys 114 and 115 with "BACK" and "MENU".
1. adb push c:\qwerty.kl /system/usr/keylayout/qwerty.kl
2. adb push c:\twl4030-keypad.kl /system/usr/keylayout/twl4030-keypad.kl
3. adb shell
4. chmod 644 /system/usr/keylayout/*.kl
5. exit
DeanGibson said:
There is an easy mod to edit a couple keylayout files to replace the vol +/- button functions with "back" and "menu" functions. Further, if you can boot a rooted SDcard containing ADB support (or have Connectbot installed), you can do the mod without even rooting.
I have gotten so used to this mod that it's hard to imagine being without it:
For replacing vol+/- with "back"/"menu" (v1.2) on a rooted NC w/ ADB access:
1. cd /system/usr/keylayout
2. mv qwerty.kl qwerty.kl.org
3. mv twl4030-keypad.kl twl4030-keypad.kl.org
4. exit
5. adb pull /system/usr/keylayout/qwerty.kl.org c:\qwerty.kl
6. adb pull /system/usr/keylayout/twl4030-keypad.kl.org c:\twl4030-keypad.kl
On your PC, edit the two ASCII files just "pulled" to replace functions for keys 114 and 115 with "BACK" and "MENU".
1. adb push c:\qwerty.kl /system/usr/keylayout/qwerty.kl
2. adb push c:\twl4030-keypad.kl /system/usr/keylayout/twl4030-keypad.kl
3. adb shell
4. chmod 644 /system/usr/keylayout/*.kl
5. exit
Click to expand...
Click to collapse
Thanks. I realize I can remap the volume buttons, but I just really liked how you could simply double click the n-button before. I guess something about 1.2 update or the MN changed that behavior from before and I guess there is no known way to get that back. Thanks again for your help.

[Guide]How to disable the home key button at screen off [Root Required]

Here is a little guide on how to disable the screen from turning on in your pocket by accidentally clicking the home key. Which can set off unwanted calls/txts/homescreen changes/etc.
Perhaps there is an easier way, but this works for me, and sharing is caring
There I obtain a copy of Root Explorer, its easy for me to do. For those of you who are too cheap, scroll a bit further down this post, both methods require, obviously, root access:
I have no idea if there are free programs with the same usabilities as root explorer
Method with Root Explorer (or similar?)
Open Root Explorer
Go to /system/usr/keylayout
Click on the button ‘Mount R/W’ (upper right)
Locate, press and hold es209ra_keypad.kl file
Select ‘open in text editor’
Find this line:
key 102 HOME WAKE_DROPPED
Remove the WAKE_DROPPED, so that the end result is:
key 102 HOME
Save the file
Reboot
Done
Method without Root Explorer
You need a little understanding of adb.exe
Typ in cmd.exe:
adb pull C:\es209ra_keypad.kl /system/usr/keylayout/
Go to C:\ and open es209ra_keypad.kl in wordpad
Change:
key 102 HOME WAKE_DROPPED
to:
key 102 HOME
Save the file
Typ in cmd.exe:
adb shell
#su
#mount -o rw,remount -t yaffs2 /dev/block/mtdblock2 /system
(ONLY if you got an error, while trying to remount)
[*]Typ in adb shell:
[*]#cat /proc/mounts
[*]and search for 'system' in the mount list to check correct path for ‘/dev/block/mtdblock2 /system’. If it differs, alter the above line.
Typ in adb shell:
#exit
adb push C:\es209ra_keypad.kl /system/usr/keylayout/
Reboot your phone
This should work... if it doesn't, just leave a comment, and I'll probably try to help you.. that is, if I'm in a good mood..
I attached my es209ra_keypad.kl, just for reference purposes I guess, or for people who are too shy to pull stuff from their phone.
thanks for this!! i have been after a few key tweaks for a while!! don't suppose you have any idea how to make the back key "kill" foreground app!!
2.1 optimised 2.1.67
good idea
thanks for sharing this
[Q] Disable wakeup using home button? [SOLVED]
Use Search next time
prewed said:
[Q] Disable wakeup using home button? [SOLVED]
Use Search next time
Click to expand...
Click to collapse
Aren't you just mister friendly? Thank god we got guys like you on this forum, otherwise this place would be fun.
I did use search, so unfortunately for you. I could not find a correct guide explaining step by step how to do it WITHOUT root explorer
xx
[email protected] said:
thanks for this!! i have been after a few key tweaks for a while!! don't suppose you have any idea how to make the back key "kill" foreground app!!
2.1 optimised 2.1.67
Click to expand...
Click to collapse
no problem, ill try to find out if it is possible in 2.1, i think its in the framework though. It's already embedded in 2.2 and 2.3 (long press back), so you can try a custom ROM ?

How I rooted the SM-G360P

I am posting this cause it took hours of trying everyone rooting method. This is the only way I got it
to work.
After reading through a couple more forums I found that it was the Samsung Reactivation
Lock that was blocking me. Upon booting the phone, going into Apps > Setttings > Security
and then typing in my samsung account password I was able to disable the lock
and then Download mode allowed me to root everything successfully and don't forget to turn off verify apps.
Make sure usb debugging is turned on.
Do this by going to setting,about Device,
and clicking on build number seven time.
exit about Device then you should see Developer option to get to USB debugging.
Make sure your battery is Full.
Power off phone.
Hold Home,volume down, and power button down at once until phone vibrate. You
should see a screen that say hold volume down to reboot or volume up to continue
push volume up.
Run odin_3.12.3 as administrator
Select ap
Then selct file G360PVPU2AOH1_G360PSPT2AOH1_G360PVPU2AOH1_HOME.tar
click start.
After restart verify your Software version number is G360PVPU2AOH1.
If it is use kingroot app to root.
After you have root use the mrw guide link or the
supersu-me app to get rid off kingroot su and install super su.
I did the mrw guide.
1)Install terminal emulator.
2)Copy and paste mrw folder onto sdcard and device/phone storage
3)Open terminal emulator and type: su
4)Grant root permission
5)Now type sh /sdcard/mrw/root.sh
6)You should now see a new super user app after all said and done.
Make sure your battery is Full.
Power off phone.
Hold Home,volume down, and power button down at once until phone vibrate. You
should see a screen that say hold volume down to reboot or volume up to continue
push volume up.
Run odin_3.12.3 as administrator
Select ap
Then selct file TWRP-2.8.7.0-S820L
click start
You should now a have a new recovery by Power off phone.
Hold Home,volume Up, and power button down at once until phone vibrates.
I have attached all the file needed to do this.
https://www.mediafire.com/?eso4gaiv92v0ggl
Hope this Helps every one.
I also would like to thank all the people who I have found the files from. Without them this wouldn't of been possible.

Categories

Resources