Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistent behavior with Play Store updates #37

Closed
cburschka opened this issue Jul 25, 2017 · 21 comments
Closed

Inconsistent behavior with Play Store updates #37

cburschka opened this issue Jul 25, 2017 · 21 comments

Comments

@cburschka
Copy link

@cburschka cburschka commented Jul 25, 2017

Not sure if this is a bug in the Play Store, but I generally find that updates can't be downloaded if wifi and data are both turned off. Instead of using the relay, the app will claim there is no connection available.

Briefly enabling the mobile data connection makes it work, and thereafter I can disable it again to download the updates via gnirehtet...

@rom1v
Copy link
Collaborator

@rom1v rom1v commented Jul 25, 2017

Yes, some apps (including PlayStore, apparently) only check whether there is wifi or mobile data, but not any other kind of connectivity.

@gilcu3
Copy link

@gilcu3 gilcu3 commented Aug 17, 2017

Sorry if I'm writing offtopic, but this behaviour is exactly what I get in my nexus 5 with AOSP 7.1. On the other hand, recently I have seen (unexpectedly) something different, with a Samsung Galaxy J2 Prime, stock android 6.0.1, and even without data nor wifi on all apps go through gnirehtet (play store, google apps, everything...). So I ask, is there any log I could get from the samsung phone so that to clarify why does it work there and then try to port it for everyone else?

@rom1v
Copy link
Collaborator

@rom1v rom1v commented Aug 17, 2017

The problem is probably related to setAsUnderlyingNetwork().

@gilcu3 If you know how to dev on Android, maybe you could check its behavior on your devices?

@gilcu3
Copy link

@gilcu3 gilcu3 commented Aug 17, 2017

Sorry @rom1v I'm don't know how to dev on Android, I could follow steps if you provide them though, I have basic knowledge on java, adb, linux...

@godofrayer
Copy link

@godofrayer godofrayer commented Aug 18, 2017

Its good enough to turn on your mobile data, even though your phone using gnirehtet. Your data wont reduce even you turn it on

@gilcu3
Copy link

@gilcu3 gilcu3 commented Aug 18, 2017

I know, and being rooted I can even do fancy stuff as automating the process. But what if there is no coverage or I have no sim, (and have no hotspot available)? Those situations are indeed happening sometimes :|

@rom1v
Copy link
Collaborator

@rom1v rom1v commented Aug 25, 2017

On devices where the Play Store does not work correctly with gnirehtet, does this page appear as offline or online?

@gilcu3
Copy link

@gilcu3 gilcu3 commented Aug 25, 2017

I loaded the page using chrome, and it shows:

You must go offline to view this page.
Enable airplane mode.

I enabled airplane mode, and it shows the same. So it appears online. Anyway chrome can open any page through gnirehtet, only apps like Inbox and Play Store don't work

@gilcu3
Copy link

@gilcu3 gilcu3 commented Sep 5, 2017

@rom1v
Today the Play Store app updated to version 8.1.73.S-all [0] [FP] 165518514, and now I get internet in the play store through gnirehtet, working perfectly :)

@rom1v
Copy link
Collaborator

@rom1v rom1v commented Sep 5, 2017

Great 👍

This shows that it is a problem in the applications themselves, so I'm closing this issue.

@qdeeds76
Copy link

@qdeeds76 qdeeds76 commented Aug 24, 2018

Hi just wondering if you could close another 5 topics so people wondering how the hell this project is supposed to be issued will know as a genuine fact that you have no interest in having a usable project here. Could you close everything? That'd be great. Hey, I have an idea. How about being absolutely no help whatsoever. Thank you

@rom1v
Copy link
Collaborator

@rom1v rom1v commented Aug 24, 2018

Hi just wondering if you could close another 5 topics

If more duplicates are posted, yes, I will close them as duplicate.

how the hell this project is supposed to be issued will know as a genuine fact that you have no interest in having a usable project here

Are you talking about the Google Play issue?

How about being absolutely no help whatsoever. Thank you

You're welcome.

@qdeeds76
Copy link

@qdeeds76 qdeeds76 commented Aug 26, 2018

That wasn't my proudest moment. Appreciate your humor. Believe it or not I've been sober for awhile but, I guess I can still be a little....irrational...when tired and crabby. Still working on that self-awareness thing, obviously.

I'll be honest it feels good knowing I was sober and can't just like shrug and be like "um, I'm an asshole when I'm drunk ad nauseum x 1000 times" and yep that was just me being a kinda whiney bitch who should have hung it up a few hours earlier.

@rafa9101
Copy link

@rafa9101 rafa9101 commented Dec 3, 2018

I just activated Mobile Data and solved the problem, installing the apks from google play with gnirehtet!!!!

Edit: If u have a rooted phone, use the Fake Wifi Reworked xposed module and it should work

@amosbird
Copy link

@amosbird amosbird commented Feb 14, 2019

@rom1v This issue seems to have other implications. Does gnirehtet setup VPN connection different than other apps ( e.g. https://github.com/itrump/shadowsocksRss/tree/master/android) ?

Play Store works as expected with those VPN apps except gnirehtet. All downloads are pending for a network connection. However, if a download is already running, switching to gnirehtet VPN works fine.

All these are tested on a Xiaomi6 phone with MIUI 10 9.1.24, Android 8

There is also a related issue. When opening netease-music without logging in, under gnirehtet network, it says "there is no network available", however after logging in, it works fine. (it's a Chinese spotify-like app https://www.coolapk.com/apk/com.netease.cloudmusic )

@rom1v
Copy link
Collaborator

@rom1v rom1v commented Feb 14, 2019

@amosbird
Copy link

@amosbird amosbird commented Feb 14, 2019

@rom1v thanks. Comparing to ssr I removed setAsUndernlyingNetwork(); and it works as expected

@amosbird
Copy link

@amosbird amosbird commented Feb 14, 2019

netease-music works fine too

@rom1v
Copy link
Collaborator

@rom1v rom1v commented Feb 14, 2019

Comparing to ssr I removed setAsUnderlyingNetwork(); and it works as expected

This is surprising, because the purpose of setAsUnderlyingNetwork(); was to make the application aware of connectivity. When I implemented it, it worked better with than without for many applications.

c99b1a7#diff-10904a1cf9037d4d44f3e5f5c7e492c8R75

@simonferndriger
Copy link

@simonferndriger simonferndriger commented Feb 20, 2021

What is the point of Gnirethtet, when major Apps do not work with it? Wouldn't it make more sense to collaborate with the Anroid developers?

@tvinki899
Copy link

@tvinki899 tvinki899 commented Mar 18, 2021

Comparing to ssr I removed setAsUnderlyingNetwork(); and it works as expected

This is surprising, because the purpose of setAsUnderlyingNetwork(); was to make the application aware of connectivity. When I implemented it, it worked better with than without for many applications.

c99b1a7#diff-10904a1cf9037d4d44f3e5f5c7e492c8R75

can someone give patched files or something for beginers who cant build it

@rom1v rom1v mentioned this issue Apr 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
9 participants