mirror of
https://github.com/S3NEO/android_device_samsung_msm8226-common.git
synced 2024-11-06 21:55:45 +00:00
Revert "klte-common: HAXX: "Fix" race condition in init"
* It seems that this old "fix" for G900V RIL actually makes the Q "opengapps issue", normally only evident in encrypted legacy devices with secure startup, more pronounced. In such devices, your ability to progress beyond the boot animation to an actual homescreen after entering an unlock PIN is completely at chance, but with much better chances after an update (dexopting, maybe?). Only with this HAXX in place, the issue happens with unencrypted devices. * A nice side effect will be that all klte* devices will boot much faster. * The root cause of this is some kind of timeout, but the logs are seemingly worthless. This reverts commit 31509201c1dc83cb4db5aa759f042459e87878b4. Change-Id: Iaf2a19a3ab7f8f8cf2f0add1bd6e3b87d06310a7
This commit is contained in:
parent
b8c35dc703
commit
3f083f4311
1 changed files with 11 additions and 11 deletions
|
@ -62,17 +62,6 @@ on init
|
|||
# disable thermal core_control to update governor settings
|
||||
write /sys/module/msm_thermal/core_control/enabled 0
|
||||
|
||||
# Bring all CPUs online, and set node permissions
|
||||
write /sys/devices/system/cpu/cpu1/online 1
|
||||
write /sys/devices/system/cpu/cpu2/online 1
|
||||
write /sys/devices/system/cpu/cpu3/online 1
|
||||
chmod 664 /sys/devices/system/cpu/cpu1/online
|
||||
chmod 664 /sys/devices/system/cpu/cpu2/online
|
||||
chmod 664 /sys/devices/system/cpu/cpu3/online
|
||||
chown root system /sys/devices/system/cpu/cpu1/online
|
||||
chown root system /sys/devices/system/cpu/cpu2/online
|
||||
chown root system /sys/devices/system/cpu/cpu3/online
|
||||
|
||||
# Switch to interactive gonvernor and configure it
|
||||
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor interactive
|
||||
write /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor interactive
|
||||
|
@ -91,6 +80,17 @@ on init
|
|||
write /sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq 787200
|
||||
write /sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq 787200
|
||||
|
||||
# Bring all CPUs online, and set node permissions
|
||||
write /sys/devices/system/cpu/cpu1/online 1
|
||||
write /sys/devices/system/cpu/cpu2/online 1
|
||||
write /sys/devices/system/cpu/cpu3/online 1
|
||||
chmod 664 /sys/devices/system/cpu/cpu1/online
|
||||
chmod 664 /sys/devices/system/cpu/cpu2/online
|
||||
chmod 664 /sys/devices/system/cpu/cpu3/online
|
||||
chown root system /sys/devices/system/cpu/cpu1/online
|
||||
chown root system /sys/devices/system/cpu/cpu2/online
|
||||
chown root system /sys/devices/system/cpu/cpu3/online
|
||||
|
||||
# enable thermal core_control now
|
||||
write /sys/module/msm_thermal/core_control/enabled 1
|
||||
|
||||
|
|
Loading…
Reference in a new issue