yashsingh1/xdaforums huggingface dataset:
[OnePlus 7 Pro Guides, News, & Discussion] billyt1:
Did y'all try unselecting mobile data always on in dev options. Also maybe try MSM tool to Android 10. On the Pixel 3 / 3XL some had issues with sensors not working properly having to revert to pie to fix issue sorta sounds like what could be happening to some here. Or might need to pull build.props from stock and a custom ROM. From system and vendor to eye ball the differences might find some extra data or wifi props from stock that ain't there on custom roms. Also try flashing the persist.img after flashing the ROM helped some on the pixels

---------- Post added at 03:28 AM ---------- Previous post was at 02:57 AM ----------

4-02 17:43:03.345 W/BroadcastQueue(1667): Permission Denial: receiving Intent { act=android.net.wifi.RSSI_CHANGED flg=0x4000010 (has extras) } to ProcessRecord{3ae4f94 3939:com.teslacoilsw.notifier/u0a233} (pid=3939, uid=10233) requires android.permission.ACCESS_WIFI_STATE due to sender android (uid 1000)

Looks like its your carrier teslacoil having issues with bugle RCS system. Bugle is Google Messages

---------- Post added at 03:36 AM ---------- Previous post was at 03:28 AM ----------

https://www.xda-developers.com/enable-preferred-wifi-calling-option-verizon-pixel-pixel-xl/

Kno its Verizon but could be same issue happening

https://xdaforums.com/pixel-3-xl/help/strange-issue-using-wifi-pixel-3-apps-t3857059

Another wifi issue on the Pixels
[OnePlus 7 Pro Guides, News, & Discussion] cd993:
Thanks for the input.

There's some useful suggestions here, though I'm now back on stock for the time being. Has anyone else tried clean flashing with MSM tool?

Also that telsacoilsw relates to Nova Launcher somehow.
[OnePlus 7 Pro Guides, News, & Discussion] cd993:
Sorry see above, was meant to quote you!
[OnePlus 7 Pro Guides, News, & Discussion] Toutatis_:
I've just disabled it in Developer options, rebooted and Wi-Fi dropped about two minutes later (I'm back on MSM Xtended now by the way).

Attached build.prop from MSM Xtended (April 14th build). The issue occurs on HavocOS which uses stock OxygenOS Wi-Fi config though... could anyone post OxygenOS build.prop file so that we can compare?

I haven't tried using MSM tool yet. Thanks for the suggestion, I will in the next few days.

I read about persist.img file, it helped some people with sensors issues. I've just tried to extract it from OnePlus stock zip payload.bin using this tool.

While the extraction works fine, it doesn't pull any persist.img file (same issue than this post):

$ python extract_android_ota_payload.py OnePlus7ProOxygen_21.E.25_OTA_025_all_2003270113_4588ebe57af551.zip /tmp/
Extracting 'payload.bin' from OTA file...
Extracting 'LOGO.img'
Extracting 'abl.img'
Extracting 'boot.img'
Extracting 'dtbo.img'
Extracting 'odm.img'
Extracting 'system.img'
Extracting 'vbmeta.img'
Extracting 'vendor.img'
Extracting 'aop.img'
Extracting 'bluetooth.img'
Extracting 'cmnlib64.img'
Extracting 'cmnlib.img'
Extracting 'devcfg.img'
Extracting 'dsp.img'
Extracting 'hyp.img'
Extracting 'keymaster.img'
Extracting 'modem.img'
Extracting 'qupfw.img'
Extracting 'storsec.img'
Extracting 'tz.img'
Extracting 'xbl_config.img'
Extracting 'xbl.img'
Extracting 'oem_stanvbk.img'
Extracting 'reserve.img'

Anyone knows any other method to get it so I can flash it?

As [MENTION=1758866]cd993[/MENTION] said, com.teslacoinsw.notifier refers to TeslaUnread for Nova Launcher. Unrelated since Wi-Fi drops on all the ROMs I mentioned, even during the initial setup for most of them (except Omni Treskmod during my tests). None of them comes with Nova Launcher or TeslaUnread.
[OnePlus 7 Pro Guides, News, & Discussion] cd993:
Thanks mate.

I've attached (see the next post...) the OOS build prop, though I do have xXx and Renovate ICE enabled, just in case that matters (if any build prop tweaks would make a difference)? I can always disable then and reupload if needed
[OnePlus 7 Pro Guides, News, & Discussion] cd993:
Attached!
[OnePlus 7 Pro Guides, News, & Discussion] cd993:
[MENTION=4880098]Toutatis_[/MENTION]

I just managed to backup the persist.img file with this:

https://play.google.com/store/apps/details?id=ma.wanam.partitions
[OnePlus 7 Pro Guides, News, & Discussion] Toutatis_:
Works fine indeed. I went with persist.img from [MENTION=4712355]mauronofrio[/MENTION] here and flashed it with fastboot:

sudo fastboot flash persist persist.img

Nothing changed though, Wi-Fi dropped a minute after I rebooted...

Thanks for posting your own build.prop file, maybe someone can spot some relevant differences between yours on stock OxygenOS and mine on a custom ROM. I'm not skilled enough for this, especially because they don't have the same structure.

Should I bother using MSM tool considering that flashing persist.img doesn't make any difference?
[OnePlus 7 Pro Guides, News, & Discussion] cd993:
Hmm I'd be hesitant to be honest. I mean it may be worth it and it's something to try, but I suspect there's something going on with software settings somewhere.....

Though with that said, I'm at a loss as to what to try next!
[OnePlus 7 Pro Guides, News, & Discussion] Toutatis_:
I'll use MSM tool when a new MSM Xtended build comes out. I doubt it does anything else than what flashing full OTA zip does (besides relocking the bootloader) but I will try for the sake of trying.

Unless someone who has the Wi-Fi issue already tried MSM tool to no avail?
[OnePlus 7 Pro Guides, News, & Discussion] miffymiffy:
try using a smurf kernel from the start of the year which didnt use caf wifi drivers
[OnePlus 7 Pro Guides, News, & Discussion] Toutatis_:
Only two Smurf builds were released in 2020 so far: 3.5.0 on 01/24 and current 3.5.1 on 04/24. I already tried both and issue still occurs.

I've just flashed 3.5.0 again just to make sure and Wi-Fi dropped twice in less than 10 minutes.
[OnePlus 7 Pro Guides, News, & Discussion] miffymiffy:
The builds I was referring to were well before that. Maybe hit Erik up in his telegram for one of them.
[OnePlus 7 Pro Guides, News, & Discussion] Toutatis_:
Oh, OK. I made this assumption based on public available builds. So you're referring to builds released between January 1st and January 21th?

I don't use Telegram and don't want to though.
[OnePlus 7 Pro Guides, News, & Discussion] cd993:
Has anyone tried [microG] AOSPA-Extended Quartz [30/04/2020] in terms of the WiFi drop out issue?
[OnePlus 7 Pro Guides, News, & Discussion] Toutatis_:
Nope. It's based on Paranoid Android and I got the Wi-Fi issue with Paranoid Android so it'll most likely occur on AOSPA-Extended too.
[OnePlus 7 Pro Guides, News, & Discussion] cd993:
Ah thanks mate, saves me the flash in this case!
[OnePlus 7 Pro Guides, News, & Discussion] Toutatis_:
I've just clean flashed AOSiP-10-Quiche-guacamole-20200506-signed.zip, Wi-Fi drops too...

I didn't use MSM tool because it's over 2.5GB (low bandwidth here) and I don't have access to any Windows machine for now.
[OnePlus 7 Pro Guides, News, & Discussion] cd993:
Thanks for the update.

It's a huge shame but I'm running out of hope! Though also I'm just accepting that actually I have a dam good phone, that has all the features I want (though gravitybox, custom roms etc.) and just works. It's the flashoholic in me that still craves to flash something lol but ultimately, I am actually still happy ?
[OnePlus 7 Pro Guides, News, & Discussion] Toutatis_:
I'm also starting to think that we might never get it fixed, at least not on Android 10 ROMs. I could also stick with OxygenOS and RENOVATE ICE / xXx but I much prefer custom ROMs, although Wi-Fi keeps disconnecting.

Today, I flashed LineageOS and the issue persists. I uploaded some logs on LineageOS thread, hopefully the maintainer can take a look and help.

Meanwhile, new Havoc build with May security patch is out and the devicechangelog says "Improved WiFi".

I'll clean flash and see for myself, although I'm not really expecting anything but borked Wi-Fi at this point!

Edit: still disconnecting on Havoc-OS-v3.5-20200507-guacamole-Official
[OnePlus 7 Pro Guides, News, & Discussion] cd993:
Dam shame the latest havoc still isn't working!

Hopefully some dev or someone with technical knowledge can get to the bottom of this.....
[OnePlus 7 Pro Guides, News, & Discussion] cd993:
Posted again in the Havoc telegram group
[OnePlus 7 Pro Guides, News, & Discussion] frogzhou:
Stock oos 10.3.2: no issue

Stock oos 10.3.2 + kirisakura kernel: Wi-Fi drops every 30 min
[OnePlus 7 Pro Guides, News, & Discussion] pratyush28:
Hello guyz I don't have a OnePlus 7 pro but I do own a OnePlus 3T with the exact same issue and it's been 2 years since I'm facing this bug. I totally lost hope a year ago but now that I have spare time again I am looking into newer solutions.

https://forums.oneplus.com/threads/wifi-drop-only-on-custom-roms.751226/

Here's the thread on oneplus forums that i wrote 2 years ago I still have the same issue and it was only working properly on one single custom rom i.e Pixel Experience. I've tried countless custom roms after that but it never worked.

One thing I have done recently is use the wifi config files from my oneplus 2 and always keep mobile data disabled when wifi is turned on. This drastically reduces the frequency of drops for me atleast. But still every now and then it drops randomly usually happens when the rssi (signal strength is low)

Now im very scared to buy a new oneplus phone as I am an flashaholic and just cant simply stand these drops.

The things I have tried so far

1. MSM tool normal mode

2. MSM tool Smt mode (which wipes your efs partition have to manually restore efs partition backup later)

3. Flashed multiple roms (Only Pixel Experience passed)

4. Used wifi config files from oos (even copied entire wifi folder under /system/vendor/etc/wifi

5. Lost Hope and used oos for 1 year with edxposed :eek:
[OnePlus 7 Pro Guides, News, & Discussion] Toutatis_:
Interesting. Thanks for the heads up regarding MSM tool, I was pretty sure it wouldn't make any difference anyway. I won't even bother trying it.

So this Wi-Fi drop issue on custom ROMs was already present with OnePlus 3T... and it has never been fixed?

The OnePlus 7 Pro is my first OnePlus device so I don't have any experience with older models about Wi-Fi stability on custom ROMs.

I went with OnePlus for custom ROMs/kernels and extended software updates. Being stuck with stock OxygenOS isn't really what I'm looking for. Just like you, I might never buy a OnePlus device again just because of this. If it was already occurring on OnePlus 3T and is still there on OnePlus 7 Pro, there's no reason it won't still be a thing on 7T/ 8 series and next models.
[OnePlus 7 Pro Guides, News, & Discussion] pratyush28:
Unfortunately I was the one and only 3T user who faced this issue it wasn't as widespread as it is for you guyz.

Now today I saw this thread and now im really worried whether it will keep occurring if i upgrade to a newer oneplus. Just like you I am only hooked to OnePlus just because of its developer friendly environment.

I went through this thread and I read that the pie custom roms were working well for you guyz am I right? But for me every single custom rom right from oreo to android 10 all have the drop issue.

IIRC the first time it happened when I was on Resurrection Remix rom oreo. So my conclusion is in this period the roms implemented some code that broke wifi somehow and continued to use the same code in future which in turn broke all custom roms as all used the same base or something. I don't have any idea how these codes work so it would be best if developers hear you and find a fix for this otherwise 7pro will face the same fate as my device did and all roms will use the same code that breaks wifi.
[OnePlus 7 Pro Guides, News, & Discussion] pratyush28:
Hello guyz I have some good news to share with you!

I might have finally found a way to fix the custom rom wifi drops. Only works when mobile data is turned off though)

I once again started flashing various custom roms...like i had said previously only pixel experience worked for me but now I tested and even dirty unicorns didn't have any wifi drops. So what i basically did is, I took a kernel backup using Ex Kernel Manager on Dirty Unicorns rom and also copied the entire wifi folder in /system/vendor/etc/wifi.

Then I flashed EvolutionX rom (my current daily driver which has the drop issue) and restored the DU kernel over it as well as replaced the wifi folder which I had copied from DU. I rebooted and boom, no more drops even when rssi was super low...went as low as -90dbm without disconnecting.

I have set up an xposed module to notify me whenever wifi drops (even when phone is idle) and it has been 1 full day since I implemented this fix and it hasn't dropped even once. Still note that if mobile data is ON, wifi still gets a cross sign and switches to mobile data but that I guess is an android 10 feature to switch when wifi signal is weak.

So I guess this is it, the fundamental step in this fix is to find a custom rom that has functional wifi. OP ( [MENTION=1758866]cd993[/MENTION] )had said that carbon rom worked for him so it might work for you guyz too!

Good Luck and Happy Flashing :o Let me know If you guyz need any more info.
[OnePlus 7 Pro Guides, News, & Discussion] cd993:
How interesting! So perhaps worth a try to backup the kernel of CarbonRom and the WiFi folder, restore these on Havoc and hope for the best?!

[MENTION=4880098]Toutatis_[/MENTION] sounds promising!
[OnePlus 7 Pro Guides, News, & Discussion] pratyush28:
Yes you should try this, and also before doing this enable wifi vebrose logging on your current rom (can be found in developer options) and go to that location of your house where rssi value is the lowest (you can check the detailed values from wifi settings after enabling vebrose logging) for me lowest it used to go on wifi drop roms was -84 dbm. Now after i changed kernels it goes upto -90dbm without dropping.

Do this before and after test to confirm if the kernel change made a difference. Also make sure you disable mobile data it is a small price to pay for getting stable wifi. Good Luck :)
[OnePlus 7 Pro Guides, News, & Discussion] cd993:
Thanks mate, that's really helpful of you!

I'll hopefully try this out soon or perhaps [MENTION=4880098]Toutatis_[/MENTION] may have the time sooner!

Will definitely keep on with this.
[OnePlus 7 Pro Guides, News, & Discussion] Toutatis_:
I had Wi-Fi drop with Carbon so I don't think it would help in my case anyway. I tried pretty much all the custom ROMs I could find and had the issue with all of them.

You said you started to have this issue on Oreo ResurrectionRemix... so how could it be an Android 10 feature? plus, I never had any cross next to the Wi-Fi icon on Android 10 based OxygenOS.

I'm on MSM Xtended now, I tried to disable mobile data. With Wi-Fi enabled only, it dropped just like before. The Wi-Fi icon disappeared for a few seconds, briefly reappeared with a cross and then reconnected.
[OnePlus 7 Pro Guides, News, & Discussion] pratyush28:
When I was on oreo, even though mobile data was on, the wifi icon would completely disappear but in these android 10 roms, wifi icon gets greyed out and the mobile data (lte sign) shows up over the signal bars. I was meaning to say this mobile data handover thingy when signal is low was an android 10 feature which is now ruled out as for you guys it doesn't happen on oos Q.

About carbon rom, did you try testing wifi with mobile data turned off?

When I tried both dirty unicorns and pixel experience, the wifi would only soft drop (wifi icon greyed and lte appears), No hard drop whatsoever, meaning when mobile data was turned off the wifi would not drop unless I went out of range i.e at -90 rssi.

---------- Post added at 04:09 PM ---------- Previous post was at 04:00 PM ----------

Also does anyone of you know anything about compiling a kernel? I tried to edit the kernel img of dirty unicorns but apparently its a long process and requires some coding knowledge.

I wanted to experiment by editing a custom rom kernel and replacing the wifi drivers from the ones available inside oos kernel. If this experiment succeeds, we will have stronger signal strength on custom roms as well as eliminate wifi drops permanently.
[OnePlus 7 Pro Guides, News, & Discussion] cd993:
Hey, thanks for the message.

Unfortunately I'm in stock for now and not in a position to test quite yet, also I don't have any knowledge of compiling kernels either!
[OnePlus 7 Pro Guides, News, & Discussion] pratyush28:
That's a good opportunity to test if the oos kernel works with custom roms or not. As there is no android 10 oos for my device I could not test this.

You can try backing up the stock oos kernel and copy the wifi files from /system/vendor/etc and save it somewhere so that you can replace it later on a custom rom.

Make sure you backup everything though just in case something goes wrong while cross flashing kernels.
[OnePlus 7 Pro Guides, News, & Discussion] cd993:
Someone has kindly got in touch with me and suggested that the issue may be related to the WiFi drivers of the kernel.

Apparently Arter and Kirisakura use the latest ones and so is anyone with the WiFi drop out issue still on a custom rom able to test is using one of these kernels, to see if it helps? I'm mindful that custom kernels seemingly break fingerprint (and possibly more) but if this helps then perhaps we're on to a winner!

[MENTION=4880098]Toutatis_[/MENTION]
[OnePlus 7 Pro Guides, News, & Discussion] Toutatis_:
Doesn't make any difference, as you can see on attached screenshot. Already tried kirisakura on another custom ROM and still got Wi-Fi drop.
[OnePlus 7 Pro Guides, News, & Discussion] cd993:
Dam, worth a shot eh.

Really struggling what to try next!
[OnePlus 7 Pro Guides, News, & Discussion] Toutatis_:
I just stick with LTE and whenever I really need Wi-Fi I just move to another room in the house.

I've just flashed ResurrectionRemix and Wi-Fi also drops. Excellent ROM nonetheless.
[OnePlus 7 Pro Guides, News, & Discussion] cd993:
Unfortunately in my house I have poor phone signal so WiFi is needed.

Really at a loss as to what to try next
[OnePlus 7 Pro Guides, News, & Discussion] pratyush28:
[MENTION=1758866]cd993[/MENTION] [MENTION=4880098]Toutatis_[/MENTION]

You guyz literally won't believe what I found out lately, the kernel replacement workaround I mentioned earlier remember? I was using it on EvolutionX rom 2 days ago. But the kernel that i was using from dirty unicorns was outdated which resulted in my phone not going into deep sleep. So I thought this method won't work anymore, how would a kernel configured to run on a specific rom work on a different rom without any hiccups right?

So I went ahead and restored the original kernel of the rom (which had the wifi drop problem earlier) and to my surprise the drops weren't there anymore. So my guess here is that the du kernel installed some wifi modules that didn't get erased when i restored the original kernel backup.

So to test this theory, yesterday I decided to switch roms. I flashed MsmXtended Rom, checked that the original kernel actually had the wifi drop problem or not...yes it had, wifi dropped around -84 dbm when lte was turned off. Now i took a backup of this kernel (which has the drops) and stored it safely....Flashed the Dirty Unicorns kernel, no wifi drops on this kernel as expected went upto -90dbm without any issues. Now I went into wifi settings, reconnected to my wifi after forgetting it to make sure that the kernel installs the wifi modules correctly and let it stay overnight. Then today morning it was time to test my theory, I used EXKM and restored the original rom kernel and boom the drops weren't there!

Surprised right? I was too but it cannot be a fluke as it happened on two different roms and I feel like im the happiest person on earth after 2 years of struggle I finally managed to fix the annoying wifi drop problem. I really hope it works for you guys too...please try and let me know if it works for you
[OnePlus 7 Pro Guides, News, & Discussion] cd993:
Whaaaaaat, that's crazy!!

