[GUIDE] Rearrange Hardware Keys in any rom - Samsung Galaxy Grand Quattro

Warning!!!
Please make a nandroid backup before you make any changes in system because I know there will be a person in hundred who will mess with his/her device.
This Tutorial is only for rearranging back and menu softkeys . If you want some other arrangement comment below and I will tell you what to do in that.
Apps we required
1. Es File Explorer
Links for downloading above apps
1. Es File Explorer --> Download
Let's Start and follow steps
Note: If you have already have Read Write premissions then skip to Step 4 else start from Step 1.
Step 1 :- Open "Es file Explorer" and swipe from extream left towards right.
Step 2 :- Swipe up and locate "Root Explorer" and tap on it.
Step 3 :- Touch on " Mount R/W" and enable those circular box which are uncheck ( means Change the permission from Read Only (RO) to Read Write (RW) ) and press OK then grant the Super user permission.
Step 4 :- Now goto device/system/usr/Keylayout and open file named "Generic.kl" as "Text" with "Es note editor".
Step 5 :- Now locate "Key 158" ( for back key ) and "Key 139" ( for menu ) and tap on three dots at right top of display and then "Edit"
Step 6 :- Now change these lines as written below
HTML:
"Key 158 BACK" TO " Key 158 MENU"
"Key 139 MENU" TO " Key 139 BACK"
Step 7 :- Press back key and hit "Yes".
Step 8 :- Now reboot Your device.
Thats it wait till device reboots
Yeah you have successfully remapped your hardware keys.
If you face any problem just ask me
If This post helped you hit THANKS

Related

[Q] How to disable the home key button at screen off in Cobrato's miui GB 1.7.15

How to disable the home key button at screen off in Cobrato's miui GB 1.7.15?
i 've try Pierre's method which is :
•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
my problem is after i edit, save&exit, the "WAKE_DROPPED" can't be removed or cant edit at all. Why? How come this rom won't allow me to edit es209ra_keypad.kl file?
i'm using root explorer ver 2.16,Click on the button ‘Mount R/W’ ,set permission rw-r--r--
Hope some1 can help. TQ
maybe copy your file to pc, edit it with notepad ++ or something & copy it back to your phone in its original location & overwrite the existing file & set the permissions?
thanks!! It's work with ur method. But it also disable the long press to on the torch as well. That's ok for me.

[HOW-TO] [STOCK] Disable volume wake while using alternative lockscreen app

