Stuck on splash screen when using FDE with rootfs on custom partition on enchilada (Oneplus 6)
Describe your issue
What's the expected behaviour?
One should be able to use FDE with the rootfs located on a custom partition.
What's the current behaviour?
The boot process gets stuck at the splash screen.
How to reproduce your issue?
- Shrink the
userdata
partition, create a new one of the same type (A03A
) in the newly freed space, format it toext4
and call itlinux_rootfs
. - Run
pmbootstrap install --fde
then runpmbootstrap flasher flash_rootfs --partition linux_rootfs
andpmbootstrap flasher flash_kernel
- Boot the device. It is stuck on the "Loading" splash screen.
The issue cannot be reproduced:
- without using FDE and using the same partition
- while using FDE but flashing the rootfs to
system
What device are you using?
oneplus-enchilada
On what postmarketOS version did you encounter the issue?
-
edge ( master
branch) -
v22.06
-
v22.12
-
I confirm that the issue still is present after running sudo apk upgrade -a
On what environment did you encounter the issue?
Environments
-
Phosh -
Plasma Mobile -
Sxmo (Wayland/Sway) Please post the output of sxmo_version.sh
-
Other: Please fill out
How did you get postmarketOS image?
-
from https://images.postmarketos.org -
I built it using pmbootstrap -
It was preinstalled on my device
What's the build date of the image? (in yyyy-mm-dd format)
2022-12-15
Additional information
Partition layout:
Disk /dev/sda: 30437376 sectors, 116.1 GiB
Model: KLUDG4U1EA-B0C1
Sector size (logical/physical): 4096/4096 bytes
Disk identifier (GUID): 93830F03-2F65-9F3E-993F-9CFF964D29C0
Partition table holds up to 32 entries
Main partition table begins at sector 2 and ends at sector 2
First usable sector is 6, last usable sector is 30437370
Partitions will be aligned on 2-sector boundaries
Total free space is 1 sectors (4.0 KiB)
Number Start (sector) End (sector) Size Code Name
1 6 7 8.0 KiB A02C ssd
2 8 8199 32.0 MiB A026 persist
3 8200 8455 1024.0 KiB A01F misc
4 8456 8711 1024.0 KiB FFFF param
5 8712 8839 512.0 KiB A02D keystore
6 8840 8967 512.0 KiB FFFF frp
7 8968 74503 256.0 MiB A039 op2
8 74504 77063 10.0 MiB FFFF oem_dycnvbk
9 77064 79623 10.0 MiB FFFF oem_stanvbk
10 79624 81647 7.9 MiB FFFF reserve1
11 81648 85695 15.8 MiB FFFF reserve2
12 85696 85823 512.0 KiB FFFF config
13 85824 817983 2.8 GiB A038 system_a
14 817984 1550143 2.8 GiB FFFF system_b
15 1550144 1575743 100.0 MiB FFFF odm_a
16 1575744 1601343 100.0 MiB FFFF odm_b
17 1601344 19951423 70.0 GiB A03A userdata
18 19951424 30437369 40.0 GiB A03A linux_rootfs
I tried using the debug initramfs but didn't get very far. I could telnet into the phone, but not access it via SSH.
I also tried running the commands in init.sh
one by one. They all succeed until killall telnetd mdev udevd msm-fb-refresher 2>/dev/null
when telnet is killed and I no longer have access to the phone.
I'd be very happy to provide any useful information.
Thanks a lot!