Lost Root after upgrading to 4.2.2 - Nexus 4 Q&A, Help & Troubleshooting

So I decided to restore my Nandroid of Stock ROM so I could upgrade it to 4.2.2. Now I have lost Root. Problem is when I try to enter Recovery I get the Android dude with the red triangle and it says "No Command" underneath it. How do I get back to recovery? I've tried searching but haven't gotten the answer. Thanks in advance!
Sent from my Nexus 4 using Tapatalk 2

jtiesinga said:
So I decided to restore my Nandroid of Stock ROM so I could upgrade it to 4.2.2. Now I have lost Root. Problem is when I try to enter Recovery I get the Android dude with the red triangle and it says "No Command" underneath it. How do I get back to recovery? I've tried searching but haven't gotten the answer. Thanks in advance!
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
if you flashed the official 4.2.2, it replaced your recovery with the stock recovery(android dude w/the red triangle) and you lost root. all you have to do is flash a custom recovery via fastboot then flash a custom rom or the su binaries.

jtiesinga said:
So I decided to restore my Nandroid of Stock ROM so I could upgrade it to 4.2.2. Now I have lost Root. Problem is when I try to enter Recovery I get the Android dude with the red triangle and it says "No Command" underneath it. How do I get back to recovery? I've tried searching but haven't gotten the answer. Thanks in advance!
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
so you have used the Nandroid of Stock ROM?

as stated above you can get a custom recovery back, then flash a kernel or a root package. should be fairly easy, to get back no worries!

opticaldh said:
so you have used the Nandroid of Stock ROM?
Click to expand...
Click to collapse
Yes
Sent from my Nexus 4 using Tapatalk 2

simms22 said:
if you flashed the official 4.2.2, it replaced your recovery with the stock recovery(android dude w/the red triangle) and you lost root. all you have to do is flash a custom recovery via fastboot then flash a custom rom or the su binaries.
Click to expand...
Click to collapse
Any instructions for this? I use a Mac computer and the instructions I've seen are for windows. I'm not a Noob but am a little unfamiliar with ADB and Fastboot.
Sent from my Nexus 4 using Tapatalk 2

And how u get your device rooted before?
Sent from my Nexus 4

curtzxion said:
And how u get your device rooted before?
Sent from my Nexus 4
Click to expand...
Click to collapse
I used the instructions from Androidrootz.com. I figured I could just do this again but when I tried it still got the android dude.
Sent from my Nexus 4 using Tapatalk 2

jtiesinga said:
Any instructions for this? I use a Mac computer and the instructions I've seen are for windows. I'm not a Noob but am a little unfamiliar with ADB and Fastboot.
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1917237

Related

How to unroot?

Guess I need unroot too return my device, can the toolkit perform a full unroot ?
Sent from my Nexus 10 using Tapatalk 2
Yep, flashing stock image + relocking the bootloader.
Niggo372 said:
Yep, flashing stock image + relocking the bootloader.
Click to expand...
Click to collapse
How do I perform this?
I mean, when I try flash the stock ROM using the toolkit I get an error. Is there any other way of doing this?
TomAshcroft said:
I mean, when I try flash the stock ROM using the toolkit I get an error. Is there any other way of doing this?
Click to expand...
Click to collapse
You have to download the stock image manually. The link from the toolkit is broken.
Sent from my Galaxy Nexus using Tapatalk 2
Okay to that: I will google it but do you have any idea where im to get the google stock ROM for nexus 10 And or flash it to my nexus? I have no clue.
TomAshcroft said:
Okay to that: I will google it but do you have any idea where im to get the google stock ROM for nexus 10 And or flash it to my nexus? I have no clue.
Click to expand...
Click to collapse
https://developers.google.com/android/nexus/images
The device is called "mantaray"
Sent from my Galaxy Nexus using Tapatalk 2
Ive finally done it, Panic OVER! haha thanks for all the help people.

Ota update keeps failing

