Slashdot Mirror


Android Oreo Bug Sends Thousands of Phones Into Infinite Boot Loops (bleepingcomputer.com)

An anonymous reader writes: A bug in the new "Adaptive Icons" feature introduced in Android Oreo has sent thousands of phones into infinite boot loops, forcing some users to reset their devices to factory settings, causing users to lose data along the way. The bug was discovered by Jcbsera, the developer of the Swipe for Facebook Android app (energy-efficient Facebook wrapper app), and does not affect Android Oreo (8.0) in its default state. The bug occurs only with apps that use adaptive icons -- a new feature introduced in Android Oreo that allows icons to change shape and size based on the device they're viewed on, or the type of launcher the user is using on his Android device. For example, adaptive icons will appear in square, rounded, or circle containers depending on the theme or launcher the user is using. The style of adaptive icons is defined a local XML file. The bug first manifested itself when the developer of the Swipe for Facebook Android app accidentally renamed the foreground image of his adaptive icon with the same name as this XML file (ic_launcher_main.png and ic_launcher_main.xml). This naming scheme sends Android Oreo in an infinite loop that regularly crashes the device. At one point, Android detects something is wrong and prompts the user to reset the device to factory settings. Users don't have to open an app, and the crashes still happen just by having an app with malformed adaptive icons artifacts on your phone. Google said it will fix the issue in Android Oreo 8.1.

13 of 78 comments (clear)

  1. I know this... by DontBeAMoran · · Score: 2

    This bug shall be called the Buzz Lightyear bug.

    --
    #DeleteFacebook
  2. Re:I don't get it by SScorpio · · Score: 2

    SD card is paired to the phone and encrypted. Factory reset blows away the key so all data is lost.

  3. Re:I don't get it by kelemvor4 · · Score: 3

    forcing some users to reset their devices to factory settings, causing users to lose data along the way.

    I'm out of touch; my phone runs 4.1.2 Jelly Bean. But I don't get it. Resetting to factory settings doesn't erase the SD card, does it? If so, pull it out before resetting.

    Not unless you're an apple fanboy looking for a reason to complain online...

  4. Re:They knew the risk. by Luthair · · Score: 2

    Oreo isn't beta, its on devices.

  5. Re:They knew the risk. by YuppieScum · · Score: 3, Insightful

    The two are not mutually exclusive...

    --
    This sig left unintentionally blank.
  6. Hey! by FatdogHaiku · · Score: 2

    Wanna see how fast my phone boots?
    Wanna see it again?
    Wanna see it again?
    Wanna see it again?
    Wanna see it again?
    Wanna see it again?
    Wanna see it again?

    --
    You have the right to remain sentient. If you give up the right to remain sentient, you will be elected to public office
  7. Re:Facepalm by ColdWetDog · · Score: 5, Funny

    No, nothing so nefarious. It's just jealousy on the part of the poor little Android phones. They seem to think if they can go into one infinite loop, they will magically be transformed into iPhones.

    Simple when you think about it for a bit.

    --
    Faster! Faster! Faster would be better!
  8. Re:I don't get it by tepples · · Score: 2

    The same way Chromebook developer mode begging the user to wipe it is a feature: it ensures someone who steals your SD card won't be able to see your private data.

  9. Re:I don't get it by MachineShedFred · · Score: 3

    Remember all the wailing and gnashing of teeth about devices that don't have SD card slots anymore? Yeah, those are the same newer devices that actually have a prayer of seeing an updated image that could cause this problem.

    By the way, nice OS release where the simple installation of an app, and not actually running it, can destroy your operating config to the point of effectively needing to reimage the device... and then not actually fixing the root cause until 8.1. Are they fucking serious with that?

    --
    Slashdot still doesnâ(TM)t support Unicode after it was added to the HTML standard in 1997.
  10. Re:I don't get it by DontBeAMoran · · Score: 4, Insightful

    If they're sealed units, chances are there's no "SD card" inside. It's flash storage ICs soldered directly to the PCB.

    --
    #DeleteFacebook
  11. Re:Fact: Android is shit by DontBeAMoran · · Score: 2

    Well, since the web seems to be 95% ads and 5% content, I guess it makes sense.

    --
    #DeleteFacebook
  12. released without testing by klossner · · Score: 3, Insightful

    "Jcbsera did not catch the bug during development because he tested his app's new version only inside the Android emulator provided by the Android Studio application. The bug did not manifest in the same way in the emulator as on a real device. It was only after the developer pushed the update to his users that he noticed and discovered the bug after users started flooding his Play Store page with crash complaints and bad reviews."

    He didn't even try the app on a real device. That's "move fast and break things" in action.

    1. Re:released without testing by aardvarkjoe · · Score: 2

      Well, that's the problem with android - "fragmentation". You can't expect every developer to own every single Android device out there, so somewhere along the line they have to take the leap that it works. And if you don't own an Android 8 device, well, the emulator is all you have. Given the emulator is running a real Android 8 image you would expect it to be faithfully reproduce the Android 8 experience.

      I might buy that if this was a case of a feature that would work on his phone but was broken on another. But apparently the "adaptive icons" support was added in Android 8 -- so the developer apparently used a new feature, specifically for Android 8, that he couldn't (or just didn't bother) test at all on real hardware. That shouldn't be considered acceptable, and nobody should give him a pass for it.

      And yeah, Google screwed up big time too -- both with the bug, and the fact that apparently their emulator doesn't work.

      --

      How can we continue to believe in a just universe and freedom to eat crackers if we have no ale?