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

Help creating an UBSync arm64 version

Scheduled Pinned Locked Moved App Development
39 Posts 8 Posters 6.5k Views 3 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.
    • L Offline
      Luksus @ruedigerkupper
      last edited by 19 Jan 2021, 12:45

      @ruedigerkupper I think @ernest just should put his arm64 version in the store...

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

      E 1 Reply Last reply 23 Jan 2021, 13:19 Reply Quote 0
      • E Offline
        ernest @Luksus
        last edited by 23 Jan 2021, 13:19

        @luksus
        As explained, the code between arch version has to be the same on openstore. Currently the app has been written in c++/qml with hardcoded arch...
        Thus the code needs to be updated for multiarch... It's beyond my capabilities.

        L 1 Reply Last reply 23 Jan 2021, 13:44 Reply Quote 0
        • L Offline
          Luksus @ernest
          last edited by 23 Jan 2021, 13:44

          @ernest in openstore you can just upload click packages for every arch separately.
          I don't get the problem.

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

          E 1 Reply Last reply 23 Jan 2021, 14:06 Reply Quote 0
          • E Offline
            ernest @Luksus
            last edited by 23 Jan 2021, 14:06

            @luksus no, this one has a script in background and needs to be manually review.
            Usually brian asks for the source, compile it by itself and upload the packages.

            So if the source are not public, no upload.

            L 1 Reply Last reply 23 Jan 2021, 14:13 Reply Quote 0
            • L Offline
              Luksus @ernest
              last edited by 23 Jan 2021, 14:13

              @ernest ahhh, because it is unconfined. Ok, I understand.

              So, did you build the shipped binaries by yourself? If yes, perhaps you could tell me what is needed to build them and I could try to integrate it in a clickable build.

              The last time I tried to build the the needed binaries, I have had no luck, but I also was not sure, if I even got the right sources...

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

              E 1 Reply Last reply 23 Jan 2021, 15:53 Reply Quote 0
              • E Offline
                ernest @Luksus
                last edited by 23 Jan 2021, 15:53

                @luksus
                Why do you want to build it by yourself ?

                Yes i did build the lib by myself and change the arch in the code to arm64.

                L 1 Reply Last reply 23 Jan 2021, 16:40 Reply Quote 0
                • L Offline
                  Luksus @ernest
                  last edited by 23 Jan 2021, 16:40

                  @ernest to know, waht is needed to integrate the build of the lib into the clickable build...in the end with different architectures.

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

                  B 1 Reply Last reply 3 Mar 2021, 07:04 Reply Quote 0
                  • B Offline
                    belohoub @Luksus
                    last edited by belohoub 3 Mar 2021, 07:45 3 Mar 2021, 07:04

                    I created the fork of the UBSync with included arm64 support - It works, but it definitely needs a revision. I believe, that most of the steps are correct, but especially, the 32bit build needs a re-revision - it should be principally equal as the forked one - the same binaries (I only changed paths to enable multiarch).

                    Changes are described in README.

                    I had no luck with including the build process into the package itself because it went me into the dependency hell in the container (given probably by mixed repos in the default container - I'm not experienced enough with clickable and docker to deal with in reasonable time). I also experienced errors (Access Forbidden) with the ubports binaries of owncloudcmd extracted from deb packages. The same I experienced for some of older self-compiled owncloud versions. I finally build v2.5.3 in libertine, extracted binaries and it works.

                    The fork is now on my GitHub
                    The 64-bit click package is also there for testing

                    T E 2 Replies Last reply 3 Mar 2021, 10:38 Reply Quote 2
                    • T Offline
                      TotalSonic @belohoub
                      last edited by 3 Mar 2021, 10:38

                      @belohoub - thank you so much for your work on this! Testing using Volla phone, OTA-16 RC, I was able to add my Nextcloud account (hosted by OwnCube) and setup my sync folders - but I got an error message ("! Start Service") when I press the "Start" button in the "Sync Service" page.

                      Best regards,
                      Steve Berson

                      1 Reply Last reply Reply Quote 0
                      • E Offline
                        ernest @belohoub
                        last edited by 3 Mar 2021, 12:43

                        @belohoub
                        Super !

                        Are you on telegram ? let's find a smooth way for the users to upgrade on openstore.

                        B 1 Reply Last reply 4 Mar 2021, 07:17 Reply Quote 0
                        • B Offline
                          belohoub @ernest
                          last edited by belohoub 3 Apr 2021, 07:19 4 Mar 2021, 07:17

                          @totalsonic Well, I think this is just the "information", not "error" about starting the service. However, I also experienced troubles with starting the service, which were solved by service restart(s) ... I have only "ported" and "multi-arched" the build process, but unfortunately I don't have experience with the app.

                          @ernest As pointed above, I guess, there are severe issues and inconveniences related to the QT application or the service, unfortunately I have very limited experience with QT a QML. My current job limited to the build process and "grep&replace" code snippets. On the other hand this app looks to be essential for many users trying ub-touch (including me)... I agree, lets try to remove the "worst case issues" and somehow push it to the open-store.

                          @ernest I shared my telegram alias with you through the chat

                          T 1 Reply Last reply 4 Mar 2021, 10:02 Reply Quote 0
                          • T Offline
                            TotalSonic @belohoub
                            last edited by 4 Mar 2021, 10:02

                            @belohoub - except it was indeed a message error, as syncing did not Start at all.

                            Best regards,
                            Steve Berson

                            B 1 Reply Last reply 5 Mar 2021, 08:44 Reply Quote 0
                            • B Offline
                              belohoub @TotalSonic
                              last edited by belohoub 3 May 2021, 08:45 5 Mar 2021, 08:44

                              @totalsonic Aha, have you tried to replace the daemon configuration? If you had the previous version and you still have old config, it will not work. The paths are now different, as it was necessary to unify them to enable multiarch: is this issue helpful?

                              E 1 Reply Last reply 3 May 2021, 17:46 Reply Quote 0
                              • E Offline
                                ernest @belohoub
                                last edited by 3 May 2021, 17:46

                                Thanks to @belohoub, we have release the arm64 compatible ubsync version 0.6 :1st_place_medal:

                                https://launchpad.net/owncloud-sync/ubsync/ubsync-0.6

                                T 1 Reply Last reply 3 May 2021, 20:38 Reply Quote 4
                                • L Offline
                                  Lakotaubp
                                  last edited by 3 May 2021, 17:53

                                  @ernest Installed on my OP 3 today. Thanks

                                  1 Reply Last reply Reply Quote 0
                                  • T Offline
                                    TotalSonic @ernest
                                    last edited by 3 May 2021, 20:38

                                    @ernest - thank you both so much for your work on this! It is working great. Very grateful that I can now use UBsync on my Volla Phone. 🙂

                                    Best regards,
                                    Steve Berson

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