yashsingh1/xdaforums huggingface dataset:
[Oppo R7 Plus] celoxocis:
[IMG="CyanogenMod 13"]http://cyanogenmod.org/wp-content/themes/cyanogenmodv3/images/logo.png[/IMG]

/* Info */

Unofficial CyanogenMod 13 build for Oppo R7S (R7sf).

/* Disclaimer */

Your warranty is now void.

I am 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 me for messing up your device, I will laugh at you. Hard. A lot.

/* Supported devices */

Oppo R7sf (International Model)

Oppo R7sfg (Australian Model)

/* FAQ */

Q : Is this suitable for a daily driver?

A : Yes

Q : Which recovery should I use?

A : My Official TWRP builds or TWRP builds i provided will work.

TWRP - http://xdaforums.com/showthread.php?t=3358552

Q : Which Gapps should I use?

A : OpenGapps is recommended. Select ARM64 + Android 6.0.

http://opengapps.org/

Q: Can i just install twrp on project spectrum instead of switch back to coloros before flashing the ROM?

A: Unfortunately No. Because Oppo changed too much in Project Spectrum. The TWRP does not work for Project Spectrum.

I might build TWRP that is working for Project Spectrum one day. That is... if Project Spectrum ever gets a stable release. Its still full of bugs. It would be wasted time...

/* What’s working */

Everything works!

/* What’s not working */

Found something? Let me know! :)

/* PRE-REQUISITE */

Unlocked Bootloader

Recovery TWRP

Root

For Pre-Requisitions please follow the PDF Guide in this thread:

http://xdaforums.com/showthread.php?t=3358552

/* INSTALLATION */

0. Follow PRE-REQUISITE and Read the PDF Guide!

1. Download Rom

2. Reboot in recovery

4. Click on "wipe" and "Swipe for Factory Reset"

5. click on "install" select the ROM and install

6. click on Gapps package of your choice and install

6. First boot will take some time be patient and Relax...

/* DOWNLOAD LATEST VERSION*/

/* Updated: 11.12.2016*/

ROM = https://goo.gl/HVr6La

MD5 = https://goo.gl/FL8pk7
[Oppo R7 Plus] celoxocis:
/* Additional Notes */

Want to stay stock but have ROOT?

You can simply install the latest ColorOS stock rom and use Chainfire's SuperSu Update.zip to acquire root.

Version 2.74 of SuperSu has been reported as working by [MENTION=2066647]squall_20042001[/MENTION] .

Find SuperSu and further SuperSu information here
[Oppo R7 Plus] stupidfellow1997:
can i just install twrp on project spectrum instead of switch back to coloros before flashing the ROM?

---------- Post added at 03:00 PM ---------- Previous post was at 02:52 PM ----------

after reading your guide of twrp installation i m confused about the rooting section(twrp not possible in proj spec) and the bootloader unlocking section(thx to......fastboot command works in proj spec)

any futher explaination? really appreciate :)
[Oppo R7 Plus] celoxocis:
Unfortunately No. Because Oppo changed to much in Project Spectrum. The TWRP does not work for Project Spectrum.

I might build TWRP that is working for Project Spectrum one day. That is... if Project Spectrum ever gets a stable release. Its still full of bugs. It would be wasted time.

Believe me when i tell you, once you install my CyanogenMod build you don't want to go back to buggy Project Spectrum or ColorOS with its bloated apps that even prevent most basic features like notifications.
[Oppo R7 Plus] stupidfellow1997:
yeah...waited for a long time for your build :D

so thats mean i need to convert back to coloros and follow the guide you had given?
[Oppo R7 Plus] celoxocis:
yes just follow the PDF Guide in the Link in the TWRP Thread, step by step and you will be good to go. :D

i did it countless times when porting and testing CyanogenMod.

