CWM - Nexus 4 Q&A, Help & Troubleshooting

I know that ota updates wont delete user apps and data but does anyone know if updating from android 4.4 kit Kat KRT160 to KRT16S via ota will delete or remove cwm?
Sent from my Nexus 4 using XDA Premium 4 mobile app

h3llpoiso_N said:
I know that ota updates wont delete user apps and data but does anyone know if updating from android 4.4 kit Kat KRT160 to KRT16S via ota will delete or remove cwm?
Sent from my Nexus 4 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Neither the ota will instead fail.
And wrong place to post questions. Its been discussed before in other threads.
Sent from my Nexus 4 using Tapatalk

Yep, you can't update via OTA while having any custom recovery.

arffrhn said:
Yep, you can't update via OTA while having any custom recovery.
Click to expand...
Click to collapse
Actually TWRP can flash OTA packages, I haven't tried it myself but many people have confirmed it will work. I'm not sure if OTA will work with TWRP though, (not the manual flashing of the package, but the OTA update itself as in Android automatically downloading it, booting into TWRP and updating automatically), still think it needs stock recovery for that.

eksasol said:
Actually TWRP can flash OTA packages, I haven't tried it myself but many people have confirmed it will work. I'm not sure if OTA will work with TWRP though, (not the manual flashing of the package, but the OTA update itself as in Android automatically downloading it, booting into TWRP and updating automatically), still think it needs stock recovery for that.
Click to expand...
Click to collapse
I see. I always flash the factory images using adb. I find it simpler that way.

Related

The 4.2.1 OTA Help

