Commit graph

920 commits

Author SHA1 Message Date
roynatech2544
1f58a51868
universal7885: FMRadio: Migrate to android SDK seekbar
Change-Id: Iced28087d879062401c4f36359a16fa3455e75db
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:05:27 +09:00
roynatech2544
96e7b1bcd7
universal7885: interfaces: Rename to vendor.samsungparts-hal
* <11>[   15.082330]  [0:           init:    1] init: /vendor/etc/init/vendor.eureka.hardware.parts@1.0-service.rc: 1: ignored duplicate definition of service 'vendor.parts-hal'

Change-Id: If6d32761d0df419981d3023f11669e59e2c28724
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:05:27 +09:00
roynatech2544
8df46a635d
universal7885: interfaces: Instance of virtual class 2022-03-22 19:05:26 +09:00
roynatech2544
e03d7d13d9
universal7885: FMRadio: Make OneUI theme lib link statically
* Also, mark FM Hal is required for this app
2022-03-22 19:05:26 +09:00
roynatech2544
85c8b40155
universal7885: interfaces: fixup linking error 2022-03-22 19:05:26 +09:00
roynatech2544
0885f01f81
universal7885: interfaces: Forgot to rename package name
* Also, fix errors

Change-Id: Iafa0a6f6c34c9b13aff464765ef00cffbc6330dd
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:05:26 +09:00
roynatech2544
45e292f408
universal7885: camera.provider: Label and build
* Except for a10 which has only 1 back cam

Change-Id: Ibf6f07ea36c16880bf760bf66f5454485889c792
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:05:26 +09:00
roynatech2544
18f76093fa
universal7885: camera.provider: Rebrand to exynos7885
* Also, use our hidden cam number (50)

Change-Id: I4d7a11b32c260d32dcd9427a98ac4c6ef94c1e03
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:05:26 +09:00
Thierry Strudel
ed4786dbcb
universal7885: Import camera provider from exynos9820
* https://github.com/LineageOS/android_device_samsung_exynos9820-common

Change-Id: I220eff3515de03df2b39c0e561d39dcaa02103c4
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:05:26 +09:00
roynatech2544
becd136bbb
universal7885: FMRadio: jni: remove unused function
* device/samsung/universal7885/apps/FMRadio/jni/fm_ioctl.cpp:65:12: error: unused function 'fm_radio_get_control' [-Werror,-Wunused-funct
ion]
static int fm_radio_get_control(int fd, unsigned int id, long *val)
           ^
1 error generated.
06:47:41 ninja failed with: exit status 1

* Also, fix wrong native lib name (fmradioioctl_jni -> fmioctl_jni)
2022-03-22 19:05:25 +09:00
roynatech2544
0519231d7b
universal7885: Add FMRadio app
* Created from scratch by me (Royna) with help of LineageOS repo [1], Sony Xperia Dev repo [2]
* Basic input/output, channel selection is working

[1]: https://github.com/LineageOS/android_hardware_samsung_slsi_fm
[2]: https://github.com/sonyxperiadev/vendor-qcom-opensource-fm

Change-Id: I922bbeb9f86e6a4c7bc993d27d2f9eeb2a712186
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:05:25 +09:00
roynatech2544
4b0238fe98
universal7885: parts: jni: Adapt for interface unify
* Also, Mark parts HAL is required for SamsungParts
2022-03-22 19:05:22 +09:00
roynatech2544
4be8e028a2
universal7885: sepolicy: rework for unify 2022-03-22 19:04:58 +09:00
roynatech2544
fd74bda6dc
universal7885: interfaces: unify to 1 HIDL 2022-03-22 19:04:54 +09:00
roynatech2544
5b74e97a5c
universal7885: Check if BT call fix is merged, if not, patch it
Change-Id: I257272ca2203977b0f4d8364edbddeda10e9ed3f
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:04:26 +09:00
kaderbava
c1c0024601
universal7885: overlay: add battery current divider
* This fixes lockscreen charging info mA & watts.

