27
submitted 9 months ago by fury@lemmy.world to c/android@lemdro.id

Courtesy of KonstaKANG

you are viewing a single comment's thread
view the rest of the comments
[-] aluminium@lemmy.world 2 points 9 months ago

Yeah, Android when it comes to "smoothness" is an enigma to me. For games it makes sense since the GPU is weak. But for browsing and stuff it should be plenty fast.

You could also try to AOT compile apps with these adb commands to maybe get better performance:

adb shell pm compile -a -f --check-prof false -m everything

adb shell pm compile -a -f --check-prof false --compile-layouts

adb shell pm bg-dexopt-job

[-] fury@lemmy.world 1 points 9 months ago

The first and third commands made things load up a bit quicker. Thanks! Second command seems to have been removed. I wish I could figure out what's limiting the system to 30 fps on this display...it OUGHT to be able to handle 60 fps at this resolution

[-] limerod@reddthat.com 1 points 9 months ago

adb shell pm compile -a -f --check-prof false -m everything

adb shell pm compile -a -f --check-prof false --compile-layouts

adb shell pm bg-dexopt-job

What do these commands do? From 1st to last.

[-] aluminium@lemmy.world 1 points 9 months ago

in short : Android apps contain dex bytecode, which through these commands get compiled into native machine code.

[-] limerod@reddthat.com 1 points 9 months ago

I know that. I was just asking what the actual adb commands do like the compile-layouts parameter, the last bgdexopt job. Why are all 3 necessary. Samsung has a galaxy app booster that appears to do something similar.

[-] aluminium@lemmy.world 2 points 9 months ago

Ah, unfortunately I don't know it either. I always saw these 3 mentioned when talking about the topic. My guess with the --compile-layouts flag would be that it maybe precalculates layout xml files to your exact screen size and resolution.

this post was submitted on 24 Nov 2023
27 points (100.0% liked)

Android

17361 readers
604 users here now

The new home of /r/Android on Lemmy and the Fediverse!

Android news, reviews, tips, and discussions about rooting, tutorials, and apps.

🔗Universal Link: !android@lemdro.id


💡Content Philosophy:

Content which benefits the community (news, rumours, and discussions) is generally allowed and is valued over content which benefits only the individual (technical questions, help buying/selling, rants, self-promotion, etc.) which will be removed if it's in violation of the rules.


Support, technical, or app related questions belong in: !askandroid@lemdro.id

For fresh communities, lemmy apps, and instance updates: !lemdroid@lemdro.id

💬Matrix Chat

💬Telegram channels / chats

📰Our communities below


Rules

  1. Stay on topic: All posts should be related to the Android OS or ecosystem.

  2. No support questions, recommendation requests, rants, or bug reports: Posts must benefit the community rather than the individual. Please post to !askandroid@lemdro.id.

  3. Describe images/videos, no memes: Please include a text description when sharing images or videos. Post memes to !androidmemes@lemdro.id.

  4. No self-promotion spam: Active community members can post their apps if they answer any questions in the comments. Please do not post links to your own website, YouTube, blog content, or communities.

  5. No reposts or rehosted content: Share only the original source of an article, unless it's not available in English or requires logging in (like Twitter). Avoid reposting the same topic from other sources.

  6. No editorializing titles: You can add the author or website's name if helpful, but keep article titles unchanged.

  7. No piracy or unverified APKs: Do not share links or direct people to pirated content or unverified APKs, which may contain malicious code.

  8. No unauthorized polls, bots, or giveaways: Do not create polls, use bots, or organize giveaways without first contacting mods for approval.

  9. No offensive or low-effort content: Don't post offensive or unhelpful content. Keep it civil and friendly!

  10. No affiliate links: Posting affiliate links is not allowed.

Quick Links

Our Communities

Lemmy App List

Chat and More


founded 1 year ago
MODERATORS