[Q] custom recovery without flashing - Nexus 4 Q&A, Help & Troubleshooting

Hi
When I had rooted my stock nexus 4 that had come with 4.2.2
I did not flash a custom bootloader/ROM
I did not flash anything at all !!!
What I remember doing is using a fastboot/adb command that for one time booted me in a CWM bootloader/recovery.
I dont want to flash my ROM/Firmware/Bootloader how can I get custome recovery?
Thanks in Advance

You can use "fastboot boot recovery.img" to boot it once. After a reboot it will be gone.

chromium96 said:
You can use "fastboot boot recovery.img" to boot it once. After a reboot it will be gone.
Click to expand...
Click to collapse
Oh Ok that means I have been trying the correct command !!!!
when I execute
fastboot boot c:\recovery.img
It executes successfully but with CWM it just gives a black screen and with TWRP that everyone is recommending for rooting 4.3 it just shows Google written on the screen !
Well my primary question is answered thanks !
If someone can point me to a custom recovery that I can boot into for Android 4.3

Actually, apparently Google removed the "fastboot boot" command in the new 4.3 boot loader. That's probably why it's not working.
Sent using xda premium

In 4.3 to boot a recovery do this
Open a command prompt in the directory mentioned above and type: fastboot boot customrecovery.img Note: If you are running the latest bootloader (z20i), the command would be: fastboot -c "lge.kcal=0|0|0|x" boot customrecovery.img Thanks hwti & el_charlie
From my BLACKED OUT N4

Related

[Q] Can't boot. Stuck on Google logo

Hi,
I really need some help on this one. I wiped everything using TWRP recovery in preparation of installing a custom ROM.
I then realised I forgot to transfer the custom rom to my phone! When I went to reboot the system it says "No OS installed! Are you sure you want to reboot?"
No it's stuck on the google logo.
Is there a way to see if any Rom is still installed on on my phone or if it deleted my stock rom also?
I tried to push the rom through adb but it says error read only.
Also USB debugging is not enabled but I can't boot to enable it.
Please help.
Thanks
Go into fastboot and ensure your fastboot devices command shows your s/n. If so then grab the stock image from xda and flash it.
fastboot flash bootloader BOOTLOADERNAME.img
fastboot reboot-bootloader
fastboot flash radio RADIONAME.img
fastboot reboot-bootloader
fastboot -w update IMAGENAME.zip
Alternatively, using ADB.
from command prompt: adb remount
adb push <FILE PATH> /sdcard/0/
Boot into recovery (I use CWM) and then install it.
Thanks for the quick reply.
I managed to solve it by using the instructions in this thread: http://forum.xda-developers.com/showthread.php?t=2010312
It's all in fastboot so I had no problems
Problem solved.

4.3 Hang on 'downloading..' when fastboot boot twrp.img

Just update to 4.3 with OTA.
Try to boot to twrp 2.6.0.0 with fastboot boot command to root N4.
I type the command:
fastboot boot openrecovery-twrp-2.6.0.0-mako.img
then cmdline prompt on win7 and the terminal on N4 all display "downloaing..."
and I wait for a long long time. I found it just hanging on that.
I also try this:
fastboot -c "lge.kcal=0|0|0|x" boot openrecovery-twrp-2.6.0.0-mako.img
and still hang on "downloading..."
Any idea?
For some unknown reason, the new bootloader does not support booting into a custom recovery. You have to flash it:
fastboot flash recovery *filename*.img
You can always flash back the stock recovery once you're done with the custom one.
Sent from my Nexus⁴ using Tapatalk 4 Beta
TToivanen said:
For some unknown reason, the new bootloader does not support booting into a custom recovery. You have to flash it:
fastboot flash recovery *filename*.img
You can always flash back the stock recovery once you're done with the custom one.
Sent from my Nexus⁴ using Tapatalk 4 Beta
Click to expand...
Click to collapse
THX, I have tried the flash recovery command.
then:
Cmdline prompt on win7 display "sending recovery' ...
N4 display "downloading..."
still hang on:crying:
xinking said:
THX, I have tried the flash recovery command.
then:
Cmdline prompt on win7 display "sending recovery' ...
N4 display "downloading..."
still hang on:crying:
Click to expand...
Click to collapse
Did you ever find a solution? I'm having the same issue. Thanks
xinking said:
THX, I have tried the flash recovery command.
then:
Cmdline prompt on win7 display "sending recovery' ...
N4 display "downloading..."
still hang on:crying:
Click to expand...
Click to collapse
Hello. I just solved this problem. What worked for me was to make sure the phone is plugged into a USB 2.0 port. I hope this also solves the problem for you.
Happy hacking.

[Q] Can I root 4.3 without flashing customer recovery

