[GUIDE] How to restore photochrom (by downgrading)

Search This thread

GiveMeAnthony

Member
Jun 28, 2015
7
3
Preface:
OnePlus has pushed an incremental rollout to OxygenOS for the OnePlus 8 Pro, 10.5.11 (India / Global) and 10.5.10 (Europe). You can find the changelog issued here.

https://forums.oneplus.com/threads/and-10-5-10-eu-for-the-oneplus-8-pro.1253402/

Many have found that the photochrom filter doesn't work as expected or doesn't work at all after this update, this seems to depend on the region. If you want this feature back, I encourage you to write feedback to OnePlus. There are many great changes in this update and I would love to see them in another update with the photochrom filter restored.

This guide is meant to show you how to restore this filter by downgrading the firmware on your phone, this means you will lose out on the other changes present in the new incremental update, including an Android security update. This is meant to be a temporary solution for those that really love this quirky feature and I don't recommend this guide for most people. Also, if you have root on your phone then this should remove it. Currently, this guide doesn't work for India since there's no downgrade image which brings them to 10.5.8. The infrared camera was disabled for India in version 10.5.9 which is the lowest we can downgrade to at the moment.

WARNING:
Do not proceed with this guide if you lack experience flashing ROMs or have the slightest apprehension about bricking your phone. Be sure to read the guide fully before attempting so that you understand how the procedure works. If you're uncomfortable after reading this, stop and forget about it. Leave feedback to OnePlus and wait for an update. I've only tested this with the global version, but this should work with the other regions as well. That being said, I'm not liable for any damage you cause to your device. STOP if you have a network-branded phone. Proceed at your own RISK!

Phone Backup:
Do not skip this step unless you want to start anew with a wiped device. You can use whatever backup method you wish, but the one I did on my own phone was a OnePlus Switch backup and a Google backup which worked decently well.

I also used Google's Autofill services so that it was easy to sign back into my accounts. You could use any password manager like LastPass just the same, but I think this service works better. You can check if your passwords are saved under Settings > Privacy > Advanced > Autofill services from Google > Passwords.

If you use Two Factor Authentication such as through Authy or Google Authenticator, ensure that you're able to authorize a new device with another such as via another device or SMS.

If you want to use my backup method, follow these basic steps. First, you'll backup with OnePlus Switch.
  1. Open the OnePlus Switch app.
  2. Tap "Backup and Restore".
  3. Select "New Backup".
  4. Check everything that you want backed up, then select "Backup Now".
  5. Once finished, plug your phone into a computer and set the USB mode to "File transfer" under the notification bar. On Windows, you'll see the new device in Explorer. For a Mac, you'll need the Android File Transfer program. https://www.android.com/filetransfer/
  6. Copy /opbackup/MobileBackup to somewhere safe on your computer. It will be wiped from your phone in the next procedures, so this is extremely important.
Next, you'll backup using Google.
  1. Open Settings, then go to System > Backup > Toggle "Backup to Google Drive" on if it hasn't been turned on already.
  2. Tap "Back up now" and wait for it to finish.
Downgrade Flash:
This is scariest part of the procedure since your device will first be wiped with this type of flashing before installing the initial firmware. If the flashing procedure is interrupted, you may not be able to recover. Therefore, please do the following before proceeding to ensure that doesn't happen.
  • Ensure your device is charged at least 30%, I recommend higher though.
  • Make sure your device is plugged in while flashing.
  • Have a charged battery backup on hand in case the power grid goes out.
  • Check that the firmware image isn't corrupted before flashing (instructions ahead, step 3)
Alright, so now for the procedure:
  1. Check your phone region. Open Settings > About phone, then look at the Build number. It should be something like 10.5.11.IN11XX. The IN11XX will denote your region.

    IN11AA for Global
    IN11DA for India
    IN11BA for Europe


    You can also check the Model:
    IN2025 for Global
    IN2021 for India
    IN2023 for Europe


    If you have an Indian model, discontinue this guide unless you have some other reason to downgrade. You won't be able to restore photochrom.
  2. Download the appropriate downgrade firmware. There's a OnePlus post that included these firmware image files used for rolling back a developer preview. Here, we're using it to rollback the official stock image to an older version.

    Look for "Download links for OnePlus 8 Pro" here: https://forums.oneplus.com/threads/android-11-beta-developer-preview-for-oneplus-8-series.1233995/

    You'll have 3 versions:
    NA for Global
    IN for India
    EU for Europe


    You should know what your region is from step 1. It's vital that you choose the correct region, so if you're unsure then GO BACK to step 1!
  3. Compute the SHA1 checksum of the downloaded firmware image. This is to check that it hasn't been corrupted, which can happen when you download files or have a faulty drive. Windows has a built-in utility called CertUtil and Macs have one called shasum.

    Windows: Open command prompt (find it by searching "cmd" in the search bar), then enter "CertUtil -hashfile" without quotes followed by a space. Drag the downloaded firmware image onto the prompt, then press enter.

    Mac: Open Terminal from Applications > Utilities. Enter "shasum -a 1" without quotes followed by a space. Drag the downloaded firmware image onto the prompt, then press enter.

    You'll see a long string of characters, this is the SHA1 checksum. Compare it with the following value according to your region, ensure it matches EXACTLY. If it doesn't then you have a corrupted image or downloaded the wrong region, please go back and download it again.

    Global: 96f8ee55a1b8914317c7e24306bb512733530052
    Europe: 74a94d4d0b1676a03ddfd40f85635b0036c5b038
  4. Move the downloaded firmware image onto your device. You can do this by plugging in your phone to the computer then set the USB mode to "File transfer" under the notification bar. On Windows, you'll see the new device in Explorer. For a Mac, you'll need the Android File Transfer program. https://www.android.com/filetransfer/
  5. Make sure your phone is charged at least 30% and plugged in as I warned above.
  6. Open Settings > System > System updates.
  7. Tap the gear cog icon in the top right.
  8. Tap "Local upgrade" and select the package you moved onto the phone in step 4. This will wipe your phone and downgrade. DO NOT unplug or turn off the phone, let it finish the entire process because if you don't then it could brick your phone.
  9. Once the phone boots up, skip through as many prompts as possible since you can set it up later. It will say installing updates during these prompts, don't worry about this, it's normal.
Update to 10.5.10 (Global), 10.5.9 (Europe):
This next step is to get you to the most recent update before photochrom was removed or changed. So hold off on restoring your backup and setting up the device.
  1. Download the previous update that had Photochrom.

    https://forum.xda-developers.com/oneplus-8-pro/how-to/oneplus-8-pro-repo-oxygen-os-builds-t4084315

    Click the reveal content button under "Signed flashable zips" and then the next reveal content button under the appropriate region. Click the download link for 10.5.10 if your region is Global or India, click the download link for 10.5.9 if your region is Europe.
  2. Check the SHA1 checksum using the instructions in step 3 of the previous section. However, you'll instead be comparing to the following values.

    Global: 4a08ebb45aed300e8707aa1dc2cbd07ea69344df
    Europe: 1f5b792964312a06eb122f813a33787ccf7d3850


    As before, make sure these match exactly with you calculated. If not, you downloaded the wrong file or your download is corrupted. Go back to the post and try to download again. The XDA forum post lists MD5 values which are different than SHA1 so please ignore those.
  3. Move the downloaded firmware image onto your device. You can do this by plugging in your phone to the computer then set the USB mode to "File transfer" under the notification bar. On Windows, you'll see the new device in Explorer. For a Mac, you'll need the Android File Transfer program. https://www.android.com/filetransfer/
  4. Make sure your phone is charged at least 30% and plugged in as I warned above.
  5. Open Settings > System > System updates.
  6. Tap the gear cog icon in the top right.
  7. Tap "Local upgrade" and select the package you moved onto the phone in step 3. This will update your phone just like the typical OTA update.
Restoring from backup:
If you've come this far then it means you've already restored Photochrom. If you wanted a newly wiped phone then you're done. Otherwise, continue on to restore your backup. This goes over restoring using the backup method I used at the beginning of this guide.
  1. Plug your phone into a computer and set the USB mode to "File transfer" under the notification bar. On Windows, you'll see the new device in Explorer. For a Mac, you'll need the Android File Transfer program. https://www.android.com/filetransfer/
  2. Copy the /opbackup/MobileBackup folder you saved before back onto the phone. Make sure it has the same path. If you need to then you can create a new opbackup folder.
  3. Back on the phone, open up the OnePlus Switch app.
  4. Select "Backup and Restore" at the bottom.
  5. Select "Restore Backup".
  6. Select and the restore you moved back onto the phone. If you don't see it, it means you didn't move it onto the correct path. It should be in /opbackup/MobileBackup.
  7. Once the OnePlus Switch app has restored your backup, sign into your Google account from Settings > Accounts > + Add account. You should soon see a finish setting up notification from Google, tap this and continue so that it installed all your apps and restores a bunch of settings.
  8. Once finished, double check through your settings to see if it missed anything. For me it got most settings but some weren't set.
  9. Sign back in to all your apps and authorize your 2FA manager if you have one.
Thank you
I hope this has been helpful to some people out there. I put a lot of effort into this and triple-checked everything, but let me know if anything is confusing. I'd be happy to change anything in this guide to help clarify. Ultimately, I'd like to see either OnePlus push out an official update that restores this or see someone create a Stock + Photochrom ROM that only changes code related to that camera to keep the original functionality.
 
Last edited:

MintuBilii

Member
Jul 17, 2020
5
1
Preface:
OnePlus has pushed an incremental rollout to OxygenOS for the OnePlus 8 Pro, 10.5.11 (India / Global) and 10.5.10 (Europe). You can find the changelog issued here.

