Skip to content

Commit 42e076c

Browse files
committed
readme: Add missing items
test: Walk through the manual using clean Ubuntu to ensure it is okay. Signed-off-by: Roman Stratiienko <[email protected]>
1 parent ece5508 commit 42e076c

File tree

1 file changed

+17
-5
lines changed

1 file changed

+17
-5
lines changed

README.md

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ To flash Android on a sdcard, use *deploy-sd.img*
2525
To flash Android on eMMC, use *deploy-sd-for.emmc.img*
2626

2727
### Step 2
28-
Insert recovery sdcard into the target board.
28+
Ensure you have installed the adb package: ```$ sudo apt install adb``` (required to set up udev rules)
29+
Insert recovery sdcard into the phone.
2930
Connect the phone and your PC using a typec cable.
30-
Power up the phone.
31+
Power up the phone. Blue LED indicates that the phone is in bootloader mode, and you can proceed with flashing.
3132

3233
### Step 3
33-
Ensure you have installed the adb package: ```$ sudo apt install adb``` (required to set up udev rules)
3434
Run .*/flash-sd.sh* utility for flashing Android to sdcard or *./flash-emmc.sh* for flashing Android to eMMC
3535

3636
*After several minutes flashing should complete, and Android should boot*
@@ -53,7 +53,7 @@ sudo apt-get install -y git-core gnupg flex bison build-essential zip curl zlib1
5353

5454
- Install additional packages
5555
```bash
56-
sudo apt-get install -y swig libssl-dev flex bison device-tree-compiler mtools git gettext libncurses5 libgmp-dev libmpc-dev cpio rsync dosfstools kmod gdisk lz4 meson cmake libglib2.0-dev
56+
sudo apt-get install -y swig libssl-dev flex bison device-tree-compiler mtools git gettext libncurses5 libgmp-dev libmpc-dev cpio rsync dosfstools kmod gdisk lz4 meson cmake libglib2.0-dev git-lfs
5757
```
5858

5959
<br/>
@@ -64,6 +64,15 @@ sudo apt-get install -y python3-pip pkg-config python3-dev ninja-build
6464
sudo pip3 install mako jinja2 ply pyyaml
6565
```
6666

67+
- Install the `repo` tool
68+
```bash
69+
sudo apt-get install -y python-is-python3 wget
70+
wget -P ~/bin http://commondatastorage.googleapis.com/git-repo-downloads/repo
71+
chmod a+x ~/bin/repo
72+
```
73+
74+
**NOTE: After this step, you may need to log out and log in to the system to make $HOME/bin added to the PATH environment variable.**
75+
6776
### Fetching the sources and building the project
6877

6978
```bash
@@ -77,12 +86,15 @@ cd pine64-pinephone
7786
./unfold_aosp.sh && ./build.sh
7887
```
7988

89+
**NOTE: If you're using `git` for the first time, it may ask you to configure the user name and email address and confirm the colored terminal.
90+
Please follow the suggestion you see on the screen in this case.**
91+
8092
### Building LineageOS
8193

8294
To enable GMS (microg), set the environment variable `export WITH_GMS=true`.
8395

8496
```bash
85-
./unfold_lineage.sh && ./build.sh
97+
./unfold_lineageos.sh && ./build.sh
8698
```
8799

88100
### Notes

0 commit comments

Comments
 (0)