|
2018-10-24
, 18:29
|
Community Council |
Posts: 4,920 |
Thanked: 12,867 times |
Joined on May 2012
@ Southerrn Finland
|
#352
|
The Following User Says Thank You to juiceme For This Useful Post: | ||
|
2018-10-25
, 04:10
|
Posts: 20 |
Thanked: 9 times |
Joined on Nov 2013
|
#353
|
The Following User Says Thank You to coco_f2001 For This Useful Post: | ||
|
2018-11-09
, 09:03
|
Posts: 20 |
Thanked: 9 times |
Joined on Nov 2013
|
#354
|
The Following User Says Thank You to coco_f2001 For This Useful Post: | ||
|
2018-12-04
, 23:53
|
Posts: 1,335 |
Thanked: 3,931 times |
Joined on Jul 2010
@ Brittany, France
|
#355
|
Thank you, very nice hint. I can confirm that it works. I added 4GB to rootfs (btw: I have /home/nemo on the sd card).
what I did on my XperiaX (recovery shell):
Code:lvm lvm> lvscan ACTIVE '/dev/sailfish/root' [2.44 GiB] inherit ACTIVE '/dev/sailfish/home' [18.25 GiB] inherit lvm> exit resize2fs /dev/sailfish/home 11G lvm lvm> lvresize -L -4096M /dev/sailfish/home lvm> lvresize -l +100%FREE /dev/sailfish/root lvm> lvscan ACTIVE '/dev/sailfish/root' [6.44 GiB] inherit ACTIVE '/dev/sailfish/home' [14.25 GiB] inherit lvm> exit resize2fs /dev/sailfish/home resize2fs /dev/sailfish/root exit
/ # resize2fs /dev/sailfish/home resize2fs 1.43.1 (08-Jun-2016) Resizing the filesystem on /dev/sailfish/home to 4144128 (4k) blocks. resize2fs: Can't read a block bitmap while trying to resize /dev/sailfish/home Please run 'e2fsck -fy /dev/sailfish/home' to fix the filesystem after the aborted resize operation. / #
/ # e2fsck -fy /dev/sailfish/home e2fsck 1.43.1 (08-Jun-2016) The filesystem size (according to the superblock) is 5192704 blocks The physical size of the device is 4144128 blocks Either the superblock or the partition table is likely to be corrupt! Abort? yes
The Following User Says Thank You to Kabouik For This Useful Post: | ||
|
2018-12-05
, 01:14
|
Posts: 1,335 |
Thanked: 3,931 times |
Joined on Jul 2010
@ Brittany, France
|
#356
|
lvm> lvreduce -L -4g /dev/sailfish/root WARNING: Reducing active and open logical volume to 2.44 GiB. THIS MAY DESTROY YOUR DATA (filesystem etc.) Do you really want to reduce sailfish/root? [y/n]: y Size of logical volume sailfish/root changed from 6.44 GiB (1649 extents) to 2.44 GiB (625 extents). Logical volume sailfish/root successfully resized. lvm> pvdisplay /dev/mmcblk0rpmb: read failed after 0 of 4096 at 0: Input/output error /dev/mmcblk0rpmb: read failed after 0 of 4096 at 4128768: Input/output error /dev/mmcblk0rpmb: read failed after 0 of 4096 at 4186112: Input/output error /dev/mmcblk0rpmb: read failed after 0 of 4096 at 4096: Input/output error --- Physical volume --- PV Name /dev/mmcblk0p51 VG Name sailfish PV Size 22.25 GiB / not usable 3.00 MiB Allocatable yes PE Size 4.00 MiB Total PE 5696 Free PE 1024 Allocated PE 4672 PV UUID kCP1du-tUEV-1u0I-733O-g3bG-z0d1-VZXIAw lvm> lvextend -L +4g /dev/sailfish/home Size of logical volume sailfish/home changed from <15.81 GiB (4047 extents) to <19.81 GiB (5071 extents). Logical volume sailfish/home successfully resized. lvm> exit Exiting. / # resize2fs /dev/sailfish/home resize2fs 1.43.1 (08-Jun-2016) The filesystem is already 5192704 (4k) blocks long. Nothing to do! / # resize2fs /dev/sailfish/root resize2fs 1.43.1 (08-Jun-2016) resize2fs: New size smaller than minimum (829066) / # lvm lvm> lvscan /dev/mmcblk0rpmb: read failed after 0 of 4096 at 0: Input/output error ACTIVE '/dev/sailfish/root' [2.44 GiB] inherit ACTIVE '/dev/sailfish/home' [<19.81 GiB] inherit lvm> exit
----------------------------- Jolla Recovery v2.0 ----------------------------- Welcome to the recovery tool! The available options are: 1) Reset device to factory state 2) Reboot device 3) Shell 4) Perform file system check 5) Run sshd 6) Exit Type the number of the desired action and press [Enter]: 3 If you continue, this may void your warranty. Are you really SURE? [y/N] y /dev/mmcblk0rpmb: read failed after 0 of 4096 at 0: Input/output error /dev/mmcblk0rpmb: read failed after 0 of 4096 at 4128768: Input/output error /dev/mmcblk0rpmb: read failed after 0 of 4096 at 4186112: Input/output error /dev/mmcblk0rpmb: read failed after 0 of 4096 at 4096: Input/output error 2 logical volume(s) in volume group "sailfish" now active mount: mounting /dev/sailfish/root on /rootfs failed: Invalid argument [WARNING] Root file system unaccessible, bypassing device lock check. / #
The Following 2 Users Say Thank You to Kabouik For This Useful Post: | ||
|
2018-12-05
, 02:06
|
Posts: 1,335 |
Thanked: 3,931 times |
Joined on Jul 2010
@ Brittany, France
|
#357
|
Jolla Recovery v2.0 ----------------------------- Welcome to the recovery tool! The available options are: 1) Reset device to factory state 2) Reboot device 3) Shell 4) Perform file system check 5) Run sshd 6) Exit Type the number of the desired action and press [Enter]: 3 If you continue, this may void your warranty. Are you really SURE? [y/N] y /dev/mmcblk0rpmb: read failed after 0 of 4096 at 0: Input/output error 2 logical volume(s) in volume group "sailfish" now active mount: mounting /dev/sailfish/root on /rootfs failed: Invalid argument [WARNING] Root file system unaccessible, bypassing device lock check. / # df -h Filesystem Size Used Available Use% Mounted on none 1.3G 4.0K 1.3G 0% /dev none 10.0M 0 10.0M 0% /tmp none 256.0K 12.0K 244.0K 5% /var/run / # ls bin etc lib proc root run sys usr dev init mnt res rootfs sbin tmp var / # resize2fs /dev/sailfish/root resize2fs 1.43.1 (08-Jun-2016) Resizing the filesystem on /dev/sailfish/root to 1164288 (4k) blocks. resize2fs: Can't read a block bitmap while trying to resize /dev/sailfish/root Please run 'e2fsck -fy /dev/sailfish/root' to fix the filesystem after the aborted resize operation. / # mke2fs -n /dev/sailfish/root Filesystem label= OS type: Linux Block size=4096 (log=2) Fragment size=4096 (log=2) 291456 inodes, 1164288 blocks 58214 blocks (5%) reserved for the super user First data block=0 Maximum filesystem blocks=4194304 36 block groups 32768 blocks per group, 32768 fragments per group 8096 inodes per group Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912, 819200, 884736 / # lvm lvm> vgs /dev/mmcblk0rpmb: read failed after 0 of 4096 at 0: Input/output error VG #PV #LV #SN Attr VSize VFree sailfish 1 2 0 wz--n- 22.25g 0 lvm> lvscan ACTIVE '/dev/sailfish/root' [4.44 GiB] inherit ACTIVE '/dev/sailfish/home' [<17.81 GiB] inherit lvm> lvs LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert home sailfish -wi-a----- <17.81g root sailfish -wi-a----- 4.44g lvm> exit Exiting. / # resize2fs /dev/sailfish/home 17G resize2fs 1.43.1 (08-Jun-2016) Resizing the filesystem on /dev/sailfish/home to 4456448 (4k) blocks. The filesystem on /dev/sailfish/home is now 4456448 (4k) blocks long. / # lvm ----------------------------- Jolla Recovery v2.0 ----------------------------- Welcome to the recovery tool! The available options are: 1) Reset device to factory state 2) Reboot device 3) Shell 4) Perform file system check 5) Run sshd 6) Exit Type the number of the desired action and press [Enter]: 2 Rebooting...
resize2fs /dev/sailfish/home 17G lvm vgs lvresize -L -2048M /dev/sailfish/home lvresize -l +100%FREE /dev/sailfish/root lvscan exit resize2fs /dev/sailfish/home resize2fs /dev/sailfish/root exit
resize2fs /dev/sailfish/home 15G lvm vgs lvresize -L -2048M /dev/sailfish/home lvresize -l +100%FREE /dev/sailfish/root lvscan exit resize2fs /dev/sailfish/home resize2fs /dev/sailfish/root exit
The Following 3 Users Say Thank You to Kabouik For This Useful Post: | ||
|
2019-01-20
, 23:57
|
Posts: 87 |
Thanked: 458 times |
Joined on Oct 2017
@ Finland
|
#358
|
Yes, managed to flash eventually using Mac but currently you do need to change name of SW_binaries_for_Xperia_AOSP_M_MR1_3.10_v13_loire. img to vendor_loire_.img to get it to flash as otherwise keep getting message:
Code:The Sony Vendor partition image was not found in the current directory. Pleasedownload it from https://developer.sonymobile.com/open-devices/list-of-devices-and-resources/ and unzip it into this directory.
The Following User Says Thank You to Pentona For This Useful Post: | ||
|
2019-01-21
, 14:31
|
Posts: 807 |
Thanked: 1,589 times |
Joined on Aug 2014
|
#359
|
./flash.sh
flash.sh
The Following User Says Thank You to aspergerguy For This Useful Post: | ||
|
2019-02-21
, 07:43
|
Posts: 248 |
Thanked: 1,142 times |
Joined on Dec 2014
@ Earth
|
#360
|
The Following 5 Users Say Thank You to DrYak For This Useful Post: | ||
Dave999: Meateo balloons. What’s so special with em? Is it a ballon?