Bootlooped and cannot use TWRecovery - Nexus 5 Q&A, Help & Troubleshooting

Hello,
My nexus 5 is currently stuck in a bootloop and TWR is asking for a password to decrypt my data and wipe cache/dalvik. Is there anything i can do to get it out of the loop or is my phone dead?
Thanks for reading, any advice is greatly appreciated.

Does your computer recognizing your device? Can you go into bootloader,if yes,try to go back to stock rom,and flash stock recovery.

Fastboot flash cache cache.img
Sent from my Nexus 5 using Tapatalk

Simonna said:
Does your computer recognizing your device? Can you go into bootloader,if yes,try to go back to stock rom,and flash stock recovery.
Click to expand...
Click to collapse
Thanks dude. Flashed stock rom + recovery and its working fine again.

rootSU said:
Fastboot flash cache cache.img
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Where do you get the cache img from?
Sent from my Nexus 5 using Tapatalk

Ben36 said:
Where do you get the cache img from?
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
The factory image, in there is a zip, extract it

I think Ben3.6 knew the answer and he was asking in place of the OP
so, for the OP, here are the factory images. http://forum.xda-developers.com/showthread.php?t=2513701

Related

Wiped cache, turned off frozen phone, now I'm having all sorts of issues.

Looks like I might have corrupted the cache. How do I go about fixing this?
Fastboot flash the stock cache image
Sent from my Nexus 5 using Tapatalk
rootSU said:
Fastboot flash the stock cache image
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
My device is locked. Is there a way to do it without losing data?
Never mind. It somehow fixed itself.

Nexus 32 GB reporting 12.86 GB storage

Hi, can someone point me to a fix for a Nexus 5 32.00 GB reporting 12.86 GB after going from stock, to custom, to stock then back to a custom rom?
Understand that its a common 'fault', but can't seem to find the fix.
Thanks, in advance.
Alex
alexdpaul said:
Hi, can someone point me to a fix for a Nexus 5 32.00 GB reporting 12.86 GB after going from stock, to custom, to stock then back to a custom rom?
Understand that its a common 'fault', but can't seem to find the fix.
Thanks, in advance.
Alex
Click to expand...
Click to collapse
factory reset in stock recovery
GtrCraft said:
factory reset in stock recovery
Click to expand...
Click to collapse
OK, so I have a customer recovery, TWRP.
Where do I acquire the Nexus 5 stock recovery and do I just reflash it to the device?
Are there any other things i need to do besides flash the stock recovery?
Thanks
alexdpaul said:
OK, so I have a customer recovery, TWRP.
Where do I acquire the Nexus 5 stock recovery and do I just reflash it to the device?
Are there any other things i need to do besides flash the stock recovery?
Thanks
Click to expand...
Click to collapse
Pull the img files from stock rom here - https://developers.google.com/android/nexus/images
And fastboot the recovery img
Do the reset. Then fastboot back twrp
Actually you may find after extracting the img you probably can use twrp's flash img option to do it
Sent via tapatalk from my cataclysm'd Lollipooop Nexus 5
Ben36 said:
Pull the img files from stock rom here - https://developers.google.com/android/nexus/images
And fastboot the recovery img
Do the reset. Then fastboot back twrp
Actually you may find after extracting the img you probably can use twrp's flash img option to do it
Sent via tapatalk from my cataclysm'd Lollipooop Nexus 5
Click to expand...
Click to collapse
OK, reflashing stock recovery not going so well.
Have a red triangle showing on the recovery mode.
Now going to plan B, reflashing stock rom to (hopefully) get a working the stock recovery.
This could be a long night ..................
OK, now realise that the red triangle isn't an issue.
Managed the factory reset, and voila, there's the 26 GB storage back again.
Thanks for your help, Alex

Restoring Nexus 5 to stock: will it replace TWRP?

Hi all,
I have a Nexus 5 that I'm trying to return to stock. I'd like to keep the bootloader unlocked, however. If I follow the instructions here (minus the bootloader lock part): https://developers.google.com/android/nexus/images will I be all good to go with a completely wiped, good-as-new phone? Also, will this overwrite TWRP, which I currently have on the phone?
If you follow the instructions and flash everything, yes it'll go back to stock and replace twrp with stock recovery as well
If you flash the img files individually, you don't have to flash the recovery img if you want to keep twrp tho
Sent from my Nexus 5 using Tapatalk
thephantom said:
If you follow the instructions and flash everything, yes it'll go back to stock and replace twrp with stock recovery as well
Click to expand...
Click to collapse
Thanks! I think I'll just do that, but I'll keep the bootloader unlocked in case I need to flash more things later.
Powered_By_Linux said:
Thanks! I think I'll just do that, but I'll keep the bootloader unlocked in case I need to flash more things later.
Click to expand...
Click to collapse
If you're flashing stock, remember there's a built-in behaviour that checks for stock recovery: if it's not there, it will overwrite whatever is there (twrp, in this case) with stock recovery, on every reboot.
You'll need to take care of this if you want a stock+twrp permanent combo.
Sent from my Nexus 5 using Tapatalk
beekay201 said:
If you're flashing stock, remember there's a built-in behaviour that checks for stock recovery: if it's not there, it will overwrite whatever is there (twrp, in this case) with stock recovery, on every reboot.
You'll need to take care of this if you want a stock+twrp permanent combo.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
I never knew that!
Sent from my Nexus 5 using Tapatalk
Ben36 said:
I never knew that!
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
After looking at this guide, it says that you need to do a factory reset in the stock recovery after flashing all the images. Is this outdated information?
Ben36 said:
I never knew that!
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Yep, next time you're on stock checkout /system/install-recovery.sh and /system/recovery-from-boot.p files.
Sent from my Nexus 5 using Tapatalk

Possible change font without root?

