How to Unroot the Nexus 9
Maybe you’ve had enough playing around with your rooted Nexus 9? Maybe you want to flash it back to the stock firmware to enjoy what pure Android has to offer you or maybe you need to send it in for warranty? Either way, this guide should help you unroot your Nexus 9 and get it back to stock. Here’s how:
Unrooting is the process of removing root access, a custom recovery (if you have one), and just trying to get the device back to as close to stock as possible.
Some of the reasons for unrooting your Nexus 9 are:
- Sending in the device for warranty (most, but not all unrooting procedures reinstate the manufacturer warranty if you had one before rooting).
- Starting over (simply undoing everything you did while rooted so you can have a clean slate to start over).
- Fix any issues (Maybe rooting messed something up? No problem, unrooting will take care of it for you).
Ready to get started? Here’s how to unroot the Nexus 9:
I. Before You Begin
1. You should’ve rooted your device using the procedure given here.
2. This should flash back the stock firmware on your device.
3. This should only work on Windows based PCs.
II. Downloading Required Files
1. Download ADB and save it to your desktop.
2. Download Factory Image for your Nexus 9 and save it to your desktop.
III. Unrooting the Nexus 9
1. Extract files from both ADB and Factory Image to your desktop by right-clicking on each of them and selecting Extract here.
2. Enable USB debugging and Enable OEM unlock on your device by heading to Menu > Settings > Developer options.
3. Plug in your device to your PC via USB cable.
4. Open a Command Prompt Window on your desktop. To do so, hold down Shift and right-click on any blank area on your screen and select Open command window here.
5. Type in following command into the Command Prompt Window and hit Enter:
adb reboot bootloader
6. Your device should reboot into bootloader mode.
7. Then issue the following command and hit Enter:
flash-all
8. It should do everything to unroot your device and get it back to stock firmware.
9. When that is done, reboot your device.
10. You’re all done!
Your Nexus 9 is now unrooted and is running the official stock firmware. To prevent any modifications to your system files, you may want to relock your bootloader. Here’s how you can do that:
IV. Relocking the Bootloader on the Nexus 9
1. Ensure that the USB debugging and Enable OEM unlock options are enabled on your device.
2. Plug in your device to your PC using the USB cable.
3. Launch a Command Prompt Window on your desktop by holding down Shift and right-clicking on any blank area and selecting Open command window here.
4. Type in following command into the Command Prompt Window and hit Enter:
adb reboot bootloader
5. Highlight the FASTBOOT USB option using Power buttons and select it using the Power key.
6. Now issue the following command:
fastboot oem lock
7. It should relock the bootloader on your device.
8. When it’s done, reboot your device.
9. You’re all done!
Brilliant! Your Nexus 9’s bootloader is now relocked to prevent any accidental modifications to the system files.
You can click here to find all of the Nexus 9 How To’s.
You can also find all of the Nexus 9 ROMs we have here.
Hi, i did all of instruction, but it still failed
C:Usersagung.beratha90DesktopNew folder>flash-all
sending ‘bootloader’ (2970 KB)… OKAY [ 0.272s]
writing ‘bootloader’… INFODevice State : Unlocked
INFOzip header checking…
INFOshift signature_size for header checking…
INFOzip info parsing…
INFOchecking model ID…
INFOstart image[hboot] unzipping for pre-update check…
INFOstart image[bct] unzipping & flashing…
INFO…… Successful
INFOstart image[mts_preboot_prod] unzipping & flashing…
INFO…… Successful
INFOstart image[mts_prod] unzipping & flashing…
INFO…… Successful
INFOstart image[hboot] unzipping & flashing…
INFO…… Successful
INFOstart image[nvtboot] unzipping & flashing…
INFO…… Successful
INFOstart image[nvtbootwb0] unzipping & flashing…
INFO…… Successful
INFOstart image[tos] unzipping & flashing…
INFO…… Successful
INFOstart image[sp1] unzipping & flashing…
INFO…… Successful
INFOstart image[gp1] unzipping & flashing…
INFO…… Successful
INFOstart image[pt] unzipping & flashing…
INFO…… Successful
OKAY [ 5.483s]
finished. total time: 5.755s
rebooting into bootloader… OKAY [ 0.031s]
finished. total time: 0.031s
archive does not contain ‘boot.sig’
archive does not contain ‘recovery.sig’
failed to allocate 1813984020 bytes
error: update package missing system.img
Press any key to exit…