yashsingh1/xdaforums huggingface dataset:
[Oppo Find 7 and 7a] MartyHulskemper:
I got hit by the "Encryption Unsuccessful" error as well. I can get back to an earlier Nandroid, but if I lash the current version over that backup (and it doesn;t seem to matter whether it's clean or dirty flashing) I just get the error again. Is there a correct way to update? I'll have to get back to either the earlier Nandroid or my ColorOS backup for now. : /

EDIT: I forgot to mention that also the camera didn't record for me (photos not a problem, but no video). I don't know if this explains something, and, if so, where it ties in. I tried alternative camera apps, but none of them could record video.
[Oppo Find 7 and 7a] Cookie Ninja:
Deleted. Multiple posts.
[Oppo Find 7 and 7a] Cookie Ninja:
Something is seriously wrong with the tapatalk/XDA premium app! So many multiple posts!
[Oppo Find 7 and 7a] Cookie Ninja:
Unify/LVM using colorOS is strongly recommended. I went through three unsuccessful bricks, recovered thru find7 unbrick tool. The last time, though, I managed to boot COS lite 2.1.5 and managed to unify/LVM my partitions. Good advice [MENTION=280490]Stone Trooper[/MENTION]!
[Oppo Find 7 and 7a] mada360:
Ok so all went well, i've got the modem as suggested in the first post, unified and everything seems good, but that's using the crdroid version from the 13th, I've just tried the 19th and I get the encryption error so I'm now restoring the nand backup I made, thank god for backups .

Anyone know what causes the encryption issue? I'm also seeing as I've now got the suggested modem installed going to keep an eye out for random reboots that I was getting before all of this happened to me.

Thanks everyone that helped me out! This is by far the most supportive rom thread I've seen and this phone is nearly unbreakable so kudos to Oppo
[Oppo Find 7 and 7a] StoneTrapper:
I have no issue recording video on 19/12/15 build.

My understanding is the encryption error is typically caused when something without permission modifies the /system partition, so that would be something written to /system in TWRP. GApps shouldn't cause this, the wrong SuperSU version could or the modem flash might if it was done after the installation of the crDroid.

Are you letting crDroid boot and running through setup before attempting to flash any SuperSU?

I can see that some builds have SELinux set to permissive as default and some have enforcing. I'm not sure if that could be related, though I can imagine dirty flashing an enforcing build has a potential to cause issues but I'm frankly not familar enough with androids implementation of SELinux to say much more.

I've got a clean install of 19/12/15 and haven't tried previous versions to suggest how to upgrade successfully. Would it be feasible for either of you to clean install the new build and use TitaniumBackup to extract everything from the nandroid backup?
[Oppo Find 7 and 7a] mada360:
The encryption error is something I saw in the first few versions of the unofficial CM Roms and that was fixed after a few versions can't remember the exact version, however with crDroid I've not had any issue with updating over each version until now, I'm not sure if the modem or 1219 version of crdroid caused my soft brick as I flashed them together (rookie mistake I know) But now after doing a clean install I get the encryption screen when booting. But the 1213 version is working just fine.
[Oppo Find 7 and 7a] StoneTrapper:
This seems worth giving a try.

source.

Or are you getting the encryption screen despite it being a completely clean install on a freshly formatted /system? If you do that and it works you ought to be able to restore data from the nandroid backup with TitaniumBackup.
[Oppo Find 7 and 7a] jejecule:
Encryption issues began when I choose to pass selinux in enforcing mode. If you do a clean flash, meaning flash ROM & gapps + factory reset + flash SuperSU 2.62-3 or 2.64 from here http://xdaforums.com/showpost.php?p=64161125+ reboot, then no issue.

Let me know.

Cheers
[Oppo Find 7 and 7a] MartyHulskemper:
I got it after a completely clean wipe. I'm going to retry though, maybe I missed something. I didn;t update the modem (yet), as it was working well before. : )
[Oppo Find 7 and 7a] mada360:
Just did that twice, one with the reset before and once after installing SuperSU latest version in the link you suggested still just get the encryption screen :/
[Oppo Find 7 and 7a] MartyHulskemper:
I have already done that three times now, and the d***n thing wont boot anymore at all. Hehehe. It doesn't even react to the power button. Not my day.
[Oppo Find 7 and 7a] mada360:
Looks like you're back to where I was about 4 hours ago haha have fun!
[Oppo Find 7 and 7a] jejecule:
Which device variant?

It makes me crazy as I don't have any single issues, so frustrating:(

Test a last time.

Full wipe ( data, system, cache,dalvik)

Install ROM

Install gapps

Factory reset from wipe menu

Install SuperSU 2.62/or 2.6.4

Wipe cache

Reboot
[Oppo Find 7 and 7a] mada360:
I'm using the the qhd version I'm 90% sure that's the 7s. I'll give it a go now, wish me luck last time I did this it all went wrong for me haha

Ok same encryption screen, going back to 1213 and hope that works again.
[Oppo Find 7 and 7a] jejecule:
I will abandon selinux enforced for now, a shame but better for my health:)
[Oppo Find 7 and 7a] mada360:
What are the benefits of enforcing selinux out of interest?
[Oppo Find 7 and 7a] jejecule:
Just security reasons, with selinux enforced more security, with permissive still secure but not blocking everything, just logging.

Anyway I will build a new one in permissive, tonight or tomorrow, please test it.

If still issues, then I'm lost, I would never publish stuff not working at boot if I was experiencing them... I also have a 7s and did not experience encryption nor reboots. I wish I could:)

Cheers
[Oppo Find 7 and 7a] mada360:
Yeah I trust you wouldn't this Rom has just been getting better with each update, I'm actually really annoyed I can't seem to install it and get past the encryption screen. I feel like there's just something I've done in the process of getting it to work in unified for 1213 but no idea what really :/

I'm interested to see if using the modem you recommended in the initial post will fix the random reboots I was having before though.
[Oppo Find 7 and 7a] MartyHulskemper:
I'm on the 9076 International -- probably the same as you have. I can't do anything as of now, because it won't boot *at all*. I'll try the emergency recovery method once I get back home from my hospital shift, or maybe tomorrow after a night of sleep.
[Oppo Find 7 and 7a] Black_halo:
Is this an exclusively lvm based ROM? I did a clean wipe from my x9076.(system, dalvik cache, cache, and data) from 5.1.1 and I get issues with internal storage. Its there but not there. If I look in sdcard0 in twrp I see all my files but once I flash the 6.0 zip and look in storage via settings it shows me the right amount of memory in use in internal storage but I can see any of it from root explorer.
[Oppo Find 7 and 7a] xGSoulx:
[MENTION=4933230]jejecule[/MENTION] - I wanna report some regarding flickering bug. I noticed that screen start to flicker if I open some app that using holo theme style. For example, for SuperSU, when changed theme to holo theme, screen will start misaligned & flickering eventually. Heck, there are some other apps which are using holo/animation theme by default, so really cant avoid this. However, simply reboot will fix this problem.

Also, I managed to make CM file manager to work with root (finally!!). Which I firstly mount /system folder into r/w. Then, I installed stericson's busybox (1.24.1) into bin folder instead of xbin or su/bin. Dunno why but installing in su/bin will definitely failed me & will cause /system folder cannot be r/w-mounted later on.

