Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions BoardConfig.mk
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ TARGET_BOOTLOADER_BOARD_NAME := G8341

### KERNEL
TARGET_KERNEL_CONFIG := lineage-msm8998-yoshino-poplar_defconfig
TARGET_KERNEL_CONFIG += vendor/debugfs.config

BOARD_KERNEL_CMDLINE += androidboot.hardware=poplar

Expand Down
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,22 @@ How to build LineageOS

* Initialize the repo:

repo init -u git://github.com/LineageOS/android.git -b lineage-20.0
repo init -u git://github.com/LineageOS/android.git -b lineage-21.0 --git-lfs

* Create a local manifest:

vim .repo/local_manifests/roomservice.xml
mkdir .repo/local_manifests && nano .repo/local_manifests/roomservice.xml

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<!-- SONY -->
<project name="whatawurst/android_kernel_sony_msm8998" path="kernel/sony/msm8998" remote="github" revision="lineage-20" />
<project name="whatawurst/android_device_sony_yoshino-common" path="device/sony/yoshino-common" remote="github" revision="lineage-20" />
<project name="whatawurst/android_device_sony_poplar" path="device/sony/poplar" remote="github" revision="lineage-20" />
<project name="whatawurst/android_kernel_sony_msm8998" path="kernel/sony/msm8998" revision="lineage-21" />
<project name="whatawurst/android_device_sony_yoshino-common" path="device/sony/yoshino-common" revision="lineage-21" />
<project name="whatawurst/android_device_sony_poplar" path="device/sony/poplar" revision="lineage-21" />

<!-- blobs for poplar -->
<project name="whatawurst/android_vendor_sony_yoshino-common" path="vendor/sony/yoshino-common" remote="github" revision="lineage-20" />
<project name="whatawurst/android_vendor_sony_poplar" path="vendor/sony/poplar" remote="github" revision="lineage-20" />
<project name="whatawurst/android_vendor_sony_yoshino-common" path="vendor/sony/yoshino-common" revision="lineage-21" />
<project name="whatawurst/android_vendor_sony_poplar" path="vendor/sony/poplar" revision="lineage-21" />
</manifest>

* Sync the repo:
Expand All @@ -41,8 +41,8 @@ How to build LineageOS
* Setup the environment

source build/envsetup.sh
lunch lineage_poplar-userdebug
breakfast poplar

* Build LineageOS

make -j8 bacon
m bacon
2 changes: 1 addition & 1 deletion device/hardware.mk
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@

# NFC
PRODUCT_PACKAGES += \
android.hardware.nfc@1.1-service
android.hardware.nfc@1.2-service
1 change: 0 additions & 1 deletion lineage_poplar.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/languages_full.mk)

# Inherit device configuration
$(call inherit-product, device/sony/poplar/device.mk)
Expand Down
8 changes: 4 additions & 4 deletions overlay/frameworks/base/core/res/res/xml/power_profile.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
<value>128.0</value>
<value>143.9</value>
</array>
<array name="cpu.speeds.cluster0">
<array name="cpu.core_speeds.cluster0">
<value>300000</value>
<value>364800</value>
<value>441600</value>
Expand All @@ -65,7 +65,7 @@
<value>1824000</value>
<value>1900800</value>
</array>
<array name="cpu.speeds.cluster1">
<array name="cpu.core_speeds.cluster1">
<value>300000</value>
<value>345600</value>
<value>422400</value>
Expand Down Expand Up @@ -99,7 +99,7 @@
<value>2457600</value>
</array>
<item name="cpu.idle">3.92</item>
<array name="cpu.active.cluster0">
<array name="cpu.core_power.cluster0">
<value>22</value>
<value>23</value>
<value>23</value>
Expand All @@ -123,7 +123,7 @@
<value>43</value>
<value>47</value>
</array>
<array name="cpu.active.cluster1">
<array name="cpu.core_power.cluster1">
<value>26</value>
<value>27</value>
<value>27</value>
Expand Down