Stop Home key from waking screen - Galaxy S III General

**Must have root**
As the title says, stop your home key from waking your device.....(then only power button wakes it up )
you can do this simply with root explorer
(THERE ARE OTHERS TO USE MAYBE EVEN FREE, THIS IS ALL I HAVE EVER USED IS ALL)
ONLY MODIFY THE FILE SPECIFIED!
OR PLAY AROUND AT YOUR OWN RISK AS NOTHING OTHER THAN MENTIONED FILE IS TESTED....
open root explorer
navigate to : system/usr/keylayout
now press the mount r/w button near the top of screen to enable read and write permissions
scroll down to: sec_keys.kl
press and hold until menu pops up, select: Open in Text Editor
locate line: key 172 HOME WAKE
tap behind the word WAKE and delete it so you see: key 172 HOME
press menu and select: Save and Exit
now press the button at the top of the screen to disable read and write permissions: Mount R/O
(once pressed should now read : Mount R/W again.
Exit root explorer
Reboot your phone
see if it works
Credit goes to Eric

I don't have that file in /system/usr/keylayout, i have wanamlite 1.8 rom.

Thank you very much!
This works on my T999 (TMO SIII)

Where is this mysterious keyboard layout file on a STOCK rom?
EDIT: nvm got it I suppose it's gpio-keys.kl

Related

how to change lcd density?

any idea how to change lcd density as this app is not working (matt 1.6b)
http://forum.xda-developers.com/showthread.php?t=765639
thx
get a file manager with root access (open root explorer) and enter /system category and tap on it.
tap the button at the top of the screen that says "mount R/W".
now long press on your build.prop and select Open In Text Editor.
now search the line with the lcd sensity. you have to edit the number after the "=".
example:
ro.sf.lcd_density=161
chugga said:
get a file manager with root access (open root explorer) and enter /system category and tap on it.
tap the button at the top of the screen that says "mount R/W".
now long press on your build.prop and select Open In Text Editor.
now search the line with the lcd sensity. you have to edit the number after the "=".
example:
ro.sf.lcd_density=161
Click to expand...
Click to collapse
Whilst it's great that you're actually helping people in order to get your 10 posts, please do it on the newer threads rather than ones from August 2010, and the off-topic forums are also great for getting 10 posts.

LCD Density changer - Not saving after reboot

Hi all,
Just wondered if anyone had any joy with the LCD Density changer remembering your updated density after a reboot.
If I re-power the device, it always returns to the stock 240 despite me clicking "Save" at 180.
It's getting slightly frustrating as the reason I paid for the app was to avoid having to re-do it everytime.
Anyone had any success getting it to remember? I rooted via Z4root, so I'm not sure if it's related to this method of rooting?
Thanks in advance.
If not, can someone tell me a step by step guide on how to hard-edit the density? - Thanks!
You have to go to settings and select "Save density as system density", then go back and save again on main screen.
You see a message saying it was saved as system settings and well keep after reboot or something similar.
all the best,
Joao.
awsome
I just did the exact same thing, also using z4root Only I also pressed the physical menu button while inside the lcd density changer app --> settings --> set saved density as system density ..or something like that (I don't have my tab with me atm). I hope this was helpful
Cheers guys - sorted at last. Much appreciated.
Hope the Galaxy Tab gets some love with some custom ROMs soon. Seems the Advent Vega is getting all the attention at the moment when I feel that the Samsung, with a few tweaks and bloatware gone - could be even more impressive than it is now!
Cheers all!
also, be sure to choose the permanent root option in z4root, or else your root will disappear on reboot
Any good screenshots where you guys take advantage of a higher density on the tab? (Sorry if OT)
Mate - just edit the build.props file in the system folder using root explorer or whatever
I have mine set for 200 and theres no need to muck about with apps of any kind... literally, just change 2 letters and youre good to go:
1. Download and install Root Explorer from Android Market.
There are other file managers for root users available, but this is one I use and what the rest of this tutorial is based on.
2. Open Root Explorer on your Tab, scroll to the bottom, and tap the system folder.
3. Tap the Mount R/W button at the top of the screen to gain read-write access to the files.
4. Long press on the build.prop item in the list.
5. Select Open in Text Editor from the pop-up menu that will appear.
6. Locate the line that reads ro.sf.lcd_density = 240. Delete “240″ and input another value in its place.
7. Tap the Menu button on the Tab.
8. Tap Save & Exit from the toolbar that will appear on the bottom of the screen. A backup of the original build.prop will be created automatically.
9. Tap the Mount R/O button at the top of the screen to return to the previous read-only state.
10. Exit Root Explorer and reboot the Tab to see the changes.
11. Repeat steps 2-10 as needed. Set the density to 240 to go back to the stock DPI.

[HOWTO] Remap Hardware Buttons

When you move your software buttons to status bar, there is a problem with apps that cover full screen and don’t have “menu” or “back” button. For example “Gallery”. You have to push longer power buttons and switch to buttons mode to end application or get to menu. I have found this quite irritating so I prefer to have “one click” button to get this working. When you get lcd density to 130, your status bar is very small and is difficult to touch soft buttons.
By editing file /system/usr/keylayout/qwerty.kl you can remap your buttons.
Note that this require permanent root with rw access to system partition.
Ive tested this on Archos 70 rotted with OC kernel http://forum.xda-developers.com/showthread.php?t=897877 it should work with chulri method http://forum.xda-developers.com/showthread.php?t=930197 and UrukDroid http://forum.xda-developers.com/showthread.php?t=895599.
Thx guys for great work
Doesn’t work with Archangel because it needs rw acces to /system/.
Maybe some “magic” can make a script to force android to use keyboard layout from different location (sdcard for example).
Like with all operations on system files, you can broke your system when something goes wrong. Remember, I'm not responsible for anything.
If you use other keyboard than default you probably have to edit another file from /system/usr/keylayout/. I’ve tested this only for standard keyboard.
After made changes to qwerty.kl you have to restart device.
In this example I’ve remapped + button as “Menu” and Volume – as “Back”.
Remember that you will loose ability to control volume with hardware buttons.
To set to default mapping simply copy original file or edit it and restart device.
Before you start, make a backup of original file.
Go to terminal:
Code:
su
cp /system/usr/keylayout/qwerty.kl /system/usr/keylayout/qwerty.kl.org
Next, open /system/usr/keylayout/qwerty.kl file with text editor
And find line
key 115 VOLUME_UP
key 114 VOLUME_DOWN
key 116 POWER WAKE
These are our hard buttons.
Change it to
key 115 MENU
key 114 BACK
key 116 POWER WAKE
Restart android and you have Menu under volume+ and back under volume-
To reset to default, simply go to terminal and:
Code:
su
cp /system/usr/keylayout/qwerty.kl.org /system/usr/keylayout/qwerty.kl
and reboot.
Of course feel free to experiment to other button mapping. :]
very nice. Will be trying this out for sure. Was looking for a better way than button Savior / buttons panel.
Will test during my very busy Friday afternoon work day
Can't "thanks" from tapatalk but will be sure to get you later
Sent from my A101IT using Tapatalk
Nice added to the list of modifications possible with the different root methods here
diabel44 said:
When you move your software buttons to status bar, there is a problem with apps that cover full screen and don’t have “menu” or “back” button. For example “Gallery”. You have to push longer power buttons and switch to buttons mode to end application or get to menu. I have found this quite irritating so I prefer to have “one click” button to get this working. When you get lcd density to 130, your status bar is very small and is difficult to touch soft buttons.
By editing file /system/usr/keylayout/qwerty.kl you can remap your buttons.
Note that this require permanent root with rw access to system partition.
Ive tested this on Archos 70 rotted with OC kernel http://forum.xda-developers.com/showthread.php?t=897877 it should work with chulri method http://forum.xda-developers.com/showthread.php?t=930197 and UrukDroid http://forum.xda-developers.com/showthread.php?t=895599.
Thx guys for great work
Doesn’t work with Archangel because it needs rw acces to /system/.
Maybe some “magic” can make a script to force android to use keyboard layout from different location (sdcard for example).
Like with all operations on system files, you can broke your system when something goes wrong. Remember, I'm not responsible for anything.
If you use other keyboard than default you probably have to edit another file from /system/usr/keylayout/. I’ve tested this only for standard keyboard.
After made changes to qwerty.kl you have to restart device.
In this example I’ve remapped + button as “Menu” and Volume – as “Back”.
Remember that you will loose ability to control volume with hardware buttons.
To set to default mapping simply copy original file or edit it and restart device.
Before you start, make a backup of original file.
Go to terminal:
Code:
su
cp /system/usr/keylayout/qwerty.kl /system/usr/keylayout/qwerty.kl.org
Next, open /system/usr/keylayout/qwerty.kl file with text editor
And find line
key 115 VOLUME_UP
key 114 VOLUME_DOWN
key 116 POWER WAKE
These are our hard buttons.
Change it to
key 115 MENU
key 114 BACK
key 116 POWER WAKE
Restart android and you have Menu under volume+ and back under volume-
To reset to default, simply go to terminal and:
Code:
su
cp /system/usr/keylayout/qwerty.kl.org /system/usr/keylayout/qwerty.kl
and reboot.
Of course feel free to experiment to other button mapping. :]
Click to expand...
Click to collapse
diabel44 said:
I
Click to expand...
Click to collapse
I have edited .kl file using both ES File Explorer & adb shell , but edited file is restoring to previous on reboot. Is there a way to permanently change the .kl files
MASTER MC said:
I have edited .kl file using both ES File Explorer & adb shell , but edited file is restoring to previous on reboot. Is there a way to permanently change the .kl files
Click to expand...
Click to collapse
I got it. It should be edited and changed to /system using twrp recovery.
I mapped volume button to power. It works correctly only when device is powered on and it doesnot reboot when shutdown. Can u tell me where I should make changes to work to power on the device .

