{"id":786,"date":"2013-08-31T05:37:44","date_gmt":"2013-08-31T04:37:44","guid":{"rendered":"http:\/\/cdblog.cdstealer.com\/?p=786"},"modified":"2013-09-01T07:04:22","modified_gmt":"2013-09-01T06:04:22","slug":"nexus-unlock-and-rootunroot","status":"publish","type":"post","link":"https:\/\/cdblog.cdstealer.com\/?p=786","title":{"rendered":"Nexus Unlock and Root\/Unroot."},"content":{"rendered":"<p>Original post is <a title=\"http:\/\/www.makeuseof.com\/tag\/how-to-easily-root-unroot-and-unlock-any-nexus-device\/\" href=\"http:\/\/www.makeuseof.com\/tag\/how-to-easily-root-unroot-and-unlock-any-nexus-device\/\" target=\"_blank\">here<\/a>.<\/p>\n<p>Before beginning, you\u2019ll want to install the <a href=\"http:\/\/developer.android.com\/sdk\/index.html\" target=\"_blank\">Android SDK tools<\/a> onto your computer so you can use tools such as fastboot and adb. Otherwise, you won\u2019t be able to communicate with your Nexus device.\u00a0 On Gentoo this is done by adding dev-util\/android-tools to \/etc\/portage\/package.keywords and then <strong>emerge -av dev-util\/android-tools<\/strong>.<\/p>\n<p><img decoding=\"async\" alt=\"nexus4_lte_fastboot\" src=\"http:\/\/main.makeuseoflimited.netdna-cdn.com\/wp-content\/uploads\/2013\/07\/nexus4_lte_fastboot.jpg\" \/><br \/>\nUnlocking the Nexus device is really simply. Boot it up into fastboot mode \u2014 on the Nexus 4, this is done by holding the Power + Volume Down buttons at the same time. Once you see a screen like above, open up a command line terminal and (assuming you\u2019re using Linux; adjust slightly as appropriate for other operating systems) type <code>fastboot devices<\/code>. If anything appears from this command, the computer recognizes the Nexus device. Then, type <code>fastboot oem<\/code> unlock, and accept the warning shown on the Nexus device by navigating with the Volume Buttons and accepting with the Power button. Congratulations, your Nexus device is now unlocked!<\/p>\n<p>Rooting manually is a little tricky, because rooting the stock version of Android (the one that Google provided that originally came with the device) used to be pretty tricky. At least with a Nexus device, you just need to download a flashable <a href=\"http:\/\/autoroot.chainfire.eu\/\" target=\"_blank\">CF-Auto-Root<\/a> file and flash that onto the device, giving you root access. However, you\u2019re still most likely going to need to use a custom recovery, and while you\u2019re at it you may as well install a custom ROM onto your device (which won\u2019t require an additional flash of CF-Auto-Root).<\/p>\n<p>Unrooting your device is nearly impossible to do without flashing stock back onto your device. You\u2019ll need to download the latest factory image from <a href=\"https:\/\/developers.google.com\/android\/nexus\/images\" target=\"_blank\">Google\u2019s Android Developer Images site<\/a>, and\u00a0move the two included .img files from the .zip into a separate folder, and then open the secondary .zip and move those .img files into the same separate folder as well.<\/p>\n<p>Then type the following commands into your computer while it is connected to the Nexus device:<\/p>\n<ol>\n<li><code>fastboot devices<\/code> (to make sure that the computer sees your Nexus 4)<\/li>\n<li><code>fastboot flash bootloader bootloader_xxxx.img<\/code> (Replace bootloader_xxxx.img with the actual file name)<\/li>\n<li><code>fastboot reboot-bootloader<\/code><\/li>\n<li><code>fastboot flash radio radio_xxxx.img<\/code> (Replace radio_xxxx.img with the actual file name. For Android 4.3, the version should end in a .84)<\/li>\n<li><code>fastboot reboot-bootloader<\/code><\/li>\n<li><code>fastboot flash system system.img<\/code><\/li>\n<li><code>fastboot flash userdata userdata.img<\/code><\/li>\n<li><code>fastboot flash boot boot.img<\/code><\/li>\n<li><code>fastboot flash recovery recovery.img<\/code><\/li>\n<li><code>fastboot format cache<\/code> (to remove any old traces of the old system)<\/li>\n<li>OPTIONAL: <code>fastboot oem lock<\/code> (this re-locks the bootloader to prevent future tinkering with the device, i.e. forces you to \u201cunlock\u201d the bootloader again and wipe the device before tinkering)<\/li>\n<li><code>fasboot reboot<\/code><\/li>\n<\/ol>\n<h2>Conclusion<\/h2>\n<p>You should now be back to a completely stock configuration for your Nexus device! Playing around with a Nexus device is a lot of fun, and it provides a great learning experience about how to tinker with Android. Above all, it can provide a lot of extra functionality (such as <a href=\"http:\/\/www.makeuseof.com\/tag\/how-to-enable-lte-on-the-nexus-4-it-can-be-done\/\" target=\"_blank\">LTE functionality on the Nexus 4<\/a>) that isn\u2019t built into Android itself \u2014 you just have to go find it yourself.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Original post is here. Before beginning, you\u2019ll want to install the Android SDK tools onto your computer so you can use tools such as fastboot and adb. Otherwise, you won\u2019t be able to communicate with your Nexus device.\u00a0 On Gentoo this is done by adding dev-util\/android-tools to \/etc\/portage\/package.keywords and then emerge -av dev-util\/android-tools. Unlocking the &hellip; <a href=\"https:\/\/cdblog.cdstealer.com\/?p=786\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Nexus Unlock and Root\/Unroot.<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[161,165,18,164,163,162],"class_list":["post-786","post","type-post","status-publish","format-standard","hentry","category-gentoo","tag-android-2","tag-google","tag-linux","tag-nexus","tag-root","tag-unlock"],"_links":{"self":[{"href":"https:\/\/cdblog.cdstealer.com\/index.php?rest_route=\/wp\/v2\/posts\/786","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cdblog.cdstealer.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cdblog.cdstealer.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cdblog.cdstealer.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cdblog.cdstealer.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=786"}],"version-history":[{"count":4,"href":"https:\/\/cdblog.cdstealer.com\/index.php?rest_route=\/wp\/v2\/posts\/786\/revisions"}],"predecessor-version":[{"id":791,"href":"https:\/\/cdblog.cdstealer.com\/index.php?rest_route=\/wp\/v2\/posts\/786\/revisions\/791"}],"wp:attachment":[{"href":"https:\/\/cdblog.cdstealer.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=786"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cdblog.cdstealer.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=786"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cdblog.cdstealer.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=786"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}