Shiftphone 8 doesn't boot android anymore

smartphone-user

Member
Original poster
17 Mai 2026
8
Hi everyone,

thanks at lot for your investment in fair phones and foss!

I successfully installed pmos to the superpartition in slot a. My aim was to have a dual boot setup with android in slot b. Although the phone didn't boot to shiftos in slot b. (Is slot b empty per default?) After that I flashed shiftos, e os in slot a and also b, which didn't lead to bootable android. pmos I didn't flash again for now. Symptoms in my case seem similar to https://forum.shiftphones.com/threads/shift6mq-bricked-stuck-in-boot-fastboot-mode-screen.6198/ .

I realized that shiftos but also eg e os fastboot packages don't contain init_boot image file, despite the partition should be erased for pmos install according to https://wiki.postmarketos.org/wiki/...er)#Manual_installation_on_userdata_partition . Is it possible the boot problem is connected to that? If so could you please publish this image file (Without having looked into it more deeply it could be created from boot img file? See reddit.)? For now I havent really looked at how to get boot logs (Edit: Seems UART would allow that...).

Best wishes :)
 
Zuletzt bearbeitet:
So you can enter fastboot? Could you try fastboot getvar all
(Please delete you serial numbers before sharing)
 
Yes I can still enter fastboot. Also I tried to flash pmos again this time using userdata for rootfs, which didn't lead to a booting pmos. I now tried to flash shiftos 6.3, 6.4 and 6.5. This will change output of fastboot getvar all for at least version-bootloader and variant. After flashing shiftos 6.4 to slot a I get:

Code:
$ fastboot getvar all
(bootloader) parallel-download-flash:yes
(bootloader) hw-revision:10000
(bootloader) unlocked:yes
(bootloader) off-mode-charge:1
(bootloader) charger-screen-enabled:1
(bootloader) battery-soc-ok:yes
(bootloader) battery-voltage:4359
(bootloader) version-baseband:
(bootloader) version-bootloader:6.3
(bootloader) erase-block-size: 0x1000
(bootloader) logical-block-size: 0x1000
(bootloader) variant:QCM6490 UFS
(bootloader) partition-type:fsc:raw
(bootloader) partition-size:fsc: 0x20000
(bootloader) partition-type:fsg:raw
(bootloader) partition-size:fsg: 0x300000
(bootloader) partition-type:modemst2:raw
(bootloader) partition-size:modemst2: 0x300000
(bootloader) partition-type:modemst1:raw
(bootloader) partition-size:modemst1: 0x300000
(bootloader) partition-type:ALIGN_TO_128K_2:raw
(bootloader) partition-size:ALIGN_TO_128K_2: 0x1A000
(bootloader) partition-type:rtice:raw
(bootloader) partition-size:rtice: 0x80000
(bootloader) partition-type:tzsc:raw
(bootloader) partition-size:tzsc: 0x20000
(bootloader) partition-type:connsec:raw
(bootloader) partition-size:connsec: 0x20000
(bootloader) partition-type:mdcompress:raw
(bootloader) partition-size:mdcompress: 0x1400000
(bootloader) partition-type:vm-data:raw
(bootloader) partition-size:vm-data: 0x20A4000
(bootloader) partition-type:catecontentfv:raw
(bootloader) partition-size:catecontentfv: 0x100000
(bootloader) partition-type:catefv:raw
(bootloader) partition-size:catefv: 0x80000
(bootloader) partition-type:secdata:raw
(bootloader) partition-size:secdata: 0x7000
(bootloader) partition-type:uefivarstore:raw
(bootloader) partition-size:uefivarstore: 0x80000
(bootloader) partition-type:storsec:raw
(bootloader) partition-size:storsec: 0x20000
(bootloader) partition-type:pstore:raw
(bootloader) partition-size:pstore: 0x4000000
(bootloader) partition-type:logdump:raw
(bootloader) partition-size:logdump: 0x20000000
(bootloader) partition-type:quantumsdk:raw
(bootloader) partition-size:quantumsdk: 0x2800000
(bootloader) partition-type:logfs:raw
(bootloader) partition-size:logfs: 0x800000
(bootloader) partition-type:toolsfv:raw
(bootloader) partition-size:toolsfv: 0x100000
(bootloader) partition-type:limits-cdsp:raw
(bootloader) partition-size:limits-cdsp: 0x1000
(bootloader) partition-type:limits:raw
(bootloader) partition-size:limits: 0x1000
(bootloader) partition-type:splash:raw
(bootloader) partition-size:splash: 0x20A4000
(bootloader) partition-type:apdp:raw
(bootloader) partition-size:apdp: 0x40000
(bootloader) partition-type:dip:raw
(bootloader) partition-size:dip: 0x100000
(bootloader) partition-type:devinfo:raw
(bootloader) partition-size:devinfo: 0x1000
(bootloader) partition-type:qweslicstore_b:raw
(bootloader) partition-size:qweslicstore_b: 0x40000
(bootloader) partition-type:vendor_boot_b:raw
(bootloader) partition-size:vendor_boot_b: 0x6000000
(bootloader) partition-type:featenabler_b:raw
(bootloader) partition-size:featenabler_b: 0x20000
(bootloader) partition-type:cpucp_b:raw
(bootloader) partition-size:cpucp_b: 0x100000
(bootloader) partition-type:multiimgoem_b:raw
(bootloader) partition-size:multiimgoem_b: 0x8000
(bootloader) partition-type:shrm_b:raw
(bootloader) partition-size:shrm_b: 0x20000
(bootloader) partition-type:imagefv_b:raw
(bootloader) partition-size:imagefv_b: 0x200000
(bootloader) partition-type:uefisecapp_b:raw
(bootloader) partition-size:uefisecapp_b: 0x200000
(bootloader) partition-type:dtbo_b:raw
(bootloader) partition-size:dtbo_b: 0x1800000
(bootloader) partition-type:vbmeta_b:raw
(bootloader) partition-size:vbmeta_b: 0x10000
(bootloader) partition-type:qupfw_b:raw
(bootloader) partition-size:qupfw_b: 0x14000
(bootloader) partition-type:devcfg_b:raw
(bootloader) partition-size:devcfg_b: 0x20000
(bootloader) partition-type:boot_b:raw
(bootloader) partition-size:boot_b: 0x6000000
(bootloader) partition-type:keymaster_b:raw
(bootloader) partition-size:keymaster_b: 0x80000
(bootloader) partition-type:dsp_b:raw
(bootloader) partition-size:dsp_b: 0x4000000
(bootloader) partition-type:abl_b:raw
(bootloader) partition-size:abl_b: 0x100000
(bootloader) partition-type:mdtp_b:raw
(bootloader) partition-size:mdtp_b: 0x2000000
(bootloader) partition-type:mdtpsecapp_b:raw
(bootloader) partition-size:mdtpsecapp_b: 0x400000
(bootloader) partition-type:bluetooth_b:raw
(bootloader) partition-size:bluetooth_b: 0x400000
(bootloader) partition-type:modem_b:raw
(bootloader) partition-size:modem_b: 0xDC00000
(bootloader) partition-type:hyp_b:raw
(bootloader) partition-size:hyp_b: 0x800000
(bootloader) partition-type:tz_b:raw
(bootloader) partition-size:tz_b: 0x400000
(bootloader) partition-type:aop_b:raw
(bootloader) partition-size:aop_b: 0x80000
(bootloader) partition-type:qweslicstore_a:raw
(bootloader) partition-size:qweslicstore_a: 0x40000
(bootloader) partition-type:qmcs:raw
(bootloader) partition-size:qmcs: 0x1E00000
(bootloader) partition-type:vendor_boot_a:raw
(bootloader) partition-size:vendor_boot_a: 0x6000000
(bootloader) partition-type:featenabler_a:raw
(bootloader) partition-size:featenabler_a: 0x20000
(bootloader) partition-type:cpucp_a:raw
(bootloader) partition-size:cpucp_a: 0x100000
(bootloader) partition-type:multiimgoem_a:raw
(bootloader) partition-size:multiimgoem_a: 0x8000
(bootloader) partition-type:shrm_a:raw
(bootloader) partition-size:shrm_a: 0x20000
(bootloader) partition-type:imagefv_a:raw
(bootloader) partition-size:imagefv_a: 0x200000
(bootloader) partition-type:uefisecapp_a:raw
(bootloader) partition-size:uefisecapp_a: 0x200000
(bootloader) partition-type:dtbo_a:raw
(bootloader) partition-size:dtbo_a: 0x1800000
(bootloader) partition-type:vbmeta_a:raw
(bootloader) partition-size:vbmeta_a: 0x10000
(bootloader) partition-type:qupfw_a:raw
(bootloader) partition-size:qupfw_a: 0x14000
(bootloader) partition-type:devcfg_a:raw
(bootloader) partition-size:devcfg_a: 0x20000
(bootloader) partition-type:boot_a:raw
(bootloader) partition-size:boot_a: 0x6000000
(bootloader) partition-type:keymaster_a:raw
(bootloader) partition-size:keymaster_a: 0x80000
(bootloader) partition-type:dsp_a:raw
(bootloader) partition-size:dsp_a: 0x4000000
(bootloader) partition-type:abl_a:raw
(bootloader) partition-size:abl_a: 0x100000
(bootloader) partition-type:mdtp_a:raw
(bootloader) partition-size:mdtp_a: 0x2000000
(bootloader) partition-type:mdtpsecapp_a:raw
(bootloader) partition-size:mdtpsecapp_a: 0x400000
(bootloader) partition-type:bluetooth_a:raw
(bootloader) partition-size:bluetooth_a: 0x400000
(bootloader) partition-type:modem_a:raw
(bootloader) partition-size:modem_a: 0xDC00000
(bootloader) partition-type:hyp_a:raw
(bootloader) partition-size:hyp_a: 0x800000
(bootloader) partition-type:tz_a:raw
(bootloader) partition-size:tz_a: 0x400000
(bootloader) partition-type:aop_a:raw
(bootloader) partition-size:aop_a: 0x80000
(bootloader) partition-type:ddr:raw
(bootloader) partition-size:ddr: 0x100000
(bootloader) partition-type:cdt:raw
(bootloader) partition-size:cdt: 0x20000
(bootloader) partition-type:ALIGN_TO_128K_1:raw
(bootloader) partition-size:ALIGN_TO_128K_1: 0x1A000
(bootloader) partition-type:xbl_config_b:raw
(bootloader) partition-size:xbl_config_b: 0x3A000
(bootloader) partition-type:xbl_b:raw
(bootloader) partition-size:xbl_b: 0x385000
(bootloader) partition-type:xbl_config_a:raw
(bootloader) partition-size:xbl_config_a: 0x3A000
(bootloader) partition-type:xbl_a:raw
(bootloader) partition-size:xbl_a: 0x385000
(bootloader) partition-type:userdata:f2fs
(bootloader) partition-size:userdata: 0x6EC6D53000
(bootloader) partition-type:efi:raw
(bootloader) partition-size:efi: 0x40000000
(bootloader) partition-type:rawdump:raw
(bootloader) partition-size:rawdump: 0x30C800000
(bootloader) partition-type:metadata:ext4
(bootloader) partition-size:metadata: 0x1000000
(bootloader) partition-type:vbmeta_system_b:raw
(bootloader) partition-size:vbmeta_system_b: 0x10000
(bootloader) partition-type:vbmeta_system_a:raw
(bootloader) partition-size:vbmeta_system_a: 0x10000
(bootloader) partition-type:recovery_b:raw
(bootloader) partition-size:recovery_b: 0x7800000
(bootloader) partition-type:recovery_a:raw
(bootloader) partition-size:recovery_a: 0x7800000
(bootloader) partition-type:super:raw
(bootloader) partition-size:super: 0x180000000
(bootloader) partition-type:frp:raw
(bootloader) partition-size:frp: 0x80000
(bootloader) partition-type:oem:raw
(bootloader) partition-size:oem: 0x80000
(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:ssd:raw
(bootloader) partition-size:ssd: 0x2000
(bootloader) partition-type:init_boot_b:raw
(bootloader) partition-size:init_boot_b: 0x800000
(bootloader) partition-type:init_boot_a:raw
(bootloader) partition-size:init_boot_a: 0x800000
(bootloader) has-slot:modem:yes
(bootloader) has-slot:system:no
(bootloader) current-slot:a
(bootloader) has-slot:boot:yes
(bootloader) slot-retry-count:b:7
(bootloader) slot-unbootable:b:no
(bootloader) slot-successful:b:no
(bootloader) slot-retry-count:a:7
(bootloader) slot-unbootable:a:no
(bootloader) slot-successful:a:no
(bootloader) slot-count:2
(bootloader) secure:yes
(bootloader) serialno:
(bootloader) product:otter
(bootloader) snapshot-update-status:none
(bootloader) is-userspace:no
(bootloader) max-download-size:805306368
(bootloader) kernel:uefi
 
Zuletzt bearbeitet:
I am not able to help you with the problem I guess, but if there is someone coming by (like @amartinz or Caleb), the output of fastboot oem device-info might be helpful to them too
 
Thank you anyhow!

Code:
$ fastboot oem device-info
(bootloader) Verity mode: true
(bootloader) Device unlocked: true
(bootloader) Device critical unlocked: true
(bootloader) Charger screen enabled: true
(bootloader) User public key set: false
(bootloader) Mainline optimization enabled: true
(bootloader) Developer mode enabled: true
(bootloader) Rollback index (0): 0
(bootloader) Rollback index (1): 0
(bootloader) Rollback index (2): 0
 
Yes I tried the shiftos 6.5 fastboot package, that you link and it didn't work.

I just flashed it again and just noticed bootloader version stays at 6.3. That is expected?
 
Zuletzt bearbeitet:
Yes, because there were no bootloader updates since then.

I currently really do not know, what could be the issue that way.
Soooo, you could try some brute-force.

Code:
# Set slot to A, which resets a few counters.
fastboot --set-active=a

# Reset the SPL level, even though it shows 0 for you.
fastboot oem reset-spl

# Disable mainline optimizations, just in case.
fastboot oem disable-mainline-optimization

# Wipe a few things, which should have usually happened
# already when using the fastboot packages.
fastboot -w
 
Okay. I ran those commands, but booting shiftos afterwards still does not work. fastboot -w output had two lines which probably are not a problem, but here they are anyhow to be sure:

Code:
[...]
Warning: skip copying userdata image avb footer due to sparse image.
[...]
wipe task partition not found: cache
[...]
 
At this point i hope nothing got damaged which requires QFIL/EDL to fix it, because that would involve sending the device back in for repair, as we can not publish these tools :/

Did you try booting pmOS since then, if that still works?
 
Okay. I had tried booting pmos again and it didn't work, after I had tried to install it again this second time the rootfs to userdata partition. Before that I had flashed shiftos to both slots.

Is init_boot partition required for succesfully booting shiftos? I had erased it according to https://wiki.postmarketos.org/wiki/...er)#Manual_installation_on_userdata_partition . On the other hand pmos isn't booting anymore either, so erased init_boot parition cannot be the problem... Do you have any suspiscion what the problem could be, that could only be fixed by edl?

Apart from that according to llms fastboot boot boot.img isn't supposed to work on shiftphone 8. That is correct?
 
Zuletzt bearbeitet:
init_boot is a partition that exists but is not used currently.

I have edited the wiki to remove this, to prevent confusion.

fastboot boot boot.img works here on my end, so it should work.

Do you have any suspiscion what the problem could be, that could only be fixed by edl?
I once had the issue, that for whatever reason it got confused by LUNs and tried to boot a non-existant slot.
Then i was able to force set it to something different using edl and it worked again.

I think the command was edl --memory=ufs --loader=prog_firehose_ddr.elf e misc --lun=0, but it would not be helpful to you as the loader is not available :/
 
I think the command was edl --memory=ufs --loader=prog_firehose_ddr.elf e misc --lun=0, but it would not be helpful to you as the loader is not available :/

Out of curiosity: Is the loader (prog_firehose_ddr.elf) specifically adapted for the Shift 8/8.1 or is it a generic Qualcomm loader for the QCM/QCS6490 platform? Or, put differently, would another Firehose protocol loader for the QCM/QCS6490 platform work? Because there may be at least one publicly available...
 
Zuletzt bearbeitet:
Out of curiosity: Is the loader (prog_firehose_ddr.elf) specifically adapted for the Shift 8/8.1 or is it a generic Qualcomm loader for the QCM/QCS6490 platform? Or, put differently, would another Firehose protocol loader for the QCM/QCS6490 platform work? Because there may be at least one publicly available...
You can always try, worst case it prevents communication and nothing happens.

I am not allowed to publically endorse things or anything, all I can do is maybe drop certain hints from time to time so the community figures things out themselves :)
 
  • Like
Reaktionen: da_ni
is it a generic Qualcomm loader
drop certain hints from time to time
One of the hints in the past was, that the Shift6mq does use an generic one, the ShiftPhone 8 doesn't....

The last hint was, that there must be some Loader out there working. Otherwise, why should you just try it 🤔.

I haven't tried any loaders yet because my device is still working just fine.
Of course, that's how it should stay 😅

Just give Feedback 😉.

Greetz
 
Zuletzt bearbeitet:
I personally won't get around to testing the loader(s) for at least a week or two, since I'll be traveling.

My device is working (it's my daily driver and I don't have a spare test device), so I'm reluctant to fuzz around with it too much, I can't risk a brick that would require it to be sent in for repair.
 
fastboot boot boot.img works here on my end, so it should work.
Interesting. For shiftos and pmos I get currently:

Code:
$ fastboot boot OTTER.SOS.6.5.G-RELEASE-20260306-FASTBOOT/boot.img
Sending 'boot.img' (98304 KB)                      OKAY [  2.240s]
Booting                                            FAILED (remote: 'Failed to load/authenticate boot image: Device Error')
fastboot: error: Command failed

Does this hint at anything specific? (I unfortunately know very little about android boot process...)

This is what I did to get a booting pmos installation in superpartition slot a:

Code:
$ fastboot reboot fastboot
Finished. Total time: 0.001s
$ fastboot devices
<serialno>     fastboot
$ fastboot getvar all
(bootloader) cpu-abi:arm64-v8a
(bootloader) snapshot-update-status:none
(bootloader) super-partition-name:super
(bootloader) is-logical:sdc:no
(bootloader) is-logical:tz_b:no
(bootloader) is-logical:init_boot_a:no
(bootloader) is-logical:abl_a:no
(bootloader) is-logical:aop_a:no
(bootloader) is-logical:xbl_config_b:no
(bootloader) is-logical:dsp_b:no
(bootloader) is-logical:featenabler_b:no
(bootloader) is-logical:multiimgoem_a:no
(bootloader) is-logical:modem_b:no
(bootloader) is-logical:cpucp_a:no
(bootloader) is-logical:misc:no
(bootloader) is-logical:devcfg_b:no
(bootloader) is-logical:vbmeta_system_b:no
(bootloader) is-logical:qupfw_a:no
(bootloader) is-logical:ssd:no
(bootloader) is-logical:xbl_b:no
(bootloader) is-logical:init_boot_b:no
(bootloader) is-logical:hyp_b:no
(bootloader) is-logical:shrm_b:no
(bootloader) is-logical:qweslicstore_a:no
(bootloader) is-logical:dsp_a:no
(bootloader) is-logical:uefisecapp_a:no
(bootloader) is-logical:mdtpsecapp_a:no
(bootloader) is-logical:featenabler_a:no
(bootloader) is-logical:boot_b:no
(bootloader) is-logical:mdtp_b:no
(bootloader) is-logical:hyp_a:no
(bootloader) is-logical:multiimgoem_b:no
(bootloader) is-logical:qweslicstore_b:no
(bootloader) is-logical:imagefv_a:no
(bootloader) is-logical:qupfw_b:no
(bootloader) is-logical:tz_a:no
(bootloader) is-logical:keymaster_a:no
(bootloader) is-logical:xbl_config_a:no
(bootloader) is-logical:vendor_boot_a:no
(bootloader) is-logical:abl_b:no
(bootloader) is-logical:uefisecapp_b:no
(bootloader) is-logical:sdb:no
(bootloader) is-logical:sdd:no
(bootloader) is-logical:xbl_a:no
(bootloader) is-logical:userdata:no
(bootloader) is-logical:recovery_b:no
(bootloader) is-logical:modem_a:no
(bootloader) is-logical:recovery_a:no
(bootloader) is-logical:sda:no
(bootloader) is-logical:keymaster_b:no
(bootloader) is-logical:cpucp_b:no
(bootloader) is-logical:vbmeta_b:no
(bootloader) is-logical:imagefv_b:no
(bootloader) is-logical:vendor_boot_b:no
(bootloader) is-logical:shrm_a:no
(bootloader) is-logical:bluetooth_b:no
(bootloader) is-logical:bluetooth_a:no
(bootloader) is-logical:aop_b:no
(bootloader) is-logical:mdtpsecapp_b:no
(bootloader) is-logical:mdtp_a:no
(bootloader) is-logical:sde:no
(bootloader) is-logical:dtbo_b:no
(bootloader) is-logical:devcfg_a:no
(bootloader) is-logical:sdf:no
(bootloader) is-logical:super:no
(bootloader) is-logical:vbmeta_system_a:no
(bootloader) is-logical:metadata:no
(bootloader) is-logical:vbmeta_a:no
(bootloader) is-logical:boot_a:no
(bootloader) is-logical:dtbo_a:no
(bootloader) is-logical:odm_a:yes
(bootloader) is-logical:odm_b:yes
(bootloader) is-logical:product_a:yes
(bootloader) is-logical:product_b:yes
(bootloader) is-logical:system_a:yes
(bootloader) is-logical:system_b:yes
(bootloader) is-logical:system_ext_a:yes
(bootloader) is-logical:system_ext_b:yes
(bootloader) is-logical:vendor_a:yes
(bootloader) is-logical:vendor_b:yes
(bootloader) battery-soc-ok:yes
(bootloader) battery-voltage:0
(bootloader) off-mode-charge:0
(bootloader) treble-enabled:true
(bootloader) is-userspace:yes
(bootloader) partition-size:sdc:0x800000
(bootloader) partition-size:tz_b:0x400000
(bootloader) partition-size:init_boot_a:0x800000
(bootloader) partition-size:abl_a:0x100000
(bootloader) partition-size:aop_a:0x80000
(bootloader) partition-size:xbl_config_b:0x3A000
(bootloader) partition-size:dsp_b:0x4000000
(bootloader) partition-size:featenabler_b:0x20000
(bootloader) partition-size:multiimgoem_a:0x8000
(bootloader) partition-size:modem_b:0xDC00000
(bootloader) partition-size:cpucp_a:0x100000
(bootloader) partition-size:misc:0x100000
(bootloader) partition-size:devcfg_b:0x20000
(bootloader) partition-size:vbmeta_system_b:0x10000
(bootloader) partition-size:qupfw_a:0x14000
(bootloader) partition-size:ssd:0x2000
(bootloader) partition-size:xbl_b:0x385000
(bootloader) partition-size:init_boot_b:0x800000
(bootloader) partition-size:hyp_b:0x800000
(bootloader) partition-size:shrm_b:0x20000
(bootloader) partition-size:qweslicstore_a:0x40000
(bootloader) partition-size:dsp_a:0x4000000
(bootloader) partition-size:uefisecapp_a:0x200000
(bootloader) partition-size:mdtpsecapp_a:0x400000
(bootloader) partition-size:featenabler_a:0x20000
(bootloader) partition-size:boot_b:0x6000000
(bootloader) partition-size:mdtp_b:0x2000000
(bootloader) partition-size:hyp_a:0x800000
(bootloader) partition-size:multiimgoem_b:0x8000
(bootloader) partition-size:qweslicstore_b:0x40000
(bootloader) partition-size:imagefv_a:0x200000
(bootloader) partition-size:qupfw_b:0x14000
(bootloader) partition-size:tz_a:0x400000
(bootloader) partition-size:keymaster_a:0x80000
(bootloader) partition-size:xbl_config_a:0x3A000
(bootloader) partition-size:vendor_boot_a:0x6000000
(bootloader) partition-size:abl_b:0x100000
(bootloader) partition-size:uefisecapp_b:0x200000
(bootloader) partition-size:sdb:0x800000
(bootloader) partition-size:sdd:0x2000000
(bootloader) partition-size:xbl_a:0x385000
(bootloader) partition-size:userdata:0x6EC6D53000
(bootloader) partition-size:recovery_b:0x7800000
(bootloader) partition-size:modem_a:0xDC00000
(bootloader) partition-size:recovery_a:0x7800000
(bootloader) partition-size:sda:0x73A6800000
(bootloader) partition-size:keymaster_b:0x80000
(bootloader) partition-size:cpucp_b:0x100000
(bootloader) partition-size:vbmeta_b:0x10000
(bootloader) partition-size:imagefv_b:0x200000
(bootloader) partition-size:vendor_boot_b:0x6000000
(bootloader) partition-size:shrm_a:0x20000
(bootloader) partition-size:bluetooth_b:0x400000
(bootloader) partition-size:bluetooth_a:0x400000
(bootloader) partition-size:aop_b:0x80000
(bootloader) partition-size:mdtpsecapp_b:0x400000
(bootloader) partition-size:mdtp_a:0x2000000
(bootloader) partition-size:sde:0x180000000
(bootloader) partition-size:dtbo_b:0x1800000
(bootloader) partition-size:devcfg_a:0x20000
(bootloader) partition-size:sdf:0x2000000
(bootloader) partition-size:super:0x180000000
(bootloader) partition-size:vbmeta_system_a:0x10000
(bootloader) partition-size:metadata:0x1000000
(bootloader) partition-size:vbmeta_a:0x10000
(bootloader) partition-size:boot_a:0x6000000
(bootloader) partition-size:dtbo_a:0x1800000
(bootloader) partition-size:odm_a:0x103000
(bootloader) partition-size:odm_b:0x0
(bootloader) partition-size:product_a:0xAD465000
(bootloader) partition-size:product_b:0x0
(bootloader) partition-size:system_a:0x3B30A000
(bootloader) partition-size:system_b:0x0
(bootloader) partition-size:system_ext_a:0x31FA6000
(bootloader) partition-size:system_ext_b:0x0
(bootloader) partition-size:vendor_a:0x3924B000
(bootloader) partition-size:vendor_b:0x0
(bootloader) version-vndk:30
(bootloader) partition-type:sdc:raw
(bootloader) partition-type:tz_b:raw
(bootloader) partition-type:init_boot_a:raw
(bootloader) partition-type:abl_a:raw
(bootloader) partition-type:aop_a:raw
(bootloader) partition-type:xbl_config_b:raw
(bootloader) partition-type:dsp_b:raw
(bootloader) partition-type:featenabler_b:raw
(bootloader) partition-type:multiimgoem_a:raw
(bootloader) partition-type:modem_b:raw
(bootloader) partition-type:cpucp_a:raw
(bootloader) partition-type:misc:raw
(bootloader) partition-type:devcfg_b:raw
(bootloader) partition-type:vbmeta_system_b:raw
(bootloader) partition-type:qupfw_a:raw
(bootloader) partition-type:ssd:raw
(bootloader) partition-type:xbl_b:raw
(bootloader) partition-type:init_boot_b:raw
(bootloader) partition-type:hyp_b:raw
(bootloader) partition-type:shrm_b:raw
(bootloader) partition-type:qweslicstore_a:raw
(bootloader) partition-type:dsp_a:raw
(bootloader) partition-type:uefisecapp_a:raw
(bootloader) partition-type:mdtpsecapp_a:raw
(bootloader) partition-type:featenabler_a:raw
(bootloader) partition-type:boot_b:raw
(bootloader) partition-type:mdtp_b:raw
(bootloader) partition-type:hyp_a:raw
(bootloader) partition-type:multiimgoem_b:raw
(bootloader) partition-type:qweslicstore_b:raw
(bootloader) partition-type:imagefv_a:raw
(bootloader) partition-type:qupfw_b:raw
(bootloader) partition-type:tz_a:raw
(bootloader) partition-type:keymaster_a:raw
(bootloader) partition-type:xbl_config_a:raw
(bootloader) partition-type:vendor_boot_a:raw
(bootloader) partition-type:abl_b:raw
(bootloader) partition-type:uefisecapp_b:raw
(bootloader) partition-type:sdb:raw
(bootloader) partition-type:sdd:raw
(bootloader) partition-type:xbl_a:raw
(bootloader) partition-type:userdata:raw
(bootloader) partition-type:recovery_b:raw
(bootloader) partition-type:modem_a:raw
(bootloader) partition-type:recovery_a:raw
(bootloader) partition-type:sda:raw
(bootloader) partition-type:keymaster_b:raw
(bootloader) partition-type:cpucp_b:raw
(bootloader) partition-type:vbmeta_b:raw
(bootloader) partition-type:imagefv_b:raw
(bootloader) partition-type:vendor_boot_b:raw
(bootloader) partition-type:shrm_a:raw
(bootloader) partition-type:bluetooth_b:raw
(bootloader) partition-type:bluetooth_a:raw
(bootloader) partition-type:aop_b:raw
(bootloader) partition-type:mdtpsecapp_b:raw
(bootloader) partition-type:mdtp_a:raw
(bootloader) partition-type:sde:raw
(bootloader) partition-type:dtbo_b:raw
(bootloader) partition-type:devcfg_a:raw
(bootloader) partition-type:sdf:raw
(bootloader) partition-type:super:raw
(bootloader) partition-type:vbmeta_system_a:raw
(bootloader) partition-type:metadata:raw
(bootloader) partition-type:vbmeta_a:raw
(bootloader) partition-type:boot_a:raw
(bootloader) partition-type:dtbo_a:raw
(bootloader) partition-type:odm_a:raw
(bootloader) partition-type:odm_b:raw
(bootloader) partition-type:product_a:raw
(bootloader) partition-type:product_b:raw
(bootloader) partition-type:system_a:raw
(bootloader) partition-type:system_b:raw
(bootloader) partition-type:system_ext_a:raw
(bootloader) partition-type:system_ext_b:raw
(bootloader) partition-type:vendor_a:raw
(bootloader) partition-type:vendor_b:raw
(bootloader) has-slot:sdc:no
(bootloader) has-slot:tz:yes
(bootloader) has-slot:init_boot:yes
(bootloader) has-slot:abl:yes
(bootloader) has-slot:aop:yes
(bootloader) has-slot:xbl_config:yes
(bootloader) has-slot:dsp:yes
(bootloader) has-slot:featenabler:yes
(bootloader) has-slot:multiimgoem:yes
(bootloader) has-slot:modem:yes
(bootloader) has-slot:cpucp:yes
(bootloader) has-slot:misc:no
(bootloader) has-slot:devcfg:yes
(bootloader) has-slot:vbmeta_system:yes
(bootloader) has-slot:qupfw:yes
(bootloader) has-slot:ssd:no
(bootloader) has-slot:xbl:yes
(bootloader) has-slot:hyp:yes
(bootloader) has-slot:shrm:yes
(bootloader) has-slot:qweslicstore:yes
(bootloader) has-slot:uefisecapp:yes
(bootloader) has-slot:mdtpsecapp:yes
(bootloader) has-slot:boot:yes
(bootloader) has-slot:mdtp:yes
(bootloader) has-slot:imagefv:yes
(bootloader) has-slot:keymaster:yes
(bootloader) has-slot:vendor_boot:yes
(bootloader) has-slot:sdb:no
(bootloader) has-slot:sdd:no
(bootloader) has-slot:userdata:no
(bootloader) has-slot:recovery:yes
(bootloader) has-slot:sda:no
(bootloader) has-slot:vbmeta:yes
(bootloader) has-slot:bluetooth:yes
(bootloader) has-slot:sde:no
(bootloader) has-slot:dtbo:yes
(bootloader) has-slot:sdf:no
(bootloader) has-slot:super:no
(bootloader) has-slot:metadata:no
(bootloader) has-slot:odm:yes
(bootloader) has-slot:product:yes
(bootloader) has-slot:system:yes
(bootloader) has-slot:system_ext:yes
(bootloader) has-slot:vendor:yes
(bootloader) security-patch-level:2024-03-05
(bootloader) vendor-fingerprint:SHIFT/otter/otter:11/SOS.6.5.20260306/20260306:user/release-keys
(bootloader) hw-revision:0
(bootloader) current-slot:a
(bootloader) serialno:<serialno>
(bootloader) product:otter
(bootloader) version-os:11
(bootloader) first-api-level:34
(bootloader) slot-count:2
(bootloader) max-download-size:0x10000000
(bootloader) version:0.4
(bootloader) version-baseband:
(bootloader) secure:yes
(bootloader) variant:NA
(bootloader) dynamic-partition:true
(bootloader) system-fingerprint:SHIFT/otter/otter:11/SOS.6.5.20260306/20260306:user/release-keys
(bootloader) version-bootloader:unknown
(bootloader) unlocked:yes
all:
Finished. Total time: 0.572s
$ echo "ibase=16; AD465000"|bc
2907066368
$ echo "ibase=16; 31FA6000"|bc
838492160
$ echo "ibase=16; 3924B000"|bc
958705664
$ echo "delete"
delete
$ echo "ibase=16; 3B30A000"|bc
993042432
$ math 2907066368 + 838492160 + 958705664 + 993042432
5697306624
$ fastboot devices
<serialno>     fastboot
$ fastboot delete-logical-partition product_a
Deleting 'product_a'                               OKAY [  0.018s]
Finished. Total time: 0.018s
$ fastboot delete-logical-partition system_ext_a
Deleting 'system_ext_a'                            OKAY [  0.018s]
Finished. Total time: 0.018s
$ fastboot delete-logical-partition vendor_a
Deleting 'vendor_a'                                OKAY [  0.018s]
Finished. Total time: 0.018s
$ fastboot resize-logical-partition system_a 5697306624
Resizing 'system_a'                                OKAY [  0.007s]
Finished. Total time: 0.021s
$ pmbootstrap flasher flash_rootfs --partition system_a
[17:38:57] (native) flash rootfs image
[sudo] password for user:
[17:39:04] (native) install android-tools
Resizing 'system_a'                                OKAY [  0.007s]
Sending sparse 'system_a' 1/4 (249136 KB)          OKAY [  5.876s]
Writing 'system_a'                                 OKAY [  1.863s]
Sending sparse 'system_a' 2/4 (248476 KB)          OKAY [  5.841s]
Writing 'system_a'                                 OKAY [  0.526s]
Sending sparse 'system_a' 3/4 (252004 KB)          OKAY [  5.919s]
Writing 'system_a'                                 OKAY [  0.529s]
Sending sparse 'system_a' 4/4 (258108 KB)          OKAY [  6.074s]
Writing 'system_a'                                 OKAY [  0.710s]
Finished. Total time: 27.398s
[17:39:33] NOTE: chroot is still active (use 'pmbootstrap shutdown' as necessary)
[17:39:33] DONE!
$ pmbootstrap flasher flash_kernel --partition boot_a
[17:39:46] Register qemu binfmt (aarch64)
[17:39:48] (rootfs_shift-otter) install device-shift-otter
[17:39:49] (rootfs_shift-otter) install postmarketos-mkinitfs
[17:39:49] (rootfs_shift-otter) mkinitfs
[17:40:02] (native) flash kernel postmarketos-qcom-sc7280
[17:40:03] (native) install android-tools
Sending 'boot_a' (26036 KB)                        OKAY [  0.621s]
Writing 'boot_a'                                   OKAY [  1.159s]
Finished. Total time: 1.844s
[17:40:05] You will get an IP automatically assigned to your USB interface shortly.
[17:40:05] Then you can connect to your device using ssh after pmOS has booted:
[17:40:05] ssh user@172.16.42.1
[17:40:05] NOTE: If you enabled full disk encryption, you should make sure that Unl0kr has been properly configured for your device
[17:40:05] NOTE: chroot is still active (use 'pmbootstrap shutdown' as necessary)
[17:40:05] DONE!
$ pmbootstrap flasher flash_vbmeta --partition vbmeta_a
[17:41:39] (native) flash vbmeta.img with verity disabled flag
[17:41:41] (native) install android-tools
Sending 'vbmeta_a' (4 KB)                          OKAY [  0.001s]
Writing 'vbmeta_a'                                 OKAY [  0.004s]
Finished. Total time: 0.021s
[17:41:42] NOTE: chroot is still active (use 'pmbootstrap shutdown' as necessary)
[17:41:42] DONE!
$ fastboot reboot bootloader
Rebooting into bootloader                          OKAY [  0.000s]
Finished. Total time: 0.051s
$ fastboot devices
<serialno>     fastboot
$ fastboot erase init_boot_a
Erasing 'init_boot_a'                              OKAY [  0.030s]
Finished. Total time: 0.036s
$ fastboot erase dtbo_a
Erasing 'dtbo_a'                                   OKAY [  0.033s]
Finished. Total time: 0.038s
$ fastboot erase vendor_boot_a
Erasing 'vendor_boot_a'                            OKAY [  0.032s]
Finished. Total time: 0.037s
$ fastboot reboot
Rebooting                                          OKAY [  0.001s]
Finished. Total time: 0.051s

After that I wasn't able to boot anything from slot b. Then I began flashing shiftos fastboot package to slot b if I remember correctly, later a. In the end nothing would boot. Could deleting/resizing partitions inside super be the reason for nothing booting now at all after flashing shiftos to both slots (assuming I haven't miscalculated the size values)? Is there any documented case of someone going back from pmos to shiftos on shiftphone 8?
 
Zuletzt bearbeitet:
Ususally not, because all partitions within super are logical and the commands will not modify the super partition itself.
The fastboot packages are also writing the super image as a whole, restoring any size adjustments you did.

You could not boot from B, because when the device is set up in factory, it only sets up the A slot and B is more or less empty.

I kept thinking about what else you could try the last days, but I did not find another way you could try yet :/
 
I kept thinking about what else you could try the last days, but I did not find another way you could try yet :/
No problem thanks for your effort anyhow! :)

Btw. did you fastboot boot boot.img from bootloader or fastbootd?

Copilot among other things mentions something about disabling AVB verification if asked about the authentication error.

And is there a specific reason for shiftos fastboot/ota packages not containing a recovery image?

Also I for now I tried with USB 3.0. Will try with USB 2.0.
 
Zuletzt bearbeitet: