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

    How to access data on phone with broken screen?

    Scheduled Pinned Locked Moved Solved Support
    pixel 3a
    25 Posts 8 Posters 8.0k 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.
      • arubislanderA Offline
        arubislander @BarryT
        last edited by arubislander

        @BarryT You would have had a better experience if you had flashed xenial to your phone and then updated to focal.

        You see, lots of things are different under the hood between xenial and focal. And the first run of a new focal install / update runs an upgrade / migration script for all impacted app settings and configs. (These are most prominently the default pre-installed apps.) But since you flashed focal and then restored your xenial data, no such migration took place, and you were left with a broken system.

        Things being as they are, you can restore your photo and music data selectively, either via MTP or with adb push. If you wanted to retain your contacts and texts, then a clean flash to xenial (with wipe!) then a data restore, and finally an upgrade to focal, would be the way to go. But be warned that some people have experienced some issues going that route as well.

        πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
        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
        • KenedaK Offline
          Keneda @BarryT
          last edited by Keneda

          @BarryT

          I will also have to accept that the old text messages are lost

          Not sure about that, i don't think the database changed for messaging history between 16 and 20.04.

          @lduboeuf can you give some light here ?

          In meantime, try to copy your saved history.sqlite file and its "attachements" folder to your new device, and backup then delete history-daemon.lock file, then reboot, open messaging app, and wait ^^

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

          arubislanderA B 2 Replies Last reply Reply Quote 0
          • arubislanderA Offline
            arubislander @Keneda
            last edited by

            @Keneda The database might

            @Keneda said in How to access data on phone with broken screen?:

            Not sure about that, i don't think the database changed for messaging history between 16 and 20.04.

            The DB might not have changed, but the new install has a different device ID than the previous one. So while the messages would be there, they would not be visible, until the device-id's were updated to the new one with an SQL statement. Granted this would be an issue also on a new xenial install.

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

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

              @arubislander
              Surprisingly, i had no problem migrating my history database from my MX4 to my N5, even if i am sure the device ID is not the same, and red somewhere here that migrating message between diffrent devices is a pain in the bottom ^^

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

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

                @Keneda Then I should change my post to say might have a different device ID.(And this is not the Android device ID we're talking about, but an internal one, specific to the app)

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

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

                  @arubislander
                  I tested this telling me that if it failed, that would not be dramatic (no risk of ditching UT like this), and if it succeeded, i would be very happy, and that cost nothing to try πŸ˜‰

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

                  1 Reply Last reply Reply Quote 0
                  • B Offline
                    BarryT @Keneda
                    last edited by

                    @Keneda Thanks for the info but I think that will give this a miss. I don't want to push my luck, and am content with what I have achieved so far.

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

                      @BarryT
                      Again, you can't break UT trying this ^^
                      If that fails, just delete previously copyed file/folder, and restore backed history-deamon file.

                      But if your ok without, nevermind ^^

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

                      1 Reply Last reply Reply Quote 0
                      • B Offline
                        BarryT @RayCulp
                        last edited by

                        @RayCulp PM sent to you.

                        1 Reply Last reply Reply Quote 0
                        • B BarryT has marked this topic as solved on
                        • * Offline
                          *salomegomez Banned
                          last edited by

                          This post is deleted!
                          1 Reply Last reply Reply Quote 0
                          • arubislanderA arubislander locked this topic on
                          • First post
                            Last post