yashsingh1/xdaforums huggingface dataset:
[Oppo R7 Plus] Wendigogo:
Hello World,

Here is mine. I hope it will help to solve this issue.

Enjoy!
[Oppo R7 Plus] maniac103:
Thanks. My suspicion was correct. :) I'm testing a patch for this and early results look good. I'll upload it for testing on Monday.

Gesendet von meinem R7plusf mit Tapatalk
[Oppo R7 Plus] Wendigogo:
GREAT !

Can you push your patch on LineageOS too please?

Thanks for your helping us.

Enjoy!
[Oppo R7 Plus] maniac103:
In case you didn't know, I'm the r7plus Lineage device maintainer :)

Gesendet von meinem R7plusf mit Tapatalk
[Oppo R7 Plus] Wendigogo:
That will be easier to push patches for sure! :laugh:

Enjoy!
[Oppo R7 Plus] teemo:
New AICP build up.

There is also a build patched for microG for those that want to try a ROM wihout all the Google spying.
[Oppo R7 Plus] teemo:
Funny. Just as I think my build is not affected, I have a reboot out of the blue.

What is even more funny, is that I just opened Rview to look for the patch, and boom ... reboot. Fatal error on wcnss. Assume it is the same issue.

When was it introduced and is there a way to test the patch?
[Oppo R7 Plus] maniac103:
Testing is easy: apply it, see if it still reboots ;) For me it doesn't anymore since Friday.

About the introduction of this, I'm not sure. I suspect there's some mismatch between kernel and firmware introduced by the kernel rebases to newer CAF tags to support N, but I don't have a clear enough picture of this to be certain.

Gesendet von meinem R7plusf mit Tapatalk
[Oppo R7 Plus] Wendigogo:
Can you share a link to your patch please? I can't find it in gerrit.

Can we applied it on build (aka it's a conf file modification) or do you have to rebuild the full rom?

Enjoy!
[Oppo R7 Plus] maniac103:
It's https://review.lineageos.org/#/c/161533

It doesn't require a full build, but an updated boot image. One can do the change on an installed build by extracting the boot image from the zip, unpack with mkbootimage_tools, do the change in the initrd, repacking and fastboot flash'ing the updated image.

Gesendet von meinem R7plusf mit Tapatalk
[Oppo R7 Plus] teemo:
Hmm, I wondered because I only had this reboot on my latest build (13.Feb). I have never had any reboots on N7 before this build.

For the record, since I patched it yesterday, no reboots.
[Oppo R7 Plus] Wendigogo:
I can't "fastboot boot boot-patched.img" while I can "fastboot boot boot-init.img". And if I flashed it I'm stuck at bootscreen (before LineageOS bootanim).

What I've done is using mkboot to unpack boot.img from latest LineageOS zipfile, applying patch by editing (with nano and copy/paste added lines) ./ramdisk/init.qcom-common.rc and building a new boot.img.

Can you tell me what I've done wrong please?

Enjoy!
[Oppo R7 Plus] Wendigogo:
So no-one can help me in patching , rebuilding this kernel? :crying:

Enjoy!
[Oppo R7 Plus] teemo:
>>>Here!<<< Works well for me, currently boting the patched Lineage kernel in AICP :cowboy:

EDIT: LoL, the kernel boots, but not into Android. Neither did the unmodified kernel, so I guess it is just incompatible with my AICP for the moment. It should work on Lineage though, unless there is an issue with "fastboot boot 'kernel'".
[Oppo R7 Plus] Wendigogo:
Thanks a lot! :good:

I'm now able to boot on patched kernel. I still don't know what i made wrong before but I now know which tool I'll use in future. :D

Enjoy!
[Oppo R7 Plus] InspireM3world:
Can this be used on Oppo R7sf devices?
[Oppo R7 Plus] teemo:
No, it will only work for R7 Plus F
[Oppo R7 Plus] teemo:
No, but it turned out to be very easy to port it to R7SF

[MENTION=7666126]InspireM3world[/MENTION], thanks for testing. I hope it is okay that I use your words here:

Here is a link to builds for R7SF

Note: I am not able to test the builds, as I do not own the device.

R7plus is updated today as well. Link in OP as usual.

Have fun.
[Oppo R7 Plus] ravithap:
By the way has the echo problem been addressed to? Otherwise this and many other ROMs are useless.
[Oppo R7 Plus] teemo:
CM13 and AICP11 are without any issues I know of. CM14 and AICP12 do still have the echo, but on speakerphone only.

Most people don't use speakerphone, so for these people all the Nougat ROMs are perfect.

I do want to use speakerphone, but sacrifice it for a much improved system and better security.
[Oppo R7 Plus] drwharris:
I am going to download the R7sf ROM and give it a go as the LineageOS port has died.
[Oppo R7 Plus] drwharris:
So just installed the March 19 build and it went pretty smoothly. In fact I was surprised that it kept all my older LineageOS settings even with a cache and davlik wipe.
[Oppo R7 Plus] stupidfellow1997:
just flashed the ROM from LineageOS 14.1 R7sf...it seems to work flawlessly without any issue...thx for the hard work.. cheers :D
[Oppo R7 Plus] teemo:
Test Build with ECHO patch, please test :)

New build up patched per masters instructions for working speaker phone.

R7sf being build now, should be ready later today with a little luck.

Please check speakerphone and report here if/how it works.

You need to put YOUR R7 in in handsfree mode (loudspeaker icon) and ask the other end about the echo.

Thanks
[Oppo R7 Plus] teemo:
Oppo R7SF

R7SF only!

Test build with echo fix.

Please check speakerphone and report here if/how it works.

You need to put YOUR R7 in handsfree mode (loudspeaker icon) and ask the other end about the echo.

Thanks
[Oppo R7 Plus] drwharris:
So I flashed this build. Speaker phone still has some echo but its much better. Having said that, Bluetooth audio is dramatically improved.

Incidentally, any idea how to fix this magisk error?
[Oppo R7 Plus] teemo:
Settings-Magisk-Settings: Magisk Hide.
[Oppo R7 Plus] sirizak:
[MENTION=7585049]drwharris[/MENTION] Can you tell me whether in call volume control is functioning?

[MENTION=698346]teemo[/MENTION] Thanks for resurrecting our device, would love some regular/semi-regular updates. Have installed the previous build, its buttery smooth.
[Oppo R7 Plus] drwharris:
Already tried that. Same result.

---------- Post added at 07:45 AM ---------- Previous post was at 07:45 AM ----------

Interesting...doesn't seem to work.
[Oppo R7 Plus] sirizak:
It was an ongoing problem with Lineage builds also. I don't think you get in call volume control with handset, speaker, or bluetooth.

I haven't heard anyone mention if the r7plus has the same issue though.

I uploaded a log to the lineage thread but I think celoxocis had checked out by then.
[Oppo R7 Plus] drwharris:
I have to say, I use my phone 90% in car over bluetooth so have not noticed the lack of control using the phone directly [emoji15]

Interesting feedback, sound quality over Bluetooth and speaker phone is now almost perfect but on earpiece is considerably worse than speaker. Someone elses opinion not mine.
[Oppo R7 Plus] teemo:
Then I'm afraid it is due to dirty flashing on top of LineageOS.

Backup stuff, clear data, restore stuff.

You can also try to install latest zip of Magic. It its easier, but might not help.
[Oppo R7 Plus] drwharris:
OK will do a clean install over the weekend and see how that goes.
[Oppo R7 Plus] teemo:
Are you talking about speakerphone, handset, bluetooth, headset ? Or all ?

Headset (wired) and normal handset does adjust volume, but min/max difference is not big. I have not checked speakerphone or bluetooth yet.
[Oppo R7 Plus] sirizak:
Just tested Handset and Speakerphone and they're both working well. Fantastic news. Also had no issues with echo on Speakerphone. Great work mate, where do I donate?
[Oppo R7 Plus] drwharris:
So I'll agree that the volume slider moves... But from what I can tell there is no perceptible change in volume.
[Oppo R7 Plus] sirizak:
I definitely get a change in volume. The slider moving and no change of volume was the exact issue with Lineage. I dirty flashed up from there same as you though.

I updated my TWRP first to 3.1, flashed the first AICP build, OpenGapps - Stock, wiped cache/dalvik, then flashed the echo-fix test and OpenGapps, wiped cache/dalvik again.
[Oppo R7 Plus] teemo:
Donation address here: [MENTION=765758]maniac103[/MENTION]
[Oppo R7 Plus] teemo:
That might be fixed when the echo patch is merged in Lineage.

Keep an eye on "Change 169219 - Needs Code-Review Label"

When it change to "Change 169219 - Merged", you can download the next LineageOS and check again.

Probably because AICP maintain their own Framework and Settings. If they don't match with the Settings structure of LOS (that you still have after dirty flashing), things can go wrong. Most stuff work though, as you have already seen.
[Oppo R7 Plus] drwharris:
Will report back asap.
[Oppo R7 Plus] sirizak:
Handset, Bluetooth and Speakerphone all working well here.
[Oppo R7 Plus] dino404:
Ils there solution to root the aicp_r7sf_n-12.1-echo-patched-20170418.zip
[Oppo R7 Plus] teemo:
It should be rooted already. Do you see Magic in settings? Does it say "properly rooted"?
[Oppo R7 Plus] dino404:
No its not rooted
[Oppo R7 Plus] teemo:
Okay, then go to Magisk - Install and Download and install. I think it will boot to recovery and flash the Magisk zip.
[Oppo R7 Plus] dino404:
Its OK thank you m'y friend
[Oppo R7 Plus] dino404:
Please tell me ils there ROM for oppo R9s
[Oppo R7 Plus] drwharris:
So I've clean installed and come across an issue I fixed on LOS but can't remember how. Android Auto will not connect unless the USB connection is MTP. So I try and set the default in Dev option but it keeps going back to Charging. http://cloud.tapatalk.com/s/58fac432648e9/TRIM_20170422_124623.mp4
[Oppo R7 Plus] drwharris:
[MENTION=698346]teemo[/MENTION] sorry but clean install and still get the CTS Profile error.
[Oppo R7 Plus] teemo:
You don't need to check anything in the Hide menu. Get into

Settings -> Magisk Manager -> Settings

Be sure "Magisk Hide" is enabled.

I had this issue before, when running with microG (open source Play services without google). Safetynet was showing error, but it worked anyway. Launch your app and see if it works.

It might be your gapps that does it? I installed from scratch, in the following order:

1. AICP ROM

2. GoogleApps-ThemeReady-arm64-LP-MM-N-v31.8

3. open_gapps-arm64-7.1-pico-20170329

Theme ready is for themeing gapps.

Open pico includes a working first time setup to fetch your backup (ThemeReady gapps does not).
[Oppo R7 Plus] teemo:
How is it connected in your video, PC, Charger, CAR ?

You can set the default when it is unconnected, but it will revert to Charger when you unplug from PC.

Another thing: Status does not update after you change the default. You have to exit dev.options and go back to see the change.

Check here for a debugging video.
[Oppo R7 Plus] drwharris:
Gotcha. Maybe thats how i "fixed" it last time...Is that intended behaviour? Its pretty crap IMO.

---------- Post added at 12:15 AM ---------- Previous post was at 12:05 AM ----------

Other than installing other apps like FB, Tapatalk, etc, that's what I've done. But Android Pay as an example still say nope. (Yes I know I won't be able to use it properly but its a good test).
[Oppo R7 Plus] bo55hog:
Tried another clean install following what you suggested but no luck. Could be a rom issue. Would it be that the CTS profile is different for the r7sf than the the r7plus and it needs to be changed when porting the rom? Just an idea?
[Oppo R7 Plus] teemo:
No, I think not. The only difference between R7Plus and R7sf (when compiling the ROM) is the fingerprint sensor. Plus there are some hardware differencies. The kernel setup is also the the same except the FP sensor.

I only tested safetynet from within Magisk. Never tried G-pay. All my paid apps works well.

EDIT: Okay, I installed Android pay and was able to open it and start adding a card. Have no idea if this is a step to test safetynet or if I need to go further before it fails ???
[Oppo R7 Plus] drwharris:
If you can add a card then it works fine.
[Oppo R7 Plus] bo55hog:
I'm unable to add a card on android pay it says safety net failed.
[Oppo R7 Plus] drwharris:
Can I ask if this build uses a specific CPU governor different from LOS? System seems less responsive. As an example Google app takes 10/20 seconds to process voice commands whereas previously it would take 2/3 seconds.
[Oppo R7 Plus] teemo:
Is this with the same version of gapps? And has the ROM had time to "settle"?

Should use same settings. Init may be different, I will look as soon add I get time

Edit: Actually, this has nothing to do with with governor. 5-10 times difference mean that something else is wrong. Which versions of aicp and los are you comparing? Did you check older versions?
[Oppo R7 Plus] drwharris:
Yep, exact same gapps...fewer apps installed. And its been running for... 3 days unchanged? I've just installed Kernal Toolkit and changed to performance governor (not something I'd done on LOS). My question is more curiosity.
[Oppo R7 Plus] teemo:
Kernel Toolkit (and other kernel utils) may not work as intended. They are blocked by selinux.

Could you do me a favor and disable selinux in developer options (all the way down at the bottom), to see if it helps. I may have to add a few permissions to the kernel. Just remember to enable again if you want to keep your phone safe.

AICP and LOS does NOT share all these permissions and to be honest, I have been to lazy to update the policies until now. It's not a big deal though, so I will start look at it now.
[Oppo R7 Plus] drwharris:
So I have set CPU Governor back to permissive and disabled selinux. Will report back.
[Oppo R7 Plus] drwharris:
So the first few hours...yuck! After long periods of idle, I will get a text and when I reply i can type on the keyboard and sit back and watch it slowly type off what I've touched. Its unusable. So I've gone back to performance governor.
[Oppo R7 Plus] drwharris:
Found another issue. I am 4 floors of cement and steel away from my BT Car system, status bar shows BT enabled but not connected but the quick pulldown tile and Bluetooth settings show it as still connected.
[Oppo R7 Plus] drwharris:
[MENTION=698346]teemo[/MENTION], I didn't scare you off did I :D
[Oppo R7 Plus] teemo:
Haha, no. But I don't have the issues you mention. I need more info, a log would be good. Or at least a very detailed description of what you do and what apps you have installed and their settings and........ no, just the log :D - it's the easiest to start with.
[Oppo R7 Plus] teemo:
ROM R7Plus & R7s

R7PlusF

R7sf
[Oppo R7 Plus] drwharris:
Installed latest update. I've been running with the performance governor since I posted my update and its been great since. Battery life has settle and is pretty good.
[Oppo R7 Plus] bo55hog:
Same here runs well. Just a minor problem of not being able to swipe down in landscape mode in apps as easily as in lineage. So have to turn on/off screen to bring up back, close app and recent apps tile.

Top left corner seems to be the spot.
[Oppo R7 Plus] drwharris:
I've noticed similar but only in kindle. Tapatalk as an example works fine.
[Oppo R7 Plus] teemo:
You mean when in expanded mode?

You should be able to bring the navigation line up either from the bottom or from the top of the screen.

Which apps do you have this problem with? Do you have a case that prevent you from sliding from the edge?
[Oppo R7 Plus] stupidfellow1997:
just flashed the latest ROM...everything works pretty well... execpt the microphone echo problem...still very serious...hope can fix soon...
[Oppo R7 Plus] teemo:
That is already fixed since a few weeks. It may not be perfect, but it is way better than before.

What does it say in Settings - About under kernel version?
[Oppo R7 Plus] stupidfellow1997:
ya...i notice that it is better than before , but my friend cannot hear me when i use speaker mode to call, they just heard buzzing sound. I had tried using the recorder app to record my sound and i can only hear buzzing sound. Any help? Or it just my microphone problem?
[Oppo R7 Plus] teemo:
Hmm, it would be good to hear from other with r7sf if they have it working.

I assume you already checked your microphones are working and not covered by dirt or a cover. I don't have the device so I don't even know how it looks [emoji4]

[MENTION=3185254]Jacob_DK[/MENTION] did you try this on r7sf?

I will setup for a LineageOS build when I get some spare time. At least until celoxosis get back in action.
[Oppo R7 Plus] Jacob_DK:
No, but I plan to test this on R7Sf very soon. This phone deserves a well-working Nougat ROM too. I'll let you know. :)
[Oppo R7 Plus] Thanishrama:
Hey guys just installed this ROM today on my r7sf.. I don't face any issue with call in speaker mode. The audio when in call is much better than cm13 and lineageos.

Thanks for this awesome port man...
[Oppo R7 Plus] teemo:
Thanks.

Just one question: The call sounds good... at your end or at the other end (or both)?
[Oppo R7 Plus] Thanishrama:
Both end is fine...
[Oppo R7 Plus] stupidfellow1997:
i think my speaker covered by dirt since you guys didnt have the problem...anyway...thx :D
[Oppo R7 Plus] drwharris:
Is there away to get the status led to turn off with do not disturb?
[Oppo R7 Plus] sirizak:
Yea took some finding.

Settings > Notifications > Cog top right > Notification Light > Lights in Do not disturb mode
[Oppo R7 Plus] drwharris:
Ha! was just coming here to post up exactly that. Thanks!
[Oppo R7 Plus] drwharris:
Is anyone using Snapchat on AICP on the R7s? I can't log in, gives me an error that hints at it thinking I'm using a 3rd party app.

Edit: seems its to do with being on a rooted device and the answer is to use magisk but I've set it to hide from snapchat but the same problem. I'm still having the CTS profile mismatch issue...not sure if that's related.
[Oppo R7 Plus] sirizak:
No issue with Snapchat here mate. Been working fine since I jumped from Lineage.
[Oppo R7 Plus] drwharris:
Are you able to pass SafetyNet check?
[Oppo R7 Plus] sirizak:
No, I get CTS profile mismatch.
[Oppo R7 Plus] drwharris:
Well that's annoying. Are you R7s Plus?
[Oppo R7 Plus] sirizak:
R7Sf

I haven't done a factory reset since I changed to AICP, so I don't think I've had login to snapchat again....
[Oppo R7 Plus] drwharris:
Well I'm out of thoughts then :(
[Oppo R7 Plus] LordAlberto:
Finally decided to give this a try on my R7Sf and it's a really nice ROM. Initially took me three tries on a clean install till it worked.

It's very smooth and I love the features but the call quality issue is still there, for me at least. People say I sound like I'm at the bottom of a cave :laugh: went back to LoS.

Now trying a dirty flash over Lineage, see what happens.
[Oppo R7 Plus] teemo:
Dirtyflash AICP to LOS or LOS to AICP is no good idea. They are similar, but settings and framework very different, so weird stuff will likely happen.

Interesting with the caveman call quality. Wonder if [MENTION=2494638]celoxocis[/MENTION] has met that problem, it could be my attempt to "fix" r7sf that actually broke it :D
[Oppo R7 Plus] celoxocis:
Caveman sounds like the "echo issue" to me that for some unknown only a minority experiences on the R7Sf and R7Plus.

I don't think your change in the mixer path has anything to do with it.
[Oppo R7 Plus] LordAlberto:
Just thought I'd try to see if there was any change in call quality, but it's still there.

To quote my brother, 'You sound like you're on some long wave radio ****!'

Back to LOS I guess. Shame, very nice ROM.
[Oppo R7 Plus] chiegv:
Error that only happened after restart

Dear sir, please excuse my English, and a newbie here too so please don't get bored with my questions :angel:, i tried the famous search function but i guessed i just don't know what's the correct keyword, so here i am right now.

device is Oppo r7sf, which was installed with CM 13.

do a clean install after wipe everything with AICP update 20170429 and now 20170620 but still had the same issue, which is:

1. camera wont work

2. flashlight wont work

3. if the screen sleep, power button no longer can wake the device; so either use double press to trigger the camera shortcut (which will show camera wont work :rolleyes: or plug in an USB cable to wake device from inside

4. and probably some more

and its happened only if i restart the device or so i think, you know, we tends, i mean newbies tends to jump into weird assumption :p

so please guide me what should i do to give you a better understanding about my problems? a logcat (please tell me how to do that if so) or anything?
[Oppo R7 Plus] LordAlberto:
Didn't know there was a newer version, gonna give it a try. Thanks.
[Oppo R7 Plus] drwharris:
Me either. Just updated.
[Oppo R7 Plus] drwharris:
I've had another go at this ctsprofile failed issue. Wiped my device and reinstalled AICP, pico gapps and Magisk 13.2 and instantly fails. Tried same with latest LOS Image but same outcome. I give up! #$%&
[Oppo R7 Plus] teemo:
I get errors as well when testing from within Magisk. But it works fine for the app I use!

For my app to work, I need to do two things:

1. Magisk Settings - Magisk Hide: ON

2. Magisk Menu - Magisk Hide: Enable my app

Don't worry about the test if the app is working.
[Oppo R7 Plus] drwharris:
Snapchat now works, Android Pay doesn't. For some reason I now get basic integrity check fail.
[Oppo R7 Plus] teemo:
Actually the ROM has nothing to do with this. It is google play services that does the checking. Recently Play Services has added some more checks. Here is a workaround that will let safetynet pass (I checked):

Execute this in a terminal or use a script file to autostart it:

su
resetprop --delete init.svc.magisk_pfs
resetprop --delete init.svc.magisk_pfsd
resetprop --delete init.svc.magisk_service
resetprop --delete persist.magisk.hide

Source:

https://xdaforums.com/showpost.php?p=73055995&postcount=1

https://xdaforums.com/showpost.php?p=73056169&postcount=17
[Oppo R7 Plus] kishd:
Tested and works with r7sf lineage rom as well.
[Oppo R7 Plus] drwharris:
Fix 1 problem but not the other.
[Oppo R7 Plus] teemo:
Works for me.

Edit: You can try downgrading to 13.0
[Oppo R7 Plus] stupidfellow1997:
i m just to ask whether the ACIP Rom for r7s will continue or not? since the latest build is about 2 month ago...:)
[Oppo R7 Plus] teemo:
Well, I can make a build. Guess it's time for an update.

With a little luck I can have something ready this evening (sunday).

I was actually building with the latest firmware from the spectrum project, but never got the fingerprint reader to work. [MENTION=2494638]celoxocis[/MENTION], is that supposed to be working yet? Using all picks from the spectrum and spectrum-fw topic plus the vendor files from mikeNG.
[Oppo R7 Plus] thepinkowl84:
any updates for aicp rom for r7 plus f ..
[Oppo R7 Plus] teemo:
I build it, but Magisk will not install on it = no root. I'm trying to debug the problem.

Update:

The problem is partly in Magisk installer and partly my build.

The next release of Magisk will install. However, my latest ROM has other issues as well, so instead I have uploaded the latest release I made. It is very stable. If you want superuser, use Magisk v13.3 and everything should work well.

AICP 20170708.zip
[Oppo R7 Plus] stupidfellow1997:
how about r7s?:confused:
[Oppo R7 Plus] teemo:
I will build for r7sf when I have a stable build of r7+.

Data is not working in today's build, so no reason to release that. The latest r7sf I have is 0620: https://www.androidfilehost.com/?w=files&flid=160254
[Oppo R7 Plus] teemo:
ROM Update :)

And finally a new shiny ROM.

R7plus, verified OK

R7sf, not tested - use at own risk ;)

For root functionality with superuser, flash Magisk 13.3 or later.

Have fun.
[Oppo R7 Plus] stupidfellow1997:
managed to update without any problem :good: :D

thx man... cheers... :D
[Oppo R7 Plus] bo55hog:
Has anyone tested this rom for r7sf yet. Just want to know if it's stable before flashing

---------- Post added at 11:59 PM ---------- Previous post was at 11:57 PM ----------

Scratch that already using build 20th of June. So yes I can report it works fine
[Oppo R7 Plus] stupidfellow1997:
any new updates for r7sf?:)

its been awhile without any updates
[Oppo R7 Plus] bo55hog:
Not that I've seen, even the official linaege build hasn't come out yet.
[Oppo R7 Plus] vishal rabari:
Hii