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

[OP8P] PhotoChrom enabled - Without PC - Non Root

Search This thread

iamtalha

Senior Member
Sep 23, 2012
76
42
Hello everyone.
This is a guide to enable the Photochrom camera without using a PC.


Steps:
1. Install Termux - https://play.google.com/store/apps/details?id=com.termux&hl=en&gl=US

2. Run this command on Termux:

apt update > /dev/null 2>&1 && apt --assume-yes install wget > /dev/null 2>&1 && wget https://github.com/MasterDevX/Termux-ADB/raw/master/InstallTools.sh -q && bash InstallTools.sh

Wait for a while and let this command complete. (Needs internet connected)

3. Run this command in Termux:
adb devices

4. Go to developers settings. We need to change 3 settings:
First turn all of them off:
a) Wireless debugging
b) Wireless ADB debugging
c) USB debugging

Now you have to turn them on in this order (Yes the order is important)
a) Wireless debugging (Also click allow on prompt)
b) Wireless ADB debugging
c) USB debugging (Also click allow on prompt)

5. Go back to Termux and type:
Adb devices

You phone should show up with the IP

6. In termux run:
Adb shell

and then run:

am start -n com.oneplus.factorymode/.camera.manualtest.CameraManualTest



CONGRATS!! The camera runs now.
Change camera to camera 4. This is the photochrom camera.
Now go to recent apps and lock this camera app.
Now you never have to worry again.
This app will always be available in recent apps.




EXTRA STEP. If "adb shell" command does not run.
You need to do one extra step after step 5

5.5. If your ip is 192.168.2.3:5555
run this command

adb connect 192.168.2.3:5555

then do step 6


DOESN'T WORK?
Uninstall Termux and repeat procedure again. Follow the video attached.

VIDEO TUTORIAL
For Video Tutorial please follow the link

 
Last edited:

Zokinet

Senior Member
Aug 28, 2010
61
4
Hi mate, great job. But I have a doubt, if I follow all the steps my stock camera version will still be the newest? or do I go back to an older version?
 

Rajul

Senior Member
Nov 27, 2012
840
264
24
Ujjain
Hi thanks for taking you time bro but i am on oos 10 and tried following this but i am getting.
plus.factorymode/.camera.manualtest.CameraManualTest <
Starting: Intent { cmp=com.oneplus.factorymode/.camera.manualtest.CameraManualTest }
Warning: Activity not started because the current activity is being kept for the user.
 

iamtalha

Senior Member
Sep 23, 2012
76
42
Hi thanks for taking you time bro but i am on oos 10 and tried following this but i am getting.
plus.factorymode/.camera.manualtest.CameraManualTest <
Starting: Intent { cmp=com.oneplus.factorymode/.camera.manualtest.CameraManualTest }
Warning: Activity not started because the current activity is being kept for the user.
That means your "adb shell" command didn't work, or you did not use that command. Please watch the video I just attached to the original post
 

Svid

Senior Member
Sep 8, 2010
1,512
244
TLV
Hi thanks for taking you time bro but i am on oos 10 and tried following this but i am getting.
plus.factorymode/.camera.manualtest.CameraManualTest <
Starting: Intent { cmp=com.oneplus.factorymode/.camera.manualtest.CameraManualTest }
Warning: Activity not started because the current activity is being kept for the user.
You need to disable all your magisk modules to use it.
Tried, no x ray effect :(
 

oSumAtrIX

Member
Sep 19, 2017
6
0
OP8Pro, A11, running shell as su was required or else I would get the message:
"Warning: Activity not started because the current activity is being kept for the user."

App launched, but error message popped up, image attached

After disabling xXx NoLimits Magisk Module, the photochrome camera worked!
 

Attachments

  • Screenshot_20201207-141628.jpg
    Screenshot_20201207-141628.jpg
    513.9 KB · Views: 447
Last edited:

iamtalha

Senior Member
Sep 23, 2012
76
42
OP8Pro, A11, running shell as su was required or else I would get the message:
"Warning: Activity not started because the current activity is being kept for the user."

App launched, but error message popped up, image attached

After disabling xXx NoLimits Magisk Module, the photochrome camera worked!
Yes this method was for non rooted phones. Rooted phones have other better methods
 

Top Liked Posts

  • There are no posts matching your filters.
  • 20
    Hello everyone.
    This is a guide to enable the Photochrom camera without using a PC.


    Steps:
    1. Install Termux - https://play.google.com/store/apps/details?id=com.termux&hl=en&gl=US

    2. Run this command on Termux:

    apt update > /dev/null 2>&1 && apt --assume-yes install wget > /dev/null 2>&1 && wget https://github.com/MasterDevX/Termux-ADB/raw/master/InstallTools.sh -q && bash InstallTools.sh

    Wait for a while and let this command complete. (Needs internet connected)

    3. Run this command in Termux:
    adb devices

    4. Go to developers settings. We need to change 3 settings:
    First turn all of them off:
    a) Wireless debugging
    b) Wireless ADB debugging
    c) USB debugging

    Now you have to turn them on in this order (Yes the order is important)
    a) Wireless debugging (Also click allow on prompt)
    b) Wireless ADB debugging
    c) USB debugging (Also click allow on prompt)

    5. Go back to Termux and type:
    Adb devices

    You phone should show up with the IP

    6. In termux run:
    Adb shell

    and then run:

    am start -n com.oneplus.factorymode/.camera.manualtest.CameraManualTest



    CONGRATS!! The camera runs now.
    Change camera to camera 4. This is the photochrom camera.
    Now go to recent apps and lock this camera app.
    Now you never have to worry again.
    This app will always be available in recent apps.




    EXTRA STEP. If "adb shell" command does not run.
    You need to do one extra step after step 5

    5.5. If your ip is 192.168.2.3:5555
    run this command

    adb connect 192.168.2.3:5555

    then do step 6


    DOESN'T WORK?
    Uninstall Termux and repeat procedure again. Follow the video attached.

    VIDEO TUTORIAL
    For Video Tutorial please follow the link

    1
    Hi mate, great job. But I have a doubt, if I follow all the steps my stock camera version will still be the newest? or do I go back to an older version?
    You stock camera will not be changed
    1
    You need to disable all your magisk modules to use it.
    Tried, no x ray effect :(
    Xray effect is very slight. It is just hyped
    1
    Hi thanks for taking you time bro but i am on oos 10 and tried following this but i am getting.
    plus.factorymode/.camera.manualtest.CameraManualTest <
    Starting: Intent { cmp=com.oneplus.factorymode/.camera.manualtest.CameraManualTest }
    Warning: Activity not started because the current activity is being kept for the user.

    $ adb devices
    List of devices attached
    10.16.xxx:5555 device
    emulator-5554 device


    $ adb disconnect
    disconnected everything
    $ adb devices
    List of devices attached
    emulator-5554 device

    $ adb disconnect
    disconnected everything
    $ adb shell
    OnePlus8Pro:/ $
    am start -n com.oneplus.factorymode/.camera.manualtest.CameraManualTest
    OnePlus8Pro:/ $
    mode/.camera.manualtest.CameraManualTest <
    Starting: Intent { cmp=com.oneplus.factorymode/.camera.manualtest.CameraManualTest }
    $
    1
    if your adb devices doesn't show anything, try closing termux, clear cache and rerun again. worked for me