Bug two sim cards only one is working perfect
-
@fp2andfp3-user I don't understand, your new images is also not flashable for me....all older images are okay... I tried with ubuntu and with windows 10 no chance...damm
-
Hi, first thanks for the FP3 port, really nice to have it since a long time.
i have exactly the same Problem. The last build which is working is the one from 24.01. Newer Builds do not boot any more (no access with adb/ssh). Any information i can provide to find the root case?
-
@weiti @FP2andFP3-User
I also don't know whats going on... for me it is still working.
Can you please try this artifacts, which I build on my homeserver: https://drive.google.com/file/d/1Rua6Soc2OyHh5HibaFz1lYS-tBoRtpx3/view?usp=sharingIf this also does not work, I can only suggest you to flash the stock android rom A.0111 with this tool: https://github.com/p1gp1g/fp3_flash_stock.
Your data partition should be stay untouched in this case, so you don't have to be worry about loosing data (normally).After flashing the stock rom, you don't need to boot android.
Just flash again the ubports images. -
@luksus you have to give US access in googledrive, then we can test it. Thanks
-
@luksus shall we flash on both slots or only on one?
-
@fp2andfp3-user Does the link work now?
To be safe you could flash both slots. But this is not needed.
So if you can keep the overview on which slot you are operating, it is up to you ... -
@luksus link is running......thanks
-
@luksus googledrive is not booting....I will check flash.all tommorrow or on saturday.....
-
@fp2andfp3-user regarding flashing both slots:
What I do is, I flashed initially both slots.
Since then I only flash slot A with newer images. This way, I have a working backup slot (B) in case slot A does not boot anymore.
So if it is that case I can just boot to fastboot, switch active slot and boot to the working one. -
1: I flashed both slots with ./flash
2: I flashed boot image and system image from yesterday
3: It will not boot!1:./flash.sh
2:./flash.sh
3:fastboot flash boot boot.img
4:fastboot flash system system.img
--> error flashing
5:fastboot -S 300M flash system system.img
--> okay
6: Reboot
7: It hangs on Fairphone Logo as lasttimedamm Whats the problem?
-
@fp2andfp3-user Do you have still no access over ssh via usb connection?
Do you have 2 simcards? Maybe try with only one inserted. -
@luksus I tried it serveral times and also again your googledriveimage. I tried Windows, Ubuntu and also Manjaro....no chance to boot.
the last bootable for me is from 03.02.2021
-
@luksus with flashing or with booting? I tried it with both simcards everything booting and flashing
-
@fp2andfp3-user booting.
-
@luksus ok. nothing happened also with one simcard on slot 2
-
@fp2andfp3-user can you get a telnet connection to 192.168.2.15 (also with usb connected)?
Did you try, to only flash the boot.img which was working for you, together with the current system build, or the other way around?
I just rebuild the system from the commit which was working for you:
https://gitlab.com/ubports/community-ports/android9/fairphone-3/fairphone-fp3/-/jobs/1027345380/artifacts/download?file_type=archiveSo in it, there is the old working boot.img, and an up to date system.img (with old and working overlays).
-
-
@fp2andfp3-user if the old images are working, I don't think that a data reset would be useful...
Perhaps you could try one last thing:
Starting with a working system (some older images):- flash new boot only -> try to boot
- if this is not working go to start
- flash new system only ->try to boot
If we don't can identify the culprit image, then I don't know how to proceed.
I would try to start with the android stock images again. But this time boot it once on every slot, so that you have a successful boot on both slots. You probably need to wipe the data.
Then try again with latest images...
But when I think about it... the whole issue makes no sense at all.
Perhaps you should document exactly, what you are doing in the terminal, so that I can analize and compare your process against mine. Including:
- which slot you are on:
fastboot getvar slot-active:a
- perhaps a
fastboot getvar all
would be useful - which slot you may have set to active:
fastboot --set-active=a
- what checksum does your flashed images have:
sha256sum boot.img
- what commands did you use to flash the images:
fastboot flash boot_a boot.img
fastboot flash system_a system.img
- what is the complete output of the flash command
Can you boot to recovery btw.? -
- flash new boot image from 11.02.2021
fastboot flash boot_a boot.img
--> booting no problem and system starts
2.flash new image from 11.02.2021
--> not booting
fastboot -S 300M flash system_a system.img.
everything ok
finished total time 137.070s--> now break I will go further later with step 3
- flash new boot image from 11.02.2021
-
@fp2andfp3-user Slot a was active:
getvar all:
(bootloader) version:0.5 (bootloader) hw-chip:SDM632 (bootloader) battery-soc-ok:yes (bootloader) battery-voltage:4211944 (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:7 (bootloader) slot-success:b:No (bootloader) slot-active:b:No (bootloader) slot-unbootable:b:No (bootloader) slot-retry-count:a:5 (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 sha256sum boot.img 5bfaec6d10c87f7fd564f3cf0d3fea899acbc65f8f0b6e7e85b0886dd68b648e Output fflash boot.img: target reported max download size of 534773760 bytes sending 'boot_a' (30064 KB)... OKAY [ 0.813s] writing 'boot_a'... OKAY [ 0.314s] finished. total time: 1.127s Output system.img sending sparse 'system_a' 1/8 (300560 KB)... OKAY [ 7.675s] writing 'system_a' 1/8... OKAY [ 11.402s] sending sparse 'system_a' 2/8 (300469 KB)... OKAY [ 7.741s] writing 'system_a' 2/8... OKAY [ 3.168s] sending sparse 'system_a' 3/8 (307198 KB)... OKAY [ 7.875s] writing 'system_a' 3/8... OKAY [ 3.541s] sending sparse 'system_a' 4/8 (298039 KB)... OKAY [ 7.760s] writing 'system_a' 4/8... OKAY [ 3.306s] sending sparse 'system_a' 5/8 (306059 KB)... OKAY [ 7.807s] writing 'system_a' 5/8... OKAY [ 5.318s] sending sparse 'system_a' 6/8 (305598 KB)... OKAY [ 8.114s] writing 'system_a' 6/8... OKAY [ 3.251s] sending sparse 'system_a' 7/8 (291853 KB)... OKAY [ 7.629s] writing 'system_a' 7/8... OKAY [ 14.424s] sending sparse 'system_a' 8/8 (262336 KB)... OKAY [ 6.996s] writing 'system_a' 8/8... OKAY [ 31.064s] finished. total time: 137.070s
Now I will test to boot recovery mode:
Yes it will start with the newer system image 11.02.2021