Skip to content

Conversation

EliasTheGrandMasterOfMistakes
Copy link
Contributor

@EliasTheGrandMasterOfMistakes EliasTheGrandMasterOfMistakes commented Jun 5, 2025

This introduce a libinit that will set props during initialisation

Draft
Not tested yet

@EliasTheGrandMasterOfMistakes EliasTheGrandMasterOfMistakes changed the title Draft: WIP: Add a initial libinit Draft: WIP: Add a initial libinit (Non tested yet) Jun 5, 2025
libinit based on sm8150-common

Co-authored-by: Sebastiano Barezzi <barezzisebastiano@gmail.com>
This is a simples init program that reads number of cpus
and use this to defines dalvik.vm.*.dex2oat properties
Imported from device_xiaomi_marble

Co-Authored-By: SebaUbuntu <seba@sebaubuntu.dev>
Co-Authored-By: Ramii Ahmed <ramy@ahmedramy.com>
Co-Authored-By: luk1337 <priv.luk@gmail.com>
Co-Authored-By: Arian <arian.kulmer@web.de>
Co-Authored-By: Mohammed Althaf Thayyil <me@althafvly.com>
Co-Authored-By: YuKongA <70465933+YuKongA@users.noreply.github.com>
When a device with low ram (6GB or lower) we can just enable
"ro.config.low_ram" which will reduce memory usage
mathieuchartier and others added 4 commits June 5, 2025 01:25
 profile services and wifi-service to reduce RAM and storage.
Signed-off-by: nnippon99 <adamayyad1999@hotmail.com>
 SystemUI - Add Settings & SystemUI

The default ART setting is quicken: run DEX code verification and
optimize some DEX instructions to get better interpreter performance.

This commit switches performance critical applications to speed:
run DEX code verification and AOT-compile all methods.

PRODUCT_DEXPREOPT_SPEED_APPS (New in Android O)
List of applications that have been identified as core to the products
and which are desirable to compile with the speed compiler filter.  For
example, persistent apps such as SystemUI get a chance to use
profile-guided compilation only at the next reboot, so it may be better
for the product to have these apps always AOT-compiled.

Signed-off-by: DarkAngelGR <asavvo01@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants