[Q] No Lollipop OTA - Nexus 4 Q&A, Help & Troubleshooting

Hi all
By now, I would assume that Google has finished the rollout of the lollipop OTA for the Nexus 4 (mako)
but I have a problem
Short Story
I still don't have lollipop OTA because Google thinks I'm rooted
Long Story
My brand new Nexus 4 (arrived 3 days ago) came with 4.2.2
I opened the box and immediately unlocked the bootloader (fastboot oem unlock) and then installed twrp (fastboot flash recovery openrecovery............img)
After that, I went into twrp to check if it was flashed correctly, and it worked fine BUT as I was about to reboot, twrp asked if i wanted to install SuperSU and I accidentally pressed "yes".
after the phone booted, I found it wasn't acually rooted but it installed an app called "SuperSU Installer"
I ignored it, and went through 4 ota updates (from 4.2.2 to 4.4.2) and the otas stopped (there was not updates available after 4.4.2)
After the updates, I found that the ota have removed twrp and was overwritten by stock recovery SO I went back to bootloader and flashed twrp again (which worked just fine).
Then I done some seaching on Google and found that I'm not getting lollipop becasue I have some traces of rooting (the "SuperSu Installer" that somehow managed to survive 4 OTA's)
I went no to flash the full root (the actual SuperSu) and then do a "Full Unroot" from there (worked fine) and the phone is now unrooted.
BUT still not Lollipop OTA
I gave up and tried to do the update manually (Downloaded flashalbe ZIP from Android Police) but TWRP refuses to flash it
The question is, what to do now?

http://forum.xda-developers.com/showthread.php?t=2807446
Don't wait for Google. I have been running L for months now.
Sent from my Nexus 4 using Tapatalk

AgEnT x19 said:
Hi all
By now, I would assume that Google has finished the rollout of the lollipop OTA for the Nexus 4 (mako)
but I have a problem
Short Story
I still don't have lollipop OTA because Google thinks I'm rooted
Long Story
My brand new Nexus 4 (arrived 3 days ago) came with 4.2.2
I opened the box and immediately unlocked the bootloader (fastboot oem unlock) and then installed twrp (fastboot flash recovery openrecovery............img)
After that, I went into twrp to check if it was flashed correctly, and it worked fine BUT as I was about to reboot, twrp asked if i wanted to install SuperSU and I accidentally pressed "yes".
after the phone booted, I found it wasn't acually rooted but it installed an app called "SuperSU Installer"
I ignored it, and went through 4 ota updates (from 4.2.2 to 4.4.2) and the otas stopped (there was not updates available after 4.4.2)
After the updates, I found that the ota have removed twrp and was overwritten by stock recovery SO I went back to bootloader and flashed twrp again (which worked just fine).
Then I done some seaching on Google and found that I'm not getting lollipop becasue I have some traces of rooting (the "SuperSu Installer" that somehow managed to survive 4 OTA's)
I went no to flash the full root (the actual SuperSu) and then do a "Full Unroot" from there (worked fine) and the phone is now unrooted.
BUT still not Lollipop OTA
I gave up and tried to do the update manually (Downloaded flashalbe ZIP from Android Police) but TWRP refuses to flash it
The question is, what to do now?
Click to expand...
Click to collapse
A couple of things, you'll get the ota if your rooted, it just won't flash. The other is you can't flash the ota update zip in twrp. You need to sideload it in the stock recovery. You have to 100% stock and not rooted for it to flash. Otherwise it will fail
Sent from my Nexus 9 using XDA Free mobile app

jd1639 said:
A couple of things, you'll get the ota if your rooted, it just won't flash. The other is you can't flash the ota update zip in twrp. You need to sideload it in the stock recovery. You have to 100% stock and not rooted for it to flash. Otherwise it will fail
Sent from my Nexus 9 using XDA Free mobile app
Click to expand...
Click to collapse
Thanks for your reply
I think I will wipe everything and install factory image since I didn't install anything on it yet
I assume it will make the phone 100% stock (just like it was in its box)
right?

AgEnT x19 said:
Thanks for your reply
I think I will wipe everything and install factory image since I didn't install anything on it yet
I assume it will make the phone 100% stock (just like it was in its box)
right?
Click to expand...
Click to collapse
Yep. Just flash the 5.0.1 factory image. You should be able to use the flash-all.bat in the factory image. It will wipe your device but since you haven't set anything up that shouldn't be a problem
Sent from my Nexus 9 using XDA Free mobile app

jd1639 said:
Yep. Just flash the 5.0.1 factory image. You should be able to use the flash-all.bat in the factory image. It will wipe your device but since you haven't set anything up that shouldn't be a problem
Sent from my Nexus 9 using XDA Free mobile app
Click to expand...
Click to collapse
you mean flash-all.sh
I mainly use Linux
Anyway, thanks for your help

AgEnT x19 said:
you mean flash-all.sh
I mainly use Linux
Anyway, thanks for your help
Click to expand...
Click to collapse
That'll work too
Sent from my Nexus 9 using XDA Free mobile app

So I just got my mako few days ago....came with JB stock immediately updated to kk but nothing since. Its been 6 days without a notification for lp. Any ideas besides flashing factory.IMG and I tried the play services trick also.

aaronrw said:
So I just got my mako few days ago....came with JB stock immediately updated to kk but nothing since. Its been 6 days without a notification for lp. Any ideas besides flashing factory.IMG and I tried the play services trick also.
Click to expand...
Click to collapse
You have two choices
1. Wait for the OTA (you will eventually get lollipop)
2. Update manually by following this great guide
http://www.reddit.com/r/Android/comments/2mgh8o/nexus_4_lollipop_ota_link_and_update_guide/
Note: The above method is exactly like updating from Setting>About Phone>System Updates (i.e. All your apps, data, files....etc will be kept)
BUT is different from flashing factory image (which completely wipes the phone making it just like it was in its box)

Related

Got update on rooted stock with TWRP

Hello,
My wife has a Nexus 4.
I unlocked the bootloader, flashed TWRP, rooted it, and installed busybox.
Yesterday she handed me her phone and it was sitting in TWRP.
She said she got a message saying there was an update and she clicked okay.
I asked her if she saw anything going on but she wasn't paying attention so I didn't know if the update was applied or not.
So... I just rebooted the system from within TWRP.
Looking at her "about phone" it still shows that she is on 4.2.1 and when I check for updates it says she is up to date.
Questions:
What to do now?
Why wasn't the update applied? ... in the past on my Nexus 7 I have done OTA updates with rootkeeper installed and TWRP applied them automatically.
Was the update file deleted from her phone or can I find it somewhere in TWRP and apply it?
Is it like a normal .zip that you install or is it another process?
I'm in the same situation, unsure what to do.
I don't want to have to to do a factory reset for a minor update.
EDIT: Also installing the OTA.ZIP in TWRP fails
Got there in the end:
a) If you want to keep your data & settings and are running the stock rom; only flash boot.img, system.img, and recovery.img (optional) with fastboot.
Here is the JOP40D factory image if you need it. occam-jop40d-factory-ca7602f0.tgz - 327.21 MB
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2145848
Once I did that i was able to flash the OTA.ZIP, no loss of data. I used wugfreshes tool for the flashing btw.
I lost root and my APN settings
alexroborock said:
Got there in the end:
http://forum.xda-developers.com/showthread.php?t=2145848
Once I did that i was able to flash the OTA.ZIP, no loss of data. I used wugfreshes tool for the flashing btw.
I lost root and my APN settings
Click to expand...
Click to collapse
There must be a better way to do this.
That is a huge security risk flashing someone else's untrusted image onto your phone.
What about adb sideload?
You can download the image directly from Google
Sent from my Nexus 4 using Tapatalk 2
You need stock recovery for the ota update to work.
Sent from my Nexus 4 using xda app-developers app
Got my N4 yesterday. Rooted stock 4.2.1, installed latest version of TWRP, setup google account. Got the update to 4.2.2 message and clicked ok.
My TWRP recovery installed the update automatically without any problems.
silverramsrt said:
Got my N4 yesterday. Rooted stock 4.2.1, installed latest version of TWRP, setup google account. Got the update to 4.2.2 message and clicked ok.
My TWRP recovery installed the update automatically without any problems.
Click to expand...
Click to collapse
Did you lose root?
Rizy7 said:
Did you lose root?
Click to expand...
Click to collapse
Yes. The update replaced the recovery_from_boot.p or whatever file and the insecure boot image I had. I just reflashed TWRP, did a factory reset and installed CM anyway.

[Q] Rooted Nexus 4 Can Get Android 4.3 Updates ?

Hi There,
I have rooted my Nexus 4 Few Days ago and Still I didn't got my Android 4.3 Update. I want to know after rooting is my device getting automatically update or do I need to install it manually after downloading image from Google ?
Thanks
http://forum.xda-developers.com/showthread.php?t=2378413
Sent from my Nexus 4 using Tapatalk 4 Beta
konfidential said:
http://forum.xda-developers.com/showthread.php?t=2378413
Sent from my Nexus 4 using Tapatalk 4 Beta
Click to expand...
Click to collapse
I know I can install it manually. I need to know whether I will get Automatic Push Up Update or Not
You're rooted... So no
Sent from my Nexus 4 using Tapatalk 4 Beta
konfidential said:
You're rooted... So no
Sent from my Nexus 4 using Tapatalk 4 Beta
Click to expand...
Click to collapse
Thanks Buddy.So after I Installed Image from Google Developers is it unroot again ?
Yes.. You'll lose root
Sent from my Nexus 4 using Tapatalk 4 Beta
konfidential said:
You're rooted... So no
Sent from my Nexus 4 using Tapatalk 4 Beta
Click to expand...
Click to collapse
Actually, if your device is rooted but still running stock, you can still receive OTA updates.
AnjulaMalshan said:
Thanks Buddy.So after I Installed Image from Google Developers is it unroot again ?
Click to expand...
Click to collapse
Yes, you'll need to re-root your device.
Sent from my Nexus 4
Hi,
My Nexus 4 is rooted running stock, but with the faux kernel. Will I still get 4.3 pushed to my phone?
Either way once I install 4.3, will I have to unlock the bootloader again in order to root the phone?
Thanks, I'm new to all this business
Theonew said:
Actually, if your device is rooted but still running stock, you can still receive OTA updates.
Yes, you'll need to re-root your device.
Sent from my Nexus 4
Click to expand...
Click to collapse
I received update notification, my Nexus 4 is rooted and running stock. So if I update would I lose root? and when I root again would I lose my data unless I backup and restore it later?
Thank you.
kannaiah said:
I received update notification, my Nexus 4 is rooted and running stock. So if I update would I lose root? and when I root again would I lose my data unless I backup and restore it later?
Thank you.
Click to expand...
Click to collapse
You will lose root. once you re-root it you will not lose any data. just to be safe create a backup before upgrading to 4.3
I received my Nexus 4 on March 2 2013.
It was running Jelly Bean 4.2 out of the box but, soon after I connected to my wifi, the phone automatically downloaded 4.2.2 and was ready to install. I upgraded to 4.2.2 without making any modifications or added any apps to the phone.
I then rooted my phone using Nexus Root Toolkit v1.6.3 by Wug. It used SuperSU and BusyBox Free, and installed the TWRP custom recovery.
A week later I installed the faux123 kernel. I have not installed any custom ROM at all.
On July 31 2013 I noticed the 4.3 update had been automatically downloaded and ready to install (there was a persistent notification in the status bar as well as a "Restart & Install" message in About phone -> System updates).
Just now (yes I know it has been a week but I had been rather busy so I did my backups in parts) I tried to install the 4.3 update. After the restart I was dumped into TWRP's recovery screen. Not knowing what to do I chose Reboot -> System. The phone started up as normal, but once the boot has completed, I found that I am still on 4.2.2, still rooted, and still running the faux123 kernel. But now - even after reboots and rechecks - About phone -> System updates tells me that "Your system is up to date"!?!?
STRANGE...
xdakewie said:
I received my Nexus 4 on March 2 2013.
It was running Jelly Bean 4.2 out of the box but, soon after I connected to my wifi, the phone automatically downloaded 4.2.2 and was ready to install. I upgraded to 4.2.2 without making any modifications or added any apps to the phone.
I then rooted my phone using Nexus Root Toolkit v1.6.3 by Wug. It used SuperSU and BusyBox Free, and installed the TWRP custom recovery.
A week later I installed the faux123 kernel. I have not installed any custom ROM at all.
On July 31 2013 I noticed the 4.3 update had been automatically downloaded and ready to install (there was a persistent notification in the status bar as well as a "Restart & Install" message in About phone -> System updates).
Just now (yes I know it has been a week but I had been rather busy so I did my backups in parts) I tried to install the 4.3 update. After the restart I was dumped into TWRP's recovery screen. Not knowing what to do I chose Reboot -> System. The phone started up as normal, but once the boot has completed, I found that I am still on 4.2.2, still rooted, and still running the faux123 kernel. But now - even after reboots and rechecks - About phone -> System updates tells me that "Your system is up to date"!?!?
STRANGE...
Click to expand...
Click to collapse
I also get the same thing. I rooted my official jellybean 4.2.2 to with nexus 4 tool kit. I have teamwin recovery mode . I get on my phn there is an update 4.3 when i press restart and install its restarting to teamwin recovery mode and nothings updated when i boot back to system still get 4.2.2 ver. How do I update the official firmware?
crashzonecz said:
I also get the same thing. I rooted my official jellybean 4.2.2 to with nexus 4 tool kit. I have teamwin recovery mode . I get on my phn there is an update 4.3 when i press restart and install its restarting to teamwin recovery mode and nothings updated when i boot back to system still get 4.2.2 ver. How do I update the official firmware?
Click to expand...
Click to collapse
hi there!
after 3-4 days of telling me my "system is up to date", i got another auto-download and prompt to update yesterday. this time i tried to look for the downloaded update file on my emulated SD card when in TWRP but i couldn't find it; so i chose Restart->System like i did before and again (naturally) nothing was updated (and thank goodness at least nothing broke as far as i could see).
from what i've read i believe we will all get such OTA update notices. however, to successfully update using the downloaded file, we would need our phones to be in stock condition (no root, no custom ROM or kernel, etc.). now this 4.3 update as compared to 4.2.2 isn't all that appealing to me, so i think i will wait for a few months to see there are no bugs before attempting to update again.
if you would like to update now, i suggest you read this thread http://forum.xda-developers.com/showthread.php?t=2390127 in which a member advised on using TWRP to handle the updating and not having to re-root your phone after that. hope it helps, and good luck to you!
just do it manually! It's soo simple..
follow these great instructions:
http://forum.xda-developers.com/showthread.php?t=2145848
Look out with flashing userdata userdata.img, dependent on the instructions you choose you have to remove/skip this one because it will erase all your data!
If you want root, install the latest SuperSU 1.5 after you're done.
I also would make a nandroid (full backup) with CWM/TWRP before you start.. if something goes wrong you can always revert all steps.

Nexus 4 no command but phone working please help

Hello. I have a nexus 4 that until recently i was running on 4.3 with a custom kernel from faux123 and paranoid android rom and twrp custom recovery.
Finally i decided to update it to stock 4.4 for which i restored a nandroid i had made back when the phone had stock 4.3 on it. Also, the nandroid had happened to have stock rom but custom kernel (same faux123 one). Also, before restoring nandroid i made ti backup for my apps which i successfully restored after nandroid restore.
So now i decided to flash the default 4.3 kernel which i did successfully. Now i thought i was ready for the ota update since i had everything stock except recovery so i went ahead and checked for updates.
First up was jwr66y(before that i was on 66v) which successfully downloaded and installed. Then came the 240 mb 4.4 update which downloaded but while installing after reboot gave me the dead android with 'error' message.
I then rebooted the phone which works ok but shows 4.3 as my version and also tells me im already up to date on checking for updates. So now i decided to flash ota manually using zip. However now on booting in recovery, it doesnt take me to the TWRP screen but simply shows dead android with no command message.
Also, root seems to be gone. However rest of the phone works alright. How do i fix this and successfully install 4.4 kitkat? Please help. Also can anybody shed light on why it might have happened so i can prevent it in the future.
Sent from my Nexus 4 using xda app-developers app
Tinfoil Hat Tom said:
Hello. I have a nexus 4 that until recently i was running on 4.3 with a custom kernel from faux123 and paranoid android rom and twrp custom recovery.
Finally i decided to update it to stock 4.4 for which i restored a nandroid i had made back when the phone had stock 4.3 on it. Also, the nandroid had happened to have stock rom but custom kernel (same faux123 one). Also, before restoring nandroid i made ti backup for my apps which i successfully restored after nandroid restore.
So now i decided to flash the default 4.3 kernel which i did successfully. Now i thought i was ready for the ota update since i had everything stock except recovery so i went ahead and checked for updates.
First up was jwr66y(before that i was on 66v) which successfully downloaded and installed. Then came the 240 mb 4.4 update which downloaded but while installing after reboot gave me the dead android with 'error' message.
I then rebooted the phone which works ok but shows 4.3 as my version and also tells me im already up to date on checking for updates. So now i decided to flash ota manually using zip. However now on booting in recovery, it doesnt take me to the TWRP screen but simply shows dead android with no command message.
Also, root seems to be gone. However rest of the phone works alright. How do i fix this and successfully install 4.4 kitkat? Please help. Also can anybody shed light on why it might have happened so i can prevent it in the future.
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Flash the complete 4.4 KRT16S factory image. Download from here and extract the zip to your adb/platform tools directory. Make sure your drivers are working properly. If you don't want your data wiped, edit flash-all.bat and remove -w. Connect your phone and boot into the bootloader (you can do this by opening cmd in adb directory and entering "adb reboot bootloader"). Now simply run the flash-all script and wait for it to complete. You are now on KitKat 4.4
Flash TWRP and anything else you want to flash. Download and flash the 4.4.2 update if you want.
Thanks a lot for the quick reply. I managed to get root and twrp back using wugfresh's kit. It seems to me that twrp is not good with OTAs(there is a page on their site re. this) which might be the reason for this mess.
So now instead of flashing the zip using adb, can i do it with twrp? I dont have much experience with adb since i have always used twrp. (I am not averse to using cmd but the 480 mb download for the sdk just to get adb and stuff puts me off).
Do I necessarily need to wipe my data to install the kitkat update?
Sent from my Nexus 4 using xda app-developers app

