yashsingh1/xdaforums huggingface dataset:
[Xiaomi Redmi Note 3 Questions & Answers] Лithium-Фusion:
I am building my own Android O version. I can't wait those lazy arse google devs. :mad: :mad: I will share with you when it's done.

Current status:

Im in Wal-mart now, collecting the ingredients that i need to cook the rom. Stay tuned mayte.
[Xiaomi Redmi Note 3 Questions & Answers] Deleted member 7447728:
Is it going to be an Oreo or Oatmeal ROM? I can't stand raisins.
[Xiaomi Redmi Note 3 Questions & Answers] Лithium-Фusion:
What a rude question, please some RespeK here. Obviously it's gonna be called Android Onion, not debatable.
[Xiaomi Redmi Note 3 Questions & Answers] KuatSidik:
LMAO Is this a troll?
[Xiaomi Redmi Note 3 Questions & Answers] naturist:
Hopefully, this will silence the paranoid freak users who think kenzo won't receive Android O.
[Xiaomi Redmi Note 3 Questions & Answers] Лithium-Фusion:
Wot mayte? You don't like Onion?

Extremely optimistic, nice.

View attachment 4241569
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] ThisIsRipunjay:
This is the working One Plus 5 Camera Port which supports pro mode too.. I found this port recently on One Plus Forum and now i am here to share..

NOTE : I don't take any credit for this apk.. This one made by some other One Plus developer. All credit goes to them.

Apk File : https://drive.google.com/file/d/0B8CVLsJGOgyTRVNWVS1BQTFkaVU/view?usp=drivesdk

Update To Make This Work On MiUi 9, Add The Following Line To Build.prop persist.camera.HAL3.enabled=1 (Thanks To [MENTION=4491442]evanlocked[/MENTION], Check Page 4 To View Detailed Review)

DEMO : https://youtu.be/k4qwfpn-grE

Tested On Resurrection Remix 7.1.2 For Redmi Note 4 Snapdragon Varient

Not Sure Whether It'll Work On MiUi Or Not..! So, If Didn't Work, Don't Angry Me

Original Post : https://forums.oneplus.net/threads/oneplus-5-camera-now-for-oneplus-3-t.569491/

Bugs : HDR, Panorama, Face Beauty, Flashlight

Update : For Those Who Are Telling Not ISO Shutter Etc, Try Manual Camera Apk. But It Needs Camera 2 Api Enabled So Make Sure You Enabled That..

Link Of Manual Camera : https://drive.google.com/open?id=0B8CVLsJGOgyTSWJROTNxQ0NXVzQ

If You Want Shutter Speed Upto 16 Second : https://youtu.be/0TmlXBqS0Mk

Xda Link For 16 Sec Shutter Speed Mod : https://xdaforums.com/redmi-note-4/how-to/guide-long-exposure-redmi-note-4-redmi-t3657343

Hit Thanks if you found this helpful ;)
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] Nikish21:
I Can Confirm That This Won't Work For MIUI 9 v7.8.10. Wish I could Use It!!:(:(:(:(
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] ThisIsRipunjay:
Not Sure Sir.. I Was Only Using Resurrection Remix, So Didn't Get The Chance To Test On MiUi..
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] linuxilakis:
It works on 7.8.10 but you have to enable api 2 through the build.prop. But then you might have problems with hdr with stock camera. It's not a big deal. Worth trying
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] gohaaron:
First of all this app works but the functions don't... No HDR... No HQ... No Manual mode... Yes I know the options are there but they don't work just a dummy... Anyways still a good feat to get the app to work

On Miui 8.5.4.0
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] ThisIsRipunjay:
I Think On MiUi It Doesn't Work :confused: Working Fine With Custom ROM
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] gsunil:
after enabling camera 2 api it works in miui 9
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] gohaaron:
I saw ur video and I found out that it's not... Ur HDR is not even on... Can you adjust the manual controls? I have experiment it... When u enable Camera2Api HDR will be available and works but when u disable it won't work u can't even turn it on. I've been also tested on OP3T camera app.
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] ThisIsRipunjay:
In My App, All Working Except The Panoroma And Face Beauty Mode Not Enabling..! These Are The Only Bug I Found.. HDR Works And Manual Controls Working..!
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] ThisIsRipunjay:
Great.. Enjoy ✌️
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] The_wolf88:
Works on AOSP Extended.

