-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.sh
More file actions
executable file
·42 lines (28 loc) · 1.01 KB
/
setup.sh
File metadata and controls
executable file
·42 lines (28 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#!/bin/bash
echo "Maintainer : Duck Inc. (Eithan Asulin) [https://github.com/EithanAsulin]"
echo ""
# This Is Based On The Official S10 + (Beyond2lte) Downstream Files.
echo "Tested With pmbootstrap Version 3.8.0"
echo ""
echo "Copying Device Samsung d2s To Pmaports"
echo ""
cp -r device-samsung-d2s ~/.local/var/pmbootstrap/cache_git/pmaports/device/downstream/
echo "Copying Linux Samsung d2s To Pmaports"
cp -r linux-samsung-d2s ~/.local/var/pmbootstrap/cache_git/pmaports/device/downstream/
echo ""
echo "Running pmbootstrap init"
echo "Vendor : Samsung"
echo "Device : d2s"
echo "Y, And Then Just Hold Enter"
pmbootstrap zap
pmbootstrap zap
pmbootstrap init
echo "Starting Build!"
pmbootstrap checksum linux-samsung-d2s
pmbootstrap build linux-samsung-d2s --force
pmbootstrap install
echo "From This Point Follow This :"
echo "---> Reboot To Download Mode"
echo "-------> Run > pmbootstrap flasher flash_kernel"
echo "---> Immediately Go Back To Download Mode"
echo "-------> Run > pmbootstrap flasher flash_rootfs"