How to access IR Camera OxygenOS 12 [OB1] - OnePlus 8 Pro Guides, News, & Discussion

Well, it seems we actually can access the infrared camera. You can get into engineering more (less features)
1. Dial *#899#
2. Go to manual test
3. Swipe over to camera
4. Select test camera
5. Switch to the 4th camera with the button in the right hand bottom corner.
6 Enjoy

I was wrong you totally can record and such. You just need to use camera test from the same section and you can switch to the 4th camera. So I edited the post.

Anyone know of a way to access the file so we can program an app to open that camera?

This app called "Activity manager". Requires root. There's an activity, I don't remember the name exactly as I have since rolled back to o2OS11. Something like factorymode.manualcameratest. You can create a shortcut to that activity on homescreen.

saifalichishti said:
This app called "Activity manager". Requires root. There's an activity, I don't remember the name exactly as I have since rolled back to o2OS11. Something like factorymode.manualcameratest. You can create a shortcut to that activity on homescreen.
Click to expand...
Click to collapse
Thank you, it works perfectly

Related

[Q] First time ICS/Nexus user group of questions that have been asked before

I imagine many of these questions have been asked before but I didn't see a FAQ so I thought I'd compose a list of questions that I think others such as myself (inane) might ask upone their first use of the GN.
1. Can I move the google search at the top to another location or make it the size of a single app shortcut?
2. Can I move the apps shortcut at the bottom from the center to the right.
3. Is there a toggle button/shortcut/widget i can put on my desktop that easily allows you to switch from 4G to 3G (and 3G to 4G) without going through the settings? - preferrably right at the very top where the indicators are - I'd like to put an on off for wifi up there too.
4. Why does Voicemail take so long each time I open it - says Please wait- Verifying your account information this may take a minute - I have already configured my voice greeting and my personal name and a security code.
5. How do I get the configure menu in apps - I used to click on something that looked like the top half of a paper with a few lines on it - I want to customize some settings withing some apps but don't know how to get there. - Found that while asking this question - far right bottom of the screen - within an app a few dots like a : with an extra dot.
6. I want to change the way the screen lock works. I typically hold the phone in my right hand and want to unlock swipe it with my thumb. My thumb would much better swipe from bottom middle to top right corner of the screen - not directly across. Silly question I know but I don't want to have to use two hands to unlock my phone.
7. I heard there was a tweak for cranking up the volume - does that require rooting?
This is in reference to stock:
1. No
2. No
3, No
4. Dunno, I use Google Voice.
Thanks for the quick answer.
I don't see a shortcut for google voice - all I want to do is listen to my voicemails, know when I have them (e.g. number count on the icon). Is google voice something I need to install?
boe said:
1. Can I move the google search at the top to another location or make it the size of a single app shortcut?
Click to expand...
Click to collapse
It's a static search bar at the top across home screens. You can definitely change this if you're rooted. But you can change this without rooting if you use a home screen replacement app such as Nova Launcher (play.google.com/store/apps/details?id=com.teslacoilsw.launcher).
2. Can I move the apps shortcut at the bottom from the center to the right.
Click to expand...
Click to collapse
Again, you can't do this in stock as adrynalyne said, but you can if you use something like Nova Launcher.
3. Is there a toggle button/shortcut/widget i can put on my desktop that easily allows you to switch from 4G to 3G (and 3G to 4G) without going through the settings? - preferrably right at the very top where the indicators are - I'd like to put an on off for wifi up there too.
Click to expand...
Click to collapse
There's no built in shortcut for toggling this option. If you have an app like Tasker (costs money), or some shortcut creator, you ought to be able to do this. You can always search for LTE or 4G toggle in Google Play (Android Market) if you just want this singular function.
4. Why does Voicemail take so long each time I open it - says Please wait- Verifying your account information this may take a minute - I have already configured my voice greeting and my personal name and a security code.
Click to expand...
Click to collapse
I'm not sure why this is happening, but if you use Google Voice, you should be able to see via notifications and/or widget whether you have a voicemail or not. It is a separate app installable from Google Play (play.google.com/store/apps/details?id=com.google.android.apps.googlevoice&hl=en).
5. How do I get the configure menu in apps - I used to click on something that looked like the top half of a paper with a few lines on it - I want to customize some settings withing some apps but don't know how to get there. - Found that while asking this question - far right bottom of the screen - within an app a few dots like a : with an extra dot.
Click to expand...
Click to collapse
The menu button has been switched in ICS to a conceptual options bar. Some apps still use the menu function as you described with : and an extra dot.
6. I want to change the way the screen lock works. I typically hold the phone in my right hand and want to unlock swipe it with my thumb. My thumb would much better swipe from bottom middle to top right corner of the screen - not directly across. Silly question I know but I don't want to have to use two hands to unlock my phone.
Click to expand...
Click to collapse
Not sure how to configure the lock screen to your liking, but WidgetLocker (play.google.com/store/apps/details?id=com.teslacoilsw.widgetlocker) might help serve your needs.
Thanks -
I just noticed the indicator at the top - I was using the Smith Micro voicemail app, but I like it better than the default so when someone blurts out information like a different phone number I can playback just that part of the message.

Z1 Compact assign physical Camera button to launch other camera app

I've been using the physical camera button to launch camera when out about. The reason I asked this here as I found the Stock camera app is not that good for auto focus (I’ve tried Manual too) compare to other camera apps such as FX cam, cymera, etc.
I would like to know are there any way to assign the camera button to launch a different app + it will work on Lock Screen too? So far I found nothing yet as I guess a special ROM needed to do this function. I am rooted and would like to know if something Xposed can do without flashing ROM. (Reason – I like the Xperia Stock)
Thank you and let’s see if this is achievable to make life easier for people do not like the Xperia Stock Camera.
Bump
I would like to bump up this thread as I'm also looking for a way to assign a different camera app with the hardware button.
2nd that! Would be nice if that button is customizable as it's pointless if you use a different camera app.
thermalboyz said:
I've been using the physical camera button to launch camera when out about. The reason I asked this here as I found the Stock camera app is not that good for auto focus (I’ve tried Manual too) compare to other camera apps such as FX cam, cymera, etc.
I would like to know are there any way to assign the camera button to launch a different app + it will work on Lock Screen too? So far I found nothing yet as I guess a special ROM needed to do this function. I am rooted and would like to know if something Xposed can do without flashing ROM. (Reason – I like the Xperia Stock)
Thank you and let’s see if this is achievable to make life easier for people do not like the Xperia Stock Camera.
Click to expand...
Click to collapse
From my Samsung days, I remember that there was a file containing all the key layout maps to the physical keys. After editting it, I was able to use the volume keys as HOME and BACK. I suppose that in Sony it should be the same principle for the camera key.
I don't remember the location by heart and I don't have my phone with at the moment but try looking into /data/system/user/key-layout something file. Open it under a text editor, change it, save and reboot.
I have another question. I feel like posting it here haha.
I have noticed that the stock camera app saves your settings when you open it from the icon but when you use the physical button it is always on superior auto. Is there a way to keep my manual settings when opening it with the button?
Sent from my D5503
I've installed the gallery from a different rom and disabled the Sony camera via titanium backup. Now if I press the physical camera button when the phone is on and unlocked the "new" camera starts. I did not change anything else. Sadly I cannot start the camera from lockscreen anymore, but that's fine for me.
I have disabled the standard camera app from settings and now pressing the physical button starts the other camera that i've downloaded from play store, simple as that
are there any soulutions for changing the defaul camera app using the physical button?
If you have rooted your phone you can install Xposed Framework + Xposed Additions and reassign the buttons like you want.
Schwinni said:
If you have rooted your phone you can install Xposed Framework + Xposed Additions and reassign the buttons like you want.
Click to expand...
Click to collapse
There is nothing xposed can not fix
SGSDoc said:
are there any soulutions for changing the defaul camera app using the physical button?
Click to expand...
Click to collapse
Vignette automaticaly offers that option after installing.
Free/limited version also.
poolmaker said:
Vignette automaticaly offers that option after installing.
Free/limited version also.
Click to expand...
Click to collapse
Interesting. Does it require root ?
dsmid said:
Interesting. Does it require root ?
Click to expand...
Click to collapse
No.

