!UUYziobKGGxpovWyAN:nixos.org

Robotnix

231 Members
Build Android (AOSP) using Nix | https://github.com/nix-community/robotnix70 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
27 Jan 2025
@cyclopentane:aidoskyneen.eupentaneWhen you run LineageOS and install apps that save stuff to your phone, that data is somehow "coupled" to the keys your LineageOS install was signed with (don't ask me about the details though). If you try to boot a LineageOS install with an image that was signed with different build keys than the ones your user data was coupled to, it will complain and not boot.21:04:52
@cyclopentane:aidoskyneen.eupentane* When you run LineageOS and install apps that save stuff to your phone, that data is somehow "coupled" to the keys your LineageOS install was signed with (don't ask me about the details though). If you try to boot a LineageOS install with an image that was signed with different build keys than the ones your user data was coupled to, it will complain and not boot (I believe).21:05:58
@cyclopentane:aidoskyneen.eupentane

In that case, you have two options:

  • you can wipe your userdata partition and start over with the new keys
  • or you can migrate your userdata from the keys of your old install to your new install
21:06:15
@cyclopentane:aidoskyneen.eupentane in your case, you probably had an official LineageOS build install first, and now your userdata is coupled to the official LineageOS release-keys. If you want to install a robotnix-built LOS image with the test-keys, you need to run the migration script to change your keys from release-keys to test-keys. 21:08:10
@cyclopentane:aidoskyneen.eupentane

What I did was:

  • enable rooted debugging; run adb root
  • copy migration.sh to the phone
  • run stop inside adb shell to shut down all user-facing system components
  • run ./migration.sh unofficial inside the adb shell
  • quit the ADB shell and run adb reboot recovery
  • sideload the Robotnix-built OTA zip
21:10:13
@cyclopentane:aidoskyneen.eupentaneMan, we should write a guide about this some day :D21:10:47
@atemu12:matrix.orgAtemuYes, PRs welcome :)21:10:59

Show newer messages


Back to Room ListRoom Version: 6