How to increase root volume & partition size on Volla phone

Hello,
I’ve installed sailfishos on my vollaphone and all works fine (thanks @piggz :stuck_out_tongue: ) but I would increase my root partition.
I don’t find hybris-recovery.img so I can’t use recovery mode for increase my lvm root partition Guide: Installing Sailfish X on Xperias - together.jolla.com

Is it possible to find hybris-recovery.img for vollaphone ?

Or have you got an other way for increase my root partition ?

2 Likes

The recovery image is here Show nemo:testing:hw:volla:yggdrasil / droid-hal-yggdrasil - SailfishOS Open Build Service

Thanks
I’ve extract hybris-recovery.img from droid-hal-yggdrasil-img-recovery-4.9.248-1.aarch64.rpm and I will test it.
https://repo.sailfishos.org/obs/nemo:/testing:/hw:/volla:/yggdrasil/sailfishos_4.3.0.12/aarch64/

I also want to increase the root partition of my Volla phone and downloaded the file
droid-hal-yggdrasil-img-recovery-4.9.248-1.aarch64.rpm .

What are the steps in detail I have to do?

Please utilise the maintained variant of my Guide: Installing Sailfish X on Xperias @ GitLab!

  1. Download the RPM per web-browser, curl, pkcon download, wget etc.
  2. Either extract is content (e.g., per tar -xvf foo.rpm or rpm2cpio foo.rpm | cpio -idmv) or install it (e.g., per pkcon install-local foo.rpm), then locate the image file (an rpm -qilp foo.rpm hints where).
  3. Provide me with the output of the commands pvdisplay, vgdisplay and lvdisplay executed on the Volla phone on the regular SailfishOS installation and the exact Gigaset / Volla model used (AFAIR there are two Gigaset / Volla models supported by community builds of SailfishOS) .
  4. Determine how to trigger fastboot-mode on your Volla model, trigger it and perform a fastboot boot recovery.img on your host computer.

I will check, if the values provided in the section 3.3 ‘Increasing the “root” LVM volume size’ are fine for this model and recalculate them, if necessary.
Edit: Yes, they are for the Gigaset GS290 = the original Volla phone.

P.S.: @piggz may consider to set the root volume size to 4000 MByte (1000 * 4 MB extents, instead of 625 = 2500 MB), as Jolla already does it for the Xperia 10 II and III.
The mechanism for this is well described by these two commits:

3 Likes

Thank’s very much @olf ,
i’ve now downloaded the file ‘droid-hal-yggdrasil-img-recovery-4.9.248-1.aarch64.rpm’, extracted it and inside is a directory ‘boot’ and inside a file named ‘hybris-recovery.img’ . This folder and file are now on my laptop.

Here’s the output of the commands:

[root@VollaPhone defaultuser]# pvdisplay
  /dev/mmcblk0rpmb: read failed after 0 of 4096 at 0: Eingabe-/Ausgabefehler
  /dev/mmcblk0rpmb: read failed after 0 of 4096 at 16711680: Eingabe-/Ausgabefehler
  /dev/mmcblk0rpmb: read failed after 0 of 4096 at 16769024: Eingabe-/Ausgabefehler
  /dev/mmcblk0rpmb: read failed after 0 of 4096 at 4096: Eingabe-/Ausgabefehler
  --- Physical volume ---
  PV Name               /dev/mmcblk0p33
  VG Name               sailfish
  PV Size               53,02 GiB / not usable 2,98 MiB
  Allocatable           yes (but full)
  PE Size               4,00 MiB
  Total PE              13573
  Free PE               0
  Allocated PE          13573
  PV UUID               Ibrhmq-0d1r-vsKH-hBhI-RNUo-WLht-t4P5xi
   
[root@VollaPhone defaultuser]# 


[root@VollaPhone defaultuser]# vgdisplay
  /dev/mmcblk0rpmb: read failed after 0 of 4096 at 0: Eingabe-/Ausgabefehler
  --- Volume group ---
  VG Name               sailfish
  System ID             
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  113
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                2
  Open LV               2
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               <53,02 GiB
  PE Size               4,00 MiB
  Total PE              13573
  Alloc PE / Size       13573 / <53,02 GiB
  Free  PE / Size       0 / 0   
  VG UUID               OHUNSb-1x66-QWe2-qAKc-ySQ1-cT0E-yvH58k
   
[root@VollaPhone defaultuser]# 


[root@VollaPhone defaultuser]# lvdisplay
  /dev/mmcblk0rpmb: read failed after 0 of 4096 at 0: Eingabe-/Ausgabefehler
  --- Logical volume ---
  LV Path                /dev/sailfish/root
  LV Name                root
  VG Name                sailfish
  LV UUID                PxT1Mb-Z1NQ-UGCH-Efpe-Psho-67QK-YMF6Pi
  LV Write Access        read/write
  LV Creation host, time runner--azerasq-project-18092000-concurrent-0, 2022-02-19 20:30:14 +0000
  LV Status              available
  # open                 1
  LV Size                2,44 GiB
  Current LE             625
  Segments               2
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:0
   
  --- Logical volume ---
  LV Path                /dev/sailfish/home_open
  LV Name                home_open
  VG Name                sailfish
  LV UUID                zt6GMn-y04e-jKO7-XHHy-3WoW-2qGk-p7G4aj
  LV Write Access        read/write
  LV Creation host, time runner--azerasq-project-18092000-concurrent-0, 2022-02-19 20:30:14 +0000
  LV Status              available
  # open                 1
  LV Size                <50,58 GiB
  Current LE             12948
  Segments               2
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:1
   
[root@VollaPhone defaultuser]# 

The Volla phone model is simply old Volla phone without X or 22.
edit: branded GS290
OS is SFOS 4.4.0.72
Geräteadaption 0.0.1+hybris.
17.20210903220301.4.gbf25
067.1

Where shall I copy the extracted files, or shall I repeat extracting directly on the phone using your given commands?
How shall I proceed?

edit: before the two bold ‘open 1’ is a # in the c+p’d terminal output and so the autoformatting of the forum software makes it bold and cuts the # . How can I mark this as code and prevent autoformatting?
edit: thank you @olf , done.

Enclose the whole code block with two “triple tics” (i.e., ```) lines.
It is the a Markdown markup-language dialect, Markdown is well documented at many places.

The LVM layout is exactly the same as for a Xperia model with 64 GB internal FLASH memory, hence you might use these values for resizing the root and home volumes.

Does that mean, “it is a Gigaset GS290-based Volla phone”?
BTW, I researched what the Volla 22 is, which hardware does the Volla X you mentioned use?

You have to fastboot that recovery image (step 4 above), as Jolla describes it for the Xperias.

1 Like

Thank you very much @olf !

Yes, my Volla is the branded GS290 type. Sorry for not clearly expressing this in my previous post.

So i will follow your suggestions and then report later about the results.

edit: it’s too complex for me…I fear to brick the Volla, thank you all !

@piggz, now I remembered that I once wrote a more comprehensive summary of these changes.

3 Likes