!UUYziobKGGxpovWyAN:nixos.org

Robotnix

243 Members
Build Android (AOSP) using Nix | https://github.com/danielfullmer/robotnix75 Servers

Load older messages


SenderMessageTime
20 Dec 2024
@samueldr:matrix.orgsamueldr * there was a page about that topic with LineageOS once, but it's supposed to be a non-issue nowadays I don't know if it's still relevant 23:03:13
@samueldr:matrix.orgsamueldr some clues here https://github.com/mobile-nixos/mobile-nixos/issues/714 23:03:15
@oak:universumi.fioak 🏳️‍🌈♥️I don't recall anymore where I read about it, but it was known advice for example for OnePlus 8 Pro which has these A/B slots, that you need to flash the firmware to both slots, otherwise it will start to use older version from other slot on LineageOS updates23:03:21
@oak:universumi.fioak 🏳️‍🌈♥️https://wiki.lineageos.org/devices/instantnoodlep/fw_update/ For example for OnePlus 8 Pro here it advices to flash all slots23:03:45
@samueldr:matrix.orgsamueldrmight have been from Mobile NixOS docs :) or just LineageOS23:03:57
@oak:universumi.fioak 🏳️‍🌈♥️I even remember there was that copy-partitions.zip you could sideload and that would just copy the partitions inside the phone23:04:52
@atemu12:matrix.orgatemu12I don't think I ever flashed any sort of firmare23:05:23
* @samueldr:matrix.orgsamueldr wonders if there's federation lag between oak and I 23:05:48
* @samueldr:matrix.orgsamueldr * wonders if there's federation lag between oak and himself 23:05:52
@atemu12:matrix.orgatemu12I know that was a thing on my cheeseburger where you had to flash modem firmware but no such thing with the fairphone23:06:18
@atemu12:matrix.orgatemu12I'd assumed it's all contained in the system partition23:06:36
@samueldr:matrix.orgsamueldr it really depends, and no, nowadays it's kinda expected to be within the many vendor packages 23:07:07
@oak:universumi.fioak 🏳️‍🌈♥️The newer the phone, the more there are smaller individual firmware binaries that need to be put into right places23:08:46
21 Dec 2024
@atemu12:matrix.orgatemu12For some reason my Backup doesn't work for launcher3 with Android 14 anymore and I have no idea why07:59:43
@atemu12:matrix.orgatemu12 I can delete its data/ files just fine and that causes it to reset but if I restore my backup's data/, it doesn't restore my home screen 08:00:25
@atemu12:matrix.orgatemu12Where else could it be hiding state?08:11:37
@atemu12:matrix.orgatemu12 Okay so if I rename the files in /data/data/com.android.launcher3, start, open the launcher, stop and then move the files back, that does restore the state 17:48:39
22 Dec 2024
@countoren:matrix.orgcountorenHi All, I am trying to build an image for one plus 8 pro in any flavor, any expression or link could help 16:07:59
@atemu12:matrix.orgatemu12First add your device to the supported devices and then run the device dir updater16:12:25
@atemu12:matrix.orgatemu12Then just build with the appropriate version, device and flavour selection16:13:01
@atemu12:matrix.orgatemu12You also need to disable the webviev, haven't gotten around to that yet16:13:21
@countoren:matrix.orgcountorentrying to build a vanilla on the latest commit getting issue when it is trying to patch aapt2 > searching for dependencies of /nix/store/0gyvs0njhf433bbi0c5wgf6627c8c3xz-aapt2/bin/aapt2 > libgcc_s.so.1 -> not found! wonder if someone has a quick fix19:41:58
@countoren:matrix.orgcountoren *

trying to build a vanilla on the latest commit getting issue when it is trying to patch aapt2

   > searching for dependencies of /nix/store/0gyvs0njhf433bbi0c5wgf6627c8c3xz-aapt2/bin/aapt2
       >     libgcc\_s.so.1 -> not found!

wonder if someone has a quick fix

19:42:15
@atemu12:matrix.orgatemu12I don't know whether anyone has built vanilla in years22:02:36
@atemu12:matrix.orgatemu12It's not going to work for your OP8P anyhow; only lineageos supports it22:03:05
@countoren:matrix.orgcountoren

im running :

$ nix-build --arg configuration '{ device="instantnoodlep"; flavor="lineage-20.0"; }' -A img --impure

getting issue patching added instantnoddlep to the supported devices:

# SPDX-FileCopyrightText: 2020 Daniel Fullmer and robotnix contributors
# SPDX-License-Identifier: MIT

# Just so we have a single place to update this
[
  "taimen" "walleye" # Pixel 2 (XL)
  "crosshatch" "blueline" # Pixel 3 (XL)
  "bonito" "sargo" # Pixel 3a (XL)
  "coral" "flame" # Pixel 4 (XL)
  "sunfish" # Pixel 4a
  "bramble" # Pixel 4a (5G)
  "redfin" # Pixel 5
  "barbet" # Pixel 5a (5G)
  "instantnoodlep"
]

where is the device dir updater is?

23:10:54
@countoren:matrix.orgcountoren *

im running :

$ nix-build --arg configuration '{ device="instantnoodlep"; flavor="lineage-20.0"; }' -A img --impure

getting issue patching added instantnoddlep to the supported devices:

# SPDX-FileCopyrightText: 2020 Daniel Fullmer and robotnix contributors
# SPDX-License-Identifier: MIT

# Just so we have a single place to update this
[
  "taimen" "walleye" # Pixel 2 (XL)
  "crosshatch" "blueline" # Pixel 3 (XL)
  "bonito" "sargo" # Pixel 3a (XL)
  "coral" "flame" # Pixel 4 (XL)
  "sunfish" # Pixel 4a
  "bramble" # Pixel 4a (5G)
  "redfin" # Pixel 5
  "barbet" # Pixel 5a (5G)
  "instantnoodlep"
]

where can i find the device dir updater is?

23:11:32
@countoren:matrix.orgcountoren *

im running :

$ nix-build --arg configuration '{ device="instantnoodlep"; flavor="lineage-20.0"; }' -A img --impure

getting issue patching added instantnoddlep to the supported devices:

# SPDX-FileCopyrightText: 2020 Daniel Fullmer and robotnix contributors
# SPDX-License-Identifier: MIT

# Just so we have a single place to update this
[
  "taimen" "walleye" # Pixel 2 (XL)
  "crosshatch" "blueline" # Pixel 3 (XL)
  "bonito" "sargo" # Pixel 3a (XL)
  "coral" "flame" # Pixel 4 (XL)
  "sunfish" # Pixel 4a
  "bramble" # Pixel 4a (5G)
  "redfin" # Pixel 5
  "barbet" # Pixel 5a (5G)
  "instantnoodlep"
]

where can i find the device dir updater is?
Is it a devShell?

23:11:58
@countoren:matrix.orgcountoren *

im running :

$ nix-build --arg configuration '{ device="instantnoodlep"; flavor="lineage-20.0"; }' -A img --impure

getting issue patching added instantnoddlep to the supported devices:

# SPDX-FileCopyrightText: 2020 Daniel Fullmer and robotnix contributors
# SPDX-License-Identifier: MIT

# Just so we have a single place to update this
[
  "taimen" "walleye" # Pixel 2 (XL)
  "crosshatch" "blueline" # Pixel 3 (XL)
  "bonito" "sargo" # Pixel 3a (XL)
  "coral" "flame" # Pixel 4 (XL)
  "sunfish" # Pixel 4a
  "bramble" # Pixel 4a (5G)
  "redfin" # Pixel 5
  "barbet" # Pixel 5a (5G)
  "instantnoodlep"
]

where can i find the device dir updater is?
Is it in the devShell?

23:12:19
@countoren:matrix.orgcountoren *

im running :

$ nix-build --arg configuration '{ device="instantnoodlep"; flavor="lineage-20.0"; }' -A img --impure

getting issue patching added instantnoddlep to the supported devices:

# SPDX-FileCopyrightText: 2020 Daniel Fullmer and robotnix contributors
# SPDX-License-Identifier: MIT

# Just so we have a single place to update this
[
  "taimen" "walleye" # Pixel 2 (XL)
  "crosshatch" "blueline" # Pixel 3 (XL)
  "bonito" "sargo" # Pixel 3a (XL)
  "coral" "flame" # Pixel 4 (XL)
  "sunfish" # Pixel 4a
  "bramble" # Pixel 4a (5G)
  "redfin" # Pixel 5
  "barbet" # Pixel 5a (5G)
  "instantnoodlep"
]

where can i find the device dir updater?
Is it in the devShell?

23:15:03

Show newer messages


Back to Room ListRoom Version: 6