Project

General

Profile

Actions

Issue #1834

open

I9305 suddenly reboots (modem related)

Added by Joonas Kylmälä over 6 years ago. Updated about 3 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Telephony and mobile data
Target version:
Start date:
09/13/2017
Due date:
% Done:

0%

Estimated time:
Resolution:
Device:
Galaxy S 3 4G (I9305)
Grant:
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

i9305-dmesg.txt (128 KB) i9305-dmesg.txt Joonas Kylmälä, 09/13/2017 03:02 PM

Related issues

Blocked by Replicant - Feature #1813: Modem support for i9305NewWolfgang Wiedmeyer06/18/2017

Actions
Actions #1

Updated by Wolfgang Wiedmeyer over 6 years ago

  • 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.

Actions #2

Updated by Wolfgang Wiedmeyer over 6 years ago

Actions #3

Updated by Denis 'GNUtoo' Carikli almost 5 years ago

  • Device Galaxy S 3 4G (I9305) added
  • Device deleted ()
Actions #4

Updated by Denis 'GNUtoo' Carikli over 4 years ago

  • Target version changed from Replicant 6.0 to Replicant 6.0 0005
Actions #5

Updated by Kurtis Hanna about 4 years ago

Sorry if this is spam, but does the work being done at #1958 help us with this ticket at all?

Actions #6

Updated by Kurtis Hanna almost 4 years ago

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.

Actions #7

Updated by _I3^ RELATIVISM about 3 years ago

  • Type of work C programming added
Actions

Also available in: Atom PDF