[Guide] Enable EMUI fingerprint navigation gestures on Huawei P10 Lite - Huawei P10 Lite Guides, News, & Discussion

You must have root access on your device
I've used this feature in the custom ROM MorfuZ V4.0 with also the Navigation Gestures of XDA. great combo.
Now I'm on the stock ROM , and, since hidding the navbar cause a problem on the bottom of the lockscreen I've found this a good method to bypass the problem and keep again the fingerprint navigation.
Simply add to build.prop this two lines:
ro.config.hw_front_fp_navi=true
ro.config.hw_front_fp_trikey=1
Save and reboot
After navigate to settings > navigation key and select the top to enable the gestures.
Tested and working on WAS-LX1A running EMUI 8
Step by step:
1) Download and install root explorer on your phone.
2) Open the application and grant the root permissions.
3) Now, simply open go to /System/ and then you will be able to see Build.Prop file
4) Now, click on the option called as Mount R/O.
5) Long press on that files and you will get a pop-up of open with
6) Just hit open with text editor and then you are good to go
7) Copy the codes above and simply paste on your build.Prop
8) Click on the save changes and then reboot your Android device.

JowyOMac said:
I've used this feature in the custom ROM MorfuZ V4.0 with also the Navigation Gestures of XDA. great combo.
Now I'm on the stock ROM , and, since hidding the navbar cause a problem on the bottom of the lockscreen I've found this a good method to bypass the problem and keep again the fingerprint navigation.
Simply add to build.prop this two lines:
ro.config.hw_front_fp_navi=true
ro.config.hw_front_fp_trikey=1
Save and reboot
After navigate to settings > navigation key and select the top to enable the gestures.
Tested and working on WAS-LX1A running EMUI 8
Click to expand...
Click to collapse
but it works?

Luxifer2001 said:
but it works?
Click to expand...
Click to collapse
In my phone yes.
https://ibb.co/jGLD60X
https://ibb.co/fxLXYWz

JowyOMac said:
In my phone yes.
https://ibb.co/jGLD60X
https://ibb.co/fxLXYWz
Click to expand...
Click to collapse
okok

Luxifer2001 said:
can u upload some screen??
Click to expand...
Click to collapse
The two link inside the spoiler.

I'd like to experiment. You can explain where the build-prop folder is and how I can add the lines. Thanks and sorry but I do not understand much of these modifications.

noslen69 said:
I'd like to experiment. You can explain where the build-prop folder is and how I can add the lines. Thanks and sorry but I do not understand much of these modifications.
Click to expand...
Click to collapse
The build.prop is a file, you can do this:
1) Download and install root explorer (or Solid Explorer) on your phone
2) Open the application and grant the root permissions
3) Now, simply open go to /System/ and then you will be able to see Build.Prop file
4) Now, click on the option called as Mount R/O.
5) Long press on that files and you will get a pop-up of open with
6) Just hit open with text editor and then you are good to go
7) Copy the codes from above and simply paste on your build.Prop
8) Click on the save changes and then reboot your Android device.

I've updated the main post.

Its work!but you know how to only disable navigation bar??or the gestures navigation like emui or the rom siriuz 3.5???

Related

Awake screen using volume rocker