So using this theory: I could install CarbonRom (as that for me didn't have the WiFi issue), backup the kernel, clean install havoc, backup that kernel, restore CarbonRom kernel and then restore Havoc kernel?!
[OnePlus 7 Pro Guides, News, & Discussion] Toutatis_:
Interesting, I'm glad you sorted it out. However, the starting point of all of this is that you found a kernel which solves the Wi-Fi drops. I've yet to find one as far as I'm concerned... not to mention that some kernels break touch gestures / fingerprint reader on OnePlus 7 Pro, as [MENTION=1758866]cd993[/MENTION] previously said.

Just curious, when you're talking about Dirty Unicorns kernel, you actually mean the boot.img extracted from the ROM, right? asking because DU wasn't providing any flashable zip kernel back in the days I was using it on my Nexus 5.

[MENTION=1758866]cd993[/MENTION] If you actually don't have any drop with CarbonROM, maybe you should give this a try.
[OnePlus 7 Pro Guides, News, & Discussion] pratyush28:
Yesss! That's exactly what i did!
[OnePlus 7 Pro Guides, News, & Discussion] cd993:
Boom! Do you think using twrp to backup/restore would be just as good? Probs would be I'd think?!
[OnePlus 7 Pro Guides, News, & Discussion] pratyush28:
I did not manually extract the kernel from the zip...I flashed DU rom and used Ex Kernel Manager app to backup the kernel. You can also use twrp to backup the boot partition or use any other kernel manager to extract the kernel.

Also I had asked you this earlier but i guess you missed my question.. Did you test drops on carbon rom with mobile data disabled? Earlier even i used to conclude that the rom has the drop issue just by seeing that it hands over to lte after when the signal is low. But this is only a soft drop and can be bypassed by turning off lte.

I've configured my xposed module to automatically turn on mobile data when wifi is disconnected and disable it when wifi is connected this way I don't face any drawbacks from the soft drop workaround.

---------- Post added at 12:05 PM ---------- Previous post was at 12:02 PM ----------

I haven't tested it but i think it does the same job. The size of kernel backup even in twrp shows 64mb (same as the ones backed up using EXKM). You can try it if you want but make sure you use the kernel manager method if it doesn't work.
[OnePlus 7 Pro Guides, News, & Discussion] cd993:
I hadn't tried the data disabling option, but I certainly will do

Thats a good idea about the xposed module automatically turning on data etc, which is that?
[OnePlus 7 Pro Guides, News, & Discussion] pratyush28:
Xposed Edge Pro is the module, you can find the option under more triggers. The app is paid but is totally worth the investment if you like to customize your device beyond the custom rom level xD
[OnePlus 7 Pro Guides, News, & Discussion] cd993:
Thanks matey. I may not get chance to try this out until the weekend, but I'm certainly keen do so!
[OnePlus 7 Pro Guides, News, & Discussion] pratyush28:
:good: I really hope this workaround works for your device too!

Btw, the quote for carbon rom test using data disabled was meant for [MENTION=4880098]Toutatis_[/MENTION]

In the op you have mentioned that you faced no drops in Carbon Rom does that mean you did not even face the soft drops? The ones where the icon gets greyed out and Lte is turned on? Just curious because the soft drops were present even on Dirty Unicorns for me.
[OnePlus 7 Pro Guides, News, & Discussion] Toutatis_:
Ok, thanks for the clarification. I know about EXKM / TWRP and stuff, just wanted to make sure.

Sorry, I forgot to answer regarding Carbon and mobile data disabled. I didn't think about trying this at the time, unfortunately. I moved to another ROM as soon as I noticed the drop, I was trying a bunch of them one after the other that day.

However, I've been trying this right now on ResurrectionRemix for about an hour and didn't get any Wi-Fi drop thus far with mobile data disabled. And yet, I still have "Poor" Wi-Fi signal.