Skip to content

Remove Dalvik properties and enable dexopt optimizations#2

Open
EliasTheBigMasterofIssues wants to merge 4 commits into
WayDroid-ATV:lineage-20from
EliasTheBigMasterofIssues:patch-1
Open

Remove Dalvik properties and enable dexopt optimizations#2
EliasTheBigMasterofIssues wants to merge 4 commits into
WayDroid-ATV:lineage-20from
EliasTheBigMasterofIssues:patch-1

Conversation

@EliasTheBigMasterofIssues

Copy link
Copy Markdown

Depends: 2321

EliasTheBigMasterofIssues and others added 4 commits May 22, 2026 10:49
 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>
@supechicken

Copy link
Copy Markdown
Member

FYI we already have this in the 23.0/23.2 branch:

https://github.com/WayDroid-ATV/android_vendor_waydroid_init/blob/main/waydroid-init/dalvik_heap.cpp

https://github.com/WayDroid-ATV/android_device_waydroid_waydroid/commit/2b38bdacabb8c250defb90b5c0e3f3523c5fec32

@EliasTheBigMasterofIssues

EliasTheBigMasterofIssues commented May 22, 2026

Copy link
Copy Markdown
Author

FYI we already have this in the 23.0/23.2 branch:

https://github.com/WayDroid-ATV/android_vendor_waydroid_init/blob/main/waydroid-init/dalvik_heap.cpp

https://github.com/WayDroid-ATV/android_device_waydroid_waydroid/commit/2b38bdacabb8c250defb90b5c0e3f3523c5fec32

LOL! Sorry for my confusion
Sorry just a question, which option can be a better option?
1: Remove this dalvik.vm option on 2321
2: just detect if are waydroid tv and not generate dalvik,vm for waydroid tv

@supechicken

Copy link
Copy Markdown
Member

LOL! Sorry for my confusion Sorry just a question, which option can be a better option? 1: Remove this dalvik.vm option on 2321 2: just detect if are waydroid tv and not generate dalvik,vm for waydroid tv

It is okay to keep it in the Waydroid side, since waydroid-init will override these props by default

@EliasTheBigMasterofIssues

Copy link
Copy Markdown
Author

LOL! Sorry for my confusion Sorry just a question, which option can be a better option? 1: Remove this dalvik.vm option on 2321 2: just detect if are waydroid tv and not generate dalvik,vm for waydroid tv

It is okay to keep it in the Waydroid side, since waydroid-init will override these props by default

Thank 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