<Adrian[m]>
1. What kind of Android did you have installed prior
<Adrian[m]>
2. Which panel does your device have
<soupborsh[m]>
To install to SD card is flashing rootfs to it is enough or some changes in U-Boot are necessary?
<dbndb[m]>
<Adrian[m]> "two things come to mind:..." <- 1. Before I used postmarket OS 6.10.3. My screen worked fine
<dbndb[m]>
2. dsi_ss_fhd_ea_f10_cmd_display
<dbndb[m]>
It's some cheap IPS screen
<Adrian[m]>
<soupborsh[m]> "To install to SD card is..." <- i haven't *tried* booting from SD card yet because davinci doesn't have one, but it should be possible on surya
<Adrian[m]>
if not, let me know and I'll fix it in the next days
<dbndb[m]>
s/screen/display/
<Adrian[m]>
> 2. dsi_ss_fhd_ea_f10_cmd_display
<Adrian[m]>
dbndb[m]: > <@dbndb:matrix.org> 1. Before I used postmarket OS 6.10.3. My screen worked fine
<Adrian[m]>
did you at any point flash to a partition other than boot or userdata?
<soupborsh[m]>
Ok, hopefully I will be able to test.
<dbndb[m]>
Adrian[m]: I dont use system partition. I've used only this command: `fastboot flash cache 20250310-2059-postmarketOS-edge-phosh-23-qcom-sm7150-bootpart.img`
<Adrian[m]>
<dbndb[m]> "Sorry for long afk. By the way..." <- the logs in the video look okay from what i can decipher, swclock-offset failing isn't unusual
<Adrian[m]>
the u-boot log is also nothing to worry about
<dbndb[m]>
boot mounts in read-only after mount_boot_partition /boot in debug shell
<dbndb[m]>
6.7.4 and 6.10.3 worked well for me
<dbndb[m]>
The survival time of pmOS booting process is highly variable by the way. The attempt on the video is one of the longest
<Adrian[m]>
that video looks like a successful boot?
<dbndb[m]>
Seems like it survived for long enough in this attempt, but I haven't had any successful boots
<Adrian[m]>
also BTW MIUI 10.3 is ancient
<Adrian[m]>
please use 12.1 or 12.5
<Adrian[m]>
it is not unlikely that some firmware included in 10.3 is too old for mainline Linux
<Adrian[m]>
if you can confirm that it still won't work when coming from MIUI 12.1 I suspect it's a kernel issue but I'm highly doubting it because my davinci is fine
<dbndb[m]>
mb I can tweak the voltage of a power source (i dont use a battery). But its unlikely the source of a problem
regumatrix has joined #sm7150-mainline
regumatrix has quit []
<fallenritemonk[m]>
i tried the generic port on my pixel 4a using the pmbootstrap commands, but i get the following error: 'Not allowed to flash (cache)'
<fallenritemonk[m]>
i figured that the device does not have a cache partition, but how do i proceed?
<Adrian[m]>
tl;dr it's complicated, sunfish has a terrible partition layout and a terrible bootloader
<Adrian[m]>
the only partition that is available for flashing and large enough is userdata
<Adrian[m]>
but we need two partitions at the moment so there is not really a proper solution for sunfish
<Adrian[m]>
even if you repartition, the bootloader won't let you flash to you new partition
<Adrian[m]>
s/you/your/
<Adrian[m]>
the proper solution for this is sub-partition support in U-Boot (one day)
<Adrian[m]>
for now, Danila wanted to try a single partition (since U-Boot can read ext4), not sure if he tried yet
<Adrian[m]>
but that breaks FDE
<Adrian[m]>
what you can do is change the boot partition size in pmbootstrap to 64MB and flash it to the boot_b if your u-boot is on boot_a
<Adrian[m]>
that should work as a workaround for now
<fallenritemonk[m]>
ok maybe ill give it a try 👍 thanks
<Adrian[m]>
Adrian[m]: JIaxyga: just in case you haven't tried yet
<dbndb[m]>
<Adrian[m]> "if you can confirm that it still..." <- I switched to the battery and it works! Well, it booted miui 12.1, it booted 6.10.3 but it cant boot 6.13.6 due to higher peak power demand during booting process, WTF xD. Seems like my power source cant manage such power. Спасибо большое за помощь (afaik you know russian)!
<Adrian[m]>
curious: what exactly is your setup for powering it?