phhusson / treble_experimentations

Notes about tinkering with Android Project Treble
3.42k stars 661 forks source link

Moto G6 Play, the random wifi drops connection can be solved #1085

Closed choice77 closed 4 years ago

choice77 commented 4 years ago

Moto G6 play works very well on treble gsi made by Pieere (Oreo/Pie versions), but theres a little bug when smartphone go idle. The problems are two:

1 - When turnoff the screen or internet connection are idle, the dhcpd (or dhclinet) needs to reconnect to router. For this wifi re-connection (link up wlps0) is necessary about 12 seconds to communicated with router. (And about 10 seconds with static ip on moto g6 play wifi settings).

2 - Because, the problem one, apps on second plan (whatsapp, twitter) are totatly off when the screen is off or smartphone are idle.

On logcat, the only error message are:

linker
CANNOT LINKER EXECUTABLE "/system/vendor/bin/ims_rtp_daemon: library "vendor.qti.imsrtpservice@1.0.so" not found

The log bellow shows that a binary code by qualcomm or motorola that is responsable for communicate between acpi modes and wifi are not linked, or not can be distributed on treble roms (because is proprietary code).

The problem related, occur with all versions 8 and 9 of treble gsi roms. Is it possible to resolve?

phhusson commented 4 years ago

This problem has absolutely nothing to do with WiFi. This is for ViLTE

Le mar. 28 janv. 2020 à 00:30, choice77 notifications@github.com a écrit :

Moto G6 play works very well on treble gsi made by Pieere (Oreo/Pie versions), but theres a little bug when smartphone go idle. The problems are two:

1 - When turnoff the screen or internet connection are idle, the dhcpd (or dhclinet) needs to reconnect to router. For this wifi re-connection (link up wlps0) is necessary about 12 seconds to communicated with router. (And about 10 seconds with static ip on moto g6 play wifi settings).

2 - Because, the problem one, apps on second plan (whatsapp, twitter) are totatly off when the screen is off or smartphone are idle.

On logcat, the only error message are:

linker CANNOT LINKER EXECUTABLE "/system/vendor/bin/ims_rtp_daemon: library "vendor.qti.imsrtpservice@1.0.so" not found

The log bellow shows that a binary code by qualcomm or motorola that is responsable for communicate between acpi modes and wifi are not linked, or not can be distributed on treble roms (because is proprietary code).

The problem related, occur with all versions 8 and 9 of treble gsi roms. Is it possible to resolve?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/phhusson/treble_experimentations/issues/1085?email_source=notifications&email_token=AAAA4OXBVQPNHUHB55TNW6TQ75VARA5CNFSM4KMJ2AA2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IJCJWVQ, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAA4OQMCI4NDVEZIYNVEW3Q75VARANCNFSM4KMJ2AAQ .

choice77 commented 4 years ago

Thanks, for this technichal tip, phhusson!