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

Create gnirehtet #3280

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

Create gnirehtet #3280

wants to merge 8 commits into from

Conversation

DanielHuey
Copy link

@DanielHuey DanielHuey commented Nov 12, 2023

Gnirehtet is a command-line reverse tethering tool developed by GenyMobile.

How to use

Download the AppImage gnirehtet-autorun-x86_64.AppImage, then:

  • (Optional) Run with AppImage launcher so that it creates an entry in your "Start menu".
  • Open AppImage directly or run from Start Menu

NOTE:

  • Gnirehtet is a terminal application so it will run in the background.
  • I Included the actual terminal app too, gnirehtet-x86_64.AppImage for those who want to include it in their own apps. You can rename this AppImage to "gnirehtet" and gnirehtet-autorun-x86_64.AppImage to "gnirehteta" to simplify execution :)

@DanielHuey DanielHuey closed this Nov 12, 2023
@DanielHuey DanielHuey reopened this Nov 12, 2023
@DanielHuey DanielHuey closed this Nov 12, 2023
@probonopd probonopd reopened this Nov 12, 2023
@probonopd
Copy link
Member

The adb daemon would also need to be bundled.

image

@DanielHuey
Copy link
Author

okay let me do that as well. sorry for the mistake

@DanielHuey
Copy link
Author

The adb daemon would also need to be bundled.

image

Please help me check if it works for you now.

@probonopd
Copy link
Member

Looks like something was compiled on a too new system:

image

At this time, please use no newer than Ubuntu 20.04.

@DanielHuey
Copy link
Author

Looks like something was compiled on a too new system:

image

At this time, please use no newer than Ubuntu 20.04.

I'm using Parrot OS, the latest version 6.1.0-1parrot1.
what would happen if i packed my libc.so.6 from my system along with the appimage? would that do?

If not, maybe is it possible for you to compile it from your system (if it has rust) and send me the binary? The cargo command is cargo build --release (run from the "relay-rust" folder) and the repo link is here.

I'm not too sure how to resolve the error so some help would be appreciated. I have personally encountered such an error in some app I installed but I don't recall whether I fixed it or not.

Alternative

Another alternative would be to pack the java version of the executable instead, but Java runtime will be slower than native rust runtime, however it will work (almost) everywhere. What do you think?
Personally I had forgotten about this option, however maybe I should include it for Compatibility with various systems.

@DanielHuey
Copy link
Author

DanielHuey commented Jan 4, 2024

Now statically linked it. Should be perfect; however, I have executed 2 checks and it stops at an error

Variable FILES is empty.
Error: Process completed with exit code 1.

and i dont know what to do from here.

If you check my repo, you can see that the files DO exist within the releases tab, and they shouldn't throw errors now..

@DanielHuey
Copy link
Author

Okay i fixed the workflow error. They should be fine to use now.

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

Successfully merging this pull request may close these issues.

None yet

2 participants