From nobody Wed Nov 13 20:59:00 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 4XpbHd391hz5cZ9d for ; Wed, 13 Nov 2024 20:59:09 +0000 (UTC) (envelope-from SRS0=PvnO=SI=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4XpbHd0NMBz4Nh7; Wed, 13 Nov 2024 20:59:09 +0000 (UTC) (envelope-from SRS0=PvnO=SI=quip.cz=000.fbsd@elsa.codelab.cz) Authentication-Results: mx1.freebsd.org; none Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 58FADD78F1; Wed, 13 Nov 2024 21:59:01 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quip.cz; s=private; t=1731531541; bh=m7R0Xt+3xbxPMtY3V0nL3iPvaEWSznrpwBvVYsI9bZg=; h=Date:Subject:To:Cc:References:From:In-Reply-To; b=Gy2rCC9bSl7peNbspdIxcqE0rwuT0jAwKAOc7fbIk/Nn+kE4XHvrKttzLiIE/U6HS V5j7tAi/PafB6V3POPInUucDxdKek9hBDGW/PR1dq/M8/azHhBaJzSE0zr5xsx1127 DPepd/Kc+WFBKSkZYglJujcNmODHHuT2TkLhmPZQ= Received: from [192.168.145.49] (ip-89-177-27-225.bb.vodafone.cz [89.177.27.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 62FDAD78E0; Wed, 13 Nov 2024 21:59:00 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quip.cz; s=private; t=1731531540; bh=m7R0Xt+3xbxPMtY3V0nL3iPvaEWSznrpwBvVYsI9bZg=; h=Date:Subject:To:Cc:References:From:In-Reply-To; b=r2iocSkjyM6iVX2jZo5eLrNzMHdonQs+KKtelDeHEj0CCdcVkiTMJxvanCYE0xP2V HkQORVFLI9cP3n1kuFFplbfTWoNzvZZKLpfxQhzTEnnHiPCXReIvz/4YQO9eZZ/ZOc k7d/klqIYs21JSgM2XGyQBXP9RA/hot5ppqiVpOE= Message-ID: Date: Wed, 13 Nov 2024 21:59:00 +0100 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 User-Agent: Mozilla Thunderbird Subject: Re: Help needed for devel/android-tools To: Thierry Thomas , freebsd-usb@freebsd.org Cc: Neel Chauhan References: Content-Language: en-US From: Miroslav Lachman <000.fbsd@quip.cz> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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:42000, ipnet:94.124.104.0/21, country:CZ] X-Rspamd-Queue-Id: 4XpbHd0NMBz4Nh7 X-Spamd-Bar: ---- On 13/11/2024 19:11, Thierry Thomas wrote: > Hello, > > The port devel/android-tools is in version 31.0.3, but to install > GrapheneOS a recent version is needed, and I tried to update it to > 35.0.2. > > My diff to upgrade this port (with `git am') is available at > https://people.freebsd.org/~thierry/devel_android-tools.diff > > It builds fine, but unfortunately many patches and a new file for > core/fastboot/usb_freebsd.cpp are required, and this is not my area of > expertise: something is wrong! > > Any help is welcome: you don’t have to flash a device, just try > > # fastboot getvar product > > and it should list your connected device, but ATM it only displays > > < waiting for any device > > > Thanks for your suggestions. Isn't just a permissions problem? Does "fastboot devices" or "adb devices -l" work with older version installed? I am not a USB / Android expert, I just tried to flash Android from FreeBSD about 2 months ago and I remember there were some issues with permissions to USB device nodes. Miroslav Lachman