Regarding unsuccessfull encryption, based on my experience, you need to apply SuperSU-patched boot.img (not ORIGINAL UNPATCHED boot.img) BEFORE applying systemless SuperSU or else you will get that error after booting. This is especially true for the latest SuperSU (2.64). You can even use previous version (2.56,2.60 etc) of patched boot.img. What you can do is backup the patched boot.img (which you succesfully rooted previously) in twrp, and keep it for later usage. LVM also make me happen to stuck in this problem long before (moving from Coldbird's method to use this rom obviously!). But I wrong did the steps which, after applying LVM script in twrp, you must reboot to RECOVERY (twrp) first, before applying LVMware roms (preferably custom roms since color os tend to reinstall its own recovery over certain twrps).
[Oppo Find 7 and 7a] masa86:
Still having some reboots 1912 build + one plus 20140718 modem when I'm using phones physical buttons, like once a day. Every reboot I need to go disable on screen buttons. Some graphic distortion and in trebuchet all the icon labels inside of folder are messed up if I use custom dpi like 400.
[Oppo Find 7 and 7a] joeydc:
1219: I dont know if it's a fix or not but I was having constant reboot even after flashing oneplus modem so I decided to flash 2.1.0i cos modem and no reboot or screen flickering for the past 2 days.
[Oppo Find 7 and 7a] UnknownX55:
Where can I download the modem?
[Oppo Find 7 and 7a] joeydc:
I cant post link for some reason but just google: Oppo find 7 modem and its the first link for me
[Oppo Find 7 and 7a] UnknownX55:
Did you use this?

https://www.androidfilehost.com/?fid=23578570567716948
[Oppo Find 7 and 7a] joeydc:
No thats not the one I tried

Google: find 7 modem 2.1.0i and the second link should give you the proper download link..

I didnt try 2.1.5 but maybe its a good one as well

---------- Post added at 07:18 PM ---------- Previous post was at 07:15 PM ----------

5 more post before I can post link lol thats so annoying
[Oppo Find 7 and 7a] UnknownX55:
Finally found it ^^

It's too late for flashing anything. I'll try it tomorrow.
[Oppo Find 7 and 7a] StoneTrapper:
The link there seemed to be dead for the 2.1.0i modem. I've flashed the 2.1.5 modem over my 19/12/15 rom. No network connectivity issues, will test and see if I continue encountering reboots.
[Oppo Find 7 and 7a] MartyHulskemper:
OK. Got my Find 7 to boot again using Irwenzhao's Unbrick method (for future reference: http://community.oppo.com/en/forum.php?mod=viewthread&tid=23067 or http://community.oppo.com/my/forum.php?mod=oppo_viewthread&tid=5840

Now I can't get to recovery. I suddenly realized it's very much like my profession: you tackle one little problem at a time, most of the time.I'm happy with my phone even showing face again, though. Once I get recovery again, I'll try your above suggestions (again : ), jejecule. Thanks, everybody so far! : )Oh, and, errmmmm... for everyone trying the unbrick procedure: be sure to charge that phone beforehand! I had it at 100% when my full-brick-dead-as-a-dodo happened, but it was around 24% when I got back into the COS 1.2.whatever version the unbrick tool provides... If you cannot get to a system that provides fastboot/adb, you might even be better off to pull the battery out altogether, especially if it wasn't that full to start with. Also, if your skylight isn't indicating charging (i.e., not 'breathing'), ditto: pull that battery.
[Oppo Find 7 and 7a] mada360:
How/where do you obtain the patched boot from? I'd love to be able to use the latest rom without having [MENTION=4933230]jejecule[/MENTION] build the rom with SELinux set to permissive
[Oppo Find 7 and 7a] xGSoulx:
Boot.img or kernel??

[MENTION=4933230]jejecule[/MENTION] - I found an unexpected problem with 20151219 build.For starter, right now I'm using this build as daily driver, rooted with systemless SuperSU 2.64 which is really have no problem. But then, I realize that with this latest SU, you basically can choose either stick with systemless or go back to system-based root. So I made up my mind to went back to the later one since so many hassle with systemless root (and we ain't nexus, so why bother) & to full wipe my device. Only to find out that, I can't fresh install this 20151219 build or else, will face encryption error!!.The weird thing is, I can fresh install with previous versions (5.1.1-20151129, 6.0.0-20151204, 6.0.0-20151208, 6.0.0-20151210) & manage to apply system-rooted with SuperSU 2.64, but never with latest build, at all. Then, I tried to restore untouched boot.img of 20151210 build to the 20151219 version & magically my device manage to boot to latest version (but of course with old kernel). So, right now, I just speculate that either latest boot.img or kernel itself does not play well with chainfire's SU. Another thing that get my attention is, while reading log in twrp, all previous builds I applied above have line in script "Target: 5.0/LRX21M/1426582430:user/release-keys" while the latest version "Target: 5.1.1/LMY47V/1441693976:user/release-keys", I don't know if those lines related to this problem.

---------- Post added at 10:50 AM ---------- Previous post was at 10:36 AM ----------

Actually, I'm using patched boot.img from previous SuperSU (2.62 or 2.62v3 I think) whcih I restored in twrp. Basically, what I do is:

1. Full wipe

2. Apply crdroid 20151219

3. Restore patched boot.img (Basically overwrite new untouched boot.img)

4. Apply SuperSU 2.64 (which will recognize your device is patched & will proceed with systemless automatically

5. Reboot & no more encryption error!!

However, I face another problem which you can read from my recent post before.
[Oppo Find 7 and 7a] jejecule:
Hi mate,

First thanks for nice analysis! Nice to read it in a dev thread!

Yes fingerprint has been updated in last build to LMY47V, I would not suspect it is responsible for the encryption issue but now you make me doubt. I'm still convinced that it may be related to selinux status and it's why I'm building right now an update with selinux permissive, and will test the same as you did.

I'm currently on last build with selinux enforced and SuperSU 2.62. I will wipe and install new one with SU 2.64 and check. Regarding kernel, a huge update is expected in coming days, still not commited by cm, but this could solve everything.

What I don't understand is that I never got those encryptions errors, same for other guys, while others are getting it. Difficult to reproduce.

I presume we are all on the latest twrp, so I made some change in device tree to be sure next build is compatible with all device variants.

Stay tuned and thanks again for reporting & using our rom.

Cheers
[Oppo Find 7 and 7a] mada360:
I followed your instructions adding in a step 2.5 of installing gapps and doing a factory reset and it works perfectly from what I can see. I'm now running the latest build, just about to test SU. Super user all working
[Oppo Find 7 and 7a] Coren0327:
Can you build the last 5.1.1 soon? Many thanks
[Oppo Find 7 and 7a] MartyHulskemper:
Forgot to say, jejecule, that this is nothing to go crazy over. Laat het los, laat het gaan. : )

I have gotten back to TWRP (needed to reflash OPPO stock recovery, and then reflashed TWRP. Did a fastboot oem unlock for good measure, even it though it may not have helped it didn't hurt either. : P ). My COS2.1.5i backup is still there, so I have something to fall back upon, as long as this isn't working for me. I'm going to give it a whirl again later today, if I have the time (have to work a shift again).
[Oppo Find 7 and 7a] jejecule:
Not if repeatedly asked lol....but yes grrrr, you don't know the time it will take me to do that and the time to commit all last changes.

I said I will, just enough no?

And personally, I don't see the point, but a promise is a promise:)

Cheers
[Oppo Find 7 and 7a] mada360:
Ok I've got a couple of questions that aren't exactly linked to this rom but I think would be good to know;

1) Is there a way to backup Wi-Fi details? It's always a pain having to enter in the 3 or 4 wifi passwords I frequently come across each time I wipe and flash.

2) Using Signal and facebook messenger it seems that data is just switched off if I leave my phone alone for a little while, I know this is part of the battery savings but is there a way to stop this without using an app to keep the connection alive?

3) May be related to the above but I've noticed in recent builds wi-fi is often not connected and takes a while to connect.

Thanks in advance!
[Oppo Find 7 and 7a] StoneTrapper:
System-less root can be a pain but isn't su built-in to the rom anyway? The CM13 root resides in /system/xbin so isn't this already a system root and potential fall-back for anything having errors with a system-less root?

