Skip to content

Commit 61b9031

Browse files
authored
Update README.md
1 parent 7d8151a commit 61b9031

File tree

1 file changed

+5
-16
lines changed

1 file changed

+5
-16
lines changed

README.md

+5-16
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,13 @@ A database of configs for building the [Kernel](kernel.org).
33
specified on [my tutorial](https://gist.github.com/EduApps-CDG/733e29c28dd53e91128d384c2e879397)
44

55
## Add a device:
6+
Implement our database by forking this repo, clone and so:
67

78
### Using Android (Termux and root)
89
```sh
9-
# clone the project
10-
git clone https://github.com/EduApps-CDG/kernel-configs
11-
12-
# move to project
13-
cd kernel-configs
14-
15-
# turn the clone a fork
16-
hub fork --remote-name=origin
17-
18-
#copy /proc/config.gz into ./android/[your device].gz
1910
cp /proc/config.gz "android/$(getprop | grep -i ro.product.model | sed "s/\[ro.product.model\]: //" | sed "s/\[//" | sed "s/\]//").gz"
20-
21-
#push to [your device]
22-
git push origin "$(getprop | grep -i ro.product.model | sed "s/\[ro.product.model\]: //" | sed "s/\[//" | sed "s/\]//")"
23-
24-
#create a pull request
25-
hub pull-request
2611
```
12+
13+
### Using Desktop
14+
```sh
15+
cp -v /boot/config-$(uname -r)

0 commit comments

Comments
 (0)