Nexus 7 2013 Android Update 4.3 to 4.4.2

Do you have problems updating Nexus 7 from Jelly Bean to Kitkat? Well I did, since the day got my hands of N7 device, it was unlocked and rooted.
Somewhere is Sep the News of Kitkat has been rolling out. In Oct my N7 device notified on the new Kit Kat upgrade. I have been trying using OTA update but each time came to "FAILED" installation and so decided to give up the idea since JB 4.3 was working fine.
Now Kit Kat rolled out 4.4.2 version and still I had the same problem, did some researched on XDA forum and tried each of their suggestion but still did not work out. I was always stuck with "KoreanIME.apk" error on recovery, perhaps something I deleted earlier on.
Using Nexus Root Toolkit Ver 1.8
Finally decided to use the Nexus Root Toolkit (NRT). The last time used it was rooting the brand new N7. Run NRT and it started gathered information and upgraded to latest NRT ver 1.8.
With the new NRT version I decided to Flash Stock + Unroot, hoping I can do the update by going back to stock. To my surprise NRT found the latest Kitkat 4.4.2 and installed on Nexus 7. Most of the data was lost but had earlier done a backup. After which just like a brand new device, log in my account and immediately all the previous Apps started to download back to the device.
Once that was done, Root the device using NRT included Custom Recovery check, the rest just follow NRT instructions to install BusyBox and all is Done!!
Apps like Watsapp had to be installed manually since it does not support tablet version. Other data were also done manually.
I would not recommend this method unless you are prepared to wipe everything clean, so do a backup first. There were no other options and this was the only method.
Hope this helps and if anyone can point out the mistake I have done, do share for others.
OTA update doesn't work with custom recovery if I'm not mistaken
OTA can work with custom recovery, I've done it several times, though the custom recovery was overwritten by the update.
Sent from my SGH-I747M using xda app-developers app
Yes, OTA in the form of .zip file can be flashed via custom recovery.
But it seems that OP's problem occurs when he's trying to update from official OTA notification, from my understanding if you try to update from official OTA notification with custom recovery installed it will fail.
Please correct me if I'm wrong since mine was done through adb sideload
I did it through the official OTA (not a zip file) with a custom recovery. There seems to be a myth out there that it's not possible, but I can say from experience that it is possible.
Sent from my SGH-I747M using xda app-developers app
clienttrace said:
Yes, OTA in the form of .zip file can be flashed via custom recovery.
But it seems that OP's problem occurs when he's trying to update from official OTA notification, from my understanding if you try to update from official OTA notification with custom recovery installed it will fail.
Please correct me if I'm wrong since mine was done through adb sideload
Click to expand...
Click to collapse
Just for clarification, besides using auto OTA update, I did tried it manually using razor and SuperSu zip files. Also as you mentioned ADB sideload. It did not work out.
Somehow using NRT was much easier, just sit back and let NRT do all the job. The only setback were the missing data. Not a big issue, anyway was nice to see the file structure cleaned up.
gc84245 said:
I did it through the official OTA (not a zip file) with a custom recovery. There seems to be a myth out there that it's not possible, but I can say from experience that it is possible.
Sent from my SGH-I747M using xda app-developers app
Click to expand...
Click to collapse
thanks, that's clear it up for me

Unable to update after root

Hi
I am running on LMY47V, Version 5.1.1.
About 2 days ago i got an update of 20 MB which got downloaded into my device but failing to apply.
Whenever i Click the Restart and Install button the device gets restarted and goes into ClockworkMod Recovery v6.0.4.7 asking to fix the root access which is possibly lost . I tried both the options Yes and No then the device gets started with no update.
Then the same notification comes in asking me to Restart and Apply.
I have rooted and applied CM Recovery recently and this never happened to me before rooting.
It is normal that OTA updates do not work when rooted. There are a few workarounds, but they are not super easy (you can normally install the updates manually using adb-tools if I remember correctly).
adithyagem said:
About 2 days ago i got an update of 20 MB which got downloaded into my device but failing to apply.
I have rooted and applied CM Recovery recently and this never happened to me before rooting.
Click to expand...
Click to collapse
Yeah, to use the OTA updates you need to be completely stock. Stock ROM, locked bootloader, no root and stock recovery.
theminikiller said:
Yeah, to use the OTA updates you need to be completely stock. Stock ROM, locked bootloader, no root and stock recovery.
Click to expand...
Click to collapse
Bootloader does not have to be locked, but you are correct about everything else.
ariesgodofwar said:
Bootloader does not have to be locked, but you are correct about everything else.
Click to expand...
Click to collapse
Oh, that's good to know.
I went through this over the weekend (flashing back to stock in order to get the OTA update).
I cannot say enough good things about this Nexus Root Toolkit by WugFresh: http://www.wugfresh.com/nrt/
Made it super simple for me to flash back to stock, get that OTA update, and then flash TWRP right back (so that I could enable 4G/LTE again).
Arson Smith said:
I went through this over the weekend (flashing back to stock in order to get the OTA update).
I cannot say enough good things about this Nexus Root Toolkit by WugFresh: http://www.wugfresh.com/nrt/
Made it super simple for me to flash back to stock, get that OTA update, and then flash TWRP right back (so that I could enable 4G/LTE again).
Click to expand...
Click to collapse
I strongly recommend you learn how to use fastboot. You would not have had to flash back to stock to update. You could have flashed the system and boot images and been done with it. NRT is a good tool but you have much more flexibility if you understand what you're doing with fastboot.
Sent from my Nexus 9 using XDA Free mobile app

Categories

Resources