Commit graph

1,053 commits

Author SHA1 Message Date
Gabriel2392
5aa576dd55 universal7885: add rules for library symlinks 2022-07-30 08:58:49 -03:00
Gabriel2392
47023baaa2 universal7885: don't call universal vendor blobs for arm 2022-07-30 08:44:24 -03:00
Gabriel2392
9e6503c0d4 universal7885: define kernel arch
* needed by a10 arm build
2022-07-30 08:38:08 -03:00
Gabriel2392
5515947fb3 a10dd: rename usb hal 2022-07-30 08:32:28 -03:00
AlexandruSemina(semialex16)
55bd3678b2
Universal7885: Generate a10 arm makefile 2022-07-30 14:14:29 +03:00
Gabriel2392
9b035b514f universal7885: unify arm branch 2022-07-30 08:08:40 -03:00
Gabriel2392
c077f6ffd5 init: don't enable nfc for all M-Ending models 2022-07-30 07:02:19 -03:00
AlexandruSemina(semialex16)
0e91fcc133
Universal7885: SamsungParts: move under system.
Due to roms now having customizations for the Settings app, will be better to move the SamsungParts app under the System category to not disturb the looks of the ui.
2022-07-22 21:54:51 +03:00
AlexandruSemina(semialex16)
7b50477a85
universal7885: Update raven fingerprint to July 2022-07-19 23:13:01 +03:00
kevios12
de57eed3fa
universal7885: NFC SKU A40 Model fix
The A404F - "M" Model isn't detecting the NFC HW, so we added A405F models to init_universal7885 and seperate the models by the added code. This commit is confirmed and working.
2022-07-17 16:51:27 +02:00
kevios12
bc8c63b6da
universal7885: add Blur props 2022-07-16 22:08:41 +02:00
AlexandruSemina(semialex16)
902bf17c20
universal7885: vendorsetup: Update kernel branch.
Update kernel branch from R10_rom to R10.1_rom.
2022-07-09 23:23:15 +03:00
roynatech2544
8ce3f524d2 universal7885: Drop recent camera changes
Squash of :

Revert "universal7885: Switch to 64bit camera provider"

This reverts commit 074ecb66b5.

Revert "universal7885: Camera3: Change usage type to uint64_t"

This reverts commit 688fdd42c8.

Revert "universal7885: Drop camera.device prebuilts"

This reverts commit 31a590ef20.

Revert "universal7885: import camera3.h"

This reverts commit 53f2691a33.
2022-07-06 15:38:24 +00:00
Soo-Hwan Na
12df08a038
vendorsetup: UPdate kernel branch 2022-06-19 09:08:57 +09:00
roynatech2544
cb6cd3067d universal7885: Adopt to changes on R10
* The /proc/kmsg buffer is empty by default
2022-06-17 13:58:33 +00:00
Soo-Hwan Na
4c9d50ef37
universal7885: rootdir: Use static numbers instead of % 2022-06-17 21:15:43 +09:00
roynatech2544
6feb600625
universal7885: Allow vendor_init to set powerhal init prop
The Pixel libperfmgr has following code :
std::thread initThread([&]() {
        ::android::base::WaitForProperty(kPowerHalInitProp.data(), 1);
        hm->Start();
        dlpw->Init();
    });

which is basically
declare thread {
        if (powerhalprop_is_not_set) wait;
        else (powerhal_prop_is_set) init_other_threads;
}.start();

But in logcat
<11>[   21.988418]  [2:           init: 2815] init: Unable to set property 'vendor.powerhal.init' from uid:0 gid:0 pid:2816: SELinux permission check failed
<36>[   21.989189]  [3:    logd.auditd: 3586] type=1107 audit(1654915533.291:146): uid=0 auid=4294967295 ses=4294967295 subj=u:r:init:s0 msg='avc: denied { set } for property=vendor.powerhal.init pid=2816 uid=0 gid=0 scontext=u:r:vendor_init:s0 tcontext=u:object_r:vendor_powerhal_prop:s0 tclass=property_service permissive=0'

