https://redmine.replicant.us/https://redmine.replicant.us/favicon.ico?15984615062020-07-06T18:04:09ZReplicantReplicant - Issue #2072: Investigate how the stock RIL recovers partially corrupted EFS on GT-I9300https://redmine.replicant.us/issues/2072?journal_id=81402020-07-06T18:04:09ZKurtis HannaKurtis@riseup.net
<ul></ul><p>Can you try to install both the Replicant 6.0 0004 rc1 Recovery and Operating systems from here? <a class="external" href="https://ftp-osl.osuosl.org/pub/replicant/images/replicant-6.0/0004-rc1/">https://ftp-osl.osuosl.org/pub/replicant/images/replicant-6.0/0004-rc1/</a></p>
<p>Please make sure to read the "Your data will be erased" section before proceeding: <a class="external" href="https://ftp-osl.osuosl.org/pub/replicant/images/replicant-6.0/0004-rc1/README_VERY_IMPORTANT_INFORMATION.txt">https://ftp-osl.osuosl.org/pub/replicant/images/replicant-6.0/0004-rc1/README_VERY_IMPORTANT_INFORMATION.txt</a></p>
<p>This update has helped a number of people fix the bug you are experiencing, including the person here: <a class="external" href="https://redmine.replicant.us/boards/21/topics/15564">https://redmine.replicant.us/boards/21/topics/15564</a></p>
<p>Please let us know if this works for you.</p>
<p>Cordially,<br />Kurtis</p> Replicant - Issue #2072: Investigate how the stock RIL recovers partially corrupted EFS on GT-I9300https://redmine.replicant.us/issues/2072?journal_id=81412020-07-07T07:46:03ZLouis R
<ul></ul><p>Thx Kurtis, I'll look into this related issue. I'll get back to you when the install is done, hope this works for me.<br />Best,<br />Louis</p> Replicant - Issue #2072: Investigate how the stock RIL recovers partially corrupted EFS on GT-I9300https://redmine.replicant.us/issues/2072?journal_id=81532020-07-07T12:07:33ZLouis R
<ul></ul><p>Just installed replicant 6.0 0004 rc1 recovery and OS: does not solve the pb ...</p>
<p>If I look at the related issue, I should be doing what Emmett says here: <a class="external" href="https://redmine.replicant.us/boards/21/topics/15564?r=15572#message-15572">https://redmine.replicant.us/boards/21/topics/15564?r=15572#message-15572</a><br />But I guess I don't understand "I flashed the stock rom"?<br />What should I do?</p>
<p>Thx</p> Replicant - Issue #2072: Investigate how the stock RIL recovers partially corrupted EFS on GT-I9300https://redmine.replicant.us/issues/2072?journal_id=81552020-07-08T08:25:01ZLouis R
<ul></ul><p>Dear Kurtis and all,<br />I fixed the issue! Using the same method as Emmett in <a class="external" href="https://redmine.replicant.us/boards/21/topics/15564">https://redmine.replicant.us/boards/21/topics/15564</a> : I flashed the stock rom, then the replicant rom back again. I do not have more idea of why the issue arose.<br />Best,<br />Louis</p> Replicant - Issue #2072: Investigate how the stock RIL recovers partially corrupted EFS on GT-I9300https://redmine.replicant.us/issues/2072?journal_id=81582020-07-08T12:36:31ZDenis 'GNUtoo' CarikliGNUtoo@cyberdimension.org
<ul></ul><pre>
01-04 19:30:03.035 1965 2301 D use-Rlog/RLOG-RIL-IPC:
01-04 19:30:03.035 1965 2301 D use-Rlog/RLOG-RIL-IPC: xmm626_sec_modem_fmt_recv: Received FMT message
01-04 19:30:03.035 1965 2301 D use-Rlog/RLOG-RIL-IPC: xmm626_sec_modem_fmt_recv: Message: aseq=0xff, command=IPC_PWR_PHONE_PWR_UP, type=IPC_TYPE_NOTI, size=0
01-04 19:30:03.035 1965 2301 D use-Rlog/RLOG-RIL: Updating RIL radio state to 0
01-04 19:30:03.035 1965 2301 D use-Rlog/RLOG-RIL-IPC:
01-04 19:30:03.035 1965 2301 D use-Rlog/RLOG-RIL-IPC: xmm626_sec_modem_fmt_recv: Received FMT message
01-04 19:30:03.035 1965 2301 D use-Rlog/RLOG-RIL-IPC: xmm626_sec_modem_fmt_recv: Message: aseq=0x00, command=IPC_MISC_ME_IMSI, type=IPC_TYPE_NOTI, size=16
01-04 19:30:03.035 1965 2301 D use-Rlog/RLOG-RIL-IPC: ================================= IPC FMT data =================================
01-04 19:30:03.035 1965 2301 D use-Rlog/RLOG-RIL-IPC: [0000] 0F 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 .0000000 00000000
01-04 19:30:03.035 1965 2301 D use-Rlog/RLOG-RIL-IPC: ================================================================================
01-04 19:30:03.110 1965 2303 D use-Rlog/RLOG-RIL-IPC: Reading RFS data failed
01-04 19:30:03.110 1965 2303 E use-Rlog/RLOG-RIL-IPC: Receiving from IPC RFS client failed
01-04 19:30:03.110 1965 2303 E use-Rlog/RLOG-RIL: IPC RFS client loop failed
01-04 19:30:03.170 1965 2303 D use-Rlog/RLOG-RIL: Closed IPC RFS client
01-04 19:30:03.170 1965 2303 D use-Rlog/RLOG-RIL: Opened IPC RFS client
</pre>
<p>That looks like a corrupted modem data partition (EFS).</p>
<p>Running the stock OS or specific versions of LineageOS is capable of reparing some issues.</p>
<p>Though we need to do more research on it. Ideally we'd want to be able to reconstruct the modem data partition (EFS) just with the IMEI, but we're not there yet.</p> Replicant - Issue #2072: Investigate how the stock RIL recovers partially corrupted EFS on GT-I9300https://redmine.replicant.us/issues/2072?journal_id=81612020-07-08T13:18:06ZLouis R
<ul><li><strong>File</strong> <a href="/attachments/1675">backup_efs-08072020.zip</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/1675/backup_efs-08072020.zip">backup_efs-08072020.zip</a> added</li><li><strong>File</strong> <a href="/attachments/1676">backup_efs-corrupted.zip</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/1676/backup_efs-corrupted.zip">backup_efs-corrupted.zip</a> added</li><li><strong>File</strong> <a href="/attachments/1677">difference_efs-dir</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/1677/difference_efs-dir">difference_efs-dir</a> added</li></ul><p>I do not know how much my case can be used to do this research, but here are some details of my issue.<br />Please find attached my corrupted efs, my functional efs and the difference between the two directories (output of $ diff -qr dir1 dir2).</p>
<p>One can see there are differences. One would need to go into the details of the listed files to understand what was corrupted in my efs partition and led to the sim issue, but I am not really able to do this.</p>
<p>Hope this helps.</p>
<p>Btw, thx for doing what you guys do,<br />Best,<br />Louis</p> Replicant - Issue #2072: Investigate how the stock RIL recovers partially corrupted EFS on GT-I9300https://redmine.replicant.us/issues/2072?journal_id=81662020-07-11T22:00:36ZDenis 'GNUtoo' CarikliGNUtoo@cyberdimension.org
<ul><li><strong>Subject</strong> changed from <i>Sim card not recognised on i9300</i> to <i>EFS data corruption on i9300 => SIM card not recognized.</i></li><li><strong>Category</strong> set to <i>Telephony and mobile data</i></li><li><strong>Priority</strong> changed from <i>Normal</i> to <i>Low</i></li></ul>I've modified a bit the bugreport name to reflect the bug:
<ul>
<li>The original bug talked about the symptom of the SIM card not being recognized, and that's now fixed for Louis R</li>
<li>I think it's very interesting to keep that bug open not to loose it, as we might need it for future reference on work to recover from EFS corruptions, as the EFS backups before and after the reparation were posted.</li>
</ul>
<p>On my side I've advanced a bit on this topic by doing some research on older devices that are supported by Replicant 4.2 but not 6.0, as we have way more documentation on them. I've added the information to the <a class="issue tracker-3 status-3 priority-21 priority-default parent" title="Issue: Enable to recreate the EFS partition completely from scratch (New)" href="https://redmine.replicant.us/issues/2025">#2025</a> bug.</p>
<p>In a nutshell I was given code for a tool to change the IMEI for these devices, and I've also found how the template nv_data.bin is created, but I've not managed to rebuild the EFS from scratch yet despite of both advancements.</p> Replicant - Issue #2072: Investigate how the stock RIL recovers partially corrupted EFS on GT-I9300https://redmine.replicant.us/issues/2072?journal_id=81682020-07-11T22:01:30ZDenis 'GNUtoo' CarikliGNUtoo@cyberdimension.org
<ul><li><strong>Related to</strong> <i><a class="issue tracker-3 status-3 priority-21 priority-default parent" href="/issues/2025">Issue #2025</a>: Enable to recreate the EFS partition completely from scratch</i> added</li></ul> Replicant - Issue #2072: Investigate how the stock RIL recovers partially corrupted EFS on GT-I9300https://redmine.replicant.us/issues/2072?journal_id=81692020-07-11T22:03:33ZDenis 'GNUtoo' CarikliGNUtoo@cyberdimension.org
<ul><li><strong>Subject</strong> changed from <i>EFS data corruption on i9300 => SIM card not recognized.</i> to <i>Investigate how the stock RIL recovers partially corrupted EFS on GT-I9300</i></li></ul><p>I've renamed the bug again to integrate it better with the other bugs to reconstruct the EFS from scratch.</p> Replicant - Issue #2072: Investigate how the stock RIL recovers partially corrupted EFS on GT-I9300https://redmine.replicant.us/issues/2072?journal_id=81702020-07-11T22:04:28ZDenis 'GNUtoo' CarikliGNUtoo@cyberdimension.org
<ul><li><strong>Parent task</strong> set to <i>#2025</i></li></ul><p>I've renamed the bug again to integrate it better with the other bugs to reconstruct the EFS from scratch.</p> Replicant - Issue #2072: Investigate how the stock RIL recovers partially corrupted EFS on GT-I9300https://redmine.replicant.us/issues/2072?journal_id=89182021-03-26T18:05:07Z_I3^ RELATIVISM
<ul><li><strong>Type of work</strong> <i>C programming</i> added</li></ul>