yashsingh1/xdaforums huggingface dataset:
[Oppo R5] SkandaH:
​

https://wiki.cyanogenmod.org/w/r5_Info

Official nightlies for International Oppo R5/R5s (R8106) has arrived!

#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* We are not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you.
*
*/

CyanogenMod 13 is a free, community built, aftermarket firmware distribution of Android 6.0.1 (Marshmallow), which is designed to increase performance and reliability over stock Android for your device.

Important information

This thread is for CyanogenMod 13 builds for International Oppo R5/R5s (R8106). The following will not be supported here:

Custom kernels

Mods

Xposed

Installation

First time flashing CyanogenMod 13 on your device, or coming from another ROM?

1. Flash Project Spectrum as outlined here.

2. Flash unlockable bootloader obtained from here via stock recovery.

3. Unlock bootloader (fastboot oem unlock).

4. Flash compatible custom recovery.

5. Download the nightly/snapshot zip.

6. Perform a backup of your current ROM (optional).

7. Wipe data/factory reset.

8. Flash CyanogenMod.

9. (Optionally) flash Google Apps.

10. Reboot.

CM recovery is recommended. Official TWRP isn't compatible ATM.

Official Builds

http://download.cyanogenmod.org/?device=r5

Latest nightly: https://download.cyanogenmod.org/get/r5-latest.zip

Latest snapshot: https://download.cyanogenmod.org/get/r5-snapshot.zip

Latest CM recovery (nightly): https://download.cyanogenmod.org/get/r5-latest-recovery.img

Latest CM recovery (snapshot): https://download.cyanogenmod.org/get/r5-latest-snapshot.img

Google Apps

http://opengapps.org/

Known Issue/Bugs

Found a bug? Random Reboot etc.

Please post logs.

Changelog

http://www.cmxlog.com/13/r5/

Source

https://github.com/CyanogenMod

Kernel: https://github.com/CyanogenMod/android_kernel_oppo_msm8939

Device: https://github.com/CyanogenMod/android_device_oppo_r5

Credits

CyanogenMod Community. I'm not the maintainer of it.

Official maintainer: [MENTION=765758]maniac103[/MENTION]
[Oppo R5] SkandaH:
Reserved for future.
[Oppo R5] SkandaH:
Official builds are coming soon: http://review.cyanogenmod.org/#/c/146850/
[Oppo R5] mermigas:
How do you unlock bootloader?
[Oppo R5] maniac103:
Why don't you simply wait for me to do that post so I can include proper instructions? :(

Anyway, short instructions are:

- Flash Project Spectrum as outlined in http://community.oppo.com/en/forum.php?mod=viewthread&tid=44621

- Flash unlockable bootloader obtained from https://www.androidfilehost.com/?fid=24566382913912839 via stock recovery

- Unlock bootloader (fastboot oem unlock)

- From there the procedure above applies

TWRP is explicitly NOT (!) recommended as there's no build of it compatible with the 5.1 firmware that Spectrum installs. Please use CM recovery obtained from get.cm until TWRP is updated!

Edit: And before I forget, this is only for R8106 (the international R5/R5s). It might work on R8107 (the Chinese R5/R5s), but I have absolutely no way of testing that one, so I can't support it.

Gesendet von meinem R7plusf mit Tapatalk
[Oppo R5] mermigas:
[MENTION=230428]maniac[/MENTION] 103. Thanks but the download link for the nighties as well as for cm recovery is dead so I can't test it
[Oppo R5] SkandaH:
[MENTION=765758]maniac103[/MENTION]

My bad - I'm kinda too much excited after seeing the commit. If it sounds feasible, then I can request any mod to delete the thread & you can create a new one; or I can add the necessary bits in the OP, after getting proper notes from you.

:highfive:
[Oppo R5] maniac103:
No worries. Please just include/reflect my notes in reply #5 in the OP.
[Oppo R5] mermigas:
The download links for nighties and recovery are dead.