you can also create a full TWRP backup once you have finished the guide and go back to restore that backup using TWRP whenever you wish to return to ColorOS
[Oppo R7 Plus] stupidfellow1997:
ok... now I m downloading the coloros stock ROM... I ll try install CM tomorrow :)

anyway...thx for your hard work...really appreciate :D
[Oppo R7 Plus] celoxocis:
if on PS the fastboot commands to flash TWRP will be returned as "unknown command. dt not found".

if you happen to find out that the latest Project Spectrum works by flashing the TWRP.

please feel free to write up a short guide for everyone. :)

i have not tested a "route" using the latest Project Spectrum roms.

my time was spend getting everything to work for CyanogenMod
[Oppo R7 Plus] stupidfellow1997:
tried it on latest proj spec... overwritten by default recovery~~

and you may get stucked in oppo logo~~
[Oppo R7 Plus] 63holdenolden:
Got CM installed now , just setting everything up

One thing I have not been able to find is how to turn the individual sims on and off

There does not seem to be an option to toggle them on and off in the sim card settings
[Oppo R7 Plus] stupidfellow1997:
recovery in proj spec failed to flash your coloros ROM which given in the guide....

any idea?
[Oppo R7 Plus] 63holdenolden:
I think the Color OS pre rooted ROM needs to be flashed with TWRP
[Oppo R7 Plus] stupidfellow1997:
What I meant is the original stock coloros...not the modified coloros made by celox... since celox came out the guide of flashing the old firmware of coloros before root and installing twrp...
[Oppo R7 Plus] stupidfellow1997:
just installed twrp...now trying your CM build :D

---------- Post added at 07:12 AM ---------- Previous post was at 06:40 AM ----------

just installed your build...work flawlessly on my phone.....thx celox :D
[Oppo R7 Plus] celoxocis:
that's the exact same thing happening to me when i tested it on the private project spectrum closed beta.

it's like they made those changes on purpose. to keep you out of installing TWRP.

you can turn them on and off in the settings menu. i saw the option when i was porting/testing.

it should be there. im using a sdcard atm and no second sim. so i can check where exactly.

i think this is a project spectrum issue. i saw in the beta forums that this _could_ happen to some people.

which project spectrum version are you on? were you able to go back to coloros?

if yes, how? share your way. i will add it up into the faq for others.

it should work flawless on every r7s. :D

i test every of my builds before i release it. should you find something that is not working. let me know!

my custom build NAS box, which i use for compiling. is already compiling the next build.

every build takes about 16 hours of compiling :D but it's running 24/7 anyway
[Oppo R7 Plus] 63holdenolden:
I think the missing individual sim toggle on\off may be a CM 13 issue after doing a bit of research , I'll keep searching the settings as it's not in the sim card settings menu

Other than that I am loving it so smooth and fast

Thanks for all your hard work and effort :good:
[Oppo R7 Plus] stupidfellow1997:
i think the gestures for the music has bug...

cuz when i want to turn the next track it glitch... in fact the song is playing for a few seconds(the first few second is skipped)
[Oppo R7 Plus] celoxocis:
yes i've noticed that too. but that's a CM bug. that's nothing i can change, it is up to CM.

i don't use gestures so i just disabled it via "Developer Options"> "Block Gestures" because i have found no way to disable the "Music Player Gestures"
[Oppo R7 Plus] stupidfellow1997:
try poweramp...it didnt have the issue...

quite strange... it has the bug on stock music player and most of the third party music player but work flawlessly on poweramp~~??
[Oppo R7 Plus] stupidfellow1997:
I m using the arm64 for the gapps, xposed version is v85 which support android 6.0 but i had factory reset and not to flash the xposed
[Oppo R7 Plus] celoxocis:
The latest ROM works with and without factory reset. Here are a few things you should verify.

Download the md5 and make sure your ROM download wasn't corrupted.

Download Gapps-ARM64-Pico.

