14 Commits

Author SHA1 Message Date
kamikaonashi
8123fc9095 stone: libinit: update moon and sun fingerprints
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-08-21 04:36:07 +00:00
kamikaonashi
973111e140 stone: libinit: set memory tweaks only for 4GB Users
6 and 8 GB Users are fine. atleast for now

Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-07-16 10:52:18 +00:00
Jyotiraditya
2c6d485c69 stone: libinit: Enable config_avoidGfxAccel for 4GB variants
- 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.

Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-07-06 17:18:49 +00:00
Vedraj Gawas
a775cc6bc5 stone: libinit: spoof build keys to release-keys
ROMs like LOS use test-keys by default if compiled unofficially. It needs edit in source to always use release-keys. We use libinit to spoof these keys at init stage.

Co-authored-by: Richard Raya <rdxzv.dev@gmail.com>
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-05-17 12:06:42 +00:00
Vedraj Gawas
11d81098a3 stone: libinit: properly detect SoC
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-05-12 17:45:27 +00:00
kamikaonashi
472a305177 stone: libinit: update fingerprints
update fingerprints to HyperOS ones

Co-Authored-By: Arijit Saha <107979673+Arijit78@users.noreply.github.com>
2024-05-07 23:13:38 +02:00
kamikaonashi
abfbbd961e [SQUASH] stone: switch to libinit
switch to libinit for device recognition, taken and modified from

https://github.com/Evolution-X-Devices/device_xiaomi_marble/commits/udc/libinit
2024-05-07 22:56:43 +02:00
boedhack99
eb704ebe85 sm6375-common: Decommonize libinit interfaces
Change-Id: I85b02fcc0bfb5bfd46ba7233c8ef9cd945862b07
2023-08-14 14:38:35 +07:00
althafvly
41d1076962 sm6375-common: libinit: Set default USB and Bluetooth name
Change-Id: I65948d08d95b138d9faed262ad3376305b9510a7
2023-01-16 02:54:36 +00:00
Ramii Ahmed
d0b913a0b4 sm6375-common: libinit: Adjust detection prop to better suite xiaomi sm6375 devices
* Xiaomi devices on SM6375 platform use ro.boot.board_id to identify different SKU's, let's mirror miui in that
* but it also hardcodes fingerprints based on region, we can recreate the same effect by using the region prop ro.boot.hwc

Change-Id: I00dd84979db6066ad18bc36b619795de751925f8
2022-09-04 13:00:13 +00:00
luk1337
0311ca16ef sm6375-common: Don't override fingerprint in recovery
- Incremental ota checks for build fingerprint

Signed-off-by: althafvly <althafvly@gmail.com>
Change-Id: Ice245ffcedac03dceb2e77b69a35e3f2ab659d06
2022-09-04 12:59:43 +00:00
Ramii Ahmed
cef224fbc4 sm6375-common: libinit: Adjust detection prop to better suite xiaomi sm6375 devices
* Xiaomi devices on SM6375 platform use ro.boot.board_id to identify different SKU's, let's mirror miui in that

Change-Id: I00dd84979db6066ad18bc36b619795de751925f8
2022-09-04 12:59:19 +00:00
Ramii Ahmed
b19e0e95ee sm6375-common: libinit: rebrand to holi
Change-Id: I70be4a95eaef57f74b98327b421fc5101bf5d831
2022-09-04 12:59:18 +00:00
Ramii Ahmed
cc76af20cd sm6375-common: import libinit from sm8250-common
Change-Id: I81041b8feef9d33cb09c1416965d648193f33159
2022-09-04 12:59:18 +00:00