https://forums.oneplus.com/threads/...and-10-5-10-eu-for-the-oneplus-8-pro.1253402/

Many have found that the photochrom filter doesn't work as expected or doesn't work at all after this update, this seems to depend on the region. If you want this feature back, I encourage you to write feedback to OnePlus. There are many great changes in this update and I would love to see them in another update with the photochrom filter restored.

This guide is meant to show you how to restore this filter by downgrading the firmware on your phone, this means you will lose out on the other changes present in the new incremental update, including an Android security update. This is meant to be a temporary solution for those that really love this quirky feature and I don't recommend this guide for most people. Also, if you have root on your phone then this should remove it.

WARNING:
Do not proceed with this guide if you lack experience flashing ROMs or have the slightest apprehension about bricking your phone. Be sure to read the guide fully before attempting so that you understand how the procedure works. If you're uncomfortable after reading this, stop and forget about it. Leave feedback to OnePlus and wait for an update. I've only tested this with the global version, but this should work with the other regions as well. That being said, I'm not liable for any damage you cause to your device. STOP if you have a network-branded phone. Proceed at your own RISK!

Phone Backup:
Do not skip this step unless you want to start anew with a wiped device. You can use whatever backup method you wish, but the one I did on my own phone was a OnePlus Switch backup and a Google backup which worked decently well.

I also used Google's Autofill services so that it was easy to sign back into my accounts. You could use any password manager like LastPass just the same, but I think this service works better. You can check if your passwords are saved under Settings > Privacy > Advanced > Autofill services from Google > Passwords.

If you use Two Factor Authentication such as through Authy or Google Authenticator, ensure that you're able to authorize a new device with another such as via another device or SMS.

If you want to use my backup method, follow these basic steps. First, you'll backup with OnePlus Switch.
  1. Open the OnePlus Switch app.
  2. Tap "Backup and Restore".
  3. Select "New Backup".
  4. Check everything that you want backed up, then select "Backup Now".
  5. Once finished, plug your phone into a computer and set the USB mode to "File transfer" under the notification bar. On Windows, you'll see the new device in Explorer. For a Mac, you'll need the Android File Transfer program. https://www.android.com/filetransfer/
  6. Copy /opbackup/MobileBackup to somewhere safe on your computer. It will be wiped from your phone in the next procedures, so this is extremely important.
Next, you'll backup using Google.
  1. Open Settings, then go to System > Backup > Toggle "Backup to Google Drive" on if it hasn't been turned on already.
  2. Tap "Back up now" and wait for it to finish.
Downgrade Flash:
This is scariest part of the procedure since your device will first be wiped with this type of flashing before installing the initial firmware. If the flashing procedure is interrupted, you may not be able to recover. Therefore, please do the following before proceeding to ensure that doesn't happen.
  • Ensure your device is charged at least 30%, I recommend higher though.
  • Make sure your device is plugged in while flashing.
  • Have a charged battery backup on hand in case the power grid goes out.
  • Check that the firmware image isn't corrupted before flashing (instructions ahead, step 3)
Alright, so now for the procedure:
  1. Check your phone region. Open Settings > About phone, then look at the Build number. It should be something like 10.5.11.IN11XX. The IN11XX will denote your region.

    IN11AA for Global
    IN11DA for India
    IN11BA for Europe


    You can also check the Model:
    IN2025 for Global
    IN2021 for India
    IN2023 for Europe
  2. Download the appropriate downgrade firmware. There's a OnePlus post that included these firmware image files used for rolling back a developer preview. Here, we're using it to rollback the official stock image to an older version.

    Look for "Download links for OnePlus 8 Pro" here: https://forums.oneplus.com/threads/android-11-beta-developer-preview-for-oneplus-8-series.1233995/

    You'll have 3 versions:
    NA for Global
    IN for India
    EU for Europe


    You should know what your region is from step 1. It's vital that you choose the correct region, so if you're unsure then GO BACK to step 1!
  3. Compute the SHA1 checksum of the downloaded firmware image. This is to check that it hasn't been corrupted, which can happen when you download files or have a faulty drive. Windows has a built-in utility called CertUtil and Macs have one called shasum.

    Windows: Open command prompt (find it by searching "cmd" in the search bar), then enter "CertUtil -hashfile" without quotes followed by a space. Drag the downloaded firmware image onto the prompt, then press enter.

    Mac: Open Terminal from Applications > Utilities. Enter "shasum -a 1" without quotes followed by a space. Drag the downloaded firmware image onto the prompt, then press enter.

    You'll see a long string of characters, this is the SHA1 checksum. Compare it with the following value according to your region, ensure it matches EXACTLY. If it doesn't then you have a corrupted image or downloaded the wrong region, please go back and download it again.

    Global: 96f8ee55a1b8914317c7e24306bb512733530052
    India: 84f1e472d7e5da0e50d0a4e8f135820352e6dd17
    Europe: 74a94d4d0b1676a03ddfd40f85635b0036c5b038
  4. Move the downloaded firmware image onto your device. You can do this by plugging in your phone to the computer then set the USB mode to "File transfer" under the notification bar. On Windows, you'll see the new device in Explorer. For a Mac, you'll need the Android File Transfer program. https://www.android.com/filetransfer/
  5. Make sure your phone is charged at least 30% and plugged in as I warned above.
  6. Open Settings > System > System updates.
  7. Tap the gear cog icon in the top right.
  8. Tap "Local upgrade" and select the package you moved onto the phone in step 4. This will wipe your phone and downgrade. DO NOT unplug or turn off the phone, let it finish the entire process because if you don't then it could brick your phone.
  9. Once the phone boots up, skip through as many prompts as possible since you can set it up later. It will say installing updates during these prompts, don't worry about this, it's normal.
Update to 10.5.10 (Global and India), 10.5.9 (Europe):
This next step is to get you to the most recent update before photochrom was removed or changed. So hold off on restoring your backup and setting up the device.
  1. Download the previous update that had Photochrom.

    https://forum.xda-developers.com/oneplus-8-pro/how-to/oneplus-8-pro-repo-oxygen-os-builds-t4084315

    Click the reveal content button under "Signed flashable zips" and then the next reveal content button under the appropriate region. Click the download link for 10.5.10 if your region is Global or India, click the download link for 10.5.9 if your region is Europe.
  2. Check the SHA1 checksum using the instructions in step 3 of the previous section. However, you'll instead be comparing to the following values.

    Global: 4a08ebb45aed300e8707aa1dc2cbd07ea69344df
    India: 07b698e8d071ad794f3bcca38ad728ba646a4a5e
    Europe: 1f5b792964312a06eb122f813a33787ccf7d3850


    As before, make sure these match exactly with you calculated. If not, you downloaded the wrong file or your download is corrupted. Go back to the post and try to download again. The XDA forum post lists MD5 values which are different than SHA1 so please ignore those.
  3. Move the downloaded firmware image onto your device. You can do this by plugging in your phone to the computer then set the USB mode to "File transfer" under the notification bar. On Windows, you'll see the new device in Explorer. For a Mac, you'll need the Android File Transfer program. https://www.android.com/filetransfer/
  4. Make sure your phone is charged at least 30% and plugged in as I warned above.
  5. Open Settings > System > System updates.
  6. Tap the gear cog icon in the top right.
  7. Tap "Local upgrade" and select the package you moved onto the phone in step 3. This will update your phone just like the typical OTA update.
Restoring from backup:
If you've come this far then it means you've already restored Photochrom. If you wanted a newly wiped phone then you're done. Otherwise, continue on to restore your backup. This goes over restoring using the backup method I used at the beginning of this guide.
  1. Plug your phone into a computer and set the USB mode to "File transfer" under the notification bar. On Windows, you'll see the new device in Explorer. For a Mac, you'll need the Android File Transfer program. https://www.android.com/filetransfer/
  2. Copy the /opbackup/MobileBackup folder you saved before back onto the phone. Make sure it has the same path. If you need to then you can create a new opbackup folder.
  3. Back on the phone, open up the OnePlus Switch app.
  4. Select "Backup and Restore" at the bottom.
  5. Select "Restore Backup".
  6. Select and the restore you moved back onto the phone. If you don't see it, it means you didn't move it onto the correct path. It should be in /opbackup/MobileBackup.
  7. Once the OnePlus Switch app has restored your backup, sign into your Google account from Settings > Accounts > + Add account. You should soon see a finish setting up notification from Google, tap this and continue so that it installed all your apps and restores a bunch of settings.
  8. Once finished, double check through your settings to see if it missed anything. For me it got most settings but some weren't set.
  9. Sign back in to all your apps and authorize your 2FA manager if you have one.
Thank you
I hope this has been helpful to some people out there. I put a lot of effort into this and triple-checked everything, but let me know if anything is confusing. I'd be happy to change anything in this guide to help clarify. Ultimately, I'd like to see either OnePlus push out an official update that restores this or see someone create a Stock + Photochrom ROM that only changes code related to that camera to keep the original functionality.

can you please tell me after rolling and installing first step
then at this point

Update to 10.5.10 (Global and India), 10.5.9 (Europe):

can we install 10.5.8 also Indian version for me in which it was enabled.
becasue company disabled it on 10.5.10 for me.
 

GiveMeAnthony

Member
Jun 28, 2015
7
3
can you please tell me after rolling and installing first step
then at this point

Update to 10.5.10 (Global and India), 10.5.9 (Europe):

can we install 10.5.8 also Indian version for me in which it was enabled.
becasue company disabled it on 10.5.10 for me.

Yeah, you can use any of the images listed on that XDA page.

https://forum.xda-developers.com/oneplus-8-pro/how-to/oneplus-8-pro-repo-oxygen-os-builds-t4084315