Do factory reset. Go to "Install" in TWRP select ROM. Make sure zip verification is checked and the md5 is in the same folder as the ROM. After that select additional zip files (could be named differently I can't recall now) and select the Gapps.

Swipe to flash and reboot system.

If you still can't boot into system than something is definitely wrong with your device.
[Oppo R7 Plus] stupidfellow1997:
I think I found the problem...is the SuperSU app issue...

I wiped everything on the device then I tried install the ROM and now I have not encounter bootloop but after install SuperSU bootloop occur... Any explain on this problem?

BTW the latest ROM is awesome...thx :)
[Oppo R7 Plus] celoxocis:
Why did you install/flash SuperSu in the first place?

Never install/flash SuperSu on an CyanogenMod.

It will break things (like your bootloop).

CM has inbuilt root optionm Enable developer options and then simply enable root.
[Oppo R7 Plus] teemo:
Most things work fine with CyanogenMod superuser, but there are unfortunately a few situations that SuperSU handle better.

Never had any problems on r7plus.
[Oppo R7 Plus] bo55hog:
I just flashed the new rom. Then rebooted it updated my apps. Had a few problems with Google play updating apps since but fixed that with a cache and data clear.
[Oppo R7 Plus] celoxocis:
I never had a situation were I needed to install SuperSu. Running about 130 apps and one third of them need root for "advanced" features. Even tried the latest xposed (v86 arm64) and installed a bunch of modules. They all work.

On another note teemo. Do you compile your AICP with different toolchains such as Linaro or UberTC?

I finally have my dedicated server running to compile ROMs. Needed it for commiting reviews. My old NAS box took 16hours for a compile. It's down to 2hours 15min (without ccache) on the dedicated server.

I'm curious if there is a noticeable difference when one would switch toolchains. Or that the difference is marginal that it can be neglected.
[Oppo R7 Plus] teemo:
I have 3C Toolbox that required SuperSU for a few functions I use. And as I remember, titanium bu want it too, not sure now since I have no need for it when 3C can do it all.

3C has had a major update lately and superuser may have improved, I never checked.

Guess it's time to try the built in su, would be nice to avoid the extra step of installing SuperSU.

I tried linaro on my HTC one X a few years ago. I guess it was KitKat. Build with all bells and whistles of the (in)famous Archie optimizations or whatever it was called. Sadly I didn't feel the magic.

Build time: your guess is as good as mine, I didn't time it.

The first couple of aicp for r7+, I build on my super old dual core desktop. One build per day. I think my laptop does it in 4-5 hours on first build. 8G RAM and a dying old fashioned harddisk. Ca 2 hours for a clean install with ccache.
[Oppo R7 Plus] ariganda7884:
When update official Will coming?:)
[Oppo R7 Plus] celoxocis:
When it's done.
[Oppo R7 Plus] drwharris:
Haha. Are we there yet?

Ps I've been running great for a few days now. People have commented on improved audio over BT and battery life is much better :D
[Oppo R7 Plus] celoxocis:
What people and where?

I already commented on the state of the Official.

See here: http://xdaforums.com/showpost.php?p=68158245&postcount=158
[Oppo R7 Plus] drwharris:
People I speak to on the phone regularly who have been having issues with audio echos and times where audio just doesn't even transfer to the BT car kit.
[Oppo R7 Plus] teemo:
That's good to hear. Is that when you use speaker phone or just on normal use?
[Oppo R7 Plus] drwharris:
Bluetooth.
[Oppo R7 Plus] celoxocis:
That's good to "hear" xD

I guess the new/improved audio Hal fixed those issues.