i researched this method because i noticed that i'm constantly using the power button (for screen on and off) and didn't want to wear it down prematurely. cm7/miui has this functionality built in but sense roms do not. for those of you wanting this capability on sense roms, i thought i'd share this.
before you begin, ensure that you have java installed on your pc (i'm sure most of you do). fyi, i used my windows xp pc, wordpad, and 7zip for this. i'm currently using the vu 2.39 rom.
1. Download baksmali and smali (both baksmali-1.2.8 & smali-1.2.8 jars and scripts, total 4 files) to the desktop from here (on the left, you will see the 4 links under "downloads")
2. Copy and transfer android.policy.jar (system\framework folder) from your phone to the desktop. it's also a good idea to backup the file just in case something goes wrong and you need to revert back.
3. Unzip android.policy.jar and extract classes.dex file to the desktop.
4. From the command line, navigate to the desktop and type "java -jar baksmali-1.2.8.jar classes.dex". It will create a directory named "out".
7. Open KeyguardViewMediator.smali (found in out/com/android/internal/policy/impl/) with wordpad.
8. Scroll down and find ".method private isWakeKeyWhenKeyguardShowing(I)Z".
9. Delete cases 0x18 and 0x19 in the switch statement towards the bottom of the method. Save.
10. From the command line, type "java -jar smali-1.2.8.jar -o classes.dex out". You now have a new classes.dex that has your modification.
11. Open android.policy.jar file on your desktop with 7zip and insert the new classes.dex file.
12. Copy the new file to your phone (system\framework folder, ensure that you set proper permissions) and reboot.
please note that i am not responsible if you mess anything up (although, the steps are pretty brick-proof). hack away at your own risk.
ps if you want to turn the screen off without using the power button, download "screen off and lock" from the market. awesome free app. shut down the screen by long pressing the search button.
Thanks SO much. I've been wanting something like this FOREVER. Don't like having to use widgetlocker! Appreciate the guide, I did this on my HTC Sensation and worked great. Thank you!
no problem. glad i can help.
just tried this.. perfrect on my IS
baste07 said:
just tried this.. perfrect on my IS
Click to expand...
Click to collapse
i'm glad it worked out for ya.
syc7090 said:
i researched this method because i noticed that i'm constantly using the power button (for screen on and off) and didn't want to wear it down prematurely. i think the cm7 rom has this functionality built in but i primarily use sense roms. for those of you on the same boat, i thought i'd share this.
before you begin, ensure that you have java installed on your pc (i'm sure most of you do). fyi, i used my windows xp pc, wordpad, and 7zip for this. also, i didn't connect the phone to the pc. i transferred the files manually (via microsd card). i'm currently using the vu 2.39 rom.
1. Download baksmali and smali (both baksmali-1.2.8 & smali-1.2.8 jars and scripts, total 4 files) to the desktop from here (on the left, you will see the 4 links under "downloads")
2. Copy and transfer android.policy.jar (system\framework folder) from your phone to the desktop. it's also a good idea to backup the file just in case something goes wrong and you need to revert back.
3. Unzip android.policy.jar and extract classes.dex file to the desktop.
4. From the command line, navigate to the desktop and type "java -jar baksmali-1.2.8.jar classes.dex". It will create a directory named "out".
7. Open KeyguardViewMediator.smali (found in out/com/android/internal/policy/impl/) with wordpad.
8. Scroll down and find ".method private isWakeKeyWhenKeyguardShowing(I)Z".
9. Delete cases 0x18 and 0x19 in the switch statement towards the bottom of the method. Save.
10. From the command line, type "java -jar smali-1.2.8.jar -o classes.dex out". You now have a new classes.dex that has your modification.
11. Open android.policy.jar file on your desktop with 7zip and insert the new classes.dex file.
12. Copy the new file to your phone (system\framework folder, ensure that you set proper permissions) and reboot.
please note that i am not responsible if you mess anything up (although, the steps are pretty brick-proof). hack away at your own risk.
ps if you want to turn the screen off without using the power button, download "screen off and lock" from the market. awesome free app. shut down the screen by long pressing the search button.
Click to expand...
Click to collapse
So I assume the downside isbyou lose one direction of volume change during screen off or is the missing volume link changed to the power button?
You can do the same with programs No lock, or Ripple lock.
With no lock, volume key gets you directly to launcher, and with ripple lock you have extra step to unlock screen.
I use Ripple lock and Screen off and lock on wildfire s.
Sent from my HTC Wildfire S A510e using XDA App
@nestorkg
this is a way to do it without installing and running an extra app. i guess it's more geared towards those who like to keep running apps to a minimum.
@beertime
yes, you do lose the ability to change volume while the screen is off (i.e. there is no keymap switching involved).
Or you can just go into settings > cyanogenmod settings > input then tick volume rocker.
no apps, no mods, nothing
jakeyo said:
Or you can just go into settings > cyanogenmod settings > input then tick volume rocker.
no apps, no mods, nothing
Click to expand...
Click to collapse
yes, if you are on cm7. sense roms don't have this option.
jakeyo said:
Or you can just go into settings > cyanogenmod settings > input then tick volume rocker.
no apps, no mods, nothing
Click to expand...
Click to collapse
^ lmao
syc7090 said:
yes, if you are on cm7. sense roms don't have this option.
Click to expand...
Click to collapse
You sir, I love you still for your work!
there is an app in market that goes by name no lock which does just d same
mandeep294 said:
there is an app in market that goes by name no lock which does just d same
Click to expand...
Click to collapse
again, some people want this functionality without having to install and run an app. this guide is aimed at those people. we are well aware that there are apps for this. thanks.
mandeep294 said:
there is an app in market that goes by name no lock which does just d same
Click to expand...
Click to collapse
yeah no ****! another member before you posted the exact same thing and it was explained as well, go a page back
nestorkg said:
You can do the same with programs No lock, or Ripple lock.
With no lock, volume key gets you directly to launcher, and with ripple lock you have extra step to unlock screen.
I use Ripple lock and Screen off and lock on wildfire s.
Sent from my HTC Wildfire S A510e using XDA App
Click to expand...
Click to collapse
Awesome guide. Thanks you very much
you're welcome
Thanks for this! I just tried it and it works on my Inspire running Android Revolution. So awesome!
sharksfan7 said:
Thanks for this! I just tried it and it works on my Inspire running Android Revolution. So awesome!
Click to expand...
Click to collapse
np. this method should work on most htc/sense phones.
nice, i didn't know all that stuff
@syc7090 do you know wich lines should i modify to get the volume buttons to change songs feature?
qelavidamelleve said:
nice, i didn't know all that stuff
@syc7090 do you know wich lines should i modify to get the volume buttons to change songs feature?
Click to expand...
Click to collapse
no idea. i tried to figure that out but didn't have any luck.

easy way into Verizon's hidden menu ( updated with flashable zip new instructions )

I take no credit for this but I figured I'd share it credit goes to @xdabbeb from this thread. http://forum.xda-developers.com/showthread.php?t=2467302 and credit goes to @markfm for the shortcut.
But I do take the credit in packaging it into a flashable zip
First download the hidden menu apk from xdabbeb's thread from above and using root browser or a similar app manually paste it into system/app and set the permissions to rw-r-r
The using root browser create a file and name it hiddenmenu and put this command in the file by typing in the following-
am start -a android.intent.action.Main -n com.lge.hiddenmenu/com.lge.hiddenmenu.HiddenMenu
Hit save them put the file you just created in /system/bin and set the permissions to rwxr-xr-x and save
Then all you have to do is launch terminal emulator and type in the following
su and hit enter
hiddenmenu and hit enter
That's it hidden menu will then launch
Then back in terminal emulator exit out
Here you go I made it even easier with a flashable zip ( please read and follow the instructions)
Just flash the zip
Reboot ( the next step depends on the ROM and kernel some you don't have to do the next step and some you do if you get the error code when trying to enter the hidden menu then do the next step otherwise you're good)
Using root browser or similar app go into system/app and find the hiddenmenu.apk and click on it and click install
In terminal emulator type "su" then type "hiddenmenu" without the quotes of course and you're in
Here's the zip- https://mega.co.nz/#!bpJ0DDbA!pSDJcaHFnXulkGyA2s-cIQldTrLbv-FVspD2RzW97Ts
To get back the knock on feature if you've lost it once your in the hidden menu click on HW Device Test then click on Touch Test and in there near the bottom you'll see Touch Firmware Upgrade click that and then click OK wait about 15 seconds and you're set
please remember to hit thanks if you like my work
what does this hidden menu allow us to do?
ars0n said:
what does this hidden menu allow us to do?
Click to expand...
Click to collapse
Well there are a lot of things you can do with it but in the same sense you can mess your phone up bad if you don't know what your doing the most common use is to update your touch firmware if you happen to lose you knock on feature by flashing a custom kernel
Robshr said:
Well there are a lot of things you can do with it but in the same sense you can mess your phone up bad if you don't know what your doing the most common use is to update your touch firmware if you happen to lose you knock on feature by flashing a custom kernel
Click to expand...
Click to collapse
Is this for stock only or can we use it for AOSP?
JJT211 said:
Is this for stock only or can we use it for AOSP?
Click to expand...
Click to collapse
Yes it should work on an asop ROM as long as it's a Verizon ROM
Robshr said:
Yes it should work on an asop ROM as long as it's a Verizon ROM
Click to expand...
Click to collapse
OK cool, im hoping to find something to disable that stupid knock-on feature. Im running C-Rom 7.1 btw
I pasted the .apk into system app and change permissions. But im having trouble with how to create the file in root browser.
When I enter root browser I select "+new" at the bottom. I then select "create file" in which case I input that long command and when I press done I get "Operation Failed"
Am I doing this correctly?
JJT211 said:
OK cool, im hoping to find something to disable that stupid knock-on feature. Im running C-Rom 7.1 btw
I pasted the .apk into system app and change permissions. But im having trouble with how to create the file in root browser.
When I enter root browser I select "+new" at the bottom. I then select "create file" in which case I input that long command and when I press done I get "Operation Failed"
Am I doing this correctly?
Click to expand...
Click to collapse
Yes it sounds like you doing right in root browser click create new. Then file then rename the file to hidden menu then close root browser and open the that file with a text editor and input the command and click save then follow the rest of the directions you should be good and by the way there is a way in there to disable the knock feature I don't remember off hand what section it's under but it's there
It's the first option under gestures in settings
Robshr said:
Yes it sounds like you doing right in root browser click create new. Then file then rename the file to hidden menu then close root browser and open the that file with a text editor and input the command and click save then follow the rest of the directions you should be good and by the way there is a way in there to disable the knock feature I don't remember off hand what section it's under but it's there
Click to expand...
Click to collapse
Still getting operation failed
When I select new file it asks "Please enter the name"
No matter what I input, I keep getting operation failed. I tried hiddenfile, hidden file, HiddenFile, HiddenFile.apk, new file, newfile, ect
---------- Post added at 08:30 PM ---------- Previous post was at 08:29 PM ----------
lynneddington said:
It's the first option under gestures in settings
Click to expand...
Click to collapse
Im aware of that option on Stock ROMs, but its not available on Aosp ROM's, or at least my current one C-Rom.
lynneddington said:
It's the first option under gestures in settings
Click to expand...
Click to collapse
Actually if you scroll all the way to the bottom it's the second one up it's knock on/off setting
JJT211 said:
Still getting operation failed
When I select new file it asks "Please enter the name"
No matter what I input, I keep getting operation failed. I tried hiddenfile, hidden file, HiddenFile, HiddenFile.apk, new file, newfile, ect
---------- Post added at 08:30 PM ---------- Previous post was at 08:29 PM ----------
Im aware of that option on Stock ROMs, but its not available on Aosp ROM's, or at least my current one C-Rom.
Click to expand...
Click to collapse
You have to make the file on your sdcard say in downloads then it will work if you try any where on the system part you'll get that message
Robshr said:
Actually if you scroll all the way to the bottom it's the second one up it's knock on/off setting
Click to expand...
Click to collapse
There isnt a gestures option under settings in Aosp
It worked
Worked like a charm. Thanks!!
JJT211 said:
There isnt a gestures option under settings in Aosp
Click to expand...
Click to collapse
No there isn't, but some aosp Roms can disable knock on. For instance vanir has the option under settings-display and lights-knock on/off.
Worth a try but I know I've seen it in others as well, but I haven't ran c-rom in a while
Robshr said:
First download the hidden menu apk from xdabbeb's thread from above and using root browser or a similar app manually paste it into system/app and set the permissions to rw-r-r
The using root browser create a file and put this command in the file by typing in the following-
am start -a android.intent.action.Main -n com.lge.hiddenmenu/com.lge.hiddenmenu.HiddenMenu
Hit save them put the file you just created in /system/bin and set the permissions to rwxr-xr-x and save
Then all you have to do is launch terminal emulator and type in the following
su and hit enter
hiddenmenu and hit enter
That's it hidden menu will then launch
Then back in terminal emulator exit out
Click to expand...
Click to collapse
What do I rename the file when I put it in /system/bin?
kwdan said:
What do I rename the file when I put it in /system/bin?
Click to expand...
Click to collapse
rename it to hiddenmenu but rename it before you put it in system/bin
what did i do wrong?
"My PC" adb shell
[email protected]:/ $ su
[email protected]:/ # hiddenmenu
Starting: Intent { act=android.intent.action.Main cmp=com.lge.hiddenmenu/.HiddenMenu }
Error type 3
Error: Activity class {com.lge.hiddenmenu/com.lge.hiddenmenu.HiddenMenu} does not exist.
[email protected]:/ #
Robshr said:
set the permissions to rwxr-xr-x and save
Click to expand...
Click to collapse
Are these permissions universal or are these for the Verizon variant? I'm on Sprint LG-LS980
kwdan said:
Are these permissions universal or are these for the Verizon variant? I'm on Sprint LG-LS980
Click to expand...
Click to collapse
Should be universal but check in your system/bin folder and see if most of the files are set to those permissions
If they are then you're good
steveo17 said:
what did i do wrong?
"My PC" adb shell
[email protected]:/ $ su
[email protected]:/ # hiddenmenu
Starting: Intent { act=android.intent.action.Main cmp=com.lge.hiddenmenu/.HiddenMenu }
Error type 3
Error: Activity class {com.lge.hiddenmenu/com.lge.hiddenmenu.HiddenMenu} does not exist.
[email protected]:/ #
Click to expand...
Click to collapse
Download and use terminal emulator from the play store and from there type
su
hiddenmenu
And it looks like you have an error in the command line you typed in double check it it looks like you have a period after the last forward slash that shouldn't be there

[Touch Pointer Mod]Changing the white dot to whatever icon you like!

Since I can't find any thread about this I decided to make one,
For those who enabled "show touches" in developers option and can't stand that ugly white dot, good thing about android is everything is modifiable. You can to replace that white dot to whatever icon you like, but you'll need a PC and a usb cable.
1. Connect your phone to your pc.
2. Copy /system/framework/framework-res.apk to your pc
3. Extract it to Desktop use the search bar and type pointer.
4. Once you see the pointer icon you click open file location.
5. Now, download some picture you want and resize it to smaller resolution like 50x50 then convert it to png format.
6. Save it to desktop and change the name into the file that you are going to replace.
7. Use 7zip (best free zipper ever) and navigate to where you found your white dot and paste your desired icon in it.
8. Copy the modified framework-res.apk to your phone.
9. Use any root explorer (ES File Explorer) and paste the modified framework-res.apk to /system/framework/
10. Replace the original file and change its permission to rw--r--r--.
now reboot and voila you're done. any thanks will be appreciated.
video
is there any video or can you make a video
Can u plz give me that smily png file
Is there any way to change the white dot to sparkling dot
more people needs to see this!
B U M P !!
I used ninjamorth for this and it did a job!
I would LOVEEE to change the pointer and do alote of things with the xposed installer but it says that its not compatible with android SDK version 22 goddamit now im sad :crying:
I got bootloop. Just wasting my time.
AidiLWays said:
I got bootloop. Just wasting my time.
Click to expand...
Click to collapse
lmao u tried the method that was posted in 2015 ofc u get bootloop
MM.626 said:
lmao u tried the method that was posted in 2015 ofc u get bootloop
Click to expand...
Click to collapse
Is there any way to do this now on Android 10 or 11 if you could point me in the direction
Avendo said:
Is there any way to do this now on Android 10 or 11 if you could point me in the direction
Click to expand...
Click to collapse
https://github.com/thesandipv/pointer_replacer
Download the latest APK in assets and follow directions provided, if the Magisk shortcut on app doesn't work remember the file directory to apply manually tried and working perfect on Android 10!

GameTurbo, VideoToolbox, Context Menu in Launcher and Special Features

Here are modules that enable most important missing features to all Garden devices except Cattail.
All this modules are created by me. My username on 4PDA is redmi9c
Security 6.0.2: (GameTurbo with Voice Changer, VideoToolbox, Sidebar, Power Slider for battery, Night Charge, Battery Health)
MiuiHome 4.26: (Full Context Menu with Split Screen and Floating Windows, Recommend option in Recents enabled for China ROM as well, and Max Grid increased to 6x8)
Settings: (Special Features section, option to set Split Screen on hotkey and Navigation Line)
Delete long name folder inside "\data\system\package_cache\", uninstall Security and MiuiHome updates, than install modules and reboot phone.
Settings module is only for Miui 12.
Needed Magisk to install them.
If you want pictures I can post them but you can also find them on 4PDA forums.
Great work
Now my phone's feels me quite refreshing but why I am seeing this
After flashing settings module settings have been renamed to extend wifi coverage
How I can fix it
Delete long name folder inside "\data\system\package_cache\", than reboot phone. There is only one folder there, it has very long name consisted from numbers and letters and you need to delete it. There is only cache in there. When you delete it, restart will take a bit longer than usual so don't panic and let it boot normally.
Thanks this is perfect and gives my phone features from the flagships
I don't know how to find this folder.. please help me.. can give some screenshots please?
Heshan Dilhara said:
View attachment 5621371
I don't know how to find this folder.. please help me.. can give some screenshots please?
Click to expand...
Click to collapse
you need a root file manager.
Hello, I have MIUI 12.0.18 and modul Settings unlocked blocks me Options for developers (moznosti pre vyvojarov). It is bad. Why does doing it?
silveronux said:
Hello, I have MIUI 12.0.18 and modul Settings unlocked blocks me Options for developers (moznosti pre vyvojarov). It is bad. Why does doing it?
Click to expand...
Click to collapse
That's because Xiaomi started updating Settings.apk. You can enable it yourself. Locate Settings.apk in "system/product/priv-app/Settings/Settings.apk". Copy it to somewhere else. Download MT Manager app, and find where you copied Settings.apk with MT Manager. Click on it, then click View. After that click on Classes.dex then "Dex Editor Plus", then on OK. From there to Search than "Start New Search" and in "Text Field" type from example "angelica" that is Redmi 9C. It will find 2 files. There just change your phone codename to something different like (angelica to xangelica) or something in both files. Than just go back and it will ask you to save it. From there just click on moded apk to see if Signature value is "Verified failed" in red, that means that it is OK. From there just copy moded APK to "/data/adb/modules/Settings/system/product/priv-app/Settings/" and replace Settings.apk. Then reboot phone, and if you see some glitches delete that long name folder inside "/data/system/package_cache" and reboot. If you don't want to mess with this you could just disable Magisk module, delete that folder inside "/data/system/package_cache" and reboot, than change settings in "Developer options", and enable module again and delete that folder inside "/data/system/package_cache" again. If you mess it and get bootloop just in TWRP go to file manager and navigate to "/data/adb/modules/" and delete Settings folder and reboot and module will be removed.

How to keep third party apps from disappearing from Android Auto

So this is for any phone that is rooted. I kind of stumbled on it by just modifying/deleting entries inside of com.google.android.projection.gearhead. I use mixplorer cause its the easiest most user friendly.
1. Open mixplorer and navigate to /data/data/com.google.android.projection.gearhead/files/phenotype/shared/
2. Open gh.phenotype.pb as text with the in app code editor
3. Search for
AppValidation__blocked_packages_by_installer
4. Delete the line of the app your trying to use and save the file.
5. Press and hold on the file and select I on the top.
6. Change owner to root 0 and set permission to rw 600 if it's different.
That's it. My file hasn't updated since February 21 and I continually update Android auto and won't lose any app like obd2aa or fermata and the like. Hopefully it'll work for you too.
Hello, I have looked in the folder /data/data/com.google.android.projection.gearhead/files/phenotype/shared/, but I don't have the gh.phenotype.pb file as you can see in the screenshot. Can it be in another folder? Thank you
Nick_Gl said:
So this is for any phone that is rooted. I kind of stumbled on it by just modifying/deleting entries inside of com.google.android.projection.gearhead. I use mixplorer cause its the easiest most user friendly.
1. Open mixplorer and navigate to /data/data/com.google.android.projection.gearhead/files/phenotype/shared/
2. Open gh.phenotype.pb as text with the in app code editor
3. Search for
AppValidation__blocked_packages_by_installer
4. Delete the line of the app your trying to use and save the file.
5. Press and hold on the file and select I on the top.
6. Change owner to root 0 and set permission to rw 600 if it's different.
That's it. My file hasn't updated since February 21 and I continually update Android auto and won't lose any app like obd2aa or fermata and the like. Hopefully it'll work for you too.
Click to expand...
Click to collapse
Hello, I have looked in the folder /data/data/com.google.android.projection.gearhead/files/phenotype/shared/, but I don't have the gh.phenotype.pb file as you can see in the screenshot. Can it be in another folder? Thank you
Buy Xiaomi
Check out these:
- King Installer - Install packages "as Google Play" to work around restrictions (Root optional)
- Android Auto - Xposed Unlocked - Bypass even more restrictions (Root required)

Categories

Resources