* Adds selection for Samsung OLED panel modes. Change-Id: Ifd90e764deb8b481b81c04911e8680a4bb577ac6
31 lines
1.1 KiB
Plaintext
31 lines
1.1 KiB
Plaintext
# Copyright (C) 2019 The LineageOS Project
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
import /vendor/etc/init/hw/init.tegra.rc
|
|
import /vendor/etc/init/hw/init.t210.rc
|
|
import /vendor/etc/init/hw/init.loki_foster_e_common.rc
|
|
import /vendor/etc/init/hw/init.${ro.boot.hardware.sku}.rc
|
|
|
|
on init
|
|
setprop ro.surface_flinger.primary_display_orientation ORIENTATION_270
|
|
setprop ro.boot.secureos none
|
|
|
|
on fs
|
|
mount_all /vendor/etc/fstab.nx
|
|
swapon_all /vendor/etc/fstab.nx
|
|
|
|
on boot
|
|
write /sys/devices/system/cpu/cpufreq/schedutil/up_rate_limit_us 500
|
|
write /sys/module/input_cfboost/parameters/boost_gpu 460800
|