Search…
BlissRom R Overlays

General Overlays

• Battery Health Overlay

1
Overlay Path: overlay/packages/apps/Settings/res/values/bliss_config.xml
2
Default status: Disabled
Copied!
This overlay is required to Enable battery health section.
1
<!-- Battery Health -->
2
<bool name="config_supportBatteryHealth">true</bool>
Copied!
This overlay is required to Enable battery charging cycle counts in battery page in setting app.
1
<!-- Battery Charging cycle counts -->
2
<bool name="config_showChargingCycles">true</bool>
Copied!
You will need to check your available kernel nodes before selecting them Note that nodes availability depends on kernel version
Example
1
<!-- Battery Health Info nodes -->
2
<string name="config_batDesCap">/sys/class/power_supply/bms/charge_full_design</string>
3
<string name="config_batCurCap">/sys/class/power_supply/bms/charge_now_raw</string>
4
<string name="config_batChargeCycle">/sys/class/power_supply/bms/cycle_count</string>
Copied!

• Charging Support Overlay

1
Overlay Path: overlay/frameworks/base/core/res/res/values/bliss_config.xml
2
Default status: Disabled
Copied!
- VOOC Charging ( If your device supports )
This overlay is required to Enable VOOC charging support.
1
<!-- Whether device has VOOC charging support -->
2
<bool name="config_hasVoocCharger">true</bool>
Copied!
- WARP Charging ( If your device supports )
This overlay is required to Enable Warp charging support.
1
<!-- Whether device has warp charging support -->
2
<bool name="config_hasWarpCharger">true</bool>
Copied!
- Dash Charging ( If your device supports )
This overlay is required to Enable Dash charging support.
1
<!-- Whether device has dash charging support -->
2
<bool name="config_hasDashCharger">true</bool>
Copied!

• Smart Charging

1
Overlay Path: overlay/packages/apps/Settings/res/values/bliss_config.xml
2
Default status: Disabled
Copied!
This overlay is required to make Smart Charging feature functioning.
1
<!-- Smart Charging -->
2
<bool name="config_supportSmartFeatures">true</bool>
Copied!
Example
1
<!-- Smart charge sysfs node and value for suspend/resume charging-->
2
<integer name="config_smartChargingBatteryLevel">80</integer>
3
<integer name="config_smartChargingBatteryResumeLevel">60</integer>
4
<string name="config_SmartChargingSysfsNode" translatable="false">/sys/class/power_supply/battery/charging_enabled</string>
5
<string name="config_SmartChargingSuspendValue" translatable="false">0</string>
6
<string name="config_SmartChargingResumeValue" translatable="false">1</string>
Copied!

• Live Display

1
Overlay Path: overlay/frameworks/base/core/res/res/values/bliss_config.xml
2
Default status: Disabled
Copied!
This overlay is required to make Live Display feature functioning.
1
<!-- Default state for LiveDisplay -->
2
<bool name="config_enableLiveDisplay">true</bool>
Copied!

• Multi usb controller overlay (ONLY FOR ASUS ROG DEVICES)

1
Overlay Path: overlay/frameworks/base/core/res/res/values/bliss_config.xml
2
Default status: Disabled
Copied!
Since all ROG devices have 2 usb ports. We can use both for mtp, not just as charger.
This overlay is required to add support for Multi USB Controller.
1
<!-- Switch USB controller on Asus ROG devices-->
2
<bool name="config_switchUsbController">true</bool>
Copied!

• High Aspect Ratio

1
Overlay Path: overlay/frameworks/base/core/res/res/values/config.xml
2
Default status: Disabled
Copied!
This overlay is required to make full screen apps function working properly
1
<!-- Define that we use a higher screen ratio (18:9) than standard (16:9) -->
2
<bool name="config_haveHigherAspectRatioScreen">true</bool>
Copied!

• Multi-colour LED

1
Overlay Path: overlay/frameworks/base/core/res/res/values/bliss_config.xml
2
Default status: Enabled
Copied!
This overlay is required to Enable Multi-coloured LED lights for supported devices.
For most of the Xiaomi devices, this must be set to 'false' as they have white-only LEDs.
1
<!-- Does the notification LED support multiple colors?
2
Used to decide if the user can change the colors -->
3
<bool name="config_multicolorled">false</bool>
Copied!

• Call Recording

This feature only works on AOSP Dialer and not on Google Dialer.
1
Overlay Path: overlay/packages/apps/Dialer/java/com/android/dialer/callrecord/res/values/config.xml
2
Default status: Disabled
Copied!
This overlay is required to Enable Call recording on AOSP Dialer's.
1
<!-- Enable Call recording -->
2
<bool name="call_recording_enabled">true</bool>
3
<integer name="call_recording_audio_source">4</integer>
Copied!
Call recording is illegal in some countries. Kindly refer to local laws before enabling this feature!!

FOD Specific Overlays

• FOD Support

1
Overlay Path: overlay/frameworks/base/core/res/res/values/bliss_config.xml
2
Default status: Disabled
Copied!
This overlay is required to Enable FOD Support. Required inorder for FOD to work.
1
<!-- Whether to show a custom view for FOD -->
2
<bool name="config_needCustomFODView">true</bool>
Copied!

• FOD Animations

For FOD Animation to work you need 2 things in your device tree source.
  • A Flag in bliss_codename.mk makefile in your respective device tree
  • An overlay to set Default FOD Pressed Color
Flag Required to build FOD Animation resources
1
TARGET_WANTS_FOD_ANIMATIONS := true
Copied!
To set Default FOD Pressed color
1
Overlay Path: overlay/frameworks/base/core/res/res/values/bliss_config.xml
2
Default status: Disabled
Copied!
This overlay is required to set Default FOD Pressed Color.
1
<!-- Default fod pressed color -->
2
<integer name="config_fod_pressed_color">1</integer>
Copied!

• Screen-Off FOD

1
Overlay Path: overlay/packages/apps/Settings/res/values/bliss_config.xml
2
Default status: Disabled
Copied!
This overlay is required to Enable Screen OFF FOD.
1
<!-- Screen off FOD -->
2
<bool name="config_supportScreenOffFod">true</bool>
Copied!
Last modified 3mo ago