[*GUIDE*] Bypassing that seemingly unsurmountable Google Sign-In

Alright all you legacy device lovers, lol, go get your HTC Mytouch 3G devices (probably all sapphire devices, haven't tried on others) that are stuck on that annoyingly persistent Google Sign-In screen outta of the junk drawer and get ready to get some use out of it. I've really only seen a few solutions, touching the four corners, lol, really? never seen that work but its everywhere so it must have at some point, and some other vague or ineffective methods. I have done this over and over just to make sure it wasn't some sorta fluke or lucky button press. That being said i no longer have the devices cause i was unlocking it for a friend that used too many wrong pin codes, so if you see some mistakes, plz let me know.
But first, let me cover my a**, lol
I AM NOT RESPONSIBLE FOR ANY BRICK, BROKEN, EXPLODING, OR TRANSFORMING DEVICES.
USE THIS GUIDE AT YOUR OWN RISK. YOU ARE HENCEFORTH INFORMED.
LMAO, Alright now that's over with. I can say that, although seemingly complicated, if you mess this up then you should have left it in the junk drawer cause its pretty hard to mess it up. I will also include the steps taken to get custom recovery and cm6 on the device as well. The main thing is getting the right files.
It was running Android 1.6.
View attachment 2167592
These are the files you will need:
1.Rom Manager 2.5.0.4
2.Universal AndRoot 1.5.3
3.Root Explorer
4.Terminal Emulator
5.My html hack.View attachment html_hack.zipl
6.Cyanogenmod 6.1
7.Gapps zip
Put all these files at the root of your sdcard, extract html_hack.zip to the root of the sdcard and insert into phone..Also add at least one picture to the DCIM/Camera folder.
Alright, Now that you have the files lets start the fun stuff.
1. Of course power device on normally.
2. Once at the "Click the Android to start" screen, Press Emergency Dialer in the bottom left.
3. Dial the Test Screen Dialer Code. "*#*#4636#*#*".
4. Touch Phone Information at the top.
5. Press the Menu button when the Phone Info screen pops up and touch View Sim Address Book.
6. If you have contacts stored on your SIM Card, just touch any of them. If not add one by pressing menu i think.
7.When the edit contact screen comes up, click the image at the top left that is the image for the contact
8.The gallery will come up, press the menu button and touch Capture Image.
9.When the camera app opens, click the gallery shortcut in the top right corner.
10, Long press on any of the images in your gallery and touch Share on the right.
11.Press Messaging from the list that pops up.
12. In the Recipient field press any random 10 digit number and in the text field enter "Google.com"
13. Hit send, of course it will not send and give you some network unavailable message. now click "Google.com" in the message you just attempted to send, which will bring you to the Browser.
14. long press the menu button, and in the text field type "content://com.android.htmlfileprovider/sdcard/html_hack.html"
15. Now click the Root explorer link and it'll show a warning about unknown sources, click Settings.
16. Touch the Unknown Sources checkbox and while you are there click Development and enable USB Debugging.
17. click back to the web browser and click Root Explorer again and Install.
18. Once installed open Root Explorer.
19. Browse to your sdcard and click the Universal Androot file and install.
20. Once installed open the app, make sure android 1.5/1.6 Superuser is selected and click the Root button.
21. Now click back till you get to the browser again and install Root Explorer again and open.
22. This time though you should see the superuser dialog pop up. Of course click Allow.
23. Again browse to your sdcard and install Terminal Emulator, and open it. Allow superuser.
24. Alright now for the awesome part, in terminal emulator type:
Code:
su
am start -a android.intent.MAIN -n com.android.settings/.Settings
Which should open the settings menu.
25. Now navigate to the Wireless menu and enable WIFI and select a WIFI connection.
Thats the bypass. alot of steps right, lol, but it works.
26. Now press the back button all the way back to the "Click the Android to start" screen and procede with activation.
alright Now you are in your phone.
27. Go to the stock Market app and download Busybox by Stephen and install the app. Install busybox from the app.
28. Now go back to root explorer and browse to the sdcard and install Rom Manager. Open it and Allow superuser.
29. now click Install Clockworkmod Recovery and select the appropriate device. This will probably kick you back to the home screen.
30. Open Rom Manager again and reboot into recovery.
31. From CWM Recovery select install zip from sdcard and select the Cyanogenmod 6 zip file. Let this complete then reboot. This will of course take a while.
32. Once booted back up click the android then skip and skip. Then confirm the location stuff.
33. Open Rom Manager again and reboot into recovery and pick install zip from sdcard and select the gapps zip and install.
34 Once it's finished, reboot and you are all set. Root, Busybox, CWM Recovery and cm6 with google apps is yours. Congrats.
Buddhaja

SWAP back and recent apps keys Marshmallow 6.0.1 (need root)

goto your favorite file explorer. i used root explorer. make sure you have root access and goto /system/usr/keylayout and then make sure you have read write access. then click on generic.kl
change line key 158 to APP_SWITCH
change line key 254 to BACK
make sure to save. reboot. back key should now be on left. recent apps on right. you can still hold your recent apps key which is now on the right to get menu in some apps.
and for my next trick... modding s pen to left side of note 4. just kidding. enjoy.
Is this safe?
its only for galaxy?;I need on moto g (aosp, MM). on screen key.
Yes very safe. Yes only for galaxy. Not sure how you do it with moto g. You could try developer options RTL mode and see if that works but will RTL everything else. Or you could try my method and see if you could swap the back and recent apps same way but different lines. That is if moto g is setup similar.

Categories

Resources