[Oppo R5] uraymeiviar:
flashing from stock R5 into CM14

today i just succeeded flashing CM14 (android 7.1.1) into stock Oppo R5 R8106, it takes days to figure out whats wrong, I got my phone bricked 2 times, but its recovered by hard re-flashing using COM Diagnostic 9008 by Qualcomm driver using Msm8x39DownloadTool, after that I got freshly stock ROM Color OS android 4.x

this is how I got CM14 flashed, just in case someone got into my situation

first you need these files :

R8106_11_OTA_Spectrum_Recovery_new_201601070136.zip from s3.amazonaws.com/public.oppousa.com/OTA/ProjectSpectrum/R8106/R8106_11_OTA_Spectrum_Recovery_new_201601070136.zip

R8106_Spectrum_V1.1_Beta_full_wipe.zip from bit.ly/R5_Project_Spectrum_1_1_Beta_Wipe

r5_spectrum_unlockable_aboot.zip from www .androidfilehost.com / ?fid=24566382913912839

cm-13.0-20160816-SNAPSHOT-ZNH5YAO0FJ-r5-recovery.img from download.cyanogenmod.org

cm-14.1-20161211-NIGHTLY-r5.zip from download.cyanogenmod.org

open_gapps-arm-7.1-pico-20161209.zip from opengapps.org (choose arm, android 7.1, variant pico) it should give you latest verision

and I assume you know how to install android USB driver, and how to use ADB and fastboot program via windows terminal

1. power on into freshly installed stock ROM (android 4.x),

2 .upload using USB or "ADB push ..." file R8106_11_OTA_Spectrum_Recovery_new_201601070136.zip and R8106_Spectrum_V1.1_Beta_full_wipe.zip into root directory

3. power off

4. boot into stock recovery, by holding VolDown+Power, then release after oppo logo appeared

5 .flash R8106_11_OTA_Spectrum_Recovery_new_201601070136.zip

6. when its done, choose yes, then select power off

7. power on, leave it to boot into stock ROM

8. power off

9. boot into spectrum recovery, by holding VolDown+Power, then release after oppo logo appeared

10. flash R8106_Spectrum_V1.1_Beta_full_wipe.zip

11. when its done, choose yes, then select power off

12. power on, it will boot into spectrum 1.1 ROM (freshly installed ROM)

13. upload r5_spectrum_unlockable_aboot.zip into phone either via usb or "ADB push ..." command

14. power off

15. boot into spectrum recovery, by holding VolDown+Power, then release after oppo logo appeared

16. flash r5_spectrum_unlockable_aboot.zip

17. when its done, choose yes, then select power off

18. power on, leave it to boot into spectrum 1.1 ROM

19. power off

20. enter fastboot by holding VolUp+power, then release immediately after the are "fastboot.." text on screen

21. plug in usb cable to PC

22. on windows command prompt issue "fastboot devices" returned "3a26ab3 fastboot" (or any hex number) text on Windows Command Prompt

23. issue "fastboot oem unlock", returned

...
OKAY [ 0.003s]
finished. total time: 0.005s

24. check by issue "fastboot oem device-info" it should returned

...
(bootloader) Device tampered: true
(bootloader) Device unlocked: true
(bootloader) Charger screen enabled: false
(bootloader) Display panel:
OKAY [ 0.011s]
finished. total time: 0.012s

25. issue "fastboot flash recovery cm-13.0-20160816-SNAPSHOT-ZNH5YAO0FJ-r5-recovery.img" it should returned

target reported max download size of 268435456 bytes
sending 'recovery' (10952 KB)...
OKAY [ 0.349s]
writing 'recovery'...
OKAY [ 0.264s]
finished. total time: 0.619s

26. unplug USB until powered-off (do not press any button until screen goes blank)

27. power on into CM Recovery by holding Vol-Down + Power button until oppo logo appears then release

28. now we should in cyanogenmod recovery screen, go to wipe then full factory reset

29. plug in USB cable to PC

30. now choose apply update then choose via adb

31. on windows isssue "adb sideload cm-14.1-20161211-NIGHTLY-r5.zip"

32. after it done, repeat step 30, but issue gapps file "adb sideload open_gapps-arm-7.1-pico-20161209.zip"

33. after it done, unplug USB cable and power off

34. power on, screen should show cyanogen animated logo, and cyanogen should be installing, it will takes a while

thats all, hope it helps