hkfuertes / altserverd

AltServer with nextmuxd docker-compose convenience scripts
70 stars 9 forks source link

Support for arm #2

Open enzofrnt opened 2 years ago

enzofrnt commented 2 years ago

That possible to add support for ARM ?

hkfuertes commented 2 years ago

I need to check but I guess its already there... For netmuxd it will be built on your current platform (arm) and for altserver... it depends on the official binaries, which I believe that arm is already present...

jkcoxson commented 2 years ago

Hey there, I'm the author of netmuxd! I have purposely written the dependencies for netmuxd to be cross-compile-able. While I don't publish binaries for other architectures on the GitHub release (I probably should) I have been able to build for ARMv7, aarch64, and i585 just fine in the past.

When building for a different target than the host, just pass --target target-triple and statically link glibc with the env var RUSTFLAGS="-C target-feature=+crt-static"

Macleykun commented 2 years ago

I need to check but I guess its already there... For netmuxd it will be built on your current platform (arm) and for altserver... it depends on the official binaries, which I believe that arm is already present...

Big thanks to @jkcoxson for providing the binairies for (all) other platforms :)

See: https://github.com/jkcoxson/netmuxd/releases/tag/v0.1.3

hkfuertes commented 2 years ago

@jkcoxson If you want... I can modify the compose file to just download the built version... It will be faster to run, for sure :)

zakir8 commented 1 year ago

Will arm v6 ever be supported?

Building config Step 1/5 : FROM ubuntu ---> bb3f9d425ffe Step 2/5 : WORKDIR /app ---> Using cache ---> 582cecc1f023 Step 3/5 : RUN apt-get update -yy && apt-get install -yy avahi-daemon avahi-discover avahi-utils libnss-mdns iputils-ping dnsutils ---> [Warning] The requested image's platform (linux/arm/v7) does not match the detected host platform (linux/arm/v6) and no specific platform was requested ---> Running in 4634add0da3d ERROR: Service 'config' failed to build : The command '/bin/sh -c apt-get update -yy && apt-get install -yy avahi-daemon avahi-discover avahi-utils libnss-mdns iputils-ping dnsutils' returned a non-zero code: 132

Macleykun commented 1 year ago

Will arm v6 ever be supported?

Building config Step 1/5 : FROM ubuntu ---> bb3f9d425ffe Step 2/5 : WORKDIR /app ---> Using cache ---> 582cecc1f023 Step 3/5 : RUN apt-get update -yy && apt-get install -yy avahi-daemon avahi-discover avahi-utils libnss-mdns iputils-ping dnsutils ---> [Warning] The requested image's platform (linux/arm/v7) does not match the detected host platform (linux/arm/v6) and no specific platform was requested ---> Running in 4634add0da3d ERROR: Service 'config' failed to build : The command '/bin/sh -c apt-get update -yy && apt-get install -yy avahi-daemon avahi-discover avahi-utils libnss-mdns iputils-ping dnsutils' returned a non-zero code: 132

hello there alot has changed, i think you would be far better of trying out sidestore! you only need to install sidestore on your phone using altserver/sideserver and then you can refresh on device if you have a wifi connection!

enzofrnt commented 1 year ago

Will arm v6 ever be supported?

Building config Step 1/5 : FROM ubuntu ---> bb3f9d425ffe Step 2/5 : WORKDIR /app ---> Using cache ---> 582cecc1f023 Step 3/5 : RUN apt-get update -yy && apt-get install -yy avahi-daemon avahi-discover avahi-utils libnss-mdns iputils-ping dnsutils ---> [Warning] The requested image's platform (linux/arm/v7) does not match the detected host platform (linux/arm/v6) and no specific platform was requested ---> Running in 4634add0da3d ERROR: Service 'config' failed to build : The command '/bin/sh -c apt-get update -yy && apt-get install -yy avahi-daemon avahi-discover avahi-utils libnss-mdns iputils-ping dnsutils' returned a non-zero code: 132

hello there alot has changed, i think you would be far better of trying out sidestore! you only need to install sidestore on your phone using altserver/sideserver and then you can refresh on device if you have a wifi connection!

Without server ?

Macleykun commented 1 year ago

Will arm v6 ever be supported?

Building config Step 1/5 : FROM ubuntu ---> bb3f9d425ffe Step 2/5 : WORKDIR /app ---> Using cache ---> 582cecc1f023 Step 3/5 : RUN apt-get update -yy && apt-get install -yy avahi-daemon avahi-discover avahi-utils libnss-mdns iputils-ping dnsutils ---> [Warning] The requested image's platform (linux/arm/v7) does not match the detected host platform (linux/arm/v6) and no specific platform was requested ---> Running in 4634add0da3d ERROR: Service 'config' failed to build : The command '/bin/sh -c apt-get update -yy && apt-get install -yy avahi-daemon avahi-discover avahi-utils libnss-mdns iputils-ping dnsutils' returned a non-zero code: 132

hello there alot has changed, i think you would be far better of trying out sidestore! you only need to install sidestore on your phone using altserver/sideserver and then you can refresh on device if you have a wifi connection!

Without server ?

https://sidestore.io/ yes sir :)

zakir8 commented 1 year ago

Will arm v6 ever be supported?

Building config Step 1/5 : FROM ubuntu ---> bb3f9d425ffe Step 2/5 : WORKDIR /app ---> Using cache ---> 582cecc1f023 Step 3/5 : RUN apt-get update -yy && apt-get install -yy avahi-daemon avahi-discover avahi-utils libnss-mdns iputils-ping dnsutils ---> [Warning] The requested image's platform (linux/arm/v7) does not match the detected host platform (linux/arm/v6) and no specific platform was requested ---> Running in 4634add0da3d ERROR: Service 'config' failed to build : The command '/bin/sh -c apt-get update -yy && apt-get install -yy avahi-daemon avahi-discover avahi-utils libnss-mdns iputils-ping dnsutils' returned a non-zero code: 132

hello there alot has changed, i think you would be far better of trying out sidestore! you only need to install sidestore on your phone using altserver/sideserver and then you can refresh on device if you have a wifi connection!

Without server ?

https://sidestore.io/ yes sir :)

That was a good rabbit hole! I was able to get my app working with it. The only thing is I need to be connected to a VPN in order to refresh the expiry every week. I wonder if there is a shortcut for it.

I don't want to be connected to SideStore VPN for security reasons.

Macleykun commented 1 year ago

Will arm v6 ever be supported?

Building config Step 1/5 : FROM ubuntu ---> bb3f9d425ffe Step 2/5 : WORKDIR /app ---> Using cache ---> 582cecc1f023 Step 3/5 : RUN apt-get update -yy && apt-get install -yy avahi-daemon avahi-discover avahi-utils libnss-mdns iputils-ping dnsutils ---> [Warning] The requested image's platform (linux/arm/v7) does not match the detected host platform (linux/arm/v6) and no specific platform was requested ---> Running in 4634add0da3d ERROR: Service 'config' failed to build : The command '/bin/sh -c apt-get update -yy && apt-get install -yy avahi-daemon avahi-discover avahi-utils libnss-mdns iputils-ping dnsutils' returned a non-zero code: 132

hello there alot has changed, i think you would be far better of trying out sidestore! you only need to install sidestore on your phone using altserver/sideserver and then you can refresh on device if you have a wifi connection!

Without server ?

https://sidestore.io/ yes sir :)

That was a good rabbit hole! I was able to get my app working with it. The only thing is I need to be connected to a VPN in order to refresh the expiry every week. I wonder if there is a shortcut for it.

I don't want to be connected to SideStore VPN for security reasons.

https://sidestore.io/#get-started:~:text=version%20of%20AltServer.-,wireguard%20downloads,-WireGuard%20VPN%20App if you setup the vpn you can see it connects to your device back (so no strange server someone hosts) IMG_3848