I flashed SuperSU 2.64 directly on 20151219 without changes to boot.img by changing SELinux to permissive using the built-in root and this handy tool. This seems like an easy way to keep the latest boot.img though admittedly at the expense of enforcing.

I'm not sure what changes have been made to boot.img so this might not be much of an advantage but jejecule I definitely think you're right about SELinux being the main culprit of these encryption errors. I haven't encountered one and have been able to flash all manner of system-level mods without issue.
[Oppo Find 7 and 7a] xGSoulx:
[MENTION=4933230]jejecule[/MENTION] - Glad I can help you abit coz honestly I would rank this rom 1st for its near-stock stable rom but got hell alot of customization compared to other rom obviously. No chance for me to other roms for sure. Btw, I'm on x9006 and using twrp 2.8.7.2

[MENTION=3790201]mada360[/MENTION] - Nice to hear that works for you!!But I bet your kernel is not the latest one rite?
[Oppo Find 7 and 7a] mada360:
[MENTION=7153110]xGSoulx[/MENTION] You would be correct, I did wonder actually never checked until now haha

Anyone else get these bugs?

1) Video recording doesn't work

2) The close all recent's button doesn't actually show for me anymore (In the previous build I had to turn off the search bar to see it but it's just not there for me now.

3) Wi-Fi seems to take a while to connect, might just be to do with battery saving but only noticed in recent builds.

4) Random reboots do appear to still happen for me even with recommended modem.
[Oppo Find 7 and 7a] StoneTrapper:
I am using the latest kernel but

1) No issues with recording video

2) Close all recents is missing, I have the same issue.

3) Can't say I've noticed any delays really

4) 2.1.5 modem still encountering random reboots
[Oppo Find 7 and 7a] jejecule:
New crDroid Find7

Guys,

Step by step:

Let's try with this one: crdroid-6.0.1-20151222-find7.zip

Download:

https://www.androidfilehost.com/?fid=24338798368260638

Install:

Full wipe as usual

Flash Rom & Gapps

Wipe factory reset

Flash supersu 2.64

Wipe cache

Reboot

Tell me...

Cheers
[Oppo Find 7 and 7a] @slurpyhere:
No dirty flash, mate?
[Oppo Find 7 and 7a] jejecule:
try and tell us but if you were experiencing encryption errors: no recommended:)
[Oppo Find 7 and 7a] @slurpyhere:
alright, thanks :) i've only had random reboots and display artifacts on my end, let's see if this latest build fixes things up
[Oppo Find 7 and 7a] StoneTrapper:
Thanks for the update jejecule! Any changelog for this one?

Okay did a dirty flash since I hadn't had any encryption errors and I felt like taking a gamble.

It's booting happily, SuperSU is happy. I'm happy. Everyone is happy!

SuperSU decided to install as system-less, it's working so no complaints.

Though I did have SuperSU and happy boots on the last build so can't say if the main focus of the update has resolved other peoples issues.

Random reboots still occurring.
[Oppo Find 7 and 7a] xGSoulx:
Yeah, as I mention before, its quite useless for us since we are not using nexus devices, not to mention we do not use oem rom either. Of course, Chainfire solution is to cater mostly latest nexus & samsung devices (obviously his attentin not for cm users), I just wanna keep uptodate with his app since we are too moving to MM rom (samilar partitions etc). But yeah, I guess I already ruined my partitions since coming from coldbird's method, then go through several unsuccessful processeses of lvm before. Evenmore, I just overwrite some of SuperSU since from 2.46 version may lead to this too (maybe there are some residuals in partitions). What I going to do rite now is de-lvm & flashing coloros back, re-lvm & restart again. Honestly, I hate to do this since Oppo recovery is the most stubborn modafaka!!Hhahaha
[Oppo Find 7 and 7a] StoneTrapper:
Ah I was just wondering if there was a benefit I'd missed or if it was just for the curiosity! It's definitely still an app to follow (maybe now more than ever following the buyout!)

