[GUIDE][TUT}How To Disable Hardware keys on Stock / CM / RR Rom - Zenfone 2 Laser General

Hi Everyone,
Some users requested me to find a way to disable the Capacitive/hardware keys on the Zenfone 2 Laser.
As many ROMS like RR already inlude the software navigation bar, Here I present you a simple method of disabling the keys.
Pre-Requirements
1.)Rooted Zenfone 2 Laser
2.)Any text editor for android.
3.)A usable mind ofcourse !
Make sure you have enabled the navigation keys before you foloow this, otherwise you will not be able to navigate after a reboot because of non functional keys.
Click to expand...
Click to collapse
Procedure
1.)Use any root browser/file explorer to navigate to /system/usr/keylayout/
2.)Open the file named ft5x06_ts.l
3.)It would look similar to this
Code:
key 158 BACK VIRTUAL
key 102 HOME VIRTUAL
key 580 APP_SWITCH VIRTUAL
key 143 WAKEUP VIRTUAL
# key 46 GESTURE_C VIRTUAL
# key 18 GESTURE_E VIRTUAL
# key 31 GESTURE_S VIRTUAL
# key 47 GESTURE_V VIRTUAL
# key 17 GESTURE_W VIRTUAL
# key 44 GESTURE_Z VIRTUAL
4.)Add a ' # ' on the lines saying BACK,HOME & APP_SWITCH so that it looks like below.
Code:
[/SIZE][/B]
# key 158 BACK VIRTUAL
# key 102 HOME VIRTUAL
# key 580 APP_SWITCH VIRTUAL
key 143 WAKEUP VIRTUAL
# key 46 GESTURE_C VIRTUAL
# key 18 GESTURE_E VIRTUAL
# key 31 GESTURE_S VIRTUAL
# key 47 GESTURE_V VIRTUAL
# key 17 GESTURE_W VIRTUAL
# key 44 GESTURE_Z VIRTUAL
5.)Save and Close
6.)Reboot your phone, Tadaaaa
7.)In case you wish to re-enable the keys, just remove the '#' you put there.
Last but Important step, Do Press Thanks.... hahaha

Or just tap on "Enable the on-screen nav bar"...
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

LuK1337 said:
Or just tap on "Enable the on-screen nav bar"...
Click to expand...
Click to collapse
This option is not on RR I think, thats why some people asked me, was this in CM right from starting or added recently?

abhishekr700 said:
This option is not on RR I think, thats why some people asked me, was this in CM right from starting or added recently?
Click to expand...
Click to collapse
Its been there since 2013 depending on device.
Sent from my ASUS_Z00TD using XDA Labs

this methode havnt worked with ze500kl what i should to do

mohamedelkholy said:
this methode havnt worked with ze500kl what i should to do
Click to expand...
Click to collapse
You should LEAVE xda and endow us with the gift of End-of-Stupidity.

mohamedelkholy said:
this methode havnt worked with ze500kl what i should to do
Click to expand...
Click to collapse
More info please,
"Havnt worked" does not explain anything.
What did u do, what happened?
Rom?
Device?
Sent from my C2305 using Tapatalk

my device asus zenfone 2 laser ze500kl with android 6.0.1 stock rom and i have done all methode

Related

Add Passcode to your NST without any additional app

