Issue #1834
open
I9305 suddenly reboots (modem related)
Added by Joonas Kylmälä about 7 years ago.
Updated over 3 years ago.
Category:
Telephony and mobile data
Device:
Galaxy S 3 4G (I9305)
Type of work:
C programming
Description
The I9305 suddenly reboots every now and then, looks like it is modem related. See attached /proc/last_kmesg.
Files
- Category set to Telephony and mobile data
Yes, it's related to the modem. It took me quite some time to get rid of the reboots. There are multiple causes. The modem is able to request a reboot. This happens for example when something went wrong during the firmware upload or when there is an error during EFS sync. As the modem boot code is not yet part of the Replicant images, the reason here is a different one. The kernel creates a list of power management devices that should include the modem interfaces. But those aren't created because the modem is never booted and stays in Download Mode. After a timeout, the kernel triggers a reboot.
The fix for this issue would be to make the modem boot program described in QMI-RIL part of QMI-RIL as a separate thread and get QMI-RIL ready for inclusion in Replicant. A shortcut would be to make the modem-boot program run as a daemon, much like its proprietary counterpart, but I'd like to mirror the design of Samsung-RIL which gives us more control and cleaner and less buggy code in the long run.
The kernel patches from my qmi branch are needed as well.
- Device Galaxy S 3 4G (I9305) added
- Device deleted (
)
- Target version changed from Replicant 6.0 to Replicant 6.0 0005
Sorry if this is spam, but does the work being done at #1958 help us with this ticket at all?
I know of two instances where people have been able to install Replicant images on the GalaxyNote2SGHT889 and it doesn't reboot even though the modem doesn't work on the device. It might be worth looking to see what's different between the i9305 and the t889.
- Type of work C programming added
Also available in: Atom
PDF