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

    Ubports Recovery unintended system.img flashing

    Scheduled Pinned Locked Moved Support
    30 Posts 3 Posters 9.2k Views 1 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.
      • K Offline
        karstong @advocatux
        last edited by

        @advocatux

        Unfortunately, I do not have a telegram account and now my phone does not work anymore. So, one needs a phone number to register in telegram even for the webapp.

        advocatuxA 1 Reply Last reply Reply Quote 0
        • advocatuxA Offline
          advocatux @karstong
          last edited by

          @karstong ok, I'll comment your problem to the helpdesk people and see if anyone is able to help you.

          K 1 Reply Last reply Reply Quote 0
          • K Offline
            karstong @advocatux
            last edited by

            @advocatux Thank you very much.

            advocatuxA 1 Reply Last reply Reply Quote 0
            • advocatuxA Offline
              advocatux @karstong
              last edited by

              @karstong can you access adb in your phone? If the answer is yes, copy the data you want to save, and try to install UBports again.

              K 1 Reply Last reply Reply Quote 0
              • K Offline
                karstong @advocatux
                last edited by

                @advocatux Yes, I see them in adb. Do you know if I only need to copy the "data" folder in order to save all data such as sms, dekko2 settings, signal data, photos...

                advocatuxA 1 Reply Last reply Reply Quote 0
                • advocatuxA Offline
                  advocatux @karstong
                  last edited by advocatux

                  @karstong I prefer to save the whole /home because is easier to cherry-pick whatever I need later to reinstall it.

                  You should save at least .local/share/evolution/ and the content in the main folders (Documents, Downloads, Music, Pictures, and Videos) but, again, is better to save /home than need something later that is already lost.

                  Edit to add .local/share/history-service/history.sqlite to save the sms

                  K 1 Reply Last reply Reply Quote 0
                  • K Offline
                    karstong @advocatux
                    last edited by

                    @advocatux There actually is no home directory. What I see is the following:

                    ~ # ls
                    cache init.rc
                    charger init.wcnss.wifi.sh
                    data init_bt.sh
                    default.prop mnt
                    dev proc
                    etc res
                    file_contexts root
                    fstab.qcom sbin
                    init sdcard
                    init.class_main.sh sideload
                    init.mdm.sh storage
                    init.qcom.class_core.sh sys
                    init.qcom.early_boot.sh system
                    init.qcom.factory.sh tmp
                    init.qcom.modem_links.sh twrp.fstab
                    init.qcom.ssr.sh ueventd.qcom.rc
                    init.qcom.syspart_fixup.sh ueventd.rc
                    init.qcom.usb.sh

                    The documents, downloads etc. is in data/user-data/phablet...

                    I do not find: .local/share/evolution

                    K advocatuxA 2 Replies Last reply Reply Quote 0
                    • K Offline
                      karstong @karstong
                      last edited by

                      @karstong When I try to copy a folder an error occurs "skipping special file 'SingletonSocket' and it dos not continue or do something else...

                      advocatuxA 1 Reply Last reply Reply Quote 0
                      • advocatuxA Offline
                        advocatux @karstong
                        last edited by advocatux

                        @karstong the /home for "your" user is /home/phablet/

                        To list the hidden files (those starting with a dot) too you need the command ls -la or if you're using the filemanager, unlock it, and click "show hidden files".

                        1 Reply Last reply Reply Quote 0
                        • advocatuxA Offline
                          advocatux @karstong
                          last edited by advocatux

                          @karstong you can delete that file (SingletonSocket) and try again.

                          K 1 Reply Last reply Reply Quote 0
                          • K Offline
                            karstong @advocatux
                            last edited by

                            @advocatux I don't find this file. Maybe it is hidden. Obviously I can copy any file but not directories. Do you have an idea?

                            advocatuxA 1 Reply Last reply Reply Quote 0
                            • advocatuxA Offline
                              advocatux @karstong
                              last edited by advocatux

                              @karstong do you have UTmedia installed? then is probably in .local/share/utmedia.nfsprodriver/UTmedia/SingletonSocket

                              K 1 Reply Last reply Reply Quote 0
                              • K Offline
                                karstong @advocatux
                                last edited by

                                @advocatux ./local/share does not exist

                                advocatuxA 1 Reply Last reply Reply Quote 0
                                • advocatuxA Offline
                                  advocatux @karstong
                                  last edited by

                                  @karstong how are you trying to find it?

                                  K 1 Reply Last reply Reply Quote 0
                                  • K Offline
                                    karstong @advocatux
                                    last edited by

                                    @advocatux With "ls -la" I get the following screen print:

                                    ~ # ls -la
                                    drwxr-xr-x 17 root root 0 Jan 1 00:56 .
                                    drwxr-xr-x 17 root root 0 Jan 1 00:56 ..
                                    drwxrwx--- 4 system cache 4096 Jan 12 1970 cache
                                    lrwxrwxrwx 1 root root 13 Jan 1 00:00 charger -> /sbin/healthd
                                    drwxrwx--x 36 system system 4096 Jan 2 1970 data
                                    -rw-r--r-- 1 root root 5822 Jan 1 00:00 default.prop
                                    drwxr-xr-x 12 root root 15480 Jan 1 00:56 dev
                                    drwxr-xr-x 3 root root 0 Jan 1 00:56 etc
                                    -rw-r--r-- 1 root root 10882 Jan 1 00:00 file_contexts
                                    -rw-r----- 1 root root 1204 Jan 1 00:00 fstab.qcom
                                    -rwxr-x--- 1 root root 422804 Jan 1 00:00 init
                                    -rwxr-x--- 1 root root 2696 Jan 1 00:00 init.class_main.sh
                                    -rwxr-x--- 1 root root 1702 Jan 1 00:00 init.mdm.sh
                                    -rwxr-x--- 1 root root 7064 Jan 1 00:00 init.qcom.class_core.sh
                                    -rwxr-x--- 1 root root 6734 Jan 1 00:00 init.qcom.early_boot.sh
                                    -rwxr-x--- 1 root root 11380 Jan 1 00:00 init.qcom.factory.sh
                                    -rwxr-x--- 1 root root 4022 Jan 1 00:00 init.qcom.modem_links.sh
                                    -rwxr-x--- 1 root root 4561 Jan 1 00:00 init.qcom.ssr.sh
                                    -rwxr-x--- 1 root root 2962 Jan 1 00:00 init.qcom.syspart_fixup.sh
                                    -rwxr-x--- 1 root root 7718 Jan 1 00:00 init.qcom.usb.sh
                                    -rwxr-x--- 1 root root 4199 Jan 1 00:00 init.rc
                                    -rwxr-x--- 1 root root 218 Jan 1 00:00 init.wcnss.wifi.sh
                                    -rwxr-x--- 1 root root 1611 Jan 1 00:00 init_bt.sh
                                    drwxrwxr-x 5 root system 0 Jan 1 00:56 mnt
                                    dr-xr-xr-x 169 root root 0 Jan 1 00:00 proc
                                    drwxr-xr-x 3 root root 0 Jan 1 00:00 res
                                    drwx------ 2 root root 0 Dec 20 2017 root
                                    drwxr-x--- 2 root root 0 Jan 1 00:00 sbin
                                    drwxr-xr-x 2 root root 0 Jan 1 00:56 sdcard
                                    drwxr-xr-x 2 root root 0 Jan 1 00:56 sideload
                                    d---r-x--- 2 root sdcard_r 40 Jan 1 00:56 storage
                                    dr-xr-xr-x 12 root root 0 Jan 1 00:56 sys
                                    drwxr-xr-x 15 root root 4096 Jan 1 00:00 system
                                    drwxrwxr-x 2 root shell 80 Jan 1 00:56 tmp
                                    -rw-r--r-- 1 root root 840 Jan 1 00:00 twrp.fstab
                                    -rw-r--r-- 1 root root 9098 Jan 1 00:00 ueventd.qcom.rc
                                    -rw-r--r-- 1 root root 7515 Jan 1 00:00 ueventd.rc
                                    ~ #

                                    In this list there is no ".local". The content of "data/local" is the following:

                                    /data/local # ls -la
                                    drwxr-x--x 3 root root 4096 Jan 1 1970 .
                                    drwxrwx--x 36 system system 4096 Jan 2 1970 ..
                                    drwxrwx--x 2 shell shell 4096 Jan 1 1970 tmp
                                    /data/local # cd local
                                    /sbin/sh: cd: can't cd to local
                                    /data/local # ls -la
                                    drwxr-x--x 3 root root 4096 Jan 1 1970 .
                                    drwxrwx--x 36 system system 4096 Jan 2 1970 ..
                                    drwxrwx--x 2 shell shell 4096 Jan 1 1970 tmp
                                    /data/local #

                                    advocatuxA 1 Reply Last reply Reply Quote 0
                                    • advocatuxA Offline
                                      advocatux @karstong
                                      last edited by advocatux

                                      @karstong it seems you're running the commands as root (I don't know why).

                                      To list the content of "your" user's home the command is ls -la /home/phablet/

                                      K 1 Reply Last reply Reply Quote 0
                                      • K Offline
                                        karstong @advocatux
                                        last edited by

                                        @advocatux This command brings:

                                        ~ # ls -la /home/phablet/
                                        ls: /home/phablet/: No such file or directory
                                        ~ #

                                        advocatuxA 1 Reply Last reply Reply Quote 0
                                        • advocatuxA Offline
                                          advocatux @karstong
                                          last edited by

                                          @karstong where are you running that command?

                                          K 1 Reply Last reply Reply Quote 0
                                          • K Offline
                                            karstong @advocatux
                                            last edited by

                                            @advocatux In adb shell from my ubuntu desktop maschine with the phone connected via an USB cable.

                                            advocatuxA 1 Reply Last reply Reply Quote 0
                                            • advocatuxA Offline
                                              advocatux @karstong
                                              last edited by advocatux

                                              @karstong if you exit adb shell, back to your terminal in Ubuntu, and type adb pull /home/phablet/ /home/your_user/directory_you_want_to_save_to/ What happens?

                                              Obviously change that parameters for yours.

                                              K 1 Reply Last reply Reply Quote 0

                                              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                              With your input, this post could be even better 💗

                                              Register Login
                                              • First post
                                                Last post