Is it possible to change what the Ai button does? saw it mentioned in someones video before
As of right now no.
Currently only root users can do it by replacing keylayout
https://github.com/TadiT7/xiaomi_pe.../system/system/usr/keylayout/gpio-keys.kl#L32
I've been looking for an answer to this.. I downloaded a couple of button remappers but there is no option to change this as far as I know... Someone please prove me wrong. This thing would be awesome with Ok Google launching instead of that Xiaoai...
AndroPlus said:
Currently only root users can do it by replacing keylayout
https://github.com/TadiT7/xiaomi_pe.../system/system/usr/keylayout/gpio-keys.kl#L32
Click to expand...
Click to collapse
(Solved) I was able to remap the AI button by doing the following steps.
Prerequisite: Mi Mix 3 must be rooted!
1. Replace "AI" with "GOOGLE_ASSISTANT" in gpio-keys.kl#L32 (this is merely a place holder for the key, it may work by just removing "AI") using root-browser to navigate to the /system/usr/keylayout/ directory.
2. Uninstall MI AI through ADB shell "pm uninstall -k --user 0 com.miui.voiceassist".
3. Use BUTTON REMAPPER
Enable Service
Press "+" to assign new key
Press the AI button
Check longpress "0.25 sec"
Action-Other...
Choose "Voice Search" (or any other app you want to the AI button to open)
4. Ensure the apps "Google" "Assistant" and "Button Mapper" can auto-start, modify system settings, and ignore battery optimizations.
5. Enjoy (at your own risk, it works for me)
xreactx said:
replace it with what?
Click to expand...
Click to collapse
Maybe CAMERA or something, then you should be able to remap even other functions with this app.
https://play.google.com/store/apps/details?id=com.irishin.buttonsremapper&hl=en
Currently I'm on GSI and can't test right now, though.
AndroPlus said:
Maybe CAMERA or something, then you should be able to remap even other functions with this app.
https://play.google.com/store/apps/details?id=com.irishin.buttonsremapper&hl=en
Currently I'm on GSI and can't test right now, though.
Click to expand...
Click to collapse
No worries, i figured it out. I edited my original question with the solution (see above).
Disabling the Mi AI gives options in English including the Google assistant. I assume this is what the global rom will have. However none of the options work right now.
https://postimg.cc/QFwysLnR
https://postimg.cc/mc78sP9H
https://postimg.cc/phxkXPQ1
I really don't wanna root my phone for this.. Guess we'll have to wait until the Global rom can be flashed to our Chinese devices.. Good find guys!
xreactx said:
(Solved) I was able to remap the AI button by doing the following steps.
Prerequisite: Mi Mix 3 must be rooted!
1. Replace "AI" with "GOOGLE_ASSISTANT" in gpio-keys.kl#L32 (this is merely a place holder for the key, it may work by just removing "AI") using root-browser to navigate to the /system/usr/keylayout/ directory.
2. Uninstall MI AI through ADB shell "pm uninstall -k --user 0 com.miui.voiceassist".
3. Use BUTTON REMAPPER
Enable Service
Press "+" to assign new key
Press the AI button
Check longpress "0.25 sec"
Action-Other...
Choose "Voice Search" (or any other app you want to the AI button to open)
4. Ensure the apps "Google" "Assistant" and "Button Mapper" can auto-start, modify system settings, and ignore battery optimizations.
5. Enjoy (at your own risk, it works for me)
Click to expand...
Click to collapse
So when I do this and I try to add the button I get unknown (0)
Any thoughts?
souless poet said:
So when I do this and I try to add the button I get unknown (0)
Any thoughts?
Click to expand...
Click to collapse
I get "Key 0" and assign it to open an app "voice search."
xreactx said:
I get "Key 0" and assign it to open an app "voice search."
Click to expand...
Click to collapse
hmmmm wonder if the issue is that I'm deleting the app w an app and not using cmd
---------- Post added at 03:58 AM ---------- Previous post was at 03:39 AM ----------
souless poet said:
hmmmm wonder if the issue is that I'm deleting the app w an app and not using cmd
Click to expand...
Click to collapse
Nope that didn't work. ?. I will figure it out.
I couldn't get it to work with that app so I used Tasker and AutoInput. It registers as key code 0 but works fine.
I use it to change from Normal to silent to do not disturb, very handy.
z3r0sum said:
I couldn't get it to work with that app so I used Tasker and AutoInput. It registers as key code 0 but works fine.
I use it to change from Normal to silent to do not disturb, very handy.
Click to expand...
Click to collapse
Do you still have to uninstall Mi AI with adb shell? I've never used Tasker/AutoInput
x1vietnguyen said:
Do you still have to install Mi AI with adb shell? I've never used Tasker/AutoInput
Click to expand...
Click to collapse
I uninstalled it with Root Uninstaller. I can send you the tasker profile so you can just import the settings. You have to pay for tasker though
z3r0sum said:
I uninstalled it with Root Uninstaller. I can send you the tasker profile so you can just import the settings. You have to pay for tasker though
Click to expand...
Click to collapse
Will you send to me as well please. Thanks in advance
souless poet said:
Will you send to me as well please. Thanks in advance
Click to expand...
Click to collapse
Do you want it to open Google Assistant or Toggle sound modes?
z3r0sum said:
Do you want it to open Google Assistant or Toggle sound modes?
Click to expand...
Click to collapse
Assistant
souless poet said:
Assistant
Click to expand...
Click to collapse
Here you go:
https://taskernet.com/shares/?user=...hd9Sunw71/yAIttueTg==&id=Profile:Sound+Toggle
z3r0sum said:
Here you go:
https://taskernet.com/shares/?user=...hd9Sunw71/yAIttueTg==&id=Profile:Sound+Toggle
Click to expand...
Click to collapse
Thanks. Much appreciated.
---------- Post added at 02:31 AM ---------- Previous post was at 02:22 AM ----------
z3r0sum said:
Here you go:
https://taskernet.com/shares/?user=...hd9Sunw71/yAIttueTg==&id=Profile:Sound+Toggle
Click to expand...
Click to collapse
Won't import
---------- Post added at 02:32 AM ---------- Previous post was at 02:31 AM ----------
z3r0sum said:
Here you go:
https://taskernet.com/shares/?user=...hd9Sunw71/yAIttueTg==&id=Profile:Sound+Toggle
Click to expand...
Click to collapse
Won't import
Related
Hi all.
I want to ask, if i can uninstall app called "photos" without uninstalling Google+
I don't mean default photos app. I mean that one that is installed with Google+
i don't want have 2x same app in phone
thx guys for help
Mondop said:
Hi all.
I want to ask, if i can uninstall app called "photos" without uninstalling Google+
I don't mean default photos app. I mean that one that is installed with Google+
i don't want have 2x same app in phone
thx guys for help
Click to expand...
Click to collapse
im sure you "could" uninstall it, but i would be afraid of some crashing in the g+ app because they are linked together.
try freezing it first to see what happens, then if you have a problem it is easy to put back.
Mondop said:
Hi all.
I want to ask, if i can uninstall app called "photos" without uninstalling Google+
I don't mean default photos app. I mean that one that is installed with Google+
i don't want have 2x same app in phone
thx guys for help
Click to expand...
Click to collapse
Try this in terminal
Code:
su
pm disable com.google.android.apps.plus/com.google.android.plus.phone.PhotosIntroActivity
Best of luck,
samsungrockz said:
Try this in terminal
Code:
su
pm disable com.google.android.apps.plus/com.google.android.plus.phone.PhotosIntroActivity
Best of luck,
Click to expand...
Click to collapse
Did you mean Terminal Emulator that should i download from google play store? if yes, i tried this and nothing happend
i tried write this: pm disable com.google.android.apps.plus/com.google.android.plus.phone.PhotosIntroActivity
should i add "su" infront of all those words?
Mondop said:
Did you mean Terminal Emulator that should i download from google play store? if yes, i tried this and nothing happend
i tried write this: pm disable com.google.android.apps.plus/com.google.android.plus.phone.PhotosIntroActivity
should i add "su" infront of all those words?
Click to expand...
Click to collapse
No, first opening the terminal, enter only su
Then terminal emulator is granted root access, thEn type the rest of the command.
**your device needs to bee ROOTED in first place**
samsungrockz said:
No, first opening the terminal, enter only su
Then terminal emulator is granted root access, thEn type the rest of the command.
**your device needs to bee ROOTED in first place**
Click to expand...
Click to collapse
So thats exactly what have i done... :/ not working
So what is the message you are getting in terminal when you enter those codes??
samsungrockz said:
So what is the message you are getting in terminal when you enter those codes??
Click to expand...
Click to collapse
exactly what you want from me...
i installed terminal
opened it
wrote: su
allowed su acces
wrote : pm disable com.google.android.apps.plus/com.google.android.plus.phone.PhotosIntroActivity
terminal wrote something with word : killed
then i go to apps
clicked on photos and photos worked....
Okay, install Rom Toolbox Pro, then open the app, grant root access, open app manager in it, locate Google+, click on it, swipe to left and select advance freeze, and freeze the activities with the Google+ photos icon in it. Done!!
samsungrockz said:
Okay, install Rom Toolbox Pro, then open the app, grant root access, open app manager in it, locate Google+, click on it, swipe to left and select advance freeze, and freeze the activities with the Google+ photos icon in it. Done!!
Click to expand...
Click to collapse
Ok thanks, it works
I'm on a rooted nexus 5 running stock kitkat 4.4.4 and xposed framework. I have no wish to update the operating system. I was able to stop the system update notifications in the past by simply disabling 3 receivers :
service:com.google.android.gms.update.SystemUpdateService$ Receiver
com.google.android.gms.update.SystemUpdateService$ ActiveReceiver
com.google.android.gms.update.SystemUpdateService$ SecretCodeReceiver
This worked for a while, then the system update notification appeared again! This time, to get rid of the notification I needed to use several adb commands:
1. adb shell su -c pm disable com.google.android.gms/.update.SystemUpdateService$ActiveReceiver
2. adb shell su -c pm disable com.google.android.gms/.update.SystemUpdateService$Receiver
3. adb shell su -c pm disable com.google.android.gms/.update.SystemUpdateService$SecretCodeReceiver
4. adb shell su -c pm disable com.google.android.gsf/.update.SystemUpdateActivity
5. adb shell su -c pm disable com.google.android.gsf/.update.SystemUpdatePanoActivity
6. adb shell su -c pm disable com.google.android.gsf/.update.SystemUpdateService
7. adb shell su -c pm disable com.google.android.gsf/.update.SystemUpdateService$Receiver
8. adb shell su -c pm disable com.google.android.gsf/.update.SystemUpdateService$SecretCodeReceiver
That worked - for a while..... ?
The notification to update to 5.0.1 has reappeared again. What else should I do to stop it this time?
Appreciate any help.
That's a lot of work. And you're missing out on a bunch of pretty important security updates.
Sent from my Nexus 5 using Tapatalk
Like it the way it is.
I recommend you installing three apps to disable this fully:
AppOpsXposed
MyAndroidTools
Servicely
In appopsxposed what you need to do is to disable the "wake up" function of google play services as well as other brothers of it (google services framework)
MyAndroidTools
to disable update service simply go to the services tab in it and search for google play services:
On the upper right side click Full/Short button and you should be able to see the full extension file for each services
Search Update$Service and disablle all related services for it (there are 4, policyintent, updaterservice and I forgot the last two)
Servicely is to stop the all in all process and services of Gsm/Gcm which reboots the update service(dont know if this is a leak)
just install it into priv-app and give octal permission 0777 and select google play service and frameworks as a hitlist and you should have no worries about anything.
Let me know when this helped you and please press thanks if it does try it first it wont consume much time
Phantom, you're a life saver. I'll try what you suggest and let you know if it worked.
Thank you.
Also dont forget to disable broadcast receiver for system$update services located in.. Well broadcast receiver haha
Just use myandroidtools
Click broadcast receiver and navigate to system, find gplay services and type in systemupdate, again there are 4 receivers for it disable all of it
OK. I installed all 3 apps.
1. Did the appOpsXposed part.
2. Have trouble in Myandroidtools. None of the items have Update$Service in them. (No $). I'm attaching a screenshot so you can tell me which 4 to disable.
3. I installed Servicely but, how do I "install it into priv-app" ?
Thank you.
phantom146 said:
Also dont forget to disable broadcast receiver for system$update services located in.. Well broadcast receiver haha
Just use myandroidtools
Click broadcast receiver and navigate to system, find gplay services and type in systemupdate, again there are 4 receivers for it disable all of it
Click to expand...
Click to collapse
I messed up.
Went to Google play services, clicked on system update (I think, can't remember) which had a checkmark in its select box and now it disappeared!
Help.
(I did a nandroid backup before starting but maybe there a simpler way).
phantom146 said:
Also dont forget to disable broadcast receiver for system$update services located in.. Well broadcast receiver haha
Just use myandroidtools
Click broadcast receiver and navigate to system, find gplay services and type in systemupdate, again there are 4 receivers for it disable all of it
Click to expand...
Click to collapse
Here's my screenshot for that. Not sure what those in red mean and whether selected means enabled or disabled.
Here's the screenshot
maybeme2 said:
Here's my screenshot for that. Not sure what those in red mean and whether selected means enabled or disabled.
Click to expand...
Click to collapse
Red means it was disabled.
To disable a service and a receiver click the name itself not the checkbox and no you didntessed up it disappeared becauseit was an active service it went to the bottom line of the queue
Let me give you a screenshot here
---------- Post added at 04:27 AM ---------- Previous post was at 04:17 AM ----------
maybeme2 said:
I messed up.
Went to Google play services, clicked on system update (I think, can't remember) which had a checkmark in its select box and now it disappeared!
Help.
(I did a nandroid backup before starting but maybe there a simpler way).
Click to expand...
Click to collapse
You didn't messed up just relax
It disappeared because it was moved back to queue.
To disable a service and a receiver let me remind you to click the name not the checkbox, if you click the checkbox it will reappear again.
Heres the system update service and receiver i disabled for you and my wakelocks for Gplayservices as well as my partial wakelocks in my N5 with heavy tweaks on my battery life, shown by BBS(better battery stats)
I dont have any wakeups from Gplayservices to be honest
and here is my batt life with some data usage on
---------- Post added at 04:46 AM ---------- Previous post was at 04:27 AM ----------
maybeme2 said:
OK. I installed all 3 apps.
1. Did the appOpsXposed part.
2. Have trouble in Myandroidtools. None of the items have Update$Service in them. (No $). I'm attaching a screenshot so you can tell me which 4 to disable.
3. I installed Servicely but, how do I "install it into priv-app" ?
Thank you.
Click to expand...
Click to collapse
Download root explorer or any explorer that can do a read/write(basically almost all of them such as solid explorer)
download the apk for servicely you can find a lot inside the huge cloud of the internet haha
once downloaded copy the servicely apk using the explorer of your choice and navigate to root/system/priv-app and paste it there. Press and hold the apk it should prompt you with many choices, find permissions there and put check on all the boxes for permissions
dont forget that you need to enable r/w or read/write permission first for your explorer or else you wont be able to edit permissions or move an apk file inside the system/priv-app
All done and everything worked. System update gone. Thank you.
maybeme2 said:
All done and everything worked. System update gone. Thank you.
Click to expand...
Click to collapse
My pleasure
This also worked perfectly on my M8. Wanted to stay at lollipop 5.1.1. Once I did the steps here Marshmallow ota went away.
Sent from my HTC One_M8 using Tapatalk
gustav30 said:
This also worked perfectly on my M8. Wanted to stay at lollipop 5.1.1. Once I did the steps here Marshmallow ota went away.
Sent from my HTC One_M8 using Tapatalk
Click to expand...
Click to collapse
Now press the magic button lol
Anyone know if it's possible to change the size of the navigation buttons? It's so small for a giant screen like that what has in this phone.
Thanks.
Or, does anyone know how to make them disappear?
Sent from my MHA-L29 using XDA-Developers mobile app
Tuffcheez said:
Or, does anyone know how to make them disappear?
Click to expand...
Click to collapse
Will be a nice feature in the future firmware
I only know how to change the order of the navigation buttons.
try this
https://play.google.com/store/apps/details?id=com.gmd.immersive
Tuffcheez said:
Or, does anyone know how to make them disappear?
Click to expand...
Click to collapse
adb shell
settings put global navigationbar_is_min 1
This hides the navigation bar while keeping the status bar visible.
abit said:
try this
https://play.google.com/store/apps/details?id=com.gmd.immersive
Click to expand...
Click to collapse
That worked great thanks!
Sent from my MHA-L29 using XDA-Developers mobile app
Tuffcheez said:
That worked great thanks!
Sent from my MHA-L29 using XDA-Developers mobile app
Click to expand...
Click to collapse
But sometimes it make the keyboard not pop-up properly
abit said:
try this
https://play.google.com/store/apps/details?id=com.gmd.immersive
Click to expand...
Click to collapse
Thanks! I'm trying that now. it does seem to have a keyboard issue but I'll see how it goes...
This trick doesn't work anymore on MHA-L29C185B182.
To apply the settings temporarily, the original Huawei Home launcher must be used, and after reboot the phone , navigation bar reapers.
Did you find any alternatives?
Thanks!
MishaalRahman said:
adb shell
settings put global navigationbar_is_min 1
This hides the navigation bar while keeping the status bar visible.
Click to expand...
Click to collapse
dancrow said:
This trick doesn't work anymore on MHA-L29C185B182.
To apply the settings temporarily, the original Huawei Home launcher must be used, and after reboot the phone , navigation bar reapers.
Did you find any alternatives?
Thanks!
Click to expand...
Click to collapse
I did that with Tasker and Secure Settings and it became permenant
me7tarfeek said:
I did that with Tasker and Secure Settings and it became permenant
Click to expand...
Click to collapse
Can you explain how step-by-step please
me7tarfeek said:
I did that with Tasker and Secure Settings and it became permenant
Click to expand...
Click to collapse
Please explain us
Lykeul said:
Can you explain how step-by-step please
Click to expand...
Click to collapse
1)Install Tasker
2)Install Secure Settings plugin
3)Open Tasker
4)Add a new Task -> plugin -> Secure Settings -> Configurations-> Actions -> Device Settings
5) Under Setting table, select Global
6) Under Setting Name, select navigationbar_is_minumum
7) Under Setting Value put 1
Save the taske
Go back to the tasks you created
Run your task
Restart your device and that is it.
Note: you need another mean of navigation
To restore yiur navigationbar, change setting value to 0 and run your task again and restart
dancrow said:
Please explain us
Click to expand...
Click to collapse
See above
me7tarfeek said:
1)Install Tasker
2)Install Secure Settings plugin
3)Open Tasker
4)Add a new Task -> plugin -> Secure Settings -> Configurations-> Actions -> Device Settings
5) Under Setting table, select Global
6) Under Setting Name, select navigationbar_is_minumum
7) Under Setting Value put 1
Save the taske
Go back to the tasks you created
Run your task
Restart your device and that is it.
Note: you need another mean of navigation
To restore yiur navigationbar, change setting value to 0 and run your task again and restart
Click to expand...
Click to collapse
Thank you very much, I try it now
I forgot to say you need root for this to work ?
me7tarfeek said:
I forgot to say you need root for this to work
Click to expand...
Click to collapse
I just see that, after paid the app and trying to do... but I don't root.........
Lykeul said:
I just see that, after paid the app and trying to do... but I don't root.........
Click to expand...
Click to collapse
Sorry... I forget... ?
Anyone found a solution to remove or delete Chinese yellow page from dailar app?
Or did someonw found dailar app replacement?
Try adb method to remove system app without root
Zanr Zij said:
Try adb method to remove system app without root
Click to expand...
Click to collapse
You tryed this method?
Every phone I tried work
bader469 said:
You tryed this method?
Click to expand...
Click to collapse
Zanr Zij said:
Every phone I tried work
Click to expand...
Click to collapse
How to do urn, can you till me the steps
bader469 said:
How to do urn, can you till me the steps
Click to expand...
Click to collapse
https://forum.xda-developers.com/note-10/how-to/guide-to-remove-apps-root-t3828324
Still here :/
Yellow Pages
I used this command - pm uninstall -k --user 0 com.huawei.yellowpage - Ran twice to make sure it was removed.
Yellow Pages still show up in dialer. Just press 1 or 0 on keypad.
The stock dialer does not have option to select all to clear call list.
Anyone know of a replacement dialer that does not vacuum all the information from my phone?
I plan on rooting my OnePlus 7 Pro when I get it.
I really don't want to have anyone turn Zen mode on (I don't plan on using it at all). It's pretty stupid that OnePlus didn't require authentication before entering Zen Mode (so you'd have to authenticate before Zen actually locks your phone down). Since they didn't do that, did anyone make a mod (magisk or otherwise) which completely nukes the feature?
i'll make one if u want to try it out
I'd love to, although I won't be receiving the 7 Pro for another week probably, I gotta get it forwarded from the US.
I really want that thing disabled. Ideally in a Magisk module or just generally something that won't break SafetyNet (because I use Google Pay)
no prob i'll get it ready
Thank you! I'd recommend making a post on the mods section and linking it here, rather than just giving me the zip, so that everyone could enjoy preventing their friends from bricking their phones!
Plus, if it's a Magisk mod, we can just use the built in applock to secure Magisk, and BAM! Phone secured!
Lirannl said:
Thank you! I'd recommend making a post on the mods section and linking it here, rather than just giving me the zip, so that everyone could enjoy preventing their friends from bricking their phones!
Plus, if it's a Magisk mod, we can just use the built in applock to secure Magisk, and BAM! Phone secured!
Click to expand...
Click to collapse
I would but there is someone already doing a DeBloat Thread and didn't want to step on toes. But I will so some custom ones upon request
I will also send u a link in PM just in case this thread gets lost by the time u get ur phone.
Here is Zen Mode DeBloater Module
you could use pm disable/uninstall to remove applications on current user setup.
doesnt require root
virtyx said:
you could use pm disable/uninstall to remove applications on current user setup.
doesnt require root
Click to expand...
Click to collapse
Would it work if u can't disable
Bradl79 said:
I would but there is someone already doing a DeBloat Thread and didn't want to step on toes. But I will so some custom ones upon request
I will also send u a link in PM just in case this thread gets lost by the time u get ur phone.
Here is Zen Mode DeBloater Module
Click to expand...
Click to collapse
Judging by this conversation, I assume that it's just a system app then? I just don't know because I don't have my OP7P yet.
Lirannl said:
Judging by this conversation, I assume that it's just a system app then? I just don't know because I don't have my OP7P yet.
Click to expand...
Click to collapse
Correct it's located in /system/app/OPBreathMode
Bradl79 said:
Would it work if u can't disable
Click to expand...
Click to collapse
you need an app like "app inspector" or "package name viewer" something that can get you the full name of the folder of the apk.
once you do that
in windows adb with usb debugging on
adb shell pm disable-user --user 0 com.whatever.whatever
and then to enable again
adb shell pm enable <package_to_enable>
deleted
I did that using adb, but instead of disable i uninstalled it.
I just froze it in TiBackup
Same here, Froze it with TB...
I tried to do it through termux with magisk module debloater(termux emulator) but couldn't find it looked through all sections but it's not in there any ideas?