This tutorial will show how to update Android Nexus with Factory Image without Wipe Data with Nexus Root Toolkit. Be warn that this process only recommended for minor number update only and stock ROM, for this case update Nexus 4 from Android version 5.1 to 5.1.1.
Download first the program at http://www.wugfresh.com/nrt/ then connect your phone and make sure the phone driver is installed correctly (use the program diagnose to check the driver).
Then download the latest android factory image.
Do with your own risk
1. Connect your phone and run the program.
2. Click on Flash Stock + Unroot.
3. If you have download the image choose Other/Browse… in Factory Images option. On Choice option choose the second option. On Settings check the No Wipe Mode and Force Flash Mode. Then click OK –> make sure that device selection is correct then click Yes.
4. Wait for a while, make sure no error on updating process.