fyne+go version updated, build instruction fixed
This commit is contained in:
@@ -6,7 +6,7 @@ Both the CLI and GUI variants are written in Go 1.23.
|
||||
|
||||
**Root access is required to run the tool in either variant!**
|
||||
|
||||
As of now, lexipwn should work on the following Google Pixel models (provided they are rooted): 6, 6 Pro, 6a, 7, 7 Pro, 7a, Fold, 8, 8 Pro, 9, 9 Pro, 9 Pro XL, 9 Pro Fold.
|
||||
As of now, lexipwn should work on the following Google Pixel models (provided they are rooted): 6, 6 Pro, 6a, 7, 7 Pro, 7a, Fold, 8, 8 Pro, 9, 9 Pro, 9 Pro XL, 9 Pro Fold. Reports on the Pixel 10 series are still pending.
|
||||
|
||||
## Features
|
||||
|
||||
@@ -25,7 +25,7 @@ The prebuilt binaries of lexipwn in both variants are available in the "Releases
|
||||
|
||||
### CLI variant
|
||||
|
||||
To build the CLI variant of lexipwn, you need to just have Make and Go 1.23 (or above) installed.
|
||||
To build the CLI variant of lexipwn, you need to just have Make and Go 1.24 (or above) installed.
|
||||
Run `make cli` from the repository root and you'll see the static ARM64 binary in the `out/lexipwn` file.
|
||||
|
||||
You can then push the binary to e.g. `/data/local/tmp` directory on the device and directly use it from the `su` shell in ADB or Termux.
|
||||
@@ -34,7 +34,8 @@ You can also try and build the CLI variant of lexipwn on Termux itself.
|
||||
|
||||
### GUI variant
|
||||
|
||||
To build the GUI variant of lexipwn, you need to have Make, Go 1.23 (or above), [Android NDK](https://github.com/android/ndk/wiki#supported-downloads) and `fyne` command installed.
|
||||
To build the GUI variant of lexipwn, you need to have Make, Go 1.24 (or above), [Android NDK](https://github.com/android/ndk/wiki#supported-downloads) and `fyne` command installed. The recommended `fyne` command version is 1.6.2 and above.
|
||||
|
||||
You can install the [Fyne toolkit](https://fyne.io/) using the following commands:
|
||||
|
||||
```
|
||||
@@ -42,7 +43,11 @@ go get fyne.io/fyne/v2@latest
|
||||
go install fyne.io/fyne/v2/cmd/fyne@latest
|
||||
```
|
||||
|
||||
Additionally, you need to ensure that the `ANDROID_NDK_HOME` environment variable is pointing to the directory you have extracted the Android NDK to.
|
||||
Additionally, you need to ensure that the `ANDROID_NDK_HOME` environment variable is pointing to the directory you have extracted the Android NDK to. In most Linux distributions, if you have installed the NDK system-wide, you can populate this variable with the following command:
|
||||
|
||||
```
|
||||
export ANDROID_NDK_HOME=$(dirname $(realpath $(whereis ndk-build | cut -f 2 -d:)))
|
||||
```
|
||||
|
||||
Then, just run `make` from the repository root and you'll see the Android APK package in the `out/lexipwn.apk` file that you can install on your rooted phone.
|
||||
The very first build may take a rather long time because Fyne will download all missing framework dependencies.
|
||||
|
||||
Reference in New Issue
Block a user