Hi
Excuse me for my bad English writing.
......
I active internal android pass code on may NST. but I can't remove it !!!
however i like it .
for do it you need install ADW louncher . but you don't need any additional program and after uninstalling this launcher , pass code still exist .
in " ADW launcher desktop " do this steps :
Menu > Add > Custom Shortcut > Pick your activity > Activities >
next find "Settings" and collapse it . ( it is your android settings )
next find " Passcode(.ChooseLockPin) " > OK
Click on Shortcut you create ........ WOW !
select passcode.
remember you can't back to previous state !!!
if anyone could remove passcode please notify me .
This is awesome! I'll work on trying to figure out how to disable the lock now.
Look HERE, Might help.
Torimu.Joji said:
Look HERE, Might help.
Click to expand...
Click to collapse
If you notice, he was the second to last person to post in that thread.
I was able to disable the lock using sqlite3
modifying
/data/data/com.android.provider.settings/databases/settings.db
When you create a screen lock it adds 4 new entries into the system table
lock_pin_hash
lockscreen.pinneverchosen
lock_pin_autolock
lock_pin_visible_pin
I deleted the value of the first one and set the other 3 to 0 using sqlite database browser
You might be able to just remove the value on lock_pin_hash and that might disable it I just went ahead and changed them all just in case.
thanks
i test it. though this passcode is better than "drag to unlock" !
could anyone post a screenshot, please? thanks.
after turn on nook , this page will appear :
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
enter passcode. then :
select launcher.
if your nook goes to screensaver , after push "n" button passcode request will appear again.
hshsh said:
after turn on nook , this page will appear :
View attachment 886103
enter passcode. then :
View attachment 886104
select launcher.
if your nook goes to screensaver , after push "n" button passcode request will appear again.
Click to expand...
Click to collapse
You can press that small box below the choices to set one as default so you don't have to select one every time.
ok . its true. i only use adw launcher .
it was for test and example ...

Search Key fix for the Lactose Rom

