Wallpaper crash explained: Here’s how a simple image can soft-brick phones

'How can a simple image crash an Android phone to the point that it becomes unusable? It’s a question that came out frequently over the past 24 hours, as news of a “cursed wallpaper” spread around the web. Here’s a recap: Setting a particular image as wallpaper can send some phones into a loop of crashes that makes them unusable. There are a few solutions, depending on how hard the phone is hit. Some users were able to change the wallpaper in the short interval between crashes. Others had success deleting the wallpaper using the recovery tool TWRP. But in most cases, the only solution was to reset the phone to factory settings, losing any data that’s not backed up. The issue was brought to light by Ice Universe, the Chinese Twitter users known for leaks. Based on user reports, many models from Samsung and Google are affected, while we’ve also seen some reports from users of OnePlus, Nokia, and Xiaomi devices (it’s not clear if these latter devices ran stock software or custom ROMs). From our own testing and looking at user reports, Huawei devices seem to be less exposed to the wallpaper crash issue.' -- source: https://www.androidauthority.com/android-wallpaper-crash-1124577/ Cheers, Peter -- Peter Reutemann Dept. of Computer Science University of Waikato, NZ +64 (7) 858-5174 http://www.cms.waikato.ac.nz/~fracpete/ http://www.data-mining.co.nz/

On Tue, 2 Jun 2020 12:38:08 +1200, Peter Reutemann quoted:
'How can a simple image crash an Android phone to the point that it becomes unusable?'
You’d think it would be some nefarious convoluted image-encoding evil data block or something, but no, it’s just down to a system process that doesn’t properly handle an image with the wrong colour profile <https://www.theregister.com/2020/06/01/android_bricked_by_wallpaper/>. In trying to convert the pixel values to something outside the valid range, it hits an integer overflow and crashes.
participants (2)
-
Lawrence D'Oliveiro
-
Peter Reutemann