maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   How do I get the 4.1.0.24 hybris-recovery.img - or can I use another version? (https://talk.maemo.org/showthread.php?t=101241)

suicidal_orange 2021-09-23 21:46

How do I get the 4.1.0.24 hybris-recovery.img - or can I use another version?
 
As in the title - I need the hybris-recovery.img to resize my home partition to update but on logging in to my Jolla account I'm no longer allowed to download anything because I'm in the UK.

Does anyone know of another way to get this file?

Edit: Changed title to see if anyone knows about using a different version as I'm only playing with partitions.

aspergerguy 2021-09-24 14:02

Re: How do I get the 4.1.0.24 hybris-recovery.img
 
Quote:

Originally Posted by suicidal_orange (Post 1572605)
Does anyone know of another way to get this file?

Can't remember whether this for F5121 or F5122 or other variant.

deutch1976 2021-09-24 14:56

Re: How do I get the 4.1.0.24 hybris-recovery.img
 
Quote:

Originally Posted by suicidal_orange (Post 1572605)
As in the title - I need the hybris-recovery.img to resize my home partition to update but on logging in to my Jolla account I'm no longer allowed to download anything because I'm in the UK.

Does anyone know of another way to get this file?

My account is logged in Portugal. Am i allowed to download it and send it somehow to you?

suicidal_orange 2021-09-24 16:15

Re: How do I get the 4.1.0.24 hybris-recovery.img
 
Quote:

Originally Posted by aspergerguy (Post 1572607)
Can't remember whether this for F5121 or F5122 or other variant.

Good point! I have a F5122.

Quote:

Originally Posted by deutch1976 (Post 1572608)
My account is logged in Portugal. Am i allowed to download it and send it somehow to you?

Thanks for the offer, I can't imagine there's a law against it - I paid for Sailfish back when I was allowed so it's not very nice of them to lock me out now.

The instructions are below, I have no idea how big the file is to know how you could get it to me and if they've updated the download to the latest version (4.2.0.21?) you probably wont be able to get it? Or maybe some creative url changing will work :confused:

Quote:

Originally Posted by https://jolla.zendesk.com/hc/en-us/articles/360002996893#21
To ensure this, download the latest Sailfish OS image from https://shop.jolla.com/downloads/ (provided that you have updated your phone to the latest). Unzip the archive and observe the hybris-recovery.img file in it.


olf 2021-09-25 02:20

Re: How do I get the 4.1.0.24 hybris-recovery.img
 
  1. You might download via a VPN with an endpoint in the EU or Switzerland. AKAIK, not URL-tricks will do.
  2. The image is identical to the "SailfishOS free (trial version)" image.
  3. You will only be able to download the image for the current SailfishOS "stable" (well, rather: "non-EA") release.

suicidal_orange 2021-09-25 10:58

Re: How do I get the 4.1.0.24 hybris-recovery.img
 
Quote:

Originally Posted by olf (Post 1572613)
You will only be able to download the image for the current SailfishOS "stable" (well, rather: "non-EA") release.

Thanks for the info, this means I have no chance of getting the right version - I need the old one to upgrade to latest!

Does it really matter what version I use if I'm just resizing "partitions"? On a computer I'd happily use anything that booted but I know nothing about phones except you can't plug the hard drive into something else to fix it if it all goes horribly wrong, and that's a bit scary.

aspergerguy 2021-09-25 14:01

Re: How do I get the 4.1.0.24 hybris-recovery.img
 
Quote:

Originally Posted by suicidal_orange (Post 1572614)
Does it really matter what version I use if I'm just resizing "partitions"?

Do you mean OS version as in 4.2.0.21 rather than 4.1.0.24, as images certainly are different? However if you are comparing hybrid-recovery.img 14.3MB from F5121 and F5122 versions (4.2.0.21), without checking every single line of code they do appear remarkably similar if not identical. Don't know whether anyone in a position to confirm or deny this.

suicidal_orange 2021-09-25 15:47

Re: How do I get the 4.1.0.24 hybris-recovery.img
 
Quote:

Originally Posted by aspergerguy (Post 1572615)
Do you mean OS version as in 4.2.0.21 rather than 4.1.0.24, as images certainly are different? However if you are comparing hybrid-recovery.img 14.3MB from F5121 and F5122 versions (4.2.0.21), without checking every single line of code they do appear remarkably similar if not identical. Don't know whether anyone in a position to confirm or deny this.

Just the recovery part. The instructions say to use the img from the same version as is on the phone, at 14MB it must have something in there rather than just being a script that points to things on the phone.

aspergerguy 2021-09-25 17:19

Re: How do I get the 4.1.0.24 hybris-recovery.img - or can I use another version?
 
1 Attachment(s)
Just pointing out that as far as I can tell using VBinDiff there is no discernible difference between hybrid-recovery.img extracted from same firmware version of both F5121 & F5122, in case it makes any easier to source.

suicidal_orange 2021-09-25 21:51

Re: How do I get the 4.1.0.24 hybris-recovery.img - or can I use another version?
 
I just booted with the 2.2.0.29 recovery (the version I originally flashed) and it didn't complain. After entering the shell it says this which looks a bit scary though?

Code:

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
Device /dev/sailfish/home does not exist or access denied.
[OK] No lockcode has been set. Proceeding...

lvm display looks right, after that I rebooted to check SFOS came up as normal, which it did. Should I proceed with the resize?

olf 2021-09-26 01:34

Re: How do I get the 4.1.0.24 hybris-recovery.img
 
Quote:

Originally Posted by suicidal_orange (Post 1572614)
Does it really matter what version I use if I'm just resizing "partitions"?

Well, it is advisable to use the version, when booting from external media, which is the installed version.
But you really shall not use an older or vastly different (i.e., far newer) version.
(IIRC, I phrased this carefully in my guide to extend the root volume size.)

Side note: This is the same for all Linux computers, be it a PC, Notebook, Phone, whatever! Please refrain from using "anything that boots". While the on disk format of LVM and classical file systems should stay the same and changes always shall be upward compatible, nobody tests with vastly different versions of the tools to modify them (LVM and FS resize), so subtle incompatibilities may occur. And mind that you modify with newer tools (externally booted) and then boot the installed OS with the old versions, so upward compatibility is not sufficient.

suicidal_orange 2021-09-26 08:04

Re: How do I get the 4.1.0.24 hybris-recovery.img - or can I use another version?
 
So I can't download the version I need to use even if I was allowed geographically and I can't use an old version :(

Guess that means I have to uninstall stuff until I have 1GB free so sfos-upgrade doesn't complain, update, then lie to Jolla to get the latest recovery and resize so it works next time.

Except there shouldn't be a next time as surely the Pro1x will have shipped by then and I can have a phone with a speaker and no ghost off-the-screen touches.

olf 2021-09-26 16:44

Re: How do I get the 4.1.0.24 hybris-recovery.img - or can I use another version?
 
Quote:

Originally Posted by suicidal_orange (Post 1572624)
Guess that means I have to uninstall stuff until I have 1GB free so sfos-upgrade doesn't complain, update, then lie to Jolla to get the latest recovery and resize so it works next time.

You seem to love to make it complicated!?!
O.K., to state the message as clear as possible: Using a SailfishOS 4.2.0 recovery image to modify an 4.1.0 installation sounds reasonable and fine for me!
But using a 2.2.0 recovery for a 4.1.0 installation rather does not.
YMMV.

BTW, "ain't no use complaining!", i.e.: That will not get you anywhere.

suicidal_orange 2021-09-27 21:10

Re: How do I get the 4.1.0.24 hybris-recovery.img - or can I use another version?
 
Thanks to aspergerguy who sent me the correct version of the recovery image - I booted it and followed the instructions, all went perfectly until the last fsck:

Code:

/ # e2fsck -f /dev/mapper/sailfish-root
/dev/mapper/sailfish-root is mounted.
e2fsck: Cannot continue, aborting.

No choice other than to assume all was well so rebooted the phone and am happy to report the new lvm volume sizes are showing.

Update to 4.2.0.21 started with no messing about :D


All times are GMT. The time now is 09:00.

vBulletin® Version 3.8.8