[Oppo R7 Plus] .Almega:
Finally, after scouring the internet for weeks looking for a way to restore my R7sf to stock having stupidly installed Spectrum without first doing more research. I was able to semi-port a recovery to successfully restore it!

WARNING: I’m a newb to all this sorry, driven out of necessity, so I will try and help anyone as best I can with my limited knowledge and capacity if you need it.

My predicament:

I loaded R7sfSpectrum_V1.1_Beta_full_006 to try out and then wanted to switch back to stock, but found that I had no recovery at all. I attempted to re-flash TWRP via fastboot only to encounter “dtb not found” when trying to boot into it… I then tried a bunch of other different methods that I had found without success.

The solution that worked for me:

I stumbled upon a post for the f1f-spectrum-twrp and then went about the process of figuring out how to port it (see source posts below). Once I finally got something working this is what I managed to test out before being content and moving on with life:

After flashing the R7sf recovery (r7sf_spectrum_recovery.img provided below) I was able to boot straight into it, then I immediately flashed LOS-14.1 with the updater-script modded that I already had prepared to rid myself of Spectrum, which succeeded. I was then able to use LOS14.1 with this new R7sf recovery.

I then attempted to update TWRP (twrp-3.4.0-0-r7sf.img) via fastboot but still received the “dtb not found” error. Which makes me think you should be able to continue using this recovery with Spectrum if you wanted to. But I didn’t try sorry and wasn’t willing to go back to Spectrum unless I had to.

I then attempted to sideload the stock image “Specified_ColorOS_R7sf_full_009” via ADB within TWRP and I received an Error 7 and message that the phone was no longer identifying as an r7sf, which would indicate that I definitely have not 100% ported this recovery correctly... To get around this and recover back to stock I had to modify the updater-script within the original "Specified_ColorOS_R7sf_full_009" image.

I was then able to sideload the modified image (Specified_ColorOS_R7sf_full_009_Error7fix.zip provided below) and now the phone is back to stock, with stock recovery.

Use at your own risk but if you are as desperate as I was then hopefully you'll find these useful:

TWRP R7sf Recovery (r7sf_spectrum_recovery.img):

https://drive.google.com/file/d/1YRBXAfDODtS3xGa8TSNAFw7C8FD_zXjE/view?usp=sharing

- Put your phone into fastboot mode: (when the phone is off and not plugged in via USB, hold volume up+power on)

- Connect the phone to a computer with the appropriate fastboot tools (see links below).

- Run the command "fastboot flash recovery r7sf_spectrum_recovery.img"

- Then run "fastboot boot r7sf_spectrum_recovery.img"

(You can also power off the phone and then get into recovery via "volume down + power on")

Modded Specified_ColorOS_R7sf_full_009 (Specified_ColorOS_R7sf_full_009_Error7fix.zip):

https://drive.google.com/file/d/1_WBmB2roXsGMSUsHE2GYI4OCCxmoESO8/view?usp=sharing

- From within TWRP recovery select "Advanced"->"ADB Sideload"

- Connect the phone to a computer with the appropriate adb tools (see links below).

- Run the command "adb sideload Specified_ColorOS_R7sf_full_009_Error7fix.zip"

@Augustoandro – You’re an absolute legend for creating and sharing the recovery I was able to mod. I can’t thank you enough!

Big thanks to the TWRP team and all the work they do, as well as all the others who posted info I was able to utilize to get back to stock!

Source TWRP:

https://xdaforums.com/t/recovery-f1...for-project-spectrum-bootloader-only.3678375/

Source info on porting:

https://xdaforums.com/t/guide-porting-twrp-without-source.3843473/

Error 7 fix:

https://xdaforums.com/t/fix-solved-...m-or-twrp-recovery-on-rooted-android.2522762/

ADB and Fastboot:

Using ADB and fastboot | LineageOS Wiki

wiki.lineageos.org