FixCorruptedUserDataPartition » History » Revision 2
« Previous |
Revision 2/8
(diff)
| Next »
Denis 'GNUtoo' Carikli, 04/27/2021 01:25 PM
FixCorruptedUserDataPartition¶
Warnings¶
This tutorial is a work in progress. Remove this warning when it will be tested (and somehow indicate on which devices it was tested on).
Tutorial¶
Compatible devices¶
Only the following devices that are supported by Replicant are supported by this tutorial:Setup ADB¶
Follow the instructions for setting up ADB on your computer so that you can access a root shell on your device.
NOTE: when prompted on your Replicant device, make sure that you check the box that says Always allow from this computer when you grant your computer USB debugging permissions. Otherwise, you will be unable to obtain root shell access on your Replicant device when you reboot it into the recovery OS to actually perform the backup.
NOTE: for security reasons, you may want to revoke these non-expiring permissions once the backup is complete.
Reboot into the recovery¶
To reboot in the recovery, you can follow the instructions in the RebootIntoTheRecovery wiki page.
Get the user data partition¶
First we need to find the real path of the partition. On the Galaxy SII (GT-I9100) we can use the following command:
adb shell "realpath /dev/block/platform/fw_mmc/by-name/UMS"
On my device it gave me the following result: /dev/block/mmcblk0p11
Fix it¶
Put it back¶
Reboot¶
Updated by Denis 'GNUtoo' Carikli about 4 years ago · 2 revisions