From nobody Wed Nov 13 23:11:48 2024 X-Original-To: freebsd-usb@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XpfDy6Hdcz5cjTm for ; Wed, 13 Nov 2024 23:12:02 +0000 (UTC) (envelope-from tomek@cedro.info) Received: from mail-yw1-x1129.google.com (mail-yw1-x1129.google.com [IPv6:2607:f8b0:4864:20::1129]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XpfDy38TKz4gng for ; Wed, 13 Nov 2024 23:12:02 +0000 (UTC) (envelope-from tomek@cedro.info) Authentication-Results: mx1.freebsd.org; none Received: by mail-yw1-x1129.google.com with SMTP id 00721157ae682-6e3cdbc25a0so355387b3.2 for ; Wed, 13 Nov 2024 15:12:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cedro.info; s=google; t=1731539521; x=1732144321; darn=freebsd.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=QzlFmPrKoCH/7/NqJ9rynBWSMZPLO+o/YF2YcnU9ZrU=; b=Eh8P7Jd8SksunNlIhA8V0yDhfy+x1oo/cJeXumqLq35nVxy6c2G1dVuU9q9ZfBvgUD NNCmh9JijO26VpQTS7Tl+areSuMxuHSdEML85m3rmzXOS9MrYQLQ9t9a795fHY2gKL7o eyGcR1XG5ibKJy5CfoqulSkayOfFt8d6NP33riVaY68pPtihB4e9YWrqt8AkKPhew3xc 4QiICQIsaapmrENAFZpMPB8jFiFzSHL4nGn7gNJzqhh8I/aHsJxywtenWEiU1zzDFiuJ y3Ia/g7AmOjem41kgIWbzKlHcsfemBCAemIFY1AvgBrS1Fxrx+DHwnBRNyrSS6mN4eVH mMFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731539521; x=1732144321; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=QzlFmPrKoCH/7/NqJ9rynBWSMZPLO+o/YF2YcnU9ZrU=; b=Ym6MRhQUYcW4cppg9H/x9OOQNHbzIeP0SfKowgfvXu2z1Kjrf0JKWP0WvAW8EbDT5U 9/JK6yvFbInz73RhF+t+T2csQJPuZAdYhWHxAJs/uz3Kms5U2zja8ii/BVKN5JZKmnaw ZOmkfvApoLhpHbUc5sqiaMD0G8F/JGQ920sJa4ejxrIR2Uibz0E/C1NistgL8D40EqBX EZCdWdi2bbYPiJsxnuKIV1CTm9ngXht8oL0UCHbTNB3zdAUczo17xojeJI69dNgpe/Rk byQDppkrY+4KPQFuHg6/2/WnMIOzUX14zd8PpeOzRx51I7aHwGC7567B8go/rV4MYMqS Q34Q== X-Forwarded-Encrypted: i=1; AJvYcCXaT/dj+kNRHsz9/xBNFvFa8M0TgPiF+9ba3j/sLoY7V6kNGLXpSjL4EzmDf0XC41KHVVLGIn4UX2D/RQ==@freebsd.org X-Gm-Message-State: AOJu0YyN+hKgH78MLXMayni7V5LtppHB+3xFeUUDkcfhHxcOMwEcRczC pBXNuQZub0weSTsvN0kIhUx+FmGSwA6yXd/yjrRwktSC94oH6LtqSRsq7ZYS6mtxQnfp86NwOzM = X-Google-Smtp-Source: AGHT+IFm4O8tpyTdN1rK6SEgLdpaSUFSvsnj0Q29y2Jq22i0PVJRJcfypayUB+tf0swv5Xk0HUbDKQ== X-Received: by 2002:a05:690c:338d:b0:6e3:6b73:be66 with SMTP id 00721157ae682-6eaddf81fbemr219115567b3.27.1731539521058; Wed, 13 Nov 2024 15:12:01 -0800 (PST) Received: from mail-yw1-f181.google.com (mail-yw1-f181.google.com. [209.85.128.181]) by smtp.gmail.com with ESMTPSA id 00721157ae682-6eaceb0939asm33608967b3.61.2024.11.13.15.12.00 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 13 Nov 2024 15:12:00 -0800 (PST) Received: by mail-yw1-f181.google.com with SMTP id 00721157ae682-6eb0e90b729so456317b3.1; Wed, 13 Nov 2024 15:12:00 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCVCB0MjiauJ2WkCCupkeNPs2GQ7qxiD9oT6xywgkKSQbxicPuL4ngtEbeSFn9gcpLyl1Zg=@freebsd.org, AJvYcCWak4IrReFUg+5W7O1KQdZxrSR21qG+145YVYeNHjN5I1q4N61AdWAKuapQn3KQxerw8hUKM8jA8jssIA==@freebsd.org X-Received: by 2002:a05:690c:4b8d:b0:6c3:7d68:b400 with SMTP id 00721157ae682-6eaddd98d0fmr229248857b3.10.1731539519934; Wed, 13 Nov 2024 15:11:59 -0800 (PST) List-Id: FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-usb List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-usb@freebsd.org Sender: owner-freebsd-usb@FreeBSD.org MIME-Version: 1.0 References: In-Reply-To: From: Tomek CEDRO Date: Thu, 14 Nov 2024 00:11:48 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Help needed for devel/android-tools To: Thierry Thomas Cc: Miroslav Lachman <000.fbsd@quip.cz>, freebsd-usb@freebsd.org, Neel Chauhan Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Queue-Id: 4XpfDy38TKz4gng X-Spamd-Bar: ---- On Wed, Nov 13, 2024 at 10:13=E2=80=AFPM Thierry Thomas wrote: > Le mer. 13 nov. 24 =C3=A0 21:59:00 +0100, Miroslav Lachman <000.fbsd@quip= .cz> > =C3=A9crivait : > > Isn't just a permissions problem? Does "fastboot devices" or "adb devic= es > > -l" work with older version installed? > > Yes, permissions may be a problem, but I tried as root to be sure. > > I am not a USB / Android expert, I just tried to flash Android from Fre= eBSD > > about 2 months ago and I remember there were some issues with permissio= ns to > > USB device nodes. > Yes, this works with 31.0.3, but this is not supported by the > installation script of GrapheneOS. > At least fastboot must know the option `--disable-super-optimization' > and the partition vendor_kernel_boot. Yup, some on-device features require also up to date tools. nc@ is the port maintainer so probably that will be best person possible to ask about the update :-) To solve usb permissions use these and add users that are supposed to have access to the operator group: ***/etc/devfs.rules: [localrules=3D10] add path 'ugen*' mode 0660 group operator add path 'usb/*' mode 0660 group operator add path 'usb' mode 0770 group operator ***/etc/rc.conf: devfs_system_ruleset=3D"localrules" Have fun :-) Tomek --=20 CeDeROM, SQ7MHZ, http://www.tomek.cedro.info