Commit graph

800 commits

Author SHA1 Message Date
roynatech2544
f35f7010ff universal7885: parts: Set priority when mounting
* Also increase swappniess back, implment apply on boot
2022-04-19 11:51:24 +09:00
Soo-Hwan Na
b6f9fa84e2 universal7885: parts: Swap: Append M 2022-04-19 11:51:24 +09:00
roynatech2544
f5d3e25c02 universal7885: parts: Implement swap on /data ctrl 2022-04-19 11:51:24 +09:00
roynatech2544
442aa11e81 universal7885: Format xml using xmlstarlet 2022-04-18 13:32:36 +09:00
Tim Zimmermann
a548cd8f0e
universal7885: Remove nfc repo from lineage.dependencies
* Now synced in AOSP manifest

Change-Id: I52a5ede791f10ba322980c9f2fd1cdcb7ecdafc5
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-04-16 10:29:29 +09:00
roynatech2544
516c1bd804
universal7885: Don't do findstring with TARGET_PRODUCT
* Use makefile flags instead...

Change-Id: Ic520154e8224fa59451a28dd117ee5f99cd46b10
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-04-16 10:05:02 +09:00
roynatech2544
e0b50575d2 universal7885: libinit: Cover vendor_dlkm. props too 2022-04-15 15:01:29 +09:00
roynatech2544
d0fdbc6489 universal7885: zram: Reduce size to 30% of physical RAM
The original 80% was too much, with that zram size, the idle RAM usage was around 75%. Now with 30%, the system boots fine and idle RAM usage has been decreased to around 55%. Also, reduce swappiness a bit
2022-04-15 14:59:25 +09:00
roynatech2544
2cfe74a022 universal7885: parts: Fix a minor mistake
* Also bring back custom styles xml
2022-04-15 12:41:33 +09:00
roynatech2544
9b2915e070 universal7885: xml: format using xmllint 2022-04-15 11:26:05 +09:00
roynatech2544
7d313f6d93 universal7885: parts: Inherit settingslib for main fragment
* Also, drop more custom resources
2022-04-15 10:53:00 +09:00
roynatech2544
208e4ab7fe universal7885: parts: Put selectable = false
They are not meant to be selected in the first place
2022-04-15 10:37:09 +09:00
Soo-Hwan Na
c19e235315
universal7885: parts: Use enum values
* For better readability
2022-04-15 10:21:59 +09:00
Tim Zimmermann
611d983e85 universal7885: usb: Add missing moisture detection
* CCIC=DRY is used if there's no more moisture detected

Change-Id: I48f2e34c027bb5967dade435f6e7840ad05c71c2
2022-04-15 10:00:57 +09:00
roynatech2544
3aff7935f2
universal7885: FMRadio: Remove from priv-apps
* Allow users to disable it if they don't want
2022-04-14 18:19:41 +09:00
roynatech2544
8cb0b6f5b2
Revert "universal7885: Don't include CameraLightSensor for now"
This reverts commit 8c71e00224.
2022-04-14 18:05:57 +09:00
roynatech2544
c813e0984a
universal7885: parts: Refactor battery fragment
* Show live data of battery

Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-04-14 18:02:41 +09:00
roynatech2544
419f6646a3 universal7885: parts: Follow Android 12 style
* Use more Settingslib classes and resource layouts

Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-04-14 14:33:28 +09:00
roynatech2544
723dfbec38
universal7885: debug_daemon: Rename to EKLogger
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-04-14 00:20:05 +09:00
roynatech2544
8845240e10
universal7885: Drop unused rro notch overlays 2022-04-13 18:34:15 +09:00
Soo-Hwan Na
6458328df5
universal7885: parts hidl: Improve readabilty 2022-04-13 18:29:31 +09:00
roynatech2544
7a9bbf0e14
universal7885: CameraLightSensor: Be more sensitive 2022-04-13 17:30:57 +09:00
roynatech2544
3c7ca85990
universal7885: Format Kotlin code using ktlint
* Also, refactor CameraLightSensor

Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-04-13 17:21:17 +09:00
roynatech2544
95d062a8b1
universal7885: parts: Use contains()
ro.product.device has e.g. derp_a20e
2022-04-12 20:20:08 +09:00
roynatech2544
d134ddaab3
universal7885: parts: Make SharedPreference instance lateinit
* Else crashes
2022-04-12 20:00:02 +09:00
roynatech2544
cd97190144
universal7885: parts: Load jni lib on apply on boot 2022-04-12 19:24:48 +09:00
roynatech2544
9432418ba0
universal7885: Minor cleanup with hidl aidl 2022-04-12 19:19:11 +09:00
roynatech2544
4a9ca4730c
universal7885: parts: Refactor
* Convert null properties to lateinit
* Implement apply on boot again
* Cleanup unused file
2022-04-12 19:18:01 +09:00
roynatech2544
cae95b3c27
universal7885: FMRadio: Drop unused permission
* Also drop privapp permissions
2022-04-12 18:28:07 +09:00
roynatech2544
006243af7c
universal7885: parts: Don't code every possible values
* Use static_cast<Enum class>(Value) instead
2022-04-12 18:19:01 +09:00
roynatech2544
cb072badd5
universal7885: format code using clang-format-15 2022-04-12 17:37:51 +09:00
roynatech2544
bfcbd0d355
universal7885: parts: Disable display settings on non-supported models
* Also, update copyright header
2022-04-12 17:09:57 +09:00
roynatech2544
15f84d5a7b
universal7885: parts: implement display controls
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-04-12 16:45:48 +09:00
roynatech2544
7bd40b3a4e universal7885: interfaces: Move to /vendor/bin
* Is not Android core hal, so moving it from /vendor/bin/hw
2022-04-12 13:06:57 +09:00
roynatech2544
7156ddca8f universal7885: parts: hidl: Make some changes
* Drop useless selinux and gpu
* Instead put display configs (DT2W, Glove mode)

Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-04-12 13:06:28 +09:00
kevios12
0164a22774
universal7885: vendorsetup: remove FMRadio
remove FMRadio. We have our own FMRadio and it will give u an error: "Multiple definiton"
2022-04-11 10:40:18 +02:00
kevios12
c90bfd800a
universal7885: don't build FMRadio for A40 and add universal7904-vendor back
due to vendor (audio) problems, the universal7904 vendor was included again and fm radio is not built for the a40 for this reason (routing, low quality problems)
2022-04-08 16:40:55 +02:00
Soo-Hwan Na
e065edd19b
universal7885: debugger: Use -b all
* More verbose logging
2022-04-07 16:57:09 +09:00
roynaetch2544
4e9fa53063
universal7885: vintf: Put empty compability matrix file 2022-04-07 16:42:20 +09:00
roynaetch2544
8e46e80dc7
universal7885: Drop custom pixel sysconfig
Already exists on many ROMs
2022-04-07 07:03:16 +09:00
roynaetch2544
55a45d1c9c
universa7885: Force override compability matrix
* Fixes 'Internal problem, please contact OEM' warning message on every boot
2022-04-07 06:58:56 +09:00
Soo-Hwan Na
3459f34b34
universal7885: vintf: Remove unused entry 2022-04-06 23:37:05 +09:00
Soo-Hwan Na
69206da15f
universal7885: parts: Address deprecation
* androidx.preference.PreferenceFragment -> androidx.preference.PreferenceFragmentCompat
2022-04-06 17:30:25 +09:00
kevios12
1972345bcc
universal7885: fp: Update to SP2A.220405.004 raven 2022-04-05 10:21:56 +02:00
Jyotiraditya
d003e2801b
universal7885: Enable config_avoidGfxAccel
- This flag turns off GPU/CPU intensive UI effects and
  reduces the RAM footprint.

- Using this is a better compromise than the 'low_ram' flag
  as this does not disable features in the rom but still
  reduces RAM usage and gives better smoothness in the UI.

[ roynatech2544 : RAM usage decreased by 15% with this prop on 3GB RAM
device ]

Signed-off-by: Chuck439 <firmankediri123@gmail.com>
Signed-off-by: AkaruiAikara <vall@aikara.me>
2022-04-04 18:43:16 +09:00
Soo-Hwan Na
838beb5738
universal7885: keyhandler: Move to java_sdk_lib 2022-04-03 22:58:19 +09:00
Jan Altensen
c604e3fb9f
universal7885: hidl: Uprev usb HAl to 1.3
* From LineageOS hardware/samsung
2022-04-03 03:19:52 +09:00
Tim Zimmermann
b3c318ead7
universal7885: aidl: vibrator: properly implement effects 2022-04-03 03:09:42 +09:00
roynaetch2544
1a5ab61e97
universal7885: overlay: Fix xml format
Also fix build error on KeyHandler
2022-04-03 02:21:36 +09:00
Ramii ahmed
8582551795
universal7885: Import KeyLogger
This lib helps to log input keycodes
2022-04-03 02:21:36 +09:00