Finally this fixed the dark video recorder on my Redmi note 4 :)

Thanks :)
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] ThisIsRipunjay:
Great.. Happy To Hear.. Enjoy..
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] andreymixmax:
Yeah..btw What is camera sensor in your device?
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] ThisIsRipunjay:
13MP CMOS Sensor.. Is That What You're Asking Sir?
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] gohaaron:
so i flashed to MIUI 9 last night and i tried reinstalling after enabling Camera2API and i can only get manual controls to work but still no HDR or HQ mode... so sad. if not it will be perfect...

---------- Post added at 02:58 PM ---------- Previous post was at 02:56 PM ----------

can u pls post a photo with HDR on?
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] gohaaron:
btw ive finally found out from the guy who ported this app himself... he said HDR and Beauty mode does NOT work! he didnt say about HQ but i am sure it does not too!! so my friend u r not telling us the truth...

---------- Post added at 05:15 PM ---------- Previous post was at 05:14 PM ----------

PROOF:

https://forums.oneplus.net/threads/oneplus-5-camera-now-for-oneplus-3-t.569491/page-2

---------- Post added at 05:17 PM ---------- Previous post was at 05:15 PM ----------

i think u have never seen or dont know what HDR looks like

---------- Post added at 05:18 PM ---------- Previous post was at 05:17 PM ----------

https://forums.oneplus.net/threads/oneplus-5-camera-now-for-oneplus-3-t.569491/page-21

no hdr
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] ThisIsRipunjay:
I Never Lie Bro.. But Its Not Working. But It Was Working The Last Time I Tried.. Seems Like A Bug.. I Also Ported ROMs.. A Developer Never Lies.. I Give My Opinion As Properly As I Can Say..
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] ThisIsRipunjay:
So, I Came To Know HDR Has Bug.. Sometimes Works Sometimes Not..
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] gohaaron:
no bro... its not sometimes... it has never worked ever... the dev who ported it even said so himself its not working... unless u can prove it with some samples... but seems that u cant
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] ThisIsRipunjay:
I'll Try To Prove....
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] gohaaron:
i just wanna let everyone know that HDR DOES NOT WORK! DONT KEEP SAYING THAT IT DOES! simple request... thats it
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] adekboreanaz:
Try to force cameraAPI1 on build.prop for the camera
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] IndDoc:
Yeah, hdr doesn't work. OP, just put it up in the first post and get done with it.
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] arzuakay:
Good but Pro Mode not work on Miui 9
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] MiBoy:
Can I choose photo resolution ?

I can't find this function.
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] ThisIsRipunjay:
Okay..
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] ThisIsRipunjay:
Try Custom ROM
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] ThisIsRipunjay:
Nope.. You Have Only 16:9,4:3, 1:1 Option.. And No Custom Resolution Changing Option There...
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] Imariano:
Can i install on RR ?
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] ThisIsRipunjay:
Definitely.. I'm Using RR TOO
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] psirras316:
Flashlight isn't working on XOSP rom. It works when you tap to focus but not when it actually takes a photo
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] ThisIsRipunjay:
Thanks For Mentioning.. I Checked It Out And Found That It Isn't Working.. It'd Be Added In The Bug List..
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] Imariano:
Great, thanks!!!
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] rohitpawane1:
Can you please port this APK for miui8 and miui9? Cos this apk is not working on miui only on costom rom. Pls port it .and it has that oneplus 5 watermark?
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] ThisIsRipunjay:
Yes It Has The Watermark... Damn, I Really Like That..! I'll Try To Port But It Might Not Work.. :o
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] evanlocked:
All you need add this Line " persist.camera.HAL3.enabled=1" without quotes on your build.prop to make it work on miui9 rom save and reboot it will work see attached image
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] evanlocked:
Taken from Miui 9

Pro mode
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] bathijavinod:
Im useing lamlazy rom on note 4 should this camera support my rom?
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] Nikish21:
[MENTION=7163053]Ripunjoy[/MENTION] thanks for Sharing this Port.This port is working very well neclecting the bugs. Also Watermark gives a very Professional Touch to the Image.

Great Job!!
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] ThisIsRipunjay:
Thanks For The Tweak..
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] ThisIsRipunjay:
Looks Awesome ?
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] ThisIsRipunjay:
Just Try It ;)
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] jatin.t.16:
Bro i am also on Ressurection Remix 5.8.3 and i downloaded the camera apk you have given but when i open the app(after installing) it just show black screen nothing then that.