Does any body have them?

EDIT: It is OK now

Testing
[Oppo R5] mermigas:
Unable to unlock bootloader.

OEM unlocking in developer option , after flashing the zip file still returns to off position
[Oppo R5] pickandrew:
Hello, this ROM is also compatible with Oppo R5s?

Thank y!
[Oppo R5] razorloves:
yes
[Oppo R5] mermigas:
OK latest nightly flashed successfully. Many thanks
[Oppo R5] patre1234:
Cyanogen Problem

Hello everybody

I followed the discription

1. Flash Project Spectrum as outlined here.

2. Flash unlockable bootloader obtained from here via stock recovery.

3. Unlock bootloader (fastboot oem unlock)

4. Download the nightly/snapshot zip.

5. Perform a backup of your current ROM (optional).

6. Wipe data/factory reset.

7. Flash CyanogenMod.

8. (Optionally) flash Google Apps.

9. Reboot.

i used the spectrum recovery because i not able to download the stock recovery.

but after i finished i am not able to activate the engineering options ( OEM Unlocker/switch turned back off himself immeadiately).

Can somebody help me.
[Oppo R5] mermigas:
Cyanogen recovery is a must

Follow this instructions

https://wiki.cyanogenmod.org/w/Install_CM_for_r5
[Oppo R5] patre1234:
i followed these instructions but i am still not able to akctivate oem unlock (i can see unlock switch but it turns back by himself) .

how can i preceed ?
[Oppo R5] mermigas:
I had the same problem but solved.

Do you have cm recovery?

If yes then enter recovery and enter Factory reset -system reset (keep media) and apply.

Then flash cm and gapps from "Apply update"

It is better to use the side load method. i.e.

1- put cm rom and gapps to your adb folder

2- Open your cmd terminal as administrator and cd\adb

3 - In your phone recovery enter apply from adb

4- type in terminal

adb sideload update.zip - where update it will be cm rom and gapps
[Oppo R5] patre1234:
It works, thanks a lot.

but i have to try it a few times ( 4 times)
[Oppo R5] kindaleek:
highly appreciated you guys are working on this!

will go for the nightly within the next couple days !
[Oppo R5] likota:
Thanks for this great work. I had some problems with my Linux laptop and OEM Unlock but after some tries it worked...

I couln't side load the ROM and Gapps so i decided to update from the internal memory of the phone.. worked but after the installation Google play services crashed every minute...

After factory reset from CM13 it works like a charm for me
[Oppo R5] marius.muntean:
Any custom kernel for the R5S?

Hello and thank you very much for the nightlies. It is like having a new phone.

I haven't had any problems with the nightlies except that using better battery stats and CPU-Z I noticed that none of the eight CPU core are ever offline.

Depending on the CPU governor I select (with Kernel Adiutor) the frequency goes down to 200MHz and 0% load, but the cores are never shut down completely. I suspect this has a bad effect on the phone's battery life.

Is there anything that I can tweak on the stock CM13 kernel or will there be changes that allow cores to be shut down when not in use? If not, can anyone recommend any custom kernels for the R5S? (Maybe there is already something for the R7 Plus)

Cheers,

Marius
[Oppo R5] lgsalvati:
Sideload or push not working

Hi all,

for a stupid mistake phone its erased, i can only access to cm recovery and fastboot.

I tried with adb sideload, but returns always a protocol fault error(no status),

if i try with an adb push, i don't have authorization, suggest me to confirm dialog, but i don't have any rom installed atm.

What i can do?

I'm using minimal adb and fastboot and cm13 recovery,

thanks in advance,

regards
[Oppo R5] mermigas:
I made similar mistake but adb side load worked through cm recovery fine.Otherwise you must start from beginning i.e. Flash coloros through Qualcomm. Do you have R5 or R5s?

If you have R5 I can help
[Oppo R5] maniac103:
There will be changes to shut down the larger set of cores when idle. It's in the works already :)

