yashsingh1/xdaforums huggingface dataset:
[Oppo R7 Plus] teemo:
Echo is only when R7plusf is on speakerphone. The echo is at the other end. Knowing where to look I will gladly invest some time for that.

EDIT

I have a build from 28 oct 2016 that works well. This was my latest build on mm.

The Audio HAL was updated 7 nov with Android 7.1.0 release 7.

EDIT2

MM 2016.10.28 Log

N 2016.11.13 Log
[Oppo R7 Plus] FishFace1:
My side of phone calls audio on the earpiece is extremely low on max volume. Any way to boost the volume?
[Oppo R7 Plus] Jacob_DK:
[MENTION=698346]teemo[/MENTION] and [MENTION=765758]maniac103[/MENTION], do you think the speakerphone echo problem could be related to this? http://www.androidpolice.com/2017/0...droid-7-1-1-update-brought-speakerphone-echo/ - according to the article, a fix is made with the March security update. However, [MENTION=2655181]Wendigogo[/MENTION] has reported to me, that 0317 still has the problem - and this build has the March security update. Still, it just seems strikingly similar to me.
[Oppo R7 Plus] teemo:
Nexus 6 was patched to fix the issue. Other phones should be okay with or without the March update. Except ours of course [emoji1]

Related? Maybe. Copy the fix? No way.

[MENTION=765758]maniac103[/MENTION] is it possible to enable more spam from hal, to get closer to the issue? I have time to build and stare at logs. With a little luck I might be able to find a clue...
[Oppo R7 Plus] Texan1:
I've got exactly this too, and others have reported it on the reddit LOS forums.

Is there a possibility to have this looked at/fixed too? As it's a permanent thing not sure if a logcat will help?
[Oppo R7 Plus] maniac103:
Comment out the LOG_NDEBUG defines in the respective C files.

Gesendet von meinem R7plusf mit Tapatalk
[Oppo R7 Plus] Texan1:
Anyone still having issues with random reboots, particularly while on a phone call? The reboot issue was meant to be fixed a couple of weeklies ago, but I'm on the latest 20170324 build, was just on a phone call and the phone rebooted :(
[Oppo R7 Plus] f22217:
For the moment I did not have any reboot since this update
[Oppo R7 Plus] FishFace1:
0407 weekly gets error 7 when flashing downloaded a few times any one else?
[Oppo R7 Plus] kishd:
Mine flashed easily. Are you flashing from internal or external SD? Sometimes especially with ColorOS you need to flash from internal SD.
[Oppo R7 Plus] FishFace1:
External sd I haven't been on coloros for years. Cm14 then Linage. I am downloading then flashing from Twrp
[Oppo R7 Plus] kishd:
Just try flashing it from the internal sd
[Oppo R7 Plus] FishFace1:
Flashed from internal / external storage no good..

Downloaded next weekly/ still no good.

Updated twrp it worked!
[Oppo R7 Plus] PassiTheApe:
Is it more or less stable for everyone? My old CM 14.1 build still has many issues but I was too lazy to update since dezember 2016. CM 13 was way better. Can anyone explain how to flash to an experimental build for Lineage OS and where can I download it from?
[Oppo R7 Plus] teemo:
The speakerphone echo problem.

I cannot get closer than this with my tiny knowledge (and time).
[MENTION=765758]maniac103[/MENTION] I know it is not high priority, but just in case you get bored, here is a short outtake of what seem to be a calibration problem. I guess it is a problem with the proprietary acdb-loader/libaudcal not working with the open drivers.

Any chance we can revert just the calib|acdb -proprietaries ?

[URL="http://teemo.dk/R7/log/aec_more-logging.log"][U]FULL log[/U][/URL]

