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 6.3k 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.
      • 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
                        • K Offline
                          karstong @advocatux
                          last edited by

                          @advocatux It gives me the same error:

                          ~$ adb pull /home/phablet/ /home/huelguat/test
                          remote object '/home/phablet/' does not exist

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

                            @karstong I hope you're doing something wrong because if really "/home/phablet/" doesn't exists, you have lost all the data in that device.

                            I'm assuming you're running adb properly, so I'm out of ideas for now.

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

                              @advocatux I hope too that I did not lose all my data. Anyway, thanks for your help!!!

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

                                @karstong you're welcome and I hope all your data is still in your device, somewhere!

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

                                  @karstong is it possible to flash TWRP ,see what you can find, and then start again

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

                                    @advocatux I finally managed to find .local etc. -> is is in the data/user-data folder. Then I deleted the file which stopped the pull process. Now, I am copying all my data to my desktop computer. Yeah!

                                    advocatuxA 1 Reply Last reply Reply Quote 1
                                    • K Offline
                                      karstong @Marathon2422
                                      last edited by

                                      @marathon2422 Do you mean to install TWRP in fastboot?

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

                                        @karstong congratulations!!

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