-
-
Notifications
You must be signed in to change notification settings - Fork 266
Adding support for Android (Termux) #123
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
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: Sam2159 <81921831+Sam2159@users.noreply.github.com>
Signed-off-by: Sam2159 <81921831+Sam2159@users.noreply.github.com>
Signed-off-by: Sam2159 <81921831+Sam2159@users.noreply.github.com>
Signed-off-by: Sam2159 <81921831+Sam2159@users.noreply.github.com>
Signed-off-by: Sam2159 <81921831+Sam2159@users.noreply.github.com>
Signed-off-by: Sam2159 <81921831+Sam2159@users.noreply.github.com>
Signed-off-by: Sam2159 <81921831+Sam2159@users.noreply.github.com>
Signed-off-by: Sam2159 <81921831+Sam2159@users.noreply.github.com>
Signed-off-by: Sam2159 <81921831+Sam2159@users.noreply.github.com>
Signed-off-by: Sam2159 <81921831+Sam2159@users.noreply.github.com>
Signed-off-by: Sam2159 <81921831+Sam2159@users.noreply.github.com>
Signed-off-by: Sam2159 <81921831+Sam2159@users.noreply.github.com>
Signed-off-by: Sam2159 <81921831+Sam2159@users.noreply.github.com>
Signed-off-by: Sam2159 <81921831+Sam2159@users.noreply.github.com>
Signed-off-by: Sam2159 <81921831+Sam2159@users.noreply.github.com>
Signed-off-by: Sam2159 <81921831+Sam2159@users.noreply.github.com>
Signed-off-by: Sam2159 <81921831+Sam2159@users.noreply.github.com>
Signed-off-by: Sam2159 <81921831+Sam2159@users.noreply.github.com>
Signed-off-by: Sam2159 <81921831+Sam2159@users.noreply.github.com>
Signed-off-by: Sam2159 <81921831+Sam2159@users.noreply.github.com>
Signed-off-by: Sam2159 <81921831+Sam2159@users.noreply.github.com>
Hey I'm trying to build lzfse but it this happened
Is there a way to fix this? |
Ok I've fixed it by changing the |
You just need to add the
flag in the cmake command. I'll edit my pull request comment to include it. |
Is there a way to install |
|
With termux you can do propt or chroot (rootful) |
How can I do that? |
The --disable-guest-agent doesn't work when I need to do the ../configure command |
Hi, I'm a noob. Have you successfully booted it on Android device? If yes then can you make a noob friendly tutorial? |
im having trouble installing img4tool and img4 on termux |
Have you tried compiling img4tool and img4 from source? |
img4tool should no longer be required |
if (*fd < 0) { | ||
#ifdef __ANDROID__ | ||
char path[] = "/data/data/com.termux/files/usr/tmp/memfd-XXXXXX"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Won't this break Android compilation outside of Termux (e.g. with the android NDK)?
Some changes needed to run this project also on Android.
For the wiki:
The commands to install the dependencies are:
The rest of the commands are the same as for Linux, except for
../configure
, where the--disable-guest-agent
flag needs to be added. This avoids using the getloadavg function, which is not supported on Android (as far as I know). And before running the vm, a graphical environment should be started, using, for example, Termux:X11.