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

    Backup and restore using ubports-installer

    Scheduled Pinned Locked Moved App Development
    52 Posts 15 Posters 10.2k Views 9 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.
      • flohackF Offline
        flohack @AlainW94
        last edited by

        @AlainW94 for working with our repos you typically just fork the project, then push your branch you want to submit and create a pull request from that branch to our base. Thats kinda "workaround" for not being allowed write access to our repos.

        My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

        AlainW94A 1 Reply Last reply Reply Quote 0
        • flohackF Offline
          flohack @AlainW94
          last edited by

          @AlainW94 regarding the unmounted data partition, how could the installer work on that device then @NeoTheThird ? Do we mount data specifically? I dont have a Pro 5, in fact there are not so many people who own one.

          My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

          AlainW94A 1 Reply Last reply Reply Quote 0
          • AlainW94A Offline
            AlainW94 @flohack
            last edited by

            @Flohack Many thanks ! this is what I did after reading on it on google.

            Meizu Pro 5, Meizu Pro 5, Meizu Pro 5, Meizu Pro 5 (Yes I have 4 of them)
            Never forget that they are much more ideas inside two heads than in one...

            1 Reply Last reply Reply Quote 0
            • AlainW94A Offline
              AlainW94 @flohack
              last edited by

              @Flohack own 4 of them and can confirm that is it like that on the 4. have we access to the recovery;img for the pro5 ? if yes I can modify it to have the partitions mounted at startup in the recovery.

              Meizu Pro 5, Meizu Pro 5, Meizu Pro 5, Meizu Pro 5 (Yes I have 4 of them)
              Never forget that they are much more ideas inside two heads than in one...

              flohackF 1 Reply Last reply Reply Quote 0
              • flohackF Offline
                flohack @AlainW94
                last edited by

                @AlainW94 No the recovery is the old one from Canonical times, Pro 5, MX 4 and all BQ devices do not have an open tree and we cannot change anything there...

                My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

                AlainW94A 1 Reply Last reply Reply Quote 0
                • AlainW94A Offline
                  AlainW94 @flohack
                  last edited by

                  @Flohack Ok so we will have to deal with it in the installer

                  Meizu Pro 5, Meizu Pro 5, Meizu Pro 5, Meizu Pro 5 (Yes I have 4 of them)
                  Never forget that they are much more ideas inside two heads than in one...

                  flohackF 1 Reply Last reply Reply Quote 0
                  • N Offline
                    NeoTheThird
                    last edited by

                    Awesome, saw you opened a PR here, i'll give you a code review with some pointers. Really appreciate the work you put into this, i'm confident we can get it done fairly soon πŸ™‚

                    AlainW94A 1 Reply Last reply Reply Quote 0
                    • flohackF Offline
                      flohack @AlainW94
                      last edited by

                      @AlainW94 It should be dealt already with, otherwise how would the installer install anything into /data??

                      My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

                      AlainW94A 1 Reply Last reply Reply Quote 0
                      • AlainW94A Offline
                        AlainW94 @flohack
                        last edited by

                        @Flohack In my case, I did a check of the mounted partition in the installer, then if it is not mounted, I mount it. (/dev/block/sda44 -> /data)

                        Meizu Pro 5, Meizu Pro 5, Meizu Pro 5, Meizu Pro 5 (Yes I have 4 of them)
                        Never forget that they are much more ideas inside two heads than in one...

                        flohackF 1 Reply Last reply Reply Quote 0
                        • flohackF Offline
                          flohack @AlainW94
                          last edited by

                          @AlainW94 @NeoTheThird ??

                          My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

                          1 Reply Last reply Reply Quote 0
                          • AlainW94A Offline
                            AlainW94 @NeoTheThird
                            last edited by

                            @NeoTheThird Hi! It was a try. Now I need to do the same with promise-android otherwise it will not work

                            Meizu Pro 5, Meizu Pro 5, Meizu Pro 5, Meizu Pro 5 (Yes I have 4 of them)
                            Never forget that they are much more ideas inside two heads than in one...

                            1 Reply Last reply Reply Quote 0
                            • N Offline
                              NeoTheThird
                              last edited by

                              Re: Git workflow

                              Here's something i wrote up for another installer user the other day, maybe that's helpful to you

                              you'll want to keep your master completely in sync with our master, so when you navigate to it on your machine, the first thing you'll do is git checkout master to make sure you're on your master, then git pull upstream master --rebase to fetch the latest version from our master, git push origin master to push our master to your master on github. Now if you want to implement a new feature, you will create a branch by going git checkout -b nameofbranch. Then you make your changes. If you want to create a commit, you git add path/to/files for all your files you want to commit and then go git commit -m "My Commit Message". As soon as you have all your commits created, go ahead and git push origin nameofbranch to push your branch to your own fork on github. Then go to the webinterface to create the pull request.

                              AlainW94A 1 Reply Last reply Reply Quote 2
                              • AlainW94A Offline
                                AlainW94 @NeoTheThird
                                last edited by

                                @NeoTheThird Awewome, thanks !!!

                                Meizu Pro 5, Meizu Pro 5, Meizu Pro 5, Meizu Pro 5 (Yes I have 4 of them)
                                Never forget that they are much more ideas inside two heads than in one...

                                1 Reply Last reply Reply Quote 0
                                • FlaF Offline
                                  Fla
                                  last edited by

                                  Any news on this? I see no changes in the PR in the last month... The idea is awesome, you can do it!

                                  AlainW94A 1 Reply Last reply Reply Quote 0
                                  • AlainW94A Offline
                                    AlainW94 @Fla
                                    last edited by

                                    @Fla hi, It still in review. but you can try it a tell us your opinion on it ! I only could test it on Pro5.
                                    thanks !

                                    Meizu Pro 5, Meizu Pro 5, Meizu Pro 5, Meizu Pro 5 (Yes I have 4 of them)
                                    Never forget that they are much more ideas inside two heads than in one...

                                    U 1 Reply Last reply Reply Quote 0
                                    • U Offline
                                      ubuntoutou @AlainW94
                                      last edited by

                                      @alainw94 I would like to reinstall UT on my Pro 5. So I need to backup first and will need to restore afterwards.

                                      How reliable is the ubports-installer for this purpose now?

                                      AlainW94A 1 Reply Last reply Reply Quote 0
                                      • AlainW94A Offline
                                        AlainW94 @ubuntoutou
                                        last edited by

                                        Hi @ubuntoutou, It makes a while that I didn't touch it but it was working well for PRO5, I'm using it for my own backup and restore.
                                        If you use it please let me knwo about the result !;)

                                        You will need as much free space on your hard drive as the phone occupancy.

                                        For example if you have a 32Go memory and you are using about 16Go, you will need 16Go of free space on the computer where you are running the installer in backup mode.

                                        Hope this will help you.

                                        Meizu Pro 5, Meizu Pro 5, Meizu Pro 5, Meizu Pro 5 (Yes I have 4 of them)
                                        Never forget that they are much more ideas inside two heads than in one...

                                        1 Reply Last reply Reply Quote 0
                                        • KenedaK Offline
                                          Keneda
                                          last edited by Keneda

                                          This feature in ubports installer would be great, when using it.

                                          Alongside with samba working completly, again, in file manager for other cases.

                                          In meantime i use wifitransfert to back up "share" directory when needed.

                                          2015-2023 : Meizu MX4 ☠️⚰️✝️
                                          2023-2024 : Nexus 5 ☠️⚰️✝️
                                          2024-***** : FPOS Fairphone 5 waiting UT for freedom πŸ˜‰
                                          πŸ‡²πŸ‡«πŸ‡¬πŸ‡§

                                          1 Reply Last reply Reply Quote 2
                                          • J Offline
                                            justinz
                                            last edited by

                                            Was this work ever merged into the installer? I have a Pixel 3a (sargo) and I can't see the Backup my device button. I'd really love this feature!

                                            E 1 Reply Last reply Reply Quote 0
                                            • E Offline
                                              Emphrath @justinz
                                              last edited by

                                              @justinz Not done yet, my friend.

                                              1 Reply Last reply Reply Quote 0
                                              • U ubuntoutou referenced this topic on
                                              • First post
                                                Last post