Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7d8466c1 authored by Daniel Jacob Chittoor's avatar Daniel Jacob Chittoor
Browse files

DNM

* This is a kanged alpha array, it does not work well
parent 4e4898b1
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -54,6 +54,7 @@ BOARD_KERNEL_OFFSET := 0x00008000
BOARD_RAMDISK_OFFSET := 0x26f08000
BOARD_KERNEL_CMDLINE := bootopt=64S3,32N2,64N2
BOARD_BOOTCONFIG += androidboot.init_fatal_reboot_target=recovery
BOARD_BOOTCONFIG += androidboot.selinux=permissive
BOARD_KERNEL_PAGESIZE := 4096
BOARD_DTB_OFFSET := 0x1BF8040
BOARD_INCLUDE_DTB_IN_BOOTIMG := true
+4 −1
Original line number Diff line number Diff line
<resources>
    <!-- Whether to show Smooth Display feature in Settings Options -->
	<bool name="config_show_smooth_display">true</bool>

    <!-- The radius of the enrollment progress bar, in dp -->
	    <integer name="config_udfpsEnrollProgressBar" translatable="false">100</integer>
</resources>
+36 −0
Original line number Diff line number Diff line
@@ -19,4 +19,40 @@
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
    <!-- Doze: does this device support STATE_DOZE?  -->
    <bool name="doze_display_state_supported">true</bool>

    <!-- Whether to enable framework dimming for UDFPS -->
    <bool name="config_udfpsFrameworkDimming">true</bool>

    <!-- Array of brightness-alpha lut for framework dimming -->
    <string-array name="config_udfpsDimmingBrightnessAlphaArray" translatable="false">
        <item>0,231</item>
        <item>14,231</item>
        <item>28,228</item>
        <item>41,225</item>
        <item>55,221</item>
        <item>68,217</item>
        <item>96,212</item>
        <item>110,209</item>
        <item>124,206</item>
        <item>137,203</item>
        <item>152,201</item>
        <item>165,199</item>
        <item>179,195</item>
        <item>192,194</item>
        <item>206,193</item>
        <item>219,191</item>
        <item>234,190</item>
        <item>248,190</item>
        <item>261,188</item>
        <item>275,187</item>
        <item>496,170</item>
        <item>703,160</item>
        <item>1667,107</item>
        <item>2177,98</item>
        <item>2646,83</item>
        <item>3515,68</item>
    </string-array>

    <string name="config_udfpsDisplayModeProviderComponent">com.android.systemui.biometrics.TetrisUdfpsDisplayModeProvider</string>

</resources>
+3 −0
Original line number Diff line number Diff line
@@ -1115,6 +1115,9 @@ on boot
    chmod 770 /proc/nt_value_check/value_check_node
    chown system system /proc/nt_value_check/value_check_node

    chmod 666 /sys/devices/platform/soc/1401a000.dsi0/hbm
    chmod 666 /sys/panel_feature/ui_status

    # Disable serial console
    stop console