Commit Graph

279 Commits

Author SHA1 Message Date
gensis01
a7d8a1a6b8 Revert "pipa: Rename prebuilt audio HAL and libs"
This reverts commit 4b24a41b01.
2025-08-18 14:23:08 +00:00
gensis01
f3be3f3051 pip:MistOS Bringup 2025-08-18 07:00:00 +00:00
Sudeep
f96761b415 pipa: Remove nv_mac
Already present in common tree.
2025-08-16 12:00:00 +00:00
gensis01
d4b2032a04 Revert "alioth: Move ACDB calibration files to Tutu"
This reverts commit 9e6869e3e5.
2025-08-14 12:00:00 +00:00
Sudeep
87813da29d pipa:vendorsetup: Update repos 2025-08-14 12:00:00 +00:00
Michael Bestas
25b6123862 pipa: peripheralmanager: Convert to SwitchPreferenceCompat
Change-Id: Ic1cbaba37d499da1855af9c3930f2df426e2d3af
2025-08-14 12:00:00 +00:00
AdarshGrewal
ec4bb6a8c7 pipa: peripheralmanager: Move stylus settings to display 2025-08-12 12:00:00 +00:00
AdarshGrewal
9070df88de pipa: peripheralmanager: Split refresh rate handling from force stylus
* lets just make sylus mode a thing which for 120hz for it to work
2025-08-12 12:00:00 +00:00
CuriousNom
8d704d3082 pipa: peripheralmanager: Revert many keyboard/pen changes
* will be reimplemented later.
2025-08-12 12:00:00 +00:00
Sudeep
e6f8ec7329 pipa:readme:Adding device configurtion 2025-07-27 12:00:00 +00:00
gensis01
8efe344010 pipa: Update repos for A16 2025-07-27 12:00:00 +00:00
glitch-wraith
4d2f25b23e Revert "pipa: Rename prebuilt audio HAL and libs"
This reverts commit 4b24a41b01.
2025-07-17 12:00:00 +00:00
CuriousNom
010f16432b pipa: sepolicy: Set data_file_type for xiaomi_keyboard_conf_file under /data/vendor
Label xiaomi_keyboard_conf_file with data_file_type and place it under
/data/vendor to comply with SELinux policy requirements.

This avoids the use of core_data_file_type, which is restricted to core
domains, and ensures compatibility with sepolicy_test and neverallow rules.

Test: sepolicy_test and neverallow checks pass
2025-07-17 12:00:00 +00:00
Fabian Leutenegger
ec160952a5 pipa: overlay: Allow lockscreen lockscreen rotation
Change-Id: Ib5d23607f661896c306fd2a054393720f726ac98
2025-07-17 12:00:00 +00:00
Tobias Merkel
a5d6a2f993 pipa: overlay: Allow all rotations
Change-Id: Ie6b48005cd410267f6b547d43f3141d1381930f6
2025-06-17 12:00:00 +00:00
Roman Lubij
af04be6e03 pipa: peripheralmanager: implement a switch for toggling the smart cover 2025-06-17 12:00:00 +00:00
Roman Lubij
93c69a9ac4 pipa: peripheralmanager: set angle detection to false by default
- The whole thing is useful for like 2 pipa owners with the official keyboard, so it's better to keep it opt-in by default
2025-06-17 12:00:00 +00:00
Roman Lubij
5c2546b3a8 pipa: address SELinux issues with peripheralmanager, xiaomikeyboard 2025-06-17 12:00:00 +00:00
Roman Lubij
cb92741ec1 pipa: peripheralmanager: Implement a toggle for kb angle detection 2025-08-18 13:15:26 +00:00
Roman Lubij
5626759888 pipa: peripheralmanager: removed configuration loading logic
it is useless, and a selinux nightmare
2025-08-18 13:15:26 +00:00
Roman Lubij
023c62aa3c pipa: peripheralmanaher: Bump xiaomi-keyboard to 1.1.0
- Angle detection handling improved (WAY less CPU time required)
- misc improvements
2025-08-18 13:15:26 +00:00
Roman Lubij
ee61cb73aa pipa: peripheralmanaher: improve watchdog stuck logic 2025-08-18 13:15:26 +00:00
Roman Lubij
12a554bf3b (DNM) pipa: peripheralmanager: some optimisations
- Use SIMD math where possible
- Make the kb accel thread sleep for longer
2025-08-18 13:15:26 +00:00
Roman Lubij
946ee66c69 (DNM) pipa: peripheralmanager: Reimplement angle detection
Thanks luka177 for the code for retrieving the accelerometer data from the KB. This is mostly WIP overall, but it does seem to work *okay*.
2025-08-18 13:15:26 +00:00
Roman Lubij
f86f874c61 xiaomi-keyboard: Improve the watchdog
We should no longer be getting a logspam of the watchdog thread being stuck for over 50 years
2025-08-18 13:15:26 +00:00
Pranshu Sheoran
3e7d75fcfe pipa: vendorsetup: update repo links and function. 2025-08-18 13:15:26 +00:00
Aryan Biswas
1d93b770b4 pipa: Moved nvram binary from ct 2025-07-29 15:51:22 +00:00
Tim Zimmermann
93c875bce3 pipa: Enable support for freeform windows and picture-in-picture
Change-Id: If0a63fc7e8455100128fa25955bb4da485fff873
2025-07-29 15:51:22 +00:00
Sugakesshaa
6286bc61f1 pipa: overlay: Set config_defaultPeakRefreshRate to 144
Change-Id: I7deb1c14df98c966fbf8d5951019e8a92a818962
2025-07-29 15:51:22 +00:00
Pranshu Sheoran
20684b72ce pipa: set target boot animation resolution 2025-07-29 15:51:22 +00:00
Abdulwahab Isam
02b7280407 [DNM][TMP] pipa: keybaord watchdog test
Change-Id: I576664b053ca49cb9ef5fcbf635b5e6edda402a7
Signed-off-by: Abdulwahab Isam <abdoi94.iq@gmail.com>
2025-04-28 18:41:48 +03:00
Abdulwahab Isam
c5b84f155e Revert "pipa: Import QDCM display calibration from hentaiOS"
This reverts commit 13273879b3.
2025-04-25 21:33:51 +00:00
Abdulwahab Isam
9227221f82 pipa: drop LOS prebuilts
Signed-off-by: Abdulwahab Isam <abdoi94.iq@gmail.com>
2025-04-22 08:27:25 +00:00
Abdulwahab Isam
243ecb6140 pipa: enable updater again
Signed-off-by: Abdulwahab Isam <abdoi94.iq@gmail.com>
2025-04-22 08:26:34 +00:00
Abdulwahab Isam
020aa5ccd8 pipa: update firmware and blobs from OS2.0.3.0.UMZMIXM
Signed-off-by: Abdulwahab Isam <abdoi94.iq@gmail.com>
2025-04-12 20:40:43 +03:00
Abdulwahab Isam
20f913278b pipa: Add support for bypass charging
check for refernce
e81ac1d1b0
12f550e062

Signed-off-by: Abdulwahab Isam <abdoi94.iq@gmail.com>
2025-04-11 14:06:51 +03:00
Abdulwahab Isam
2d63ae597b pipa: remove updater
Change-Id: Ib5cf9b0442754c1959de0b904003551c04bf4e69
Signed-off-by: Abdulwahab Isam <abdoi94.iq@gmail.com>
2025-04-07 05:52:57 +03:00
Abdulwahab Isam
a092388bed pipa: ship LOS apps
Signed-off-by: Abdulwahab Isam <abdoi94.iq@gmail.com>
2025-04-04 08:01:57 +03:00
Abdulwahab Isam
0a64bc699f pipa: extract-files: fixes and add common-only function
Signed-off-by: Abdulwahab Isam <abdoi94.iq@gmail.com>
2025-04-03 07:25:51 +03:00
Abdulwahab Isam
e58955d62e pipa: PeripheralManager: disable keyboard when device is locked
Change-Id: If28600c72be57fc36ef4a871d69e67f05d7e0b7e
Signed-off-by: Abdulwahab Isam <abdoi94.iq@gmail.com>
2025-04-03 07:25:38 +03:00
Abdulwahab Isam
067e6bbc2f pipa: vendorsetup: clean up and add fw check
Signed-off-by: Abdulwahab Isam <abdoi94.iq@gmail.com>
2025-04-01 05:50:19 +03:00
Abdulwahab Isam
ed9f1e4699 pipa: vendorsetup: remove notification split patch
Signed-off-by: Abdulwahab Isam <abdoi94.iq@gmail.com>
2025-03-31 23:17:09 +03:00
Abdulwahab Isam
bc816dd128 pipa: add script to extract firmware
payload-dumper the ROM and point it to exctracted folder

Signed-off-by: Abdulwahab Isam <abdoi94.iq@gmail.com>
2025-03-31 21:26:33 +03:00
LuK1337
5f8bd99b81 pipa: Switch to py extract utils
Signed-off-by: Abdulwahab Isam <abdoi94.iq@gmail.com>
2025-03-31 21:26:31 +03:00
Abdulwahab Isam
2ecf7ca01e pipa: vendorsetup: add firmware extract function
Signed-off-by: Abdulwahab Isam <abdoi94.iq@gmail.com>
2025-03-31 08:35:07 +03:00
Michael Bestas
a61a07371b pipa: Add firmware extraction support
Change-Id: If6cb6334a8f7b2fcc77c8947569eba1b2002190a
2025-03-31 07:05:59 +03:00
Abdulwahab Isam
0f4b246d63 pipa: vendorsetup: switch sm8250-common branches
Signed-off-by: Abdulwahab Isam <abdoi94.iq@gmail.com>
2025-03-30 00:46:36 +03:00
Abdulwahab Isam
3f8e4e31ab pipa: vendorsetup: switch common branches
Signed-off-by: Abdulwahab Isam <abdoi94.iq@gmail.com>
2025-03-29 20:35:40 +03:00
Abdulwahab Isam
6bcd4574f5 pipa: clean up for official builds
Signed-off-by: Abdulwahab Isam <abdoi94.iq@gmail.com>
2025-03-27 04:34:21 +03:00
Abdulwahab Isam
1bd780c5ee pipa: enhance xiaomi-pen utility with error handling
- Update copyright year to 2023-2025
- Add version information
- Implement proper error handling for device operations
- Add status output for better diagnostics
- Add comments for improved readability
- Return appropriate error codes on failure

Signed-off-by: Abdulwahab Isam <abdoi94.iq@gmail.com>
2025-03-24 06:02:32 +03:00