Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Asserting unlocked bootloader variable #2816

Closed
DragonLych opened this issue Aug 27, 2022 · 4 comments
Closed

Asserting unlocked bootloader variable #2816

DragonLych opened this issue Aug 27, 2022 · 4 comments

Comments

@DragonLych
Copy link

UBports Installer 0.9.6-beta (exe)
Environment: Microsoft Windows 10 Pro 10.0.19044 Windows 10.0.19044 x64 19044 0.0 NodeJS v16.14.2
Device: FP4
Target OS: undefined
Settings: {}
OPEN-CUTS run: N/A
Pastebin: https://snip.hxrsh.in/ubi-1661631780484

Installing Fairphone 4 image, successfully get to the asserting unlocked bootloader variable but cannot go any further. Device is definitely fully unlocked. Same issue occurs when trying to install from Linux Mint Host

@Termina94
Copy link

Having the same issue here trying on Windows and Fedora.

  • Bootloader fully unlocked
  • Fresh install of fairphone OS
  • developer mode and USB debugging enabled
  • fastboot bootloader says "DEVICE STATE - unlocked"

@Termina94
Copy link

Temporary solution that fixed my issue was bypassing the check that hangs.

Download this file: https://github.com/ubports/installer-configs/blob/master/v2/devices/FP4.yml

Or copy the contents to a file eg: config.yml

Remove or comment out the lines:

      - actions:
          - fastboot:assert_var:
              variable: "unlocked"
              value: "yes"

Then run

ubports-installer -f ./config.yml

Follow installer like normal and it will use your new local config

This skipped the check and installed successfully on my FP4

@amartinz
Copy link
Member

amartinz commented Sep 7, 2022

We have just released 0.9.7-beta.
Could you please retry with this one?

@DragonLych
Copy link
Author

That's worked! Much appreciated

@amartinz amartinz closed this as completed Sep 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants