!UUYziobKGGxpovWyAN:nixos.org

Robotnix

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

Load older messages


SenderMessageTime
18 Aug 2021
@danielrf:matrix.orgdanielrfNope, we can't change that.18:41:31
@danielrf:matrix.orgdanielrfAt least it's a "yellow" warning screen and not a "red" one :) https://source.android.com/security/verifiedboot/boot-flow#communicating-verified-boot-state-to-users18:41:43
@withoutwithin:matrix.orgXe (xe/they)ah, fair18:42:14
@cdesai:matrix.orgcde hmenke: danielrf 1177: Check for product name before flashing factory image | https://review.calyxos.org/c/CalyxOS/device_common/+/1177 18:51:22
@samueldr:matrix.orgsamueldroof, with bootloader flashed to the wrong thing I guess that could brick a device18:58:27
@samueldr:matrix.orgsamueldrthough it's "out of band" that the flashing happens, not through the usual route IIRC for radio18:58:50
@samueldr:matrix.orgsamueldr * though it's "out of band" that the flashing happens, not through the usual route IIRC for bootloader/radio18:58:56
@samueldr:matrix.orgsamueldrso I wonder why it doesn't check for an appropriate one18:59:05
@andreas.schraegle:helsinki-systems.deajs124if it's qualcomm, they normally have their recovery thing where it shows up as a serial device and you can just flash through that18:59:54
@cdesai:matrix.orgcdethere are checks already in some cases preventing wrong bootloader flashing19:05:58
@cdesai:matrix.orgcdebut sometimes it may not work, I don't know when exactly19:06:09
@cdesai:matrix.orgcdeand it's nothing I'd want to find out the hard way :P19:06:17
@cdesai:matrix.orgcdebut I have accidentally had a script flash the wrong bootloader to a device but the device rejected it19:06:30
@cdesai:matrix.orgcdeat the same time, a user tried to flash our sunfish build to their bramble (it was just released, nobody supported it then) and managed to brick19:06:48
@withoutwithin:matrix.orgXe (xe/they)is it a bad idea to distribute a robotnix build across multiple machines?20:45:24
@danielrf:matrix.orgdanielrfMost of the AOSP build takes place in one giant derivation, so there's not a ton of benefit unfortunately. (chromium and kernel builds could take place on another machine, though, and save some time)20:47:29
@danielrf:matrix.orgdanielrfThe other gotcha would be if you're using the Nix sandbox exception to access your signing keys--then you'd have to ensure the final derivations which sign the build take place on a machine with the sandbox exception20:48:40
@samueldr:matrix.orgsamueldr Andreas Schrägle: "just" flash through that if you have the signed programmer, signed by the an accepted authority which would be the OEM, here google 20:48:41
@danielrf:matrix.orgdanielrfBut besides that I believe it should be safe20:48:48
@samueldr:matrix.orgsamueldrand google's, I think for all devices except nexus 7 (2013) haven't been published20:49:13
@samueldr:matrix.orgsamueldrnot sure about other nexus devices, but pretty sure it wasn't for anything pixel20:49:33
@andreas.schraegle:helsinki-systems.deajs124
In reply to @withoutwithin:matrix.org
is it a bad idea to distribute a robotnix build across multiple machines?
I do that, works fine. But what danielrf says does apply.
21:03:05
@andreas.schraegle:helsinki-systems.deajs124
In reply to @samueldr:matrix.org
Andreas Schrägle: "just" flash through that if you have the signed programmer, signed by the an accepted authority which would be the OEM, here google
I didn't need that for my moto x4, back in the day
22:04:18
@samueldr:matrix.orgsamueldrwhat tool did you use to reflash?22:04:51
@samueldr:matrix.orgsamueldrthough motorola is different22:05:11
@samueldr:matrix.orgsamueldrthey have the "blankflash" thing22:05:18
@samueldr:matrix.orgsamueldrwhich I'm not sure how it is implemented22:05:31
@samueldr:matrix.orgsamueldrwhether it's like oneplus, where the programmer is part of the tool you use to unbrick, or if it's another distinct protocol22:05:48
@andreas.schraegle:helsinki-systems.deajs124some windows thing, but there's also something by linaro. qms? something like that. 22:25:15
@samueldr:matrix.orgsamueldrI never had a bricked motorola to blankflash so I can't say for sure22:28:22

Show newer messages


Back to Room ListRoom Version: 6