How to disable capacitive buttons in Oreo (With the archives) ? - Xiaomi Mi 5 Questions & Answers

Hello guys, i made the same question some time ago, but i made a little different ask, so, how can i edit the files in oreo to disable the hardware keys? When im in Nougat, i disable the buttons editing the file atmel-maxtouch.kl (/system/usr/keylayout/atmel-maxtouch.kl) but i didn't find any file who i can edit to make this in android 8.0 oreo, can someone tell me what is this file is ?
sorry my bad english, and thankss

Usually that's option already provided by ROM
Like on AEXmod and Atomic-OS.
My currently ROM is Atomic-OS.
What ROM are you use?
Sent from my MI 5 using Tapatalk

Related

Stock 5.1.1 - Soft Key Swap

Hey all,
I figure this is probably a dumb question, but I'm looking for a way to swap my soft key menu and back buttons.
I just switched from CM to Stock so I could use Project Fi, and I'm missing that much more than expected.
I saw a flashable zip that will switch them, but it doesn't work on 5.1.1 (probably should have read that before trying it....)
Any luck with doing this? What are the ramifications of making this change in regards to getting OTA updates?
Guyanthalas said:
Hey all,
I figure this is probably a dumb question, but I'm looking for a way to swap my soft key menu and back buttons.
I just switched from CM to Stock so I could use Project Fi, and I'm missing that much more than expected.
I saw a flashable zip that will switch them, but it doesn't work on 5.1.1 (probably should have read that before trying it....)
Any luck with doing this? What are the ramifications of making this change in regards to getting OTA updates?
Click to expand...
Click to collapse
Try Pure Nexus ROM. Has those options built in and is optimized for Fi.
Guyanthalas said:
Hey all,
I figure this is probably a dumb question, but I'm looking for a way to swap my soft key menu and back buttons.
I just switched from CM to Stock so I could use Project Fi, and I'm missing that much more than expected.
I saw a flashable zip that will switch them, but it doesn't work on 5.1.1 (probably should have read that before trying it....)
Any luck with doing this? What are the ramifications of making this change in regards to getting OTA updates?
Click to expand...
Click to collapse
If your phone is rooted, use ultimate dynamic navbar. Search xda for apk. With that app, you can customize it the way you want.
Sent from my Nexus 6 using XDA Free mobile app
Maybe I should make a new thread for this, but I'll give this a go first (for less clutter).
I used pure nexus. Totally amazing rom, love it. Got the new version, (this one has a new custom settings option), but I can't find the option for the soft keys. Maybe it isn't implemented yet, but I thought I'd ask incase I was just blind.
Thanks!

Porting MIUI rom to IDOL 4

Hi guys, I have one question. Can I port MIUI rom to Idol 4 following to this tutorial? http://www.miuios.in/2014/12/how-to-port-miui-rom-on-qualcomm.html
I have system.img boot.img So i think i can do this
if You have latest update which is about 650mb i really doubt you'll create any port. But if you got full update files, i really wish you good luck and can't wait to test it so i hope you gonna make it.
ps. today i finally found working apk with miui launcher finaly, i know, it's just a launcher and unfortunately miui lockscreen doesn't work but it's way better good loking than stock launcher in idol 4.
I have all ~3gb system files. So if any developer can make this i can send this files to him. Can u send me this Miui Launcher? Im search it many times but i dont find it :/ Sorry for my bad english
Where did you get this from? can you upload it on zippyshare or share google drive with these files? I think that user AlekDev or DeckerSu could do some rom with that.
ofc i can send you that apk. Like i said, screenlocker doesn't work but it's because, there is no way to change filesystem to rw.
so to avoid message about error of miui launcher just turn off screen locker in miui launcher settings.
Tommorow i can upload this to mega. Send me link to miui launcher. I get this system img from my own Idol 4 via TWRP Backup @Alek Dev @DeckerSU Maybe u can do somethink?
unfortunately i have no idea about making roms so maybe someone else will do something with it but i doubt that because that way, AlekDev or DekerSu would do something with it long time ago. They made root tool, twrp and some mods on idol4 so probably it's not that easy. Probably full update has some necessary files which are needed to make a custom roms.
Regards
I need Full update to Make Rom..But i can try to see what can i make with files...When you finish Upload Send me Link
Okey I upload everything tommorow
@Alek Dev If I upload only system image u dont get my google account?
i need boot.img of idol 4 6055b for magisk, do you guys know how extract it?

