3748 Commits

Author SHA1 Message Date
Mohammad Kibria
48835f9c46 violet: Disable unwanted services 2024-07-11 23:00:24 +06:00
Mohammad Kibria
a5bdb1c621 violet: Reduce boot time 2024-07-11 22:59:00 +06:00
Albert I
50f4e2cd00 violet: Inherit several Android Go configurations
Beneficial for everyone, even on non-Go devices.

Change-Id: I088fd00500ce10df5f413cb762aaed2ec00f5dfc
Signed-off-by: romgharti <romgharti@gmail.com>
2024-07-11 15:19:18 +02:00
Mathieu Chartier
61733b276c violet: Speed profile services and wifi-service to reduce RAM and storage
Change-Id: I1d907b24cb2760ddd9cc65ac4335730c8e61a0a3
Signed-off-by: romgharti <romgharti@gmail.com>
2024-07-11 15:19:15 +02:00
ExactExampl
4e38f3201b violet: default to 64 bit only build
* Build OMX and libavservices_minijail explicitly, since the OMX is disabled in 64 bit only config
2024-07-11 15:18:02 +02:00
chematelegram
b9f91919e2 violet: Add fastcharge in the device FCM 2024-07-10 19:55:30 +02:00
ghostrider-reborn
e69e091692 violet: overlay: Define OEM fast charge sysfs node 2024-07-10 19:55:30 +02:00
kamikaonashi
470af8b8cf violet: rootdir: Give permission to restricht_chg
Co-Authored-By: Tofu <ralph950412@gmail.com>
Signed-off-by: kibria5 <mdkibria687@gmail.com>
2024-07-10 19:55:30 +02:00
FlowerSea0208
cc8110b72c violet: rootdir: Add init.xiaomi.rc
Signed-off-by: kibria5 <mdkibria687@gmail.com>
2024-07-10 19:55:30 +02:00
johnmart19
6cdec39642 violet: sepolicy: Provide fastcharge needed permissions
Signed-off-by: NotZeetaa <rodrigo2005contente@gmail.com>
Signed-off-by: kibria5 <mdkibria687@gmail.com>
2024-07-10 19:55:30 +02:00
johnmart19
7fb35b3d31 violet: sepolicy: Label fastcharge more general
Signed-off-by: NotZeetaa <rodrigo2005contente@gmail.com>
Signed-off-by: kibria5 <mdkibria687@gmail.com>
2024-07-10 19:55:30 +02:00
althafvly
029da70b07 violet: Build fastcharge implementation
Change-Id: I3e6994d2c2f419dc8ce98a060204fda3dd16df81
Signed-off-by: NotZeetaa <rodrigo2005contente@gmail.com>
Signed-off-by: kibria5 <mdkibria687@gmail.com>
2024-07-10 19:55:30 +02:00
Davide Garberi
64073d9081 violet: fastcharge: Migrate to blueprint
Change-Id: I200fd6c685183c98f0815b207adae5aa75a37238
Signed-off-by: NotZeetaa <rodrigo2005contente@gmail.com>
Signed-off-by: kibria5 <mdkibria687@gmail.com>
2024-07-10 19:55:30 +02:00
Bruno Martins
b7e7dc4e68 violet: fastcharge: Use pragma once
Change-Id: I9a9e193a6f66f045f41394d059af8b71778e8d72
Signed-off-by: NotZeetaa <rodrigo2005contente@gmail.com>
Signed-off-by: kibria5 <mdkibria687@gmail.com>
2024-07-10 19:55:30 +02:00
Bruno Martins
64c5b4da66 violet: fastcharge: Make user setting persistent
Change-Id: I4ff051d6f9685e94022eab32035bfe86a65264b8
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
Signed-off-by: NotZeetaa <rodrigo2005contente@gmail.com>
Signed-off-by: kibria5 <mdkibria687@gmail.com>
2024-07-10 19:55:30 +02:00
Francescodario Cuzzocrea
99bfad4883 violet: Add fastcharge implementation
* Disabling fast charge may be useful for reducing the heat produced by the device while charging, or for extending the lifespan of the battery

 * This commit introduces the fastcharge HIDL, which writes in the node

              /sys/class/qcom-battery/restrict_chg

   0 or 1 depeding on user selection.
   0 means that fastcharge is enabled, while 1 means that fastcharge is
     disabled

Change-Id: I369ba9c437b3a83a88c2ce74d603b7d7ddd9cfbb
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
Signed-off-by: althafvly <althafvly@gmail.com>
Signed-off-by: NotZeetaa <rodrigo2005contente@gmail.com>
Signed-off-by: kibria5 <mdkibria687@gmail.com>
2024-07-10 19:55:30 +02:00
Onkar Singh
09a9b43cf6 violet: props: For smoother scrolling and better responsiveness
Signed-off-by: afterallafk <shivamatiet2001@gmail.com>
2024-07-10 19:55:30 +02:00
afterallafk
e2efbc1897 violet: Set CPU governer as performance
Signed-off-by: afterallafk <shivamatiet2001@gmail.com>
2024-07-09 21:38:20 +02:00
afterallafk
0184540f02 violet: Improve surfaceflinger
Signed-off-by: afterallafk <shivamatiet2001@gmail.com>
2024-07-09 05:58:07 +02:00
afterallafk
eefe39a80f violet: Improve I/O scheduler
Signed-off-by: afterallafk <shivamatiet2001@gmail.com>
Signed-off-by: omnitrix21 <okand7946@gmail.com>
2024-07-09 05:58:07 +02:00
ghostrider-reborn
e225171f03 violet:overlay: Increase max fling velocity
Allow scrolling faster, corresponding to our reduced scroll friction.

Change-Id: Iefdca56f18a6b5f4e9db578a0b4b3133b8b13c80
2024-07-07 11:38:23 +02:00
AspectPower
2bc9ee5387 violet: overlay: Tune up statusbar start padding 2024-07-07 11:36:46 +02:00
Ivan Vecera
5147ad1051 violet: Set TARGET_USES_YCRCB_VENUS_CAMERA_ENCODE
Fixes red & blue colors swapped in DeviceAsWebcam.

Change-Id: I0dcfe6d354674dd5b374d73e64cd0dac2a1aae36
Signed-off-by: adi8900 <adrianszymanski242@gmail.com>
2024-07-05 11:22:08 +02:00
Aaron Kling
3005a3bd8a violet: Remove software omx codec references
These are no longer available as of Android 14 QPR3. The C2 codecs
available by default in the swcodec apex will be used instead.

Change-Id: I8cdf3e700823779a7382c66c3df8410d41209b7c
Signed-off-by: adi8900 <adrianszymanski242@gmail.com>
2024-07-05 11:20:37 +02:00
John Galt
2abdb8bd5e sm6150-common: overlay/DeviceAsWebcam: set HQ mode as default 2024-07-05 11:08:23 +02:00
Yumi Yukimura
90a13fef7d violet: Switch to common QTI USB init scripts
Change-Id: I475ad6fb6991e2cc5580e2dcc57aa3bebb3682a4
Signed-off-by: adi8900 <adrianszymanski242@gmail.com>
2024-07-05 07:51:11 +02:00
Yumi Yukimura
d8e995f475 violet: Migrate to QTI USB Gadget 1.2 HIDL
Change-Id: I6adbca2fab9a3fe0477d17f9786166828b786710
Signed-off-by: adi8900 <adrianszymanski242@gmail.com>
2024-07-05 07:50:08 +02:00
Yumi Yukimura
a1882fdf94 violet: Move usage of USB MTP/PTP functionality with USB F_FS driver
* `vendor/qcom/opensource/usb/vendor_product.mk` enables it for
  kernel 4.9~4.19, and we're on kernel 4.14 now

Change-Id: I7bc8153b4016ab804d4e385ece5808f187a87886
Signed-off-by: adi8900 <adrianszymanski242@gmail.com>
2024-07-05 07:50:08 +02:00
Yumi Yukimura
081e628e6e violet: Setup DeviceAsWebcam
Change-Id: Icf8e10cd21c4eef9a66af624971ffe9c4d39d992
Signed-off-by: adi8900 <adrianszymanski242@gmail.com>
2024-07-05 07:50:08 +02:00
srfarias
b7d94e5565 violet: overlay: Make the UI smoother
Signed-off-by: kibria5 <mdkibria687@gmail.com>
2024-07-04 07:39:43 +00:00
John Galt
645cd49458 violet: overlay: Pin adreno stack
* Based on
* 6a0f1946a7/overlay/AOSPAFrameworksOverlay/res/values/config.xml (L18)

Signed-off-by: kibria5 <mdkibria687@gmail.com>
2024-07-04 05:57:27 +00:00
TH779
87fa345533 violet: Declare OpenGL ES dEQP level
Signed-off-by: TH779 <i@779.moe>
Change-Id: Ia3a840b993c646ce1b017f4f55aef94d13040266
2024-07-04 05:57:12 +00:00
Gustavo Mendes
704ab9caa7 violet: Update Graphics blobs to 530.54
- OpenGL ES 3.2 V@0530.54 (GIT@ee3f1da111, lele5aac4cc, 1704965855) (Date:01/11/24).

