[How-To] Root Nexus 5! [Windows & Mac] [Video] - Nexus 5 General

Here's is a guide to show you how to root your Nexus 5 for both Windows and Mac! (Yes, there are other guides on XDA, but they don't show you step by step and for both Windows and Mac and with a video tutorial.)​
THIS WILL DO A FACTORY RESET ON YOUR PHONE! Back it up.
Guide for Windows:
All FILES and STEP-BY-STEP INSTRUCTION FOR WINDOWS ROOTING METHOD HERE (also includes pictures for each step):
http://www.androidrootz.com/2013/11/how-to-root-nexus-5-windowsmaclinuxubun.html
Guide for Mac:
All FILES and STEP-BY-STEP INSTRUCTION FOR MAC ROOTING METHOD HERE (also includes pictures for each step):
http://www.androidrootz.com/2013/11/how-to-root-nexus-5-windowsmaclinuxubun.html
Yes, this does give you the official TWRP Recovery for Nexus 5!
Feel free to ask questions, I will try to respond to as many as I can.​

Related

Root guide with lots of pictures and instructions [AndroidNZ]

Hi everyone,
I see more people than usual having issues with Rooting their Nexus 7 because of problems with booting into CWM recovery post flash - thought I would do a nice plain and easy to follow guide including instructions for booting into CWM recovery from a command point (thanks to Wugfresh for his Toolkit which is used in the guide).
http://www.androidnz.net/2012/07/how-to-root-your-nexus-7.html
Porting the full guide here, first the text because that is a simple cut n paste job, images to follow soon:
Before we get down into the nitty-gritty of the guide itself you should familiarise yourself with our usual disclaimers at the beginning of this post. I say this not because we don't care if you have problems, it's just that our capacity to trouble shoot is limited, and you shouldn't have embarked on an adventure to Root your device unless you did your due diligence first and had some understanding of what you were up to. One final disclaimer weasel-word at the off: the CWM recovery ports for the N7 are still a little iffy at this stage and even when taking appropriate steps to make it permanent you may only be able to boot into it via a command prompt window. Expect updates once fixes are available.
Disclaimers out of the way, here are the things you will need:
A Nexus 7, fully charged
A windows PC (the guide may work on macs via Windows virtual environments, but that isn't confirmed by us and is outside the scope of this guide)
The appropriate Nexus 7 USB drivers, there are several ways to get these:
Preferred method - Go to this thread at XDA-Developers and download and install the Root Toolkit there, which has an automated drivers installation included (this is preferred because it is what the guide that follows is based on because the Toolkit is probably going to be the most straightforward for the majority to use, and even if it fails and they have to resort to using command prompts that is more easily done from the Toolkit). Many many thanks to WugFresh at XDA for producing such a noob-friendly Rooting application - please consider making a donation to him here.
Install the Android SDK from here. Please note if you are already an SDK user that the Google USB drivers in the SDK have updated with the release of the Nexus 7 and Jelly Bean and you should update your drivers from within the SDK itself
Install the universal drivers from this post at XDA-Developers, but please make note of how you will need to adjust fastboot commands if you are using these drivers
Go to this post at XDA-Developers and install the USB drivers from there if you have no luck whatsover with any of the other methods
OK, now that you've got the Root Toolkit let's proceed (if you plan to do this with the SDK and command prompts then you should be advanced enough to follow the guide here, I did the first time and if you've done this stuff before the process is trivial).
Open the Root Toolkit, at the prompt to select your device scroll down to the bottom and select the Nexus 7 and the version number that corresponds to the firmware installed on your Nexus 7 (you can find this out in Settings --> About tablet --> Android version)
You'll be greeted with a screen that looks like this:
Click on Initial Setup and use the automatic driver installation facility from here to install USB drivers, it will check that ADB and Fastboot commands are working before dropping you back to the install window.
Turn on USB Debugging in the Nexus 7 by navigating to Settings --> Developer options. Turn on Developer options using the toggle in the top right hand corner, and then turn on USB debugging
Connect your Nexus 7 to your computer with the micro USB cable that came in the box. At this point it is vital that your computer recognises the Nexus 7 as a connected device, you will know if it has because a Nexus 7 "AutoPlay" window should pop up and ask you what action you want to take. If it doesn't show up, pull down the notification tray and press on the notification that says "Connected as a media device". A new menu will open and select the "Camera (PTP)" option. You should now get the AutoPlay window.
Head back to the Toolkit, and select "Unlock" from here, be aware that this will wipe your device (you might want to take a backup if you've already installed a lot of stuff on the device, that's just a button click away also in the Toolkit)
This will boot the device up to a screen giving you the option to unlock the bootloader, with "Yes" selected hit the power button. You'll see some text in the top left corner telling you it is unlocking the device, and then you will see the red "Locked" text toward the bottom of the screen change to "Unlocked". Moments later the device will reboot, and because it will have been wiped you will need to either set it up again or just skip past set-up and get back to the homescreen.
Once you're back onto the home screen, connect as you did before and take the same steps to turn on USB debugging and get the AutoPlay prompt to appear. Then go back to the Toolkit and select the Root option with permanent CWM recovery. All things going well the process will be fully automated from here, it will check that ADB and Fastboot are working, push the SU and CWM files to the device, boot the Nexus 7 into it's bootloader, flash CWM recovery to the device, and then reboot with Root privileges and a fresh new recovery permanently installed.
...or so the theory goes. Using this method I get Root, but CWM recovery is only accessible via command prompt, and I see others having the same problem. So...
Accessing CWM recovery:
In the Root toolkit go to Advanced Utilities by launching it here:
On the next screen select Launch CMD Prompt:
Once the command prompt appears type: ADB reboot recovery - the phone will boot into CWM recovery for you, so you can do things like make Nandroid backups, install zip files and so forth
Installing the 4.1.1 update post-Root and installation of CWM recovery:
Install OTA Rootkeeper by Supercurio from the Play Store here
Open the app once installed and grant it SuperUser privileges
In the app select "Protect Root", and then "temp unroot" the device
Download a zip of the 4.1.1 update here.
Copy it to the internal SD of the Nexus 7
Access CWM recovery as per the instructions above. In this version of CWM recovery you will navigate the options with the volume keys and press the power button to select an option - do that to navigate to "Install zip from SD card" and press the home button
On the next screen go to down "Toggle signature verification" and toggle it until it says "disabled" at the bottom of the screen (it should be set to default to disabled, but you lose like 5s making sure)
Go up to install zip, navigate to the zip file you downloaded in step one and install it
When the device reboots go to OTA Rootkeeper and restore Root, viola! You're done!
So, after all is said and done you should have a Rooted Nexus 7, running the 4.1.1 update, and with a custom recovery that can only be accessed via command prompt. Don't forget to shout WugFresh, the Toolkits developer, a coffee - make a donation here.
Would be nice if you posted that guide on this forum too.
Thanks for the guide.
Oooohh pictures
Caliyork said:
Oooohh pictures
Click to expand...
Click to collapse
You know, for the totally acopic
Will this work on the new Build number JRO03D? Or should I wait until he updates the toolkit?
Dillon610 said:
Will this work on the new Build number JRO03D? Or should I wait until he updates the toolkit?
Click to expand...
Click to collapse
No idea. You can simply downgrade to an older stock image using his Toolkit though and then follow the same process used in the guide to update to the latest build.
"Meh" at requirement #2:
A windows PC
Click to expand...
Click to collapse
I haven't ran Windows for years. I hope there's a way to do this with Linux (assuming a computer is even needed?)
I remember rooting my Optimus T with Z4 root... one click, bingo bango, done.
JaSauders said:
"Meh" at requirement #2:
I haven't ran Windows for years. I hope there's a way to do this with Linux (assuming a computer is even needed?)
I remember rooting my Optimus T with Z4 root... one click, bingo bango, done.
Click to expand...
Click to collapse
"Windblows"
Any way to do on Mac? Also I'm new but what will root do that out of box won't? Any guides that help explain this? Thanks!
mario24601 said:
Any way to do on Mac? Also I'm new but what will root do that out of box won't? Any guides that help explain this? Thanks!
Click to expand...
Click to collapse
There's a wiki on cyanogenmod.com that explains root.
mario24601 said:
Any way to do on Mac? Also I'm new but what will root do that out of box won't? Any guides that help explain this? Thanks!
Click to expand...
Click to collapse
Should be doable on mac in a windows virtual environment, which seems to be how most mac users are doing things here at XDA.
Actually looking for someone to write "for mac" guides, if anyone is up for that!

[Q] Rooting for Linux Users?

All my computers are running Ubuntu so I can't run the Qemu script to root my KFHD.
I'm new to this, so can someone please point me towards where I can learn how to root without using Windows?
Also, is there an advantage to using Superuser as opposed to SuperSU?
Thanks in advance!
Just follow the same steps as you would for Mac users. There are several links on how to do the manual method, just search around.

[rom][android m][preview 2] nexus 5

For all those complaining insufficient information to flash Preview 2 of Android M to your nexus 5, here is the comprehensive guide to flashing the preview.
Install ADB and Fastboot to your computer
Follow this link http://forum.xda-developers.com/showthread.php?t=2588979&__utma=248941774.236267929.1403796127.1403796127.1403796127.1&__utmb=248941774.4.10.1403796127&__utmc=248941774&__utmx=-&__utmz=248941774.1403796127.1.1.utmcsr=google%7Cutmccn=%28organic%29%7Cutmcmd=organic%7Cutmctr=%28not%20provided%29&__utmv=-&__utmk=25906750
For MAC/linux
Follow this link
http://forum.xda-developers.com/showthread.php?t=2564453
Remember to head into settings > developer options and enable USB Debugging first.
download Android M Developer Preview from Google website for your specific device http://developer.android.com/preview/download.html
unzip these files to a folder you can access Desktop preferably
If your Nexus is not bootloader unlocked you should do that first.
Open a Terminal in the adb folder and type the command below then hit enter.
adb reboot bootloader
In Fastboot type:
fastboot oem unlock
Then hit enter. Follow the on-screen instructions and choose to erase the device. Wait a minute or so for it to unlock. This removes everything on your device.
If your bootloader is already unlocked, reember to wipe data before flashing. Do this by using these commands in cmd or terminal
fastboot devices
fastboot erase userdata
fastboot erase cache
fastboot reboot
How to Flash the Image
Now open the folder containing the unzipped Android M System Image file you downloaded. Type cmd in the address bar. Type the following commands posted below and hit enter. On a Mac you can open Terminal in the folder by enabling terminal shortcuts in settings. This is key for Mac users. Head to System Preferences and select Keyboard > Shortcuts > Services. Find “New Terminal at Folder” in the settings and click the box. Now when you’re in Finder, just right-click a folder and you’re shown the open to open Terminal.
Once in terminal simply copy and paste the commands below to install the Android M beta to your Nexus 5, Nexus 6, Nexus 9, or even the Nexus Player.
flash-all.bat
This will flash all of the needed files. If you are on a Mac or other computer you will need to type;
sudo ./flash-all.sh
This will push all of the files and update your device to the just released Android M developer preview beta. The files will start pushing and installing and your Nexus device may reboot and you will see an Android figure and then a moving Android logo. The logo screen may stay for a long time. Don’t unplug the device. This may last 10 minutes or longer.
It’s worth noting that some users may experience a “missing system.img” error and the installation will be aborted. This is because the way you’re trying to flash the update. Instructions on how to get around this can be found right here. Essentially users will need to unzip the update.zip folder and move all the images to the original folder we mentioned above, then manually flash them one by one, vs the flash-all command mentioned above. Only do this if you run into issues.
If you run into bootloop, follow this guide http://forum.xda-developers.com/google-nexus-5/help/bootloop-android-m-preview-2-t3154608/post61802470#post61802470
ENJOY!
Credits: Cory Gunther http://www.gottabemobile.com/2015/05/28/install-android-m-beta-download/
Thanks for the work for us.
I was able to install M2... but i am having trouble getting it rooted.. please help.. seems to be in bootloop.
Jaws4God said:
I was able to install M2... but i am having trouble getting it rooted.. please help.. seems to be in bootloop.
Click to expand...
Click to collapse
Manual here http://forum.xda-developers.com/google-nexus-5/development/rom-android-m-t3121186
@buildsaurabh
Thanks for the PM.
It is kinda convincing that this guide is more elaborate and a safe way to do this...even if it is the same result at the end.
I hope this helps others.
Thread open again
thanks for the guide, but this is not a rom just a tutorial hence the thread title should be changed accordingly.
Not to be that guy,
#1 do we really need another tutorial on how to flash your nexus?
#2 not a ROM its a tutorial
#3 the development section is not the place for this.
Plus there's already a dedicated android M thread.
Sent from my Nexus 5 using XDA Free mobile app
is anyone having issues with video playback? with despair 1.8 it would play audio with no video.. with elementalx.. it would play video but distorted.. anyone else having this issue?
buildsaurabh said:
[rom][android m][preview 2] nexus 5
Click to expand...
Click to collapse
This isn't a ROM, it's a guide so moved to General.
OP, please change the title to reflect this. Its misleading.
Looks like a "hit count" thread to me
Sent from my Nexus 5 xda-dev app

Nexus 6 -no command error!

I`m trying to get a shamu ota image on my nexus, 6 via adb sideload,but computer not recognising my nexus 6,Im a complete novice so any help would be much appreciated
Use the "install drivers" function of Wugfresh Nexus Root Toolkit to set up your PC drivers, then look for tutorials to walk you through how to maintain your Nexus.

** HACKINTOSH **MacOS Ventura PC/Laptop GUIDE

MacOS Ventura HACKINTOSH Guide
PC/Laptop​
Requirements Needed
16 GB USB
Internet Connection
You also need to have access to a fully functional Mac OS system using Mojave or above
because we will be using the Mac Store to download a copy of Mac OS to create
a bootable USB later on in this guide...​
Click to expand...
Click to collapse
Downloading Mac OS Ventura​
Method #1: Using Beta Profile
The first method is one of the easiest methods and can be done within two steps.​
STEP 1: Accessing macOS Developer Beta Access Utility
The very first step is to download the Developer Beta Access Utility. To download macOS Developer Beta Access Utility, follow the steps below.
A. Visit Beta Profiles on your Mac.
B. Scroll down to macOS 13 Download and click on Install Profile.
STEP 2: Installing macOS Developer Beta Access Utility
The next step is to install macOS Developer Beta Access Utility which will provide an update for macOS Ventura. To install the Developer Access Utility, follow the steps below.
A. Open the macOSDeveloperBetaAccessUtility.dmg using double click which you downloaded in the step 1 - B portion above.
B. Install the package file. When prompted, enter your password and proceed with the installation.
STEP 3: Download macOS Ventura
After installing the macOS Developer Beta Access Utility, an update will be detected in System Preferences>Software Update.
1. Click on Upgrade Now button and the software update will start downloading the copy of macOS Monterey.
2. Once the download finishes, a copy of macOS Monterey can be found under the Applications folder.
Click to expand...
Click to collapse
This is the end of Method #1
​
Method 2: Using gibMacOS
The second method is one of the easiest methods and can be done within two steps.
​STEP 1: Downloading gibMacOS
The very first step is to download gibMacOS. To download gibMacOS, follow the steps below.
A. Visit gibMacOS on your Mac.
B. Click on Code button and then select Download Zip.
C. Extract the .Zip file to your working directory.
STEP 2: Downloading macOS Ventura
The next step is to download macOS Ventura using the gibMacOS script. To download macOS Ventura, follow the steps below.
A. Double click on gibMacOS.command to open.
You'll get a list of available products for download.
B. From the options, type "C" and press enter key and you'll get SU Catalog.
C. From the options, select 4 which is for Developers, and press enter key and It will start downloading the catalog.
D. Type 1 and press enter key which is for "macOS 13 Beta 13.0 (22A5266r)."
The script will start downloading the files. Once this is done, a screen will pop up showing files downloaded
E. Quit Terminal
The downloads can be found under the following directory listed below ...​ Code : /Users/yourusername/Downloads/gibMacOS-master/macOS Downloads/developer/012-20267- 13.0 macOS 13 Beta
Note : /yourusername/ = computer user name for your system​STEP 3: Accessing macOS Ventura Installer
The next step is to access the macOS Ventura installer. To access the installer, follow the steps below.
A. Open the InstallAssistant.pkg file using double click which you downloaded in step #2.
B. Install the package file. When prompted, enter your password and proceed with the installation.
After installing the package file, the macOS Ventura installer will appear under the Applications folder.
Click to expand...
Click to collapse
Note : You should only continue to follow this guide once you have used method #1 or #2 to Download macOS Ventura.. Do not proceed until you have finished!​
STEP 2: Create macOS Ventura Bootable USB
Once you have obtained macOS Ventura Installer, the next step is to create macOS Bootable USB. To create macOS Ventura Bootable USB, refer to the guide below​​A. Insert your USB Flash Drive and open Disk Utility. The Disk Utility is located at /Applications/Utilities/Disk Utility
B. Select your USB Flash Drive in the left pane and click on Erase button, at top.
C. A pop-up will appear.
D. Under Name type USB
E. Under Format select Mac OS X Extended (Journaled)
F. Under Scheme select GUID Partition Map, and click on Erase.
G. When done, click on Done.
H. Launch terminal, located at /Applications/Utilities/Terminal.
I. Copy and paste the following sudo command in terminal.
Code : sudo /Applications/Install\ macOS\ 13\ Beta.app/Contents/Resources/createinstallmedia --volume /Volumes/USB
10. Enter your password
11. Press (Y) to confirm and then press enter key and it will start to erase the disk and will create macOS Bootable USB.
Once the process completes, close the terminal. The USB Flash Drive will be renamed Install macOS Ventura.
Click to expand...
Click to collapse
STEP 3: Preparing OpenCore EFI
The next step is to prepare OpenCore EFI for booting the installer. Depending on your system, create the OpenCore EFI using the guide linked below.​
NOTE : For this part of the installation, you will need to have some patients and a little bit of time. Preparing and EFI file for your specific hardware can be time consuming... There are a whole bunch of varieties of hardware combinations for peoples systems out there and I simply cannot explain to you how to set up your personal EFI file for the OpenCore portion of this guide. So I will leave a link below this for a website you can visit and it will guide you through the setup of creating an EFI file for your specific hardware on your target machine for your "HackinTosh" . I will mention the guide has a program you can use but it has to be done on a system with macOS Mojave or later...​LINK : Oc GEN-EX EFI Creator​
Click to expand...
Click to collapse
​
STEP 4: Setup BIOS/UEFI
Before you go and try to boot using the USB Installer, you should set up your BIOS/UEFI first. To set up your BIOS, refer to the steps below for further guidance​Former Windows Machine BIOS
A. You will need to figure out your BIOS mode key before restarting your PC. It could be ESC, F1, F2, F9, F12, Etc...
B. Once booted into BIOS, you will need to Enable UEFI Mode. You may need to Switch over to legacy or disable secure boot also
Machine that is running macOS already
A. Secure Boot Disabled
B. USB Boot : ENABLED
C. Boot Mode : UEFI​
NOTE : Now keep in mind you may have to search for these settings in advanced mode and in boot mode settings. If you are having issues finding these options, please use a mobile device to reasearch how to enable these settings on your particular Bios Configuration... This goes for both current macOS systems and target Hackintosh System​
Click to expand...
Click to collapse
STEP 5: Booting the Installer using USB
After preparing your installation USB, EFI and setting up your BIOS/UEFI, you're ready to install it on the target Mac or PC​A. Turn on your target System.
B. Boot to Boot Menu.
C. Select your USB Flash Drive with the UEFI Prefix and press enter to boot.
D. When at OC Boot picker, select Install macOS 13 Beta and press enter to boot and the installer will load in a while.
Click to expand...
Click to collapse
STEP 6: Installing macOS Ventura​A. When at the installation screen, select your preferred language and continue
B. Select Disk Utility and continue, click on View, and select Show all Devices.
C. Now select your Hard Drive or SSD on which you want to install macOS and use the following parameters below to erase your drive.
Name : Macintosh HD
Format : APFS
Scheme : GUID Partition Map
D. Close Disk Utility
E. Select Install macOS and continue with the options.
F. Now select Macintosh HD and click on Continue.
Note : Step #6 will format the target disk. Proceed with caution. This will take a couple of minutes and will restart at "Less than a minute is remaining". Upon completion, the system will automatically restart. Your Mac will restart to complete the installation.
Here it ends the first phase of the installation.
G. When your Mac restarts, select Boot macOS Install from Macintosh HD or (Your drive name) and then boot.
It will continue the second phase of the installation. Upon completion, your Mac will automatically restart.
Click to expand...
Click to collapse
STEP 7: Finishing macOS Setup​After finishing the macOS installation, it's time to set up the macOS for the first usage with the newly installed macOS.
When you're at the welcome screen, continue with the basics options such as Keyboard setup, Network, Computer Account, and Privacy settings.
Now the installation is complete!
First Install may take a while because caches are not built yet. After first boot up, next time you restart or boot up, it will be much faster
Enjoy! You now have macOS Ventura
Click to expand...
Click to collapse
Credits go to
GUIDE - How to Install macOS Ventura on PC [Intel/AMD]
How to Install macOS Ventura on PC [Intel/AMD] The following guide is a complete installation guide for installing a fresh copy of macOS Ventura on PC. The post-installation has been covered in another section. The required tools and downloads are available at the forum. Requirements...
elitemacx86.com
Nameless Foe said:
MacOS Ventura HACKINTOSH Guide
PC/Laptop
Downloading Mac OS Ventura
This is the end of Method #1
Note : You should only continue to follow this guide once you have used method #1 or #2 to Download macOS Ventura.. Do not proceed until you have finished!
​
Click to expand...
Click to collapse
Looks like you copied it entirely from the link below
GUIDE - How to Install macOS Ventura on PC [Intel/AMD]
How to Install macOS Ventura on PC [Intel/AMD] The following guide is a complete installation guide for installing a fresh copy of macOS Ventura on PC. The post-installation has been covered in another section. The required tools and downloads are available at the forum. Requirements...
elitemacx86.com
FASTERR said:
Looks like you copied it entirely from the link below
GUIDE - How to Install macOS Ventura on PC [Intel/AMD]
How to Install macOS Ventura on PC [Intel/AMD] The following guide is a complete installation guide for installing a fresh copy of macOS Ventura on PC. The post-installation has been covered in another section. The required tools and downloads are available at the forum. Requirements...
elitemacx86.com
Click to expand...
Click to collapse
Yes. It's a copy of it. Thanks for letting me know lol
Nameless Foe said:
Yes. It's a copy of it. Thanks for letting me know lol
Click to expand...
Click to collapse
And you think it is really good to have a copy/paste of guides from the original site to some other sites without giving the credits? I think credits should be given where due.
what laptops supported hackintosh ventura?
Needs to be somthing with decent specs. Don't try with an older pc. It's not going to run well
Interesting, I did not know this works on amd. I suppose on a ryzen gaming laptop it wouldn't be able to use the dedicated GPU , in theory .. Or would it be able to take control of it.
Syntaxerror_s said:
Interesting, I did not know this works on amd. I suppose on a ryzen gaming laptop it wouldn't be able to use the dedicated GPU , in theory .. Or would it be able to take control of it.
Click to expand...
Click to collapse
That's a great question. Give it a try in a Virtual Machine first before you do it all the way on your pc
Nameless Foe said:
That's a great question. Give it a try in a Virtual Machine first before you do it all the way on your pc
Click to expand...
Click to collapse
I don't own a PC. I use a Mac.
It will work on your mac
Nameless Foe said:
That's a great question. Give it a try in a Virtual Machine first before you do it all the way on your pc
Click to expand...
Click to collapse
You still need a Mac though
Nameless Foe said:
Needs to be somthing with decent specs. Don't try with an older pc. It's not going to run well
Click to expand...
Click to collapse
like what ? I need specific model to buy it
mosadramadan said:
like what ? I need specific model to buy it
Click to expand...
Click to collapse
The easiest way is to find a laptop that somebody has already installed OSX to and has posted their OC or Clover configuration online.
hint: search GitHub for: hackintosh and the model names of laptops you are able to find in your pricerange

Categories

Resources