Yesterday i was testing my first build with custom toolchains ( UberTC) and had a Screen on Time of 7h 47mins. Without custom Toolchains my was at 7h 10mins. (I don't play games.)
[Oppo R7 Plus] celoxocis:
Okay. I finally found the solution for smart lock.

This is to everyone upgrading from the old ROM.

It shouldn't affect you when installing from factory reset.

Here is what to do:

Disable smart lock/Switch back to Swipe for Unlock.

1. Kill "location services" in the running processes.

2. Reset data of "Google Play Services" to First install.

3. Reboot

4. Enable your unlock security and setup trusted locations in smart lock.

5. Problem solved.
[Oppo R7 Plus] maniac103:
New audio HAL? Am I missing something?

Err, are you serious here? You judge the differences between builds by one single screen on time sample?

Gesendet von meinem R7plusf mit Tapatalk
[Oppo R7 Plus] celoxocis:
No of course not. I was just posting the results of a quick "curiosity comparison" nothing more. The differences are so marginal it's not worth the effort.

Was is a new audio HAL or reworked Audio path configuration's? I don't remember :-l Thats why i linked to CMX-log. I was busy test running the wifi-ac and GPS configuration changes.
[Oppo R7 Plus] maniac103:
Ah, ok, you made it sound like it was a significant improvement :)

There at least was a reworked audio config (fixing mismatched ACDB IDs). Thought you had some additional stuff.

Gesendet von meinem R7plusf mit Tapatalk
[Oppo R7 Plus] EximusCode:
Fastboot and TWRP use different privileges, ADB/Fastboot maybe able to have some "root permission" but with TWRP, it also has a "Read/Write permission".
[Oppo R7 Plus] drwharris:
Did work for me sorry.
[Oppo R7 Plus] drwharris:
Did NOT work...
[Oppo R7 Plus] thegamer1907:
Hi celoxocis, thank you for the hard work. After the latest updates, I noticed that the GPS takes a longer time to get a look on. Sometimes when I'm on the subway it doesn't lock on at all.
[Oppo R7 Plus] celoxocis:
Yes we've recognized that issue already and will be fixed in the upcoming builds. For now you can try this:

Download this GPS.conf

https://raw.githubusercontent.com/CyanogenMod/android_device_wileyfox_kipper/cm-13.0/gps/gps.conf

Replace the GPS.conf with the one of your device (make sure permissions are set properly root:root 644) and reboot.

You should have a fast GPS lock. It worked for me.
[Oppo R7 Plus] thegamer1907:
That seems to have worked. Thanks
[Oppo R7 Plus] celoxocis:
It works if you get the "first time run confirmation" and you have defined the proper trust locations. Keep in mind that the GPS locations "wanders/jumps" slightly. So you have to add few more points to slightly around your trust location.

Like when I'm home and move to the kitchen the GPS thinks I'm at my neighbours across the street and locks down the phone. You will have to add multiple points.
[Oppo R7 Plus] celoxocis:
September security update is in.

I will compile a new ROM and upload this weekend. It will include bug fixes (like GPS, notifications sounds not working when headphones was plugged in) and a couple of my own custom optimizations to squeeze out the last bit of performance from out beloved Cortex-A53 cores.

(No over clocking will be done. I prefer stability over performance.)

You can see increasing benchmark results here.

https://browser.geekbench.com/v4/cpu/search?q=Oppo+R7sf

I started tuning by September the 2nd (look for 64bit above 2000 scores for multicore performance). In the beginning I did not register. Later on I registered to list them under my nickname.

Its interesting to see where ColorOS (32Bit Android) is performance-wise to the 64Bit CM Android :)
[Oppo R7 Plus] bo55hog:
Awesome news celoxis. Thanks for keeping this rom moving forward. Would love to be able to help. But at the moment it's a bit beyond me.
[Oppo R7 Plus] pyros1:
Looking forward to this :D
[Oppo R7 Plus] celoxocis:
OP has been updated with the download link for the latest version.

See changelog post for my changes as well as https://www.cmxlog.com/13/r7plus/ (including 10.09.2016 changes) for all other changes.

No need to factory reset just flash Rom + Gapps (+ Xposed).
[Oppo R7 Plus] drwharris:
I've tried downloading a number of times. I get partway though and the download fails. Tried on a number of devices.
[Oppo R7 Plus] celoxocis:
Hmm... Same here. Not sure what it is. Google drive sync shows its fine. Probably google servers acting up at the moment. For now let's wait and see. If its still acting up in a few hours I will re-upload/resync.
[Oppo R7 Plus] sirizak:
I got it downloaded without issue through chrome. Seems to be really responsive! Thanks again celoxocis! Any updates on progress towards going official?
[Oppo R7 Plus] celoxocis:
Yes progress was made but currently all focus (energy, free time) is on "N" right now.

I will provide monthly updates for my Rom which is also my daily driver.

Probably around/after a new monthly security update has been merged.
[Oppo R7 Plus] thegamer1907:
Installed the update and running slightly smoother. Hopefully the battery drain from the last version is solved.
[Oppo R7 Plus] celoxocis:
There was no battery drain issue's with the last version. Check your apps. One of your apps is probably the culprit.
[Oppo R7 Plus] drwharris:
Concur with the above. I'm a heavy user of my phone and I was getting 30 odd hours use of my phone.

I managed to get the ROM down and its all installed.
[Oppo R7 Plus] bo55hog:
Just a quick question, why the need to re-flash Gapps.

With both of the last updates I've only flashed the rom and it doesn't seem to affect the apps in any way that I can tell, it will spend a few minutes updating them all with the first boot after flashing but that normal.

I've never had to flash Gapps on previous phones unless there was a major overhaul of the rom but updates/fixes I've just flashed new rom and booted.

Just interested if there is a reason why?
[Oppo R7 Plus] 63holdenolden:
I like the sound of that :good:
[Oppo R7 Plus] celoxocis:
It's just a precaution in case any of the frameworks gets changed to simply flash the gapps.

On the dev side:

It's easier and less time consuming than having to reply to complains about frameworks or apps crashing which are due to not having done that precaution.
[Oppo R7 Plus] ariganda7884:
Last cm13 update you very satisfactory smoother than the past and thanks so much,,, may I ask you yesterday I managed to install a custom rom color os 3.0 version vietnam twrp recovery through ,,, I can not survive long in the rom color os 3.0 constrained the Chinese language I do not understand ,,, do besides make cyanogen rom can you create a other custom rom? like color os 3.0 I describe become an international version ,,, sorry I'm out of line ,, this link custom rom color os 3.0 version vietnam, if you want to see.

https://www.fshare.vn/folder/C8T775SBYMYP
[Oppo R7 Plus] celoxocis:
First off. NO as that would require a lot of additional work and time which I don't have.

Also wasn't Color OS 3.0 only for Chinese market? For the Oppo R7sm (m=mediatek).

If it's indeed for the R7Sf (international version) link me to the forum topic for that ROM. I'm curious if it's actually an official version which could contain newer Basebane-Radio versions.

If you are only interested in ColorOS due to it's better Camera app. Simply use the ported Camera here to have the ColorOS Camera running on CyanogenMod.

http://xdaforums.com/oneplus-one/themes-apps/port-coloros-camera-cm11s-t3030369

It does say "OnePlus One" but the R7S and OPO use the same front/back camera chipset and Oppo camera binarys. That's why it works.
[Oppo R7 Plus] bo55hog:
Thanks for the reply and answering my questions. Will apply gapps in future to guarantee no problems.

Thanks again. :)
[Oppo R7 Plus] drwharris:
Is smart lock broken again? I'll try following your previous instructions to see if it fixes my issue.
[Oppo R7 Plus] thegamer1907:
Indeed, it looks like there is some issue with ES file explorer. It keeps giving me an error that it has stopped working and this repeats regularly. After uninstalling it the battery life seems to have improved dramatically. Have used the latest version of the rom for the day, seems smoother and responsive. No issues so far.
[Oppo R7 Plus] drwharris:
I'm getting a lot of "bug reports" but the default to email address is my email. Who should I send these to? Im also having issues with power and volume buttons lagging.
[Oppo R7 Plus] celoxocis:
Which version are you running? I have no issues like that at all. I'm running the same ROM which I offer for download in the OP. Everything works perfectly fine.