Can't install 4.2.2 ota and from what I have read its because I have custom recovery? How do I go back to stock recovery or is there a flashable stock 4.2.2 update I can use ?
Sent from my Nexus 4 using xda premium
Use the search option next time please.
[HOW-TO] How to flash a factory image / return to stock / unlock / root #
http://forum.xda-developers.com/showthread.php?t=2010312
Use fastboot and the recovery image available through a link in that thread to go back to the stock recovery.
Or you could simply flash 4.2.2 through your recovery;
http://forum.xda-developers.com/showthread.php?t=2147281
Sent from my CM 10.1 Nexus 4 using xda premium
caliga4221 said:
Can't install 4.2.2 ota and from what I have read its because I have custom recovery?
Click to expand...
Click to collapse
Yes, the custom recovery is what's causing the OTA self installation to fail. You must download the update to your phone, boot into twrp or cwm, and install the update zip.
Visa Declined said:
Yes, the custom recovery is what's causing the OTA self installation to fail. You must download the update to your phone, boot into twrp or cwm, and install the update zip.
Click to expand...
Click to collapse
Isnt the eazyest and simplest way to go back to stock via Nexus Root Toolkit???
Karlo666 said:
Isnt the eazyest and simplest way to go back to stock via Nexus Root Toolkit???
Click to expand...
Click to collapse
No toolkits! Get out.
caliga4221 said:
Can't install 4.2.2 ota and from what I have read its because I have custom recovery? How do I go back to stock recovery or is there a flashable stock 4.2.2 update I can use ?
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
I put together a guide about OTAs. Its a sticky in general.
http://forum.xda-developers.com/showthread.php?t=2145848
Karlo666 said:
Isnt the eazyest and simplest way to go back to stock via Nexus Root Toolkit???
Click to expand...
Click to collapse
Using a toolkit is most likely the reason why the OP doesn't know how to flash recovery. Using a toolkit again would continue the cycle...
Sent from my Nexus 7 using xda premium

[HELP] Nexus 4 stuck on boot screen

Hi.
Guys. I need help. I tried changing font on my rooted Nexus. I used font installer from Play Store. After installation the app asked me to reboot the device. Now the phone is stuck on boot screen. I tried going in to recovery and wiping all the data. It did not help.
Can anyone in this community help me?
Sent from my LG-P970 using xda app-developers app
indian84 said:
Hi.
Guys. I need help. I tried changing font on my rooted Nexus. I used font installer from Play Store. After installation the app asked me to reboot the device. Now the phone is stuck on boot screen. I tried going in to recovery and wiping all the data. It did not help.
Can anyone in this community help me?
Sent from my LG-P970 using xda app-developers app
Click to expand...
Click to collapse
reflash your rom
simms22 said:
reflash your rom
Click to expand...
Click to collapse
Hi. Can you please suggest the post where I can get the procedure...
Sent from my LG-P970 using xda app-developers app
indian84 said:
Hi. Can you please suggest the post where I can get the procedure...
Sent from my LG-P970 using xda app-developers app
Click to expand...
Click to collapse
are you running a custom rom?
simms22 said:
are you running a custom rom?
Click to expand...
Click to collapse
No. I was on Stock. Rooted. No recovery installed..
Sent from my LG-P970 using xda app-developers app
indian84 said:
No. I was on Stock. Rooted. No recovery installed..
Sent from my LG-P970 using xda app-developers app
Click to expand...
Click to collapse
fastboot flash a recovery, and you could load a custom rom. twrp recovery has an option to push files to your phone with adb. you can push a rom to your phone then flash it in your recovery. or you can flash the stock image via fastboot http://forum.xda-developers.com/showthread.php?t=2183555
simms22 said:
fastboot flash a recovery, and you could load a custom rom. twrp recovery has an option to push files to your phone with adb. you can push a rom to your phone then flash it in your recovery. or you can flash the stock image via fastboot http://forum.xda-developers.com/showthread.php?t=2183555
Click to expand...
Click to collapse
Thanx Bro. My nexus is up and running now..
Sent from my Nexus 4 using xda premium
Today I tried fastboot and flash 4.3 stock rom on my nexus 4, root and stock rom.
For some reason the zip on "sdcard" is failing (error 7 code strange as it was full stock) letting me a stuck google boot.
I tried to wipe cache without success.
I am sure the solution is somewhere here as already said in that topic: http://forum.xda-developers.com/showthread.php?t=2183555
But what line should I follow first? Ideally I would like to flash 4.3 or 4.2.2 without factory reset.
Any advice?
Is your boot loader unlocked?? If yes you won't loose any data if you follow the above procedure.. But if not, I think the chances of saving data are low. You can install 4.3 directly if you have the files. I updated mine yesterday using the same method.. I was on slimbeam..
Sent from my Nexus 4 using xda premium
indian84 said:
Is your boot loader unlocked?? If yes you won't loose any data if you follow the above procedure.. But if not, I think the chances of saving data are low. You can install 4.3 directly if you have the files. I updated mine yesterday using the same method.. I was on slimbeam..
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
Yes I am unlocked/rooted. The thing is 4.3 install fails either from sdcard or doing a sideload. I will try 4.2.2 but I am starting to worry a bit...
looppingz said:
Yes I am unlocked/rooted. The thing is 4.3 install fails either from sdcard or doing a sideload. I will try 4.2.2 but I am starting to worry a bit...
Click to expand...
Click to collapse
If you are unlocked, try this. http://forum.xda-developers.com/showthread.php?t=2010312
Download 4.3 factory image from here https://dl.google.com/dl/android/aosp/takju-jwr66v-factory-c2ef855e.tgz.
Hopefully this should help.
indian84 said:
If you are unlocked, try this. http://forum.xda-developers.com/showthread.php?t=2010312
Download 4.3 factory image from here https://dl.google.com/dl/android/aosp/takju-jwr66v-factory-c2ef855e.tgz.
Hopefully this should help.
Click to expand...
Click to collapse
Thanks this is what I am currently following but I trying to do some good backup before doing step d10 over there.
I just manage to adb pull the sdcard content. Anyuthing else I should and can recover with adb pull?
looppingz said:
Thanks this is what I am currently following but I trying to do some good backup before doing step d10 over there.
I just manage to adb pull the sdcard content. Anyuthing else I should and can recover with adb pull?
Click to expand...
Click to collapse
Not sure mate.. Search the forum.. Should help...
indian84 said:
Not sure mate.. Search the forum.. Should help...
Click to expand...
Click to collapse
I have been reading and applying more carrefully http://forum.xda-developers.com/showthread.php?t=2010312 without D10. It is well writen and it is looking to be a safe and efficient to me. I even started by installing 4.2.2 again, then backup then 4.3 with the same method.
4.3 up running and rooted!
No data loss, some stuff learnt and a new backup!
If a new OTA is popping up I will look for the same method.
looppingz said:
I have been reading and applying more carrefully http://forum.xda-developers.com/showthread.php?t=2010312 without D10. It is well writen and it is looking to be a safe and efficient to me. I even started by installing 4.2.2 again, then backup then 4.3 with the same method.
4.3 up running and rooted!
No data loss, some stuff learnt and a new backup!
If a new OTA is popping up I will look for the same method.
Click to expand...
Click to collapse
That's what XDA is for.. Enjoy flashing..
Good Luck..:good:

Flash stock recovery?

Hello! I have TWRP installed on my device without root or custom rom/kernel. Is there a way I can just flash the stock recovery to get future OTA updates? I prefer using a method that doesnt require admin rights on my pc, because I am not using my own pc for the moment.
You can get the factory image, extract ALL the zips and when you find the recovery image do "fastboot flash recovery recovery.img".
Sent from my Nexus 4 using Tapatalk 4
andyabc said:
You can get the factory image, extract ALL the zips and when you find the recovery image do "fastboot flash recovery recovery.img"
Sent from my Nexus 4 using Tapatalk 4
Click to expand...
Click to collapse
That's the problem. Efrant says you have to use 7zip and not any other thing to extract the image, but I cant install it because I dont have admin rights on this pc.
You can use Flashify from Play Store to flash recovery images without PC.
Sent from my Nexus⁴ using Tapatalk 4 Beta
Thibaultvw said:
That's the problem. Efrant says you have to use 7zip and not any other thing to extract the image, but I cant install it because I dont have admin rights on this pc.
Click to expand...
Click to collapse
So can't you right click and try to extract it?
Sent from my Nexus 4 using Tapatalk 4
andyabc said:
So can't you right click and try to extract it?
Sent from my Nexus 4 using Tapatalk 4
Click to expand...
Click to collapse
I can do that but you need 7zip efrant said.
Thibaultvw said:
I can do that but you need 7zip efrant said.
Click to expand...
Click to collapse
I know you need to use 7Zip I use it myself but it is worth a try, at the moment I am going to pull out the recovery for you.
Sent from my Nexus 4 using Tapatalk 4
TToivanen said:
You can use Flashify from Play Store to flash recovery images without PC.
Sent from my Nexus⁴ using Tapatalk 4 Beta
Click to expand...
Click to collapse
Did you use that before?
Hang on, just going to get lunch and then give you the image.
Sent from my Nexus 4 using Tapatalk 4
andyabc said:
Hang on, just going to get lunch and then give you the image.
Sent from my Nexus 4 using Tapatalk 4
Click to expand...
Click to collapse
I downloaded the factory image myself, but you can give it to me as well so I know I did it correctly. Why actually do you have to use 7zip?
Edit: nope I cant extract it myself
Thibaultvw said:
Did you use that before?
Click to expand...
Click to collapse
No but I'm about to try it in a moment. Downloading factory image as we speak...
Sent from my Nexus⁴ using Tapatalk 4 Beta
---------- Post added at 03:42 PM ---------- Previous post was at 03:21 PM ----------
TToivanen said:
No but I'm about to try it in a moment. Downloading factory image as we speak...
Sent from my Nexus⁴ using Tapatalk 4 Beta
Click to expand...
Click to collapse
Yeah, it totally worked. Also locked bootloader using BootUnlocker app.
Got some piece of mind and I also hope this will ease up my ORD a bit
I may easily restore my backed up custom recovery using flashify if I ever need to update ROM or whatever...
Sent from my Nexus⁴ using Tapatalk 4 Beta
Thibaultvw said:
I downloaded the factory image myself, but you can give it to me as well so I know I did it correctly. Why actually do you have to use 7zip?
Edit: nope I cant extract it myself
Click to expand...
Click to collapse
Here you are, just flash it using fastboot using this command:
fastboot flash recovery recovery.img
andyabc said:
Here you are, just flash it using fastboot using this command:
fastboot flash recovery recovery.img
Click to expand...
Click to collapse
Thanks! It's the one for 4.3 right?
And if I want to install a custom rom, and make a twrp backup. Can I then go back to restore the backup and then just flash this recovery in fastboot to get the OTA?
Thibaultvw said:
Thanks! It's the one for 4.3 right?
And if I want to install a custom rom, and make a twrp backup. Can I then go back to restore the backup and then just flash this recovery in fastboot to get the OTA?
Click to expand...
Click to collapse
Yes, yes and yes.
You can use Flashify to make a backup, restore and flash.
Remember you can only flash 3 times a day unless you pay for the full version.
Sent from my Nexus 4 using Tapatalk 4
andyabc said:
Yes, yes and yes.
You can use Flashify to make a backup, restore and flash.
Remember you can only flash 3 times a day unless you pay for the full version.
Sent from my Nexus 4 using Tapatalk 4
Click to expand...
Click to collapse
No I mean making a backup in twrp, install a custom rom. New version of android comes out: (let's say 5.0 because updating CM for example from 4.3. to 4.3.1 isnt that hard I think), just restore the backup and flash this recovery in fastboot. (without flashify)
Then I will get the OTA?
Thibaultvw said:
No I mean making a backup in twrp, install a custom rom. New version of android comes out: (let's say 5.0 because updating CM for example from 4.3. to 4.3.1 isnt that hard I think), just restore the backup and flash this recovery in fastboot. (without flashify)
Then I will get the OTA?
Click to expand...
Click to collapse
Exactly what I was thinking and it would remain yes, try flashing it.
Sent from my Nexus 4 using Tapatalk 4
andyabc said:
Exactly what I was thinking and it would remain yes, try flashing it.
Sent from my Nexus 4 using Tapatalk 4
Click to expand...
Click to collapse
Ok thanks (I ran out of thanks for today)
I think I am going to stay with this TWRP for a while (actually I want CM official nightlies back) and will try this method when KLP comes out. I think I will have my pc back then and will be able to pull the recovery of the image then and I will post if it worked or not!
thank you for your effort mate!
Thibaultvw said:
Ok thanks (I ran out of thanks for today)
I think I am going to stay with this TWRP for a while (actually I want CM official nightlies back) and will try this method when KLP comes out. I think I will have my pc back then and will be able to pull the recovery of the image then and I will post if it worked or not!
thank you for your effort mate!
Click to expand...
Click to collapse
No problem.
Sent from my Nexus 4 using Tapatalk 4
I decided to flash the stock recovery anyway. So now I am fully stock and will get future OTA updates? I actually like the stock rom, but will maybe fllash CM10.2 if nemesis comes with some cool stuff.
Thanks for pulling it for me!

(Please)Help flashing stock recovery

I can not get stock recovery for 4.3 stock to install. I try wugfresh and ncry. Can someone help me?
Sent from my Nexus 7 using Tapatalk 4
Keep getting the android with red triangle.
Sent from my Nexus 7 using Tapatalk 4
bmakk2055 said:
Keep getting the android with red triangle.
Sent from my Nexus 7 using Tapatalk 4
Click to expand...
Click to collapse
Have you tried doing it the manual way? Using fastboot. The command is pretty simple as long as you have actually have the recovery file.I believe its fastboot flash recovery name of recovery.img.
There is probably a walk through in the forum.

Resources