Bug two sim cards only one is working perfect
-
@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
-
@luksus start with flashing .flash all A.0111
Output:CURRENT SLOT: a FLASHING SLOT: b sending 'product_b' (131072 KB)... OKAY [ 3.494s] writing 'product_b'... OKAY [ 1.307s] finished. total time: 4.801s target reported max download size of 534773760 bytes sending 'keymaster_b' (316 KB)... OKAY [ 0.040s] writing 'keymaster_b'... OKAY [ 0.024s] finished. total time: 0.064s target reported max download size of 534773760 bytes sending 'cmnlib64_b' (260 KB)... OKAY [ 0.040s] writing 'cmnlib64_b'... OKAY [ 0.025s] finished. total time: 0.065s target reported max download size of 534773760 bytes sending 'cmnlib_b' (208 KB)... OKAY [ 0.040s] writing 'cmnlib_b'... OKAY [ 0.024s] finished. total time: 0.064s target reported max download size of 534773760 bytes sending 'lksecapp_b' (60 KB)... OKAY [ 0.040s] writing 'lksecapp_b'... OKAY [ 0.023s] finished. total time: 0.063s target reported max download size of 534773760 bytes sending 'mdtp_b' (17392 KB)... OKAY [ 0.532s] writing 'mdtp_b'... OKAY [ 0.196s] finished. total time: 0.728s Invalid sparse file format at header magic sending sparse 'vendor_b' 1/2 (521493 KB)... OKAY [ 13.397s] writing 'vendor_b' 1/2... OKAY [ 42.193s] sending sparse 'vendor_b' 2/2 (16364 KB)... OKAY [ 0.453s] writing 'vendor_b' 2/2... OKAY [ 0.197s] finished. total time: 56.240s Invalid sparse file format at header magic sending sparse 'system_b' 1/5 (522236 KB)... OKAY [ 13.085s] writing 'system_b' 1/5... OKAY [ 7.536s] sending sparse 'system_b' 2/5 (522179 KB)... OKAY [ 13.057s] writing 'system_b' 2/5... OKAY [ 5.397s] sending sparse 'system_b' 3/5 (522236 KB)... OKAY [ 13.225s] writing 'system_b' 3/5... OKAY [ 5.850s] sending sparse 'system_b' 4/5 (520509 KB)... OKAY [ 13.402s] writing 'system_b' 4/5... OKAY [ 6.442s] sending sparse 'system_b' 5/5 (394415 KB)... OKAY [ 10.377s] writing 'system_b' 5/5... OKAY [ 48.107s] finished. total time: 136.478s target reported max download size of 534773760 bytes sending 'boot_b' (65536 KB)... OKAY [ 1.727s] writing 'boot_b'... OKAY [ 0.661s] finished. total time: 2.388s target reported max download size of 534773760 bytes sending 'vbmeta_b' (4 KB)... OKAY [ 0.040s] writing 'vbmeta_b'... OKAY [ 0.021s] finished. total time: 0.061s target reported max download size of 534773760 bytes sending 'dtbo_b' (8192 KB)... OKAY [ 0.241s] writing 'dtbo_b'... OKAY [ 0.098s] finished. total time: 0.339s target reported max download size of 534773760 bytes sending 'dsp_b' (16384 KB)... OKAY [ 0.452s] writing 'dsp_b'... OKAY [ 0.188s] finished. total time: 0.640s target reported max download size of 534773760 bytes sending 'devcfg_b' (40 KB)... OKAY [ 0.040s] writing 'devcfg_b'... OKAY [ 0.023s] finished. total time: 0.063s target reported max download size of 534773760 bytes sending 'tz_b' (1500 KB)... OKAY [ 0.080s] writing 'tz_b'... OKAY [ 0.036s] finished. total time: 0.116s target reported max download size of 534773760 bytes sending 'rpm_b' (172 KB)... OKAY [ 0.040s] writing 'rpm_b'... OKAY [ 0.024s] finished. total time: 0.064s target reported max download size of 534773760 bytes sending 'modem_b' (90112 KB)... OKAY [ 2.359s] writing 'modem_b'... OKAY [ 0.880s] finished. total time: 3.239s target reported max download size of 534773760 bytes sending 'aboot_b' (1612 KB)... OKAY [ 0.080s] writing 'aboot_b'... OKAY [ 0.037s] finished. total time: 0.117s target reported max download size of 534773760 bytes sending 'sbl1_b' (444 KB)... OKAY [ 0.050s] writing 'sbl1_b'... OKAY [ 0.025s] finished. total time: 0.075s Setting current slot to 'b'... OKAY [ 0.023s] finished. total time: 0.023s rebooting into bootloader... OKAY [ 0.020s] finished. total time: 0.070s current-slot: b Slot b was successfully flashed. and again: CURRENT SLOT: b FLASHING SLOT: a sending 'product_a' (131072 KB)... OKAY [ 3.374s] writing 'product_a'... OKAY [ 1.304s] finished. total time: 4.678s target reported max download size of 534773760 bytes sending 'keymaster_a' (316 KB)... OKAY [ 0.040s] writing 'keymaster_a'... OKAY [ 0.024s] finished. total time: 0.064s target reported max download size of 534773760 bytes sending 'cmnlib64_a' (260 KB)... OKAY [ 0.040s] writing 'cmnlib64_a'... OKAY [ 0.025s] finished. total time: 0.065s target reported max download size of 534773760 bytes sending 'cmnlib_a' (208 KB)... OKAY [ 0.040s] writing 'cmnlib_a'... OKAY [ 0.024s] finished. total time: 0.064s target reported max download size of 534773760 bytes sending 'lksecapp_a' (60 KB)... OKAY [ 0.040s] writing 'lksecapp_a'... OKAY [ 0.023s] finished. total time: 0.063s target reported max download size of 534773760 bytes sending 'mdtp_a' (17392 KB)... OKAY [ 0.542s] writing 'mdtp_a'... OKAY [ 0.194s] finished. total time: 0.735s Invalid sparse file format at header magic sending sparse 'vendor_a' 1/2 (521493 KB)... OKAY [ 13.568s] writing 'vendor_a' 1/2... OKAY [ 41.297s] sending sparse 'vendor_a' 2/2 (16364 KB)... OKAY [ 0.438s] writing 'vendor_a' 2/2... OKAY [ 0.198s] finished. total time: 55.501s Invalid sparse file format at header magic sending sparse 'system_a' 1/5 (522236 KB)... OKAY [ 13.259s] writing 'system_a' 1/5... OKAY [ 7.548s] sending sparse 'system_a' 2/5 (522179 KB)... OKAY [ 13.315s] writing 'system_a' 2/5... OKAY [ 5.439s] sending sparse 'system_a' 3/5 (522236 KB)... OKAY [ 13.394s] writing 'system_a' 3/5... OKAY [ 5.928s] sending sparse 'system_a' 4/5 (520509 KB)... OKAY [ 13.784s] writing 'system_a' 4/5... OKAY [ 6.469s] sending sparse 'system_a' 5/5 (394415 KB)... OKAY [ 10.251s] writing 'system_a' 5/5... OKAY [ 47.747s] finished. total time: 137.133s target reported max download size of 534773760 bytes sending 'boot_a' (65536 KB)... OKAY [ 1.727s] writing 'boot_a'... OKAY [ 0.664s] finished. total time: 2.390s target reported max download size of 534773760 bytes sending 'vbmeta_a' (4 KB)... OKAY [ 0.040s] writing 'vbmeta_a'... OKAY [ 0.021s] finished. total time: 0.061s target reported max download size of 534773760 bytes sending 'dtbo_a' (8192 KB)... OKAY [ 0.261s] writing 'dtbo_a'... OKAY [ 0.104s] finished. total time: 0.365s target reported max download size of 534773760 bytes sending 'dsp_a' (16384 KB)... OKAY [ 0.452s] writing 'dsp_a'... OKAY [ 0.172s] finished. total time: 0.624s target reported max download size of 534773760 bytes sending 'devcfg_a' (40 KB)... OKAY [ 0.040s] writing 'devcfg_a'... OKAY [ 0.021s] finished. total time: 0.061s target reported max download size of 534773760 bytes sending 'tz_a' (1500 KB)... OKAY [ 0.080s] writing 'tz_a'... OKAY [ 0.049s] finished. total time: 0.129s target reported max download size of 534773760 bytes sending 'rpm_a' (172 KB)... OKAY [ 0.040s] writing 'rpm_a'... OKAY [ 0.024s] finished. total time: 0.064s target reported max download size of 534773760 bytes sending 'modem_a' (90112 KB)... OKAY [ 2.399s] writing 'modem_a'... OKAY [ 0.893s] finished. total time: 3.292s target reported max download size of 534773760 bytes sending 'aboot_a' (1612 KB)... OKAY [ 0.080s] writing 'aboot_a'... OKAY [ 0.037s] finished. total time: 0.117s target reported max download size of 534773760 bytes sending 'sbl1_a' (444 KB)... OKAY [ 0.050s] writing 'sbl1_a'... OKAY [ 0.026s] finished. total time: 0.076s Setting current slot to 'a'... OKAY [ 0.022s] finished. total time: 0.022s rebooting into bootloader... OKAY [ 0.020s] finished. total time: 0.070s current-slot: a Slot a was successfully flashed. now fastboot -w 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-sEeHUQ: 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 did factory reset on FP3 menu now android is starting once slot-active:a: Yes finished. total time: 0.020s Setting current slot to 'b'... OKAY [ 0.022s] finished. total time: 0.022s Setting current slot to 'b'... OKAY [ 0.022s] finished. total time: 0.022s slot-active:a: No finished. total time: 0.020s slot-active:a: No finished. total time: 0.020s after second boot in android image slot-active:a: Yes finished. total time: 0.020s now will start flashing ubuntu touch again newest image 20210213 fastboot flash boot_a boot.img fastboot -S 300M flash system_a system.img boot.img target reported max download size of 534773760 bytes sending 'boot_a' (30064 KB)... OKAY [ 0.793s] writing 'boot_a'... OKAY [ 0.310s] system.img sending sparse 'system_a' 1/8 (298935 KB)... OKAY [ 7.676s] writing 'system_a' 1/8... OKAY [ 11.130s] sending sparse 'system_a' 2/8 (305447 KB)... OKAY [ 7.914s] writing 'system_a' 2/8... OKAY [ 3.601s] sending sparse 'system_a' 3/8 (297298 KB)... OKAY [ 7.440s] writing 'system_a' 3/8... OKAY [ 3.257s] sending sparse 'system_a' 4/8 (300524 KB)... OKAY [ 7.515s] writing 'system_a' 4/8... OKAY [ 3.263s] sending sparse 'system_a' 5/8 (279149 KB)... OKAY [ 6.947s] writing 'system_a' 5/8... OKAY [ 3.666s] sending sparse 'system_a' 6/8 (306948 KB)... OKAY [ 7.728s] writing 'system_a' 6/8... OKAY [ 7.914s] sending sparse 'system_a' 7/8 (287086 KB)... OKAY [ 7.376s] writing 'system_a' 7/8... OKAY [ 11.911s] sending sparse 'system_a' 8/8 (297232 KB)... OKAY [ 7.563s] writing 'system_a' 8/8... OKAY [ 31.525s] finished. total time: 136.425s
--> It will not boot! dammm
-
@Luksus
after missing boot on slot afastboot 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!
-
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
-
@unisuperbox thanks.
-
So I can't see anything obvious... except from, that system image seems to be the problem.
Did you already try to do afastboot flash system_a system.img
without the-S 300
?
From my experience it is not needed, when you specify the slotsystem_a
instead ofsystem
. -
@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.103sfastboot 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 -
@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.255sso i flashed again with -S 300M the old one and it works
-
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.