DivestOS: long term device support with enhanced privacy and security

Thanks for prompt reply! For the record, I’ve actually tried USB 2.0 hub as I saw that in the Notes and it made no difference. (I was using the root also)

The issue kind of self-resolved on its own. Previously when I did fastboot update .. it rebooted the phone when done. However the system fails to boot as the factory reset was not done yet. (this is the step 12 I didn’t get to) However as I tried to troubleshoot this, I at some stage tried to do factory reset.

So when I did step 9 again to try and follow your advice I left the phone updating, didn’t notice it rebooted and found it already booted to DOS. :smile:

Now there’s update downloading. (900-ish MB) If I understand you correctly, I should just let it apply and I should end up with the same system I would end up if I did adb sideload. Is that correct? Can I eventually attempt to re-lock the device?

Yep!

After that update installs, please try the sideload again to flash the other slot as well. Then you can lock.

This is probably a stupid question, but do I have to sideload from recovery? Or can it be done via USB debugging?

@mprasil sideload only works in recovery

the adb/developer options in Settings app have zero control over the recovery

So update. I was wrong. In the end it was cable. :man_facepalming: I swear I tried multiple cables. But in the end the fact that fastboot worked, misled me thinking USB is probably not the problem.

Eventually I just tried the dodgiest cable I have here. I wouldn’t trust it with charging, much less so with data. But it worked flawlessly. Including ADB.

Now I’m curious how is it even possible that fastboot worked? I always assumed that it’s the same connection. But I guess it can be internally connected to different interface?

Anyways apologies for wasting your time over a broken cable. Sent some donation your way as an apology.

@mprasil
no worries, I’ve seen that happen a few times, I’ll add a note on the website for it
and thank you for the donation

edit: Bootloader - DivestOS Mobile

1 Like

Hello.
I Installed build and works great. Tried to lock bootloader with no success. Received error.
I followed installation process exactly.

I installed DivestOS last year and was able to lock bootloader then

Thanks for your work.

You need to sideload it twice.

1 Like

Sideload the rom twice (for both partitions)?

Just run the sideload command from the install guide twice: https://divestos.org/builds/LineageOS/raven/install.html

The first fastboot command flashes the current slot, the reboot to recovery to sideload flashes the alternate slot. But that potentially leaves the original slot with mismatched firmware, so sideload again is required to lock.

1 Like

I understand now. Thank you mate.

Hi, @SkewedZeppelin . I hope you are having a good day. It’s been a few days since I joined the XMPP servers (all 3 of them) but it won’t let me chat. It says “You are not participating” and tells me to ask for write access, which is why I’m here.

Hello, and thank you for this beautiful ROM.
I want to report, that Pixel 5 (redfin) relocking works fine. I’ve updated several times having bootloader relocked and did not experience any issues.
I’m using DivestOS as daily driver now for some months, and I’m happy with it! :slight_smile: