* 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
* when duration = 3000, it may be too short for a app to complete the launch process
* follows pixel tablet launch boost value(5000) and extend to 6000 as sdm660 can't follow up gs201 speed
* this value is only working on the "first cold start" for an app, so make it larger is not affecting the whole battery life but just speed up the launch process
Signed-off-by: pix106 <sbordenave@gmail.com>
* also adjust and added Chinese(Traditional) language by self
* big thanks to all my users
* alphabetical order below
* EL(Greek) ES(Spanish) IT(Italian) JA(Japan) RU(Russian)
Co-authored-by: Graviphone <gravi@loungestudio.com>
Co-authored-by: hackruu <hackru@gmail.com>
Co-authored-by: kamvrosidis <amkirk94@yahoo.gr>
Co-authored-by: Maximilian Swag
Co-authored-by: SBWater <136105193+sbsoda@users.noreply.github.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
* settings page located in Settings -> Battery
* soc-based step charger, jeita thermal charger switch (also done something in kernel)
* add a mode for user always connected with chagrging cable to limit battery around 40% - 60%
* add a switch for user to limit max charge at around 80%
Signed-off-by: pix106 <sbordenave@gmail.com>
* implemented volume panel trigger in QS
* we may need to implement some extra function like multiwindow
* the seapp_context may need a diffrent entity from DeviceSettings to avoid neverallow
Signed-off-by: pix106 <sbordenave@gmail.com>
Wlan driver is compiled from kernel. Not only the module is non-existent
but also it's unnecessary and causes insmod failure. So, don't do it.
Signed-off-by: Tashfin Shakeer Rhythm <tashfinshakeerrhythm@gmail.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
init.qti.can.sh doesn't exist. So, executing the non-existent bash
scripts only results in failure. Don't do it.
Signed-off-by: Tashfin Shakeer Rhythm <tashfinshakeerrhythm@gmail.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
shmbus doesn't exist for us. Removing a non-existent file/folder only
causes the command to fail and spam the dmesg.
Signed-off-by: Tashfin Shakeer Rhythm <tashfinshakeerrhythm@gmail.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
"bg" seems to be "background" after examining the path using a root
explorer. "blkio.weight" is non-existent. So, remove it.
Signed-off-by: Tashfin Shakeer Rhythm <tashfinshakeerrhythm@gmail.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
* 0605 build lib is same file as 0805 felix/cheetah
Bug: 260779305
Test: manual test
Change-Id: Ifbcee9faebb7607ec08db947e69d1d2d31d9eaab
Signed-off-by: Jasmine Cha <chajasmine@google.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
While implementing the capo nanoapp for audio configuration, we met
some chre socket connected error due to the access group denied.
Add context_hub group for audio hal to connect chre socket.
go/capo-algo
Bug: 141128522
Bug: 149069556
Test: FULL build with audio hal part and local prebuilts nanoapp.
Test: Audio HAL communicates normally with CHRE socket.
Change-Id: Iea84411682f4c3e08f8b37a5b21818b0e9b04983
Signed-off-by: pix106 <sbordenave@gmail.com>