Closed sergei-mironov closed 2 years ago
Note, the kernel is 5.13.7 rev b1f383fd3c70e21a8062fdc3f59403d2a26edc9f
In the end, we found a way to disable the Megi's power-driver by not writing 1 to /sys/class/modem-power/modem-power/device/powered
at the system startup. After that, the update succeeded.
Edit Forgot to add, if I remember correctly, I enabled the modem manually by writing 2 to the .../powered
(dumb mode).
Hi. I have an 1.2 Pinephone with old 01.001.10 stock modem firmware. The OS is MobileNixos with the Megi's kernel. So I wanted to update the firmware by following the manual in this repo. I have successfully unlocked the ADB by sending the right AT commands, and now it can see the device. But every time I am trying to reboot it to edl I see the following
dmesg
log:I conclude that the
modem-power
panics and turns the modem off! The modem is indeed left unpowered:If I power it up again it starts in normal mode so I can try booting to edl again with the same result. What can I do to disable the driver of maybe bypass it somehow? ** Edit: the driver is built into kernel, so I can't just unload it. Accessing the u-boot command line is also complicated. Is there a way to e.g. disable it temporary using sysfs?