Skip to content

Draft: WIP: Add a initial libinit (Non tested yet) #11

Open
EliasTheGrandMasterOfMistakes wants to merge 9 commits into
waydroid:lineage-20from
EliasTheGrandMasterOfMistakes:real-libinit-vm-test
Open

Draft: WIP: Add a initial libinit (Non tested yet) #11
EliasTheGrandMasterOfMistakes wants to merge 9 commits into
waydroid:lineage-20from
EliasTheGrandMasterOfMistakes:real-libinit-vm-test

Conversation

@EliasTheGrandMasterOfMistakes

@EliasTheGrandMasterOfMistakes EliasTheGrandMasterOfMistakes commented Jun 5, 2025

Copy link
Copy Markdown
Contributor

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
EliasTheBigMasterofIssues and others added 5 commits June 5, 2025 01:07
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>
@EliasTheBigMasterofIssues

EliasTheBigMasterofIssues commented Nov 24, 2025

Copy link
Copy Markdown

Hello, i'm here, in my new account, what is best way to try it, i don't have more acess to a server to build it.
you think that is better to move this logic to waydroid client handle it instead of a libinit?
specifically this e7aba84 commit, idk if this include will work on bionic

@EliasTheBigMasterofIssues

EliasTheBigMasterofIssues commented May 18, 2026

Copy link
Copy Markdown

Hello, i'm here, in my new account, what is best way to try it, i don't have more acess to a server to build it.
you think that is better to move this logic to waydroid client handle it instead of a libinit?
specifically this e7aba84 commit, idk if this include will work on bionic

@mathieuchartier sorry for mention you

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.

5 participants