yashsingh1/xdaforums huggingface dataset:
[OnePlus 5 & 5T Cross Device Development] sunblade7:
Same WiFi network for both phones. Just to confirm, you are testing with two OP5 phones in the prescribed state? A false negative will result in this case:

- Phone 1: prescribed state

- Phone 2: some other phone or other state

- Monitor logs on Phone 1 only

Reason is because in the "First Failing Test" the failures are (bizarrely) only seen on Phone 2 (the one that was not upgraded to Mar 7!). Most reliable test method is ensure both phones are on Mar 7 and monitor logs on both phones.

In any case, I will retest by flashing stock via MSM, upgrading to 10.0.1, then install April 3 OTA so that Mar 7 is completely bypassed. It is possible that the issue is only present when Feb 6 is upgraded to Mar 7 so I may do additional testing to isolate that factor.
[OnePlus 5 & 5T Cross Device Development] robertogl:
I have a op5 to the latest release here, and one op5 to an android 13 release from last year.

I can't upgrade the second op5 yet, so this is the only test setup I have :D
[OnePlus 5 & 5T Cross Device Development] sunblade7:
I reproduced the failure on both phones by flashing the April 3 OTA directly from OOS 10.0.1. So there is no "bad migration" or "upgrade" effect. I also reproduced it at a coffee shop WiFi to rule out any network effects on my WiFi. Same results.

For your limited test setup, the only way to see the error is to collect logs on the A13 phone. I know it's weird, but that's what I observed. The A14 phone will NOT show disconnect/reconnect cycles, despite being the culprit. The A13 phone WILL (err... should) show disconnect/reconnect cycles, despite NOT being the culprit. So bizarre...

Would very much appreciate it if you can check those logs. Been banging my head on this for a while and all tests point to the ROM...
[OnePlus 5 & 5T Cross Device Development] robertogl:
But the phone call did not disconnect (?)

Shouldn't it disconnect when the issue appear?
[OnePlus 5 & 5T Cross Device Development] sunblade7:
No, it's an asymmetrical problem. Each phone experiences a call disconnect/reconnect on their own 5 minute interval. The disconnect on one phone does not impact the disconnect on the other phone. But there are two disconnects per each 5 minute interval (one on each phone).

Also it will reconnect within 2 seconds so if you don't watch it with eagle eyes or collect logs, it is very easy to miss.
[OnePlus 5 & 5T Cross Device Development] robertogl:
But I mean, on the phone with the issue, does the call continue without issue?

Because I have both phones here and (without looking at the logs) I did not see any disconnection on both phones.
[OnePlus 5 & 5T Cross Device Development] sunblade7:
The call will reconnect so the problem is only visible for about 1 second (very easy to miss). I highly recommend collecting ADB logs on both phones simultaneously. The A13 phone should show the disconnect/reconnect cycle in the logs. I'm sorry this is so confusing. Just my observation :D
[OnePlus 5 & 5T Cross Device Development] Mohdzubaidi:
any answer please?
[OnePlus 5 & 5T Cross Device Development] robertogl:
So, I can see the logs now but I'm not sure of the cause lol

5 minutes is the default webrtc timeout though:

Call audio drops after 5 minutes over WebRTC/TURN

I have an issue that is fairly difficult to reproduce, but I’m hoping there’s someone who has any general thoughts on what could cause it. When I connect to Asterisk over WebRTC on a connection sufficiently complex to require TURN, things work great for 5 minutes and then no audio is received...

community.asterisk.org

Webrtc connection drops after 5 minutes on Apple devices (with coturn server)

I've setup a turn server for my WebRTC application. On Windows and Android, the application (and the turn server) works as expected. When I try the app on iOS or MacOS (currently only happening on ...

stackoverflow.com

I guess maybe something changed on Android and now this value is used if the app does not provide its own timeout or something like that (?)

I would suggest to open a ticket in the app repo (I see it is opensource) so that at least we can understand what's happening and gather more info.
[OnePlus 5 & 5T Cross Device Development] sunblade7:
Great to hear that you reproduced it! I see the Google WebRTC repo but there isn't really an issue tracker there. I see the related GitHub repo but I'm not sure what exactly I would say given that this is an Android issue and we don't know for sure that it is due to WebRTC. Yes we have the 5 min timeout but that may only be a symptom of something deeper.

I know the issue was absent on r25 and present on r29. I see that AOSP has

externel/webrtc so I tried reverting that back to r25 but no dice. It's possible the issue is in the network stack.

Now that you have reproduced I should share some packet capture details which may or may not be helpful: tcpdump shows that healthy audio calls have STUN request/response cycles like this:

- User 1 sends STUN binding request

- User 2 sends STUN binding response

- User 2 sends STUN binding request

- User 1 sends STUN binding response

On calls with disconnect/reconnect cycles, the STUN binding request/response proceeds as expected but then after some time, some some STUN binding packets are lost/dropped and the peers become confused (repeatedly sending requests) or non-responsive (ignoring repeated requests). This suggests that the network layer is misbehaving.

I am suspicious of changes to packages/modules/NetworkStack between r25/r29 but I can't just revert it and there are so many changes so I'm not sure where to start. I see many commits related to "doze lite" but that should be for after the screen is shut off, which is unrelated to this test.
[OnePlus 5 & 5T Cross Device Development] robertogl:
I was referring mostly to the Conversations repo:

Conversations

Conversations is an open source XMPP/Jabber client for Android

codeberg.org

The fact that the 5 minutes is *also* the timeout of webrtc is probably not random, so before investigating Android I would ask the the Conversations developers what they think.

If the issue is present only with Conversations, which I think it is, I don't think the issue is in the Android framework/components.

If this issue was present in the Android networking stack, I would expected everyone to have notice this with any app...
[OnePlus 5 & 5T Cross Device Development] sunblade7:
Ok I posted an issue here.
[OnePlus 5 & 5T Cross Device Development] robertogl:
Cool, thanks.

The real issue with a problem in AOSP is that Google does not listen anyway, so even if we find a bug there...
[OnePlus 5 & 5T Cross Device Development] sunblade7:
If you have any ideas on how I could investigate this further (any suspect AOSP repos?) or create a "hotfix", please let me know. It's a killer bug.
[OnePlus 5 & 5T Cross Device Development] robertogl:
The issue could literally be in any random repo, assuming it is in AOSP. No idea.

More information may be provided by the app developers, they know which API are called and which API gets called when the issue appears.
[OnePlus 5 & 5T Cross Device Development] sunblade7:
Just wanted to add another data point here that involves a non-OP5 phone.

Test Conditions

- Phone 1: OP5 on Apr. 3 ROM

- Phone 2: Pixel 7 on latest Graphene OS version 2024040300

- All other parameters same as prior post (Conversations APK, XMPP server, WiFi, etc.)

- OBSERVE: Same bizarre results as the "First Failing Test" here with the Pixel 7 mirroring the behavior of the OP5 with Feb. 6th ROM installed. Pixel 7 shows disconnect/reconnect in logs. OP5 does NOT show disconnect/reconnect in logs (totally counter-intuitive).

It seems like the OP5 Mar. 7 release causes a failure to RESPOND to STUN pings, which causes the OTHER phone to disconnect/reconnect. It seems like the OP5 does not experience a disconnect/reconnect because the Pixel 7 correctly responds to STUN pings.

Based on these results it seems like the issue is not solely due to AOSP r29 changes but rather some changes in the OP5 AOSP r29 repo since r25. Of course there is the possibility that Graphene OS has custom changes that hide this bug.

Are there any repos in rs.xml that I should investigate?
[OnePlus 5 & 5T Cross Device Development] robertogl:
I think that I did not change basically anything in that release lol

It was just a release for the security patches, so not sure.

Ah the hardware/QCOM/WLAN repo now is the AOSP repo, but I think graphene is using the same.
[OnePlus 5 & 5T Cross Device Development] sunblade7:
I tried re-adding this block in rs.xml:

<!-- This is an hack to circumvent some security policies from Google: put the wlan hal from Qualcomm in hardware/qcom/wlan/legacy -->
<remove-project name="platform/hardware/qcom/wlan" />
<project path="hardware/qcom/wlan" name="hardware_qcom_wlan" revision="gl/android-14.0.0_r1" remote="githubgl" />

But I ran into this build error:

error: frameworks/opt/net/wifi/libwifi_hal/Android.bp:152:1: "libwifi_hal_vendor_impl_defaults" depends on undefined module "libwifi-hal-qcom".
Or did you mean ["libwifi-hal-bcm"]?
fatal errors encountered

So I tried commenting out this block in frameworks/opt/net/wifi/libwifi_hal/Android.bp:

qcwcn: {
defaults: ["libwifi-hal-qcom"],
},

But then WiFi is broken (no networks are detected). Can you please advise me on how I might test re-adding that block in rs.xml?
[OnePlus 5 & 5T Cross Device Development] robertogl:
I changed that because otherwise wifi doesn't work indeed :)

So not sure of other solutions for it.

