Genymobile / gnirehtet

Gnirehtet provides reverse tethering for Android
Apache License 2.0
6.34k stars 581 forks source link

Welp friend, any idea about how to solve it? #511

Open ShadZerox opened 1 year ago

ShadZerox commented 1 year ago

imagem_2023-10-03_160839708

Im trying for a while now, this is happening with the rust version.

image

And this one is happening with the java 8 version.

rom1v commented 1 year ago

Did you install adb?

https://github.com/Genymobile/gnirehtet#adb

ShadZerox commented 1 year ago

Did you install adb?

https://github.com/Genymobile/gnirehtet#adb

I did, it's in the same folder as both versions.

rom1v commented 1 year ago

What is the result of adb shell dumpsys package com.genymobile.gnirehtet if you execute it from a terminal from the gnirehtet directory?

  1. press Windows+r, type cmd and press Enter
  2. type cd C:\the\path\to\your\gnirehtet (adapt the path) and press Enter
  3. execute adb shell dumpsys package com.genymobile.gnirehtet
sgwszzh commented 1 year ago

you may need this driver: https://developer.android.com/studio/run/win-usb

ghost commented 1 year ago

What is the result of adb shell dumpsys package com.genymobile.gnirehtet if you execute it from a terminal from the gnirehtet directory?

  1. press Windows+r, type cmd and press Enter
  2. type cd C:\the\path\to\your\gnirehtet (adapt the path) and press Enter
  3. execute adb shell dumpsys package com.genymobile.gnirehtet

Screenshott

ghost commented 1 year ago

I am also facing the same issue

ShadZerox commented 1 year ago

I am also facing the same issue

I solved it, you should execute it by CMD directly in the folder, just click at the folder directory bar, and type cmd, then press enter.

After that, type g and then tab until the gnirehtet.exe shows up. Press space and type install. Enter

If it succeed, just open the gnirehtet run archive at the folder.

If not, retry it a few times. You need your phone to be connected on the PC, USB debugging activated, and keep your eyes on the phone so as not to miss the linking warning.

ghost commented 1 year ago

If it succeed, just open the gnirehtet run archive at the folder.

If not, retry it a few times. You need your phone to be connected on the PC, USB debugging activated, and keep your eyes on the phone so as not to miss the linking warning.

can u please explain about the archive folder

ShadZerox commented 1 year ago

If it succeed, just open the gnirehtet run archive at the folder. If not, retry it a few times. You need your phone to be connected on the PC, USB debugging activated, and keep your eyes on the phone so as not to miss the linking warning.

can u please explain about the archive folder

images-16~2

Talking about this bar right there, enter the folder the gnirehtet is located at, click at this bar and type "cmd". This will open the cmd at this directory.

ghost commented 1 year ago

If it succeed, just open the gnirehtet run archive at the folder. If not, retry it a few times. You need your phone to be connected on the PC, USB debugging activated, and keep your eyes on the phone so as not to miss the linking warning.

can u please explain about the archive folder

images-16~2

Talking about this bar right there, enter the folder the gnirehtet is located at, click at this bar and type "cmd". This will open the cmd at this directory.

i opened cmd there ran the commands multiple times but it gives the following error Screenshot 2023-1

rom1v commented 1 year ago

See #5

ShadZerox commented 1 year ago

If it succeed, just open the gnirehtet run archive at the folder. If not, retry it a few times. You need your phone to be connected on the PC, USB debugging activated, and keep your eyes on the phone so as not to miss the linking warning.

can u please explain about the archive folder

images-16~2 Talking about this bar right there, enter the folder the gnirehtet is located at, click at this bar and type "cmd". This will open the cmd at this directory.

i opened cmd there ran the commands multiple times but it gives the following error Screenshot 2023-1

Did the window for accepting the connection showed up? Make sure you accepted it. If you did try disconnecting the gnirehtet from the device and doing the same process of "gnirehtet.exe install", if I can I'll make a video showing the process.

ghost commented 1 year ago

See #5

Thanks alot!

ghost commented 1 year ago

See #5

I am using a realme 7i device running android 11 version after a reset. I can perform the stream install of the apk using adb when i am on debigging mode with simple file transfer mode. but, get permission issues when trying to run the tethering service.

after installing the apk i switched to usb debugging with MIDI config and i was able to get through the permission issue but it then gives the following error Screenshot 2023-1

Edit: I cant use adb with MIDI Mode due to some reason that i dont know of.