• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[Discussion]How to re-enable full Photochrom on INT.10.5.11/EU.10.5.10

Search This thread

Cattell

Member
Jun 20, 2020
8
16
As we all know by now, the new update(INT.10.5.11/EU.10.5.10) changed how the photochrom work
now, it's working with the main sensor, and act like a filter, it's working only outdoor, with a minor effect
The new photochrom is like 10% of what it used to be.

I'm trying to re-enable the full Photochrom experience


For now, I've had tried these three ways to re-enable it, and NONE of if work

I tried to replace the OnePlusCamera.apk to the older version, doesn't work

I tried to replace these following files from vendor to the older version
Code:

Code:
/vendor/lib/camera/*
/vendor/lib/hw/camera.qcom.so
/vendor/lib64/camera/*
/vendor/lib64/hw/camera.qcom.so

but still, doesn't work.

And I can also confirm, the "fake device model" method doesn't work either.
(for IN2020 Chinese model, it fake the device model to other region, so it won't block the photochrom filter, work at EU.10.5.9/INT.10.5.10 for IN2020)

I can't seems to figure out what is changed between this & last update, that changed the photochrom behavior
If anyone can get it woking again, please let me know


BTW, the whole privacy concern is just nonsense, IT CAN'T SEE THROUGH CLOUTHES
Otherwise, you'll be naked every time you see a security cam, coz those things got IR too

OnePlus shouldn't disable/crippled a camera sensor on our phone, just for their own PR

UPDATE

The latest workaround is to use the FactoryMode app to "Test" the camera

First method is to unlock the FactoryMode
Follow this thread: [GUIDE] Unlock Factory Mode *root*
Then you can launch the camera test/camera preview in FactoryMode

Another way is to directly launch the CameraManualTest with adb command/local shell

Code:
For shell(require root): 
su
am start -n com.oneplus.factorymode/.camera.manualtest.CameraManualTest

For adb(require PC): 
adb shell am start -n com.oneplus.factorymode/.camera.manualtest.CameraManualTest

For wireless adb(require wireless adb debugging to be enabled): 
[URL="https://github.com/lllsondowlll/OP8_Camera/blob/master/README.md"]https://github.com/lllsondowlll/OP8_Camera/blob/master/README.md[/URL]

These are still just workaround with FactoryMode, hope to see the original build-in camera method soon
 
Last edited:

Ryptahi

Member
Apr 21, 2020
6
0
Hoping for good solution for this problem, as it was cool feature I didn't have time to play with. Wouldnt have upgraded if I knew beforehand that this was the case.
 

GiveMeAnthony

Member
Jun 28, 2015
7
3
Not only did the camera app update from 4.0.267 to 4.0.279, but the com.oneplus.camera.pictureprocessing updated from 4.0.79 to 4.0.81. I backed up both of these apps before updating using Apk Generator (play.google[dot]com/store/apps/details?id=com.aksapps.apkgenerator) but I'm not rooted so I can't replace system apps. You can try it and let me know though. Be sure to backup your apps in case it doesn't work.

drive.google[dot]com/folderview?id=18D_XwiiTJxfuhaV3TqJ5N4cDyYg_2gkE

There's a couple other camera related stuff I backed up but it doesn't look like changes were made to those. Links are censored with [dot] to get around the 10 post restriction.
 

TerminatedGA

Member
Jun 20, 2020
15
5
Hong Kong
OnePlus 8 Pro
Not only did the camera app update from 4.0.267 to 4.0.279, but the com.oneplus.camera.pictureprocessing updated from 4.0.79 to 4.0.81. I backed up both of these apps before updating using Apk Generator (play.google[dot]com/store/apps/details?id=com.aksapps.apkgenerator) but I'm not rooted so I can't replace system apps. You can try it and let me know though. Be sure to backup your apps in case it doesn't work.

drive.google[dot]com/folderview?id=18D_XwiiTJxfuhaV3TqJ5N4cDyYg_2gkE

There's a couple other camera related stuff I backed up but it doesn't look like changes were made to those. Links are censored with [dot] to get around the 10 post restriction.
Tried this method, didn't work either
 

Cattell

Member
Jun 20, 2020
8
16
Not only did the camera app update from 4.0.267 to 4.0.279, but the com.oneplus.camera.pictureprocessing updated from 4.0.79 to 4.0.81. I backed up both of these apps before updating using Apk Generator (play.google[dot]com/store/apps/details?id=com.aksapps.apkgenerator) but I'm not rooted so I can't replace system apps. You can try it and let me know though. Be sure to backup your apps in case it doesn't work.

drive.google[dot]com/folderview?id=18D_XwiiTJxfuhaV3TqJ5N4cDyYg_2gkE

There's a couple other camera related stuff I backed up but it doesn't look like changes were made to those. Links are censored with [dot] to get around the 10 post restriction.

Still, won't work
Why are they making this so hard to do?
 

Cattell

Member
Jun 20, 2020
8
16
I tried to replace anything seems remotely relate to camera in /vendor/lib and /vendor/lib64
nothing work, I think the change might not in /vendor?

By doing the file compare, i see these OnePlus service has been updated through this update, is it possible they restrict the camera with those service?

Code:
/system/priv-app/oneplus-framework-res
/system/priv-app/OPCoreService

I tried to replace them with older file, but system will be shutdown after boot
Anyone got any more ideas?
 

ster88

Member
Aug 21, 2011
8
4
I tried to replace anything seems remotely relate to camera in /vendor/lib and /vendor/lib64
nothing work, I think the change might not in /vendor?

By doing the file compare, i see these OnePlus service has been updated through this update, is it possible they restrict the camera with those service?

Code:
/system/priv-app/oneplus-framework-res
/system/priv-app/OPCoreService

I tried to replace them with older file, but system will be shutdown after boot
Anyone got any more ideas?

How about trying to connect only Photochrom camera with an test/debug app?
 

jeffsga88

Senior Member
Jan 5, 2016
842
666
OnePlus 9 Pro
How about trying to connect only Photochrom camera with an test/debug app?

You gave me an idea. Tested with factory mode and camera tab then forth camera preview. Interesting, can still see the preview with it seeing through thin plastics even indoors. So, whatever they did with this update can probably be circumvented, just not sure how hard it would be. If you want to check it out, enable factory mode app then go to camera tab and do forth camera preview. Included screenshots of where to go and it still working.
 

Attachments

  • Screenshot_20200715-204810__01.jpg
    Screenshot_20200715-204810__01.jpg
    238.1 KB · Views: 1,296
  • Screenshot_20200715-205410.jpg
    Screenshot_20200715-205410.jpg
    228.3 KB · Views: 1,303
Last edited:
  • Like
Reactions: wk59 and ranjib

ster88

Member
Aug 21, 2011
8
4
You gave me an idea. Tested with factory mode and camera tab then forth camera preview. Interesting, can still see the preview with it seeing through thin plastics even indoors. So, whatever they did with this update can probably be circumvented, just not sure how hard it would be. If you want to check it out, enable factory mode app then go to camera tab and do forth camera preview. Included screenshots of where to go and it still working.

Wow it worked :D
Oneplus 8 Pro IN2023 10.5.10IN11BA

https://drive.google.com/file/d/1D5YRdOBKInFYQ2ns9r-eoefprCiUASj7/view

https://drive.google.com/file/d/1D9v40zFyMbiKLPFPLw36XzNUHCpK7gwE/view

https://drive.google.com/file/d/1D4JEyb-kJTCfzxiN0lYPhvvDcr2zX8Qr/view

https://drive.google.com/file/d/1D1FDJIRc_CmmIfh5P8IU3afeVkQfbCVS/view

Edit :
If you go to camera test in factory mode app, then you can take a picture with photochrom mode.

https://drive.google.com/file/d/1DNLkrOU8w-LI8TH4oZ8h6xOkeCd_Md1Q/view?usp=sharing

https://drive.google.com/file/d/1DKUJj2Xy4bKrJSot7CHtP3UYpV4LqIMg/view?usp=sharing
 
Last edited:

babsvsphudi

Member
Jul 16, 2020
5
0
how to open the factory mode plz i dial *#808# and nothing happens it just clears everything on my dialer how to open factory mode on in2020 plus i m using one plus dialer
 

Shiki~

Senior Member
Jan 4, 2011
67
5
Good work guys

Considering how difficult they tried to make it, I believe the best long term solution would be to have a specific app used just for this feature (mimicking this factory mode)
Else they would mess it up with more updates
 

snovharry

Member
Aug 14, 2012
44
6
OnePlus 9
OnePlus 9 Pro
I'm on 10.5.11. but factory mode camera did not pick x-ray vision as mentioned. I tried several remotes and stuff. Any reason for that?
 

Attachments

  • Screenshot_20200716-201506.jpg
    Screenshot_20200716-201506.jpg
    194.8 KB · Views: 510
  • Screenshot_20200716-201516.jpg
    Screenshot_20200716-201516.jpg
    255.3 KB · Views: 522

piskel

Member
Jul 16, 2020
7
16
HTC One (m7)
OnePlus 3T
I found a way to launch the color filter camera without being root and without using MMI dial codes to access factory mode.
It is a bit impractical right now because I couldn't make it work on a terminal emulator app yet, but it works through the adb shell just fine.

Just run this from the adb shell:
Code:
am start -n com.oneplus.factorymode/.camera.manualtest.CameraManualTest

It will launch the manual camera test from the FactoryMode app right away.

Press the bottom right icon to switch the camera until you get to the IR camera.

I'm running on the 10.5.10.IN11BA build.
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 5
    As we all know by now, the new update(INT.10.5.11/EU.10.5.10) changed how the photochrom work
    now, it's working with the main sensor, and act like a filter, it's working only outdoor, with a minor effect
    The new photochrom is like 10% of what it used to be.

    I'm trying to re-enable the full Photochrom experience


    For now, I've had tried these three ways to re-enable it, and NONE of if work

    I tried to replace the OnePlusCamera.apk to the older version, doesn't work

    I tried to replace these following files from vendor to the older version
    Code:

    Code:
    /vendor/lib/camera/*
    /vendor/lib/hw/camera.qcom.so
    /vendor/lib64/camera/*
    /vendor/lib64/hw/camera.qcom.so

    but still, doesn't work.

    And I can also confirm, the "fake device model" method doesn't work either.
    (for IN2020 Chinese model, it fake the device model to other region, so it won't block the photochrom filter, work at EU.10.5.9/INT.10.5.10 for IN2020)

    I can't seems to figure out what is changed between this & last update, that changed the photochrom behavior
    If anyone can get it woking again, please let me know


    BTW, the whole privacy concern is just nonsense, IT CAN'T SEE THROUGH CLOUTHES
    Otherwise, you'll be naked every time you see a security cam, coz those things got IR too

    OnePlus shouldn't disable/crippled a camera sensor on our phone, just for their own PR

    UPDATE

    The latest workaround is to use the FactoryMode app to "Test" the camera

    First method is to unlock the FactoryMode
    Follow this thread: [GUIDE] Unlock Factory Mode *root*
    Then you can launch the camera test/camera preview in FactoryMode

    Another way is to directly launch the CameraManualTest with adb command/local shell

    Code:
    For shell(require root): 
    su
    am start -n com.oneplus.factorymode/.camera.manualtest.CameraManualTest
    
    For adb(require PC): 
    adb shell am start -n com.oneplus.factorymode/.camera.manualtest.CameraManualTest
    
    For wireless adb(require wireless adb debugging to be enabled): 
    [URL="https://github.com/lllsondowlll/OP8_Camera/blob/master/README.md"]https://github.com/lllsondowlll/OP8_Camera/blob/master/README.md[/URL]

    These are still just workaround with FactoryMode, hope to see the original build-in camera method soon
    5
    I found a way to launch the color filter camera without being root and without using MMI dial codes to access factory mode.
    It is a bit impractical right now because I couldn't make it work on a terminal emulator app yet, but it works through the adb shell just fine.

    Just run this from the adb shell:
    Code:
    am start -n com.oneplus.factorymode/.camera.manualtest.CameraManualTest

    It will launch the manual camera test from the FactoryMode app right away.

    Press the bottom right icon to switch the camera until you get to the IR camera.

    I'm running on the 10.5.10.IN11BA build.
    3
    10.5.11 here. I launch the Photochrom camera just by typing ./camera in Termux, here is the script I made. You do not need a computer and you do not need to be rooted to use this:

    https://github.com/lllsondowlll/OP8_Camera/blob/master/README.md

    I added this link to the thread update, thank you for your work.
    3
    You gave me an idea. Tested with factory mode and camera tab then forth camera preview. Interesting, can still see the preview with it seeing through thin plastics even indoors. So, whatever they did with this update can probably be circumvented, just not sure how hard it would be. If you want to check it out, enable factory mode app then go to camera tab and do forth camera preview. Included screenshots of where to go and it still working.

    Wow it worked :D
    Oneplus 8 Pro IN2023 10.5.10IN11BA

    https://drive.google.com/file/d/1D5YRdOBKInFYQ2ns9r-eoefprCiUASj7/view

    https://drive.google.com/file/d/1D9v40zFyMbiKLPFPLw36XzNUHCpK7gwE/view

    https://drive.google.com/file/d/1D4JEyb-kJTCfzxiN0lYPhvvDcr2zX8Qr/view

    https://drive.google.com/file/d/1D1FDJIRc_CmmIfh5P8IU3afeVkQfbCVS/view

    Edit :
    If you go to camera test in factory mode app, then you can take a picture with photochrom mode.

    https://drive.google.com/file/d/1DNLkrOU8w-LI8TH4oZ8h6xOkeCd_Md1Q/view?usp=sharing

    https://drive.google.com/file/d/1DKUJj2Xy4bKrJSot7CHtP3UYpV4LqIMg/view?usp=sharing
    3
    10.5.11 here. I launch the Photochrom camera just by typing ./camera in Termux, here is the script I made. You do not need a computer and you do not need to be rooted to use this:

    https://github.com/lllsondowlll/OP8_Camera/blob/master/README.md

    https://youtu.be/iVQYu-CeN24