this post was submitted on 14 Mar 2024
101 points (97.2% liked)

Android

17826 readers
148 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: [email protected]


πŸ’‘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: [email protected]

For fresh communities, lemmy apps, and instance updates: [email protected]

πŸ’¬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 [email protected].

  3. Describe images/videos, no memes: Please include a text description when sharing images or videos. Post memes to [email protected].

  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 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 8 points 9 months ago (1 children)

Fun fact off doesn't mean off on modern Android. When you plug in your device and see a battery percentage that means there is software running on the device

[–] [email protected] 11 points 9 months ago (1 children)

That's the bootloader. It boots when power is connected. It's limited in functionality.

[–] [email protected] -3 points 9 months ago* (last edited 9 months ago) (2 children)

Actually I don't believe it is. That part of the system is part of the OS image. I believe its how google tracks the Pixel 8

[–] [email protected] 13 points 9 months ago (2 children)

I used to be an Android device developer back in the Lollipop days. I compiled the various images myself, including the bootloader, recovery, and the Android OS. I can say with 100% certainty that at least back in the Lollipop days, and at least on the vast, vast majority of devices (a device could theoretically change this, and I don't know everything about every device ever released), the battery percentage that shows up when the phone is off is part of the bootloader, not Android. It's a separate image entirely.

[–] [email protected] 2 points 9 months ago

I've rooted many android phones including modern ones. Flashing the bootloader/recovery without the OS always changed the charging animation in the off state in my experience. Can't say this is how all Androids work, but I've never encountered one that didn't behave this way.

[–] [email protected] 0 points 9 months ago (1 children)

I just know that when I flash anything Linux the offline charging indicator stops working

[–] [email protected] 3 points 9 months ago

You most likely are flashing the bootloader, recovery, and OS all in one step. They can be combined into one image and all flashed at once. I doubt the Android bootloader would be able to boot Linux, but tbh, that's not my area of expertise, so I could be wrong.

[–] [email protected] 4 points 9 months ago* (last edited 9 months ago)

I know how it is. Used to work on phone chipsets. That being said, I have no idea how pixel 8 is doing this, but likely the Bluetooth chipset has a mode it can go into to behave like AirTags and just pulse out a BTLE beacon occasionally with both the main OS and sub-OSes turned off and power just being trickled to VCC on the BT chip.

Edit: apologies, didn't mean to sound so curt. Tl;dr: I know how bootloaders run to allow battery charge while off, not sure how pixel 8 is doing their magic-to-be but have a good theory.