Hi all, I'm a noob here on xda but I've been playing around with our Ace for a lot of time! I open this thread to share with you a little trick that I really can't find anywhere in the internet, so I hope it can helps you, sorry for my English.
First, did you ever tried a lockscreen replacement app on stock roms and noticed that everytime you put your phone in the pocket and press the volume buttons accidentally (or just to turn up the music's volume), the screen turns on? Well, for a lot of people it's a good thing, not judging, but what if like me you hate that thing and want to fix it? The only lockscreen replacement app that do it natively is WidgetLocker Lockscreen, but what if an app like GO Locker/MIHome/MILocker or any other lockscreen replacement app has a theme that we like a lot and cannot replicate on the teslacoil's app? Then here's the fix:
Notice: you need to have a rooted phone and a root file manager like Root Explorer (suggested) to make this happen
[1] With the file manager, navigate to /system/usr/keylayout;
[2] Open the file "qwerty.kl" with a text editor (should be integrated in the file browser app, if not copy the file on your sdcard, copy it on your PC and then edit it on your PC, next you have to restore the edited file in its original location, setting permissions to rw-r--r--)
[3] In qwerty.kl, find these lines:
"key 115 VOLUME_UP WAKE"
"key 114 VOLUME_DOWN WAKE"
and delete the "WAKE" so they looks like "key 115 VOLUME_UP" and
"key 114 VOLUME_DOWN"
[4] Save the file (and if you modified it from pc, copy it back to /system/usr/keylayout and set permission like explained on step 2
[5] Do the same with "sec_key.kl" (only the key 115 VOLUME_UP and key 114 VOLUME_DOWN lines, remember)
[6] Reboot your phone
NOTE: IF YOU WANT TO DISABLE WAKE EVEN WHEN YOU USE THE MICROPHONE BUTTON ON ORIGINAL SAMSUNG EARPHONES
[A] Edit the AVRCP.kl file deleting every "WAKE" from the file
Edit the sec_jack.kl file, scroll down to the bottom and delete the WAKE from the line "key 226 HEADSETHOOK WAKE"
Guess that's all, hope this thread isn't against forum rules or useless, so hope it helped

Samsung galaxy s2 no power menu and no lock screen Problem SOLVED

Root your device then open root folder with x - plore app after that go to following directory
efc / imei
Create a file named "Keystr"
Openfile as text and write " ON " Save the file
Tap and hold the file a menu will pop up click on permission
First deselect all boxes and click ok
Again go to permission and select all boxes under read write column click ok
Go to settings > lock screen
Re - enable Lock instantly with power button option.
:good:

[Guide] Enable Navigation bar in Cyanogenmod 11, Cyanogenmod 13

Updated
1.Disable Capacitive Buttons ( Back and Menu )
Warning!!!
This Post is only for Cyanogenmod 11 and 13 not for Touchwiz if you try to enable it in touchwiz it will keep crashing Systemui and Kindly make a backup of your data
Apps we Required
1. Es File Explorer
2. Softkeyz
Links for downloading above apps
1. Es File Explorer --> Download
2. Softkeyz --> Download OR Alternate Link
Let's Start and follow steps
Step 1 :- Open Es file Explorer and swipe from extream left towards right.
Step 2 :- Swipe up and locate "Root Explorer" and tap on it.
Step 3 :- Touch on " Mount R/W" and enable those circular box which are uncheck ( means Change the permission from Read Only (RO) to Read Write (RW) ) and press OK then grant the Super user permission.
Step 4 :- Now goto device/system/ and open file named "Build.prop" with "Es note Editor".
Step 5 :- Navigate to end of the file and tap on Three Dots at Right top of display and touch on "Edit".
Step 6 :- At end of file Add text ( written Below ) as it is
HTML:
qemu.hw.mainkeys=0
Step 7 :- Now press back key and hit "Yes".
Step 8 :- Now Reboot your Device.
Thats it wait till device reboots
If you got bored with stock icons on navigation bar then follow these steps
Step 1 :- Open app named Softkeyz ( downloaded above) and grant Superuser permission.
Step 2 :- Swipe from Right to Left.
Step 3 :- Now swipe up and choose icons which you like.
Step 3:- Now tap on download icon ( icon with a Line and an Arrow ) . Now wait for few moments.
Step 4 :- Now touch on Check mark ( Tick mark) and select "1 X 1" ( means changing the Scaling Factor ) and wait till device restarts.
If you want to disable capacitive ( Back and Menu ) softkeys then follow these steps
Step 1 :- Open Es file Explorer and goto device/system/usr/Keylayout and open file named "Generic.kl" as "Text" with "Es note editor".
Step 2 :- Now locate "Key 158" ( for back key ) and "Key 139" ( for menu ) and tap on three dots at right top of display and then "Edit".
Step 3 :- Now place a "#" before each line ( shown below )
HTML:
"Key 158 BACK" TO "#Key 158 BACK"
"Key 139 MENU" TO "#Key 139 MENU"
Step 4 :- Press back key and hit "Yes".
Step 5 :- Now reboot Your device.
Thats it wait till device reboots
Disable Capacitive buttons Light
Step 1 :- Goto "Settings.
Step 2 :- Locate "Buttons"
Step 3 :- Tap on "Backlight"
Step 4 :- Remove that Tick mark before "illuminate buttons" and hit "OK".
Warning!!!
Do not Disable Capacitive button until you enable navigation bar.
If you face any problem just ask me
If This post helped you hit THANKS
Cool device started developing after cm11 Thanks
i tried this with root Browser...... Working Awesome..!!!

Guide: Enable Wifi HotSpot Tether on Rooted Verizon HTC 10

Reason for thread:
There are some discrepancies between Unlocked vs Verizon HTC 10 with the build.xml file as well as numerous variations of instructions for enabling hotspot function for tose that have grandfathered unlimited data I thought I would put up a detailed how to that is specific to this version of the HTC 10 and what are the proper edits to get it to work.
While the popular ROMs enable this by default there are still many that run deodexed debloated versions of the stock ROM. Not to mention the same edits are needed for nonrooted HTC 10s tthru adb so having the correct info archived on the site seemed like a good idea.
(As a note as far as I know if you do not have a rooted ie S-off supersu phone you can do this thru adb and your PC but be very careful to set permissions back to what they were when you transfer the file back.)
As I have only done this on the rooted phone and thus did all editing on the phone itself I am only giving those instructions but the edits needed are exactly the same.
I am making these instructions painfully detailed so anyone can follow. I am also listing root explorer as the app used so I can give specific step by step. Obviously other root browser can be used
Instructions
Phone: Verizon Branded HTC 10 (Sunshine S-off, SuperSU rooted)
1: Installed Root Explorer (from Google Play) (or other root file manager i.e. on that's possibly free)
2: Configure Root Explorer and navigate to default.xml file
----- Open Root Explorer
----- Click on R/W Mode button
----- Supersu window will open, Choose grant access button
----- Navigate from root to " /system/customize/ACC " folder ( there should only be one file in the folder " default.xml "
3: Make a backup copy of default.xml
----- Press and hold on the " default.xml " file name to highlight it
----- Press the "copy" button that appears on the top tool bar
----- Press the "paste" button that appears on the bottom right of the window
----- There will now appear a new file " default - Copy.xml "
( Basically just make a bkup copy ofr thte default.xml file in the same folder)
4: Edit " default.xml file
----- Press and hold on the " default.xml " file name to highlight it
----- Press the root explorer setting button in the upper right corner of the window. Its 3 vertical dots
----- Press " Open in Text Editor " button This will open the default.xml file
----- scroll down near the bottom of the file (about 7/8 of the way.) To help locate it will come very soon after a section that has lines:
<int.0,/int>
<int.1,/int>
<int.2,/int>
all the way to 33 and then a couple shorter runs of similar lines. After about another 15-16 lines you will see a line with " tethering " one it. Now you are there.
----- the specific section is: (holding phone in landscape mode will show it as listed below for data on each line)
<app name=Tethering provision"><item type="integer" name="CustomizeCarrierDialogType">0</item>
<item type="integer" name="TetheringGuard_Rule">4</item
​The bold line is the one you will edit. Change the " 4 " or whatever number is there with a " 0 "
----- Now scroll all the way to the bottom of the file. Now scroll up till you find section:
,app name="Wi-Fi Hotspot"><item type="integer" name="hotspot_rule">1</item
<item type="boolean" name="show_passphase">false</item>
<item type="boolean" name="support_showpassword">false</item>
Its right below a " weather " section and above a " wolrdclock " section
​The bold line is again the one to edit. Change the " 1" to a " 0 "
------ Press the root explorer setting button again in the upper right corner of the window. Its 3 vertical dots. Choose " Save and Exit "
5 Confirm default.xml permissions
----- As a precaution we want to confirm no changes to the file permissions has occured.
----- Press and hold on the " default.xml " file name to highlight it
----- Press the root explorer setting button again in the upper right corner of the window. Its 3 vertical dots. Choose " Permissions "
----- To the right of the "ENTER OCTAL" button you should see permissions " 0644 rw-r-r- "
----- If all is correct, close root explorer and reboot phone.
6. Confirm Hotspot is functional
----- Go to " Settting " on phone and click on " Mobile Hotspot and Tethering "
----- Turn on via the slider. You should now get the setup procedure and no warning or message to contact Verizon. Choose a SSID name and passphrase for your hotspot .
Finish and test. Hotspot should be working
Note:
There is no reason I could see for adding a line to the build.prop file a few instructions state to do i`f all that is desired is fully functioning hotspot tethering. Everything works without any other changes. There are of course many other tweaks that require build.prop file edits and or additions just not for hotspot function.

Categories

Resources