[Q] Rooting - Nexus 6 Q&A, Help & Troubleshooting

Why would fastboot devices show all question marks, but adb devices gives me the proper serial number? I was able to unlock the bootloader, but thats it. I cannot flash TWRP to root.

PaisanNYC said:
Why would fastboot devices show all question marks, but adb devices gives me the proper serial number? I was able to unlock the bootloader, but thats it. I cannot flash TWRP to root.
Click to expand...
Click to collapse
while in the bootloader... fastboot flash recovery recoveryname.img

simms22 said:
while in the bootloader... fastboot flash recovery recoveryname.img
Click to expand...
Click to collapse
doesnt work. hangs and errors out (i know the basic commands. i have been rooting and rom'ing for years)

PaisanNYC said:
doesnt work. hangs and errors out (i know the basic commands. i have been rooting and rom'ing for years)
Click to expand...
Click to collapse
try a different usb chord, or a different port

did you try to get recovery to boot from RAM without flashing it? cant hurt to try
fastboot boot recovery_name.img

cmh714 said:
did you try to get recovery to boot from RAM without flashing it? cant hurt to try
fastboot boot recovery_name.img
Click to expand...
Click to collapse
its fastboot boot recovery recoveryname.img

simms22 said:
its fastboot boot recovery recoveryname.img
Click to expand...
Click to collapse
nope you are incorrect. but I will forgive you anyways

Try rash tool google play

cmh714 said:
nope you are incorrect. but I will forgive you anyways
Click to expand...
Click to collapse
huh? im incorrect?
normal recovery flash would be fastboot flash recovery recovery.img
that ells it what to do and into which partition it will go, so if you are only wanting it for a one time use, not a permanent flash, it would be fastboot boot recovery recoveryname.img you told it to boot instead of flash, and told it where it needs to be applied(recovery). hows that wrong?

simms22 said:
huh? im incorrect?
normal recovery flash would be fastboot flash recovery recovery.img
that ells it what to do and into which partition it will go, so if you are only wanting it for a one time use, not a permanent flash, it would be fastboot boot recovery recoveryname.img you told it to boot instead of flash, and told it where it needs to be applied(recovery). hows that wrong?
Click to expand...
Click to collapse
I didnt say flash I said boot from RAM which is what the command I said does....its not a flash of recovery, but he can see if that would work for him as a start
Cheers

cmh714 said:
I didnt say flash I said boot from RAM which is what the command I said does....its not a flash of recovery, but he can see if that would work for him as a start
Cheers
Click to expand...
Click to collapse
right.
your command.. fastboot boot recoveryname.img
my command.. fastboot boot recovery recoveryname.img
the difference is that im telling it where it gets applied. i didnt write flash, i wrote boot.

Partition is not specified when using fastboot boot.

rootSU said:
Partition is not specified when using fastboot boot.
Click to expand...
Click to collapse
well there you go, then i am wrong. at least i know why i am now

simms22 said:
well there you go, then i am wrong. at least i know why i am now
Click to expand...
Click to collapse
Happens to us all

rootSU said:
Happens to us all
Click to expand...
Click to collapse
especially since not just fastboot booting anything in years

simms22 said:
especially since not just fastboot booting anything in years
Click to expand...
Click to collapse
Indeed. I've only done it once myself. I don't see the need to, as I like to be prepared and to not rely on computer in case something how's wrong and I need recovery.

rootSU said:
Indeed. I've only done it once myself. I don't see the need to, as I like to be prepared and to not rely on computer in case something how's wrong and I need recovery.
Click to expand...
Click to collapse
well, it was @Amon_RA that taught me how, in 2009, lol. but havent had a computer since 2010, so..

Related

[Q] cwm does not appear to be permanent

I've fastboot into the device using cwm 2 from here http://forum.xda-developers.com/showthread.php?t=2172979
and it appears to not have loaded cwm permanently on the device
and went through the step using
http://forum.xda-developers.com/showthread.php?t=2265618
i dont know what i have not done at the moment that would have caused this
here is a screenshot of it when i boot into the device
Maybe
fastboot flash recovery recovery.img
vs
fastboot boot recovery.img
BenPope said:
Maybe
fastboot flash recovery recovery.img
vs
fastboot boot recovery.img
Click to expand...
Click to collapse
thanks Ben that works... looks like a lot of the guide have alot of this little mistake, i am not familar with these tool well enough to get it right...
thanks again

help!! my phone stuck

Hi ,
I installed the latest rom of andorid revolution (41,1 or something like that) and now my phone stuck on the logo screen.. I thought to install my older rom but when I entering to recovery mode I can't see the phone on the computer... I tried to do it with OTG cable but nothing helping me ((
what can I do? how can I get access to the phone sdcard ? help!!!!!!!!!!!
ariel2403 said:
Hi ,
I installed the latest rom of andorid revolution (41,1 or something like that) and now my phone stuck on the logo screen.. I thought to install my older rom but when I entering to recovery mode I can't see the phone on the computer... I tried to do it with OTG cable but nothing helping me ((
what can I do? how can I get access to the phone sdcard ? help!!!!!!!!!!!
Click to expand...
Click to collapse
do you have TWRP Recovery ?
if so with the usb-otg plugged in boot to TWRP
then go to restore, then where it says internel storage click it and choose usb-otg and it will mount the usb
go back to restore and your stuff should be their
clsA said:
do you have TWRP Recovery ?
if so with the usb-otg plugged in boot to TWRP
then go to restore, then where it says internel storage click it and choose usb-otg and it will mount the usb
go back to restore and your stuff should be their
Click to expand...
Click to collapse
and if I don't have?
ariel2403 said:
and if I don't have?
Click to expand...
Click to collapse
get it here >> http://techerrata.com/browse/twrp2/m7
Flash it:
fastboot flash recovery openrecovery-twrp-2.6.3.3-m7.img
fastboot erase cache
fastboot reboot-bootloader
Note: I'm assuming you don't have a Sprint or Verizon phone .. they use a different recovery
ariel2403 said:
(41,1 or something like that)
Click to expand...
Click to collapse
ariel2403 said:
and if I don't have?
Click to expand...
Click to collapse
http://techerrata.com/browse/twrp2/m7
or http://techerrata.com/browse/twrp2/m7ul
fastboot flash recovery <name of recovery>.img
fastboot erase cache
fastboot reboot-bootloader
you are aware that for 4.4 ROMs you need TWRP 2.6.3.3 or above, as mentioned in the "or something" thread:
Android Revolution HD 41.0
--- MD5 Checksum: 898914AB4F1A87FE0FC0E42E6B18DF7D ---
You need TRWP 2.6.3.3 recovery!
Flashing KitKat F.A.Q. - click here
Click to expand...
Click to collapse
clsA said:
get it here >>
Flash it:
fastboot flash recovery openrecovery-twrp-2.6.3.3-m7.img
fastboot erase cache
fastboot reboot-bootloader
Note: I'm assuming you don't have a Sprint or Verizon phone .. they use a different recovery
Click to expand...
Click to collapse
can I explain me easier? I don't understood what I need to do I need to enter to fastboot? and then what I need to do? sorry I know I am noob
ariel2403 said:
can I understand easier? I don't understood what I need to do I need to enter to fastboot? and then what I need to do? sorry I know I am noob
Click to expand...
Click to collapse
First get
fastboot getvar all
and post the results here minus you serial no and iemi
so we can help you get the correct file's
nkk71 said:
fastboot flash recovery <name of recovery>.img
fastboot erase cache
fastboot reboot-bootloader
you are aware that for 4.4 ROMs you need TWRP 2.6.3.3 or above, as mentioned in the "or something" thread:
Click to expand...
Click to collapse
After I done those commands the rom will work?
ariel2403 said:
After I done those commands the rom will work?
Click to expand...
Click to collapse
once you have done those commands, you will have to correct recovery to be able to successfully install ARHD 41.0.
once you are in TWRP 2.6.3.3 or .4 then you still need to "install" the ROM. (assuming you do not have a Sprint or Verizon phone)
clsA said:
First get
fastboot getvar all
and post the results here minus you serial no and iemi
so we can help you get the correct file's
Click to expand...
Click to collapse
I done what you said above but when I trying to choose USB OTG its not giving me to select that ..
ariel2403 said:
I done what you said above but when I trying to choose USB OTG its not giving me to select that ..
Click to expand...
Click to collapse
was it plugged in when you went to recovery ?
is it a compatible flash drive ? have you ever used it ?
clsA said:
was it plugged in when you went to recovery ?
is it a compatible flash drive ? have you ever used it ?
Click to expand...
Click to collapse
the cable is working I sure 100%... there written USB-OTG (0MB)
//////
omg I am such noob hhhh I undersood what to do I will try it now..
clsA said:
was it plugged in when you went to recovery ?
is it a compatible flash drive ? have you ever used it ?
Click to expand...
Click to collapse
when I trying to install the rom its writting that it failed and "error flashing zip"
Go into mouet storage and just leave data ticked... Then get your rom zip u wont 2 flash and rename it just to rom....then place it into your fastboot folder...open up adb....and type ...adb push rom.zip /sdcard/
Sent from my HTC One using Tapatalk
ariel2403 said:
when I trying to install the rom its writting that it failed and "error flashing zip"
Click to expand...
Click to collapse
did you md5 check the rom you put on the flash drive ?
MD5 check
clsA said:
did you md5 check the rom you put on the flash drive ?
Click to expand...
Click to collapse
Allways do a md5 check before fashing any recovery, rom or kernel. Any minor bit error could give you massive problems.
Just google MD5 checker and down a program or your pc, or use the md5 checker app from app-store.

Phone won't boot post Image flash

Phone won't boot post Image flash.
ericerk said:
Phone won't boot post Image flash.
Click to expand...
Click to collapse
what did you flash, and how? a bit more details are needed.
simms22 said:
what did you flash, and how? a bit more details are needed.
Click to expand...
Click to collapse
Nexus Developer images.
I've wiped cache, formated userdata.
It boots with an unlocked bootloader, but when you lock it it just bootloops.
ericerk said:
Nexus Developer images.
I've wiped cache, formated userdata.
It boots with an unlocked bootloader, but when you lock it it just bootloops.
Click to expand...
Click to collapse
odd.
simms22 said:
odd.
Click to expand...
Click to collapse
Yeah, I'm returning it today, and It's a problem if it won't boot...
ericerk said:
Yeah, I'm returning it today, and It's a problem if it won't boot...
Click to expand...
Click to collapse
have you tried reflashing?
simms22 said:
have you tried reflashing?
Click to expand...
Click to collapse
Multiple times.
Did you use the flash all.sh or flashall.bat? Cause that doesnt work! You need to flash the system images manually! Fastboot flash system system.img and so forth! Extract the images from the .zip
ericerk said:
Phone won't boot post Image flash.
Click to expand...
Click to collapse
Try using this tool, it saved me from bootloops, etc. Wug's Nexus Root Toolkit v1.9.9
drunkboi said:
Try using this tool, it saved me from bootloops, etc. Wug's Nexus Root Toolkit v1.9.9
Click to expand...
Click to collapse
I'll try that, though, I'm doing everything via commands that the toolkit would do.
ericerk said:
I'll try that, though, I'm doing everything via commands that the toolkit would do.
Click to expand...
Click to collapse
I see what you're saying... Well let us know if you have any success!
maddoggin said:
Did you use the flash all.sh or flashall.bat? Cause that doesnt work! You need to flash the system images manually! Fastboot flash system system.img and so forth! Extract the images from the .zip
Click to expand...
Click to collapse
I totally miss that post, yes, I manually flashed everything. Below is my "list"
Code:
fastboot flash bootloader bootloader-shamu-moto-apq8084-71.05.img
fastboot reboot-bootloader
sleep 5
#Name Radio...
fastboot flash radio radio-shamu-d4.0-9625-02.55.03a.img
fastboot reboot-bootloader
sleep 5
fastboot flash system system.img
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash cache cache.img
fastboot format userdata
fastboot flash userdata userdata.img
fastboot reboot

[Solved] Unable to boot into TWRP recovery?

Hello,
I recently flashed the latest TWRP beta for the OxygenOS 4.0.1 on my phone which has an unlocked bootloader. I managed to boot into recovery immediately after flashing the .img through my PC, so that's how I was able to install my SuperSU.
However, since I booted into the OS, anytime I'm trying to enter the TRWP recovery again, I'm stuck in the stock recovery which doesn't let me install anything. So the only way for me to boot into TWRP recovery is using my PC. Can anybody help me to fix that?
Thanks!
What command are you using to install TWRP to your bootpartition?
I think the correct one is something like:
Code:
fastboot flash recovery (file name).img
kwoad said:
What command are you using to install TWRP to your bootpartition?
I think the correct one is something like:
Code:
fastboot flash recovery (file name).img
Click to expand...
Click to collapse
Thanks for your reply! Exactly. And after installing it, I used the command 'fastboot boot TWRP.img", and that brought me into TWRP recovery. But I could only get there this way and still had the stock recovery.
Yuniboy said:
Thanks for your reply! Exactly. And after installing it, I used the command 'fastboot boot TWRP.img", and that brought me into TWRP recovery. But I could only get there this way and still had the stock recovery.
Click to expand...
Click to collapse
did you unlock bootloader first
Yuniboy said:
Thanks for your reply! Exactly. And after installing it, I used the command 'fastboot boot TWRP.img", and that brought me into TWRP recovery. But I could only get there this way and still had the stock recovery.
Click to expand...
Click to collapse
From what I understand, the command 'fastboot boot twrp.img' will boot the specified recovery once, but won't flash it to the device. So it has nothing to do with the recovery that is actually on your device. Perhaps something went wrong when you actually flashed twrp and it wasn't written at all.
xabat said:
did you unlock bootloader first
Click to expand...
Click to collapse
Thanks for both your replies. Yes, I did. An indicator is also that every time I boot up my system it even warns me that the bootloader is unlocked.
freepenguin84 said:
From what I understand, the command 'fastboot boot twrp.img' will boot the specified recovery once, but won't flash it to the device. So it has nothing to do with the recovery that is actually on your device. Perhaps something went wrong when you actually flashed twrp and it wasn't written at all.
Click to expand...
Click to collapse
Well, I flashed the twrp by booting into fastboot mode and then typing 'fastboot flash recovery twrp.img'. I don't know what's wrong there, so maybe you could help me out?
Yuniboy said:
Well, I flashed the twrp by booting into fastboot mode and then typing 'fastboot flash recovery twrp.img'. I don't know what's wrong there, so maybe you could help me out?
Click to expand...
Click to collapse
Unfortunately then I don't know how to help Because that's exactly what I did and I got TWRP running without any problem. If you flash via 'fastboot flash recovery' command will it be on the device after you reboot for the first time?
i remember, once i couldn't boot into recovery either when i used fastboot command. Then I flash recovery using tool below and it worked for me.
https://forum.xda-developers.com/oneplus-3t/development/toolkit-oneplus-3t-toolkit-unlock-t3507729
freepenguin84 said:
Unfortunately then I don't know how to help Because that's exactly what I did and I got TWRP running without any problem. If you flash via 'fastboot flash recovery' command will it be on the device after you reboot for the first time?
Click to expand...
Click to collapse
Apparently, you were right. I just wiped my device (accidentaly ) and flashed TWRP again, basically did the same steps as before, but now it works. Seems like somehow the installation of TWRP just failed on the first try. Thanks for your help!
xabat said:
i remember, once i couldn't boot into recovery either when i used fastboot command. Then I flash recovery using tool below and it worked for me.
https://forum.xda-developers.com/oneplus-3t/development/toolkit-oneplus-3t-toolkit-unlock-t3507729
Click to expand...
Click to collapse
Fortunately, it wasn't that bad. So the installation of TWRP failed somehow and I just reinstalled it. Thanks for your help!
kwoad said:
What command are you using to install TWRP to your bootpartition?
I think the correct one is something like:
Code:
fastboot flash recovery (file name).img
Click to expand...
Click to collapse
And For Samsung devices, any method via using ODIN
(Samsung E7/E700H)
freepenguin84 said:
Unfortunately then I don't know how to help Because that's exactly what I did and I got TWRP running without any problem. If you flash via 'fastboot flash recovery' command will it be on the device after you reboot for the first time?
Click to expand...
Click to collapse
Apparently "yes". Source this xda article- https://www.xda-developers.com/how-to-install-twrp/

HELP .dirtycow

my phoe is broken i need to flash twrp and i cant to do it ,i setup cyanogenmod recovery by mistake and this recovery is fault because i cant even transfer any files form computer to mobile .. i try to flash with sp tool but it give me error because my phone is broken ,i try also dirtycow v11 on my phone to try flash twrp but it cant read phone on the computer and i setup V21 rom ??
sorry for bad english
any HElp plaese?
meroher said:
any HElp plaese?
Click to expand...
Click to collapse
How you mean broken?
Can it boot to fastboot mode?
YEP IT CAN BOOT TO FASTBOOT ?! then what?
mrmazak said:
how you mean broken?
Can it boot to fastboot mode?
Click to expand...
Click to collapse
plaese man help me my mob is still broken ineed it now
meroher said:
plaese man help me my mob is still broken ineed it now
Click to expand...
Click to collapse
I don't get notified that you answer if you do not quote.
you only answered one of the questions. You did not tell what is "broke"
no help you if you do not know what you need help with.
mrmazak said:
I don't get notified that you answer if you do not quote.
you only answered one of the questions. You did not tell what is "broke"
no help you if you do not know what you need help with.
Click to expand...
Click to collapse
oki iget it
first i had a twrp recovery and i try to install other recovery so
i install this recovery
https://forum.xda-developers.com/r1-hd/development/beta-cyanogenmod-recovery-blu-r1-hd-t3462614
and this recovery cant let me to install any rom or to back to install twrp recovery
and blu cant boot up he freeze on blu white screen
any thing else i will tell you
thanks for you help
meroher said:
oki iget it
first i had a twrp recovery and i try to install other recovery so
i install this recovery
https://forum.xda-developers.com/r1-hd/development/beta-cyanogenmod-recovery-blu-r1-hd-t3462614
and this recovery cant let me to install any rom or to back to install twrp recovery
and blu cant boot up he freeze on blu white screen
any thing else i will tell you
thanks for you help
Click to expand...
Click to collapse
Ok you installed this cm recovery with twrp?
android is not booting. (v21)
the cm recovery does boot but not allow install anything.
And fastboot is loading.
probably need to fastboot flash boot.img , I will share a superSU patched version. (you do not need to root system if not wanted, but patched boot is needed to boot a moddified system)
and fastboot flash twrp.
download this zip.
extract files to your desktop
use these fastboot commands to test first
This one to boot the phone
Code:
fastboot boot %userprofile%\Desktop\su-boot.img
This one to boot twrp
Code:
fastboot boot %userprofile%\Desktop\twrp_p6601_7.1_recovery.img
mrmazak said:
Ok you installed this cm recovery with twrp?
android is not booting. (v21)
the cm recovery does boot but not allow install anything.
And fastboot is loading.
probably need to fastboot flash boot.img , I will share a superSU patched version. (you do not need to root system if not wanted, but patched boot is needed to boot a moddified system)
and fastboot flash twrp.
download this zip.
extract files to your desktop
use these fastboot commands to test first
This one to boot the phone
Code:
fastboot boot %userprofile%\Desktop\su-boot.img
This one to boot twrp
Code:
fastboot boot %userprofile%\Desktop\twrp_p6601_7.1_recovery.img
Click to expand...
Click to collapse
Quote:
FIRST WHEN SEE YOU POST I TRY THIS CODES BEFORE TRYING WITH YOUR CODES
Lets see how quick and easy this really is...
In the command line type:
Code:
fastboot devices
Seeing your serial number means we know all is good
Now lets type these commands:
Code:
fastboot erase system -w
fastboot erase boot
fastboot update superawesomerom.zip
Of course replace <superawesomerom.zip> with the correct file name
and last but not least:
Code:
fastboot reboot
THANKS IT WORKS BUT WHEN I GO TO RECOVERY IT GO TO BOOT directly again AND again
WHATS BROBLEAM !
meroher said:
Quote:
FIRST WHEN SEE YOU POST I TRY THIS CODES BEFORE TRYING WITH YOUR CODES
Lets see how quick and easy this really is...
In the command line type:
Code:
fastboot devices
Seeing your serial number means we know all is good
Now lets type these commands:
Code:
fastboot erase system -w
fastboot erase boot
fastboot update superawesomerom.zip
Of course replace <superawesomerom.zip> with the correct file name
and last but not least:
Code:
fastboot reboot
THANKS IT WORKS BUT WHEN I GO TO RECOVERY IT GO TO BOOT directly again AND again
WHATS BROBLEAM !
Click to expand...
Click to collapse
WOW
WTF
Idon't know who told you to use those commands, but I am not familiar with using
Code:
fastboot erase system -w
fastboot erase boot
fastboot update superawesomerom.zip
so i dont know what to tell you.
why do you say "it worked" but then say it "just boots again AND again"
to me that is not worked, that is mean it made bootloop. so not worked.
mrmazak said:
WOW
WTF
Idon't know who told you to use those commands, but I am not familiar with using
Code:
fastboot erase system -w
fastboot erase boot
fastboot update superawesomerom.zip
so i dont know what to tell you.
why do you say "it worked" but then say it "just boots again AND again"
to me that is not worked, that is mean it made bootloop. so not worked.
Click to expand...
Click to collapse
ok sorry
the mobile now in a bootloop as you say any solution to this issue and iam sorry again >>+
i get codes from here
https://forum.xda-developers.com/showpost.php?p=41374686&postcount=4
this post please stay with me to back up this phone
meroher said:
ok sorry
the mobile now in a bootloop as you say any solution to this issue and iam sorry again >>+
i get codes from here
https://forum.xda-developers.com/showpost.php?p=41374686&postcount=4
this post please stay with me to back up this phone
Click to expand...
Click to collapse
I am not aware of any zip file available to flash the way that guide had you try.
As it stands you wiped boot and system.
I am away from PC so typing is not as easy. I will be more detailed when I return.
Basically I suggest you to "flash" the boot.img I sent.
Then "boot" the recovery.
If the recovery then boots. Install a rom from my modifes stock roms thread.
oki i try install recovery but it same thing it go to white screen and restart again and again
i will wait for you to help me more thanks ><
mrmazak said:
I am not aware of any zip file available to flash the way that guide had you try.
As it stands you wiped boot and system.
I am away from PC so typing is not as easy. I will be more detailed when I return.
Basically I suggest you to "flash" the boot.img I sent.
Then "boot" the recovery.
If the recovery then boots. Install a rom from my modifes stock roms thread.
Click to expand...
Click to collapse
oki i will wait you thanks for your time
meroher said:
oki i will wait you thanks for your time
Click to expand...
Click to collapse
So this is what i suggest
use the files i gave before, unzipped to desktop.
This one to Flash boot.img
Code:
fastboot flash boot %userprofile%\Desktop\su-boot.img
This one to boot twrp.img
Code:
fastboot boot %userprofile%\Desktop\twrp_p6601_7.1_recovery.img
I expect that to give you a working twrp environment. Then go to linked thread and install really any version you want. But as you said you were on V21, so pick that one I supose.
https://forum.xda-developers.com/r1-hd/development/modified-8-3-stock-rom-t3602672
mrmazak said:
So this is what i suggest
use the files i gave before, unzipped to desktop.
This one to Flash boot.img
Code:
fastboot flash boot %userprofile%\Desktop\su-boot.img
This one to boot twrp.img
Code:
fastboot boot %userprofile%\Desktop\twrp_p6601_7.1_recovery.img
I expect that to give you a working twrp environment. Then go to linked thread and install really any version you want. But as you said you were on V21, so pick that one I supose.
https://forum.xda-developers.com/r1-hd/development/modified-8-3-stock-rom-t3602672
Click to expand...
Click to collapse
it works fine finally thanks very much for help :]:]:laugh::laugh:

Categories

Resources