Questions and Issues

Hello !
I have some question, hope that you can help me.
1. I want to install the Xposed module but i want to knw if it's stable on the Mi Mix ROM.
I'm asking that because i came from a Xperia Z Ultra and the Xposed module wasn't that stable...
2. I want to change of ROM, how can i perform a clean install and kepp my actual apps, is there a way ?
ANNEXE : I encounter some issue on my Xiaomi eu ROM, hope you can help me to find something
Here is my problem :
1 - The first one is my fingerprint sensors works 1/2 on the lockscreen, it's like that since the stable update of the 14 jun 2017. You need to know that the fingerprint sensor works well for unlocking app and else..
2 - The research function doesn't work at all, I have an error (cf : video). whatever the choices that i make the problem will still the same...
Can you please help me ??
Best Regards,
LordBli
Sorry, I wish I could help. I to want to root my device so that I can flash custom roms too, but I've all but given up on that. I don't know why you mean though, when it comes to your second question -
"The research function doesn't work at all, I have an error (cf : video). whatever the choices that i make the problem will still the same..."
Xposed works great on MIUI 8 (8.5) (Android 6)
If u want keep MIUI or change ROM to pure android :
Universal method >
1 - Titanium backup 'but need some permissions for MIUI to works and need confirm manually for each apps who will be restored (MIUI and AOSP/LOS)
MIUI specific >
2 - MIUI integrate a similar function in backup/restore item in settings under factory reset (work like a charm too and no action is required > MIUI only)
Both store backuped elements in internal storage then u can easily clone it on ur desktop !!!
Phaze1585 said:
Sorry, I wish I could help. I to want to root my device so that I can flash custom roms too, but I've all but given up on that.
Click to expand...
Click to collapse
First of all you have to unlock your bootloader then flash your recovery, here is a link that might help you : http://en.miui.com/thread-424221-1-1.html
Then,
Phaze1585 said:
I don't know why you mean though, when it comes to your second question -
"The research function doesn't work at all, I have an error (cf : video). whatever the choices that i make the problem will still the same..."
Click to expand...
Click to collapse
When i'm pulling down the notification bar i have a search bar, when i want to search, the search crash and i have errors just like on the screenshot
LordBli said:
First of all you have to unlock your bootloader then flash your recovery, here is a link that might help you : http://en.miui.com/thread-424221-1-1.html
Then,
When i'm pulling down the notification bar i have a search bar, when i want to search, the search crash and i have errors just like on the screenshot
Click to expand...
Click to collapse
Settings » Installed apps » All(tab) » Search » App permissions; give these permissions(if did not). Besides; some themes have ability to disable the 'Search' feature on notification panel. Just saying.
lesscro said:
Xposed works great on MIUI 8 (8.5) (Android 6)
If u want keep MIUI or change ROM to pure android :
Universal method >
1 - Titanium backup 'but need some permissions for MIUI to works and need confirm manually for each apps who will be restored (MIUI and AOSP/LOS)
MIUI specific >
2 - MIUI integrate a similar function in backup/restore item in settings under factory reset (work like a charm too and no action is required > MIUI only)
Both store backuped elements in internal storage then u can easily clone it on ur desktop !!!
Click to expand...
Click to collapse
Oh Thanks i'll for that.
FYI. I want to change of Custom ROM (mi-globe).
So what can i do to do a clean install of the custom ROM ?
Go here...
https://forum.xda-developers.com/mi-mix/how-to/guide-flash-global-china-rom-root-gapps-t3510592
Konsstantine34 said:
Settings » Installed apps » All(tab) » Search » App permissions; give these permissions(if did not). Besides; some themes have ability to disable the 'Search' feature on notification panel. Just saying.
Click to expand...
Click to collapse
It works like a charm now ! Thanks a lot !
LordBli said:
Hello !
I have some question, hope that you can help me.
1. I want to install the Xposed module but i want to knw if it's stable on the Mi Mix ROM.
I'm asking that because i came from a Xperia Z Ultra and the Xposed module wasn't that stable...
2. I want to change of ROM, how can i perform a clean install and kepp my actual apps, is there a way ?
ANNEXE : I encounter some issue on my Xiaomi eu ROM, hope you can help me to find something
Here is my problem :
1 - The first one is my fingerprint sensors works 1/2 on the lockscreen, it's like that since the stable update of the 14 jun 2017. You need to know that the fingerprint sensor works well for unlocking app and else..
2 - The research function doesn't work at all, I have an error (cf : video). whatever the choices that i make the problem will still the same...
Can you please help me ??
Best Regards,
LordBli
Click to expand...
Click to collapse
Without additional information, it's quite difficult to assist.
Firstly, you came from the Z Ultra. I too purchased the Mi Mix to replace my Z Ultra, with its stock firmware being stuck on MM and the aftermarket support not being brilliant the Mix was a suitable choice. However I had no issue with Xposed on my Z Ultra, perhaps your choice of Xposed modules was the problem???
If you haven't unlocked your bootloader, then you need to do that first. Bear in mind, once unlocked you will lose all android pay functionality.
Which Mix do you have...? Mine is the 6GB/256GB variant, and certain system modifications only work on the specific versions.
Have you flashed TWRP, if so which version?
In answer to your first problem - remove all fingerprints and re-add them. On some of the stock miui.com firmware releases, it doesn't migrate fingerprint information correctly.
In answer to your second problem - you *should* try running the current weekly release from xiaomi.eu:
https://sourceforge.net/projects/xi.../files/xiaomi.eu/MIUI-WEEKLY-RELEASES/7.7.20/
If you are running *stock* firmware, you *will* need to factory reset.
-----
With regards to your "research" problem, I assume you mean the global search from the phone (If this is not the case then let us know what you mean).
Again, I've not experienced issues searching the phone since changing to the xiaomi.eu (weekly) global firmware which is based on Android 7.0 however Xposed support is minimal.
If you want to change firmware, unless you change to the same build structure then you won't be able to keep your current data.
e.g. stock miui.com firmware to xiaomi.eu firmware.
In this situation, root and titanium backup is your friend.
Thanks for your answer, it is really helpful !
acolwill said:
Without additional information, it's quite difficult to assist.
Firstly, you came from the Z Ultra. I too purchased the Mi Mix to replace my Z Ultra, with its stock firmware being stuck on MM and the aftermarket support not being brilliant the Mix was a suitable choice. However I had no issue with Xposed on my Z Ultra, perhaps your choice of Xposed modules was the problem???
Click to expand...
Click to collapse
Maybe you're right maybe this was the problem.
If you haven't unlocked your bootloader, then you need to do that first. Bear in mind, once unlocked you will lose all android pay functionality.
Which Mix do you have...? Mine is the 6GB/256GB variant, and certain system modifications only work on the specific versions.
Have you flashed TWRP, if so which version?
Click to expand...
Click to collapse
I have the same version as you do ! I have flashed TWRP v3.0.2-0 !
In answer to your first problem - remove all fingerprints and re-add them. On some of the stock miui.com firmware releases, it doesn't migrate fingerprint information correctly.
Click to expand...
Click to collapse
I'll try that and I'll let you know
In answer to your second problem - you *should* try running the current weekly release from xiaomi.eu:
https://sourceforge.net/projects/xi.../files/xiaomi.eu/MIUI-WEEKLY-RELEASES/7.7.20/
If you are running *stock* firmware, you *will* need to factory reset.
Click to expand...
Click to collapse
I'm actually running the last stable version of Xiaomi eu.
-----
With regards to your "research" problem, I assume you mean the global search from the phone (If this is not the case then let us know what you mean).
Again, I've not experienced issues searching the phone since changing to the xiaomi.eu (weekly) global firmware which is based on Android 7.0 however Xposed support is minimal.
Click to expand...
Click to collapse
It was a problem of permission, I fix it with the help of Konsstantine34 !
But do you have Xposed on your Mi Mix ?
If you want to change firmware, unless you change to the same build structure then you won't be able to keep your current data.
e.g. stock miui.com firmware to xiaomi.eu firmware.
In this situation, root and titanium backup is your friend.
Click to expand...
Click to collapse
I'm on xiaomi eu stable version and I'm thinking about passing to the mi-globe ROM version witch is based on the Xiaomi eu ROM !
LordBli said:
Thanks for your answer, it is really helpful !
Maybe you're right maybe this was the problem.
I have the same version as you do ! I have flashed TWRP v3.0.2-0 !
I'll try that and I'll let you know
I'm actually running the last stable version of Xiaomi eu.
Click to expand...
Click to collapse
No problems
-----
LordBli said:
It was a problem of permission, I fix it with the help of Konsstantine34 !
But do you have Xposed on your Mi Mix ?
Click to expand...
Click to collapse
Ah, I see.
I don't run Xposed on my Mix (Haven't found a real reason to...), I have it running on my Redmi Pro using dirty hacks from a thread on miui.com that really hurts my eyes... http://en.miui.com/thread-78894-1-1.html
LordBli said:
I'm on xiaomi eu stable version and I'm thinking about passing to the mi-globe ROM version witch is based on the Xiaomi eu ROM !
Click to expand...
Click to collapse
The only change I would personally use on a mi-globe firmware would be the three-way reboot menu, however that can be substituted with an application.
IMHO, I don't see any real reason to use "their" firmware as all they're doing is tweaking an already good release by an established team of developers
acolwill said:
No problems
Click to expand...
Click to collapse
-----
Ok so everything is great except for the fingerprint sensor, it doesn't work properly. I tried to delete all the fingerprint and then put them back but it still works 1/2 times...
Ah, I see.
I don't run Xposed on my Mix (Haven't found a real reason to...), I have it running on my Redmi Pro using dirty hacks from a thread on miui.com that really hurts my eyes... http://en.miui.com/thread-78894-1-1.html
Click to expand...
Click to collapse
You are right... It really hurts lol
The only change I would personally use on a mi-globe firmware would be the three-way reboot menu, however that can be substituted with an application.
IMHO, I don't see any real reason to use "their" firmware as all they're doing is tweaking an already good release by an established team of developers
Click to expand...
Click to collapse
Same for me but I wanted to test those tweak to see what it looks like
Any ideas for the fingerprint issue ?

Swipe Down Navbar

Hi huys,
First of all it's my first post here. I have some questions:
I wanted to make the click to hide and swipe up to show system that huawei puts into some devices work on my Huawei P8 Lite 2017 (Pra-LX1) but I can only make the little arrow working using the Settings Database Editor and adding hide_virtual_key and changing the value to 1 therefore making it apear. Unfortunately, once I click the arrow I need to delete this setting because I can't make the navbar swipe up again.
Notice that I don't have root but I am considering rooting my device it that makes this work. I really wanted to make it work
Can anyone help me? I can use ADB and all of those things. i'm kinda of noob but I can manage myself. I just didn't want to change the stock rom because of the warranty...
My build is PRA-LX1C33B137
P.S: I'll leave a image of what I want to enable so you guys can see: g.oo.gl/cmVYHJ
Thank you all for your attention
MemeLordFausto said:
Hi huys,
First of all it's my first post here. I have some questions:
I wanted to make the click to hide and swipe up to show system that huawei puts into some devices work on my Huawei P8 Lite 2017 (Pra-LX1) but I can only make the little arrow working using the Settings Database Editor and adding hide_virtual_key and changing the value to 1 therefore making it apear. Unfortunately, once I click the arrow I need to delete this setting because I can't make the navbar swipe up again.
Notice that I don't have root but I am considering rooting my device it that makes this work. I really wanted to make it work
Can anyone help me? I can use ADB and all of those things. i'm kinda of noob but I can manage myself. I just didn't want to change the stock rom because of the warranty...
My build is PRA-LX1C33B137
P.S: I'll leave a image of what I want to enable so you guys can see: g.oo.gl/cmVYHJ
Thank you all for your attention
Click to expand...
Click to collapse
In Oreo you have this feature in "settings-system-navbar"
KuGeSch said:
In Oreo you have this feature in "settings-system-navbar"
Click to expand...
Click to collapse
Unfortunately I don't have the Oreo yet...

[CLOSED] Fix ambient display single tap and double tap to wake up

Sorry in advance if the thread is not the correct one and for my English.
I wanted to report that following the procedure to reactivate the "pocket mode" that you can find here, the ambient display and the double touch to wakes up, begin to be working always, even after several days that I enabled the function and without restarting the phone, it wakes up immediately.
I have no idea why Oneplus has disabled the "pocket mode" function, to avoid bugs and fix the problem with the ambient display and double touch, waiting for an official fix, I followed the procedure by reactivating the feature but I left the "pocket mode" off and, until now, everything works fine.
I have successfully tested the fix on my Oneplus 7 with Open Beta 15.
IMPORTANT: to carry out the reactivation of the "pocket mode" it is necessary to be rooted
Thank you for your information !
I made a magisk module for my device ( 7 Pro on OB15) to turn on the Pocket Mode option and everything worked !!
dijia1124 said:
Thank you for your information !
I made a magisk module for my device ( 7 Pro on OB15) to turn on the Pocket Mode option and everything worked !!
Click to expand...
Click to collapse
A simple solution solves a really annoying bug... :good:
dijia1124 said:
Thank you for your information !
I made a magisk module for my device ( 7 Pro on OB15) to turn on the Pocket Mode option and everything worked !!
Click to expand...
Click to collapse
Can share module? pls
Winstarshl said:
Can share module? pls
Click to expand...
Click to collapse
Only tested on 7Pro Open Beta 15, maybe the file should be modified again after several system updates
Winstarshl said:
Can share module? pls
Click to expand...
Click to collapse
dijia1124 said:
Only tested on 7Pro Open Beta 15, maybe the file should be modified again after several system updates
Click to expand...
Click to collapse
Caution, the feature_list file changes with the firmware release, I noticed that in firmware open beta 13, in beta 14 and in beta 15 it was different every time...
dijia1124 said:
Only tested on 7Pro Open Beta 15, maybe the file should be modified again after several system updates
Click to expand...
Click to collapse
I have too Beta 15 and module work perfect) Thanks you!
dianoandr said:
Caution, the feature_list file changes with the firmware release, I noticed that in firmware open beta 13, in beta 14 and in beta 15 it was different every time...
Click to expand...
Click to collapse
Winstarshl said:
I have too Beta 15 and module work perfect) Thanks you!
Click to expand...
Click to collapse
Better check the feature_list file before every system update or may cause problems
thanks for the info .. i dont have any problem with oos t2w and i dont know whats yours
but its not working so well in custom roms. any idea how to fix it in custom roms?
Dark Fear said:
thanks for the info .. i dont have any problem with oos t2w and i dont know whats yours
but its not working so well in custom roms. any idea how to fix it in custom roms?
Click to expand...
Click to collapse
I'm sorry but I have never used custom rom or aosp rom, currently I have a beta 15 firmware, debloted, with some magisk modules, I have always modded on oxygen os based firmware
dijia1124 said:
Only tested on 7Pro Open Beta 15, maybe the file should be modified again after several system updates
Click to expand...
Click to collapse
tried this one on a oneplus7 with OB15 and the phone didn't boot anymore, if it happens to someone else I just had to boot into twrp and manually delete the module under " /data/adb/modules/" then rebooted normally
Fixed in Open Beta 16
thedamnone said:
Fixed in Open Beta 16
Click to expand...
Click to collapse
This is how it is described in the beta 16 firmware changelog but it really doesn't seem to me that it still works as it should work ... the awakening is not always immediate.
For me, the fix proposed in this thread is still the best choice ... it's just a personal opinion
same issue once
lol i had the same issue with them , i had to turn off double tap to wakeup feature than only my ambient display would work so i guess O.O.S has some unresolved bugs.
GnyanadBhatt said:
lol i had the same issue with them , i had to turn off double tap to wakeup feature than only my ambient display would work so i guess O.O.S has some unresolved bugs.
Click to expand...
Click to collapse
Now I can say that with the two latest versions of the open beta firmware, it seems to work fine.
If you are still not satisfied with how it works, with the mod of the feature_list file, as reported in the first post, the situation improves a lot
I finally find myself sharing my bug! [emoji37] For several betas, stable EU and global that the double tap to wake up + facial does not work for me, which for me is the best way to activate the terminal.
I did not understand why with PIE it works perfectly? Pocket mode! [emoji3061] And I have tried everything like installing fastboot or msm Dowland versions, which is the closest thing to leaving the factory and at first clean it always works but when I install everything, it stops working ... [emoji2357]
With beta 18 it was animated and with b19 it works at 80% ...
I would like to activate with the line that is mentioned in the 1st post, xr I don't understand where it should be put? I suppose that with root and a file manager with permissions go to the path:
system/etc/feature_list*
And leave like this?
system/etc/featureName: OP_FEATURE_ENABLE_POCKETMODE_SWITCH
..... And leave the line like this?? I understand that .... then you can remove root and close bootloader without losing the line?
Cheers
Enviado desde mi GM1913 mediante Tapatalk
kacarot said:
I finally find myself sharing my bug! [emoji37] For several betas, stable EU and global that the double tap to wake up + facial does not work for me, which for me is the best way to activate the terminal.
I did not understand why with PIE it works perfectly? Pocket mode! [emoji3061] And I have tried everything like installing fastboot or msm Dowland versions, which is the closest thing to leaving the factory and at first clean it always works but when I install everything, it stops working ... [emoji2357]
With beta 18 it was animated and with b19 it works at 80% ...
I would like to activate with the line that is mentioned in the 1st post, xr I don't understand where it should be put? I suppose that with root and a file manager with permissions go to the path:
system/etc/feature_list*
And leave like this?
system/etc/featureName: OP_FEATURE_ENABLE_POCKETMODE_SWITCH
..... And leave the line like this?? I understand that .... then you can remove root and close bootloader without losing the line?
Cheers
Enviado desde mi GM1913 mediante Tapatalk
Click to expand...
Click to collapse
You have to edit the feature_list file, I act at the end of the file by editing the text in this way,
from so:
},
{
"featureName": "OP_FEATURE_MM_ULTRASOUND"
}
]
to so:
},
{
"featureName": "OP_FEATURE_MM_ULTRASOUND"
},
{
"featureName": "OP_FEATURE_ENABLE_POCKETMODE_SWITCH"
}
]
Be careful to follow the correct syntax and spacing as per stock file!
To do this, you need root privileges, a file manager that allows you to act on system partitions and a text editor. I recommend extracting the file, editing it on the PC and then returning it to the smartphone, then replace the stock file and the correct permissions must be assigned.
Once your smartphone has restarted you should be done.
If once you have made the change, you lock the bootloader, the phone is wiped attention.
Honestly no idea if the change survives a reset, i never tried
Cheers
dianoandr said:
You have to edit the feature_list file, I act at the end of the file by editing the text in this way,
from so:
},
{
"featureName": "OP_FEATURE_MM_ULTRASOUND"
}
]
to so:
},
{
"featureName": "OP_FEATURE_MM_ULTRASOUND"
},
{
"featureName": "OP_FEATURE_ENABLE_POCKETMODE_SWITCH"
}
]
Be careful to follow the correct syntax and spacing as per stock file!
To do this, you need root privileges, a file manager that allows you to act on system partitions and a text editor. I recommend extracting the file, editing it on the PC and then returning it to the smartphone, then replace the stock file and the correct permissions must be assigned.
Once your smartphone has restarted you should be done.
If once you have made the change, you lock the bootloader, the phone is wiped attention.
Honestly no idea if the change survives a reset, i never tried
Cheers
Click to expand...
Click to collapse
Can you send your edited feature_list file sir
hungthanhMT said:
Can you send your edited feature_list file sir
Click to expand...
Click to collapse
Sure,
I am attaching the feature_list extracted from Oneplus 7 Pro OxygenOS Open Beta 19 firmware, modified by adding the string necessary to enable the "Pocket mode" feature.
It is important to know that this feature_list file changes with each firmware release so it is not possible to use it universally on all versions of OxygenOS, it is good that it is used as a reference to edit what you use on the your firmware.
I compressed the file to be able to upload it into the thread, IT IS NOT A FLASHABLE FILE, it must be extracted and copied manually, assigning the correct permissions to the file.
If you want to use the attached file, remember that it only works on Oneplus 7 Pro with Open Beta 19 firmware, if you want to add the "pocket mode" feature on other firmware, you have to extract your "feature_list" file and modify it as explained in the article and using my file as a template . I repeat this file is different on each firmware and is different in each Oneplus phone model (changes based on hardware features).
Don't forget that if the file is not edited correctly or you use a file extracted from a different firmware than the one you are using, you risk bootloop!
DO EVERYTHING AT YOUR OWN RISK!
Thread closed on request of OP @dianoandr as the OP doesn't possess the device any longer!

Categories

Resources