diff --git a/BoardConfig-common.mk b/BoardConfig-common.mk index afbe85c5..5fb7a2a9 100644 --- a/BoardConfig-common.mk +++ b/BoardConfig-common.mk @@ -36,6 +36,8 @@ BOARD_KERNEL_CMDLINE += dyndbg=\"func alloc_contig_dump_pages +p\" BOARD_KERNEL_CMDLINE += earlycon=exynos4210,0x10A00000 console=ttySAC0,115200 androidboot.console=ttySAC0 printk.devkmsg=on BOARD_KERNEL_CMDLINE += cma_sysfs.experimental=Y BOARD_KERNEL_CMDLINE += cgroup_disable=memory +BOARD_KERNEL_CMDLINE += rcupdate.rcu_expedited=1 rcu_nocbs=all +BOARD_KERNEL_CMDLINE += stack_depot_disable=off page_pinner=on BOARD_BOOTCONFIG += androidboot.boot_devices=14700000.ufs TARGET_NO_BOOTLOADER := true diff --git a/conf/init.factory.rc b/conf/init.factory.rc index 409ab1a5..f218f3fd 100644 --- a/conf/init.factory.rc +++ b/conf/init.factory.rc @@ -16,4 +16,4 @@ on boot on property:sys.boot_completed=1 # Bump nnapi min clamp & add adbd to it for factory (b/222226268) write /sys/kernel/vendor_sched/nnapi_uclamp_min 512 - exec - system system -- /vendor/bin/factory/factory_post_boot + exec - root root -- /vendor/bin/factory/factory_post_boot diff --git a/conf/init.gs201.rc b/conf/init.gs201.rc index 5896a968..a7d4c341 100644 --- a/conf/init.gs201.rc +++ b/conf/init.gs201.rc @@ -945,3 +945,8 @@ on property:persist.vendor.softmaxfreq.cl1=* on property:persist.vendor.softmaxfreq.cl2=* write /sys/devices/platform/exynos-acme/freq_qos_max "6 ${persist.vendor.softmaxfreq.cl2}" + +# UFS +on property:ro.boot.mode=charger && property:init.svc.vendor.charger=running + # Enable UFS powersaving in Off Mode Charger + write /dev/sys/block/bootdevice/clkgate_enable 1 diff --git a/radio/config/Pixel_Default.cfg b/radio/config/Pixel_Default.cfg new file mode 100644 index 00000000..b1a83fde --- /dev/null +++ b/radio/config/Pixel_Default.cfg @@ -0,0 +1 @@ +Pixel_Default.nprf,Pixel_Default_metrics.xml \ No newline at end of file diff --git a/radio/config/Pixel_Default.nprf b/radio/config/Pixel_Default.nprf new file mode 100644 index 00000000..a44777e0 Binary files /dev/null and b/radio/config/Pixel_Default.nprf differ diff --git a/radio/config/Pixel_Default_metrics.xml b/radio/config/Pixel_Default_metrics.xml new file mode 100644 index 00000000..c678c513 --- /dev/null +++ b/radio/config/Pixel_Default_metrics.xml @@ -0,0 +1,191 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +