Geeksphone flash scripts do not use the adb and fastboot from the extracted package

RESOLVED FIXED

Status

RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: julienw, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [from-geeksphone])

The flash.sh and flash_mac.sh scripts are using "adb" and "fastboot" directly in the scripts, which means the executables are looked up using the PATH environment variable.

If the user does not have the Android SDK, then this won't work.

I'd suggest adding this at the top of the build.sh and build_mac.sh files:

  PATH="$PATH:`dirname $0`"
Flags: needinfo?(gp)
see https://twitter.com/HTeuMeuLeu/status/400643092795375616/photo/1 for an output when the user has not installed Android SDK.
Just understood that the shipped adb/fastboot binaries are for Linux and Window. Would be useful to have the MacOS X binaries too.

Comment 3

5 years ago
As i said in our forums, if any user could send them to us i will add them to the image, but no user did it. It's a easy modification, but no one seems to be interested :(
Flags: needinfo?(gp)
geeksphone> the original issue happens on Linux too ;)

I asked some friends about providing adb and fastboot. Should they send the binaries to gp at geeksphone dot com?

Comment 5

5 years ago
geeksphone> Done :) Check your mail :)

HTH,

Armel.
Has been resolved on geeksphone side.

Thanks!
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.