Root Nexus 4 on 4.2.2 JDQ39 - Nexus 4 General

FOLLOW THIS SITE: http://www.ibtimes.co.uk/articles/4...id422-jdq39-jellybean-install-cwmrecovery.htm
1) Download and install Android SDK from the Android Developers site. Set it up with downloading platform-tools and USB drivers package in SDK
2) Enable USB Debugging Mode [Press Menu>> Settings>> Applications. From there navigate and click on Development option and ensure the USB Debugging Mode is turned on.]
3) Download Fastboot and extract it in android-sdk-windowsplatform-tools directory [Alternative link]
4) Download SuperSU v1.04 (UPDATE-SuperSU-v1.04.zip) for Nexus 4 on the computer
5) Connect the phone to the computer using USB cable and copy the UPDATE-SuperSU-v1.04.zip file to the SD card of the phone
6) Switch off the phone
7) Download CWM 6.0.2.3 (recovery-clockwork-touch-6.0.2.3.-mako.img) and save it to the android-sdk-windowsplatform-tools directory on the computer
8) Enter Fastboot/Bootloader Mode on the phone by pressing and holding the Volume Down and Power buttons together for a few seconds until some texts appear on the screen. This is Bootloader Mode
9) Navigate to android-sdk-windowsplatform-tools directory and open the command prompt (Shift + Right Click>> Open Command Prompt)
10) Type the below mentioned command and then press Enter
fastboot flash recovery recovery-clockwork-touch-6.0.2.3-mako
11) Choose RECOVERY from the Fastboot menu and enter Recovery Mode
12) In CWM recovery, browse to 'flash zip from SD card' then select it using Power button. Press the Power button again to select 'Choose zip from SD card'
13) Using the Volume buttons navigate to Update-SuperSU-v1.04.zip file and select it using the Power button and confirm installation on the next screen. The installation should start.
14) Once the installation process is completed, return to the main recovery menu and select 'Reboot System Now' to reboot the phone. The device will take about five minutes to boot for the first time.
The Nexus 4 is now successfully rooted on Android 4.2.2 JDQ39 Jelly Bean firmware. Check for the SuperSU app in the app list. To ensure the root method is installed and working correctly, verify with the Root Checker app from Google Play Store.

Flashing SU binaries via recovery has been outlined extensively on this website, we have a thread stickied in this forum with step-by-step instructions
[HOW-TO] How to flash a factory image / return to stock / unlock / root #
..among several other reference threads and video guides. Another copy/paste from some website is not necessary.
Closed

Related

[GUIDE] Root Stock ICS Sense 3.6

Requirements:
Clockworkmod Recovery - Clockworkmod Recovery 5.5.0.4
Superuser App and Binary
Downloaded and installed latest HTC Drivers
USB Debugging enabled (Settings > Developer Options > USB Debugging checked)
USB Cable
Android SDK properly setup
As a precaution, it is a good idea to make sure that your battery is charged to at least 80%.
Instructions:
1. Download the Superuser App and Binary
2. Put your device into USB Mass Storage mode and place the downloaded zip (Superuser-3.0.7-efghi-signed.zip) on to your SDcard.
3. You will need to unlock your bootloader to continue. Navigate to http://www.htcdev.com, create an account, then select the Unlock Bootloader option. In the drop-down menu labeled 'Select your device', choose the 'HTC Vivid (AT&T)' option. It doesn't matter which model of the HTC Holiday you have.
4. Download the Clockworkmod PH39IMG.zip. Make sure your device is powered-off, plug in your USB cord, and power it on while holding the volume-down key. Press power again to select FASTBOOT. Extract the recovery.img from the PH39IMG.zip and flash it via fastboot using this command:
Code:
fastboot flash recovery /path/to/recovery/nameofrecovery.img
5. Once it says that it's finished flashing, hit the power again to select BOOTLOADER. Use the volume keys to navigate to RECOVERY, and select it by pressing power. Your device will now reboot into recovery.
6. In Clockworkmod recovery, select 'Install zip from sdcard > Choose zip from sdcard > Superuser-3.0.7-efghi-signed.zip'. Navigate by using the volume keys and select by using the power button.
Congratulations, your device is now rooted.

ROOT + CWM Nexus4 Android 4.2.2

This guide is for people who accidentally upgraded Nexus4 to android 4.2.2 and are not able to root using “mskip” Nexus4 Toolkit V1.3.0.
Also, this is the slightly revised version of rooting guide from “ibtimes.co.uk”, the original link is http://www.ibtimes.co.uk/articles/4...id422-jdq39-jellybean-install-cwmrecovery.htm
Credits goes to: “ibtimes.co.uk” and “mskip” for the Toolkit
Before rooting and flash the Clock Work Mode, you need to:
1. Install USB Driver for Nexus on the computer.
----- a. Use “mskip” ‘s Toolkit V1.3.0 to install USB driver or download here: http://www.mediafire.com/?8xb50uktar8096i
2. Do all the necessary backups: contact, settings, pics, and etc.
3. Unlock the bootloader.
-----a. You can still unlock the boatloader using Toolkit V1.3.0. Option “3. UnLock or Re-Lock your BootLoader”
-----b. You must enter Fastboot Mode to perform unlock: Vol Down + Power (Unplug USB first, and then when the fastboot mode appear, you can plug in the usb cable. If for some reason the toolkit does not list your device serial, choose reboot fastboot mode and/or check your USB driver).
4. Have enough battery for installation.
ROOT Nexus4 on Android 4.2.2 JDQ39 Jelly Bean
1. Download Android SDK and extract it. http://developer.android.com/sdk/index.html
2. Enable USB Debugging Mode:
-----a. Settings > About Phone > Build number
-----b. Press “build number” a few times, until it says you entering developer mode
-----c. Go back to settings, now you’ll see “Developer options”, press that, and check USB Debugging Mode
3. Download Fastboot and extract it in folder “sdk\platform-tools\”
4. Download supersu copy to Nexus4’s SD card through computer.
5. Download CWM 6.0.2.3 and save it to folder “sdk\platform-tools\”
6. Turn off phone and press Vol Down key + Power until entering fastboot/bootloader mode.
7. Go to folder “sdk\platform-tools\”, shift+right click and choose Open Command window here
8. Copy and paste “fastboot flash recovery recovery-clockwork-touch-6.0.2.3-mako.img” on to command prompt (without the “”) and hit enter.
9. Now, go to your phone and use Vol UP/Down to choose RECOVERY Mode, and press power to choose.
10. In the Clock Work Mode, choose “install zip from sdcard” > “choose zip from sdcard” > 0/ > Update-SuperSU-v.1.04.zip and press power buttom to confirm.
11. Once completed, go back to main menu and reboot the phone. And you have rooted Nexus 4 with CWM installed.
Hope this helps.
Thank you! I was wondering why Titanium Backup didn't work.

[GUIDE]- Easiest,Safest and Best way to ROOT NEXUS 5

This is a step by step guide to root Nexus 5
PLEASE MAKE A BACKUP of your files on your internal storage.
Unlocking bootloader will ERASE EVERYTHING.
Download the file below
http://d-h.st/YGm
Step1: go to Settings->About Phone > hit the “Build Number” until you get “You are now a developer”.
Step2: go to Settings->“Developer options and turn ON “USB debugging” .
Step3: Connect the device to computer.
Step4: For Windows,we need to install drivers.
Right click on My computer and select Manage and select Device Manager
you should see something like nexus 5,
now double click on that and select update drivers..
choose Browse my computer for device software > let me pick from a list > select install from disk >set path to usb_driver file in
extracted folder.
Now you should see something like Android ADB Interface..(do it again if you dont see this)
Step5: Next, open command prompt(win+r > cmd) and type: cd downloads ( or wherever you have downloaded the file to )
cd Nexus5
adb devices
you should get : 'list of devices attached'
some code and " device"
if you don't get this and instead get offline,then check USB debugging is enabled or not and reconnect the device and install drivers again
in device manager(step4)
Step6: Turn off your Nexus 5.Then hold down Volume Down and Power buttons together for 3 seconds until you see the bootloader menu.
Step7: Connect the cable again and open Device Manager and install drivers again( step 4)
This is because you connected the device in another mode and hence pc recognizes it as a new device
Step8: . Go to command prompt and type: fastboot oem unlock
Step9: Go to your Nexus 5 screen and use Volume buttons to select “Yes” and hit the Power button. This WILL ERASE EVERYTHING
and unlock the bootloader.
Step10: Your phone reboots and you get the welcome screen like the day you unboxed it..
Step11: Now log in with a account and connect it to computer and copy the UPDATE-SuperSU-v1.65.zip file to internal storage.
Step12: Power off your Nexus 5. Then hold Volume Down and Power buttons together until you see the bootloader menu then connect
USB cable from Nexus 5 to your computer.
Step13: Go to command prompt and type: fastboot flash recovery openrecovery-twrp-2.6.3.1-hammerhead.img (for TWRP)
OR
fastboot flash recovery recovery-clockwork-6.0.4.4-hammerhead.img (for CWM)
Step14: Next, use Volume buttons on your Nexus 5 and choose “Recovery mode” and hit the Power button.
Step15: Once in CWM or TWRP recovery, choose “Install zip from sdcard” or “Install”. (choose “choose zip from sdcard” for CWM.)
Step16: Browse your internal storage and find the file UPDATE-SuperSU-v1.65.zip. Install this file to root your Nexus 5.
Now your Nexus 5 is ROOTED.
Step17: Next, choose “reboot” from main menu of CWM or TWRP recovery.
:good:Your NEXUS 5 is now ROOTED:good:
PLEASE hit the THANKS:good: button if my post is useful
I think this already exists. Also you don't need to turn your phone off you can just use the command "adb reboot bootloader"
Sent from my Nexus 5 using Tapatalk
This info is already in the sticky post by Chromium, please read first and post second as saves repeat posts: http://forum.xda-developers.com/showthread.php?t=2507905
MisterEff said:
I think this already exists. Also you don't need to turn your phone off you can just use the command "adb reboot bootloader"
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
This method is a bit easy than those already existing..
And this for those who are new to android with all downloads in one file....
AvRS said:
This info is already in the sticky post by Chromium, please read first and post second as saves repeat posts: http://forum.xda-developers.com/showthread.php?t=2507905
Click to expand...
Click to collapse
Ive added all required files into one zip including drivers and hence no need to download android sdk..
This method is easy to follow for beginners.
help
i need some help. i can't go pass step 13 because it won't let me install TWRP. help :crying:
gerardoeliazz said:
i need some help. i can't go pass step 13 because it won't let me install TWRP. help :crying:
Click to expand...
Click to collapse
for the command to work, you should first be in the directory...
paste the downloaded Nexus 5.zip on desktop , extract it on desktop, then do the following..
> windows key + r
or
go to start and find "run" and type "cmd"
in command prompt, type
> cd Desktop
> cd Nexus 5
> now type fastboot flash recovery openrecovery-twrp-2.6.3.1-hammerhead.img

Nexus 5 [L] Official OTA Files (url) - LRX21O

ZIP (url) has been pulled out from Nexus 5 OTA update and you can download it below:
LRX21O - http://android.clients.google.com/packages/ota/google_hammerhead/c1a33561be84a8a6a7d5a4c8e3463c4db9352ce6.signed-hammerhead-LRX21O-from-KTU84P.c1a33561.zip
If you don't want to wait for OTA to hit your device just manually flash OTA with instructions below,
this will not wipe your entire device when flashing, good luck.
Instructions:
1. Install the latest Android SDK version
2. Enable USB Debugging and plug your device into computer.
3. Now when you got it installed go into it and go into folder "platform-tools". Now hold shift + right click and choose "open command prompt"
5. Type in it "adb devices"
6. You should now get serial number of your device, something like 02b21dc22d device
7. Now download that file from above and put it into platform-tools.
8. Now type this: adb reboot bootloader
9. Use volume keys to navigate into recovery, select with power button. Your phone will now reboot into stock recovery.
10. With Volume Down, highlight “apply update from ADB.” Press Power to choose it.
11. Back to your PC, type the following command: adb sideload <filename of update.zip>
12. Thats it, wait for it to finish then reboot your phone.
*Added instructions
This information is already widely available. There are 2 threads right here on Page 1 of Nexus 5 General
[REF] Nexus 5 Stock OTA URLs
[INFO] Nexus 5 OTA Help-Desk
Closed

I am having trouble finishing the rooting of my HTC Desire 626s

I have posted the instructions bellow that I have been following.
1. I got the bootloader unlocked.
2. The fastboot flash recovery went through ok
3. Is were the problem is. The instructions say after flashing the img in place
it is time to open Cynogen Mod menu and flash in the SuperSU file. The
instructions say to reboot to bootloader > boot to recovery mode then hit the
power button. At this point the Cyanogen Mod recovery mode menu is
supposed to come up. And then navigate to were the SuperSU.zip file is.
The problem is that the Cynogen Mod menu never comes up. All I get is
the following picture bellow. Then the phone reboots to normal operating mode.
The phone works 100% but it still isn't rooted. I don't know how to fix this.
The boot loader screens aren't the same as I have seen in video turtorials that I
have seen. I can post those screen captures as well if needed.
----------------------
Complete, detailed, step-by-step root procedure for HTC Desire 626s
Credits
- I did not come up with the procedure to root this phone - that work was done by member @hackvcs - I just put this guide together using the method that he developed (and using the custom recovery that he put together). Please give all credit to @hackvcs!!! Also, the links to the files below are not my links - they are links that other members provided (member who provided them is listed below).
Pre-requistes/Downloads:
- HTC Desire 626s phone
- Official TWRP Recovery Images: https://twrp.me/devices/htcdesire626s.html - Thanks @Captain_Throwback!
- Recovery images (custom CyanogenMod recovery and stock recovery image) - provided by @hackvcs (https://mega.nz/#!sp0wCThZ!MQVTq6y_8...hnaLRq8UiqLruQ)
-SuperSU binary .zip file - link provided by @mussio (https://download.chainfire.eu/696/SuperSU)
1. Unlock bootloader
- Enable "Unknown Sources" on your phone:
- Settings->Security: Check "Unknown Sources" checkbox
- Enable "Developer Mode" and enable "USB Debugging" and "OEM Unlocking" settings
- Settings->About->Software Information->More: Tap on "Build Number" 7 or more times until it tells you that Developer Mode is enabled.
- Settings->Developer Options: Enable "OEM Unlocking" and "USB Debugging" options.
- Actually unlock the bootloader by going to the HTCdev "Unlock Bootloader" website (www.htcdev.com/bootloader) and following the directions to unlock your bootloader. You will need to create an account on this website before being able to unlock the bootloader. I'm not going to provide step-by-step instructions for the bootloader unlock procedure since the HTCdev website already provides a step-by-step procedure. However, here are a few key notes regarding this procedure:
- The bootloader unlock procedure will reset your phone back to factory defaults. Make sure to backup anything that you need on the phone before unlocking the bootloader. You can optionally install the "HTC Sync Manager" (link provided on HTCdev website) to backup your phone before starting the process.
- In the "Select your device" box on the first screen of the bootloader unlock procedure, select "HTC Desire *" as the device type.
-If you are running the latest firmware on your phone, you do not need to worry about the phone update page when you first start the unlock process - just scroll to the bottom of the screen and click the "Proceed to Step 1" button to start the procedure.
- You will need to install Java if you don't already have it installed - there is a link to download Java right on the same page as the bootloader unlock procedure.
- You will need to download and install the fastboot binaries provided in step 4 of the bootloader unlock procedure. Unzip the fastboot.exe file included in the zip to a directory that you will use to root your HTC Desire 626s (I recommend creating a new directory for this - something like "C:\HTC626s") - later, you will also put the other files you need (recovery image file and SuperSU binary .zip file) into this same directory so that everything is in one place
2. Install custom recovery
Once you have successfully unlocked your bootloader, you will need to flash a custom recovery (TWRP recommended). This recovery image will replace the stock recovery on your phone and allow to flash the SuperSU binaries in the next step.
- Connect your phone to the PC via USB cable and let the PC install the necessary drivers for the phone.
- Power off phone
- Reboot the phone into "Download" mode:
- While holding the Volume Down button, press the device Power button. Continue to hold the Volume Down button until the phone boots into "Download" mode. To confirm that the bootloader is unlocked and that you are in "Download" mode, you should see the following two lines at the top of the screen:
- "hTC download mode"
- "*** Unlocked ***"
- Once you have confirmed that you are in download mode and the bootloader is unlocked, it's time to flash the custom recovery:
- Open a Command Prompt (aka DOS prompt) window and change to the directory where you put the fastboot.exe file. If using the recommended directory, you would type this command in the Command Prompt window to change to that directory:
- Type "cd \HTC626s" and press [ENTER]
- Make sure that the recovery file is in the same directory (type "DIR" and press [ENTER] to see the files in the current directory). If it is not in the current directory, put it there before continuing (via Windows Explorer). Also, I'd recommend renaming the recovery image to "recovery.img" - it makes typing the commands a little easier and reduces the likleyhood of a typo. So before continuing, you should have both "fastboot.exe" and "recovery.img" in the current directory.
-In the command prompt window, type "fastboot flash recovery recovery.img" and press [ENTER] - this will flash the custom recovery to your device.
3. Install SuperSU superuser binaries
Now that we have the bootloader unlocked and the CyanogenMod recovery installed, we are set to flash the SuperSU binaries to actually root the device. Before continuing, make sure that you have copied the SuperSU binary .zip file to the internal storage on your phone! Once we boot into CyanogenMod, you will have to navigate to this .zip file in order to install it. It MUST be on the *internal* phone storage (not on the MicroSD card).
- Reboot your phone into recovery:
- Power off the phone
- Power on the phone while holding the "Volume Down" button. Keep holding "Volume Down" until the phone boots into Download mode.
- Scroll down to "Reboot to bootloader" and press the power button.
- Once in bootloader mode, scroll down to "Boot to recovery mode" and press the power button. At this point, you should be in the CyanogenMod recovery menu.
- Scroll down to "Apply Update" and press the power button
- Scroll down to "Choose from internal storage" and press the power button
- Navigate to where you stored the SuperSU .zip file and select it - the SuperSU binaries will be installed on the phone.
-That should do it! You should now have a rooted HTC Desire 626s. Reboot the phone into Android and confirm that you have a SuperSU icon in your app drawer and then confirm that the device is actually rooted.

Categories

Resources