PINE64
Anyone tried Anbox-4-arm64 yet? - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=111)
+--- Forum: Linux on Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=114)
+--- Thread: Anyone tried Anbox-4-arm64 yet? (/showthread.php?tid=8576)

Pages: 1 2 3 4 5 6 7 8 9


RE: Anyone tried Anbox-4-arm64 yet? - PakoSt - 01-18-2020

Well, there is "some" life in my attempt.

Trying to start anything spits pretty much useless error messages. Interesting enough, adb does pick something up. Shame I can't actually try to run it Big Grin


RE: Anyone tried Anbox-4-arm64 yet? - tophneal - 01-18-2020

Cool beans! I'm about to check out the ones Pak0St got mostly going.

Name of the manager app is anbox-reborn. It's supposed to find/build anbox, and provides a simple gui for turning the service on/off and installing apks.


RE: Anyone tried Anbox-4-arm64 yet? - PakoSt - 01-20-2020

Oh, maybe the warnings I've disabled are for swiftshader? The container is running, adb works and you can install apks but there is no graphics.


Alright, these are the folders of the anbox packages which compile for me. Extract them and you will find the pkgbuild + a compiled package inside the folders:
https://drive.google.com/folderview?id=1Hl8mWhVpciMJfNFdOUFqdJMy9owzQ-E0

I've made only a few changes with the biggest ones being:
- target my fork of anbox to disable the fail with warnings in anbox-git (as per these instructions: https://skmp.dev/blog/anbox-rpi4/ )
- target the anbox-image towards the arm64 one  ( https://build.anbox.io/android-images/2017/08/04/android_1_arm64.img from the previous page)
- just target aarch64
I've left everything else as was on the Arch pkgbuilds


RE: Anyone tried Anbox-4-arm64 yet? - tophneal - 01-20-2020

(01-20-2020, 08:06 AM)PakoSt Wrote: Oh, maybe the warnings I've disabled are for swiftshader? The container is running, adb works and you can install apks but there is no graphics.


Alright, these are the folders of the anbox packages which compile for me. Extract them and you will find the pkgbuild + a compiled package inside the folders:
https://drive.google.com/folderview?id=1Hl8mWhVpciMJfNFdOUFqdJMy9owzQ-E0

I've made only a few changes with the biggest ones being:
- target my fork of anbox to disable the fail with warnings in anbox-git (as per these instructions: https://skmp.dev/blog/anbox-rpi4/ )
- target the anbox-image towards the arm64 one  ( https://build.anbox.io/android-images/2017/08/04/android_1_arm64.img from the previous page)
- just target aarch64
I've left everything else as was on the Arch pkgbuilds

I just got the packages you sent me installed (ran out of room and had to play SD shuffle to expand my Manjaro install) have these been updated?

I was thinking earlier, after I came across this: https://geeks-r-us.de/2017/08/26/android-apps-auf-dem-linux-desktop/ that the Customize Android section might be something we need to do, since the Android img we're using came from Anbox, if might still need some of these adjustments. I'm about to give it a shot.

Quick note to anyone else who wants to try the steps on this page, pay close attention to the terminal commands on the page, you cannot copy/paste, they are riddled with spaces in places they shouldn't or don't need to be. Can't tell why, but noticed it when I was setting permissions for apps I moved into the Android image.


RE: Anyone tried Anbox-4-arm64 yet? - PakoSt - 01-20-2020

They are the same @tophneal  ( I should really fork alarm's repo or Manjaro arm's instead of torturing people like this Big Grin

Ehhh, I get the gist from that article but Google translate will be required for further reading Smile


RE: Anyone tried Anbox-4-arm64 yet? - aaspectre - 01-20-2020

frustrating news, i can't replicate the successful build i had, also can't get any progress on graphics, so i've moved on to other things for now. i will come back to it when i feel less betrayed by my own computer... lol


RE: Anyone tried Anbox-4-arm64 yet? - PakoSt - 01-20-2020

Give the packages I've shared a shot, @aaspectre . I think they are pretty much at the same stage you've had it.
You can replace my fork of anbox with your own if that's where you'll be tinkering with the graphics


RE: Anyone tried Anbox-4-arm64 yet? - tophneal - 01-20-2020

I'm giving a try now, but we may need this to aid with graphics:
Quote:If you want to use 3D acceleration, the following must be added to the end of the file: squashfs-root/system/etc/permissions/anbox.xml

# Report GLES as available
# 131072 ix 0x20000 in hex, which means GLES 2.0
ro.opengles.version = 131072



RE: Anyone tried Anbox-4-arm64 yet? - PakoSt - 01-20-2020

I should try to change that from adb shell. Not sure if the Android image is rooted but it won't hurt to try Smile


RE: Anyone tried Anbox-4-arm64 yet? - tophneal - 01-20-2020

If you're referring to the stock Android image you mentioned earlier, I believe it is rooted, but access is restricted to adb. I might be confusing it with the /e/ image for the PB1080, but I think it was the Rockchip Android that was the the most problematic in getting root access. Hopefully I'm remembering incorrectly!