So the powerhal's thread was not being run. This commit fixes seplicy to allow vendor init to set the powerhal init prop. May fix some issues on DT2W and deep sleep
2022-06-11 13:17:55 +09:00
roynatech2544
2fcc6c236f
a30s: Import stock values 2022-06-11 13:10:51 +09:00
Soo-Hwan Na
9fba29cf56
a30s: Put partition sizes pulled from a30s 2022-06-08 12:04:09 +09:00
roynatech2544
667c3b5dda universal7885: Add A30s camera support 2022-06-08 00:04:19 +00:00
roynatech2544
142f12bef4 a30s: Import missing libs 2022-06-07 23:50:27 +00:00
roynatech2544
53ee3a5321 univetsal7885: Fixup for A30s bringup 2022-06-07 23:18:27 +00:00
roynatech2544
c37d9e4681 vendorsetup: Generate A30s makefiles 2022-06-07 11:53:52 +00:00
Soo-Hwan Na
da39a992ff
vendorsetup: Track R9.6 2022-06-07 20:39:45 +09:00
roynatech2544
e62e89bd53
universal7885: Welcome A30s 2022-06-07 20:28:13 +09:00
roynatech2544
ace2dca16f universal7885: Track new kernel branch 2022-06-04 08:47:23 +05:30
roynatech2544
06f0ba16cc universal7885: Drop bt call patch
No longer required as of R9.5
2022-06-04 08:47:23 +05:30
Soo-Hwan Na
9c844c2fae
universal7885: Switch back zram compressor to zstd 2022-06-04 11:31:54 +09:00
Tim Zimmermann
dbd446b32c
Revert "universal7885: Uprev graphic composer HAL from 2.1 to 2.4"
* Our HWC does not support setActiveModeWithConstraints
* This way we can actually have mode switching working
  which will be needed for Tiramisu resolution settings

This reverts commit 6c0bc75905.
2022-05-27 17:52:15 +09:00
roynatech2544
2d5919abc1
universal7885: Copy volume tables from source
Change-Id: I6b583cb56dc4812e4483fe56e9e23359248e55e9
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-05-25 21:07:22 +09:00
orges
33bb6ae880
universal7885: overlay: Fix deprecated power profile items
* PowerProfile: screen.on is deprecated! Use screen.on.display0 instead.
 * PowerProfile: screen.full is deprecated! Use screen.full.display0 instead.

Signed-off-by: orges <me@orgesified.ml>
Change-Id: Ieff844423b735ebdab51c4b648820d84b7d1e5f0
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-05-23 20:18:19 +09:00
roynatech2544
1ce9146e89
universal7885: parts: Fix the mkswap method
Change-Id: Ic078b1d2e5692036699ffc112fc62c932823265c
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-05-23 19:34:19 +09:00
roynatech2544
988595370b universal7885: Fix clang-tidy issue again 2022-05-22 05:16:57 +00:00
roynatech2544
f5d7b37699 universal7885: Address additional clang-tidy errors 2022-05-21 02:35:11 +00:00
roynatech2544
14e4406a1b universal7885: sepolicy: Drop shell execute rules 2022-05-21 02:29:42 +00:00
roynatech2544
22caa5374c universal7885: interfaces: Do not use hardcoded cmd
Use standard C/C++ functions
2022-05-21 02:28:47 +00:00
roynatech2544
b3ec9c4371 universal7885: Fix errors according to clang-tidy 2022-05-21 01:07:44 +00:00
roynatech2544
5394c3b11f universal7885: Add extra compiler defaults 2022-05-21 00:37:58 +00:00
roynatech2544
be82ebd1fe
universal7885: bpfmt 2022-05-20 18:37:24 +09:00
roynatech2544
d97d8b7bfe
universal7885: Import radio hals
* Build them from source
* Drop prebuilts on vendor tree
2022-05-20 18:24:21 +09:00
roynatech2544
0282f1e3a9
universal7885: Address some denials
Change-Id: I6892bbdecf6780891c0baf5849687632602e52c9
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-05-14 15:04:18 +09:00
roynatech2544
082cd1ac46
universal7885: AARs: Update to 1.6.0 release
Link: https://mvnrepository.com/artifact/com.google.android.material/material/1.6.0
2022-05-10 21:44:20 +09:00
roynatech2544
8def03df20
universal7885: Remove unused funcs from header
Now matches the AOSP source one
2022-05-10 21:42:46 +09:00
Soo-Hwan Na
7664f1ae7d
universal7885: Drop unused keyhandler overlay 2022-05-09 12:52:42 +09:00
roynatech2544
5e69a17ac0
universal7885: Label powerhal props 2022-05-08 18:15:09 +09:00
roynatech2544
043d4db5cf
universal7885: rootdir: Allow tracing
Also address some selinux denials
2022-05-07 13:58:08 +09:00
roynatech2544
56df394666
universal7885: extract_utils: Remove not needed patching
Now built from src
2022-05-07 11:18:12 +09:00
roynatech2544
5ad98e1963
universal7885: Make shim link against provider
Also remove unused methods in shim
2022-05-07 11:17:15 +09:00
Tim Zimmermann
688fdd42c8
universal7885: Camera3: Change usage type to uint64_t
* gralloc BufferUsage is already uint64_t, this seems to be samsung's real change here

Change-Id: I769e2de1e58dff2ed3efa770bf9ae2cb17e55df8
2022-05-07 10:39:21 +09:00
Tim Zimmermann
31a590ef20
universal7885: Drop camera.device prebuilts 2022-05-07 10:39:20 +09:00