• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
UBports Robot Logo UBports Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Development testers for Anbox

Scheduled Pinned Locked Moved OS
222 Posts 72 Posters 209.0k Views 16 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A Offline
      advocatux @jumpy88
      last edited by 5 Mar 2019, 08:51

      @jumpy88 IMO it doesn't make sense to try to run Android on any 1GB RAM device.

      J 1 Reply Last reply 5 Mar 2019, 11:57 Reply Quote 1
      • J Offline
        jumpy88 @advocatux
        last edited by 5 Mar 2019, 11:57

        @advocatux I've no knowledge to answer, I don't know which are the requisites to run android services (but it would be very useful at this stage for Ubuntu Touch appealing to have access to the full play store for all the devices, while the community works to create native applications).

        1 Reply Last reply Reply Quote 0
        • U Offline
          ursfan
          last edited by ursfan 3 Sept 2019, 12:44 6 Mar 2019, 17:34

          Yesterday I tried to activate the Accessibility Services of Android on OPO to get some apps to work which enable a software navigation bar for having a back button for apps with a lack of such. After having activated this service the screen went black for my apps. So now it's not possible to see my installed app UI and also the android settings UI can't be made visible to reset that behavior. Superficial search in the code of Anbox let me assume, that there is intended only one Layer for the UI. Maybe that's ok for the PC desktop solution but for the smartphone solution too?
          For now I only found a workaround for step back to a former activity of top app on the stack with 'adb shell input keyevent 4'. Are there better solutions for that?
          For another try I now installed an app with f-droid for a navigation bar and enabled it. Even if the softkeys, are not visible it seems that they work anyway. When I swipe up from the lower edge of the screen as if I would make visible the navigation bar and tap on the screen where the back button should be, the app steps back. Can someone confirm that on another phone?

          In SailfishOS the Android apps are opened with a return button underneath. Is something like this possible in Ubuntu Touch? Even the android settings app delivered with anbox need a return button for some setting menus.

          1 Reply Last reply Reply Quote 1
          • U Offline
            ursfan
            last edited by ursfan 3 Sept 2019, 23:01 6 Mar 2019, 17:47

            Is there a chance one can use the LXC container technique Anbox uses to get a custom ROM like LineageOS or any other, which was build for OPO for instance to run with Ubuntu Touch? This shouldn't have the limitations of the current Anbox android.img? How tight is Anbox coupled to Ubuntu Touch on the kernel level? Or does the enhanced kernel of Ubuntu Touch for Anbox only brings the support for the SquashFS of the android image?

            1 Reply Last reply Reply Quote 0
            • U Offline
              ursfan
              last edited by ursfan 3 Nov 2019, 17:13 6 Mar 2019, 18:02

              I tried some things with the powerful adb command which gives wide control over the apps installed on the anbox image. There are some commands for example which control the permissions of an app. The command 'adb install -g apkfilename' grants the requested permissions of an app at installation. With adb pm grant package_name android.permission.WRITE_EXTERNAL_STORAGE or
              android.permission.READ_EXTERNAL_STORAGE it's possible to enhance permissions of an app. But for the latter the output of 'adb logcat' tells that that permissions weren't granted at runtime because they weren't granted at the installation time. Is it possible to set that permissions on installation time? The solution to uninstall it with 'adb shell pm' and reinstall the app with adb didn't help for that.
              I even tried to install the the apk file directly with the Android package installer without further success. The command for that was 'adb shell am -a android.intent.action.INSTALL_PACKAGE -d "file://path to apk file" -n com.android.packageinstaller/.PackageInstallerActivity'.
              One app worked after using LuckyPatcher on it.

              1 Reply Last reply Reply Quote 0
              • ? Offline
                A Former User
                last edited by 10 Mar 2019, 13:27

                Hi,
                Does anyone have any problems with Anbox on his BQ M10 HD ?
                https://forums.ubports.com/topic/2473/anbox-kernel-is-not-installed-bq-m10-hd

                I follow instructions (https://docs.ubports.com/en/latest/userguide/dailyuse/anbox.html#how-to-install) but when I'm launch "anbox-tool install", Terminal answer "Anbox kernel is not installed".

                1 Reply Last reply Reply Quote 0
                • U Offline
                  ursfan @pawlinski
                  last edited by ursfan 3 Nov 2019, 17:12 11 Mar 2019, 17:11

                  @pawlinski
                  If you took the image from "http://cdimage.ubports.com/anbox-images/" maybe you've installed an OS update afterwards. In my experience this resets the former installed boot image, so it has to be reinstalled.

                  1 Reply Last reply Reply Quote 1
                  • J Offline
                    jor1196
                    last edited by 12 Mar 2019, 10:06

                    will the support for the nexus 4 come?

                    1 Reply Last reply Reply Quote 1
                    • J Offline
                      jor1196 @baddea
                      last edited by 12 Mar 2019, 10:12

                      @baddea No idea why it will be
                      Will it be by x11?

                      1 Reply Last reply Reply Quote 0
                      • U Offline
                        ursfan @ursfan
                        last edited by 13 Mar 2019, 21:36

                        @ursfan with the commands anbox-Tool disable and anbox-tool enable afterwards the offline listed device normally gets active...

                        1 Reply Last reply Reply Quote 1
                        • U Offline
                          ursfan @ursfan
                          last edited by 13 Mar 2019, 21:38

                          @ursfan After having added the file NotoColorEmoji.ttf to the image under /system/fonts and rebuild the android.img with mksquashfs it works...

                          1 Reply Last reply Reply Quote 1
                          • N Offline
                            nelson
                            last edited by nelson 16 Apr 2019, 11:09

                            any news on the native keyboard? @mariogrip
                            or any workaround to get lag-free input from the android keyboard?
                            (already tried disabling autocorrect, spellchecker, etc and other keyboard apps without success)

                            1 Reply Last reply Reply Quote 0
                            • I Offline
                              indiandragon
                              last edited by 26 May 2019, 06:34

                              Hi @mariogrip I assume that the boot images for mako & UBPorts stable devices are not available because of the lack of power but can you point to resources for building a anbox boot image for mako and other devices not mentioned here for experimenting with it?

                              T 1 Reply Last reply 19 Jun 2019, 13:37 Reply Quote 0
                              • N Offline
                                nocomp
                                last edited by 2 Jun 2019, 17:30

                                hi
                                on my 1+1 can t install apk, emu in adb devices is listed but show up as "offline"
                                also wwe wanted to check the status of ad in android developper options, but once i clic on it, app close (fc)
                                hope it can help, if you have anything /logs you want me to share, let me know, here to help

                                1 Reply Last reply Reply Quote 0
                                • T Offline
                                  tioui @indiandragon
                                  last edited by 19 Jun 2019, 13:37

                                  @indiandraogn said in Development testers for Anbox:

                                  Hi @mariogrip I assume that the boot images for mako & UBPorts stable devices are not available because of the lack of power but can you point to resources for building a anbox boot image for mako and other devices not mentioned here for experimenting with it?

                                  Yeah. I would like that too. I would like to test Anbox on my Aquaris E4.5 (Krillin).

                                  1 Reply Last reply Reply Quote 0
                                  • J Offline
                                    jld3103
                                    last edited by 4 Jul 2019, 09:13

                                    Coming from here: https://forums.ubports.com/topic/2876/anbox-development

                                    Do I have to build the Anbox boot image for myself?
                                    Do I need to modify the anbox-tool package?

                                    And in general: Are there any tips on getting started with Anobx development for UT?

                                    Thanks, Jan-Luca

                                    1 Reply Last reply Reply Quote 0
                                    • L Offline
                                      L-00327 Banned
                                      last edited by L-00327 9 Nov 2019, 19:55 11 Sept 2019, 19:53

                                      Ok been goofing with ubports for a few days again first installed with multirom a couple years ago but now that app seemingly fails to receive any updates doesnt give option to install anything I fear completely dead( correct me if you found a fix for this so I can go back to dualbooting with And9), hoping someone can catch me up on somethings.

                                      http://docs.ubports.com/en/latest/userguide/dailyuse/anbox.html Found these instructions which worked for me one oneplus one. Installed FDroid internet is working. Some apps dont like to open without clearing app cache but not bad. Tried to install play store/services using this tutorial, https://www.linuxuprising.com/2018/07/anbox-how-to-install-google-play-store.html cannot install the install.sh file due to snapd not starting being listed as unavailable but installed. A no snapd.socket cannot communicate with server error. Anyone manage to bypass this (possibly install this install.sh another way without snapd) or get snapd fully running? old version? found this for a different device https://www.youtube.com/watch?v=NHE5THEWq7c not sure if it is a 32/64 bit issue or if there is a way to install this old snapd version/ acceptable kernel.

                                      Any luck with play store with Micro g or the crackberry patch google apps route? Also anyone enable a backbutton/ navigation keys? I did the suggested fixes for apt-get running out of space but I keep running out again how can I make apt-get use my full 64 gb storage? mounted rw permenantly using
                                      $ adb shell
                                      $ sudo touch /userdata/.writable_image
                                      $ sudo reboot
                                      from here https://ubports.com/blog/ubports-blog-1/post/terminal-chapter-3-124 Can I symlink something possibly to get full space for apt-get(not just storage?) Hopefully this thread isn't dead thanks in advance for any help

                                      1 Reply Last reply Reply Quote 0
                                      • L Offline
                                        L-00327 Banned
                                        last edited by 11 Sept 2019, 20:24

                                        with multirom dualboot install I never had the space issue it must be something simple but I'm not pro linux level to figure it out

                                        1 Reply Last reply Reply Quote 0
                                        • U Offline
                                          UniSuperBox
                                          last edited by 11 Sept 2019, 20:41

                                          @errorcodevortex you cannot install snapd on Ubuntu Touch. It will not work. Please use the instructions for installing Anbox in this thread or in the documentation.

                                          L 1 Reply Last reply 11 Sept 2019, 22:25 Reply Quote 0
                                          • dobeyD Offline
                                            dobey
                                            last edited by 11 Sept 2019, 21:39

                                            If you want to use apps from play store which don't require too much play services, you're probably better off just installing the microG packages, and Aurora Store.

                                            https://microg.org
                                            https://gitlab.com/AuroraOSS/AuroraStore

                                            L 1 Reply Last reply 11 Sept 2019, 22:39 Reply Quote 1
                                            • First post
                                              Last post