* BOARD_HAVE_BLUETOOTH is uneeded.
* BOARD_HAVE_BLUETOOTH_QCOM is only important if
you build libbt-vendor which we don't.
Change-Id: Ib0465b3c0d5138a70cee6a3c3d5f08dd7ce9aa57
Signed-off-by: pix106 <sbordenave@gmail.com>
[basamaryan: This is needed for Android U to fix RIL]
Signed-off-by: basamaryan <basam.aryan@gmail.com>
Change-Id: Ie3fa610f71077b4ee2af1b4d57bd0c30b34f30fa
Signed-off-by: pix106 <sbordenave@gmail.com>
Mount of tracefs in /sys/kernel/debug/tracing will fail when DEBUG_FS
is disabled. So, mount tracefs in /sys/kernel/tracing to still use all the
tracing abilities when CONFIG_DEBUG_FS is disabled
Change-Id: Ib37332c3f1108d7c4798717f0f009c891db72850
Signed-off-by: pix106 <sbordenave@gmail.com>
* That makes clang17 happy
* Fix:
device/xiaomi/violet/gps/android/utils/battery_listener.cpp:191:13: error: misleading indentation; statement is not part of the previous 'if' [-Werror,-Wmisleading-indentation]
auto r = mHealth->unlinkToDeath(this);
^
device/xiaomi/violet/gps/android/utils/battery_listener.cpp:189:9: note: previous statement is here
if (mHealth != NULL)
^
1 warning and 1 error generated.
Change-Id: I3be1e3de45ce184c9d3dbcede57a312375a91498
Signed-off-by: Nanhumly <admin@warbler.cc>
Signed-off-by: pix106 <sbordenave@gmail.com>
* As https://source.android.com/docs/security/features/encryption/file-based said emmc_optimized is a inlinecrypt flavor and can only be applied on emmc 5.2 device which has not been released yet
* Apparently Xiaomi 660 is launched with emmc 5.1 5 years ago and never met the 5.2 spec
* Now really enables inlinecrypt hardware by adding it in mnt_flags
* Use AOSP recommended inlinecrypt_optimized
* Use lazytime for reducing meaningless io
* Label metadata partition
(pix106) i use logdump partition for metadata, not cust
Signed-off-by: pix106 <sbordenave@gmail.com>
Sdcardfs in deprecated
Enable Project ID Quota support on userdata.
* These features enable wide inodes on userdata, which
is required for project ID quotas. Wide inodes can
only be set at MKFS time.
* This also enables casefolding, which is required for the
removal of SDCardFS.
Bug: 138321217
Test: Examine filesystem features for project quota and wide inodes.
Change-Id: I9c17cda2af34c6fbd73c2d90eb6b465f4939df67
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
Signed-off-by: pix106 <sbordenave@gmail.com>
* as c999a1a2b9d975610ffa359ba34cb27d016165cc has unlocked setupwizard rotation, auto rotation default as "on" is not meaningless now
Signed-off-by: pix106 <sbordenave@gmail.com>
* as rom with vendor_gms repo will set this as true and locks the orientation for setup
* that is not so good for tablet type device
* override this prop in vendor_init to make it always landscape available
Signed-off-by: pix106 <sbordenave@gmail.com>
* allowing any extra permission for "untrustred_app" domain is DANGER
* the "untrustred_app" domain rule should ONLY be defined by aosp
* kill all don't audit except getopt for untrusted_app. it's a tool to show which app are evil, let it show in audit logs
Signed-off-by: pix106 <sbordenave@gmail.com>
* We don't have the chre binary and MIUI also disabled it.
Change-Id: I57a95643c366f8b1ce1a8af5ff2ebbf9b29e316d
Signed-off-by: YumeMichi <do4suki@gmail.com>
Signed-off-by: Henrique Pereira <hlcpereira@pixelexperience.org>
Signed-off-by: snnbyyds <snnbyyds@gmail.com>
Signed-off-by: Immanuel Raj <iamimmanuelraj@gmail.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
* this won't cause zram not to work, but will cause dmesg spit a
"denied" warning
* removing swapon in "fs" scope following aosp instruction
* ref -> https://source.android.com/docs/core/perf/boot-times
Signed-off-by: pix106 <sbordenave@gmail.com>
* previously, these background cgroups running freely with uclamp unset
* now set the max cpu utility for these cgroups, following pixel tablet, but extended a bit as sdm660 is weaker