Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror
×
Google Android Bug Software

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

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.
This discussion has been archived. No new comments can be posted.

Android Oreo Bug Sends Thousands of Phones Into Infinite Boot Loops

Comments Filter:
  • Facepalm (Score:1, Insightful)

    by Anonymous Coward
    Really guys?
    Let's not even get into the stupidity of assuming a file extension (or that they stupidly walked the file system looking for the first matching NAME minus the extension) - but how can you let your SUPER SECURE OS get borked because of one unruly configured app which NEVER happens in the real world?!
    Maybe I'm just getting old but it seems programmers is gettin' dumber every year, along with UI designers (or maybe, in this case, it's one and the same)
    • Re:Facepalm (Score:5, Funny)

      by ColdWetDog ( 752185 ) on Wednesday November 01, 2017 @12:53PM (#55470113) Homepage

      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.

      • No mod points here, as always, but here's a virtual +5 funny to you my good sir.

      • 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.

        I, for one, appreciate that little joke/reference!

        Bravo!

  • by DontBeAMoran ( 4843879 ) on Wednesday November 01, 2017 @12:14PM (#55469869)

    This bug shall be called the Buzz Lightyear bug.

  • It's beta software.

  • by Anonymous Coward

    How do we know that if they just left the phone in boot looping for the next millennia that it wouldn't recover on the twenty seven septillionth time?

  • Google will start preventing APKs from being added to their store with this problem. Seems like a relatively easy thing to scan for.
  • by FatdogHaiku ( 978357 ) on Wednesday November 01, 2017 @12:49PM (#55470097)
    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?
  • by klossner ( 733867 ) on Wednesday November 01, 2017 @02:59PM (#55471191)

    "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.

    • by tlhIngan ( 30335 )

      "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 thin

      • by AvitarX ( 172628 )

        Maybe not use features exclusive to devices you don't own?

      • 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

    • Yeah, and "move fast and break things" is contingent on the fact that for some well-structured computer systems you can always roll things back to a previously good state and try again -- nothing lost but time. This is why we have version control and what I always try to teach newbies so that they feel free to break things.

      Or maybe another way to phrase it -- the speed at which you should move and break stuff is inversely proportional to how much work it is to back your changes out. If you are writing some

    • by antdude ( 79039 )

      SQA is usually ignored. People and companies need to stop doing that. Hire me too. :(

  • How does one "accidentally" .. "rename[d] the foreground image of his adaptive icon with the same name as this XML file (ic_launcher_main.png and ic_launcher_main.xml)."? Dearie me, that happens so often.. I meant to touch the SankakuBlack icon, and instead I found myself accidentally renaming the foreground image of my adaptive icon with the same name as this XML file (ic_launcher_main.png and ic_launcher_main.xml)."! Again! third time today, and it's only 8:00 am here! I am so clumsy.

    • If I don't accidentally rename the foreground image of my adaptive icon with the same name as this XML file (ic_launcher_main.png and ic_launcher_main.xml) at least twice before breakfast I consider it a poor start to the day.

Two can Live as Cheaply as One for Half as Long. -- Howard Kandel

Working...