Sort of getting back OnePlus gestures

So I was investigating a little about the matter, I noticed that
A) albeit not visible, it was in the settings app's layouts as gesture_navigation_bar_deprecated
in op_navigation_bar_gestures_settings.xml
B) it had settings(op_gesture_button_side_enabled and others) I could manipulate through adb
What I have found out:
If you run
adb shell settings put system op_gesture_button_side_enabled 0
the back gesture gets put back to the bottom edge. However it isn't all good, as the assistant gesture stays in the corner, and the home/appswitcher gesture gets triggered a lot too, when using the back gesture.
I hope someone has an idea how to improve on this, as in its current form it is highly useless, and I wouldn't recommend it.
OMG PLEASE keep investigating this. i am desparate to change back to old Oneplus gestures!!
What's the benefit to the OnePlus gestures?
Sent from my [device_name] using XDA-Developers Legacy app
OuncE718 said:
What's the benefit to the OnePlus gestures?
Click to expand...
Click to collapse
The back gestures is from bottom edge either side, so it doesn't conflict with almost every app as Google's implementation does
phynesse said:
OMG PLEASE keep investigating this. i am desparate to change back to old Oneplus gestures!!
Click to expand...
Click to collapse
If I have time I do.
Don't worry I'll keep you posted if I find anything
Interesting but it could be code that has not been cleaned up, it may disappear in a future release.
If you want old OnePlus gestures, you can use : https://play.google.com/store/apps/details?id=com.xda.nobar
With option "Split the pill in 3" and "Hide navbar", you can have (and customize) the same old OnePlus gestures.
Xzorg6 said:
Interesting but it could be code that has not been cleaned up, it may disappear in a future release.
If you want old OnePlus gestures, you can use : https://play.google.com/store/apps/details?id=com.xda.nobar
With option "Split the pill in 3" and "Hide navbar", you can have (and customize) the same old OnePlus gestures.
Click to expand...
Click to collapse
You do know that all other op devices with a10 have the old gestures too?
Peketr said:
The back gestures is from bottom edge either side, so it doesn't conflict with almost every app as Google's implementation does
Click to expand...
Click to collapse
Ohhhhhh, in that case IDK why they took that away cause Google's gestures definitely gets in the way. It takes some getting used to.
Sent from my [device_name] using XDA-Developers Legacy app
I wouldn't mind Google's if it was just on lower half of the screen or even just on the right side. I wonder if we can modify this.
hi, i tried everything, but finally using Fluid gesture , highly recommend for anyone in search for smooth customization gestures
https://play.google.com/store/apps/details?id=com.fb.fluid&hl=en_IN
Where did you find the xml file?
Peketr said:
So I was investigating a little about the matter, I noticed that
A) albeit not visible, it was in the settings app's layouts as gesture_navigation_bar_deprecated
in op_navigation_bar_gestures_settings.xml
B) it had settings(op_gesture_button_side_enabled and others) I could manipulate through adb
What I have found out:
If you run
adb shell settings put system op_gesture_button_side_enabled 0
the back gesture gets put back to the bottom edge. However it isn't all good, as the assistant gesture stays in the corner, and the home/appswitcher gesture gets triggered a lot too, when using the back gesture.
I hope someone has an idea how to improve on this, as in its current form it is highly useless, and I wouldn't recommend it.
Click to expand...
Click to collapse
texasaggie1 said:
Where did you find the xml file?
Click to expand...
Click to collapse
By decompiling the Settings.apk
ChongoDroid said:
I wouldn't mind Google's if it was just on lower half of the screen or even just on the right side. I wonder if we can modify this.
Click to expand...
Click to collapse
Actually if you do a curve swipe, where it seems like you're swiping on the edge a but, it opens the hamburger menu and does not trigger back. Takes time to get used to, but once you do, it's just never misses anymore.
Mohammed779 said:
Actually if you do a curve swipe, where it seems like you're swiping on the edge a but, it opens the hamburger menu and does not trigger back. Takes time to get used to, but once you do, it's just never misses anymore.
Click to expand...
Click to collapse
Yeah I do that, but it doesn't always work, for example Discord starts scrolling so this doesn't work 50% of the time
Yeah I can't stand Google's just a navigation I love the old one plus full screen navigation gestures and the reason I'm still on the OnePlus 6t is because I really don't want to lose that option.
Peketr said:
So I was investigating a little about the matter, I noticed that
A) albeit not visible, it was in the settings app's layouts as gesture_navigation_bar_deprecated
B) it had settings(op_gesture_button_side_enabled and others) I could manipulate through adb
What I have found out:
If you run
adb shell settings put system op_gesture_button_side_enabled 0
the back gesture gets put back to the bottom edge. However it isn't all good, as the assistant gesture stays in the corner, and the home/appswitcher gesture gets triggered a lot too, when using the back gesture.
I hope someone has an idea how to improve on this, as in its current form it is highly useless, and I wouldn't recommend it.
Click to expand...
Click to collapse
Hi, if you go > Settings > Apps >Default Apps > Assist app > Assist app > None you can disable corner google assistant.
I've tried it and google assistant dissapear from the corner, but as you say gesture gets triggered a lot. Surely there is some parameters we can change via ADB to make it work smoothly...
juanute said:
Hi, if you go > Settings > Apps >Default Apps > Assist app > Assist app > None you can disable corner google assistant.
I've tried it and google assistant dissapear from the corner, but as you say gesture gets triggered a lot. Surely there is some parameters we can change via ADB to make it work smoothly...
Click to expand...
Click to collapse
But then you lose assistant, which isn't ideal either. Don't really have time for investigating further, hope by the time I do it won't be necessary.
Sent from my OnePlus7T using XDA Labs
I just read on offical OnePlus forums about the L-shaped gesture to open the hamburger menus. Just swipe a little bit down on the left side and then to the right. It will open the hamburger menu and works from top to bottom. Another method is using the two finger swipe from the left border to the right. I'm quite pleased with this solution. It's a pitty they don't documented it in the changelog.
Of course is Fluid Navigation a nice solution to get more advanced gestures.
For anyone interested in adding Motorola's fantastic chop for flashlight and twist for camera I recommend this app
https://forum.xda-developers.com/an...vitygestures-moto-actions-alike-t3383760/amp/
It lets you program five different motion gestures to any app and even allows you to fine-tune it. The only caveat is for the gesture to work you have to turn your screen on first. You don't have to unlock it. I just press the side the button then do gesture.
The closest thing to Motorola's far superior gusture and navagation. I wish the OEMs would just scrap theirs and go with Motorola's.
Peketr said:
But then you lose assistant, which isn't ideal either. Don't really have time for investigating further, hope by the time I do it won't be necessary.
Sent from my OnePlus7T using XDA Labs
Click to expand...
Click to collapse
I have Assistant linked to the power button. It's another option you can use instead. It's an official settings option.
Dabylpmis said:
I just read on offical OnePlus forums about the L-shaped gesture to open the hamburger menus. Just swipe a little bit down on the left side and then to the right. It will open the hamburger menu and works from top to bottom. Another method is using the two finger swipe from the left border to the right. I'm quite pleased with this solution. It's a pitty they don't documented it in the changelog.
Of course is Fluid Navigation a nice solution to get more advanced gestures.
Click to expand...
Click to collapse
Another way of doing this (which is what I usually do now) is to tap and hold on the very edge of the screen until the side menu peeks out. Then slide it open.

