Resizing root partition on Xperia 10 [answered]

asked 2020-04-21 18:57:56 +0200

Ingvix gravatar image

I tried couple of times with these instuctions. As it happens, e2fsck finds a lot errors in the partition, bad superblocks, garbage, etc. and is able to correct them but after that the encryption's passphrase seems to get messed up so that the set devicelock code doesn't work anymore, making the device useless unless one reflashes it. resize2fs won't do anything unless the errors are fixed in the partition so I cannot proceed.

I have flashed the version 3.2.1.20 for i4113 on the device, not sure if the image is faulty but system works fine otherwise. Any ideas how to get this done?

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by Ingvix
close date 2020-04-21 22:12:45.454180

Comments

1

I think you should have a look here:

Guide: Installing Sailfish X on Xperias

Point "3.3 Increasing the "root" LVM volume size" ans so on

s_mario ( 2020-04-21 20:29:59 +0200 )edit

Moin,

I have some questions as I had quite similar problems with my XA2+ until yesterday:

  • Do you use the Defender app from Openrepos? It somehow collides with encryption.
  • In which order do you build up your system? Encrytion was introduced with 3.3.0.xx, so I would use >factory reflash 3.2.1.20 >resize (unencrypted) >update3.3.0.14 >encrypt.

Cheers

Lutwolf ( 2020-04-21 20:34:49 +0200 )edit

@s_mario, thanks, that worked. I didn't happen to notice that guide before.

@Lutwolf, I don't use that app and, on Xperia 10, I think the encryption has been included from the start and it's just for X and XA2 that it came later.

Ingvix ( 2020-04-21 22:12:14 +0200 )edit

Use the guide linked by @s_mario or with the guide you linked, you have to boot the phone after flashing and follow the installation until language selection and then shut down the phone and continue with the guide. I explained this with little bit more details why you have to do it in this order in the comment to the answer you linked at Dec 27 2019.

avhakola ( 2020-04-22 00:13:27 +0200 )edit

@avhakola, right, I just didn't happen to read the hidden comments while I was trying to follow that guide. Good to know for possible future devices or resets. It's a little less hassle than resizing after ecryption.

Ingvix ( 2020-04-25 16:42:07 +0200 )edit