!UUYziobKGGxpovWyAN:nixos.org

Robotnix

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

Load older messages


SenderMessageTime
21 Dec 2024
@atemu12:matrix.orgAtemu 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.orgAtemuFirst add your device to the supported devices and then run the device dir updater16:12:25
@atemu12:matrix.orgAtemuThen just build with the appropriate version, device and flavour selection16:13:01
@atemu12:matrix.orgAtemuYou 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.orgAtemuI don't know whether anyone has built vanilla in years22:02:36
@atemu12:matrix.orgAtemuIt'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
@countoren:matrix.orgcountoren

found it. in the lingeaos folder running it, getting everything is up to date:

$ python update_device_dirs.py --branch lineage-20.0
device/fairphone/FP4 is up to date.
device/oneplus/cheeseburger is up to date.
device/oneplus/instantnoodlep is up to date.
device/google/sunfish is up to date.
vendor/oneplus/cheeseburger is up to date.
vendor/google/sunfish is up to date.
vendor/oneplus/msm8998-common is up to date.
vendor/oneplus/sm8250-common is up to date.
vendor/fairphone/FP4 is up to date.
vendor/oneplus/instantnoodlep is up to date.

running the build command again still result with patching issues specifically over the readonly patch

23:58:03
23 Dec 2024
@atemu12:matrix.orgAtemu countoren: You're in luck actually because oak has the same phone. It's already supported: https://github.com/nix-community/robotnix/pull/258 08:49:50
@atemu12:matrix.orgAtemuYou should be able to just build it08:50:08
@atemu12:matrix.orgAtemu Your flavour is wrong though; it's just the flavour. Version is specified using androidVersion. 08:50:26
@oak:universumi.fioakAbout the aapt2 issue, I've seen that13:32:38
@oak:universumi.fioakI think I was able to work around that by not building the Chromium Webview from the source13:34:40
@oak:universumi.fioakIt is possible to fix that specific issue but then there are other issues with the Chromium Webview builder later in the process as well13:35:30
@oak:universumi.fioakMainly I found out last time I was looking at it, that during past few years the build process of Chromium has changed so that it required their own distribution of Python to be able to fetch all the source code, and the "flattening" of the tree has been broken13:41:20
@oak:universumi.fioakThen I had this idea of leveraging the stuff that already exists for building Chromium for NixOS in nixpkgs but hadn't had enough time to look on that, by default it only builds few different variants for Linux13:42:01
@atemu12:matrix.orgAtemuHonestly getting a working prebuilt webview such as mulch is much higher priority14:09:32
@atemu12:matrix.orgAtemuIdeally it'd be the mulch overlay so that it's use upgradable at runtime14:10:11
@erahhal:homefree.hosterahhal set a profile picture.18:32:01
@oak:universumi.fioakYeah, I think we could have both, IIRC there's already a mechanism which you can optionally use to select one of the webviews. I don't think adding prebuilt webview should anyway be that big task18:54:08
@atemu12:matrix.orgAtemuYup, just needs to be done18:54:50
@oak:universumi.fioakMaybe I could also have a look on adding that, but I don't have my second test phone with me now during christmast time18:54:53
@atemu12:matrix.orgAtemuWe should really get the emulator to work again too18:55:18

Show newer messages


Back to Room ListRoom Version: 6