How To Guide Remove NavBar Gesture Pill (and more) for Pixel 6 Pro

Update: This only works if you are rooted now, since the January 2022 patch.
Hi guys, I've seen several posts asking how to remove the Gesture Pill. It's easy if you're rooted, but it's also possible if you're not rooted.
Here is a step by step guide. There is also a huge amount of UI mods that can be made using the same method.
1. Download the Shizuku app from the Playstore
2. Start the Shizuku app by running the following adb command:
adb shell sh /sdcard/Android/data/moe.shizuku.privileged.api/start.sh
3. Download and install FabricateOverlay release from Github.
4. In FabricateOverlay click “Add Overlay”
5. Choose Android System
6. Click “Add”
7. Set “android:dimen/navigation_bar_height” to 1. Apply. Save. Tick.
8. Set “android:dimen/navigation_bar_frame_height” to 0. Apply. Save. Tick.
9. Enjoy!
Let me know in the thread if anything is unclear.
Thanks to @squee666 for an alternative solution that does not affect the keyboard! Try it out!
Credits:
Zachary Wander for the FabricateOverlay app and the instructions.
RikkaW for the Shizuku Api.
MishaalRahman, Quinny898 and various Redditors (especially LankeeM9 and audie-tron171) for the relevant settings.
Very nice, thank you for this!
Points 8 and 9 xan you be more specific.
Damn, it's too bad that the overlay system can't change fonts. I don't even want to install custom fonts, I just want to change the system default to the new Google font instead of Roboto. Without root.
Can we enable Fluid Navigation Gestures after applying a similar tweak?
tids2k said:
Points 8 and 9 xan you be more specific.
Click to expand...
Click to collapse
Basically you need to search "android:dimen/navigation_bar_height" by entering it in the search box. Then click on it. Then add the value in the value box and click "Apply". There are screenshots showing how it works here.
StrangerWeather said:
Basically you need to search "android:dimen/navigation_bar_height" by entering it in the search box. Then click on it. Then add the value in the value box and click "Apply". There are screenshots showing how it works here.
Click to expand...
Click to collapse
Thank you figured out eventually.
Guyinlaca said:
Can we enable Fluid Navigation Gestures after applying a similar tweak?
Click to expand...
Click to collapse
What do you mean?
Great! It works. Thanks!
But there seems to be one down-side ... when you enable the overlay the Google keyboard does not longer show the "down" marker to make the keyboard disappear. The android:dimen/navigation_bar_frame_height (0) is causing that. See attached 2 screenshots. First one is without overlay enabled, second one has overlay enabled. Notice how the little downward pointing arrow is gone on the second one.
foobar66 said:
But there seems to be one down-side ... when you enable the overlay the Google keyboard does not longer show the "down" marker to make the keyboard disappear. The android:dimen/navigation_bar_frame_height (0) is causing that. See attached 2 screenshots. First one is without overlay enabled, second one has overlay enabled. Notice how the little downward pointing arrow is gone on the second one.
Click to expand...
Click to collapse
Good point. However, you just need to swipe back for the keyboard to disappear.
StrangerWeather said:
Hi guys, I've seen several posts asking how to remove the Gesture Pill. It's easy if you're rooted, but it's also possible if you're not rooted.
Here is a step by step guide. There is also a huge amount of UI mods that can be made using the same method.
1. Download the Shizuku app from the Playstore
2. Start the Shizuku app by running the following adb command:
adb shell sh /sdcard/Android/data/moe.shizuku.privileged.api/start.sh
3. Download and install the latest FabricateOverlay release from Github
4. In FabricateOverlay click “Add Overlay”
5. Choose Android System
6. Click “Add”
7. Set “android:dimen/navigation_bar_height” to 0. Apply. Save. Tick.
8. Set “android:dimen/navigation_bar_frame_height” to 0. Apply. Save. Tick.
9. Enjoy!
Let me know in the thread if anything is unclear.
Credits:
Zachary Wander for the FabricateOverlay app and the instructions.
RikkaW for the Shizuku Api.
MishaalRahman, Quinny898 and various Redditors (especially LankeeM9 and audie-tron171) for the relevant settings.
Click to expand...
Click to collapse
What is the workaround for me that im rooted?
foobar66 said:
But there seems to be one down-side ... when you enable the overlay the Google keyboard does not longer show the "down" marker to make the keyboard disappear. The android:dimen/navigation_bar_frame_height (0) is causing that. See attached 2 screenshots. First one is without overlay enabled, second one has overlay enabled. Notice how the little downward pointing arrow is gone on the second one.
Click to expand...
Click to collapse
It might be possible to increase the bottom margin of the keyboard in system.ui. I'll check in a bit.
Edit: Actually, the handle is part of the navbar, which is the reason why it disappears when removing the navbar.
cultofluna said:
What is the workaround for me that im rooted?
Click to expand...
Click to collapse
Just open the Shizuku app and press "Start" in "Start (for rooted devices)".
So on Android 10, there was an overscan feature that allowed the 3 button navigation to be hidden and replaced with 3rd party navigation apps such as Fluid Navigation Gestures. This allowed swipe up from the bottom navigation much like OnePlus and Samsung offer. My curiosity is if this mod allows third party apps the hide and utilize the navbar.
Guyinlaca said:
So on Android 10, there was an overscan feature that allowed the 3 button navigation to be hidden and replaced with 3rd party navigation apps such as Fluid Navigation Gestures. This allowed swipe up from the bottom navigation much like OnePlus and Samsung offer. My curiosity is if this mod allows third party apps the hide and utilize the navbar.
Click to expand...
Click to collapse
Only if they integrate the Shizuku library into their app afaik.
I can confirm this working on my Pixel 3 XL on Android 12, no root, locked bootloader. Thank you so much for this!
StrangerWeather said:
Good point. However, you just need to swipe back for the keyboard to disappear.
Click to expand...
Click to collapse
Aha yes ... if you swipe above the keyboard it goes away ... did not know that! Thanks for that tip.
One question, how come that this sticks after reboot (even when disabling Shizuku/FabricateOverlay)?
foobar66 said:
One question, how come that this sticks after reboot (even when disabling Shizuku/FabricateOverlay)?
Click to expand...
Click to collapse
Basically you only need to give the app permission to change the settings (i.e. write to secure settings). Once the system setting is written it sticks. But if you want to change the value again you will need to go through the same process with both apps.

Question Is this just on Pixel 6/6Pro?

I remembered that the Magizk Lsposed module used to be created a shortcut in the app drawer, however with my P6P, it only gives the option to create a shortcut on the home screen when it was first installed. I only keep a few daily used app shortcuts on the home screen and Lsposed is notone of them. Is there anyway to have a Lsposed shortcut in the drawer as I occasionally need it to see if there is anything wrong of its setting.
This method is done to avoid detection and you can add the app if you really want it. According to the documentation the team provides this is the safest strategy to take advantage of. However it's your device and make you own choice now since you understand the consequences
gnabtib8 said:
This method is done to avoid detection and you can add the app if you really want it. According to the documentation the team provides this is the safest strategy to take advantage of. However it's your device and make you own choice now since you understand the consequences
Click to expand...
Click to collapse
Thanks for the feedback, but how to create a shortcut in the drawer? I know it gives the option to have one on the home screen but once I say no, I couldn't trace it anymore.
acwcanada said:
Thanks for the feedback, but how to create a shortcut in the drawer? I know it gives the option to have one on the home screen but once I say no, I couldn't trace it anymore.
Click to expand...
Click to collapse
You need to download the separate APK and disabling the module and enabling it should bring the prompt back if you want the widget shortcut.
If you need the APK, unzip the magisk module and install the manager.apk from the archive.

Categories

Resources