Hahaha definitely agree with you there! Oppo recovery is messy thing! As is doing any partition work in general, shame there isn't a simplified partition tool that could be used with the phone in firmware recovery but I can see there probably isn't that much need.
[Oppo Find 7 and 7a] UnknownX55:
I have the video recording bug too. It's says, that it couldn't make a connection to the camera. But I can take photos.
[Oppo Find 7 and 7a] xGSoulx:
Yeah, same camera bug but it not really matter. Just go search & downloaded ported Oppo camera apps by infinityplus which is far better camera than google camera app. There are 2 version K1 & K2 (I use K1 btw).
[Oppo Find 7 and 7a] mada360:
Ok followed the steps exactly (Full wipe on cache, Dalvik, System and Data) and I still get the Encryption screen :(
[Oppo Find 7 and 7a] @slurpyhere:
flash the latest supersu beta, it happened to me too :) it seems like supersu patches the boot img, could be why
[Oppo Find 7 and 7a] mada360:
Is 2.64 not the latest?
[Oppo Find 7 and 7a] Smash3r01:
Dirty flash ROM+SuperSU ,everything ok so far.
[Oppo Find 7 and 7a] cartman_73:
Hi guys, which gapps reccomended?

Open gapps or what?

Thanks for the reply
[Oppo Find 7 and 7a] Smash3r01:
Open gapps mini
[Oppo Find 7 and 7a] mada360:
Did you just follow the steps [MENTION=4933230]jejecule[/MENTION] said?
[Oppo Find 7 and 7a] Smash3r01:
Check my post before
[Oppo Find 7 and 7a] mada360:
Were you already on 1219?

I am glad that when the encryption screen will show my phone only goes through setting up 18 packages rather than the 100+ after a normal flash
[Oppo Find 7 and 7a] Smash3r01:
I was on 12-09 because had reboots on newer builds.
[Oppo Find 7 and 7a] Romaan:
I flashed firmware 19/12 clean, as jejecule mentioned, worked fine other than random reboots and screen glitches.

Flashed 22/12 dirty, but wiped cache and davlik. The unsuccessful encryption came up. So for future reference do a clean wipe for this firmware aswell.
[Oppo Find 7 and 7a] Danial Mustafa:
Hi. I'm from NamelessROM. After done factory wipe, I flashed the build & zip. But after booting to system, "Encryption Unsuccessful" appeared. Please help. :(
[Oppo Find 7 and 7a] mada360:
I'm probably wrong but I think you also need to wipe the system under advanced wipe... In fact i'm almost certainly wrong, I've not been able to successfully flash the latest rom without getting that screen!
[Oppo Find 7 and 7a] jejecule:
Guys,

Second step: crdroid-6.0.1-20151222-find7-sp.zip

Download:

https://www.androidfilehost.com/?fid=24338798368260747

Only for those having encryption issues: this is exactly the same rom but with Selinux in permissive mode.

Please check and report.

When i say full wipe, i mean advanced wipe, wipe data, system, cache & dalvik.

Cheers
[Oppo Find 7 and 7a] Romaan:
I do the following:

1.Wipe->Advanced wipe

- Select Davlik, System, Data, Internal(If I have backed up to PC), cache.

2. Wipe all of them, flash the rom and gapps.

3. Go back to wipe and do a factory reset

4. Flash SuperSu and everything else

5. Boot to ROM.
[Oppo Find 7 and 7a] cartman_73:
Hi, I try the version of post #1475.

I do full wipe with system, data, cache, dalvik.

flash rom and gapps (open gappas 6.0 mini)

do a factory reset

flash SuperSu 2.64

wipe cache

reboot

I've got an encryption error

Now, I'm donloading the latest versionb and try to this one.

I reported you as soon as possible.

Edit: I didn't wipe internal storage.