I had rooted my Nexus 4 when on 4.2.x by putting it in bootloader mode first and typing fastboot boot <name of twrp custom recovery>.img at the command prompt to reboot it into TWRP custom recovery mode without if actually flashing the TWRP recovery on the device. Back then, this temporarily recovery mode allowed me to flash the supersu update zip file I needed to. Since 4.3, this command reboots the phone, but the screen is now blank, and I can't flash the zip file. I can reboot the phone normally into stock recovery mode using the volume keys and power button, but this does not allow me to flash the zip file to root it. Can I still use fastboot boot method like before, and how? The reason I want t stay on stock recovery for now is to keep future OTA updates from throwing an error message.
rajendra82 said:
I had rooted my Nexus 4 when on 4.2.x by putting it in bootloader mode first and typing fastboot boot <name of twrp custom recovery>.img at the command prompt to reboot it into TWRP custom recovery mode without if actually flashing the TWRP recovery on the device. Back then, this temporarily recovery mode allowed me to flash the supersu update zip file I needed to. Since 4.3, this command reboots the phone, but the screen is now blank, and I can't flash the zip file. I can reboot the phone normally into stock recovery mode using the volume keys and power button, but this does not allow me to flash the zip file to root it. Can I still use fastboot boot method like before, and how? The reason I want t stay on stock recovery for now is to keep future OTA updates from throwing an error message.
Click to expand...
Click to collapse
This is still possible but the command for booting into custom recovery changed.
This helps.
rajendra82 said:
I had rooted my Nexus 4 when on 4.2.x by putting it in bootloader mode first and typing fastboot boot <name of twrp custom recovery>.img at the command prompt to reboot it into TWRP custom recovery mode without if actually flashing the TWRP recovery on the device. Back then, this temporarily recovery mode allowed me to flash the supersu update zip file I needed to. Since 4.3, this command reboots the phone, but the screen is now blank, and I can't flash the zip file. I can reboot the phone normally into stock recovery mode using the volume keys and power button, but this does not allow me to flash the zip file to root it. Can I still use fastboot boot method like before, and how? The reason I want t stay on stock recovery for now is to keep future OTA updates from throwing an error message.
Click to expand...
Click to collapse
The short answer is no, you need a custom recovery to install superuser. The long answer is you can flash a custom recovery and install superuser and then flash back the stock recovery. If that doesn't work then your out of luck.
kzoodroid said:
The short answer is no, you need a custom recovery to install superuser. The long answer is you can flash a custom recovery and install superuser and then flash back the stock recovery. If that doesn't work then your out of luck.
Click to expand...
Click to collapse
You are absolutely wrong. I just booted into TWRP without flashing it and rooted my Nexus 4, which is otherwise stock 4.3. I still have the stock recovery on the device and can access it using the volume keys. Booting into TWRP was a temporary state achieved using the command line syntax:
fastboot -c "<your_default_command_line> lge.kcal=0|0|0|x" boot <name of custom recovery>.img
The 4.2.x version of this command was simpler, as it did not require the -c "<your_default_command_line> lge.kcal=0|0|0|x" part, but you do need it on 4.3, or the device just temporarily boots into a blank screen, instead of the custom recovery. So the long answer is you do need to boot into a custom recovery, but it does not have to be flashed to the boot partition. With a Nexus 4, you are never out of luck.
rajendra82 said:
You are absolutely wrong. I just booted into TWRP without flashing it and rooted my Nexus 4, which is otherwise stock 4.3. I still have the stock recovery on the device and can access it using the volume keys. Booting into TWRP was a temporary state achieved using the command line syntax:
fastboot -c "<your_default_command_line> lge.kcal=0|0|0|x" boot <name of custom recovery>.img
The 4.2.x version of this command was simpler, as it did not require the -c "<your_default_command_line> lge.kcal=0|0|0|x" part, but you do need it on 4.3, or the device just temporarily boots into a blank screen, instead of the custom recovery. So the long answer is you do need to boot into a custom recovery, but it does not have to be flashed to the boot partition. With a Nexus 4, you are never out of luck.
Click to expand...
Click to collapse
Can you please write a Step by Step guide to root without flashing custom recovery,
I am familiar with basic commands of adb and fastboot. But a step wise guide will hep me get my N4 rooted
ajay_zalavadia said:
Can you please write a Step by Step guide to root without flashing custom recovery,
I am familiar with basic commands of adb and fastboot. But a step wise guide will hep me get my N4 rooted
Click to expand...
Click to collapse
Follow @efrant's guide. Section E is enough assuming you are on stock android.
That will do the trick.
rajendra82 said:
I had rooted my Nexus 4 when on 4.2.x by putting it in bootloader mode first and typing fastboot boot <name of twrp custom recovery>.img at the command prompt to reboot it into TWRP custom recovery mode without if actually flashing the TWRP recovery on the device. Back then, this temporarily recovery mode allowed me to flash the supersu update zip file I needed to. Since 4.3, this command reboots the phone, but the screen is now blank, and I can't flash the zip file. I can reboot the phone normally into stock recovery mode using the volume keys and power button, but this does not allow me to flash the zip file to root it. Can I still use fastboot boot method like before, and how? The reason I want t stay on stock recovery for now is to keep future OTA updates from throwing an error message.
Click to expand...
Click to collapse
Sorry for asking about your reason, but if you install the TWRP (or some other) custom recovery then can't you simply manually flash the OTA yourself? That's how I upgraded to 4.3.
ajay_zalavadia said:
Can you please write a Step by Step guide to root without flashing custom recovery,
I am familiar with basic commands of adb and fastboot. But a step wise guide will hep me get my N4 rooted
Click to expand...
Click to collapse
Copy your custom recovery to where fastboot.exe is.
Open a CMD window and type
adb reboot-bootloader
Click to expand...
Click to collapse
Then, once you're booted into Bootloader, type
fastboot -c "lge.kcal=0|0|0|x" boot customrecoveryname.img
Click to expand...
Click to collapse
Flash SuperSU 1.51 zip and then reboot your device.
rajendra82 said:
You are absolutely wrong. I just booted into TWRP without flashing it and rooted my Nexus 4, which is otherwise stock 4.3. I still have the stock recovery on the device and can access it using the volume keys. Booting into TWRP was a temporary state achieved using the command line syntax:
fastboot -c "<your_default_command_line> lge.kcal=0|0|0|x" boot <name of custom recovery>.img
The 4.2.x version of this command was simpler, as it did not require the -c "<your_default_command_line> lge.kcal=0|0|0|x" part, but you do need it on 4.3, or the device just temporarily boots into a blank screen, instead of the custom recovery. So the long answer is you do need to boot into a custom recovery, but it does not have to be flashed to the boot partition. With a Nexus 4, you are never out of luck.
Click to expand...
Click to collapse
In your original post you said you tried using the boot into recovery method and it didn't work so how am I wrong in saying that your only other option was to flash the custom recovery, install su, then flash the stock recovery all without rebooting? It was just another way of accomplishing the same thing. I posted at the same time as the other guy did who knew the new fastboot command, which I was unaware of and obviously you were too.
Mercado_Negro said:
Copy your custom recovery to where fastboot.exe is.
Open a CMD window and type
Then, once you're booted into Bootloader, type
Flash SuperSU 1.51 zip and then reboot your device.
Click to expand...
Click to collapse
thank you, will try when I get chance :good:
kzoodroid said:
In your original post you said you tried using the boot into recovery method and it didn't work so how am I wrong in saying that your only other option was to flash the custom recovery, install su, then flash the stock recovery all without rebooting? It was just another way of accomplishing the same thing. I posted at the same time as the other guy did who knew the new fastboot command, which I was unaware of and obviously you were too.
Click to expand...
Click to collapse
I just prefer the command line booting instead of having to flash a recovery twice. I already knew that I could flash the custom recovery to get it done, although I didn't clearly state that in the original post.
Mercado_Negro said:
Copy your custom recovery to where fastboot.exe is.
Open a CMD window and type
Then, once you're booted into Bootloader, type
Flash SuperSU 1.51 zip and then reboot your device.
Click to expand...
Click to collapse
Thanks for you guide, but for use it, do I nerd unlocke the bootloader ?
Inviato dal mio Nexus 4 con Tapatalk 2
futuro82 said:
Thanks for you guide, but for use it, do I nerd unlocke the bootloader ?
Inviato dal mio Nexus 4 con Tapatalk 2
Click to expand...
Click to collapse
Yes
Thanks
Inviato dal mio Nexus 4 con Tapatalk 2
kzoodroid said:
In your original post you said you tried using the boot into recovery method and it didn't work so how am I wrong in saying that your only other option was to flash the custom recovery, install su, then flash the stock recovery all without rebooting? It was just another way of accomplishing the same thing. I posted at the same time as the other guy did who knew the new fastboot command, which I was unaware of and obviously you were too.
Click to expand...
Click to collapse
LOL.. You were still wrong though bro. Don't get upset about it. He didn't seem to be...
Sent from my Nexus 4 using xda app-developers app

Can't boot into custom recovery.

If tried reinstalling the drivers and also using the toolkit. I choose not to flash a recovery, just temporary boot so I can install stuff. I tried using fastboot to boot twrp but all I get is a black screen. Seems like sometimes the driver changes. Never had this problem on 4.2
Sent from my Nexus 7 using Tapatalk 4
biggyk said:
If tried reinstalling the drivers and also using the toolkit. I choose not to flash a recovery, just temporary boot so I can install stuff. I tried using fastboot to boot twrp but all I get is a black screen. Seems like sometimes the driver changes. Never had this problem on 4.2
Sent from my Nexus 7 using Tapatalk 4
Click to expand...
Click to collapse
Boot your Nexus to the bootloader by first powering down the phone then simultaneously press and hold the volume down and power buttons for 2 seconds. Once in the bootloader connect the USB cable from the Nexus to your computer. Open a command prompt in the folder where you have installed fastboot, type "fastboot devices", and press enter. If you see a deviceID listed, you will be able to flash TWRP with the command "fastboot flash recovery openrecovery-twrp-2.6.0.0-mako.img" (assuming you are installing TWRP v2.6.0.0); otherwise, you will need to reinstall the Nexus drivers.
^The op wants to boot the recovery, not flash it.
Google removed the "fastboot boot" command in the new 4.3 bootloader. The new way to do this is by using the following command:
Code:
fastboot -c "lge.kcal=0|0|0|x" boot recovery.img
Sent using xda-developers app
Chromium_ said:
^The op wants to boot the recovery, not flash it.
Google removed the "fastboot boot" command in the new 4.3 bootloader. The new way to do this is by using the following command:
Code:
fastboot -c "lge.kcal=0|0|0|x" boot recovery.img
Sent using xda-developers app
Click to expand...
Click to collapse
Thank you. Worked fine!!:victory:

Unable to Flash Custom Recovery

Hi guys,
Im on the cm12s, and unlocked bootloader but im unable to get into custom recovery, it keeps reverting to Cynogen recovery.
I tried toolkit also, it flashes and then it shows waiting for device, i manually boot into recovery its just a blank screen.
Please help i need root and ROMS
varun.gid said:
Hi guys,
Im on the cm12s, and unlocked bootloader but im unable to get into custom recovery, it keeps reverting to Cynogen recovery.
I tried toolkit also, it flashes and then it shows waiting for device, i manually boot into recovery its just a blank screen.
Please help i need root and ROMS
Click to expand...
Click to collapse
how did you unlock bootloader ?
may be using adb drivers right ?
so if you are using adb drivers then follow this procedure ....
copy this recovery file in your adb folder LINK
now go to adb folder
now press and hold shift button and right click on empty space there you will see open cmd , click on it cmd will open
now copy below code (this is for CM12 only)
Code:
fastboot -i 0x1ebf flash recovery recovery_twrp.img
anow right click in cmd and click on paste.
hit enter and after a while you will se 'Okay ' message at the end.
bingo you have flasher recovery :highfive: :good:
ashish_zarekar said:
how did you unlock bootloader ?
may be using adb drivers right ?
so if you are using adb drivers then follow this procedure ....
copy this recovery file in your adb folder LINK
now go to adb folder
now press and hold shift button and right click on empty space there you will see open cmd , click on it cmd will open
now copy below code (this is for CM12 only)
Code:
fastboot -i 0x1ebf flash recovery recovery_twrp.img
anow right click in cmd and click on paste.
hit enter and after a while you will se 'Okay ' message at the end.
bingo you have flasher recovery :highfive: :good:
Click to expand...
Click to collapse
I tried this method.. but it always reverts to stock recovery. and when i boot into recovery directly from fastboot i get a blank screen. Please help.
varun.gid said:
I tried this method.. but it always reverts to stock recovery. and when i boot into recovery directly from fastboot i get a blank screen. Please help.
Click to expand...
Click to collapse
have you tried with this recovery which i provided in link ?
first try using this recovery.
earlier i also face this.
now go to this thread download software from this thread only. there are two thread for this tool but i prefer you to go to this one.
GUIDE
now unlock bootloader.
and go for step 4(which flash twrp recovery)
now flash the recovery which is provided by me using code.
and now go can go into recovery
****************************************************************************************************
i suggest you this guide this method do for me
Disable update CM recovery option in developer options... Then flash custom recovery.... it will work.
once flashing twrp recovery, you will need to use
Code:
fastboot -i 0x1ebf reboot
command.
remove battery after install recovery before restarting phone
then insert battery and start in custom recovery
install Custom Recovery
1) enable developer options
2)enable advance reboot and usb debugging
3)disable Update CM recovery option
4)reboot to bootloader and flash recovery
" fastboot -i 0x1ebf flash recovery recovery_twrpyulolli.img "
5) directly disconnect phone (phone displaying FASTBOOT MODE)
6) remove battery and start phone in recovery mode using volume UP+DOWN and power key
7) And YOUR are IN TWRP RECOVERY ......
THIS method work for me perfectly .....i m also having same problem of flashing custom recovery and again showing CM RECOVERY
:laugh::laugh:
Thank You...!
Which is best for yureka cwm or twrp recovery
I'm facing the same problem but this trick didn't work for me.

Categories

Resources