Applications needed
1.Text editor. (super admin privileges)
2.Root browser (super admin privileges) (https://play.google.com/store/apps/details?id=com.jrummy.root.browserfree&hl=en)
instructions:-
use the root browser and navigate to home/system/usr/keylayout folder
in the keylayout folder find ATMEL-TOUCHSCREEN.KL file.. open it with the text editor and modify the line for key 217 to KEY 217 SEARCH WAKE_DROPPED
in the same folder find Generic and modify the key 127 to search wake_dropped so it should look like KEY 127 SEARCH WAKE_DROPPED
and the key 217 to KEY 217 SEARCH WAKE_DROPPED
im attaching the screenshot for the same.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
i have attached the pictures as an attachment.
Reboot the phone once it is done and now the search key should be activated.
Do thank if it works for you ...
jasmeetsingh123 said:
Applications needed
1.Text editor. (super admin privileges)
2.Root browser (super admin privileges) (https://play.google.com/store/apps/details?id=com.jrummy.root.browserfree&hl=en)
instructions:-
use the root browser and navigate to home/system/usr/keylayout folder
in the keylayout folder find ATMEL-TOUCHSCREEN.KL file.. open it with the text editor and modify the line for key 217 to KEY 217 SEARCH WAKE_DROPPED
in the same folder find Generic and modify the key 127 to search wake_dropped so it should look like KEY 127 SEARCH WAKE_DROPPED
and the key 217 to KEY 217 SEARCH WAKE_DROPPED
im attaching the screenshot for the same.
i have attached the pictures as an attachment.
Reboot the phone once it is done and now the search key should be activated.
Do thank if it works for you ...
Click to expand...
Click to collapse
Not a very good idea dude.
I followed your post to the "t" and then completely lost functionality of all the soft keys. Every key stopped working and then ultimately had to dirty flash the rom again to restore it to its previous state.
so folks stay away from this "tip"
may be some thing went wrong somewhere while you were doing this... i will be posting the zip files of the keyboard layout...replace them with the ones on your phone...
for me its working..if you need i can post a video of it too....!!!
samgurung said:
Not a very good idea dude.
I followed your post to the "t" and then completely lost functionality of all the soft keys. Every key stopped working and then ultimately had to dirty flash the rom again to restore it to its previous state.
so folks stay away from this "tip"
Click to expand...
Click to collapse
the files have been attached in an attachement..replace them with the keyboard layout and restart the phone..and make sure that there are no duplicate files...and dont delete keylayout folder....just replace the files...!!!!
jasmeetsingh123 said:
may be some thing went wrong somewhere while you were doing this... i will be posting the zip files of the keyboard layout...replace them with the ones on your phone...
for me its working..if you need i can post a video of it too....!!!
Click to expand...
Click to collapse
Thanks for the trouble buy I've moved to cyan vivo 10.1 .. Very happy with the ROM.. And the search key functions as it should
Sent from my Incredible S using xda app-developers app

[APPS][FY,GB,ICS,JB,KK] Navbar / Soft/ Virtual buttons Solutions for HD2 and others

Navbar / Soft buttons / Virtual buttons Solutions for HD2 or any other device
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
As our beloved device the HTC HD2 is getting older some of us might have or will encounter hard keys failure. The problem is, the back, home, search and option keys are almost indispensable for daily use.
My hard keys are still functioning but just in case I searched XDA and other site for solutions. Here are the possible solutions :
For devices running Froyo or Gingerbread / Android 2.2.x / 2.3.x (FY, GB)​
1/ SoftKeys for ROOT USERS
Use SoftKeys for ROOT USERS. But what I don't like about that app is that the soft keys are quite ugly.
(LINK)
2/ Alternative
I did a lot of research but there is no way to bring ICS nav bar (or something similar) to a GB rom at the time I'm writing.
The easiest alternative is to flash at least an ICS rom on your HD2 (like the one from Tytung) and use one of the methods proposed below :
For devices running ICS and above / Android 4.0.x and above (ICS, JB, KK)​
Here are simple solutions that don't require flashing a .zip file but only ROOT (see the excellent Nand Toolkit for that purpose LINK)
1/ Soft buttons
Use the app "Soft buttons" CAUTION : it's permanent, the only way to remove the nav bar is to re-flash your rom
(LINK)
2/ Ultimate Dynamic Navbar
Use the app "Ultimate Dynamic Navbar"
(LINK)
3/ GMD Auto Hide Soft Keys
Use GMD Auto Hide Soft Keys
(LINK)
4/ PIE Controls (LMT Launcher)
Use LMT launcher, this launcher integrates the famous "PIE Controls" from the paranoid roms. What I don't like about this app is that they won't say when you don't use them. You have to swipe at the bottom or right side of your device to trigger them every time you need them.
(LINK)
Hope the above helped you (if that's the case hit the thanks button ).
If you know other simple ways, please share !
PS: I know there are other ways such as framework editing (for ICS and above) but they are quite complicated. They aim of that thread is to provide simple apk solutions.
Really awesome make it transparent and make buttons like L it will be the best

Multi-tasking issue

Hi .
I have a Lenovo a7000 and it is rooted and has Android 6.0 marshmallow and I tried to edit the build.prop code on this ro.build.type=user and changed "user" to "user debug " and I got the multi-tasking option on the developer setting . The problem Is when I click the recent apps button to get to the multi-tasking feature this what appears
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
so I can't click the multi-tasking icon because of that lock icon so I hope you help me to remove this icon and thanks .
Same problem here. Did you solved??
Reply
arifozan said:
Same problem here. Did you solved??
Click to expand...
Click to collapse
Not yet . I guess it is impossible to tweak Lenovo's heavy skin .
Thomasmx said:
Hi .
I have a Lenovo a7000 and it is rooted and has Android 6.0 marshmallow and I tried to edit the build.prop code on this ro.build.type=user and changed "user" to "user debug " and I got the multi-tasking option on the developer setting . The problem Is when I click the recent apps button to get to the multi-tasking feature this what appears
so I can't click the multi-tasking icon because of that lock icon so I hope you help me to remove this icon and thanks .
Click to expand...
Click to collapse
Hi. I had same prob but I have a "solution". U go to system/priv-app/SystemUI and copy SystemUI.apk to your PC. Install 7zip extracting software. Then right click SystemUI.apk and choose open archive (or somethin similar option). Then go res/drawable-hdpi-v4/ and search two image files. The names of images are recent_lock_app and recent_unlock_app. Copy these two image to another folder on ur PC and edit their resolution to 1x1. If you ending the edit, copy back the edited files to res/drwaable-hdpi-v4/. Finally you copy back the "modded" SystemUI.apk to system/priv-app/SystemUI and overwrite the file, then install it. I suggest you reboot your device.
Good luck!! I hope I help you!
(sorry for my eng im hungarian)
Thomasmx said:
Hi .
I have a Lenovo a7000 and it is rooted and has Android 6.0 marshmallow and I tried to edit the build.prop code on this ro.build.type=user and changed "user" to "user debug " and I got the multi-tasking option on the developer setting . The problem Is when I click the recent apps button to get to the multi-tasking feature this what appears so I can't click the multi-tasking icon because of that lock icon so I hope you help me to remove this icon and thanks .
Click to expand...
Click to collapse
Never edit build.prop without backup first,, its rule for tweak a device

How to Activate an Automatic Call Record in Nougat?

How to Activate an Automatic Call Record in Nougat? Without using an extra application.
Is there no information?
samizeldestan said:
How to Activate an Automatic Call Record in Nougat? Without using an extra application.
Click to expand...
Click to collapse
Is there no information?
please help people...
call recorder on note 5 nougat magisk rooted
zein_syria said:
please help people...
call recorder on note 5 nougat magisk rooted
Click to expand...
Click to collapse
Add the following codes to the "others.xml" file in the System / csc path.
<!-- VoiceRecorder -->
<CscFeature_VoiceRecorder_SupportShowCallRejectCou nt>true</CscFeature_VoiceRecorder_SupportShowCallRejectCoun t>
<CscFeature_VoiceRecorder_ConfigNfcMode>CardMode </CscFeature_VoiceRecorder_ConfigNfcMode>
<!-- Call -->
<CscFeature_VoiceCall_RemoveCallButtonInLogsList>T RUE</CscFeature_VoiceCall_RemoveCallButtonInLogsList>
<CscFeature_VoiceCall_ConfigRecording>RecordingAll owed</CscFeature_VoiceCall_ConfigRecording>
<CscFeature_VoiceCall_EnableSeparateCallReject>TRU E</CscFeature_VoiceCall_EnableSeparateCallReject>
<CscFeature_VoiceCall_ConfigOpPhoneService>TRUE</CscFeature_VoiceCall_ConfigOpPhoneService>
plz reply
Just add this code
Code:
<CscFeature_VoiceCall_ConfigRecording>RecordingAllowed</CscFeature_VoiceCall_ConfigRecording>
after the opening <FeatureSet> tag or before the closing </FeatureSet> tag in the file system\csc
In "csc" directory, you'll find a file "others.xml
save file,reboot... voila!
zein_syria said:
Just add this code
Code:
<CscFeature_VoiceCall_ConfigRecording>RecordingAllowed</CscFeature_VoiceCall_ConfigRecording>
after the opening <FeatureSet> tag or before the closing </FeatureSet> tag in the file system\csc
In "csc" directory, you'll find a file "others.xml
save file,reboot... voila!
Click to expand...
Click to collapse
This code only activates the record button. The above code is more functional.
samizeldestan said:
This code only activates the record button. The above code is more functional.
Click to expand...
Click to collapse
I tried your code first but it didn't work,there was no "record" button
anyway I found the method on another site
it's working like a charm
thanks dude for introducing us to such a useful neat recorder
zein_syria said:
I tried your code first but it didn't work,there was no "record" button
anyway I found the method on another site
it's working like a charm
thanks dude for introducing us to such a useful neat recorder
Click to expand...
Click to collapse
So you have not done it right. :good:
The images are from my own device.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
In which other site you have found the useful instruction
now we need xposed
samizeldestan said:
So you have not done it right. :good:
The images are from my own device.
Click to expand...
Click to collapse

Categories

Resources