Though I haven't calculated the SHA1 hash for all of those versions. Since I didn't author these files, in order to verify the hashes, I download to multiple devices and then run the checksum on each to compare. So what about 10.5.9 for India? Do you know if the old photochrom works on that?

Here's the SHA1 for 10.5.8 (India): db88d05729c8b235d7d4067ed0b949348f671e61
 

MintuBilii

Member
Jul 17, 2020
5
1
Yeah, you can use any of the images listed on that XDA page.

https://forum.xda-developers.com/oneplus-8-pro/how-to/oneplus-8-pro-repo-oxygen-os-builds-t4084315

Though I haven't calculated the SHA1 hash for all of those versions. Since I didn't author these files, in order to verify the hashes, I download to multiple devices and then run the checksum on each to compare. So what about 10.5.9 for India? Do you know if the old photochrom works on that?

Here's the SHA1 for 10.5.8 (India): db88d05729c8b235d7d4067ed0b949348f671e61
no it was working well on 10.5.8 only.
buti think we will get error message that downgrade is not possible .
Update
Just i downgraded with first post to 10.5.9 now when installing 10.5.8: OnePlus8ProOxygen_15.I.17_GLO_017_2005100301
it gives error that you can't downgrade now what ?
I don't have knowledge of root.
do you know any link of downgrade for 10.5.8 India version
 
Last edited:

GiveMeAnthony

Member
Jun 28, 2015
7
3
no it was working well on 10.5.8 only.
buti think we will get error message that downgrade is not possible .
Update
Just i downgraded with first post to 10.5.9 now when installing 10.5.8: OnePlus8ProOxygen_15.I.17_GLO_017_2005100301
it gives error that you can't downgrade now what ?
I don't have knowledge of root.
do you know any link of downgrade for 10.5.8 India version

That won't work and you shouldn't even attempt to circumvent it. If you were able to flash it then you would end up bricking your phone. The whole point of the downgrade firmware image is to bring you to a lower version than the one before the feature was removed. You cannot update to a lower version, you specifically need a downgrade image. I didn't realize the downgrade image for India didn't go below 10.5.9. For global users, the downgrade image provided by OnePlus goes to 10.5.7. I'll update the guide to reflect that this currently doesn't work for India users. In order to get it to work, you would need a downgrade firmware image which brings you down to at least 10.5.8. It may be possible to create such an image because from what I can tell, the image consists of instructions to wipe the phone and then flash the update. Basically, we would need to modify the image to keep those instructions but change the update.
 

MintuBilii

Member
Jul 17, 2020
5
1
That won't work and you shouldn't even attempt to circumvent it. If you were able to flash it then you would end up bricking your phone. The whole point of the downgrade firmware image is to bring you to a lower version than the one before the feature was removed. You cannot update to a lower version, you specifically need a downgrade image. I didn't realize the downgrade image for India didn't go below 10.5.9. For global users, the downgrade image provided by OnePlus goes to 10.5.7. I'll update the guide to reflect that this currently doesn't work for India users. In order to get it to work, you would need a downgrade firmware image which brings you down to at least 10.5.8. It may be possible to create such an image because from what I can tell, the image consists of instructions to wipe the phone and then flash the update. Basically, we would need to modify the image to keep those instructions but change the update.

yes please, I am waiting for it. because for India it was working and enabled the feature on 10.5.8 let me know if you found downgrade image tested which has enabled photochrom because i am getting an error that I cannot downgrade and i do not wish to root my phone due to I use security apps.
Right now i am on 10.5.9 which has no photochrom but i think its better does not sucks my battery like .11 and more stable.
I will keep it testing if any issues will update to latest version.
 

GiveMeAnthony

Member
Jun 28, 2015
7
3
yes please, I am waiting for it. because for India it was working and enabled the feature on 10.5.8 let me know if you found downgrade image tested which has enabled photochrom because i am getting an error that I cannot downgrade and i do not wish to root my phone due to I use security apps.
Right now i am on 10.5.9 which has no photochrom but i think its better does not sucks my battery like .11 and more stable.
I will keep it testing if any issues will update to latest version.

The error is because those aren't downgrade images and you're trying to "update" to an older version. Don't even attempt flashing update images of older versions, even though the System Update app blocks you, because it would brick the phone if it did allow you. The point of updating in this guide was because the downgrade image goes all the way back to 10.5.7. If there were one for 10.5.10 then global users wouldn't need the updating step. Rooting won't help you in this case either (at least not yet). There's another thread attempting to bring back this functionality with the camera, photo processing, and various services / APIs so that you can have the updates with photochrom.

https://forum.xda-developers.com/on...cussion-how-to-enable-photochrom-int-t4132807

In fact, could you try something for me?
  1. Download and extract Android platform tools on your computer https://developer.android.com/studio/releases/platform-tools
  2. Add the platform-tools directory to your PATH system variable. Here's how to do it on Windows. https://www.computerhope.com/issues/ch000549.htm Let me know if you don't have Windows.
  3. Enable USB debugging on your device. Settings > About Phone > Tap the build number until it says you're a developer. Next, go to Settings > System > Developer Options then toggle USB debugging.
  4. Run the following command in command prompt / terminal
    Code:
    adb shell am start -n com.oneplus.factorymode/.camera.manualtest.CameraManualTest
  5. Press the switch camera button on the app which should've loaded until you get to Fourth Camera. Let me know the results.

I'll let you know if a 10.5.8 downgrade image is made for India. When I get a chance, I'll run some diffs on the downgrade vs update images and see if I can generate a new image myself. I have no way of testing the image though since I don't have an Indian device.
 
Last edited:

MintuBilii

Member
Jul 17, 2020
5
1
The error is because those aren't downgrade images and you're trying to "update" to an older version. Don't even attempt flashing update images of older versions, even though the System Update app blocks you, because it would brick the phone if it did allow you. The point of updating in this guide was because the downgrade image goes all the way back to 10.5.7. If there were one for 10.5.10 then global users wouldn't need the updating step. Rooting won't help you in this case either (at least not yet). There's another thread attempting to bring back this functionality with the camera, photo processing, and various services / APIs so that you can have the updates with photochrom.

https://forum.xda-developers.com/on...cussion-how-to-enable-photochrom-int-t4132807

In fact, could you try something for me?
  1. Download and extract Android platform tools on your computer https://developer.android.com/studio/releases/platform-tools
  2. Add the platform-tools directory to your PATH system variable. Here's how to do it on Windows. https://www.computerhope.com/issues/ch000549.htm Let me know if you don't have Windows.
  3. Enable USB debugging on your device. Settings > About Phone > Tap the build number until it says you're a developer. Next, go to Settings > System > Developer Options then toggle USB debugging.
  4. Run the following command in command prompt / terminal
    Code:
    adb shell am start -n com.oneplus.factorymode/.camera.manualtest.CameraManualTest
  5. Press the switch camera button on the app which should've loaded until you get to Fourth Camera. Let me know the results.

I'll let you know if a 10.5.8 downgrade image is made for India. When I get a chance, I'll run some diffs on the downgrade vs update images and see if I can generate a new image myself. I have no way of testing the image though since I don't have an Indian device.

bro no long process needed !
I can still use the camera using factory trick
For wireless adb(require wireless adb debugging to be enabled):
https://github.com/lllsondowlll/OP8_Camera/blob/master/README.md
this works 100% and no root needed.
i am on 10.5.9 right now in which no photochrom but can use with factory mode.
what i do not like is we have to use that factory mode and id not like it however i am feeling battery is more stable right now in my current version that is why not looking to upgrade.
https://forums.oneplus.com/threads/...tochrom-filter-to-work-like-original.1257039/
1367410-023e89a3ec4557dc42287d47379393b3.jpg


1367426-2231bfea0f2511a6b4744758b9ee8243.jpg
 
Last edited:
  • Like
Reactions: GiveMeAnthony
Dec 7, 2018
32
9
I have the Indian version of Oneplus 8 Pro. And I downgraded my phone from 10.5.12 to 10.5.4 using the MSM Tool. (EDL Mode). And the Photochrom works well on that.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    Preface:
    OnePlus has pushed an incremental rollout to OxygenOS for the OnePlus 8 Pro, 10.5.11 (India / Global) and 10.5.10 (Europe). You can find the changelog issued here.

    https://forums.oneplus.com/threads/and-10-5-10-eu-for-the-oneplus-8-pro.1253402/

    Many have found that the photochrom filter doesn't work as expected or doesn't work at all after this update, this seems to depend on the region. If you want this feature back, I encourage you to write feedback to OnePlus. There are many great changes in this update and I would love to see them in another update with the photochrom filter restored.

    This guide is meant to show you how to restore this filter by downgrading the firmware on your phone, this means you will lose out on the other changes present in the new incremental update, including an Android security update. This is meant to be a temporary solution for those that really love this quirky feature and I don't recommend this guide for most people. Also, if you have root on your phone then this should remove it. Currently, this guide doesn't work for India since there's no downgrade image which brings them to 10.5.8. The infrared camera was disabled for India in version 10.5.9 which is the lowest we can downgrade to at the moment.

    WARNING:
    Do not proceed with this guide if you lack experience flashing ROMs or have the slightest apprehension about bricking your phone. Be sure to read the guide fully before attempting so that you understand how the procedure works. If you're uncomfortable after reading this, stop and forget about it. Leave feedback to OnePlus and wait for an update. I've only tested this with the global version, but this should work with the other regions as well. That being said, I'm not liable for any damage you cause to your device. STOP if you have a network-branded phone. Proceed at your own RISK!

    Phone Backup:
    Do not skip this step unless you want to start anew with a wiped device. You can use whatever backup method you wish, but the one I did on my own phone was a OnePlus Switch backup and a Google backup which worked decently well.

    I also used Google's Autofill services so that it was easy to sign back into my accounts. You could use any password manager like LastPass just the same, but I think this service works better. You can check if your passwords are saved under Settings > Privacy > Advanced > Autofill services from Google > Passwords.

    If you use Two Factor Authentication such as through Authy or Google Authenticator, ensure that you're able to authorize a new device with another such as via another device or SMS.

    If you want to use my backup method, follow these basic steps. First, you'll backup with OnePlus Switch.
    1. Open the OnePlus Switch app.
    2. Tap "Backup and Restore".
    3. Select "New Backup".
    4. Check everything that you want backed up, then select "Backup Now".
    5. Once finished, plug your phone into a computer and set the USB mode to "File transfer" under the notification bar. On Windows, you'll see the new device in Explorer. For a Mac, you'll need the Android File Transfer program. https://www.android.com/filetransfer/
    6. Copy /opbackup/MobileBackup to somewhere safe on your computer. It will be wiped from your phone in the next procedures, so this is extremely important.
    Next, you'll backup using Google.
    1. Open Settings, then go to System > Backup > Toggle "Backup to Google Drive" on if it hasn't been turned on already.
    2. Tap "Back up now" and wait for it to finish.
    Downgrade Flash:
    This is scariest part of the procedure since your device will first be wiped with this type of flashing before installing the initial firmware. If the flashing procedure is interrupted, you may not be able to recover. Therefore, please do the following before proceeding to ensure that doesn't happen.
    • Ensure your device is charged at least 30%, I recommend higher though.
    • Make sure your device is plugged in while flashing.
    • Have a charged battery backup on hand in case the power grid goes out.
    • Check that the firmware image isn't corrupted before flashing (instructions ahead, step 3)
    Alright, so now for the procedure:
    1. Check your phone region. Open Settings > About phone, then look at the Build number. It should be something like 10.5.11.IN11XX. The IN11XX will denote your region.

      IN11AA for Global
      IN11DA for India
      IN11BA for Europe


      You can also check the Model:
      IN2025 for Global
      IN2021 for India
      IN2023 for Europe


      If you have an Indian model, discontinue this guide unless you have some other reason to downgrade. You won't be able to restore photochrom.
    2. Download the appropriate downgrade firmware. There's a OnePlus post that included these firmware image files used for rolling back a developer preview. Here, we're using it to rollback the official stock image to an older version.

      Look for "Download links for OnePlus 8 Pro" here: https://forums.oneplus.com/threads/android-11-beta-developer-preview-for-oneplus-8-series.1233995/

      You'll have 3 versions:
      NA for Global
      IN for India
      EU for Europe


      You should know what your region is from step 1. It's vital that you choose the correct region, so if you're unsure then GO BACK to step 1!
    3. Compute the SHA1 checksum of the downloaded firmware image. This is to check that it hasn't been corrupted, which can happen when you download files or have a faulty drive. Windows has a built-in utility called CertUtil and Macs have one called shasum.

      Windows: Open command prompt (find it by searching "cmd" in the search bar), then enter "CertUtil -hashfile" without quotes followed by a space. Drag the downloaded firmware image onto the prompt, then press enter.

      Mac: Open Terminal from Applications > Utilities. Enter "shasum -a 1" without quotes followed by a space. Drag the downloaded firmware image onto the prompt, then press enter.

      You'll see a long string of characters, this is the SHA1 checksum. Compare it with the following value according to your region, ensure it matches EXACTLY. If it doesn't then you have a corrupted image or downloaded the wrong region, please go back and download it again.

      Global: 96f8ee55a1b8914317c7e24306bb512733530052
      Europe: 74a94d4d0b1676a03ddfd40f85635b0036c5b038
    4. Move the downloaded firmware image onto your device. You can do this by plugging in your phone to the computer then set the USB mode to "File transfer" under the notification bar. On Windows, you'll see the new device in Explorer. For a Mac, you'll need the Android File Transfer program. https://www.android.com/filetransfer/
    5. Make sure your phone is charged at least 30% and plugged in as I warned above.
    6. Open Settings > System > System updates.
    7. Tap the gear cog icon in the top right.
    8. Tap "Local upgrade" and select the package you moved onto the phone in step 4. This will wipe your phone and downgrade. DO NOT unplug or turn off the phone, let it finish the entire process because if you don't then it could brick your phone.
    9. Once the phone boots up, skip through as many prompts as possible since you can set it up later. It will say installing updates during these prompts, don't worry about this, it's normal.
    Update to 10.5.10 (Global), 10.5.9 (Europe):
    This next step is to get you to the most recent update before photochrom was removed or changed. So hold off on restoring your backup and setting up the device.
    1. Download the previous update that had Photochrom.

      https://forum.xda-developers.com/oneplus-8-pro/how-to/oneplus-8-pro-repo-oxygen-os-builds-t4084315

      Click the reveal content button under "Signed flashable zips" and then the next reveal content button under the appropriate region. Click the download link for 10.5.10 if your region is Global or India, click the download link for 10.5.9 if your region is Europe.
    2. Check the SHA1 checksum using the instructions in step 3 of the previous section. However, you'll instead be comparing to the following values.

      Global: 4a08ebb45aed300e8707aa1dc2cbd07ea69344df
      Europe: 1f5b792964312a06eb122f813a33787ccf7d3850


      As before, make sure these match exactly with you calculated. If not, you downloaded the wrong file or your download is corrupted. Go back to the post and try to download again. The XDA forum post lists MD5 values which are different than SHA1 so please ignore those.
    3. Move the downloaded firmware image onto your device. You can do this by plugging in your phone to the computer then set the USB mode to "File transfer" under the notification bar. On Windows, you'll see the new device in Explorer. For a Mac, you'll need the Android File Transfer program. https://www.android.com/filetransfer/
    4. Make sure your phone is charged at least 30% and plugged in as I warned above.
    5. Open Settings > System > System updates.
    6. Tap the gear cog icon in the top right.
    7. Tap "Local upgrade" and select the package you moved onto the phone in step 3. This will update your phone just like the typical OTA update.
    Restoring from backup:
    If you've come this far then it means you've already restored Photochrom. If you wanted a newly wiped phone then you're done. Otherwise, continue on to restore your backup. This goes over restoring using the backup method I used at the beginning of this guide.
    1. Plug your phone into a computer and set the USB mode to "File transfer" under the notification bar. On Windows, you'll see the new device in Explorer. For a Mac, you'll need the Android File Transfer program. https://www.android.com/filetransfer/
    2. Copy the /opbackup/MobileBackup folder you saved before back onto the phone. Make sure it has the same path. If you need to then you can create a new opbackup folder.
    3. Back on the phone, open up the OnePlus Switch app.
    4. Select "Backup and Restore" at the bottom.
    5. Select "Restore Backup".
    6. Select and the restore you moved back onto the phone. If you don't see it, it means you didn't move it onto the correct path. It should be in /opbackup/MobileBackup.
    7. Once the OnePlus Switch app has restored your backup, sign into your Google account from Settings > Accounts > + Add account. You should soon see a finish setting up notification from Google, tap this and continue so that it installed all your apps and restores a bunch of settings.
    8. Once finished, double check through your settings to see if it missed anything. For me it got most settings but some weren't set.
    9. Sign back in to all your apps and authorize your 2FA manager if you have one.
    Thank you
    I hope this has been helpful to some people out there. I put a lot of effort into this and triple-checked everything, but let me know if anything is confusing. I'd be happy to change anything in this guide to help clarify. Ultimately, I'd like to see either OnePlus push out an official update that restores this or see someone create a Stock + Photochrom ROM that only changes code related to that camera to keep the original functionality.
    1
    The error is because those aren't downgrade images and you're trying to "update" to an older version. Don't even attempt flashing update images of older versions, even though the System Update app blocks you, because it would brick the phone if it did allow you. The point of updating in this guide was because the downgrade image goes all the way back to 10.5.7. If there were one for 10.5.10 then global users wouldn't need the updating step. Rooting won't help you in this case either (at least not yet). There's another thread attempting to bring back this functionality with the camera, photo processing, and various services / APIs so that you can have the updates with photochrom.

    https://forum.xda-developers.com/on...cussion-how-to-enable-photochrom-int-t4132807

    In fact, could you try something for me?
    1. Download and extract Android platform tools on your computer https://developer.android.com/studio/releases/platform-tools
    2. Add the platform-tools directory to your PATH system variable. Here's how to do it on Windows. https://www.computerhope.com/issues/ch000549.htm Let me know if you don't have Windows.
    3. Enable USB debugging on your device. Settings > About Phone > Tap the build number until it says you're a developer. Next, go to Settings > System > Developer Options then toggle USB debugging.
    4. Run the following command in command prompt / terminal
      Code:
      adb shell am start -n com.oneplus.factorymode/.camera.manualtest.CameraManualTest
    5. Press the switch camera button on the app which should've loaded until you get to Fourth Camera. Let me know the results.

    I'll let you know if a 10.5.8 downgrade image is made for India. When I get a chance, I'll run some diffs on the downgrade vs update images and see if I can generate a new image myself. I have no way of testing the image though since I don't have an Indian device.

    bro no long process needed !
    I can still use the camera using factory trick
    For wireless adb(require wireless adb debugging to be enabled):
    https://github.com/lllsondowlll/OP8_Camera/blob/master/README.md
    this works 100% and no root needed.
    i am on 10.5.9 right now in which no photochrom but can use with factory mode.
    what i do not like is we have to use that factory mode and id not like it however i am feeling battery is more stable right now in my current version that is why not looking to upgrade.
    https://forums.oneplus.com/threads/...tochrom-filter-to-work-like-original.1257039/
    1367410-023e89a3ec4557dc42287d47379393b3.jpg


    1367426-2231bfea0f2511a6b4744758b9ee8243.jpg