Signed-off-by: kaderbava <ksbava7325@gmail.com>
Change-Id: I341e5bdba3c2efc97a5e8d6c7b8fa9f6e5c96e07
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:04:26 +09:00
Soo-Hwan Na
8cdad31dc2
vendorsetup.sh: Track new repo with wifi share fix 2022-03-22 19:04:26 +09:00
roynatech2544
0c67f8bcc6
Revert "Revert "universal7885: Enable WIFI_HIDL_FEATURE_DUAL_INTERFACE""
This reverts commit 2ce97c28cfa2bccc20c2dfa94f224fcf402a1897.

* IMPORTANT NOTE: This commit requires Eureka R9.1 or higher
  or a1259470d4 to work, or wifi will not work at all
2022-03-22 19:04:25 +09:00
roynatech2544
7348a1bea4
universal7885: stop covering vendor.camera.aux props
* It is already covered on ROM-specific sepolicy, therefore causing BSOD on some roms

Change-Id: I18d2592d8150a63f989c2b96cdb48a21ff11bbab
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:04:25 +09:00
LuK1337
84fbc38489
universal7885: Add script to update sha1sums of kanged blobs
Change-Id: Ie70dec10d4c89a001a227495974c0baf8c44d55c
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:04:25 +09:00
SamarV-121
626f13ebc9
universal7885: overlay: Enable WiFi Display support
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
Change-Id: I8f416eacb0b1316947e3e8d9f5c10c76f1b289cf
Change-Id: I7e0b5f768bdb9d3db1c404b1d528ca4443b72087
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:04:25 +09:00
Soo-Hwan Na
2f2d76c9c2
universal7885: bring back missing thermal vintf entry 2022-03-22 19:04:25 +09:00
roynatech2544
c8b0cf2f9f
[SQUASH] Revert "universal7885: import Pixel thermal HAL"
This reverts commit cb95ff03729f9721c1a2af56e349a880c416ea59.

Revert "universal7885: sepolicy: Add another rule for thermal hal"

This reverts commit e695df796cf6b39e88652b2829bb18fc797ac0c8.

Revert "universal7885: switch to pixel thermal hal"

This reverts commit b8f413737399e34405322865d1efb391648124d7.
2022-03-22 19:04:25 +09:00
roynatech2544
8c71e00224
universal7885: Don't include CameraLightSensor for now
* Its so buggy now, needfix..
2022-03-22 19:04:25 +09:00
roynatech2544
aee1cc5125
a40: Update prebuilt dtbo again 2022-03-22 19:04:24 +09:00
Soo-Hwan Na
c98184931a
universal7885: sepolicy: address sensor denials on A40
* Now covering /sys/devices/virtual/input/input[0 to 12]
* Hope thats enough
2022-03-22 19:04:24 +09:00
roynatech2544
aba91daeb2
universal7885: Enable Bluetooth rro target
* Again OSS vendor capabilities...

Change-Id: I7c613e621475892d10898dc0cc4844e0263f5a21
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:04:24 +09:00
roynatech2544
60e1711a8b
Revert "universal7885: overlay: SystemUI: Use Monet colors for power menu"
This reverts commit a349b36ca501f2240ce1b3b0771e68a70817355d.
2022-03-22 19:04:24 +09:00
Soo-Hwan Na
718b3d3997
universal7885: WifiOverlay: Make SoftAP Hotspot work again 2022-03-22 19:04:24 +09:00
roynatech2544
5829162215
universal7885: Import light sensor overlays from exynos9820
* Add other interesting configs too

Change-Id: Ie5943ebe1dc2a168322c490d20fe871b52d84718
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:04:24 +09:00
roynatech2544
4be5170ee0
universal7885: derp: Use legacy bootanimation
Change-Id: Id1616d6b7103653742b324e441bccebed48bdaf8
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:04:23 +09:00
Ryan Mitchell
3399fe3a01
universal7885: Use component-override to configure Bluetooth
Runtime Resource Overlays (RROs) can no longer change the value of
resources in manifest when read during PackagerParser.

This change uses component-override to enable the service by default.

Remove usages of profile_supported_* from overlays as they no
longer configure the enable state of Bluetooth components.

Bug: 135048762
Test: adb shell pm query-services \
      com.android.bluetooth/.avrcpcontroller.AvrcpControllerService
      adb shell pm query-services \
      com.android.bluetooth/.hid.HidDeviceService
      adb shell pm query-services \
      com.android.bluetooth/.sap.SapService
2022-03-22 19:04:23 +09:00
roynatech2544
0e16cac0bf
universal7885: Drop non-working permissions, move props back to root
* platform-samsung.xml:
<assign-permission> not allowed in partition of /vendor/etc/permissions/platform-samsung.xml at START_TAG (empty) <assign-permission name='com.samsung.permission.SSENSOR' uid='cameraserver'>@22:83 in java.io.FileReader@9549221

* component-overrides-bluetooth.xml: Useless, its already disabled, why kill it twice

Change-Id: I3e2a1ae37cd340e2005293aaf7f046d4c3eda0ca
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:03:27 +09:00
roynatech2544
bb8d32dfd7
universal7885: remove 'rmpkg'
* Not that useful

Change-Id: I803b1a85f3a2fa411f5a4ce4d669ab61a4204b30
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:03:27 +09:00
roynatech2544
b898b96c3f
universal7885: debug_daemon: Don't check, just log
* Also, cleanup to 1 file

Change-Id: I9c568047a8be7952a85274d4aa8786857ab2f6a6
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
Change-Id: I534de831a0a501f327fbe630e301832b2c4b79bb
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:03:27 +09:00
Soo-Hwan Na
533869685c
universal7885: rro_overlays: Update some values
* Import stock overlay
* Enable back MAC randomization
2022-03-22 19:03:27 +09:00
Gabriel2392
b3cfe05e6a
a30: update dtbo 2022-03-22 19:03:27 +09:00
Gabriel
37263b9e76
universal7885: update fingerprint 2022-03-22 19:03:26 +09:00
Gabriel
c9d44cb234
vendorsetup: update kernel branch 2022-03-22 19:03:26 +09:00
Gabriel2392
f357d81999
universal7885: update defconfigs
Signed-off-by: Gabriel2392 <gabriel824m@gmail.com>
2022-03-22 19:03:26 +09:00
Kevios12
899e576043
universal7885: update dtb/dtbo(s) 2022-03-22 19:03:26 +09:00
SamarV-121
432d542a71
universal7885: overlay: Enable samplerate support for bluetooth headsets
* Fixes distorted audio in bluetooth calls

Change-Id: I19363dd11b2e218574fed75588f312466ec0ca48
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
2022-03-22 19:03:26 +09:00
Soo-Hwan Na
decf06738c
universal7885: keylayout: include more keycodes
* Play/Stop
* Voice assistant
2022-03-22 19:03:26 +09:00
roynatech2544
dc6123a66c
Revert "exynos7885: a*: use inclusive bitwise OR operator in OTA asserts"
This reverts commit 1ff57da53ccc24738fd2813069e07291cb911625.

Revert Reason: It didnt work
2022-03-22 19:03:25 +09:00
FraSharp
056b9c7bc8
exynos7885: common: cleanup makefiles
Signed-off-by: FraSharp <s23265@iisve.it>
2022-03-22 19:03:25 +09:00
FraSharp
e5db49892f
exynos7885: a*: use inclusive bitwise OR operator in OTA asserts
Signed-off-by: FraSharp <s23265@iisve.it>
2022-03-22 19:03:25 +09:00
Soo-Hwan Na
dd29f90752
exynos7885: rootdir: change zram compressor to zstd 2022-03-22 19:03:25 +09:00
kevios12
5f47eca524
universal7885: fix ld.gold not found
This fix temp. in rom building (Building Kernel Image) the error: aarch64-linux-android-ld.gold: not found
2022-03-22 19:03:25 +09:00
Kevios12
eb6e9adc06
Revert "universal7885: Enforce android-S new launch debugfs restrictions"
This reverts commit 19aae2603657f49e56addc3bbee7087db2c694b9.

Revert reason: /d/wakeup_sources is needed for kernel wakelock reader
2022-03-22 19:03:25 +09:00
Kevios12
1754b5f5bc
universal7885: remove useless overlay
* Generating useless rros
2022-03-22 19:03:24 +09:00