Date: Thu, 14 Nov 2024 00:11:48 +0100 From: Tomek CEDRO <tomek@cedro.info> To: Thierry Thomas <thierry@freebsd.org> Cc: Miroslav Lachman <000.fbsd@quip.cz>, freebsd-usb@freebsd.org, Neel Chauhan <nc@freebsd.org> Subject: Re: Help needed for devel/android-tools Message-ID: <CAFYkXj=_0LF34GJbpgpKOQPgB7nr6fwey-pj3xAH72wERf3rkQ@mail.gmail.com> In-Reply-To: <ZzUWXB8T_0rXf489@graf.pompo.net> References: <ZzTrvU2TXnA7bamr@graf.pompo.net> <adfc8572-7a3c-4e47-b8c3-ab230fa52401@quip.cz> <ZzUWXB8T_0rXf489@graf.pompo.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Nov 13, 2024 at 10:13=E2=80=AFPM Thierry Thomas <thierry@freebsd.or= g> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFYkXj=_0LF34GJbpgpKOQPgB7nr6fwey-pj3xAH72wERf3rkQ>