mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2025-05-02 06:26:20 -04:00
Add the Nextbit Robin
This commit is contained in:
parent
1c9a4baa5b
commit
8cb18b837a
5 changed files with 538 additions and 4 deletions
|
@ -175,12 +175,12 @@ deblobDevice() {
|
|||
sed -i 's/BOARD_USES_QCNE := true/BOARD_USES_QCNE := false/' BoardConfig.mk; #Disable CNE
|
||||
sed -i 's/BOARD_USES_WIPOWER := true/BOARD_USES_WIPOWER := false/' BoardConfig.mk; #Disable WiPower
|
||||
fi;
|
||||
if [ -f device.mk ]; then
|
||||
#if [ -f device.mk ]; then
|
||||
#awk -i inplace '!/'$makes'/' device.mk; #Remove all shim references from device makefile FIXME: Deletes the entire makefile for some reason
|
||||
fi;
|
||||
if [ -f "${PWD##*/}".mk ]; then
|
||||
#fi;
|
||||
#if [ -f "${PWD##*/}".mk ]; then
|
||||
#awk -i inplace '!/'$makes'/' "${PWD##*/}".mk; #Remove all shim references from device makefile FIXME: Deletes the entire makefile for some reason
|
||||
fi;
|
||||
#fi;
|
||||
if [ -f system.prop ]; then
|
||||
if ! grep -q "drm.service.enabled=false" system.prop; then echo "drm.service.enabled=false" >> system.prop; fi; #Disable DRM server
|
||||
sed -i 's/persist.bt.enableAptXHD=true/persist.bt.enableAptXHD=false/' system.prop; #Disable aptX
|
||||
|
|
|
@ -147,6 +147,10 @@ patch -p1 < $patches"android_kernel_lge_bullhead/0002-MMC_Tweak.patch" #Improves
|
|||
|
||||
enter "kernel/motorola/msm8916"
|
||||
patch -p1 < $patches"android_kernel_motorola_msm8916/0001-Overclock.patch" #1.36Ghz -> 1.88Ghz =+ 2.07Ghz
|
||||
|
||||
enter "kernel/nextbit/msm8992"
|
||||
patch -p1 < $patches"android_kernel_nextbit_msm8992/0001-OverUnderClock.patch" #a57: 1.82Ghz -> 2.01Ghz, a53 1.44Ghz -> 1.63Ghz, 384Mhz -> 300Mhz =+1.14Ghz TODO: Enable by default
|
||||
patch -p1 < $patches"android_kernel_nextbit_msm8992/0002-MMC_Tweak.patch" #Improves MMC performance
|
||||
#
|
||||
#END OF DEVICE CHANGES
|
||||
#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue