Skip to content
This repository has been archived by the owner on Mar 19, 2022. It is now read-only.

Ethernet does not work #13

Open
thalueng opened this issue Jan 18, 2021 · 1 comment
Open

Ethernet does not work #13

thalueng opened this issue Jan 18, 2021 · 1 comment

Comments

@thalueng
Copy link

The app works on wireless, does not work on a wired connection. It seems that pulling the config data does not transfer information about the network preferences, but I can't find the location to tweak it in the smali files.

@thalueng
Copy link
Author

thalueng commented Jan 18, 2021

I found a work-around. Patch method isWiFiConnected in ConnectivityUtils.smali to always return true. It's not perfect, but allows the app to stream on a wired connection.

diff -ruN netflix_stock/smali_classes2/com/netflix/mediaclient/util/ConnectivityUtils.smali netflix_patch/smali_classes2/com/netflix/mediaclient/util/ConnectivityUtils.smali
--- netflix_stock/smali_classes2/com/netflix/mediaclient/util/ConnectivityUtils.smali 2021-01-18 23:51:36.887396400 +0700
+++ netflix_patch/smali_classes2/com/netflix/mediaclient/util/ConnectivityUtils.smali 2021-01-19 00:26:08.139067800 +0700
@@ -2405,11 +2405,8 @@
.locals 2

 .prologue

- .line 541
- if-nez p0, :cond_0
-
.line 543
- const/4 v0, 0x0
+ const/4 v0, 0x1

 .line 547
 :goto_0

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant