!UUYziobKGGxpovWyAN:nixos.org

Robotnix

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

Load older messages


SenderMessageTime
5 Aug 2025
@atemu12:matrix.orgAtemuCan you please keep it on-topic?20:06:08
@matthewcroughan:defenestrate.itmatthewcroughanYeah sorry20:06:15
@matthewcroughan:defenestrate.itmatthewcroughan
error: Cannot build '/nix/store/qmximns6m4rb6zm8ayhpmrdvm2j5006p-aws-sdk-java-v2-4b4fafe.drv'.
       Reason: builder failed with exit code 1.
       Output paths:
         /nix/store/1d3k2ks8h4ky672nn9q8prx2wrnflxc6-aws-sdk-java-v2-4b4fafe
       Last 18 log lines:
       > exporting https://android.googlesource.com/platform/external/aws-sdk-java-v2 (rev 4b4fafefcbed63e78902f1bcdce7907908c908d8) into /nix/store/1d3k2ks8h4ky672nn9q8prx2wrnflxc6-aws-sdk-java-v2-4b4fafe
       > Git LFS initialized.
       > Initialized empty Git repository in /nix/store/1d3k2ks8h4ky672nn9q8prx2wrnflxc6-aws-sdk-java-v2-4b4fafe/.git/
       > error: RPC failed; HTTP 429 curl 22 The requested URL returned error: 429
       > fatal: expected flush after ref listing
       > error: RPC failed; HTTP 429 curl 22 The requested URL returned error: 429
       > fatal: expected flush after ref listing
20:06:31
@matthewcroughan:defenestrate.itmatthewcroughanIs there an easy way around the rate limits?20:06:38
@matthewcroughan:defenestrate.itmatthewcroughanYou can't perform a build of robotnix from scratch without hitting them20:06:53
@cyclopentane:aidoskyneen.eupentane ⭔none that I know of, either throttle your own connection or reduce the number of simultaneous builds ig20:07:15
@matthewcroughan:defenestrate.itmatthewcroughanYeah.. throttling own connection. Rate limits are an interesting impurity that isn't handled in nixpkgs at all basically20:07:47
@cyclopentane:aidoskyneen.eupentane ⭔occasionally, I also rotated through some Mullvad proxies to avoid the ratelimit20:07:50
@matthewcroughan:defenestrate.itmatthewcroughanLike all fetchers would need to implement this if it were to be supported20:07:55
@matthewcroughan:defenestrate.itmatthewcroughanI reckon they should tbh 20:08:15
@matthewcroughan:defenestrate.itmatthewcroughanThe android development experience lol20:08:56
@matthewcroughan:defenestrate.itmatthewcroughan
error: build of '/nix/store/zx5j26wynm41bwkjr21hdkcy222lgsx7-device=xiaomi=sdm710-common-patched.drv' on 'ssh-ng://nix-ssh@swordfish' failed: Cannot build '/nix/store/zx5j26wynm41bwkjr21hdkcy222lgsx7-device=xiaomi=sdm710-common-patched.drv'.
       Reason: builder failed with exit code 1.
       Output paths:
         /nix/store/66wblg9v5dwwbqky9fgn810c3ldslshh-device=xiaomi=sdm710-common-patched
       Last 6 log lines:
       > Applying /nix/store/c1qqsffljczccv1641vn87a7al2xmpyl-system_partition_size.patch
       > patching file BoardConfigCommon.mk
       > Reversed (or previously applied) patch detected!  Assume -R? [n]
       > Apply anyway? [n]
       > Skipping patch.
       > 1 out of 1 hunk ignored -- saving rejects to file BoardConfigCommon.mk.rej
       For full logs, run:
         nix log /nix/store/zx5j26wynm41bwkjr21hdkcy222lgsx7-device=xiaomi=sdm710-common-patched.drv
20:10:05
@matthewcroughan:defenestrate.itmatthewcroughanInteresting!20:10:06
@matthewcroughan:defenestrate.itmatthewcroughan
  source.dirs."device/xiaomi/sdm710-common".patches = [
    ./system_partition_size.patch
  ];

20:10:11
@matthewcroughan:defenestrate.itmatthewcroughanI am applying this, but it reckons it's already applied 20:10:19
@matthewcroughan:defenestrate.itmatthewcroughan
diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk
index d31ebaf..e655ca2 100644
--- a/BoardConfigCommon.mk
+++ b/BoardConfigCommon.mk
@@ -108,19 +108,6 @@ BOARD_SUPER_PARTITION_VENDOR_DEVICE_SIZE := 1610612736
 BOARD_SUPER_PARTITION_CUST_DEVICE_SIZE := 1073741824
 BOARD_SUPER_PARTITION_METADATA_DEVICE := system
 
-# Partitions - reserved size
-ifneq ($(WITH_GMS),true)
-$(foreach p, $(call to-upper, $(SSI_PARTITIONS)), \
-    $(eval BOARD_$(p)IMAGE_EXTFS_INODE_COUNT := -1))
-SSI_PARTITIONS_RESERVED_SIZE := 1205862400
-else
-SSI_PARTITIONS_RESERVED_SIZE := 30720000
-endif
-$(foreach p, $(call to-upper, $(SSI_PARTITIONS)), \
-    $(eval BOARD_$(p)IMAGE_PARTITION_RESERVED_SIZE := $(SSI_PARTITIONS_RESERVED_SIZE)))
-$(foreach p, $(call to-upper, $(TREBLE_PARTITIONS)), \
-    $(eval BOARD_$(p)IMAGE_PARTITION_RESERVED_SIZE := 30720000))
-
 # Platform
 BOARD_VENDOR := xiaomi
 BOARD_USES_QCOM_HARDWARE := true

20:10:31
@matthewcroughan:defenestrate.itmatthewcroughanI guess someone applied this upstream, nice 20:10:38
8 Aug 2025
@kity:kity.wtfproblems changed their profile picture.02:31:09
@0x4a6f:nixos.dev0x4A6F joined the room.06:27:30
10 Aug 2025
@matthewcroughan:defenestrate.itmatthewcroughan changed their display name from matthewcroughan to matthewcroughan @ WHY2025 (DECT: 8793).11:44:33
13 Aug 2025
@matthewcroughan:defenestrate.itmatthewcroughan changed their display name from matthewcroughan @ WHY2025 (DECT: 8793) to matthewcroughan.17:29:42
14 Aug 2025
@cyclopentane:aidoskyneen.eupentane ⭔Alright folks, I just merged my fork into nix-community/robotnix, so you can build up-to-date LineageOS and GrapheneOS from there again :)10:56:29
17 Aug 2025
@cybershadow:cy.mdCyberShadowHi, sorry, I've been out of the loop for a while. Android custom ROMs (incl. those built by robotnix) are no longer compatible with many apps (banking, Google Wallet...) any more, even without "root", right?10:28:38
@atemu12:matrix.orgAtemuDepends on the exact app10:33:34
@atemu12:matrix.orgAtemuhttps://plexus.techlore.tech/10:33:54
@cybershadow:cy.mdCyberShadowOK, what about Wallet? Or are there alternatives that don't require device integrity?10:34:36
@atemu12:matrix.orgAtemuWhat do you use it for?10:34:51
@atemu12:matrix.orgAtemuFor pkpass I use FOSSWallet10:35:11
@cybershadow:cy.mdCyberShadowCard payments and transit10:35:14
@atemu12:matrix.orgAtemuFor mobile payment I use my bank's own app10:35:30

Show newer messages


Back to Room ListRoom Version: 6