Enabling 2 button navigation without ADB on Betas - OnePlus 7 Pro Questions & Answers

I saw an article that described how to use ADB to enable the Two button navigation feature that doesn't show in the Betas.
I've also seen the posts about ADB way.
I was wondering if one has root. Is there a config file that the feature can be turned on from instead?
Here is the ADB command.
adb shell cmd overlay enable com.android.internal.systemui.navbar.twobutton
Just didn't know if someone could tell from this what config file it might be.

paulsg63 said:
I saw an article that described how to use ADB to enable the Two button navigation feature that doesn't show in the Betas.
I've also seen the posts about ADB way.
I was wondering if one has root. Is there a config file that the feature can be turned on from instead?
Here is the ADB command.
adb shell cmd overlay enable com.android.internal.systemui.navbar.twobutton
Just didn't know if someone could tell from this what config file it might be.
Click to expand...
Click to collapse
I just updated my op7pro to Android 10 and would like this option back too and this is all I can find about it
Sent from my OnePlus7Pro using XDA Labs

I love this - thank you. Do not like the Android 10 gestures at all. 2 button is my favourite !

Have you tried just omitting the adb shell part and bunging this into Termux?
cmd overlay enable com.android.internal.systemui.navbar.twobutton

Anybody finding that the back button puts the screen off if double tapped when on the launcher screen? I tried disabling double tap to sleep on the home button, but it still happens. Just curious to see if it happens everyone or if it's just mine. Thanks

hallo dare said:
Anybody finding that the back button puts the screen off if double tapped when on the launcher screen? I tried disabling double tap to sleep on the home button, but it still happens. Just curious to see if it happens everyone or if it's just mine. Thanks
Click to expand...
Click to collapse
Just tried and it doesn't happen for me.
The back button doesn't show if I'm on the home screen and if I tap the back button when the app drawer is open it tends to just open the app that's 'underneath' the button

skymera said:
Just tried and it doesn't happen for me.
The back button doesn't show if I'm on the home screen and if I tap the back button when the app drawer is open it tends to just open the app that's 'underneath' the button
Click to expand...
Click to collapse
Yep same as that, no back button displayed on home screen, but it's turning off the screen if i tap on it twice. Something my side so. O well. Thanks for confirming

Related

[Q] Short Cut for Quick Boot Power Off

Hi,
I'm looking for a way to power off the One without using the power button (I don't want to wear it out!). I expected there to be a tile I could add to quick settings but I can't find one.
I've tried installing a shutdown/reboot app but as I'm using quick boot, these apps do a 'full' shutdown which is not what I want.
Have I missed something or is this functionality missing?
Thanks.
You could use terminal emulator or tasker to make a script/task to shutdown and make a shortcut on your home screen.
Sent from my One Plus One
Double tapping the notification bar will turn the screen off. Don't know if that's what your wanting thought .
Sent from my A0001
Quick boot is a setting in dev options that is sort of like hibernate. When you power off the phone, it can be booted back up in 2 seconds.
Sent from my A0001 using XDA Free mobile app
If I knew what the command was to put the device into quick boot hibernation then yes I could write a script.
Yes I know about double tapping the notification bar to put it to sleep (turn off the screen), and yes I also have the double tap to wake. But I'm still having to press the power button to 'power off' (I realise most people don't do this very often!).
Thanks...
pda1ey said:
If I knew what the command was to put the device into quick boot hibernation then yes I could write a script.
Yes I know about double tapping the notification bar to put it to sleep (turn off the screen), and yes I also have the double tap to wake. But I'm still having to press the power button to 'power off' (I realise most people don't do this very often!).
Thanks...
Click to expand...
Click to collapse
Which ROM are you one? Im using liquid smooth and I have that option if I long press on the go to sleep tile
sent from my amazingly awesome OnePlus One
don't forget to hit thanks!
abhi08638 said:
Which ROM are you one? Im using liquid smooth and I have that option if I long press on the go to sleep tile
sent from my amazingly awesome OnePlus One
don't forget to hit thanks!
Click to expand...
Click to collapse
I'm using the standard CM11S. I tried adding that sleep tile but long pressing it just takes me to the display settings page. I'd have been happy if that had worked!
Thanks anyway.
I use nova launcher. I use a gesture. double tap associated with screenoff app to turn off the screen. Double tap wake double tap in the home turn off the screen.

Screen Wake Issue

Hi All,
So I have a very odd issue. I have googled and searched the threads, but I cannot find any mention of the same issue from anyone else. Here is my problem:
When the screen is completely off (I have "Always On" turned off), sometimes when I push the power button the lock screen does not come up. Instead, I can barely make out tiny white text at the very bottom of the display that is half cut off. Obviously I cannot take a screenshot to show you. So I push the power button a couple of times and then it works.
Anybody have a clue what is going on?
Thanks in advance!
Dave
dmmoroney said:
Hi All,
So I have a very odd issue. I have googled and searched the threads, but I cannot find any mention of the same issue from anyone else. Here is my problem:
When the screen is completely off (I have "Always On" turned off), sometimes when I push the power button the lock screen does not come up. Instead, I can barely make out tiny white text at the very bottom of the display that is half cut off. Obviously I cannot take a screenshot to show you. So I push the power button a couple of times and then it works.
Anybody have a clue what is going on?
Thanks in advance!
Dave
Click to expand...
Click to collapse
Do u use greenify?
Sent from my Samsung SM-G955U using XDA Labs
I do! What setting can I change to resolve this?
dmmoroney said:
I do! What setting can I change to resolve this?
Click to expand...
Click to collapse
Auto hibernate. Just make a home screen shortcut and tap it B4 u lock your device
Sent from my Samsung SM-G955U using XDA Labs
I must be an idiot. Can you clarify? That sounds like an annoying extra step to have to tap an app prior to each time I lock my phone. Maybe I'm misunderstanding?
that text is greenify is working sign ..
when you press power button when it's working, you won't get screen wake. Need to wait until it's finished,
or press power once (to stop greenify process) then wait a little while until text disappears.
dmmoroney said:
I must be an idiot. Can you clarify? That sounds like an annoying extra step to have to tap an app prior to each time I lock my phone. Maybe I'm misunderstanding?
Click to expand...
Click to collapse
No it's a hibernate shortcut you don't actually open the app. just tap it and it'll put everything to sleep then just lock your phone. I don't use auto hide unless I have root. On nonrooted phones it takes forever to do it when you go to lock your phone and in my case it would take forever for me to be able to unlock my phone so I find it easier to just tap the shortcut then lock
Note the lil icon in the bottom right. It just puts stuff to sleep, doesn't open the app
Sent from my Samsung SM-G955U using XDA Labs
crayonyes said:
that text is greenify is working sign ..
when you press power button when it's working, you won't get screen wake. Need to wait until it's finished,
or press power once (to stop greenify process) then wait a little while until text disappears.
Click to expand...
Click to collapse
Also what he said, it's normal but slow
Sent from my Samsung SM-G955U using XDA Labs
buttsak said:
No it's a hibernate shortcut you don't actually open the app. just tap it and it'll put everything to sleep then just lock your phone. I don't use auto hide unless I have root. On nonrooted phones it takes forever to do it when you go to lock your phone and in my case it would take forever for me to be able to unlock my phone so I find it easier to just tap the shortcut then lock
Note the lil icon in the bottom right. It just puts stuff to sleep, doesn't open the app
Sent from my Samsung SM-G955U using XDA Labs
Click to expand...
Click to collapse
this!
I'm also using the hibernate&sleep shortcut widget,
and disable auto hibernate because of this long wait time.

One Hand mode shortcut

Hi
I want to create a shortcut for one hand mode (3x home button) so that it is an action like "back" on the navigation bar so that I can put it in my swiftly switch pro menu and access one hand mode with a single action instead of pressing the home button 3x.
Any ideas how to do that? (I just switched from iPhone to Android and am a newbie)
Regards
Axkings said:
Hi
I want to create a shortcut for one hand mode (3x home button) so that it is an action like "back" on the navigation bar so that I can put it in my swiftly switch pro menu and access one hand mode with a single action instead of pressing the home button 3x.
Any ideas how to do that? (I just switched from iPhone to Android and am a newbie)
Regards
Click to expand...
Click to collapse
Hi man. I'm from Russia, firmware may differ. But I have a choice: a jesture or a 3-push of a button. I prefer jesture.
To make it work you should swype diagonally from edge of screen (down and right edge). Also, if you hold a bit longer, you can change the size of the screen (bigger / less). See "One-handed mode Galaxy s8" on YouTube
It is completely legitimate to make a shortcut button or icon to one hand mode instead of thosr cumbersome gestures.
Here is how to do it :
Simply run this terminal command from any method or script '
am startservice -n com.sec.android.easyonehand/.EasyOneHandService
This works on the galaxy s5. This rune the service to activate the one hand mode.
juandante said:
It is completely legitimate to make a shortcut button or icon to one hand mode instead of thosr cumbersome gestures.
Here is how to do it :
Simply run this terminal command from any method or script '
am startservice -n com.sec.android.easyonehand/.EasyOneHandService
This works on the galaxy s5. This rune the service to activate the one hand mode.
Click to expand...
Click to collapse
Do you know how to open app in pop up window from terminal
Thanks
Nochlab1 said:
Do you know how to open app in pop up window from terminal
Thanks
Click to expand...
Click to collapse
There is, at least according to my intense research and my logic, no way to open directly an app in pop-up mode. Indeed even Samsung doesn't have a shortcut for this, at least not at my knowledge.
But, it is possible to launch the multi window launcher and then launch an app from here in terminal with root :
am startservice com.sec.android.app.FlashBarService/.MultiWindowTrayService
This command is only for the launcher. Normally there should also be a terminal command to put the currently on-screen app in pop-up, just like the slide from corner gesture.
juandante said:
There is, at least according to my intense research and my logic, no way to open directly an app in pop-up mode. Indeed even Samsung doesn't have a shortcut for this, at least not at my knowledge.
But, it is possible to launch the multi window launcher and then launch an app from here in terminal with root :
am startservice com.sec.android.app.FlashBarService/.MultiWindowTrayService
This command is only for the launcher. Normally there should also be a terminal command to put the currently on-screen app in pop-up, just like the slide from corner gesture.
Click to expand...
Click to collapse
Thank you
(Btw on the recent apps you can launch a app in pop-up mode
Nochlab1 said:
Thank you
(Btw on the recent apps you can launch a app in pop-up mode
Click to expand...
Click to collapse
Yes and no, what I mean is that the app is not directly launched in pop-up because you need the extra step of opening the side launcher.
One way is as I did, to replace the home button with the side launcher (1 tap = side launcher, 2 taps = home screen) , it is possible with Nova Launcher.
What would be equally perfect is to find a way to open the app directly in pop-up with an activity on the home screen or, once the app is launched thanks to Tasker for example force the app to go in pop-up automatically. It must be possible because the side corner swipe to put the app in pop-up is simply an activity or service or some thing of some sort, but I haven't manage to find the command line.
juandante said:
Yes and no, what I mean is that the app is not directly launched in pop-up because you need the extra step of opening the side launcher.
One way is as I did, to replace the home button with the side launcher (1 tap = side launcher, 2 taps = home screen) , it is possible with Nova Launcher.
What would be equally perfect is to find a way to open the app directly in pop-up with an activity on the home screen or, once the app is launched thanks to Tasker for example force the app to go in pop-up automatically. It must be possible because the side corner swipe to put the app in pop-up is simply an activity or service or some thing of some sort, but I haven't manage to find the command line.
Click to expand...
Click to collapse
The thing is i am on android pie so i dont have the multi window "launcher" the way i can open a app in pop-up window is either thru swiping from the edge of the screen or going into the recents apps and clicking the app icon and clicking open in pop-up mode
Nochlab1 said:
The thing is i am on android pie so i dont have the multi window "launcher" the way i can open a app in pop-up window is either thru swiping from the edge of the screen or going into the recents apps and clicking the app icon and clicking open in pop-up mode
Click to expand...
Click to collapse
On this android version it is easier because there are root apps in Play store or in Xposed to manage this, isn't there? I think a saw few apps claiming to manage multiwindow for this version.
juandante said:
On this android version it is easier because there are root apps in Play store or in Xposed to manage this, isn't there? I think a saw few apps claiming to manage multiwindow for this version.
Click to expand...
Click to collapse
1. I never saw any
2. I cant root

Button Mapper (remap Bixby and other buttons)

Button Mapper on the Play Store:
https://play.google.com/store/apps/details?id=flar2.homebutton&hl=en
If your device is rooted, you have complete ability to remap the Bixby Button. You can disable the Bixby assistant, it does not need to be enabled for this to work. There are no compromises with this method. You can get rid of Bixby and program whatever single, double and long press actions you want.
If your device is not rooted, you can still remap Bixby using an experimental method. This method also works with Bixby disabled, and will allow you to map whatever actions you like to a single press or long press. It requires running a command in adb shell once. After this, the Bixby button can be remapped with Button Mapper. A slight inconvenience, but it works.
If you don't like the stuttering that occurs on Samsung devices with certain Accessibility features enabled, got to Advanced Options and select "Remap Bixby only"

Sweet, installing this now. I'll let you know if it works on my phone. Just what I was looking for.
---------- Post added at 12:44 PM ---------- Previous post was at 12:23 PM ----------
It works fantastic on my cricket wireless s8 with unlocked firmware on it. Just tells me I will need to resubmit the adb command anytime I restart my phone. No big deal. This is great. No more Bixby..haha.
Its working just fine, i do not have any bixby apks on my device, and with root even working with screen off. Thanks @flar2 for your great work again.
Bought Premium already!
Installing now thanks @flar2
sent from dans R.I.C.E powered V8+ on one of jesses kernels
@flar2 can you do the commands in terminal emulator or does it need adb shell?
t12icky0 said:
@flar2 can you do the commands in terminal emulator or does it need adb shell?
Click to expand...
Click to collapse
Needs adb shell, no way around that.
flar2 said:
Needs adb shell, no way around that.
Click to expand...
Click to collapse
No big to me, well worth it.
Sent from my SM-G950U1 using Tapatalk
t12icky0 said:
No big to me, well worth it.
Sent from my SM-G950U1 using Tapatalk
Click to expand...
Click to collapse
The only time I ever reboot is for system updates, so not a big deal for me either.
Hi flar,
Quick question, I already remapped my Bixby button to ASSIST action to have Google assistant on button press.
I am therefore rooted.
Would I need to remap the button to the stock feature, or can I leave it like this ?
Works like a charm ? thanks ?
Paradoxxx said:
Hi flar,
Quick question, I already remapped my Bixby button to ASSIST action to have Google assistant on button press.
I am therefore rooted.
Would I need to remap the button to the stock feature, or can I leave it like this ?
Click to expand...
Click to collapse
I'm not exactly sure what you're asking. You should be able to remap whatever you like. With root you can do almost anything.
best!
This is great!
flar2 said:
I'm not exactly sure what you're asking. You should be able to remap whatever you like. With root you can do almost anything.
Click to expand...
Click to collapse
My question is, should I revert the Generic Keylayout to its original state to use that app properly or not.
The only issue I have seen is now the volume slider only has 4 steps of volume instead of the 15 steps it used to have. When I do a volume up up or down it goes 25% each way. I uninstall this and it goes back to normal.
Am I missing something or what is the ADB command that I need to use?
Never mind.
Paradoxxx said:
My question is, should I revert the Generic Keylayout to its original state to use that app properly or not.
Click to expand...
Click to collapse
Oh I see. You should not need to change the key layout, the point of the app is to modify without having to do that. It may not even work correctly if you've modified the keylayout file.
Really appreciate this app! Got the pro already.
About the Tasker intent, how does it work really?
Can't wait to test this app, although I have a question..why does this app needs access to observe the text you write, thy is this needed? Until now I used bxActoins which did not needed this but yours doesn't need bixby services enabled so I would like to try it.. I'm just curious why is this needed
EDIT: Just tried the app and its working really really well, I am very pleased with the result on non-rooted phone Is there a way to add the google now screen scan option to open? I used to get this smart screen search with the google now on my HTC 10 but now with this I can only see it opens either google assistant or google search..
Thank you for all your hard work, I appreciate it
App works great but it's limited on the functions of the button. Would be nice to be able to start up any app. Also, after uninstalling and rebooting, I can't seem to get bxActions to work again. The button is just disabled and doesn't do anything.

Question 3 button navigation issue android 12+

so when i use 3 button navigation and i repeatedly press back or home button from an app it just shows for a split second a ghost image of the app i was in. a screen recording is attached as well.
smartasiankid said:
so when i use 3 button navigation and i repeatedly press back or home button from an app it just shows for a split second a ghost image of the app i was in. a screen recording is attached as well.
Click to expand...
Click to collapse
Do you have any Magisk modules installed that could conflict with systemUI?
If not, have you installed any apps that require root access/adb commands to work properly? (eg. systemui tuner)
Lada333 said:
Do you have any Magisk modules installed that could conflict with systemUI?
If not, have you installed any apps that require root access/adb commands to work properly? (eg. systemui tuner)
Click to expand...
Click to collapse
no nothing of that sort. i don't even have root on this and i dont have any apps that require adb commands. do you have the same issue on your end? try repeatedly tapping home/ back button on your pixel and let me know if you have the same issue.
I'm setup for no button/gestures atm with magisk & the aosp module which gives me mostly total control over gestures. If u ever want to try out root, now's the time...it's easier than ever! Just sayin'...cuz 3 button is prolly lot long for this world. Not only can u micro-manage the UI, you can squeeze approx. 20-30% more battery time outta android...usually. Switched to 3-button just to see...nothin' tho. Watched ur clip...strange indeed.
smartasiankid said:
no nothing of that sort. i don't even have root on this and i dont have any apps that require adb commands. do you have the same issue on your end? try repeatedly tapping home/ back button on your pixel and let me know if you have the same issue.
Click to expand...
Click to collapse
Luckily, no. I have tried to replicate the issue, doesn't happen my end.
I was having trouble with some apps previously that required adb to work. They would often make my quick settings glitch out, or sometimes have a similar effect when closing apps as what you currently experience.
Try to switch to gesture navigation, do a cold reboot, then switch back to 3 button?
Lada333 said:
Luckily, no. I have tried to replicate the issue, doesn't happen my end.
I was having trouble with some apps previously that required adb to work. They would often make my quick settings glitch out, or sometimes have a similar effect when closing apps as what you currently experience.
Try to switch to gesture navigation, do a cold reboot, then switch back to 3 button?
Click to expand...
Click to collapse
could you please post here a screen recording with 3 button navigation settings and touch pointers enabled in the record settings?
smartasiankid said:
could you please post here a screen recording with 3 button navigation settings and touch pointers enabled in the record settings?
Click to expand...
Click to collapse
What is it that you'd be looking for in a screen recording? I have no input lag when touching the home/back button, and there's no laggy animation for the app minimizing.
Lada333 said:
What is it that you'd be looking for in a screen recording? I have no input lag when touching the home/back button, and there's no laggy animation for the app minimizing.
Click to expand...
Click to collapse
well i would just like you to send a screen recording of you REPEATEDLY pressing home button on different apps and third party apps. you may not have any input lag because you only press the home button once not repeatedly, so please.

Categories

Resources