Related
Taken FROM http://rootzwiki.com/topic/11732-galaxy-nexus-root-procedure-broken-adb-method-dont-use/
With the big change of YOU WILL BOOT LOOP WAIT FOR ADB TO RESPOND and push all the commands then pull the battery and disconnect your USB cable and reboot normal you should have perm root!
**As always RootzWiki nor myself are responsible if something goes wrong. Root your phone at your own risk with the understanding it will void your warranty and there is always a chance of something going wrong.**
*This method WILL WIPE YOUR DATA*
First download Galaxy Nexus FYA Root Package and extract it to c:\gnexroot (for the purposes of this guide)
Also if you wipe and format remember to re-enable Debug mode before restarting processes listed above.
Method
1. First, navigate to C:\gnexroot and install the Samsung drivers (Samsung_USB_Driver_for_Moblie_Phones_v1_4_6_0.exe)
1. If those drivers dont work download pdanet from here http://forum.xda-dev....php?p=19709279 and let pdanet install the drivers for you. Worked for some of us.
2. With the phone turned OFF, hold VOLUME UP + VOLUME DOWN and power the phone on. This will put you in bootloader mode.
3. Navigate again to C:\gnexroot, and hold SHIFT on your keyboard, and right click in the white space. Then, click 'Open command window here'
4. In the command prompt, type:
fastboot oem unlock
You will be prompted to confirm that you wish to unlock the bootloader. You do, of course.
5. Once the bootloader has been unlocked, it's time to boot up the device using the insecure boot.img (ro.secure=0 set in the ramdisk). This essentially means you have permanent root for the duration of this boot session. In order to boot up using that boot image, simply type:
fastboot boot boot.img
Don't expect to see anything wildly different during the boot process - it will boot as normal.
6. Once the phone has booted, in the command prompt window, type the following commands, pressing enter after each line:
adb root
adb remount
adb push su /system/bin
adb push Superuser.apk /system/app
adb shell chmod 06755 /system/bin/su
adb shell chmod 06755 /system/app/Superuser.apk
adb reboot
Again I did NOT write these steps nor did I take credit for this procedure. My goal was to have all this information easy to access here so people don't brick their new device
Edit:
If you get stuck at the google logo and cannot push adb commands, pull the battery and usb cable then reinsert and reboot. If this doesn't work Reboot into recovery and wipe everything and start over.
12/17/2011
If you do a factory restore remember to boot at least once after and re-enable debug mode.
anyone had the issue of not being able to unlock the bootloader?
i ran the command "fastboot oem unlock" and it just sticks at the response: <waiting for device>
but nothing shows on my phone.
aldouse said:
anyone had the issue of not being able to unlock the bootloader?
i ran the command "fastboot oem unlock" and it just sticks at the response: <waiting for device>
but nothing shows on my phone.
Click to expand...
Click to collapse
I would guess your computer is not recognizing the device. Try installing the drivers and connecting the phone to the computer while it is in normal mode not the bootloader. It should install the drivers correctly that way and your computer will then recognize it when you boot into the bootloader and the commands should work.
yea... you are right... it was the samsung drivers not fully loading. re-installed the drivers then doing a windows update showed that there's a new set of samsung drivers on the windows update that needed to be installed. that did the trick.
The superboot method worked just fine for me.
Sent from my Galaxy Nexus using Tapatalk
SomeGuyDude said:
The superboot method worked just fine for me.
Sent from my Galaxy Nexus using Tapatalk
Click to expand...
Click to collapse
same though I had a bootloop but it did root itself.
Sent from my Galaxy Nexus using Tapatalk
aldouse said:
anyone had the issue of not being able to unlock the bootloader?
i ran the command "fastboot oem unlock" and it just sticks at the response: <waiting for device>
but nothing shows on my phone.
Click to expand...
Click to collapse
You must be in recovery mode. Turn the phone off, press volume up and down as well as power. Keep it there until you're in recovery and then unlock.
Sent from my Galaxy Nexus using Tapatalk
innov8ion said:
You must be in recovery mode. Turn the phone off, press volume up and down as well as power. Keep it there until you're in recovery and then unlock.
Sent from my Galaxy Nexus using Tapatalk
Click to expand...
Click to collapse
Its not recovery mode, but fastboot mode. If you are in recovery fastboot won't be recognized. Looks like he got it fixed by checking his drivers.
can you also use this method for a Verizon Galaxy Nexus???
http://forum.xda-developers.com/showthread.php?t=1392310
is there any difference?
Superboot method actually does the same thing as this method from what I read just one is automatic and one is manual.
Being I didn't see anyone else rooting from Verizon I took the time to figure out a manual method so i can verify each step and figure out issues if I ran in to any. With Superboot its either it works or it doesn't there is no playing with procedures.
This should work for other carriers to, I can only verify it for Verizon though.
I get past <adb reboot bootloader> just fine but then when I do a <fastboot oem unlock> it just says "waiting for device" forever. everything is installed but under my drivers it says;
"Android 1.0" drivers not installed.
plz someone help, ive searched all over the net but only found help for HTC phones and 2007 old posts.
edit: I am in "Fastboot mode"
Update the Samsung ADB driver under device manager while you are sitting in the bootloader. I'm bootlooping after pushing the boot.img
got it working, "Note: 1" under this guide fixed it.
http://forum.xda-developers.com/showthread.php?t=1392310
thanks again XDA!!
GOod. Mine is still bootlooping back to the Google screen with a lock on it.
Booted into recovery, formatted. At least i can boot up now.
fatsix said:
GOod. Mine is still bootlooping back to the Google screen with a lock on it.
Booted into recovery, formatted. At least i can boot up now.
Click to expand...
Click to collapse
Sounds like you didn't successfully unlock your bootloader. Have you resolved this?
Done and rooted. Pushing APK's now.
I would recommend doing a full wipe first. I think something got corrupted during the forced wipe when unlocking.
After wiping, I started over. Unlocked and flashed the boot.img. Got a full normal reboot. Flashed it a second time, and it stayed at the google screen and i could connect to it with ADB. Pushed all the commands and rebooted. Works great.
Thank you.
I assume you need to have adb installed before doing this? Or do the command prompts perform from windows?
Sent from my SCH-I500 using Tapatalk
I had it previously installed. If you download the zip. its already in there, just run it right from the directory you unzip it from.
I would like to return my phone to stock. Locked, unrooted, and available for OTAs. Is there a way to do this yet?
craighwk said:
I would like to return my phone to stock. Locked, unrooted, and available for OTAs. Is there a way to do this yet?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1394051
After you complete that Run:
fastboot oem unlock
From the main instructions and simply relock it.
Does anybody know how to re-lock Galaxy Nexus without using fastboot ?
My computer recoqnize it as ADB however no matter how many times I install the driver it wont recoqnize it as fastboot.
The phone power button stop working and Google offer it to replace it.
However I need to re-lock the phone to send it back to them.
thanks
You need Fastboot. Are you putting the phone into Fastboot mode before you try?
If the phone is recognized by the PC and ADB works, then Fastboot should work just fine.
martonikaj said:
You need Fastboot. Are you putting the phone into Fastboot mode before you try?
If the phone is recognized by the PC and ADB works, then Fastboot should work just fine.
Click to expand...
Click to collapse
Yes the phone its in fastboot
since power button is not working, I press vol+ and - at the same time i put the battery on.
But the computer is not recoqnizing it.
I reinstall drivers and etc.
I have 2 galaxy nexus, the other one the computer recoqnize it.
ANy other idea how to put re-lock the bootloader without fastboot ?
hoodred said:
ANy other idea how to put re-lock the bootloader without fastboot ?
Click to expand...
Click to collapse
Has to use Fastboot.
Have you tried simply booting up normally and typing "adb reboot bootloader" and letting it enter Fastboot that way?
martonikaj said:
Has to use Fastboot.
Have you tried simply booting up normally and typing "adb reboot bootloader" and letting it enter Fastboot that way?
Click to expand...
Click to collapse
Yes,
It went to fast boot mode, the same like volume up+down and power. But the computer is not recoqnizing it. It recoqnize adb just not fast boot.
Hello, I've tried rooting my Nexus 7 (2013) with LTE for like 5 hours now...
I've done every single thing in every single thread, and I still can't do ****.
I've tried the WugFresh root toolkit, but that did not work at all for me, I uninstalled and remove what they told me to do... But nothing worked, when I followed the WugFresh toolkit I lost usb mass storage... N7 did not appear at all on my computer, which it did, before I tried to screw with it...
I've tried doing it the manual way too, downloading all the drivers, uninstalling the other onces first.. But nothing... I could not even get the device listed in adb! I tried the full driver installation thing + automatic check if everything worked out, but the tablet would NOT run the script to reboot it into fastboot, and when I tried to restart the tablet into fastboot, and then continue to run the toolkit, it would start TWRP, the popup on my computer told me to flash something "!flashready", but I could not find it in the sdcard...
I unlocked the n7 manually, holding the volume button and power button down.
I know that was very bad written, but I'm a bit in a hurry. Anything I could do?
Potetsjokolade said:
Hello, I've tried rooting my Nexus 7 (2013) with LTE for like 5 hours now...
I've done every single thing in every single thread, and I still can't do ****.
I've tried the WugFresh root toolkit, but that did not work at all for me, I uninstalled and remove what they told me to do... But nothing worked, when I followed the WugFresh toolkit I lost usb mass storage... N7 did not appear at all on my computer, which it did, before I tried to screw with it...
I've tried doing it the manual way too, downloading all the drivers, uninstalling the other onces first.. But nothing... I could not even get the device listed in adb! I tried the full driver installation thing + automatic check if everything worked out, but the tablet would NOT run the script to reboot it into fastboot, and when I tried to restart the tablet into fastboot, and then continue to run the toolkit, it would start TWRP, the popup on my computer told me to flash something "!flashready", but I could not find it in the sdcard...
I unlocked the n7 manually, holding the volume button and power button down.
I know that was very bad written, but I'm a bit in a hurry. Anything I could do?
Click to expand...
Click to collapse
So the current condition of your device is that ADB is nonfunctional but you are able to temporarily boot into TWRP with fastboot - is this correct?
Username invalid said:
So the current condition of your device is that ADB is nonfunctional but you are able to temporarily boot into TWRP with fastboot - is this correct?
Click to expand...
Click to collapse
Yes, that is correct, temporarily, with the toolkit I mentioned. But I do not find the files that the toolkit tells me to flash
Potetsjokolade said:
I've tried doing it the manual way too, downloading all the drivers, uninstalling the other onces first.. But nothing... I could not even get the device listed in adb! I tried the full driver installation thing + automatic check if everything worked out, but the tablet would NOT run the script to reboot it into fastboot, and when I tried to restart the tablet into fastboot, and then continue to run the toolkit, it would start TWRP, the popup on my computer told me to flash something "!flashready", but I could not find it in the sdcard...
I unlocked the n7 manually, holding the volume button and power button down.
Click to expand...
Click to collapse
I'm not sure what this means. If you're using a toolkit, you're not doing it manually. Have you tried ADB and fastboot alone, without a toolkit? Is TWRP on your phone now? If so, you're done; just flash from recovery 1) a ROM for a custom ROM or 2) SuperSU.zip for just root.
If you don't have TWRP, does your Google boot screen has a locked icon at the bottom? If so: for ADB to work you need to have debugging turned on in your phone's developer settings. You don't need ADB though; just reboot into the bootloader by holding power and volume-down. Then type "fastboot devices" and see if anything shows up.
If it's an unlocked icon, just flash a recovery.img from fastboot.
bananagranola said:
I'm not sure what this means. If you're using a toolkit, you're not doing it manually. Have you tried ADB and fastboot alone, without a toolkit? Is TWRP on your phone now? If so, you're done; just flash from recovery 1) a ROM for a custom ROM or 2) SuperSU.zip for just root.
If you don't have TWRP, does your Google boot screen has a locked icon at the bottom? If so: for ADB to work you need to have debugging turned on in your phone's developer settings. You don't need ADB though; just reboot into the bootloader by holding power and volume-down. Then type "fastboot devices" and see if anything shows up.
If it's an unlocked icon, just flash a recovery.img from fastboot.
Click to expand...
Click to collapse
Tried both manually with adb, and with WugFresh toolkit. I got WugFresh to run TWRP temporarily.
Potetsjokolade said:
Yes, that is correct, temporarily, with the toolkit I mentioned. But I do not find the files that the toolkit tells me to flash
Click to expand...
Click to collapse
The toolkit is using the command
Code:
fastboot boot openrecovery-twrp-2.6.3.0-deb.img
to temporarily boot it over the stock recovery. Since you unlocked your bootloader manually, you can replace the stock recovery manually too using
Code:
fastboot flash recovery openrecovery-twrp-2.6.3.0-deb.img
Username invalid said:
The toolkit is using the command
Code:
fastboot boot openrecovery-twrp-2.6.3.0-deb.img
to temporarily boot it over the stock recovery. Since you unlocked your bootloader manually, you can replace the stock recovery manually too using
Code:
fastboot flash recovery openrecovery-twrp-2.6.3.0-deb.img
Click to expand...
Click to collapse
How can I do that when my N7 does not show up on
adb devices
Click to expand...
Click to collapse
Getting "waiting for device"
Potetsjokolade said:
How can I do that when my N7 does not show up on
Click to expand...
Click to collapse
Fastboot is separate from ADB. Your fastboot is working if the toolkit is able to boot TWRP.
Code:
fastboot devices
is what you use while your device is in the bootloader.
Username invalid said:
Fastboot is separate from ADB. Your fastboot is working if the toolkit is able to boot TWRP.
Code:
fastboot devices
is what you use while your device is in the bootloader.
Click to expand...
Click to collapse
Great! I'll try that, just upoading openrecovery-twrp-2.6.3.0-flo.img to dropbox, just in case I'm able to flash it from download/
Potetsjokolade said:
Great! I'll try that, just upoading openrecovery-twrp-2.6.3.0-flo.img to dropbox, just in case I'm able to flash it from download/
Click to expand...
Click to collapse
openrecovery-twrp-2.6.3.0-flo.img is for the WiFi model. TWRP for the LTE model is openrecovery-twrp-2.6.3.0-deb.img.
Username invalid said:
The toolkit is using the command
Code:
fastboot boot openrecovery-twrp-2.6.3.0-deb.img
to temporarily boot it over the stock recovery. Since you unlocked your bootloader manually, you can replace the stock recovery manually too using
Code:
fastboot flash recovery openrecovery-twrp-2.6.3.0-deb.img
Click to expand...
Click to collapse
Where in windows should I paste openrecovery-twrp-2.6.3.0-deb.img, so I can then flash it? It showed up in fastboot devices
EDIT: Nevermind that stupid question
Potetsjokolade said:
Where in windows should I paste openrecovery-twrp-2.6.3.0-deb.img, so I can then flash it? It showed up in fastboot devices
Click to expand...
Click to collapse
C:\Program Files\WugFresh Development
Then in toolkit > Advanced Utilities > Launch CMD Prompt > "fastboot flash recovery openrecovery-twrp-2.6.3.0-deb.img"
Username invalid said:
C:\Program Files\WugFresh Development
Then in toolkit > Advanced Utilities > Launch CMD Prompt > "fastboot flash recovery openrecovery-twrp-2.6.3.0-deb.img"
Click to expand...
Click to collapse
Flashed custom recovery + superSU
Thanks guys... Could you help me solve the problem where Nexus 7 wont show up on "my computer"? :laugh:
Potetsjokolade said:
Flashed custom recovery + superSU
Thanks guys... Could you help me solve the problem where Nexus 7 wont show up on "my computer"? :laugh:
Click to expand...
Click to collapse
What do you see if your computer Device Manager with USB Debugging on?
Username invalid said:
What do you see if your computer Device Manager with USB Debugging on?
Click to expand...
Click to collapse
It's connected as MTP, USB Debugging is on, and it does not show up on My Computer as Nexus 7
However, if I connect it as as PTP, it will show up.
Potetsjokolade said:
It's connected as MTP, USB Debugging is on, and it does not show up on My Computer as Nexus 7
However, if I connect it as as PTP, it will show up.
Click to expand...
Click to collapse
I've never had that problem so I can't speak from experience.
http://forum.xda-developers.com/showthread.php?t=2428061&highlight=mtp
http://forum.xda-developers.com/showthread.php?p=44219641#post44219641
Hy
I had an unlocked bootloader phone. Yesterday I flashed the new Android 6, Europe version from the Huawei blog forum, no beta, on my Huawei GX8. I used the method, dload on SD card, Phone off an the press Volume down+volume up+Power button.The flashing was normaly.
Now the phone starts normaly but I can´t start fastboot. When the phone is off and i press Vol down + Power the phone start the android system and the Huawei logo is coming not the fastboot Modus. I can see my phone and the order under Windows but i can not control my phone with the fastboot command. (example: fastboot device. the answere ist searching devices, but it comes no resolution) I loaded the last version of Fastboot, but the problem is the same.
Please can you help me. What can i do? Many thanks for your help!
Should be connect the charger cable to the phone.
charger or computer
excuse me for bad english
No i use a data cable, debugging is on. I can copy data from my phone to PC or from PC to phone, but fastboot does not found my device.
bertl237 said:
No i use a data cable, debugging is on. I can copy data from my phone to PC or from PC to phone, but fastboot does not found my device.
Click to expand...
Click to collapse
And when you use adb to reboot to bootloader, what happen? Do you have "Minimal adb and fastboot tool" installed?
krispin said:
And when you use adb to reboot to bootloader, what happen? Do you have "Minimal adb and fastboot tool" installed?
Click to expand...
Click to collapse
Sorry for my question, what´s the differents about adb and fastboot tool? I have install the last version of minimal adb and the fastboot tool, also the Windows driver for the phone. Debugging is on. I try to connect my phone about the fastboot terminal. When i try to set the phone into the bootloader mod with the fastboot terminal and the equivalent command, fastboot say´s "searching phone". My phone does not react.
bertl237 said:
Sorry for my question, what´s the differents about adb and fastboot tool? I have install the last version of minimal adb and the fastboot tool, also the Windows driver for the phone. Debugging is on. I try to connect my phone about the fastboot terminal. When i try to set the phone into the bootloader mod with the fastboot terminal and the equivalent command, fastboot say´s "searching phone". My phone does not react.
Click to expand...
Click to collapse
So, you connect your phone, open minimal adb and fastboot too, run "adb devices", you see device id? If yes, run "adb reboot bootloader" . Phone shoult reboot to fastboot mode. Then run "fastboot devices" to see if it is connected properely.
i did it, like you described, but i see not my device id. Only the note "seach device"
Is it possible that TWRP is defect on my device? Is TWRP necessary for fastboot or only for root?
bertl237 said:
i did it, like you described, but i see not my device id. Only the note "seach device"
Is it possible that TWRP is defect on my device? Is TWRP necessary for fastboot or only for root?
Click to expand...
Click to collapse
No, you should be able to use adb and fastboot with stock recovery.
After first adb command you shoult approve authorization on your phone.
Here is screenshot from minimal adb...
Phone must be in MTP mode.
And here is phone in fastboot
Many thanks for your help, now I m in my bootloader.
2 problems i had.
1. My daemon was not started correctly, i have not seen my device.
2. I used the wrong command. I started with fastboot, not with the command adb device. I tap „fastboot reboot-bootloader“,but the correct command is “adb reboot-bootlader“
Now i have seen my phone is unlocked, i hope i can root my android 6.
bertl237 said:
Many thanks for your help, now I m in my bootloader.
2 problems i had.
1. My daemon was not started correctly, i have not seen my device.
2. I used the wrong command. I started with fastboot, not with the command adb device. I tap „fastboot reboot-bootloader“,but the correct command is “adb reboot-bootlader“
Now i have seen my phone is unlocked, i hope i can root my android 6.
Click to expand...
Click to collapse
Just reboot to fastboot and flash surdu-petru version of TWRP recovery 3.0.2 with command "fastboot flash recovery xxxxx.img". And than reboot to recovery and flash supersu zip.
Hi,
I have OP3 with broken screen but it turns on (there is a LED blinking , and on my computer I see the OP3 CD installation & the device but I cannot access the data)
TWRP is the bootloader , how can I extract the data?
drivers are installed and tried some threads search on the furom but none of them worked for me
on fastboot devices it doesnt see it
Lellouche said:
Hi,
I have OP3 with broken screen but it turns on (there is a LED blinking , and on my computer I see the OP3 CD installation & the device but I cannot access the data)
TWRP is the bootloader , how can I extract the data?
drivers are installed and tried some threads search on the furom but none of them worked for me
on fastboot devices it doesnt see it
Click to expand...
Click to collapse
Insufficient info.
Are you able to boot up? Are you able to boot to bootloader? Do you have TWRP and are you able to boot to it?
Is your bootloader unlocked? Are you rooted? Is USB debugging enabled?
Does "adb devices" / "fastboot devices" command find your phone? What ROM?
tnsmani said:
Insufficient info.
Are you able to boot up? Are you able to boot to bootloader? Do you have TWRP and are you able to boot to it?
Is your bootloader unlocked? Are you rooted? Is USB debugging enabled?
Does "adb devices" / "fastboot devices" command find your phone? What ROM?
Click to expand...
Click to collapse
sorry ,
I think I am able to boot to the bootloader (but I cannot see it since my screen is broken)
my bootloader is unlocked , device is rooted and USB debugging is enabled
while pressing Power+Vol UP I can get into fast boot and see my device on fastboot devices
anything else I need?
To clear things up, TWRP is recovery and not bootloader. Fastboot is bootloader.
So, if you can boot into TWRP, you should be able to use adb commands. Try booting into it, then try "adb devices" and see if it's properly detected (adb reports device's serial number and status "recovery"). You can then use "adb pull" command to get your data.
Sent from my OnePlus 3 using Tapatalk
Explorer23 said:
To clear things up, TWRP is recovery and not bootloader. Fastboot is bootloader.
So, if you can boot into TWRP, you should be able to use adb commands. Try booting into it, then try "adb devices" and see if it's properly detected (adb reports device's serial number and status "recovery"). You can then use "adb pull" command to get your data.
Sent from my OnePlus 3 using Tapatalk
Click to expand...
Click to collapse
my bad , since I dont have a screen , how can I boot into TWRP? is there are "blind commands" you can give me ?
Lellouche said:
my bad , since I dont have a screen , how can I boot into TWRP? is there are "blind commands" you can give me ?
Click to expand...
Click to collapse
Power + volume down should boot directly into recovery.
Sent from my OnePlus 3 using Tapatalk
Explorer23 said:
Power + volume down should boot directly into recovery.
Sent from my OnePlus 3 using Tapatalk
Click to expand...
Click to collapse
Im pressing both for a long time , nothing happens (I guess , since I dont ear any sound and I dont see the device on adb)
Lellouche said:
Im pressing both for a long time , nothing happens (I guess , since I dont ear any sound and I dont see the device on adb)
Click to expand...
Click to collapse
Ok, an alternative then:
- download latest TWRP .img file to your PC
- open command window in folder with the file (Shift + right click > open command window here)
- boot into fastboot (Power + Vol Down) - you said you managed that before - and connect the device to PC. If it's properly detected in fastboot, you can boot custom recovery with "fastboot boot <recovery-name>.img"
Phone should now restart and boot into previously downloaded recovery. Now you can try and see if adb works.
Easier option would be simply "fastboot reboot recovery", but that command is non-standard and doesn't work on OP3 if I remember correctly. You can try though, nothing to lose.
Explorer23 said:
Ok, an alternative then:
- download latest TWRP .img file to your PC
- open command window in folder with the file (Shift + right click > open command window here)
- boot into fastboot (Power + Vol Down) - you said you managed that before - and connect the device to PC. If it's properly detected in fastboot, you can boot custom recovery with "fastboot boot <recovery-name>.img"
Phone should now restart and boot into previously downloaded recovery. Now you can try and see if adb works.
Easier option would be simply "fastboot reboot recovery", but that command is non-standard and doesn't work on OP3 if I remember correctly. You can try though, nothing to lose.
Click to expand...
Click to collapse
That worked for me , Thanks!!