Commit graph

830 commits

Author SHA1 Message Date
roynatech2544
a7ef8f2b7e
universal7885: Format xml again
* No tabs this time, 3-space intent
2022-04-29 22:24:09 +09:00
roynatech2544
7ab4e966aa
universal7885: sepolicy: Continue moving to /system 2022-04-29 22:24:09 +09:00
roynatech2544
0c29116da7
universal7885: vintf: Add some removed entries
* Needed for checkvintf on Android 13+
2022-04-29 22:24:08 +09:00
roynatech2544
657050b9b3
universal7885: sepolicy: Move some sysfs genfscons
* To public so private rules can access it too
* Also, remove rebundant genfscon
* Fix neverallows due to previous commit
2022-04-29 22:24:08 +09:00
roynatech2544
7150c7f690
universa7885: sepolicy: Remove derp sepolicy 2022-04-29 22:24:08 +09:00
roynatech2544
af754b5f92
universal7885: parts: hidl: Move to /system
* Sepolicy issues, need to be in /system to write data to files. While we're on it, move fm radio hal too
2022-04-29 22:23:34 +09:00
roynatech2544
88d149ae33
universal7885: parts: jni: Link statically against libc++fs
* Shared lib version is not available now
2022-04-29 22:11:56 +09:00
roynatech2544
3260efc9d0
universal7885: Remove custom apns conf xml 2022-04-29 22:11:47 +09:00
roynatech2544
3a67ecf0d7
universal7885: Enable back HWC 2022-04-24 16:25:53 +09:00
kevios12
e800136c80 a40: fix statusbar height
* issue: statusbar height doesnt changed any kind of values
* fix: framework uses status_bar_height instead of status_bar_height_portrait
2022-04-22 14:36:31 +02:00
Soo-Hwan Na
157baad982
universal7885: Drop unused shim 2022-04-22 13:58:51 +09:00
kevios12
2943ba730c universal7885: build FMRadio for A40
* we updated our vendor blobs to A405S - A405SKSU5CVB1, since them, FMRadio is now full working and this is not needed anymore (ifeq)
2022-04-22 07:43:40 +09:00
roynatech2544
2f27b73ef8 universal7885: Reorder libs using the reorder-libs.py script
Change-Id: I6a65b22faf162405a3badd7c9cf2a61ec9506cc9
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-04-22 07:43:40 +09:00
Sebastiano Barezzi
c3aa27ba29 universal7885: Add a script to reorder blobs list
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Change-Id: If32312dbc8114cd8798dedc932ee2e7140680ecc
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-04-22 07:43:22 +09:00
roynatech2544
60e7853d32
universal7885: Add 32-bit dsds libs for a10
Change-Id: I2d0aad6af68639d1bc4b0defaf8801417b7e96e3
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-04-21 23:50:34 +09:00
roynatech2544
55446bf371
universal7885: Inherit makefile changes
* A10-arm64 renamed to A10
* Inherit universal7885-common always

Change-Id: Id757b775c9f58ee03d6f1266d72b13e6b2341675
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-04-21 23:35:02 +09:00
roynatech2544
738f49c1f9
universal7885: Add back missing lib
Change-Id: I0ec099a466befb2e32171a6047e6621ec69ed972
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-04-21 23:29:12 +09:00
roynatech2544
68998d78c2
universal7885: Use proper blobs naming
Change-Id: I634aaad541106e84de41abbde8c6e58c0892e387
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-04-21 21:17:50 +09:00
roynatech2544
627a52459e
universal7885: Move soong namespace import to root of the tree
Because it was on the same file as power hal, the power hal was not on the target list
Fixes DT2W on settings app, overall deep sleep
2022-04-20 16:03:01 +09:00
roynatech2544
1898abbb62 universal7885: Allow glove settings on A20e
Exists on /sys/class/sec/tsp/cmd_list
2022-04-20 15:23:43 +09:00
roynatech2544
4a8c870b6b universal7885: parts: swap: Round down
The free space on /data
Also fix some issues with it
2022-04-20 12:58:55 +09:00
roynatech2544
0faf51929d universal7885: parts: jni: Link against libc++ fs
Also fix Kotlin src issues
Also clang-format the cpp src
2022-04-20 11:51:25 +09:00
roynatech2544
0a612ac913 universal7885: parts: Show free space and swapfile size 2022-04-20 11:31:13 +09:00
roynatech2544
2151bd330a universal7885: Add simple overlay template
To make it easier for builders to add maintainer overlays for roms
2022-04-20 08:18:05 +09:00
roynatech2544
134d87b132 universal7885: Remove useless stuffs
Also reorganize
2022-04-20 08:03:45 +09:00
Tim Zimmermann
f8f5a64999 universal7885: vibrator: Don't allow intensity 0
* Even if amplitude is > 0 resulting intensity might be 0 sometimes
* New devices just return EINVAL in kernel and ignore it, but on older
  ones this may result in very weak vibration

Change-Id: I5d290d60d8414ca747dce4af847f190e3caedbe0
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-04-20 07:58:34 +09:00
Soo-Hwan Na
053aa4fa1c
universal7885: parts: Put persistent true
* For Dolby settings
2022-04-19 21:26:48 +09:00
roynatech2544
a73fd161e7 Revert "universal7885: overlay: Allow to be rotated in all 4 rotations"
This reverts commit 569649d2ec.
2022-04-19 14:46:25 +09:00
roynatech2544
0051bea9c0 universal7885: parts: Add missing mkdir 2022-04-19 11:51:24 +09:00
Soo-Hwan Na
b3ffeda816 universal7885: parts: res: Add missing attr
* Fix on darkmode
2022-04-19 11:51:24 +09:00
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