If is possible, how? i remember flipfont for my old nokia
I don't think so, pretty sure u need to add the font to system in order for it to be seen and without root u can't gain access to system files
Sent from my Nexus 6 using Tapatalk
soupysoup said:
I don't think so, pretty sure u need to add the font to system in order for it to be seen and without root u can't gain access to system files
Sent from my Nexus 6 using Tapatalk
Click to expand...
Click to collapse
Using a custom recovery to flash zip font packages would bypass android altogether.
Sent from my Nexus 5 using Tapatalk
beekay201 said:
Using a custom recovery to flash zip font packages would bypass android altogether.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
This is true, I guess u could also manually add the font using twrp and the included file manager, u would have to set permissions as well but it would work, didn't think about that, but again, that's assuming he's rooted or at the very least has an unlocked bootloader so he can flash the recovery
Sent from my Nexus 6 using Tapatalk
soupysoup said:
This is true, I guess u could also manually add the font using twrp and the included file manager, u would have to set permissions as well but it would work, didn't think about that, but again, that's assuming he's rooted or at the very least has an unlocked bootloader so he can flash the recovery
Sent from my Nexus 6 using Tapatalk
Click to expand...
Click to collapse
Yep. Well, he should just need to boot twrp, don't think there's a need to flash it.
Sent from my Nexus 5 using Tapatalk
beekay201 said:
Yep. Well, he should just need to boot twrp, don't think there's a need to flash it.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Well if he currently doesn't have twrp installed he's going to have to flash twrp first, and the only way to do that if he isn't rooted already is by using fastboot or a Toolkit of some kind, its a very simple process just:
fastboot flash recovery "recovery.img"
And done
Sent from my Nexus 6 using Tapatalk
soupysoup said:
Well if he currently doesn't have twrp installed he's going to have to flash twrp first, and the only way to do that if he isn't rooted already is by using fastboot or a Toolkit of some kind, its a very simple process just:
fastboot flash recovery "recovery.img"
And done
Sent from my Nexus 6 using Tapatalk
Click to expand...
Click to collapse
Try 'fastboot boot "recovery.img"'...
Sent from my Nexus 10 using Tapatalk
beekay201 said:
Try 'fastboot boot "recovery.img"'...
Sent from my Nexus 10 using Tapatalk
Click to expand...
Click to collapse
All fastboot boot will do is boot the stock recovery unless he's previously flashed twrp/cwm, if he's never installed a custom recovery, the "fastboot boot recovery" is useless
Sent from my Nexus 6 using Tapatalk
Thanks for help!
soupysoup said:
All fastboot boot will do is boot the stock recovery unless he's previously flashed twrp/cwm, if he's never installed a custom recovery, the "fastboot boot recovery" is useless
Sent from my Nexus 6 using Tapatalk
Click to expand...
Click to collapse
Is that a new thing on 6.0?
wangdaning said:
Is that a new thing on 6.0?
Click to expand...
Click to collapse
Nope, been able to do that sf long as I can remember, and I've had every Nexus device since the galaxy Nexus
Sent from my Nexus 6 using Tapatalk
soupysoup said:
Nope, been able to do that sf long as I can remember, and I've had every Nexus device since the galaxy Nexus
Sent from my Nexus 6 using Tapatalk
Click to expand...
Click to collapse
I meant not being able to "fastboot boot (custom recovery)"
I do it all the time on many devices, so was curious why you mentioned it would boot stock recovery. Always boots twrp when I use it, but I have never tried it on M so was wondering if something changed.
wangdaning said:
I meant not being able to "fastboot boot (custom recovery)"
I do it all the time on many devices, so was curious why you mentioned it would boot stock recovery. Always boots twrp when I use it, but I have never tried it on M so was wondering if something changed.
Click to expand...
Click to collapse
Oh no I was only saying that if he had never installed twrp on the device the fastboot boot recovery command would only boot the stock recovery. If twrp was installed prior tho it would boot twrp like u said
Sent from my Nexus 6 using Tapatalk
wangdaning said:
Is that a new thing on 6.0?
Click to expand...
Click to collapse
What he said only makes sense if that's the case.
Still, I find it hard to believe that if I 'fastboot boot twrp.img', TWRP won't run.
Sent from my Nexus 10 using Tapatalk
---------- Post added at 01:34 PM ---------- Previous post was at 01:31 PM ----------
soupysoup said:
Oh no I was only saying that if he had never installed twrp on the device the fastboot boot recovery command would only boot the stock recovery. If twrp was installed prior tho it would boot twrp like u said
Sent from my Nexus 6 using Tapatalk
Click to expand...
Click to collapse
Mate, let's clear this up:
EVEN if you don't have TWRP installed, and you do 'fastboot boot <twrp-2.x.x.x.img', the device WILL boot into TWRP, WITHOUT flashing.
Sent from my Nexus 10 using Tapatalk
beekay201 said:
What he said only makes sense if that's the case.
Still, I find it hard to believe that if I 'fastboot boot twrp.img', TWRP won't run.
Sent from my Nexus 10 using Tapatalk
---------- Post added at 01:34 PM ---------- Previous post was at 01:31 PM ----------
Mate, let's clear this up:
EVEN if you don't have TWRP installed, and you do 'fastboot boot <twrp-2.x.x.x.img', the device WILL boot into TWRP, WITHOUT flashing.
Sent from my Nexus 10 using Tapatalk
Click to expand...
Click to collapse
Twrp still needs to be on the device in order to boot it, u don't necessarily need to flash it, but if twrp is not on the device, how can it boot twrp? I've never booted it without flashing it, so I may be wrong, but I don't see how u could boot an image that's not there lol
Sent from my Nexus 6 using Tapatalk
soupysoup said:
Twrp still needs to be on the device in order to boot it, u don't necessarily need to flash it, but if twrp is not on the device, how can it boot twrp? I've never booted it without flashing it, so I may be wrong, but I don't see how u could boot an image that's not there lol
Sent from my Nexus 6 using Tapatalk
Click to expand...
Click to collapse
Because its cached to memory.
Try it. We've been able to do this since like.. Forever?
Sent from my Nexus 5 using Tapatalk
beekay201 said:
Because its cached to memory.
Try it. We've been able to do this since like.. Forever?
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
What I'm saying is if twrp has never been on the device to begin with, fastboot can not boot an image that was never there, it can't be cached to memory if it was never in memory, the only way I could see to do this would be to do
fastboot flash recovery "twrp.img"
fastboot boot recovery "twrp.img"
Sent from my Nexus 6 using Tapatalk
soupysoup said:
What I'm saying is if twrp has never been on the device to begin with, fastboot can not boot an image that was never there, it can't be cached to memory if it was never in memory, the only way I could see to do this would be to do
fastboot flash recovery "twrp.img"
fastboot boot recovery "twrp.img"
Sent from my Nexus 6 using Tapatalk
Click to expand...
Click to collapse
Man you are stubborn.
Sent from my Nexus 5 using Tapatalk
beekay201 said:
Man you are stubborn.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Not stubborn l lol, just adamant ha-ha, u gotta know what I mean tho, I mean how can u boot an image that isn't there, now if u mean dl the image to the device and then boot it without flashing it that's doable, but the image still had to be on the device in order to boot it, flashed or not
Sent from my Nexus 6 using Tapatalk
soupysoup said:
Not stubborn l lol, just adamant ha-ha, u gotta know what I mean tho, I mean how can u boot an image that isn't there, now if u mean dl the image to the device and then boot it without flashing it that's doable, but the image still had to be on the device in order to boot it, flashed or not
Sent from my Nexus 6 using Tapatalk
Click to expand...
Click to collapse
It is booted via fastboot from you computer. I have done this a bunch of times on devices that have never and still don't have twrp. Download a recovery you have never used onto your pc and try.