Please tell me what is the issue?

Device Redmi Note 4
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] evanlocked:
See my post, OP already mentioned check page 1 you need to enable HAL3
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] jatin.t.16:
what is HA3L
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] k3lcior:
Camera2 API.
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] ThisIsRipunjay:
Try On RR 5.8.4.. Mine Worked On RR Without Enabling The Tweak..!
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] jatin.t.16:
Can i dirty flash 5.8.4 on 5.8.3?
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] ThisIsRipunjay:
Yes.. But It Might Not Boot.. Or If Boots Up, That's Great.. But I Recommend A Clean Installation
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] juanmadgp:
Camera bug with ISO

Hello, I have a problem. When I take a photo in manual mode and change the any ISO, don't show anything. :(

Someone who knows how to fix the problem, please. I have a redmi note 4x with Lineage OS 14.1
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] ThisIsRipunjay:
I'll Be making another thread regarding manual Camera photography.. So stay tuned :)
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] Rocky:
The best camera for Xiaomi,Thanks a lot bro,It capture great photos,Works well in Nougat Miui rom
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] sanju2cool:
It worked for me

It has worked in my mido Resurrection Remix :)
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] Arnab247:
using it on RN4 mido running on RRN remix.

RAW format is probably not working. plz confirm. altho better alternative to gapp camera
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] ThisIsRipunjay:
Great.. Happy To Hear..
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] ThisIsRipunjay:
Use Manual Camera.. Don't Expect All Features To Be Worked On Redmi Note 4.. Hardware Support Needs Too..
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] PriPhaze:
Dude that's because there no enough light at the iso you choose.... you can either change the shutter speed ( the lower the number the longer it will let the light pass through but with the downside that photo can be blurry ; no recommended for objects in movement) , the higher the iso the less light it needs but...... the more "noise" it will add to the photo" .

Let's say you want to take a picture of a dude that goes super fast on his skateboard ... then you choose a really high shutter speed to "freeze" him once he pass next to you but since the shutter is super fast then it wont catch too much light so you probably will need a higher iso but all that depends on the light...... you can either set a low iso if there is enough light or high iso if it is too dark. Is not that complex, just try to keep it in mind.

Basically you need to find the balance between shutter speed and ISO trying as much as you can to don't increase the iso too much .

If you have never take pictures in manual mode with a camera,phone or whatever than i recommend you to read about the topic before asking for a "fix".

It works as intented for me.
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] Adarsh Hegde:
Working fine on redmi note 3 with AOSP Oreo ROM as well.
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] rukshi:
HDR is not working though I have manually added the line to build.prop. I am using AOSP 4.6
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] krishnasen:
Thanks
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] ThisIsRipunjay:
You're Welcome
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] cha_indian:
What is the purpose of this port if HDR does not work?
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] krishnasen:
Front camera

I don't if it a bug or not cause the watermark doesn't appear when I take it on front camera
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] ThisIsRipunjay:
Watermark Is Only For Back Camera
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] Nitish25:
Not working on Resurrection remix 5.8( Android Nougat 7.1.2) shows error
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] Rocky:
Enable Cmaera2Api first,Google it to know how to enable it
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] Nitish25:
Okk I will try it

---------- Post added at 11:01 AM ---------- Previous post was at 10:43 AM ----------

Not working Bro!!
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] SBhavuk:
It is not working on miui but working on lineage 14
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] Rocky:
Edited the build.prop? But I'm using it without any prob, strange! ?
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] ThisIsRipunjay:
Enable camera2api And Try.. If Not Works, Not Gonna Work For MiUi
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] ThisIsRipunjay:
Nope.. On Custom ROMs No Need To Edit Build Prop.. Only Needed In MiUi.. I Didn't Edit.
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] Nitish25:
Yes , neither One plus 5 camera and Google camera works!!! below is a image which shows error when I open my one plus camera
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] ThisIsRipunjay:
Your OS Should Be Android N And Camera2Api Should Be Enabled
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] Nitish25:
Yup using Resurrection Remix 5.8 and camera2api enabled
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] ThisIsRipunjay:
Okay
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] Rocky:
I'm using the same ROM but,both Google Camera & One Plus camera is working fine :/
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] Nitish25:
"I have installed twice the ROM I thought maybe some installation issue "My badluck then Bcoz While I run Google camera it shows me Camera keeps stopping and for One plus 5 it shows
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] Rocky:
Then I'm sorry bro,I don't know what issues you're having :(
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] ThisIsRipunjay:
Then I'm Not Sure Bro.. What Issue You Are Facing.. I Didn't Got Such Issues.. Sorry Bro :(
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] zindra7:
Panorama not working, or that problem just for omnivision sensor?
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] ThisIsRipunjay:
Read The Thread Again..!
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] lucifer236:
Can you add the fingerprint action to press the shutter of the camera?
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] ThisIsRipunjay:
Not Sure ?.. I'll Try..
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] bpradana:
The slow motion is very choppy, I'm using los 14.1
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] ThisIsRipunjay:
Use Ported Mi A1 Camera For Better Slow Motion
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] lucifer236:
Please try
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] HiziBizi:
Can u please give me the link?
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] sanjaynarayan83:
Unsynchronized exposure and flash

Hi guys,

Camera is working fine but there is only one issue. Flash is coming first and exposure is happening a sec later. If you try to take a pic during night time you will know about this. Is there a fix to this? Can this be synchronised?
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] ThisIsRipunjay:
Yes.. Here It Is https://xdaforums.com/redmi-note-4/themes/camera-miui-stock-camera-nougat-t3670993
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] ThisIsRipunjay:
This Can't Be Synchronized As Of Now..
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] sanjaynarayan83:
Thanks. It will be great if this can be fixed :)

Nice port for Redmi note 4 [emoji106]
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] muzsielod:
Hello,

can you edit it to fit on 720p screen devices?

I installed it on Redmi 3S but the icons are huge, and I can not choose this way from the different modes.

Thank you.
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] ThisIsRipunjay:
Sorry, I Can't :( . But Ask Other Developers Or Post On Redmi 3S Forum To Port This App.. Share The Link Of This Thread On 3S Prime Thread.. And Whenever You Are Replying To A Thread First, Please Don't Quote The Whole Post.. Have A Great Day :)
[Samsung Galaxy S8+ Questions & Answers] b1blazin:
Keeps turning on after been in my pocket for about 10 seconds and I take it out. All things i search have the problem turning on inside pocket. Is this a proximity issue or what do I need to change. Thanks
[Samsung Galaxy S8+ Questions & Answers] badrsj:
There's a setting keep screen turned

Off in pocket

---------- Post added at 09:04 PM ---------- Previous post was at 09:04 PM ----------

This one
[Samsung Galaxy S8+ Questions & Answers] b1blazin:
I know but it's not turning on in my pocket. As stated it's turning on while pulling out of my pocket. Idk. But u do have this feature enabled.
[Samsung Galaxy S8+ Questions & Answers] badrsj:
Turn this off

Your screen will then not turn on automatically
[Samsung Galaxy S8+ Questions & Answers] b1blazin:
I will try this. Thanks
[Samsung Galaxy S8+ Questions & Answers] ewokuk:
It has nothing to do with any of those options, I have easy turn on off and 'keep screen turned off' on. And I have been getting this for ages. I brought this up a few weeks ago. It seems to have been introduced in one of the firmwares since it never used to do this when it was released. I can only assume the geniuses at Samsung have added this as a "feature" and not bothered to provide an option to turn it on and off. Or it is a pretty big bug they have introduced and not fixed. It has been driving me mad as I often take the phone out to quickly check the time and/or notifications and then put it back in my pocket....and since it has turned the screen on it then starts touching the screen in my pocket.
[Samsung Galaxy S8+ Questions & Answers] cam30era:
[MENTION=4314197]ewokuk[/MENTION],

Yup, same thing here.....
[Samsung Galaxy S8+ Questions & Answers] willcor:
I would say it's most likely a bug in Software.?

Not a possible "feature" as you put it in your post

or otherwise it could be proximity sensor issue ?

I don't have this issue eg phone waking /taking phone from pocket. etc.

After reading your post, I have tried to recreate /tested

your issue. Over and over again.

Phone does not "wake" up.

I have latest software on phone.

Not rooted.

I don't use any lockscreen.

I have an UAG flip case (to protect screen)

I do leave my AOD on during day.

I have notice that AOD sometimes brightens/adjust

to the light but does not wake device.

(but this response is understandable)

Good luck
[Samsung Galaxy S8+ Questions & Answers] disturbd1:
I'd be willing to bet just about anything that you're either somehow long-pressing the home button or your're accidentally pressing a hardware button when you're pulling the phone out. Between the settings mentioned above and these possibilities, that's really all there is. The phone can't turn the screen on arbitrarily unless maybe there's a rogue app doing some fun things with wakelocks.
[Samsung Galaxy S8+ Questions & Answers] ewokuk:
Nope. I am pulling the phone out by the edges, there is no opportunity to press the screen, the fingerprint scanner or any of the buttons near the top of it. As already stated, those options are already set to avoid it turning the screen on (and are not related to what this is doing anyway). I can't see it being a rogue app, I don't have many apps installed, and have disabled the bloaty ones.

For reference:

AoD is always on, with just the clock showing, no facewidgets etc

Easy screen turn on is OFF

Keep screen turned off is ON

Unlock methods are set to pin, iris or fingerprint.

and for the record, the home button is set to require maximum pressure to activate.

When taking the phone out of my pocket, a lot of the time (but not every time, and it sems to need to be in my pocket for a while before it happens, it won't do it if it has only been in there for a few seconds) it starts trying to scan for irises as if the home button or power button has been pressed (when they have not). It seems like the proximity sensor is detecting it has been taken out of a pocket and starts looking for irises. It feels like a feature because I could imagine samsung thinking it was a good idea to have it scan for irises when taking it out of a pocket in order to help people unlock it quicker and without even needing to press anything at all. It is either that or a bug somewhere. I am going to turn off iris scanning now and see what that does, if the issue is related to iris scannign somehow then the issue should go away, if it is not related then I expect to get the pin entry screen instead.
[Samsung Galaxy S8+ Questions & Answers] disturbd1:
That's interesting. I almost wonder if there's a hardware problem, since you mentioned the iris scanner engages sometimes. I hate phone resets more than most things in life, but have you tried that?
[Samsung Galaxy S8+ Questions & Answers] ewokuk:
No not tried reset and will not be doing that at least until O comes out. Doesnt seem like a hardware problem. So far (in the last 20 mins which doesnt really prove anything yet) with iris scanner turned off it has not turned the screen on when taking it out. Will need more testing to be sure but at the moment seems iris scanner related somehow (bug or 'feature').
[Samsung Galaxy S8+ Questions & Answers] disturbd1:
Keep us posted. I use fingerprint and the facial recognition for unlock, so maybe that's why I haven't experienced it.
[Samsung Galaxy S8+ Questions & Answers] badrsj:
Thanks for the info, if you can locate this setting please include a screenshot - I was not aware of this setting.
[Samsung Galaxy S8+ Questions & Answers] YandereSan:
You sure you're not pinching the soft home button? That area is designed to wake up the screen if you press it.

Settings -> Display -> Navigation Bar

Turn off "Hard press Home button"

edit: er, scratch that.. Looks like that's not available on the S8 yet.. lol.
[Samsung Galaxy S8+ Questions & Answers] jasethebass01:
My S6 likes to turn itself on when in my pocket. I have to use Pattern Unlock to prevent it.
[Samsung Galaxy S8+ Questions & Answers] b1blazin:
My problem is confirmed. It's swiping/ holding the home button that's doing it for me thanks. Felt dumb but still there is nothing I saw that says that as a feature and i have yet to be able to turn it off.
[Samsung Galaxy S8+ Questions & Answers] badrsj:
The invisible pressure sensitive home button area is a feature. Like the previous physical home button there's nothing that turns it off.
[Galaxy Note5 Q&A, Help & Troubleshooting] idkwhour:
Hello everyone :D

I just wanted to ask if there's any solution to what I'm facing right now.

Basically, every time I connect my phone to PC to mirror the screen, the phone restarts. That includes smart view and side sync screen sharing. I have tried re-installing side sync in my PC, in my phone, as well as factory reset my Phone and formatting my PC (one by one).

Current Android version, according to my phone, is Android 7.0

It used to work around 3 months ago, but now it just decides to restart every time I try to mirror my phone screen to my PC.

Thank you for your time~
[Galaxy Note5 Q&A, Help & Troubleshooting] jgrove_2000:
I have the same problem!