I Telecom : Event: Call TC@1: AUDIO_ROUTE, Entering state ActiveSpeakerRoute: ICA.sAR->CARSM.pM_USER_SWITCH_SPEAKER@AcU_0
I Telecom : CallAudioRouteStateMachine: [B]turning speaker phone true[/B]: ICA.sAR->CARSM.pM_USER_SWITCH_SPEAKER@AcU_0
I Telecom : CallAudioRouteStateMachine: setSystemAudioState: changing from [AudioState isMuted: false, route: EARPIECE, supportedRouteMask: EARPIECE, SPEAKER] to [AudioState isMuted: false, route: SPEAKER, supportedRouteMask: EARPIECE, SPEAKER]: ICA.sAR->CARSM.pM_USER_SWITCH_SPEAKER@AcU_0
I Telecom : Event: Call TC@1: AUDIO_ROUTE_SPEAKER, null: ICA.sAR->CARSM.pM_USER_SWITCH_SPEAKER@AcU_0
[COLOR="Red"]E ACDB-LOADER: ACDB -> Not correctly initialized!
E : send_afe_cal_type cal_block not found!!
[COLOR="Magenta"]E voice_get_cal: No cal data for cal 4!
E voice_send_cvp_register_dev_cfg_cmd: Voice_get_cal failed for cal 4!
E voice_get_cal: No cal data for cal 2!
E voice_send_cvp_register_cal_cmd: Voice_get_cal failed for cal 2!
E voice_get_cal: No cal data for cal 3!
E voice_send_cvp_register_vol_cal_cmd: Voice_get_cal failed for cal 3![/COLOR]
E : send_afe_cal_type cal_block not found!!
E : send_afe_cal_type cal_block not found!!
E ACDB-LOADER: Error: ACDB_CMD_GET_VOC_PROC_GAIN_DEP_VOLTBL_SIZE_V2 Returned = -1
E ACDB-LOADER: ACDB -> No vocvol table to reload![/COLOR]
[Oppo R7 Plus] maniac103:
Uh, that's a problem. The actual root cause is earlier though:

4-17 20:47:13.262 274 274 D ACDB-LOADER: ACDB -> MCS, FTS INIT
04-17 20:47:13.262 274 274 E MCS-RT-CTL: Can't open the configuration file /system/etc/aanc_tuning_mixer.txt.
04-17 20:47:13.262 274 274 E ACDB-MCS: acdb_mcs_init: MCS routing control initialization failed.
04-17 20:47:13.262 274 274 D : [ACPH]->FTS RTC service registered with ACPH
04-17 20:47:13.262 274 274 D ACDB-LOADER: ACDB -> ADIE RTAC INIT
04-17 20:47:13.262 274 274 D : [ACPH]->ADIE RTC service registered with ACPH
04-17 20:47:13.262 274 274 D ACDB-LOADER: ACDB -> send_meta_info, lic 0
04-17 20:47:13.262 274 274 D : Couldnt find the key 00000000
04-17 20:47:13.262 274 274 D : Output from GetMetaInfoSize command : 0
04-17 20:47:13.283 274 274 E ACDB-LOADER: ACDB -> Error: Sending AUDIO_ALLOCATE_CALIBRATION, result = -1
04-17 20:47:13.283 274 274 E ACDB-LOADER: ACDB -> allocate_cal_block failed!
04-17 20:47:13.284 274 274 E ACDB-LOADER: ACDB -> Error: Sending AUDIO_DEALLOCATE_CALIBRATION, result = -1
04-17 20:47:13.284 274 274 E ACDB-LOADER: ACDB -> Cannot allocate memory!
04-17 20:47:13.284 274 274 D msm8916_platform: ACDB initialization failed

I don't see this myself on the r7plus as I'm running the spectrum (6.0) blobs, but I do see it on the r5. I'm pretty sure the actual problem is a kernel API change, as blobs are tracked per-device and multiple devices suffer from this. I'll check this, thanks for the initial pointer :)

EDIT: One idea (untested) would be this kernel patch: https://pastebin.com/ZUv4maP6 ... that's one obvious and potentially breaking API change.
[Oppo R7 Plus] teemo:
Great, thanks. Will check the patch tomorrow.

How does the #if 0 | #if 1 work?

I assume 0 is for spectrum that does not change and 1 is for the fix, rearranging similar to ferrari kernel. But how does the compiler know which to pick?

Another thing I noticed: Why is the latest commit on the file called a reverse... it's only partial. Is that intended?
[Oppo R7 Plus] maniac103:
The compiler will pick the #if 1'ed part. If the patch works, I'll convert it to a proper define switchable via kernel config option (spectrum blobs need the if 0'ed parts, older blobs likely need the if 1'ed parts). Root problem is that enum values are referenced per index in the blobs, thus must not change, but did due to adding new values in the middle.

Ask CAF? ;) The commit came from there. I generated my patch above by looking at the diff in include/uapi between cm-13.0 and cm-14.1 branches.
[Oppo R7 Plus] teemo:
Jee how stupid :D , I didn't connect 0/1 with true false.

Well the errors are gone (only leaving the same as in mm).

I did a very quick (self)test. Might actually be back to usable now!

I will upload for other to test ASAP, so we can get more reliable reports [emoji14]. Unfortunately I don't have LOS on my PC at the moment, so it will be the aicp build.

EDIT: First test build ready for R7Plus. R7sf will follow later.

EDIT2: Test build for R7SF
[Oppo R7 Plus] Jacob_DK:
I can confirm, that this build fixes the speakerphone echo problem. I just tested it. :)
[Oppo R7 Plus] maniac103:
Thanks for the confirmation! I'll clean up the hack patch I sent to teemo and submit it to the our kernel repo, so the echo problem is fixed in the next Lineage build.

Gesendet von meinem R7plusf mit Tapatalk
[Oppo R7 Plus] Jacob_DK:
That's awesome :) Could you post the link to the patch on review.lineageos.org, once it's approved?
[Oppo R7 Plus] maniac103:
Sure: https://review.lineageos.org/#/c/169219

Gesendet von meinem R7plusf mit Tapatalk
[Oppo R7 Plus] dv6661:
in first post you said "need to flash the "experimental" build, before you flash the regular nightly"

where can i find it ? i just download and it just show nightly build

when i try to install, it says error ? any suggestion ? thaks before [MENTION=3185254]Jacob_DK[/MENTION]
[Oppo R7 Plus] Jacob_DK:
That experimental build was available to help migrate from CM14.1 to LineageOS, but it's not available anymore, so I better edit it out of the post. Thanks for reminding me.
[Oppo R7 Plus] Jacob_DK:
[MENTION=698346]teemo[/MENTION] and [MENTION=765758]maniac103[/MENTION], I have tested the latest LineageOS build (0427), which includes the fix to the speakerphone echo issue - and I can happily tell you, that the problem is now fixed. Thanks a lot for your help getting this problem solved! :)
[Oppo R7 Plus] corbalan12:
the last update (lineage-14.1-20170511-nightly-r7plus-signed.zip) screwed my phone... The boot animation gets stucked and the phone goes into boot loop.

I tried to install previous versions but it doesn't work. Make sure you have a backup before installing the update.
[Oppo R7 Plus] kishd:
Perhaps you should try a fresh install as I just did and it installed quickly.
[Oppo R7 Plus] kishd:
Just want to thank the devs for this rom. I am finally using it as my daily driver. It's just amazing to be running the latest firmware on a phone that has essentially been abandoned by the manufacturer. Kudos to the devs and thank you once again.:good:
[Oppo R7 Plus] PassiTheApe:
This is so awesome. I tried Resurrection Remix before and....it was a really good user experience and I really loved it. The battery life was ridiculously low, though. I had aound 2 hours of screen-on-time. LineageOS has, thus far, no real issues in any way. Battery life looks good, as well.

I only encountered a problem executing several apps (Facebook, Instagram, Messenger): they didn´t start. I turned the phone off and back on again a couple of times and tried to reinstall the apps. After the 3rd reinstallation they magically worked. So, no problems anymore.
[Oppo R7 Plus] DooganAU:
It is unusual for Resurrection to cause battery type problems, I often receive similar battery life between Resurrection and Lineage. It might be worth investigating some of the apps you use, focus on messenger and push type apps (facebook etc). Mainly if you have any drama in the future with either rom.
[Oppo R7 Plus] kishd:
In the latest nightly 27/7 . The camera can no longer write to external microsd.
[Oppo R7 Plus] PassiTheApe:
Does anyone else have the issue that once the phone boots up and some apps want to boot as well it displays 'Unfortunately, ThisApp has stopped working'? Happens with....10 apps or so? I get notifications all the time that some app has stopped working. Now with the latest nightly the cyanogen camera doesn´t even work anymore. I´m using CameraZoom FX now, but I cannot record video. May there be some issue with my internal storage (hardware-related)?
[Oppo R7 Plus] kishd:
Had same problem with restored apps. Uninstalling and reinstalling the apps worked for me. Try bacon camera from playstore. It works even better than snap camera for me.

By the way the built in camera does work but can only save to internal sd not external SD.
[Oppo R7 Plus] kishd:
Looks like the next nightly will solve the external storage problem in the snap camera.
[Oppo R7 Plus] kishd:
The latest update does indeed fix the Snap camera. Writing to SD now works again.
[Oppo R7 Plus] snaily trail:
Try updating gApps. That will often resolve such issues, I've found. If that fails, do a clean install

---------- Post added at 10:09 AM ---------- Previous post was at 10:02 AM ----------

Is it possible that Lineage could do a brief summary of the top 3 or so fixes and enhancements in layman's terms, with each update? I look at the logs and they are gobbledegook to me. So out of fifty log entries you might simply be able to say in 3 lines or so the top changes that would mean something to the average user. For example, the camera issue that now means you can save to an external SD. ?
[Oppo R7 Plus] thepinkowl84:
off-topic ..excuse me for asking here..

is r7 plus f lte or volte.. i am from india ..first time using a 4g sim (jio 4g sim) ..i only get 4g for data..when trying to call i cannot..

i tried color os , spectrum and lineage..everything is having the same issue..status bar shows 4g ..i can use only data.. i cannot call..

is the oppo r7 plus international version lte only.. or is anyone also having volte facilities..since this device is having less users , except for a few comments in gsm arena (where users have this very same problem) i cant find any good information regarding this..

pls clarify this..
[Oppo R7 Plus] FishFace1:
Do you think we are going to get linage 15?
[Oppo R7 Plus] maniac103:
I'm working on it. Don't hold your breath though, there's still a lot to be done. I can currently get it to boot and have working telephony, but almost everything else (WiFi, BT, camera, fingerprint to name a few) is broken.

Gesendet von meinem R7plusf mit Tapatalk
[Oppo R7 Plus] bu11et:
is the sdcard restricted? my sdcard can be detected by phone but i can't be accessed from the computer. only drive i can see is the internal drive.
[Oppo R7 Plus] FishFace1:
Thanks for the update! At least it's coming
[Oppo R7 Plus] rch.aj34:
Keyboard settings and Whatsapp Calls make phone reboot.
[Oppo R7 Plus] kishd:
Does the latest nightly contain burn in protection? I can't find it on settings.
[Oppo R7 Plus] FishFace1:
Anyone having call quality issues on bluetooth? Pairing to a brand new isuzu dmax Ute, I think it's a noise cancellation / suppression. I get complaints that my voice is distorted.
[Oppo R7 Plus] kishd:
The last nightly seems to have a problem with autorotate. It stops working after a while. Gone back to the 9/11 nightly.
[Oppo R7 Plus] kishd:
There are a number of commits relating to support for the project spectrum bootloader etc due in the next nightly. Would it be necessary to update to project spectrum before flashing the next nightly?
[Oppo R7 Plus] maniac103:
No. The goal is to support both ColorOS and Spectrum bootloader in one build.

Gesendet von meinem R7plusf mit Tapatalk
[Oppo R7 Plus] kishd:
Just for information. Which bootloader is preferable?
[Oppo R7 Plus] rch.aj34:
Does anyone have burn in protection? I can't find it on settings.
[Oppo R7 Plus] kishd:
I think it will be in the next nightly.
[Oppo R7 Plus] rch.aj34:
Just Checked the upcoming changelog , can confirm it says ''r7plus: enable burnIn protection support'' :cool:
[Oppo R7 Plus] rch.aj34:
Good news : 22 December nightly has burn in protection feature.

Bad news : Headphones get detected but don't work.
[Oppo R7 Plus] FishFace1:
Yep no sound via 3.5mm jack, any chance of a quick fix?
[Oppo R7 Plus] kishd:
Flashed the spectrum blobs, wiped cache and booted up. Everything aside from the headphones working fine. Definitely works with both the spectrum bootloader and the older bootloader. Brilliant work. Thank you so much. I think the amount of work and expertise that went into achieving this should not be underestimated. Bear in mind that even Oppo themselves could not do this.
[Oppo R7 Plus] rch.aj34:
29 December nightly , still the headphones don't work , don't update.
[Oppo R7 Plus] kishd:
Or get some Bluetooth headphones till the problem is sorted.
[Oppo R7 Plus] snaily trail:
Why did I not notice this? Haha!!
[Oppo R7 Plus] kishd:
Just noticed that my WiFi connection has become very unstable after the 29/12 update. Gone back to 22/12 for the moment.

Will test more next year.
[Oppo R7 Plus] snaily trail:
Same here, no WiFi at all. Hope the headphone jack and WiFi issues are ironed out with the next release
[Oppo R7 Plus] maniac103:
We're looking into it. We might not manage to solve it until this weekend's build, though.

Gesendet von meinem R7plusf mit Tapatalk
[Oppo R7 Plus] FishFace1:
Anyone tried the new release? If so how is it.

Thanks
[Oppo R7 Plus] rch.aj34:
The Headphone issue still is not solved in the 5 Jan 2018 nightly.
[Oppo R7 Plus] snaily trail:
Sadly, internet is still too flakey to use
[Oppo R7 Plus] rch.aj34:
I've been having this issue , like Wifi has a delay in traffic , any chance you know what's the last nightly that doesn't have this problem ? cheers.
[Oppo R7 Plus] snaily trail:
22 December. Headphone doesn't work, but internet does.
[Oppo R7 Plus] rch.aj34:
Wifi Doctor seems to be a great temporary fix for the Wifi issues !
[Oppo R7 Plus] snaily trail:
I'll take a look

---------- Post added at 11:03 PM ---------- Previous post was at 11:03 PM ----------

Thank you!
[Oppo R7 Plus] rch.aj34:
Welcome ! I hope to see you report first on the next nightly so i know if i should upgrade haha ! Cheers.
[Oppo R7 Plus] snaily trail:
I've looked into it WiFi Doctor and I'm a tad suspicious, tbh.
[Oppo R7 Plus] FishFace1:
Next nightly looks like it will fix headphone and wifi problems!.... Still wouldn't all this work be better used building los15?

P. S I have I idea what goes into it, just asking as I am curious
[Oppo R7 Plus] rch.aj34:
How do you know it will fix them ? is there a changelog ?
[Oppo R7 Plus] FishFace1:
Yep

https://www.cmxlog.com/14.1/r7plus/
[Oppo R7 Plus] rch.aj34:
i'm actually aware of that , i read it before and i see ''Wlan drivers update'' which is great but i can't find which one pertains to the headphones issue.
[Oppo R7 Plus] FishFace1:
It's the other one with a star

Revert "Merge remote-tracking branch 'wolfson/v3.10-arizona' into cm-14.1-caf-8916"
[Oppo R7 Plus] rch.aj34:
Update : Audio working but stuttering , WLan seems faster , UI smoother too.
[Oppo R7 Plus] f22217:
For me it looks like the audio stutters only when the sound is low, when I listen to music at a loud volume with my headphones it doesn't stutters. If I watch a video with someone speaking, if I turn the volume up there will be a point where the voice does not stutters but the background music is almost impossible to hear/understand. Am I the only one having this feeling?
[Oppo R7 Plus] rch.aj34:
Bug report : Audio stuttering/iffy at low volume but fine at high volume , extremely frustrating at night.

you're not alone f22217.
[Oppo R7 Plus] kishd:
After the 02/02/18 update I get a problem with play services continually crashing. Wiping the app data rebooting did not help.
[Oppo R7 Plus] f22217:
You are not the only one, I am having problems too.
[Oppo R7 Plus] rch.aj34:
ONLY bug left over here is the low audio stuttering !
[Oppo R7 Plus] kishd:
The new build fixed the play services problem.
[Oppo R7 Plus] rch.aj34:
Still remaining bug : Audio is stuttering at low volume.
[Oppo R7 Plus] snaily trail:
Have you noticed that web access has really slowed down?
[Oppo R7 Plus] rch.aj34:
i did but it doesn't bother me that much , the audio stutter bug is what's pissing the heck out of me. :/
[Oppo R7 Plus] snaily trail:
I compose on the phone, and had to reinstall my DAW to stop a stutter in that, but not noticed it elsewhere, thank goodness
[Oppo R7 Plus] rch.aj34:
it's a headphones only bug , not sure if reinstalling DAW will fix it in my case
[Oppo R7 Plus] snaily trail:
My headphones have been ok. But I've probably lost half my hearing at 53!
[Oppo R7 Plus] rch.aj34:
Haha it would still be noticeable , at less than 40% it stutters everytime at low volume , but i'm intrigued if it worked for you , do you mind sharing what exactly you reinstalled ?
[Oppo R7 Plus] snaily trail:
It was FLStudio for Mobile. Glitching like mad after the previous lineage update. I use the Onkyo Maiden audio app and Media Monkey for listening to music and no stuttering through FLStudio or music files since then.
[Oppo R7 Plus] snaily trail:
With the latest update, I can now confirm it's glitching like mad at low volumes, but only when recording. I will try a complete factory reset and reinstall with the next update and see if that fixes the issue (clearing dalvik and cache, and reinstalling the apps didn't work)
[Oppo R7 Plus] rch.aj34:
it's driving me crazy at night i can't watch a movie at less than 50% volume otherwise the glitching is unbearable , i really hope this is fixed in the next nightly !
[Oppo R7 Plus] snaily trail:
Just updated to the latest version and hoping the issue has gone!
[Oppo R7 Plus] rch.aj34:
it's still there ! i use Stellio as a music player and i noticed when i use the built-in stellio equalizer , the audio is completely fine , but once i disable it the system equalizer takes over and it stutters at low volume
[Oppo R7 Plus] snaily trail:
Yes, I can confirm that it's still there. Sigh!
[Oppo R7 Plus] DooganAU:
Ok for better or worse im going a little tin hat mode right now, apologies. So I am on a poor adsl 2 connection. Sync rate 10000/1000 roughly, so I am quite sensitive to changes in band width. So multiple times and with multiple fresh installs and wipes (over several weeks) of different variants of lineage I have noticed my R7+ has been consuming my wireless network bandwidth when it has not been in use and even this time I noticed especially because it was in aeroplane mode with wifi turned off. I am not overly technically minded but I did have isolated it down to my r7+ mac address by monitoring my Billion 8700AXL router. It is not all the time, but it seems to start when i leave that phone sitting idle for 30+mins *or extended periods*. EDIT

Has anyone else noticed this at all, I have only noticed it because of my really ****ty internet. I guess I am just paranoid these days that maybe I picked up a malicious rootkit or something that isn't cleared with a wipe (if that even exists?). And Lineage Devs don't do Crypto mining or anything right...? I just cannot work out what that hell this is.

As a rough guide using speed test while this is occuring I could receive a speedtest of 1.73/0.19 on speedtest dot net. And when I turn the R7+ power off (regardless of wireless being off already) I get 8.79/0.71mbps.

Dammit, I really don't want to sound like a crackpot but reading this it looks like I am. Either way something is going wrong with my R7+ and it chewing bandwidth. Anyway have a good night guys. I am going to return my phone to stock color OS to see if that stops it from going rouge =(.
[Oppo R7 Plus] rch.aj34:
Is there a way to use the audio driver from a previous nightly lol , this problem is driving crazy but i don't wanna flash the early build because of security patches and burn in protection , surely there must be a solution..
[Oppo R7 Plus] snaily trail:
I'm not a developer, hopefully someone who is might have a fix soon. Also, LineageOS 15 might not be far away, I hope. That might fix the issue.

---------- Post added at 04:54 PM ---------- Previous post was at 04:52 PM ----------

You might have a data miner, or bitcoin miner hijacking your phone. You could try a factory reset, load up an antivirus product that looks out for this, I'm not sure.
[Oppo R7 Plus] landersarto:
Upgrading stock oppo r7 plus to Lineage OS

Hello everyone. I want to upgrade my phone OS to lineage OS. Currently I have the last update of android lollipop for my r7 plus (international version) and it really bores me now. First of all, do I need to root the phone? I tried rooting it with different apps but they don't seem to work. It will be great if any of you help me out with all the steps. Thanks!
[Oppo R7 Plus] f22217:
Hello, here is a link explaining how to install it : https://www.getdroidtips.com/install-official-lineage-os-14-1-on-oppo-r7-plus/ If you have more questions come here and ask, there will be no problems.
[Oppo R7 Plus] rch.aj34:
Just of curiosity , how long does it take your phone to boot up ? is it less or more than a minute ?
[Oppo R7 Plus] snaily trail:
Less than a minute
[Oppo R7 Plus] rch.aj34:
mine used to take 1:20 min , but i uninstalled xposed and now it's 38 seconds.

anything new about the godawful audio issue ?