help, note 5 just updated to MM. pincode and swipe code wont recognize. need help

hi help, note 5 just updated to MM. pincode and swipe code wont recognize. need help. i dont want to do the factory resset i dont want to lose all my pictures. is this a MM bug? how i can bypass the pincode request? now its says 60mins before to try again, and i always put the correct one but its error! help pls thanks
caloyzki said:
hi help, note 5 just updated to MM. pincode and swipe code wont recognize. need help. i dont want to do the factory resset i dont want to lose all my pictures. is this a MM bug? how i can bypass the pincode request? now its says 60mins before to try again, and i always put the correct one but its error! help pls thanks
Click to expand...
Click to collapse
If you don't do a factory data reset in the settings of your phone but use the factory reset option in twrp recovery instead then you will not lose your pictures or anything else in your internal SD card.
Odin flash the stock firmware after doing a full wipe of system, data, cache, dalvik and factory reset all in twrp recovery before Odin flashing.
Good luck and have a nice day.
Sent from my SM-G935F using Tapatalk
Misterjunky said:
If you don't do a factory data reset in the settings of your phone but use the factory reset option in twrp recovery instead then you will not lose your pictures or anything else in your internal SD card.
Odin flash the stock firmware after doing a full wipe of system, data, cache, dalvik and factory reset all in twrp recovery before Odin flashing.
Good luck and have a nice day.
Sent from my SM-G935F using Tapatalk
Click to expand...
Click to collapse
Hi thanks. But the phone is not rooted. Anyway i can do if my phone is bot rooted?
Sent from my Nexus 6 using Tapatalk
caloyzki said:
Hi thanks. But the phone is not rooted. Anyway i can do if my phone is bot rooted?
Sent from my Nexus 6 using Tapatalk
Click to expand...
Click to collapse
Your phone needs to be rooted to use twrp as I have outlined.
Good luck.
Sent from my SM-G935F using Tapatalk
Misterjunky said:
Your phone needs to be rooted to use twrp as I have outlined.
Good luck.
Sent from my SM-G935F using Tapatalk
Click to expand...
Click to collapse
I dont know how to root. So without root theres no way to do it? My only option is to factory reset? And all my pix will be gone
Sent from my Nexus 6 using Tapatalk
caloyzki said:
I dont know how to root. So without root theres no way to do it? My only option is to factory reset? And all my pix will be gone
Sent from my Nexus 6 using Tapatalk
Click to expand...
Click to collapse
It's easy to root.
Get the twrp Odin flashable TAR file , the noble version and Odin flash it after copying Jovys rooting kernel into your internal sdcard.
You can find jov23's stock-modified rooting kernel in the n920t original developers thread here in this forum.
After Odin flashing twrp your phone will boot into twrp recovery where you need to install Jovys zip file kernel.
Good luck.
Sent from my SM-G935F using Tapatalk
---------- Post added at 04:47 PM ---------- Previous post was at 04:45 PM ----------
Misterjunky said:
It's easy to root.
Get the twrp Odin flashable TAR file , the noble version and Odin flash it after copying Jovys rooting kernel into your internal sdcard.
You can find jov23's stock-modified rooting kernel in the n920t original developers thread here in this forum.
After Odin flashing twrp your phone will boot into twrp recovery where you need to install Jovys zip file kernel.
After doing the above you can wipe and do a factory reset in twrp recovery.
Good luck.
Sent from my SM-G935F using Tapatalk
Click to expand...
Click to collapse
Sent from my SM-G935F using Tapatalk

Categories

Resources