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

    Can't get any snaps installed

    Scheduled Pinned Locked Moved Solved Support
    18 Posts 6 Posters 1.5k Views 2 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.
      • LuksusL Offline
        Luksus @mihael
        last edited by

        @mihael ok, then it is clear that it is missing the config:
        https://gitlab.com/ubports/porting/community-ports/android9/oneplus-5/android_kernel_oneplus_msm8998/-/blob/halium-9.0/arch/arm64/configs/lineage_oneplus5_defconfig?ref_type=heads

        Devices: BQ e4.5, Fairphone 2, Fairphone 3, Lenovo X605F, Pinephone, Moto Z2 Force, OnePlus5T

        mihaelM 1 Reply Last reply Reply Quote 0
        • mihaelM Offline
          mihael @Luksus
          last edited by

          @Luksus Where should I save that file?

          LuksusL 1 Reply Last reply Reply Quote 0
          • LuksusL Offline
            Luksus @mihael
            last edited by

            @mihael nowhere. The config needs to be added there, then the kernel + device image needs to be rebuild. After that you would be able to test it, when you switch to the dev-channel.

            Devices: BQ e4.5, Fairphone 2, Fairphone 3, Lenovo X605F, Pinephone, Moto Z2 Force, OnePlus5T

            mihaelM 1 Reply Last reply Reply Quote 0
            • mihaelM Offline
              mihael @Luksus
              last edited by mihael

              @Luksus Ah, ok, I see. When should we expect that to land in dev?

              Just wanted to mention that Snapz0r was displaying that the kernel is ready for snaps - does that mean that it wrongly reported that?

              LuksusL 1 Reply Last reply Reply Quote 0
              • LuksusL Offline
                Luksus @mihael
                last edited by

                @mihael said in Can't get any snaps installed:

                Just wanted to mention that Snapz0r was displaying that the kernel is ready for snaps - does that mean that it wrongly reported that?

                Yes, I think so. Maybe that is the real issue, which should be discussed in your github-issue for this app.

                Devices: BQ e4.5, Fairphone 2, Fairphone 3, Lenovo X605F, Pinephone, Moto Z2 Force, OnePlus5T

                mihaelM 1 Reply Last reply Reply Quote 0
                • mihaelM Offline
                  mihael @Luksus
                  last edited by mihael

                  @Luksus Ok, thank you again, I will report that.

                  Reported.

                  So how come snap list still works and reports core, core20, core22, gtk2-common-themes, snapd and bare?

                  LuksusL arubislanderA 2 Replies Last reply Reply Quote 0
                  • LuksusL Offline
                    Luksus @mihael
                    last edited by

                    @mihael I don't know. I just encountered the same issue on the FP3 and recompiled the kernel with the missing CONFIG_SQUASHFS_LZO setting and after that, installation of snaps worked.

                    But I wonder why it already seems to work on the op5t for @padraic in https://forums.ubports.com/post/77291 .

                    Devices: BQ e4.5, Fairphone 2, Fairphone 3, Lenovo X605F, Pinephone, Moto Z2 Force, OnePlus5T

                    mihaelM P 2 Replies Last reply Reply Quote 0
                    • mihaelM Offline
                      mihael @Luksus
                      last edited by

                      @Luksus It doesn't work for @padraic either, he encountered the same issue as me: https://forums.ubports.com/post/77310

                      1 Reply Last reply Reply Quote 0
                      • arubislanderA Offline
                        arubislander @mihael
                        last edited by

                        @mihael probably they are compressed as xz Archives and not lzo archives.

                        πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
                        Happily running Ubuntu Touch
                        Google Pixel 3a (20.04 DEV)
                        JingPad (24.04 preview)
                        Meizu Pro 5 (16.04 DEV)

                        1 Reply Last reply Reply Quote 0
                        • P Offline
                          padraic @Luksus
                          last edited by

                          Hi @Luksus , it's a bit off topic bt I would be interested in recompiling my OT5t kernel and checking to see if that works.

                          Is there a guide to recompiling? Can you do it on the device itself?

                          LuksusL 1 Reply Last reply Reply Quote 0
                          • L Offline
                            L-01081
                            last edited by

                            This post is deleted!
                            1 Reply Last reply Reply Quote 0
                            • LuksusL Offline
                              Luksus @padraic
                              last edited by

                              @padraic Hey, my MR got merged yesterday, so it should already be in todays devel images I guess. I am not sure if kernel is updated through OTA or just when using installer with bootstrap function. Just give it a try.

                              Devices: BQ e4.5, Fairphone 2, Fairphone 3, Lenovo X605F, Pinephone, Moto Z2 Force, OnePlus5T

                              1 Reply Last reply Reply Quote 0
                              • mihaelM Offline
                                mihael
                                last edited by mihael

                                Update after OTA 4 (stable) - I guess the patched kernel now has what is needed for snaps:

                                I was able to install Firefox and there is a Firefox icon in the Launcher and it launches but I only get a translucent window with a little bit of shadow effect and that's it, the window is empty.

                                What's the next step in making snaps work? Or what other snap should I try?

                                1 Reply Last reply Reply Quote 0
                                • mihaelM Offline
                                  mihael
                                  last edited by

                                  Oh, I just installed gimp and it works!!! Wow

                                  What could be the problem with firefox?

                                  • given the initial issue, I will mark the thread as solved.
                                  MrT10001M 1 Reply Last reply Reply Quote 0
                                  • mihaelM mihael has marked this topic as solved on
                                  • MrT10001M Offline
                                    MrT10001 @mihael
                                    last edited by

                                    @mihael Got Brave Browser and Gimp up and working, however the fonts etc are incredibly small.

                                    Xiaomi Redmi Note 7.... And more...
                                    I have too many devices...

                                    1 Reply Last reply Reply Quote 0
                                    • First post
                                      Last post