So i just switched from HTC ONE X to the nexus 4 and my version is 4.2 and i just rooted it. I have the system OTA update 4.2.1. Should i take it or is there another way to update my phone to 4.2.1 without OTA?
Do not OTA update once you're already rooted; flash this stock ROM (https://www.dropbox.com/s/syi2vmxh0noi2bv/occam-jop40d-factory-ca7602f0.tgz) and re-root.
klvnhng said:
Do not OTA update once you're already rooted; flash this stock ROM (https://www.dropbox.com/s/syi2vmxh0noi2bv/occam-jop40d-factory-ca7602f0.tgz) and re-root.
Click to expand...
Click to collapse
Thank you i was looking for this file! so i just put it in my SD card and then install Zip from sd card from recovery?
ronnyg12 said:
Thank you i was looking for this file! so i just put it in my SD card and then install Zip from sd card from recovery?
Click to expand...
Click to collapse
That is a tgz file, not a zip. You'll need a PC, 7zip and fastboot.
estallings15 said:
That is a tgz file, not a zip. You'll need a PC, 7zip and fastboot.
Click to expand...
Click to collapse
Yes yes i figured it out
I've been trying to do this without wiping my device. It's still downloading so I haven't seen the contents, but I'm assuming just flash the .img files with fastboot and it won't erase anything? Would the Rootkeeper app work for this?
if you're only rooted, ota will work and would install without issues. it will only fail if you have modified some system files or the recovery. no need to reflash anything except the supersu for root if you don't use rootkeeper
I'm using Franco's kernel and CWM recovery. I have the stock system files, so if I flash those back, how do I go about applying this update? I'm so sick of seeing the update message in my notification bar and do not want to wipe to flash a new ROM.
Edit: I have previously tried flashing the stock boot.img and recovery.img, but trying the update via the notification still failed.
Nitemare3219 said:
I'm using Franco's kernel and CWM recovery. I have the stock system files, so if I flash those back, how do I go about applying this update? I'm so sick of seeing the update message in my notification bar and do not want to wipe to flash a new ROM.
Click to expand...
Click to collapse
Flash the stock recovery.img and boot.img. You won't lose anything.
Nitemare3219 said:
I'm using Franco's kernel and CWM recovery. I have the stock system files, so if I flash those back, how do I go about applying this update? I'm so sick of seeing the update message in my notification bar and do not want to wipe to flash a new ROM.
Edit: I have previously tried flashing the stock boot.img and recovery.img, but trying the update via the notification still failed.
Click to expand...
Click to collapse
Your settings probably also modified the system files. Try flashing that too since you have the stock files. Just don't do userdata so your data is kept intact
Sent from my Nexus 4 using Tapatalk 2
why it is not possible to make OTA update on rooted phone?
Sent from my Nexus 4 using Tapatalk 2
I rooted, unlocked bootloader and flashed recovery yesterday then installed the OTA after, had no issues at all. If you are using cwm recovery it re-roots and prevents stock recovery being flashed after the ota is installed.
So am running rooted 4.2.1 at the mo.. And its sick
Sent from my Nexus 4 using xda app-developers app
blablazzz said:
why it is not possible to make OTA update on rooted phone?
Click to expand...
Click to collapse
You can, it's fine and will work as long as you have stock recovery. You might lose root but can easily re-root if necessary.
Sent from my Nexus 4 using xda premium
why OTA will not work if custom recovery will be present?
Sent from my Nexus 4 using Tapatalk 2
blablazzz said:
why OTA will not work if custom recovery will be present?
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
Because it won`t!!!

[Q] Problem with OTA 4.3

Hey guys, got a problem here.
My nexus 4 is rooted running team win recovery. running 4.2.2
just got the notification about OTA update 4.3, really excited about it and clicked install.
phone rebooted, went to teamwin, and it looked to me trying to flash something. left it there and suddenly when back to the team win recovery home page. clicked reboot to system and don't know why i'm still in 4.2.2. checked for updates but says system is up to date.
can anyone help me with the solution?
thanks a lot
You need the stock recovery, as said in a thousand other threads. If u want 4.3 flash the system image and re-root
Sent from my Nexus 4 using xda premium
EddyOS said:
You need the stock recovery, as said in a thousand other threads. If u want 4.3 flash the system image and re-root
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
Or he could just get any 4.3 ROM and flash it through TWRP.
Sent from my Nexus 4 using xda app-developers app
Aaaaand i am still waiting for my update :/
My two friends with Samsung GNex got the Update, but ME with the Latest Nexus 4 still using 4.2.2 and on stock how beautiful the feeling is haha
Thibaultvw said:
Or he could just get any 4.3 ROM and flash it through TWRP.
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Or CWM
If you want it that bad. Just download the factory image from Google devs and flash it.
Then you also have stock ROM running.
Send from my Nexus 4
EddyOS said:
Or CWM
Click to expand...
Click to collapse
He uses TWRP.
Sent from my Nexus 4 using xda app-developers app
Is there any way to revert back to stock recovery in order to get the update?
Further more, is there an option to do so without re-flashing stock all together?
wizardwiz said:
Is there any way to revert back to stock recovery in order to get the update?
Further more, is there an option to do so without re-flashing stock all together?
Click to expand...
Click to collapse
You can extract the stock recovery from the factory image and flash through fastboot.
Hit thanks if I helped.
Sent from my Nexus 4 using xda app-developers app
You can get the stock 4.2.2 recovery from the 4.2.2 factory image. I did have it but as I only keep the current factory image I only have the 4.3 recovery to hand
EddyOS said:
You can get the stock 4.2.2 recovery from the 4.2.2 factory image. I did have it but as I only keep the current factory image I only have the 4.3 recovery to hand
Click to expand...
Click to collapse
OK, did some further investigations and here are my findings
1. If you have it, you can use Wugfresh's toolkit (V1.6.4 for now) and it has a utility that can simply restore stock recovery and if you want it, stock kernel as well.
2. The Toolkit will download all necessary files and prompted you before each step.
3. It will revert back permissions for the stock recovery as well
I'll give it a try later on at home.
Thanks guys
Ziv
I am a bit confused. According to the “Nexus OTA Help-Desk” thread, the way to do this is as follows:
Scenario #2
You are stock, with root. Custom Recovery without any modifications or deletions.
Continue to Section B
Section B: Flashing in a custom recovery
1) Download the OTA.zip and copy to your phone.
2) Boot into recovery
3) Flash the OTA
4) Flash Su.zip: (SU is being updated often so check Chainfire's G+ for the latest) https://plus.google.com/+Chainfire/posts
NOTE: Root on 4.3 is not stable. Your mileage may vary.
5) Reboot
So, what is different about using this method to install the OTA and just running the OTA from the notification, and is this the incorrect method?
Is returning to the stock recovery the preferred and more or less foolproof method?
I'm not sure why there's people saying otherwise, but from my experience you don't need stock recovery to take on an OTA...
I've updated my N7 several times now from when I first bought it to 4.3 currently, all the time with a custom recovery. Unless you've changed some other files which causes an error during the OTA update, I don't believe there is a need to re-flash stock recovery at all.
@mlj11, lots of people have the OTA failing on them, even if they are on rooted factory image 4.2.2.
Why the OTA fails on rooted 4.2.2 is still unclear.
My N4 with rooted factory image 4.2.2 also updated like it should without error.
Maybe the unlocked bootloader is the issue letting the 4.3 OTA fail.
Send from my Nexus 4
@DecypherT
I'm not saying that rooted users will have no problems updating. My post was in response to people on this thread saying that a custom recovery will stop the OTA. This is false.
It can't be the unlocked bootloader (and it has never been) causing the problem otherwise you or I wouldn't have been able to take the OTA, for example. More likely it's something else.
If any of a user's system files have been altered, there's a good chance the OTA will fail. In the past that happened to me because the Stickmount app changed one of the system files. Once I replaced it though, I could update without any problems.
Ok, good points you're proving here.
Still, it looks like the (OTA) android 4.3 is very unstable.
I'm on rooted 4.3 and experience no big bugs or flaws though.
I do see a very large decrease of battery life when using the phone (screen on) and a big increase when in deep sleep. When the phone is off I almost use no battery.
Send from my Nexus 4

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

How to update Nexus 6P without losing root?

I haven't downloaded any security patches since I followed the main guide and rooted my phone.
I now have seen the news regarding the security update and how many critical flaws there are so I would like to update.
How can I do so without losing root?
Losing root shouldn't really be a concern. All you need to do is flash SuperSU again afterwards, which takes about a minute.
https://play.google.com/apps/testing/eu.chainfire.flash
This is an app by Chainfire called Flashfire. It works perfectly for what you want. I have used it myself on a few occasions. Let me know how it worked for you.
Sent from my Nexus 6P using XDA-Developers mobile app
+1 FlashFire
If you are impatient and don't want to wait for the OTA zip, just download the factory image and flash the following files using flashfire.
boot.img
system.img
vendor.img
Remember to disable security before you flash or you will have an issue with the vendor.img.
Heisenberg said:
Losing root shouldn't really be a concern. All you need to do is flash SuperSU again afterwards, which takes about a minute.
Click to expand...
Click to collapse
Hey, so I'm rooted with stock ROM and EX kernel but received the April update, any info why I got it?
I thought if you're rooted you weren't supposed to get an OTA update.
Sent from my Nexus 6P using Tapatalk
Doodsz said:
Hey, so I'm rooted with stock ROM and EX kernel but received the April update, any info why I got it?
I thought if you're rooted you weren't supposed to get an OTA update.
Sent from my Nexus 6P using Tapatalk
Click to expand...
Click to collapse
You'll still receive the OTA, you just can't flash it via the traditional method.
I remember using the FlashFire method a month ago. The update worked and I didn't lose root, but I lost TWRP in the process.
ZabiGarma said:
I remember using the FlashFire method a month ago. The update worked and I didn't lose root, but I lost TWRP in the process.
Click to expand...
Click to collapse
Yes the update replaces TWRP with standard recovery. But I believe you can flash TWRP with Flash Fire.
Sent from my Nexus 6P using XDA-Developers mobile app
dratsablive said:
Yes the update replaces TWRP with standard recovery. But I believe you can flash TWRP with Flash Fire.
Click to expand...
Click to collapse
I couldn't flash it with FlashFire. I had to reinstall it from PC, which ended up with TWRP asking for a password, meaning I had to end up wiping the phone, which was worse than doing the regular OTA update.
ZabiGarma said:
I couldn't flash it with FlashFire. I had to reinstall it from PC, which ended up with TWRP asking for a password, meaning I had to end up wiping the phone, which was worse than doing the regular OTA update.
Click to expand...
Click to collapse
The new version of twrp 3.0.2.0 has been fixed. At least for me it worked.
Nice, I haven't installed the latest TWRP. I'll give it a try.
What I don't recall, though, is if last time I lost the applications I installed by flashing them with TWRP (like viper4android) or which rely on root.
I always remove security before flashing updates. Only issue is setting up the Imprint and adding cards back to Android Pay.
dave2metz said:
https://play.google.com/apps/testing/eu.chainfire.flash
This is an app by Chainfire called Flashfire. It works perfectly for what you want. I have used it myself on a few occasions. Let me know how it worked for you.
Sent from my Nexus 6P using XDA-Developers mobile app
Click to expand...
Click to collapse
Is FlashFire no longer available?
dratsablive said:
Yes the update replaces TWRP with standard recovery. But I believe you can flash TWRP with Flash Fire.
Sent from my Nexus 6P using XDA-Developers mobile app
Click to expand...
Click to collapse
If you use FlashFire just deselect recovery from the list when you load the latest update.
Sent from my Nexus 6P using XDA-Developers mobile app
Flash stock recovery and then ADB sideload the update. Links can be found in general. Then when it's done reflash twrp and SuperSU. Pretty easy. I've done it.

OTA 4.4 for Original Shield Tablet

It's just been released. It's basically just a security patch.
pls link on wifi ota 4.4
http://forum.xda-developers.com/shi...k-recovery-images-ota-library-guides-t2988881
i need full ota i have root...
dzefo said:
i need full ota i have root...
Click to expand...
Click to collapse
Ditto. Hopefully, someone can hook us up
dzefo said:
i need full ota i have root...
Click to expand...
Click to collapse
No, you don't need the full OTA to update to 4.4. You can update using the following steps:
Flash the boot, recovery, system images from the 4.3 recovery files.
Flash 4.4 delta update using stock recovery.
Flash TWRP and root.
Isira said:
No, you don't need the full OTA to update to 4.4. You can update using the following steps:
Flash the boot, recovery, system images from the 4.3 recovery files.
Flash 4.4 delta update using stock recovery.
Flash TWRP and root.
Click to expand...
Click to collapse
I have already pyro tablet 4.3 with root. With this process, I have to re-install the original 4.3, then 4.4 update from the original recovery and redo the root. doing so I lose all my data, right?
Inviato dal mio D6503 utilizzando Tapatalk
No but make a backup just in case.
Isira said:
No, you don't need the full OTA to update to 4.4. You can update using the following steps:
Flash the boot, recovery, system images from the 4.3 recovery files.
Flash 4.4 delta update using stock recovery.
Flash TWRP and root.
Click to expand...
Click to collapse
I'm not seeing the 4.4 delta update anywhere?
ALooneyGuy said:
I'm not seeing the 4.4 delta update anywhere?
Click to expand...
Click to collapse
It's certainly a messy thread the way that the OP is laid out that's quite awkward to find anything in! You have to click the grey buttons in the Op where there appears to be a link which will then take you to Mega so you can download at something around 0.5Mbps per year! Have a look at https://mega.nz/#F!bt4UCYiC!LkwGvQqJx4orzQJUDQS13g which appears to be the link once you finally manage to find it. (look under OTA and Incremental)
lmulli said:
It's certainly a messy thread the way that the OP is laid out that's quite awkward to find anything in! You have to click the grey buttons in the Op where there appears to be a link which will then take you to Mega so you can download at something around 0.5Mbps per year! Have a look at https://mega.nz/#F!bt4UCYiC!LkwGvQqJx4orzQJUDQS13g which appears to be the link once you finally manage to find it. (look under OTA and Incremental)
Click to expand...
Click to collapse
Yet I don't see a 4.4 update anywhere in there....
/data/data/com.nvidia.ota/app_download”. There you will find the downloaded OTA update zip file. found the 4.4 update moved it to downloads and tried flashing in twrp with su 2.78 ..error 7 did not work rebooted ..installer redid 4.4 ..so flash normal now and fastboot twrp and su 2.78 ? ..........>
grv00711 said:
/data/data/com.nvidia.ota/app_download”. There you will find the downloaded OTA update zip file. found the 4.4 update moved it to downloads and tried flashing in twrp with su 2.78 ..error 7 did not work rebooted ..installer redid 4.4 ..so flash normal now and fastboot twrp and su 2.78 ? ..........>
Click to expand...
Click to collapse
What?
Isira said:
No, you don't need the full OTA to update to 4.4. You can update using the following steps:
Flash the boot, recovery, system images from the 4.3 recovery files.
Flash 4.4 delta update using stock recovery.
Flash TWRP and root.
Click to expand...
Click to collapse
Did not work for me. Wrong keys, or something like that.
i just got the 1.5 full ota notification so you should the full 4.4 one now aswell guys
full ota still not available.
anyone grabbed this yet?
ive received the 4.4 ota update for my original us lte tablet
My rooted OG WiFi Shield tablet is currently optimizing apps on the first boot into the 4.4 OTA update that I was able to DL a full version of as of today.
GreenGraffix said:
My rooted OG WiFi Shield tablet is currently optimizing apps on the first boot into the 4.4 OTA update that I was able to DL a full version of as of today.
Click to expand...
Click to collapse
Did this work, cause the link i grabbed from the last page of the stock roms thread downloaded fine, but when i installed it, it didn't actually take me to 4.4. I still got the update notification, and my about device still showed 4.3.

Categories

Resources