Navigation

    UBports Robot Logo

    UBports Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Backup and restore using ubports-installer

    App Development
    11
    47
    895
    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.
    • AlainW94
      AlainW94 @mihael last edited by

      @mihael Thanks ! I already use this method to backup a Meizu Pro5 to another Meizu Pro5, but I can't try it with a different model as I didn't have other model.
      I don't know if a system backup can work on a different phone model.

      1 Reply Last reply Reply Quote 0
      • AlainW94
        AlainW94 @Lakotaubp last edited by

        @Lakotaubp Thanks !

        Lakotaubp 1 Reply Last reply Reply Quote 0
        • ?
          A Former User @AlainW94 last edited by

          😃 Great work! Thanks @AlainW94

          AlainW94 1 Reply Last reply Reply Quote 0
          • AlainW94
            AlainW94 @Guest last edited by

            Thanks @3arn0wl !

            1 Reply Last reply Reply Quote 0
            • Lakotaubp
              Lakotaubp @AlainW94 last edited by

              @AlainW94 Is this available now for all models, it's not showing yet for OPO on 0.4.11 beta

              AlainW94 1 Reply Last reply Reply Quote 0
              • lool_lauris
                lool_lauris last edited by

                HI,
                An this backup option will accept any phone in its factory setting ?

                AlainW94 1 Reply Last reply Reply Quote 0
                • AlainW94
                  AlainW94 @Lakotaubp last edited by

                  @Lakotaubp Not yet, I have to cleanup my code before to push it, and I only tried it on Meuzu Pro 5

                  Lakotaubp 1 Reply Last reply Reply Quote 0
                  • AlainW94
                    AlainW94 @lool_lauris last edited by

                    @lool_lauris Only working with UbPorts phones, I tried it with a Meizu Pro5 on Android and it's not working.

                    lool_lauris 1 Reply Last reply Reply Quote 0
                    • lool_lauris
                      lool_lauris @AlainW94 last edited by

                      @AlainW94 said in Backup and restore using ubports-installer:

                      @lool_lauris Only working with UbPorts phones, I tried it with a Meizu Pro5 on Android and it's not working.

                      When I was asking about any phone, I was meaning the available phones for UT, of course. ☺

                      AlainW94 1 Reply Last reply Reply Quote 0
                      • AlainW94
                        AlainW94 @lool_lauris last edited by

                        @lool_lauris 😉 And this is also why I asked if everybody had the folders "user-data" and "system-data" on their devices while in recovery mode, because this folder will be the one to be backing up.

                        1 Reply Last reply Reply Quote 0
                        • Lakotaubp
                          Lakotaubp @AlainW94 last edited by

                          @AlainW94 My fault being to keen and not reading properly. Will check other stuff.

                          1 Reply Last reply Reply Quote 0
                          • K
                            kugiigi last edited by

                            Does this work while the phone is booted normally or in recovery/bootloader mode?
                            Looks cool, has it been merged already?

                            AlainW94 1 Reply Last reply Reply Quote 0
                            • AlainW94
                              AlainW94 @kugiigi last edited by

                              @kugiigi It will work only on recovery, because it need to read or write system data. It is not merged yet, I will do it asap.

                              K 1 Reply Last reply Reply Quote 0
                              • K
                                kugiigi @AlainW94 last edited by

                                @AlainW94 It writes? may I know for what?
                                Anyway, I just thought I can use it for backing up/restoring my MultiROM UT installs 😅
                                Good luck with this 🙂

                                AppLee AlainW94 2 Replies Last reply Reply Quote 0
                                • AppLee
                                  AppLee @kugiigi last edited by

                                  @kugiigi Backup AND RESTORE 😉 so yes, write

                                  1 Reply Last reply Reply Quote 2
                                  • AlainW94
                                    AlainW94 @kugiigi last edited by

                                    @kugiigi Yes it write if you restore a backup ! The backup tool will backup the content of 2 folders : /data/user-data and /data/system-data.
                                    If you open a shell on the recovery, and type

                                    ls /data
                                    

                                    And if you can see in there the previouly named folders, then the backup tool will be able to backup this file on your multirom device.

                                    Lakotaubp 1 Reply Last reply Reply Quote 0
                                    • K
                                      kugiigi last edited by

                                      Of course, restoring will write data....what a stupid question from me 😃
                                      I'll check this functionality once it's merged in the app.
                                      Thanks.

                                      1 Reply Last reply Reply Quote 0
                                      • Lakotaubp
                                        Lakotaubp @AlainW94 last edited by

                                        @AlainW94 Like this ?
                                        SWAP.img android-data system-data system.img ubuntu.img user-data

                                        AlainW94 1 Reply Last reply Reply Quote 0
                                        • AlainW94
                                          AlainW94 @Lakotaubp last edited by

                                          @Lakotaubp Yes perfect ! what device is this ?

                                          Lakotaubp 1 Reply Last reply Reply Quote 0
                                          • Lakotaubp
                                            Lakotaubp @AlainW94 last edited by

                                            @AlainW94 OnePlus one

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