Commit graph

799 commits

Author SHA1 Message Date
roynatech2544
2648c647fc
universal7885: Add missing dependency, fix some code for AOSP 2022-03-22 19:05:31 +09:00
Soo-Hwan Na
bfe69c8347
universal7885: FMRadio: Switch to lastest material lib 2022-03-22 19:05:31 +09:00
roynatech2544
86b9b97e75
universal7885: Camera.md: Fix wrong words 2022-03-22 19:05:31 +09:00
roynatech2544
0803fadf47
universal7885: FMRadio: Use kotlinx.cororutines library
* Background thread handle system
2022-03-22 19:05:31 +09:00
roynatech2544
308a5d49c8
universal7885: Add Material you reworked FM app
* UI and function improvements

Change-Id: Ia1ea7aa0caf0ac3838e285952e9be7e79b946e80
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:05:30 +09:00
Gabriel2392
b8e119aaf8
universal7885: add messaging to build list
* Fixes messaging not being built in some roms such as aex, syberia
2022-03-22 19:05:30 +09:00
Gabriel2392
c2d2f3b4f1
universal7885: don't build fingerprint hal for a10 2022-03-22 19:05:30 +09:00
roynatech2544
73cfd8f781
universal7885: Don't add new member to struct
* Because 2 structs are different, causing issues

Change-Id: Iafacbea214611631447764cc27bc3b4e533b2a76
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:05:30 +09:00
roynatech2544
e1227a4089
universal7885: libshims: overlay on CameraDevice::open()
Change-Id: Ie8dd056e74a620316e3bd9e97244aac1493b7e76
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:05:30 +09:00
Soo-Hwan Na
33c877f914
universal7885: Camera: Update readme with more info 2022-03-22 19:05:30 +09:00
Gabriel2392
cc847a4262
universal7885: include apns-conf.xml
* Taken from lineage-19.0
2022-03-22 19:05:30 +09:00
roynatech2544
27f29fab24
universal7885: Add help markdown about camera changes
Change-Id: I51076518369d55f990ed214836d751e82e6d4704
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:05:29 +09:00
roynatech2544
874efff89c
Revert "universal7885: camera.provider: drop front camera hacks"
Change-Id: I3946a41bdde83388205d4ebcc39bc9f63e88d9d8
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:05:29 +09:00
roynatech2544
a61a974d0e
universal7885: libshims: libcorrectcamera: overlay more func
Change-Id: Ifd20fdff717b677b33bcd7865ec92962e3877da9
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:05:29 +09:00
roynatech2544
e9d83bf897
universal7885: Add libcorrectcamera shim
* Supposed to map camera ID 2's info to camera ID 1

Change-Id: I154b0a3357ac689530f53dbf4d251aa7f60c6a2f
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:05:29 +09:00
roynatech2544
aa3a35f830
universal7885: libshims: Remove useless camera shims
* It is same as android.hardware.camera.common@1.0-helper

Change-Id: I7aa14667989a10663b6d7ea290e205f9e6b1bd93
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:05:29 +09:00
Chenyang Zhong
130e2d9b57
universal7885: sepolicy: Address init denial
Change-Id: Id0d0c88bbedde6b6586e3a6f04704457d910d8a0
2022-03-22 19:05:29 +09:00
roynatech2544
ef017261e1
universal7885: interfaces: Rename service names
Change-Id: I32ab0e77a74a478f277d3ee5d30ce3acebb8eb3b
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:05:29 +09:00
roynatech2544
6235756b90
universal7885: FMRadio: jni: fix build errors
* Fix errors on FM HAL too

Change-Id: I95885939d55efa0b400fe55d0a444f64d1f65a51
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:05:28 +09:00
roynatech2544
a51ae4d035
NUKE BUILD.SH
Change-Id: I3cdb4cc248f4947d8b2f115170dd8ae37819a088
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:05:28 +09:00
roynatech2544
cb9599acdb
universal7885: FMRadio: Build our own implementation of FM
Change-Id: I913ed9e5791d067e606c5e094d4fca5a40dbb70a
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:05:28 +09:00
roynatech2544
e07865c670
universal7885: interfaces: Implement FMRadio HAL V1.2
* Also, track our fork of OneUI theme lib

* Implement read from sysfs interface which can fix channel searching on some cases

* Commit link: fead45ba0e

Change-Id: I81532b7f8169637fdcad0f678790a2b1f1888ecc
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:05:28 +09:00
roynatech2544
02eded67c8
universal7885: sepolicy: Label FM Radio HAL 2022-03-22 19:05:28 +09:00
roynatech2544
81a87b312f
universal7885: interfaces: Implement FMRadio HAL v1.1
Change-Id: Ifff4f14171e1774723a1ffa40f74eabd99a28e97
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:05:28 +09:00
roynatech2544
ebd1dbe38a
universal7885: interfaces: Add FM Radio HAL
Change-Id: Iae728e0cb37477c563c7d0b632bf894fb4219444
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:05:27 +09:00
Soo-Hwan Na
982db08f83
universal7885: vendorsetup: Update kernel branch 2022-03-22 19:05:27 +09:00
Soo-Hwan Na
ffaf807401
universal7885: FMRadio: Make volume delay to 4s
* 1.5s -> 4s
* Also, remove undeclared dependency

Change-Id: Ieff232fd776e52abfbc617495298ab27afd021d1
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:05:27 +09:00
roynatech2544
908dc5339b
universal7885: FMRadio: Use android SDK LinearLayout
Change-Id: Ibd176357da2c84c5fb0c5654aaed9413139412c3
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:05:27 +09:00
roynatech2544
315e8a18d4
universal7885: FMRadio: Don't run r8 on theme library classes
Change-Id: I7ff7065de56e77b7ba24a98ada600e8eda006a6e
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:05:27 +09:00
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