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

Bug two sim cards only one is working perfect

Scheduled Pinned Locked Moved Fairphone 3
69 Posts 5 Posters 15.5k Views 2 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.
    • F Offline
      FP2andFP3-User @FP2andFP3-User
      last edited by UniSuperBox 13 Feb 2021, 16:59

      @Luksus
      after missing boot on slot a

      fastboot getvar all:
      
      
      (bootloader) version:0.5
      (bootloader) hw-chip:SDM632
      (bootloader) battery-soc-ok:yes
      (bootloader) battery-voltage:4245422
      (bootloader) variant:MTP eMMC
      (bootloader) unlocked:yes
      (bootloader) secure:no
      (bootloader) version-baseband:
      (bootloader) version-bootloader:
      (bootloader) logical-block-size:0x200
      (bootloader) erase-block-size:0x200
      (bootloader) display-panel:
      (bootloader) off-mode-charge:1
      (bootloader) adb-enabled:0
      (bootloader) charger-screen-enabled:1
      (bootloader) max-download-size:	0x1fe00000
      (bootloader) slot-count:2
      (bootloader) current-slot:a
      (bootloader) slot-retry-count:b:6
      (bootloader) slot-success:b:Yes
      (bootloader) slot-active:b:No
      (bootloader) slot-unbootable:b:No
      (bootloader) slot-retry-count:a:7
      (bootloader) slot-success:a:No
      (bootloader) slot-active:a:Yes
      (bootloader) slot-unbootable:a:No
      (bootloader) has-slot:userdata: No
      (bootloader) has-slot:product: Yes
      (bootloader) has-slot:frp: No
      (bootloader) has-slot:logdump: No
      (bootloader) has-slot:dpo: No
      (bootloader) has-slot:msadp: No
      (bootloader) has-slot:apdp: No
      (bootloader) has-slot:keymaster: Yes
      (bootloader) has-slot:cmnlib64: Yes
      (bootloader) has-slot:cmnlib: Yes
      (bootloader) has-slot:lksecapp: Yes
      (bootloader) has-slot:mcfg: No
      (bootloader) has-slot:syscfg: No
      (bootloader) has-slot:mdtp: Yes
      (bootloader) has-slot:dip: No
      (bootloader) has-slot:mota: No
      (bootloader) has-slot:limits: No
      (bootloader) has-slot:oem: No
      (bootloader) has-slot:config: No
      (bootloader) has-slot:prodinfo: No
      (bootloader) has-slot:keystore: No
      (bootloader) has-slot:misc: No
      (bootloader) has-slot:persist: No
      (bootloader) has-slot:vendor: Yes
      (bootloader) has-slot:system: Yes
      (bootloader) has-slot:devinfo: No
      (bootloader) has-slot:boot: Yes
      (bootloader) has-slot:vbmeta: Yes
      (bootloader) has-slot:dtbo: Yes
      (bootloader) has-slot:aboot: Yes
      (bootloader) has-slot:splash: No
      (bootloader) has-slot:sec: No
      (bootloader) has-slot:fsg: No
      (bootloader) has-slot:DDR: No
      (bootloader) has-slot:modemst2: No
      (bootloader) has-slot:modemst1: No
      (bootloader) has-slot:dsp: Yes
      (bootloader) has-slot:devcfg: Yes
      (bootloader) has-slot:tz: Yes
      (bootloader) has-slot:rpm: Yes
      (bootloader) has-slot:sbl1: Yes
      (bootloader) has-slot:ssd: No
      (bootloader) has-slot:fsc: No
      (bootloader) has-slot:modem: Yes
      (bootloader) partition-type:userdata:ext4
      (bootloader) partition-size:userdata:	 0xc2f6f9e00
      (bootloader) partition-type:product_b:raw
      (bootloader) partition-size:product_b:	 0x8000000
      (bootloader) partition-type:product_a:raw
      (bootloader) partition-size:product_a:	 0x8000000
      (bootloader) partition-type:frp:raw
      (bootloader) partition-size:frp:	 0x80000
      (bootloader) partition-type:logdump:raw
      (bootloader) partition-size:logdump:	 0x4000000
      (bootloader) partition-type:dpo:raw
      (bootloader) partition-size:dpo:	 0x2000
      (bootloader) partition-type:msadp:raw
      (bootloader) partition-size:msadp:	 0x40000
      (bootloader) partition-type:apdp:raw
      (bootloader) partition-size:apdp:	 0x40000
      (bootloader) partition-type:keymaster_b:raw
      (bootloader) partition-size:keymaster_b:	 0x100000
      (bootloader) partition-type:keymaster_a:raw
      (bootloader) partition-size:keymaster_a:	 0x100000
      (bootloader) partition-type:cmnlib64_b:raw
      (bootloader) partition-size:cmnlib64_b:	 0x100000
      (bootloader) partition-type:cmnlib64_a:raw
      (bootloader) partition-size:cmnlib64_a:	 0x100000
      (bootloader) partition-type:cmnlib_b:raw
      (bootloader) partition-size:cmnlib_b:	 0x100000
      (bootloader) partition-type:cmnlib_a:raw
      (bootloader) partition-size:cmnlib_a:	 0x100000
      (bootloader) partition-type:lksecapp_b:raw
      (bootloader) partition-size:lksecapp_b:	 0x20000
      (bootloader) partition-type:lksecapp_a:raw
      (bootloader) partition-size:lksecapp_a:	 0x20000
      (bootloader) partition-type:mcfg:raw
      (bootloader) partition-size:mcfg:	 0x400000
      (bootloader) partition-type:syscfg:raw
      (bootloader) partition-size:syscfg:	 0x80000
      (bootloader) partition-type:mdtp_b:raw
      (bootloader) partition-size:mdtp_b:	 0x2000000
      (bootloader) partition-type:mdtp_a:raw
      (bootloader) partition-size:mdtp_a:	 0x2000000
      (bootloader) partition-type:dip:raw
      (bootloader) partition-size:dip:	 0x100000
      (bootloader) partition-type:mota:raw
      (bootloader) partition-size:mota:	 0x80000
      (bootloader) partition-type:limits:raw
      (bootloader) partition-size:limits:	 0x8000
      (bootloader) partition-type:oem:raw
      (bootloader) partition-size:oem:	 0x10000000
      (bootloader) partition-type:config:raw
      (bootloader) partition-size:config:	 0x8000
      (bootloader) partition-type:prodinfo:raw
      (bootloader) partition-size:prodinfo:	 0x200000
      (bootloader) partition-type:keystore:raw
      (bootloader) partition-size:keystore:	 0x80000
      (bootloader) partition-type:misc:raw
      (bootloader) partition-size:misc:	 0x100000
      (bootloader) partition-type:persist:raw
      (bootloader) partition-size:persist:	 0x2000000
      (bootloader) partition-type:vendor_b:raw
      (bootloader) partition-size:vendor_b:	 0x40000000
      (bootloader) partition-type:vendor_a:raw
      (bootloader) partition-size:vendor_a:	 0x40000000
      (bootloader) partition-type:system_b:raw
      (bootloader) partition-size:system_b:	 0xc0000000
      (bootloader) partition-type:system_a:raw
      (bootloader) partition-size:system_a:	 0xc0000000
      (bootloader) partition-type:devinfo:raw
      (bootloader) partition-size:devinfo:	 0x100000
      (bootloader) partition-type:boot_b:raw
      (bootloader) partition-size:boot_b:	 0x4000000
      (bootloader) partition-type:boot_a:raw
      (bootloader) partition-size:boot_a:	 0x4000000
      (bootloader) partition-type:vbmeta_b:raw
      (bootloader) partition-size:vbmeta_b:	 0x10000
      (bootloader) partition-type:vbmeta_a:raw
      (bootloader) partition-size:vbmeta_a:	 0x10000
      (bootloader) partition-type:dtbo_b:raw
      (bootloader) partition-size:dtbo_b:	 0x800000
      (bootloader) partition-type:dtbo_a:raw
      (bootloader) partition-size:dtbo_a:	 0x800000
      (bootloader) partition-type:aboot_b:raw
      (bootloader) partition-size:aboot_b:	 0x300000
      (bootloader) partition-type:aboot_a:raw
      (bootloader) partition-size:aboot_a:	 0x300000
      (bootloader) partition-type:splash:raw
      (bootloader) partition-size:splash:	 0xb00000
      (bootloader) partition-type:sec:raw
      (bootloader) partition-size:sec:	 0x4000
      (bootloader) partition-type:fsg:raw
      (bootloader) partition-size:fsg:	 0x180000
      (bootloader) partition-type:DDR:raw
      (bootloader) partition-size:DDR:	 0x8000
      (bootloader) partition-type:modemst2:raw
      (bootloader) partition-size:modemst2:	 0x180000
      (bootloader) partition-type:modemst1:raw
      (bootloader) partition-size:modemst1:	 0x180000
      (bootloader) partition-type:dsp_b:raw
      (bootloader) partition-size:dsp_b:	 0x1000000
      (bootloader) partition-type:dsp_a:raw
      (bootloader) partition-size:dsp_a:	 0x1000000
      (bootloader) partition-type:devcfg_b:raw
      (bootloader) partition-size:devcfg_b:	 0x40000
      (bootloader) partition-type:devcfg_a:raw
      (bootloader) partition-size:devcfg_a:	 0x40000
      (bootloader) partition-type:tz_b:raw
      (bootloader) partition-size:tz_b:	 0x200000
      (bootloader) partition-type:tz_a:raw
      (bootloader) partition-size:tz_a:	 0x200000
      (bootloader) partition-type:rpm_b:raw
      (bootloader) partition-size:rpm_b:	 0x80000
      (bootloader) partition-type:rpm_a:raw
      (bootloader) partition-size:rpm_a:	 0x80000
      (bootloader) partition-type:sbl1_b:raw
      (bootloader) partition-size:sbl1_b:	 0x80000
      (bootloader) partition-type:sbl1_a:raw
      (bootloader) partition-size:sbl1_a:	 0x80000
      (bootloader) partition-type:ssd:raw
      (bootloader) partition-size:ssd:	 0x2000
      (bootloader) partition-type:fsc:raw
      (bootloader) partition-size:fsc:	 0x400
      (bootloader) partition-type:modem_b:raw
      (bootloader) partition-size:modem_b:	 0x5800000
      (bootloader) partition-type:modem_a:raw
      (bootloader) partition-size:modem_a:	 0x5800000
      (bootloader) hw-revision:10000
      (bootloader) serialno:A209Q4DP0201
      (bootloader) kernel:lk
      (bootloader) product:FP3
      all: 
      finished. total time: 2.000s
      
      flashing the running ubuntu touch image again:
      
      boot.img: 03.02.2021?
      
      target reported max download size of 534773760 bytes
      sending 'boot_a' (30062 KB)...
      OKAY [  0.843s]
      writing 'boot_a'...
      OKAY [  0.311s]
      finished. total time: 1.154s
      
      system.img: 03.02.2021?
      
      sending sparse 'system_a' 1/8 (293407 KB)...
      OKAY [  7.955s]
      writing 'system_a' 1/8...
      OKAY [ 11.356s]
      sending sparse 'system_a' 2/8 (299811 KB)...
      OKAY [  8.048s]
      writing 'system_a' 2/8...
      OKAY [  3.449s]
      sending sparse 'system_a' 3/8 (306975 KB)...
      OKAY [  8.003s]
      writing 'system_a' 3/8...
      OKAY [  3.366s]
      sending sparse 'system_a' 4/8 (301632 KB)...
      OKAY [  7.885s]
      writing 'system_a' 4/8...
      OKAY [  3.273s]
      sending sparse 'system_a' 5/8 (275789 KB)...
      OKAY [  7.266s]
      writing 'system_a' 5/8...
      OKAY [  3.743s]
      sending sparse 'system_a' 6/8 (302901 KB)...
      OKAY [  8.311s]
      writing 'system_a' 6/8...
      OKAY [  4.860s]
      sending sparse 'system_a' 7/8 (307197 KB)...
      OKAY [  8.112s]
      writing 'system_a' 7/8...
      OKAY [ 11.198s]
      sending sparse 'system_a' 8/8 (282100 KB)...
      OKAY [  7.503s]
      writing 'system_a' 8/8...
      OKAY [ 34.563s]
      finished. total time: 138.891s
      
      
      sha256 boot.img:
      819683e86a6ddcfd7d2d7e3184e7b9cfc37868426afb0212cc568e8601f6fb43  
      
      sha256 system.img
      2621325996fbedd94d3ec3a925e56e23d8e3197bc830d0db57c8a2f2a7fd5395
      

      This is what I don`t understand....That this is running and the newer not!

      1 Reply Last reply Reply Quote 0
      • U Offline
        UniSuperBox
        last edited by 13 Feb 2021, 22:32

        @FP2andFP3-User,

        I edited your posts to place the command output into code blocks. You can do this yourself in the future by surrounding your text with three backticks:

        ```
        this is a code block
        ```

        this is a code block
        
        F 1 Reply Last reply 14 Feb 2021, 06:02 Reply Quote 0
        • F Offline
          FP2andFP3-User @UniSuperBox
          last edited by 14 Feb 2021, 06:02

          @unisuperbox thanks.

          LuksusL 1 Reply Last reply 14 Feb 2021, 18:24 Reply Quote 0
          • LuksusL Offline
            Luksus @FP2andFP3-User
            last edited by 14 Feb 2021, 18:24

            @fp2andfp3-user

            So I can't see anything obvious... except from, that system image seems to be the problem.
            😕
            Did you already try to do a fastboot flash system_a system.img without the -S 300?
            From my experience it is not needed, when you specify the slot system_a instead of system.

            Devices: BQ e4.5, Fairphone 2, Fairphone 3, Lenovo X605F, Pinephone, Moto Z2 Force, OnePlus5T

            F 2 Replies Last reply 14 Feb 2021, 19:05 Reply Quote 0
            • F Offline
              FP2andFP3-User @Luksus
              last edited by 14 Feb 2021, 19:05

              @luksus crazy without -S 300M I could flash with system_a, but the same result...no booting take the last image 13.02.2021

              fastboot flash boot_a boot.img

              target reported max download size of 534773760 bytes
              sending 'boot_a' (30064 KB)...
              OKAY [ 0.793s]
              writing 'boot_a'...
              OKAY [ 0.310s]
              finished. total time: 1.103s

              fastboot flash system_a system.img

              target reported max download size of 534773760 bytes
              sending sparse 'system_a' 1/5 (511226 KB)...
              OKAY [ 13.513s]
              writing 'system_a' 1/5...
              OKAY [ 13.557s]
              sending sparse 'system_a' 2/5 (492340 KB)...
              OKAY [ 12.896s]
              writing 'system_a' 2/5...
              OKAY [ 5.422s]
              sending sparse 'system_a' 3/5 (477789 KB)...
              OKAY [ 11.594s]
              writing 'system_a' 3/5...
              OKAY [ 5.717s]
              sending sparse 'system_a' 4/5 (522237 KB)...
              OKAY [ 13.094s]
              writing 'system_a' 4/5...
              OKAY [ 17.960s]
              sending sparse 'system_a' 5/5 (369029 KB)...
              OKAY [ 9.411s]
              writing 'system_a' 5/5...
              OKAY [ 30.732s]
              finished. total time: 133.896s

              1 Reply Last reply Reply Quote 0
              • F Offline
                FP2andFP3-User @Luksus
                last edited by 14 Feb 2021, 19:20

                @luksus and when I flash the old one which is booting the result from

                fastboot flash system_a system.img is

                target reported max download size of 534773760 bytes
                sending sparse 'system_a' 1/5 (510162 KB)...
                OKAY [ 13.714s]
                writing 'system_a' 1/5...
                OKAY [ 13.524s]
                sending sparse 'system_a' 2/5 (522239 KB)...
                FAILED (remote: data too large)
                finished. total time: 27.255s

                so i flashed again with -S 300M the old one and it works

                W 1 Reply Last reply 15 Feb 2021, 16:51 Reply Quote 0
                • W Offline
                  weiti @FP2andFP3-User
                  last edited by 15 Feb 2021, 16:51

                  Hi,
                  i made the same tests... same result.
                  boot.img and system.img from 24.1. works.
                  never boot.img with system.img from 24.1. works.
                  never system.img never works.

                  1 Reply Last reply Reply Quote 0
                  • LuksusL Offline
                    Luksus
                    last edited by 15 Feb 2021, 20:49

                    @FP2andFP3-User @weiti

                    Another try: I reverted the changes that I have added after the 24.01.:
                    https://gitlab.com/ubports/community-ports/android9/fairphone-3/fairphone-fp3/-/jobs/1031622918/artifacts/download

                    Devices: BQ e4.5, Fairphone 2, Fairphone 3, Lenovo X605F, Pinephone, Moto Z2 Force, OnePlus5T

                    F 1 Reply Last reply 15 Feb 2021, 21:03 Reply Quote 0
                    • F Offline
                      FP2andFP3-User @Luksus
                      last edited by 15 Feb 2021, 21:03

                      @luksus thanks for the try.....the new image will not boot!

                      LuksusL 1 Reply Last reply 15 Feb 2021, 21:21 Reply Quote 0
                      • LuksusL Offline
                        Luksus @FP2andFP3-User
                        last edited by Luksus 15 Feb 2021, 21:21

                        @fp2andfp3-user ha, so I also installed this image on my slot b and it does also not boot, that is a progress 🙂

                        So this one works for me here:
                        https://drive.google.com/file/d/1SwAhywG4ahMiulUTg873Jg-n495FwCrQ/view?usp=sharing

                        What about you?

                        Devices: BQ e4.5, Fairphone 2, Fairphone 3, Lenovo X605F, Pinephone, Moto Z2 Force, OnePlus5T

                        F 2 Replies Last reply 16 Feb 2021, 06:17 Reply Quote 0
                        • F Offline
                          FP2andFP3-User @Luksus
                          last edited by FP2andFP3-User 16 Feb 2021, 06:17

                          @luksus installed googledrive on slot b it will not Boot.....sorry

                          1 Reply Last reply Reply Quote 0
                          • F Offline
                            FP2andFP3-User @Luksus
                            last edited by 17 Feb 2021, 16:39

                            @luksus you know the last build 15 minutes ago will not Boot....

                            W 1 Reply Last reply 4 Mar 2021, 18:17 Reply Quote 0
                            • W Offline
                              weiti @FP2andFP3-User
                              last edited by 4 Mar 2021, 18:17

                              Hi,
                              Today i tried again some new builds, same result (also the last build from yesterday does not work).

                              What is also tried is to connect per ssh to 10.15.19.82 after booting the phone, but fails with:

                              Connection refused
                              

                              Output of lsusb contains the line where the ssh connection should work:

                                iSerial                 3 GNU/Linux Device on rndis0 10.15.19.82
                              

                              Any (new) ideas for debugging?

                              F 1 Reply Last reply 4 Mar 2021, 18:41 Reply Quote 0
                              • F Offline
                                FP2andFP3-User @weiti
                                last edited by 4 Mar 2021, 18:41

                                @weiti hello, no New ideas....i will wait for the ubport installer....this will be a New Option....At the Moment i take the old image From Januar...and test the New images like you and have also no luck.sorry.....hope for @Luksus and the ubport installer

                                W 1 Reply Last reply 16 Mar 2021, 16:02 Reply Quote 0
                                • W Offline
                                  weiti @FP2andFP3-User
                                  last edited by 16 Mar 2021, 16:02

                                  good news from my side. after a lot of trials (go back to android, wiping data partition, changing active slots... ) after some time the newest build is working. don´t know what it solved. thanks.

                                  F LuksusL 3 Replies Last reply 16 Mar 2021, 17:15 Reply Quote 0
                                  • F Offline
                                    FP2andFP3-User @weiti
                                    last edited by FP2andFP3-User 16 Mar 2021, 17:15

                                    @weiti okay perfect.....so you did everything again and then it runs? Wiping data how? Twrp or Android or over fastboot?

                                    F W 2 Replies Last reply 16 Mar 2021, 17:38 Reply Quote 0
                                    • F Offline
                                      FP2andFP3-User @FP2andFP3-User
                                      last edited by FP2andFP3-User 16 Mar 2021, 17:38

                                      @Luksus when i do fastboot -w this is the result:
                                      wiping userdata...
                                      Invalid erase-block-size 512: must be a power of 2 and at least 4096.
                                      Invalid logical-block-size 512: must be a power of 2 and at least 4096.
                                      mke2fs 1.45.6 (20-Mar-2020)
                                      /tmp/TemporaryFile-ydrusO: Nicht implementierte Ext2-Bibliotheksfunktion beim Erstellen des Superblocks
                                      /usr/lib/android-sdk/platform-tools/mke2fs failed with status 1
                                      mke2fs failed: 1
                                      error: Cannot generate image for userdata

                                      1 Reply Last reply Reply Quote 0
                                      • F Offline
                                        FP2andFP3-User @weiti
                                        last edited by FP2andFP3-User 16 Mar 2021, 19:59

                                        @weiti I tried also many times now, but no chance to boot the new image. I think, the problem is maybe the data wiping.....
                                        @Luksus
                                        Now E foundation is flashed, because after testing no Android and no old Image was running....e foundation is running now with android 10....Do you have an idea?

                                        1 Reply Last reply Reply Quote 0
                                        • LuksusL Offline
                                          Luksus @weiti
                                          last edited by 16 Mar 2021, 20:11

                                          @weiti interesting. I am happy that you could solve the problem.

                                          @FP2andFP3-User not surewhy it does not work with fastboot.
                                          Did you try it with twrp already?

                                          Devices: BQ e4.5, Fairphone 2, Fairphone 3, Lenovo X605F, Pinephone, Moto Z2 Force, OnePlus5T

                                          F 1 Reply Last reply 16 Mar 2021, 20:17 Reply Quote 0
                                          • F Offline
                                            FP2andFP3-User @Luksus
                                            last edited by FP2andFP3-User 16 Mar 2021, 20:17

                                            @luksus yes with twrp Android and
                                            Fastboot -w and fastboot erase userdata

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