Gesendet von meinem R7plusf mit Tapatalk
[Oppo R5] marius.muntean:
Hey, thanks for the replay. That sounds great!

How is that mechanism called? I'd like to have a look in the github repo to better undestand it. Also that would give me a time horizon for when it'll be ready :D

Cheers,

Marius
[Oppo R5] maniac103:
It's called cluster plug and is a replacement for the proprietary core_ctl kernel module present in stock.

I'll ship the changes today. After laying around idle for the last 40h (but still connected to GSM and Wifi) my R5 is still at 80% battery :)
[Oppo R5] mermigas:
Battery life is OK.

The only problem I have is CPU heat during flashing or playing games.
[Oppo R5] CapraNorvegese:
Hi, I've another problem related to the wifi that disconnects himself and in one second it reconnects...

Now I'm formatting the device to see if the problem will fix itself.

It would also be amazing make TWRP compatible becausethe cyanogen recovery is really uncomfortable!

UPDATE

I confirm that wifi continues to stop

UPDATE II

There isn't the multitasking button... Double tap on home doesen't works.
[Oppo R5] maniac103:
You need to tell that to the TWRP people. There is nothing incompatible in CM per se, but TWRP is incompatible with the new (Project Spectrum) firmware.

You can reassign button behaviour via Settings -> Buttons.
[Oppo R5] CapraNorvegese:
Hi, thank you for the infos ^^,

Now the only problem that I have is the wifi. If you tell me how, I can send a bug log :D
[Oppo R5] CapraNorvegese:
Ok, I've managed to connect the phone with an hotspot opened on ma Mac so it seems that the problem is with my modem, which is a digicom fb22, and not with all wifi hotspots.

But there is a bigger problem that is that if I try to make calls the phone reboots, also while downloading the apps from playstore has restarted several times.

That's all.

UPDATE

I foud the reason of reboot which depends on the incoming or outgoing calls.
[Oppo R5] lucosius01:
Already installed this ROM and found one bug with contacts. Installed with Gapps. I cannot found contacts from SIM. Also there isn't any option to import or export them from SIM.
[Oppo R5] kindaleek:
watch the nightly versions !

recovery from 9th does not work for me !!

use recovery of June 8th and ROM of 9th

so far, CM13 looks good on R8106, going for some apps now ;)

/edit: rom works great so far (already running todays build -- thx for OTA-updates! ), auto-rotation is behaving weird though.

if i put my R5s upwards, the screen (picture gallery for example) rotates 90degrees counterclockwise

any logs i can look for in this matter?
[Oppo R5] CapraNorvegese:
Is the call bug now fixed?

Inviato dal mio R8106 utilizzando Tapatalk
[Oppo R5] Rauru-kun:
Hi, I already did all the steps for the installation and I'll say it went pretty smooth (until I reached the unlock boot part but with side adb load worked perfectly) I'm pretty happy to finally have Cyanogenmod on my device, but I've been experiencing some malfunction with the rotation because it just goes wherever it wants I put the device vertically (90) and it displays a horizontal layout (180 ). Has anybody else experienced this trouble?

Also it goes out when trying to call somebody or getting a call, I'm kind of new in this so I don't know how to send a proper error inform, how can I do that?
[Oppo R5] CapraNorvegese:
I had the same call problem (the phone rebooted when I was called or if I tryed to call). For the rotation bug I can't say anything because I don't use this function.

Inviato dal mio R8106 utilizzando Tapatalk
[Oppo R5] razorloves:
for the reboot problem with calls, go to settings - apps - gear icon - default apps - phone app, and select Phone to set a default app.
[Oppo R5] kindaleek:
yup, rotation problem here too.

for me, the phone app was default already after flashing. maybe presets depend on the launcher used (Trebuchet for me) ?
[Oppo R5] Rauru-kun:
Thanks I tried your solution and I also give the app permission to write on the memory, I dunno wich of both worked exactly but it no longer reboots when gertting or sending calls
[Oppo R5] maniac103:
There is an import/export from/to SIM option in the CM contacts app. If you're replacing it with Google's which doesn't have such an option, I don't see how anyone except Google could help you there.

I'll look into the rotation issue. Is this a new problem introduced by some recent nightly or has it always been like that?

Edit: looks like accelerometer axis are off, I assume due to the recent device tree cleanups. I'll fix this.

For the call reboots, you can avoid them by either following razorloves' advice or by simply not installing Google's dialer. There is no such problem on a base CM install.

Gesendet von meinem R7plusf mit Tapatalk
[Oppo R5] kindaleek:
i've only used the latest 2 nightly-builds, both with this behaviour.

glad you found it! let me know if i can gather some more infos for you
[Oppo R5] lucosius01:
I spotted rotation problem at first build and it's still exist in latest one :) Also I have problem with sounds. Call sounds - okey, notifications - okey. But when I download music file and tried to play it with default music player - no sound. Tried some third-part players but all have same result - no sound.
[Oppo R5] maniac103:
Fixed for next nightly: http://review.cyanogenmod.org/#/c/149076/

Works for me, so there must be something specific going on. Is this for headset, speaker or BT? Does this occur with specific tracks only? Does e.g. the YouTube app work?
[Oppo R5] lucosius01:
Youtube working fine. But when I download some songs or just add them from PC to internal storage - no sound. With headset everything fine but if I unplug it - no sound. And this problem exist only with audio files hosted in my device, ringer, youtube or etc. - working well.
[Oppo R5] maniac103:
Huh, I can reproduce. Weird issue ... I'll look into it.

Edit: Fixed for next nightly: http://review.cyanogenmod.org/#/c/149115/

Gesendet von meinem R7plusf mit Tapatalk
[Oppo R5] kindaleek:
works like a charm - thanks a ton!
[Oppo R5] Rauru-kun:
Last nightly flashed and everything seems fine 'till now, thank you!!
[Oppo R5] WalterHsu:
Hello guys~

Hope someone can help me, I am stuck at step.3. Because I can't enter fastboot mode after I flashing project spectrum at step.1.

I think step.2 is used for solved this problem, and I actually did, but still can't enter fastboot mode.

So I can't keep on any following steps, I can't flash anything now even CM recovery.

Would someone help me on this? Thanks!
[Oppo R5] kindaleek:
if i understand you correctly, you've unpacked/installed adb and fastboot on your computer already?

unplug the USB cable

power off your phone

press and hold power and volume up button till the phone vibrates

you should see 'fastboot' written on the screen

connect usb cable again --> you should be able to find the phone with the 'fastboot devices' command on your computer

and if recovery still fails at flashing the ROM, use the recovery from 8th of June! this one worked for me, had the same situation (no working ROM and recovery)
[Oppo R5] WalterHsu:
THANK YOU VERY MUCH!!

It worked! When I said I can't enter fastboot mode means that I can't use "adb reboor fastboot" to enter fastboot mode, I forgot I can use holding power and volume up to enter.

Anyway, thanks a lot! Now I am going to enjoy this new ROM.
[Oppo R5] kindaleek:
glad it worked ;)

adb reboot into fastboot didn't work for me either.

talking about adb - is it possible the adb/fastboot-drivers don't work properly with the recent CWM Recovery & CM13 ?
[Oppo R5] SkandaH:
[MENTION=7533832]WalterHsu[/MENTION] [MENTION=7011007]kindaleek[/MENTION]

Well, you missed the actual command. The correct one is:

adb reboot bootloader
[Oppo R5] kindaleek:
didn't work for me either. no way to enter fastboot via command line. anyway, it worked :)

do you have an idea about the failing adb connection running the CWM / CM13 nightly?

any debugging i can do to gather logs?

cheers
[Oppo R5] maniac103:
[MENTION=7011007]kindaleek[/MENTION] Did you enable adb in Android and authorized your PC? Doing so will probably help.

Gesendet von meinem R7plusf mit Tapatalk
[Oppo R5] kindaleek:
my apologies - developer mode / debugging was disabled again :o

all good - many thanks!

btw: awesome and stable ROM so far!

just the battery doesn't last as long as with Project Spectrum, probably caused by Android M ?

or will you guys look into that later on? not pushing! ;)
[Oppo R5] maniac103:
How old is your nightly? Newer ones (from last week) have a CPU hotplug mechanism that should help. We're currently working on switching to Qualcomm's hotplug driver that stock uses; I'm not aware of any other possible obvious optimizations at this point. Getting perfectly optimized power management is hard without docs and tools, e.g. power meters :(

Gesendet von meinem R7plusf mit Tapatalk
[Oppo R5] kindaleek:
i run the latest nightly. but i've been updating on a daily basis, so the installing/configuring apps after update might drain that much power.

i'll watch the consumption till monday without updating to a newer nightly and give you a feedback.

thanks so far!
[Oppo R5] CapraNorvegese:
Hi, as I wrote some posts ago I need twrp.

You told me to talk with twrp devs and I would do, if I knew what I've to say... So what is the problem with the actual version of the twrp? ^^,
[Oppo R5] speedman93:
Hello everyone i have a big problem i've been looking for an hour...

The problem is that i cann't see the cm recovery file on the stock recovery

I saw that its a .img file and not a .ZIP file but i dont really Knox how to do it.

Hope you can help me

Sorry for my english
[Oppo R5] speedman93:
need help

Please nobody can help me i want to try the ROM son much
[Oppo R5] kindaleek:
you got to flash the recovery using adb and fastboot:

look here: https://wiki.cyanogenmod.org/w/Install_CM_for_r5

and here (regarding entering fastboot): http://community.oppo.com/en/forum.php?mod=viewthread&tid=18150&extra=
[Oppo R5] razorloves:
you dont flash cm recovery with stock recovery. you use fastboot

https://wiki.cyanogenmod.org/w/Install_CM_for_r5#Installing_a_custom_recovery_using_fastboot

EDIT: whoops. way delayed on that one. lol. same as [MENTION=7011007]kindaleek[/MENTION] said above.
[Oppo R5] speedman93:
thanks

Thank you for yours reply i'll try it cause i didn't know that i'll need a computer if i have Any other problèmes i will come back lol thanks
[Oppo R5] kindaleek:
battery life

just fyi [MENTION=765758]maniac103[/MENTION] : battery life gets close to the Project Spectrum v1.1Beta. it lasts almost up to 48hours using 3G (& Wifi at times)

so all's good, ROM upgrading falsified the perception ;)
[Oppo R5] mwayne:
[MENTION=765758]maniac103[/MENTION]

Thanks for making this ROM. I'm gonna test it soon.

Which GApps variant should I flash to not replace all the great CM Apps?
[Oppo R5] razorloves:
nano
[Oppo R5] mrx_vip:
How can i revert back to color os
[Oppo R5] razorloves:
http://community.oppo.com/en/forum.php?mod=oppo_category&fid=219
[Oppo R5] nofx161:
hi guys , first of all thanks for sharing.

i have a problem, i followed the instructions, but i dont get to have an unlocked bootloader, it always switches back ,.. im now on cm, but only with temporary bootloader unlock, it always switsches back,... i cant install twrp to flash other zips , im on cm recovery but my bootloader is locked , i can unlock temp. with fastboot oem unlock. any advice please. any cm recovery flashable twrp zip?

anyone got viper4android working with this rom?? any tips please, tried app install, tried playstore app, none of them work.

any help would be highly appriciated. thanks in advance
[Oppo R5] nofx161:
incall volume is very low and doesnt really work. is this a device problem? or a cm bug which gets ironed out at some point? tried to fix it in sys/etc mixer pth but doesnt incease at all ,...

any help would be appriciated since i cannot hear the caller propperly

edit tested coloros, and spectrum , both have normal incall volume, but sadly cm dont.... its not usable for me like that....

please help

edit: [MENTION=765758]maniac103[/MENTION] [MENTION=5301049]Titokhan[/MENTION] , anyone that caan help? tried all roms for the r5s all no problem and i love cm , i dont waant to use the other roms, color os sucks for me and spectrum is really laggy,... please help me here i want to use the phone. and i think its not a real big deal to make a fix, or workaround. thanks
[Oppo R5] kindaleek:
[MENTION=3108784]nofx161[/MENTION] has a point, call volume is kind of weird sometimes.

happened to me with an older nightly, sound volume changed a couple of times during a call. had volume changes again today too, the difference wasn't too big anymore, though.

this behaviour happens randomly ....

happy to gather logs if possible, just point me in the right direction ;)

thanks
[Oppo R5] nofx161:
does anyone know who makes the nighlys for the r5??
[Oppo R5] duytran1406:
Hi guys, I'm using Oppo R5.

After reading the thread about Cyanogenmod for Oppo R5, I tried to apply it on my phone, but failed.

Now the status of my phone is:

- Running Spectrum beta v1.1

- Able to enter fastboot

- UNABLE to enter recovery mode. Everytime I try to enter recovery mode by holding vol down and power button, it keeps rebooting till I release the vol button. After that it reboots as usual.

What I tried:

- Flash recovery from fastboot, result: can't enter recovery mode. After rebooted the phone running the "optimizing apps" and nothing happened.

- fastboot boot recovery <imagefile.img>, result: permission denied.

I tried to install Flashtify app, and the 'Current recovery' is "Stock Recovery"

I'm really confused. I think that my recovery partition has problem. Can you guys give me some suggestions how to enter the recovery mode to install the Cyanogenmod please?
[Oppo R5] Kushracer:
I've got no sound from the speaker at all except when I press the speakerphone button in a call. No notification sounds, or music or youtube. Headphones work fine. Spectrum had notification sounds, and speakerphone, but nothing else. Spectrum always says "headphones are plugged in" after boot. Color OS works fine. I've tried every nightly, tried wiping but nothing. Thanks for the great ROM!
[Oppo R5] nofx161:
U need to flash the unlock aboot zip from spectrum ,flash it , unlock bootloader with fastboot unlock oem , and the flash cyanogen recovery with fastboot and then flash with the cyanogen recovery the cyanogen nightly .
[Oppo R5] duytran1406:
Thank you for your suggestion. I did flash the unlock aboot zip file, the status of my phone is unlocked.

Problem is, no matter how I tried, I still couldn't enter the recovery mode. :(
[Oppo R5] nofx161:
Speaker sound is no problem here, did u wipe accordingly ? It should work as expected with a clean flash .

---------- Post added at 08:46 AM ---------- Previous post was at 08:44 AM ----------

Did u try manually into recovery mode? Fastboot doesnt work for me too , volume down and power button at the same time, and please dont try to install twrp didnt work for me and then u are unable to enter recovery like u describe it
[Oppo R5] duytran1406:
Hmm I might try to install the TWRP recovery, that may the reason caused my situation. Now I couldn't enter the Recovery mode, using adb, manually, fastboot, can't help at all.:(

Do you have any idea how to fix this?
[Oppo R5] nofx161:
U cannot boot into fastboot? Manually into fastboot with volume up and power on , it flashes a second loading but it wont show fastboot on the display but it works anyway and the flash a recovery and then go from there.

Gesendet von meinem R5 mit Tapatalk
[Oppo R5] duytran1406:
As I mentioned above, I can enter fastboot, and tried to flash the stock recovery and cm recovery. Both no use, after flashed the recovery, I tried to reboot, and it can't go to the recovery mode, keep rebooting if I hold vol down and power button, till I release. After that it boots directly to the OS, showing Optimizing Apps. That's all :-? Do you have any idea? Or any recovery image that I can try?