pipa: Support Bypass Charging

* Need ROM & Kernel Support
This commit is contained in:
Aryan Biswas
2025-08-08 08:18:48 +05:30
committed by gensis01
parent b54bbc6f8e
commit 230d4e6696
2 changed files with 5 additions and 1 deletions

View File

@@ -11,6 +11,10 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/full_base.mk)
# Inherit some common lineage stuff.
$(call inherit-product, vendor/lineage/config/common_full_tablet_wifionly.mk)
# Bypass Charging
BYPASS_CHARGE_SUPPORTED := true
# Inherit from pipa device
$(call inherit-product, device/xiaomi/pipa/device.mk)
@@ -21,7 +25,6 @@ $(call inherit-product, vendor/lineage-priv/keys/keys.mk)
MIST_BUILD_TYPE := OFFICIAL
MISTOS_MAINTAINER := Mufasa
WITH_GMS := true
TARGET_USES_PICO_GAPPS := true
PRODUCT_NO_CAMERA := false
TARGET_DISABLE_EPPE := true

1
sepolicy/vendor/init.te vendored Normal file
View File

@@ -0,0 +1 @@
allow init sysfs_battery_supply:file rw_file_perms;