There is no bug-report for Unofficial ROMs.

Describe what version you have running and what gapps you used on installation and especially what xposed version and modules. If you are using xposed disable all the modules. Xposed usually leads to these kind of crashes and errors. Its just one big hack.
[Oppo R7 Plus] drwharris:
Latest build you put up with Pico gapps from that day. Not running xposed (didn't even know what it was until you mentioned it). I've got bug report email saved if you want to see it. Just need somewhere to send it.
[Oppo R7 Plus] celoxocis:
Nah just trash those mails. I'm 100% sure its one of your apps. I'm running the exact same ROM and have no crash reports.

You can verify by backing up your apps with titanium backup then creating a full backup in TWRP for save keeping then factory reset in TWRP and boot the ROM. You shouldn't get any crash report's. When you restore all your apps with Titanium Backup. I'm sure one of them will cause the crash report.

I have over 100 apps installed any many of them for keeping track how my build behaves. Not once have I got an crash report.
[Oppo R7 Plus] drwharris:
Is there anything in the report that would point to which app is the issue?
[Oppo R7 Plus] jakoob_cz:
I have a slight issue with latest 0910 build, maybe it is valid even for previous. Some Google apps like Contacts, Messages, Phone, Clock, ... are outdated. I tried to update them from Google Play, but in all cases it made duplicates. Solution was easy, to disable the older app, so it at least disappears from the app drawer. However older Clock (4.1.0.) can't be for some strange reason disabled. I tried to uninstall it with Titanium Backup, but it stays there and it wrecked alarm sounds, so now the phone is silent during alarm. I searched a lot of forums, but can't find any proper solution, how to get rid of this older version nor how to restore alarm sounds again. Any help would be greatly appreciated.

Thanks Jakoob

EDIT: Looks like I have no sound at all, maybe installing MaxxAudio is behind this

EDIT2: Sound issue solved, forgot to delete a file while flashing MaxxAudio
[Oppo R7 Plus] bo55hog:
Hi Jakoob, did you re flash the gapps package (64bit) when you flashed this rom. Sounds like you have an issue where your version of Google services or play may not be compatible with the rom. As celoxis replied to me earlier you should reflash new gapps each time to avoid issues like this.
[Oppo R7 Plus] jakoob_cz:
Hi bo55hog,

I flashed newest gapps only during the first install (approx month ago), but I will flash them again. Thanks for the tip.
[Oppo R7 Plus] Useroppo:
hello, OP, can you make this cyanogenmod run on oppo R7Sm? (qualcomm chipset) anyone can help me? cheers from arshentina, sorry my english
[Oppo R7 Plus] celoxocis:
I don't have the R7sm and honestly I currently don't have the time to port the sources to another device.

If you can find out the difference between the R7Sf and R7Sm I could build you a ROM to test drive it. By differences I don't mean display sizes, ram etc. I mean build.prop differences. Chipset revision etc

Whats the model code on the R7Sm anyway?

The R7Sf's mode code is 15022.

I need the model code to check the oppo sources for a reference to the R7Sm. In case it is using different drivers.

Also does the R7Sm even allow for the bootloader being unlock?
[Oppo R7 Plus] cwt114:
Can I use capps with this rom?
[Oppo R7 Plus] celoxocis:
Of course its interchangeable
[Oppo R7 Plus] stupidfellow1997:
my viper4andorid keep stopped when the phone is screen off...any help? thx
[Oppo R7 Plus] celoxocis:
Not a ROM problem. Post in Viper4Android thread.
[Oppo R7 Plus] stupidfellow1997:
because i m not sure whether is the ROM problem or the app problem since it didnt have any problem when i m charging the phone so i post here...

anyway , thx for informing me...