Project

General

Profile

Issue #2104

Port the Replicant 6.0 fix for the Galaxy S III eMMC corruption bug in Replicant >= 9 kenrel

Added by Denis 'GNUtoo' Carikli 4 months ago. Updated 29 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
08/05/2020
Due date:
% Done:

0%

Estimated time:
Resolution:
Device:
Galaxy S 3 (I9300), Galaxy S 3 4G (I9305)
Grant:
#1

Updated by Denis 'GNUtoo' Carikli 4 months ago

  • Subject changed from Investigate if the eMMC bug is fixed in Linux to Investigate if the Galaxy SIII eMMC corruption bug is also fixed in Linux upstream or just in SMDK4412
  • Do we need to add quirks upstream, or is it already done?
  • What does the smdk4412 kernel does to avoid triggering that bug?
#2

Updated by dl lud 4 months ago

The commit that fixes the eMMC failure in the smdk4412 kernel is this one: da8461692362317a8ffce4d4646953985fcf4e1d

The eMMC sudden death research thread at xda tries to explain this patch.

#3

Updated by dl lud 4 months ago

  • Subject changed from Investigate if the Galaxy SIII eMMC corruption bug is also fixed in Linux upstream or just in SMDK4412 to Investigate if the Galaxy S III eMMC corruption bug is fixed in upstream Linux
  • Device Galaxy S 3 (I9300) added
  • Device deleted (Unknown)

Also note that the proper fix for the bug comes in a firmware update for the eMMC chip. Devices running the 0xF7 version of the VTU00M firmware should be ok and won't need a patched kernel.

#4

Updated by Denis 'GNUtoo' Carikli 4 months ago

Thanks. It describes things that the eMMC hacking, or: how I fixed long-dead Galaxy S3 phones talk doesn't like the smart report.

#5

Updated by Denis 'GNUtoo' Carikli 3 months ago

There is a link of eMMC fimrware bugs from the former CyanogenMod wiki here: https://undocumented.software/wiki_dump/EMMC_Bugs.html

#6

Updated by Denis 'GNUtoo' Carikli 3 months ago

  • Target version changed from replicant 10.0 to Replicant 11.0 0001
#7

Updated by Denis 'GNUtoo' Carikli 3 months ago

  • Subject changed from Investigate if the Galaxy S III eMMC corruption bug is fixed in upstream Linux to Investigate if the Galaxy S III eMMC corruption bug is fixed in upstream Linux and if not port the Replicant 6.0 fix
#8

Updated by Denis 'GNUtoo' Carikli 3 months ago

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

Updated by Denis 'GNUtoo' Carikli 29 days ago

  • Subject changed from Investigate if the Galaxy S III eMMC corruption bug is fixed in upstream Linux and if not port the Replicant 6.0 fix to Port the Replicant 6.0 fix for the Galaxy S III eMMC corruption bug in Replicant >= 9 kenrel
#10

Updated by Denis 'GNUtoo' Carikli 29 days ago

The bug is not fixed upstream, so we at least need to port it in our kernels not to brick any devices.

On the GT-I9300, the bugfix isn't great as it's just patch to hang the eMMC when it's about to create corruption, but not having that patch would be way worse.

We also might want to warn users if they have affected eMMC firmwares or not.

Also available in: Atom PDF