Do you have 4g to test it using the mobile network?
[OnePlus 5 & 5T Cross Device Development] sunblade7:
Good suggestion on testing 4G. I have confirmed that the issue is absent when connected to 4G. So the issue is on WiFi only and appears to be directly related to that change to hardware/qcom/wlan.

Based on this new information are you taking ownership of this bug? Should I stop investigating how to fix it?
[OnePlus 5 & 5T Cross Device Development] sunblade7:
I remembered that Jitsi uses WebRTC so I tested it. Same effect of connection instability every 5 minutes with log entries like this:

04-10 22:48:48.535 12790 12831 D JitsiMeetSDK: [modules/connectivity/TrackStreamingStatus.ts] Figure out conn status for 8f460b7c-v0, is video muted: false video track frozen: true p2p mode: true is in forwarded sources: false currentStatus => newStatus: active => interrupted
04-10 22:48:48.535 12790 12831 D JitsiMeetSDK: [modules/connectivity/TrackStreamingStatus.ts] Emit track streaming status(1712814528523) 8f460b7c-v0: interrupted

This is a crippling bug for encrypted communication. Can you please let me know if you intend to look into it? If not, no worries. Just let me know so that I know I need to. :)
[OnePlus 5 & 5T Cross Device Development] robertogl:
Do you have a full logcat of the op5 (which is not failing, but causing the issue)?
[OnePlus 5 & 5T Cross Device Development] robertogl:
@sunblade7 try syncing and building now, or just pick this:

msm8998-common: wifi: disable APF · OnePlus-5-T/4.14-device_oneplus_msm8998_common@0d8e9e8

After the Android 14 QPR2 release, this is causing wifi instability. The root cause is not clear yet, but until we figure it out, disable APF. Signed-off-by: Roberto Sartori <roberto.sartori.an...

github.com

Let me know if it works.
[OnePlus 5 & 5T Cross Device Development] sunblade7:
That fixed it! Thanks a ton for finding a solution! :D
[OnePlus 5 & 5T Cross Device Development] robertogl:
Cool, great!
[OnePlus 5 & 5T Cross Device Development] Rmaier14:
Thanks for this Rom, works very well, unfortunately I can't find the option to swap the navigation buttons. Does anyone have a tip please, I don't want to show an additional navbar, which would be possible with some apps, thanks.
[OnePlus 5 & 5T Cross Device Development] spuiqr:
There's a settings extra app in Android 13. Don't know it's still in Android 14 or not?
[OnePlus 5 & 5T Cross Device Development] robertogl:
It is present but it swaps the physical buttons, not the navigation bar buttons.
[Samsung Galaxy S10+ Questions & Answers] sjbayer3:
I have an S10+ that I no longer use, but wanted to get in to pull off all my old photos, etc.

I have no idea how but I cannot remember the pin. I thought I kept the same pin on my new as my old phone but it doesnt work. This is after teh phone boots up and asks for the samsung pin.

When I use samsung findmydevice to unlock remotely, it fails and Samsung said that I never activated this feature.

Is there anything I can do instead of wiping the phone?
[Android TV General] chrisphotonic:
I'm trying to get started with LinageOs on Odroid-c4. I've been following the guide here https://wiki.lineageos.org/devices/odroidc4/install. Unfortunately the aml_install_package.img image doesn't seem to have enough installed on it to let me install from recovery. When sideloading the OS, I get zip verification failed.

Does anyone just have LineageOs 20 as an IMG file I can write directly?
[Google Pixel 7 Pro] mavrovelos:
I'm with a rooted Pixel 7 pro ,stock with July update. I plan to upgrade to Android 14, the question is can I factory reset the phone at this current root state, without problems, so I can upgrade after that the phone to Android 14 as an OTA update? Is it possible?
[Google Pixel 7 Pro] jhjhjhjhjhjh:
Best and safest way is to flash A14 using Android flash tool.. A cpu and Internet connection all you need ..That tool will upgrade or downgrade with no issues..
[Google Pixel 7 Pro] simplepinoi177:
But to directly answer your question, if you really wish to do the stock System Updater OTA update, still use the tool jhjhjhjhjhjh above suggests (Android Flash Tool) to flash your July firmware and re-lock the bootloader (it will wipe & factory reset your phone automatically as relocking bootloaders do this anyways) -- there have been innumerous Pixels that have been hard-bricked because of re-locking the bootloader wrong, but with the official Android Flash Tool, they know what they're doing to get things properly done without breaking it (obviously).

Then, after, you'd be unrooted and fresh that you can now take the OTA update from the stock System Updater.

Although I think doing it jhjhjhjhjhjh suggested works just fine and yours is a rather roundabout way....
[Google Pixel 7 Pro] danw_oz:
I am not sure that locking the bootloader is a requirement for OTA updates, well it wasn't on 6 Pro at least. root in my experience was the stopper.

Qucikest and easiest option IMO based on your direct question.

Just flash July Update using the online flasher, just pick your build (July shown below target)and select flash, select the following two options.

View attachment 6017905

Then run OTA once you go through the setup again with fresh July install.

If you are factory resetting as mentioned above it would be better to flash 14 directly, as I wouldn't trust the OTA for a full build change, IMO I have seen unusual behaviour and issues down the track in the past OTA major builds.
[Google Pixel 7 Pro] weriwd:
I'm currently also on the July update and rooted. Should I update to the latest September version and then to A14, or can I directly install (throug flash tools)A14 without losing root or breaking anything?
[Google Pixel 7 Pro] simplepinoi177:
Good god I

do not

know why I thought OP wanted to relock his bootloader -- I think I was speaking to another member about unlocking/locking the bootloader and I got confused and accidentally carried it along into this discussion...

@mavrovelos , danw_oz is correct; you do not need to factory reset or anything to update through the OTA using the stock System Updater. You just need to unroot/remove root. Doing it through the Magisk Manager app would suffice; but if you have the know-how and are willing, you could always re-flash the stock init_boot.img afterward for good measure.
[Google Pixel 7 Pro] mavrovelos:
Is the command "force flash all the partitions" necessary?
[Google Pixel 7 Pro] danw_oz:
I do not believe so, either way it would not hurt
[Google Pixel 7 Pro] danw_oz:
A friend of mine did the OTA Pixel 6 Pro, and has reported to me loosing a heap of apps in the process.

I suspect his app update hygiene is probably to blame, and in combination with his Android updating. I believe/suspect that he updated from a 32bit system straight to android 14. Therefore bye bye 32bit apps
[Wing, P4350 Herald Upgrading] enyce5434:
i need help with my wing..i cant received or send MMS...i flashed my wing already and its working fine..but excepted this..thanks :confused:

MOD EDIT: PLEASE DO NOT POST DUPLICATE THREADS -THREAD CLOSED-
[Wing, P4350 Herald Upgrading] Imyman:
Go in SMS/MMS options and make sure reject all messages is cleared.
[Samsung Galaxy A50s Questions & Answers] AlexisSylar:
Hallo. If I change firmware on SM-A505G, maybe to firmware for another model (will it work?) - will it activate NFC? Because it doesn't have it on a505g. But it should have it physically there, I think it's just not activated
[Android Head-Units] ShIvADeSt:
Good day, my friends

I have head unit GT6 (G6) with Qualcomm Snapdragon 665 (QCM6125) and Android 10 (it has fake Android 11 label, but actually its Android 10). I wish to make mods for this unit, to add extra features and fix some issues / layouts. But I cannot figure out, how to get access to change files. I already made mods for PX3/PX6 units, but nothing works for this ones.

If someone could help, it will be appreciated. Also I could pay good price for help and support for this work.

Spoiler content hidden.
[Android Head-Units] Renate:
Even though you can get a lot done with just dd or fastboot, I would encourage anyone before embarking on a project of modding to find a Firehose loader and make sure that you have EDL at your disposal. (Obviously this applies to just Qualcomm devices).
[Android Head-Units] Carlos_RJ:
Good evening guys, I need your help.

I bought a car that came with a Kronos BT T3 P1 control unit.

I can't access the play store, it gives an error message and closes the app before even entering the password. I tried restoring to factory default but it didn't help.

Can you tell me how to enter recovery mode on this multimedia?

I hope that doing a wipe data and wipe cache can solve it.

Or if you have any suggestions I would really appreciate it.

Just to clarify, I cannot appeal to the previous owner as she passed away and her mother sold the car after the inventory.

Thank you very much for your help.

CarlosView attachment 6017879
[Samsung Galaxy Watch 4] xdaforo:
Hello,

I’m trying to use GW4Remap to remap long press back button in order to call Google Pay instead Samsung Pay. I downloaded the latest version in the github site, (GW4Remap-v2.0.0-alpha1) and after that I follow the next instructions:

Samsung Pay button in region with no Samsung Pay and clicking sound · Issue #4 · BigBoot/GW4Remap

Hello, is there a way to use the Samsung pay shortcut (bottom key - long press) in a region where Samsung Pay is not available? Since it is not installed now even after long pressing the bottom key...

github.com

However I can’t make it work.

My watch came with Samsung Pay preinstalled.

Some questions do come up:

Is it compulsory to uninstall / disable bixby and Samsung pay to remap?

Does this app version work for both watch versions with and without Samsung Pay?

I tried changing the predetermined apps stablished for both buttons. None are called: I have uninstalled Samsung Pay and nothing opens with long press back button, and Google Assistant opens with the other button when long pressing no matter what apps I have chosen to use with the buttons.

Any ideas?
[Samsung Galaxy Watch 4] wyt18:
The only method that works now is via accessibility service (system recognizes when SamsungPay is opened, then triggers launch of another app/activity). So you have to keep Samsung Pay enabled

The GW4Remap v2 uses a different method, so you can either roll back to GW4Remap 1.01, or SPayRemap. Both still work

Or if you use Autowear, which also uses accessibility service, just setup a Tasker profile to watch for SamsungPay, and trigger a replacement app to open right after that
[Samsung Galaxy Watch 4] xdaforo:
Thank you for your answer.

Ok then, so what's gw4remap v2 for?

Do you recommend any particular app between Gw4remap 1.01, spayremap and autowear? why? Is any of them better in terms of time response, consumption etc?

I read as well about a particular app for those watchs which come without samsung pay installed (SPayToGPay) to do the same.

EDIT: i have tried spayremap and it works like a charm. The only downside that I find with google pay is that it doesn't disconnect NFC once Google pay is closed or sent to the background like it happened in S. Pay.
[OnePlus 11] H4X0R46:
My YouTube is all messed up and won't let me uninstall the last update. Play store crashes when I try. Is it safe to root uninstall YouTube with this phone or will it bootloop? 🤔
[OnePlus 11] ZG_DEV:
There is no danger in Uninstalling it -- it is safe if you "debloated" it by a debloater
[OnePlus 11] H4X0R46:
Debloater? Is that different from just using root uninstaller? I'm not familiar with debloater tbh.
[OnePlus 11] ZG_DEV:
Debloater is the same as root Uninstaller, but more safer, as if you fell on bootloop, easily removing the debloater folder from magisk module directory will solve the bootloop ;)
[OnePlus 11] user0u:
You can clear data for youtube using this app manager. A far less destructive method.
[OnePlus 11] ZG_DEV:
He wants to completely remove youtube :)
[OnePlus 11] ZG_DEV:
I meant he can try to downgrade the update by going into app info and click "Uninstall updates"

Also removing data of both apps are useful but I was saying the recommended solutions:)
[OnePlus 11] surajpai524:
Actually completely removing like normal uninstall is not possible even with root. You can just use Magisk based debloat modules to do a fake uninstall.
[OnePlus 11] ZG_DEV:
I tested removing an app completely from the system using an app ( sorry but I cannot say it's name because of XDA rules) and it worked flawlessly ( I could not even find the app folder in /system/app)
[OnePlus 11] surajpai524:
YouTube app will be in /system/product/app/YouTube.
[OnePlus 11] ZG_DEV:
Oh yes I forgot

The app can remove this app from this directory too !
[OnePlus 11] swehes:
Titanium Backup is very good at removing system apps.
[OnePlus 11] ZG_DEV:
Yes this works too !
[OnePlus 11] reborn2020:
Why don't you just use ADB commands? it's pretty simple and safer than other methods.
[OnePlus 11] GalaxyA325G:
Force clearing data and cache is a very important subject, I heartily agree.

How best to force clear data and cache for any or all apps

I have to agree that adb will uninstall ANYTHING & EVERYTHING (yes, even system packages) from the user partiion (without ever being rooted!); so why not use adb to uninstall YouTube?

Here is how I use the FOSS YouTUbe replacement client, for example:

FOSS YouTube Replacement Client Use Model

However, I agree with the trepidation that some people have in that deleting all system apps willy nilly can have both good and bad consequences...

What happens when you uninstall the webview system package

In addition, someone mentioned Muntashirakon App Manager, which is the best, by far, app manager on Android (IMHO), so here's more information about it.

Muntashirakon App Manager use model

I see the Google Play Store is crashing for some, where, again, my recommendation is to uninstall it using adb on a non-rooted phone (remember, you can always uninstall anything from the user partition!) in favor of the FOSS replacement client.

FOSS Google Play Store Replacement Client Use Model

In summary, not only can you use adb to uninstall any package you want to uninstall from the user partition without being root, but you can REPLACE almost all the Google system apps that you uninstalled - with their FOSS equivalents.