Signed-off-by: Gustavo Mendes <gusttavo.me@outlook.com>
2024-07-04 05:57:07 +00:00
Terminator-J
a0cf4ba63e violet: rootdir: Fix the battery drain due to statsd
Change-Id: I25ac318a96281fbf5d1bbeedb8243dc9f7958d7f
2024-07-04 05:56:38 +00:00
Nauval Rizky
51c35b6662 violet: rootdir: Register game libraries to sched_lib_name
These are known to access cpuinfo_max_freq and cpu_topology as well
just like libunity.so.
2024-07-04 05:56:04 +00:00
Andrzej Perczak
9a9bff4a3e violet: Import userdata tuning from oriole
Change-Id: I399933a6acd40c1b7f4eb90e8cfa381324107365
2024-07-04 05:55:53 +00:00
Mohammad Kibria
2de224aa19 violet: Drop cdsprpcd
*Spaming a lot in logcat
2024-07-02 08:17:41 +00:00
Omkar Chandorkar
8f67112225 violet: overlay: CarrierConfig: Update to LA.QSSI.14.0.r1-12000-qssi.0
Change-Id: I34cae8387f57c0818995c7caf03d42c85d20448a
Signed-off-by: Omkar Chandorkar <gotenksIN@aospa.co>
2024-07-02 08:16:50 +00:00
Kunmun
c0a839e3f0 violet: overlay: CarrierConfig: Update to LA.QSSI.14.0.r1-10000.01
Change-Id: I389072ceae5ddacbc3946aad6c627c72b4c9f6f5
2024-07-02 08:16:50 +00:00
John Galt
e2fd8899c2 violet: Update Adreno to LA.UM.9.14.r1-21000-LAHAINA.QSSI13.0
V@0530.47 (GIT@eaa701cd06, I183f6321f0, 166871261) (Date:10/27/22)

TEST: a PIP glitch is resolved, grid autosport still launches

Signed-off-by: Niranjan BR <niranjankannan2003@gmail.com>
2024-07-02 08:16:22 +00:00
Mohammad Kibria
f67c6c70a3 violet: Update system blobs to LA.QSSI.14.0.r1-15100-qssi.0 2024-07-02 08:16:15 +00:00
ZVNexus
6a7c28e36c violet: props: Enable Qualcomm TrueWireless™ Stereo audio
* Enable/Disable TWS plus feature support using persist property - persist.vendor.btstack.enable.twsplus

* TWS plus feature is supported only if property is set to True else feature is not supported.By default property is set to False.

Signed-off-by: kibria5 <mdkibria687@gmail.com>
2024-07-02 08:11:24 +00:00
ccfries
6efbda72bf violet: Set VENDOR_SECURITY_PATCH To PLATFORM
Set the VENDOR_SECURITY_PATCH level to match the platform security patch level.
These are functionally the same.

Signed-off-by: kibria5 <mdkibria687@gmail.com>
2024-07-02 06:58:31 +00:00
ZeeLog
9b7b29fd6f violet: enable wpa3 security feature for hotspot 2024-07-02 06:41:29 +00:00
ZeeLog
d8e36ec186 violet: Enable WPA2 to WPA3 auto-upgrade
Test: connect with wpa3 security enabled wlan
      verify security on connected SSID
2024-07-02 06:41:29 +00:00
Nate Jiang
d7dac0f8a5 violet: WifiOverlay: Enable set channel on NDP setup
Bug: 190354626
Test: build, CtsVerifier
Change-Id: Ieff18b96ec0f24c1c20c40add4e47a532ece8922
Signed-off-by: adi8900 <adrianszymanski242@gmail.com>
2024-07-02 06:41:29 +00:00
Les Lee
c8cc401045 violet: wifi: Configure correct overlay configuration.
ag/16564596 will change default value to false.
Configure correct overlay configuration.

Bug: 212488775
Test: manual test & build
Change-Id: Iaf1a0a23dae69fde5995e591a757a8ef5374d5b5
Signed-off-by: Mohammad Hasan Keramat J <ikeramat@protonmail.com>
Signed-off-by: Coptan99 <omarcoptan9@gmail.com>
Signed-off-by: kibria5 <mdkibria687@gmail.com>
2024-07-02 06:41:29 +00:00
clarencelol
03f153c5c5 violet: properties: Disable blurs
* We are too old for this

Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: kibria5 <mdkibria687@gmail.com>
2024-07-02 06:41:29 +00:00
Shubham Das
69070447e1 violet: overlay: Increase more minimum brightness level
* 1/255 is too low so, set it to 2/255 in float value
* This will fix low-brightness flicker too , i think... ;-)

Change-Id: I17eafcb13d9b65094135d93cb4373ac032471703

Signed-off-by: K A R T H I K <karthik.lal558@gmail.com>
Signed-off-by: kibria5 <mdkibria687@gmail.com>
2024-07-02 06:41:29 +00:00
Pranav Vashi
6c3ce42989 violet: Switch to jemalloc for libc
* Benchmark shows improvement.

Signed-off-by: kibria5 <mdkibria687@gmail.com>
2024-07-02 06:41:29 +00:00