[New Feature] Android installer

Discuss newly added features or request new features.
hugbug
Developer & Admin
Posts: 7046
Joined: 09 Sep 2008, 11:58
Location: Germany

Re: [New Feature] Android installer

Post by hugbug » 01 Nov 2017, 14:45

Follow https://nzbget.net/installation-on-android and choose "Latest Testing" within app.

HenryCo
Posts: 16
Joined: 23 Nov 2015, 13:16

Re: [New Feature] Android installer

Post by HenryCo » 02 Nov 2017, 06:09

hugbug wrote:
01 Nov 2017, 14:45
Follow https://nzbget.net/installation-on-android and choose "Latest Testing" within app.
:D Sorry

Okay. I sideload the 1.0-testing-r10 apk again and choose latest testing.

Here is a screenhsot compilation:
https://imgur.com/a/dgarz

And important to mention is that I can not stop the deamon after start.

Greetings by HenryCo

hugbug
Developer & Admin
Posts: 7046
Joined: 09 Sep 2008, 11:58
Location: Germany

Re: [New Feature] Android installer

Post by hugbug » 04 Nov 2017, 23:31

@HenryCo: I've sent you an e-mail with a test build to try. If you don't get one please check spam folder.

hugbug
Developer & Admin
Posts: 7046
Joined: 09 Sep 2008, 11:58
Location: Germany

Re: [New Feature] Android installer

Post by hugbug » 05 Nov 2017, 00:10

Could not resolve hostname xxxxxx.xx: ErrNo -2, Name or service not known
I think I have that issue fixed. At least it now works in Android 7.1 VM, where it didn't previously. If someone wants to give it a try on own device please send me a note to nzbget@gmail.com. I don't want to commit the fix into develop until I have a confirmation for it.

hugbug
Developer & Admin
Posts: 7046
Joined: 09 Sep 2008, 11:58
Location: Germany

Re: [New Feature] Android installer

Post by hugbug » 10 Nov 2017, 23:45

Android installer app updated to version 1.1-testing-r13:
  • reworked daemon output and status handling for better compatibility with newer Android versions;
  • rebuilt included busybox: this fixes crash on x86 emulator and possibly on real x86 devices.

mirorr
Posts: 1
Joined: 19 Dec 2017, 16:35

Re: [New Feature] Android installer

Post by mirorr » 19 Dec 2017, 16:44

Hi, I just found your app and it looks awesome. But I am having a problem installing within the app after installing the .apk. I am running Oreo 8.1 on a Google Pixel 2. I have tried both the latest testing and latest stable version. I have attached a screenshot of the error.

Any fixes would be appreciated, thanks!
Screenshot_20171219-113452.png

hugbug
Developer & Admin
Posts: 7046
Joined: 09 Sep 2008, 11:58
Location: Germany

Re: [New Feature] Android installer

Post by hugbug » 05 Jan 2018, 15:27

mirorr wrote:
19 Dec 2017, 16:44
I am running Oreo 8.1 on a Google Pixel 2.
I'm afraid this will not be fixed any time soon. I don't have devices running 8.1 and Google doesn't provide ARM emulator for 8.1.

moneytoo
Posts: 8
Joined: 08 May 2014, 23:10

Re: [New Feature] Android installer

Post by moneytoo » 10 Jan 2018, 22:11

hugbug wrote:
05 Jan 2018, 15:27
mirorr wrote:
19 Dec 2017, 16:44
I am running Oreo 8.1 on a Google Pixel 2.
I'm afraid this will not be fixed any time soon. I don't have devices running 8.1 and Google doesn't provide ARM emulator for 8.1.
I confirm the same issue with Android 8.1 on Nexus 5X but I also get the same error in x86 Android emulator on desktop (not sure if it was Android 8.0 or 8.1). I was able to run the scripts via "adb shell run-as" but never directly from the app (different policies for different contexts?).

Google mentions some breaking changes since Android 8.0: https://android-developers.googleblog.c ... oid-o.html and https://android.googlesource.com/platfo ... I-level-26 but I don't know much about native development.

I tried recompiling the Android project, getting rid of some obsolete stuff and bumping all possible versions but it didn't help (can send PR).

I'm not sure if the app also doesn't require ongoing notification which would prevent the system from terminating its running processes (on newer versions of Android). Another bump is the inability to save/unpack files to external SD card (though it may require only one additional line to allow writing to it's dedicated folder on SD, but not anywhere else).

All in all I ended cross compiling NZBGet for use in Termux (https://github.com/moneytoo/termux-scripts) and it works really well.

howardb
Posts: 1
Joined: 12 May 2018, 17:24

Re: [New Feature] Android installer

Post by howardb » 12 May 2018, 17:34

Seeing a similar issue. I can replicate using a standard api27 emulator in android studio. A bit of googling suggests the native code for busybox is being blocked by new seccomp filters and it needs to be built by something like the ndk and not libc/etc, apparently..?

For example: http://toybox.landley.narkive.com/v0fQY ... ystem-call and https://github.com/termux/proot/issues/5 and https://www.bountysource.com/issues/439 ... ystem-call

I chad trouble getting busybox to compile myself so I couldn't get further.

hugbug
Developer & Admin
Posts: 7046
Joined: 09 Sep 2008, 11:58
Location: Germany

Re: [New Feature] Android installer

Post by hugbug » 18 May 2018, 18:11

Android 8 support is being worked on. I've created an issue on GitHub tracker - Installer for Android, based on NDK #538.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest