Skip to content

Commit

Permalink
Change name of lk2nd boot image to lk2nd.img
Browse files Browse the repository at this point in the history
  • Loading branch information
stephan-gh committed Aug 27, 2019
1 parent bd8ba64 commit 013bc7c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ and then loaded by lk2nd.
- Wileyfox Swift

## Installation
1. Download `boot.img` (available in [Releases](https://github.com/msm8916-mainline/lk2nd/releases))
2. Flash `boot.img` using the stock flashing procedure:
- Fastboot: `fastboot flash boot boot.img`
- Samsung: `heimdall flash --BOOT boot.img`
1. Download `lk2nd.img` (available in [Releases](https://github.com/msm8916-mainline/lk2nd/releases))
2. Flash `lk2nd.img` using the stock flashing procedure:
- Fastboot: `fastboot flash boot lk2nd.img`
- Samsung: `heimdall flash --BOOT lk2nd.img`

## Usage
lk2nd provides the standard Android fastboot protocol for flashing/booting Android boot images.
Expand Down Expand Up @@ -57,6 +57,7 @@ $ make TOOLCHAIN-PREFIX=arm-none-eabi- msm8916_secondary
- Arch Linux: `dtc`

Replace `TOOLCHAIN_PREFIX` with the path to your tool chain.
`lk2nd.img` is built and placed into `build-msm8916-secondary/lk2nd.img`.

## Porting
### To other MSM8916 devices
Expand Down
2 changes: 2 additions & 0 deletions project/msm8916-secondary.mk
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
#
LOCAL_DIR := $(GET_LOCAL_DIR)

OUTBOOTIMG := $(BUILDDIR)/lk2nd.img

# Enable fastboot display menu
ENABLE_FBCON_DISPLAY_MSG := 1

Expand Down

0 comments on commit 013bc7c

Please sign in to comment.