IPhone 5 "FindFlashMediaAndKeepout" error while booting repair

From Repair Wiki
IPhone 5 "FindFlashMediaAndKeepout" error while booting repair
Device IPhone 5
Affects part(s) Main Logic Board
Needs equipment Screwdrivers, known good parts, spudger
Difficulty ◉◉◉◌ Hard
Type Soldering, Part replacement

This article is a stub. You can help Repair Wiki grow by expanding it

Problem description

Full error:

[NAND] _FindFlashMediaAndKeepout:601 physical nand block offset 1
[NAND] start:356 this <ptr> PROVIDER=<ptr> flashMedia=<ptr>
[NAND] WMR_Start:149 Apple PPN NAND Driver, Read/Write
[NAND] WMR_Start:174 FIL_Init  [OK]
[NAND] WMR_Open:371 VFL_Open    [OK]
[NAND] s_cxt_boot:88 sftl: error, unclean shutdown; adopted 6016 spans
[NAND] WMR_Open:420 FTL_Open    [OK]
[NAND] _publishServices:642 FTL capabilities: 0x00000001
[NAND] _ppnvflGetStruct:3469 Checking borrowed blocks - count: 23 max_count: 23
[NAND] _fetchBorrowedList:881 number of borrowed blocks 16
An iPhone 5 with water damage displays the FindFlashMediaAndKeepout error message.


  • Phone displays FindFlashMediaAndKeepout error while booting.
  • When attempting to restore using iTunes, error 4013 is displayed.


  • The error is mostly associated with water damage or bad ribbon cables / connections.
  • Some users report that unplugging the front camera, the back camera, the camera flash, the proximity sensor ribbon cable or even the whole display assembly can circumvent the issue. This can allow the device to be used or restored with iTunes.
  • If the above methods don't work, removing the compass IC (U15) can allow the phone to boot again. The compass IC is located right next to where the front camera ribbon cable plugs in at the very edge of the PCB. It's hidden below some black adhesive tape (see this video). The device itself will work fine without the chip, but some functions won't be available (compass, screen auto-rotation, maybe other minor things). If the device boots without the chip, installing a new chip may restore the missing functions.