[Q] Nexus 4 kitkat 4.4.3 Update error - Nexus 4 Q&A, Help & Troubleshooting

Hi,
I have been trying to update my N4 for quite sometime now and have had a particular issue every time. First I tried with the OTA file and adb sideload. Didn't work. Then this morning I received the OTA on the phone itself, tried doing it but still got the same error message. It says "Installation aborted. Error (Status 7)" I have no clue whatsoever what it is. Please help.
I am using stock rom, rooted.
P.S. if this has already been posted by someone else, kindly direct me to that thread.
Thanks

Error status 7 means modification to the /system directory. You must fastboot flash the stock 4.4.2 /system image only from the factory image package and then you will be able to sideload the update, all with no loss of data. This is what I did since my /system was heavily modified. After flashing the ota, re apply all your /system tweaks, if any.
Sent from my Nexus 4 using XDA Free mobile app

I used the following thread.
Long story short I grabbed the stock ROM and flashed only the system. img to phone
http://android.stackexchange.com/qu...ttempting-to-adb-sideload-the-ota-update-on-n
Sent from my Nexus 4 using XDA Premium 4 mobile app

anubhavmehta said:
Hi,
I have been trying to update my N4 for quite sometime now and have had a particular issue every time. First I tried with the OTA file and adb sideload. Didn't work. Then this morning I received the OTA on the phone itself, tried doing it but still got the same error message. It says "Installation aborted. Error (Status 7)" I have no clue whatsoever what it is. Please help.
I am using stock rom, rooted.
P.S. if this has already been posted by someone else, kindly direct me to that thread.
Thanks
Click to expand...
Click to collapse
Recovery versión?
Sent from my Nexus 4

Thanks a lot!
Hey, thanks for the info. One more question though, will fastboot flashing 4.4.2 system image remove all data? I guess the problem here might be because of Xposed Module, which might have made some changes in the system directory. The other issue that I am having is that I am unable to access any content on my laptop with my phone connected over USB, so i am unable to take backup of my data. I tried backup using recovery as well but it didn't work as well.
lolcakes203 said:
Error status 7 means modification to the /system directory. You must fastboot flash the stock 4.4.2 /system image only from the factory image package and then you will be able to sideload the update, all with no loss of data. This is what I did since my /system was heavily modified. After flashing the ota, re apply all your /system tweaks, if any.
Sent from my Nexus 4
Click to expand...
Click to collapse

CWM 6.0.4.3
tupac4u said:
Recovery versión?
Sent from my Nexus 4
Click to expand...
Click to collapse

Flashing the entire factory image will delete all your data and return your device to pure stock, but we are not asking you to do that. All you need to do is flash the system.img which is located in the factory image which will return your /system partition to pure stock, and this will not delete any data because it does not touch your /data partition.
Xposed does modify /system and was most likely the cause for your ota error. You can try disabling xposed and flashing again, but if you get more problems, it makes the most sense to flash system.img and then flash the ota and re apply xposed.
Sent from my Nexus 4 using XDA Free mobile app

yep, tried that. didn't work. I'll try the fastboot system.img solution and hope it works.
lolcakes203 said:
Flashing the entire factory image will delete all your data and return your device to pure stock, but we are not asking you to do that. All you need to do is flash the system.img which is located in the factory image which will return your /system partition to pure stock, and this will not delete any data because it does not touch your /data partition.
Xposed does modify /system and was most likely the cause for your ota error. You can try disabling xposed and flashing again, but if you get more problems, it makes the most sense to flash system.img and then flash the ota and re apply xposed.
Sent from my Nexus 4 using XDA Free mobile app
Click to expand...
Click to collapse

I am having the same problem, my nexus 4 is unrooted with clean stock img but I still get error in the middle of the OTA update to 4.4.3, anyone one know why? Please help

Worked!
All done with absolutely no loss of data. Thanks a lot! :good:
lolcakes203 said:
Flashing the entire factory image will delete all your data and return your device to pure stock, but we are not asking you to do that. All you need to do is flash the system.img which is located in the factory image which will return your /system partition to pure stock, and this will not delete any data because it does not touch your /data partition.
Xposed does modify /system and was most likely the cause for your ota error. You can try disabling xposed and flashing again, but if you get more problems, it makes the most sense to flash system.img and then flash the ota and re apply xposed.
Sent from my Nexus 4 using XDA Free mobile app
Click to expand...
Click to collapse

Related

4.1.2 altered build.prop file can't receive OTA update

A while back I altered my build.prop file and accidently deleted it. I didn't make a backup so I restored it with one that someone posted and I haven't had any problems.
However since I did that, the OTA update that I got notified for did not install.
My boot loader is unlocked and I am rooted with stock recovery.
How can I update to 4.1.2 manually and still keep root?
I understand there are plenty of posts about this but everyone has a different problem and I'm just trying to get the correct information. Thanks for any help.
Sent from my Nexus 7 using xda app-developers app
somerandomname1 said:
A while back I altered my build.prop file and accidently deleted it. I didn't make a backup so I restored it with one that someone posted and I haven't had any problems.
However since I did that, the OTA update that I got notified for did not install.
My boot loader is unlocked and I am rooted with stock recovery.
How can I update to 4.1.2 manually and still keep root?
I understand there are plenty of posts about this but everyone has a different problem and I'm just trying to get the correct information. Thanks for any help.
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
Download the OTA update JZO54K-fromJRO03D
Download SuperSu or Superuser
put the OTA update and SuperSu or Superuser in a in your /sdcard/Download directory
Flash ClockworkMod recovery from fastboot
http://download2.clockworkmod.com/recoveries/recovery-clockwork-touch-6.0.1.0-grouper.img
Code:
> fastboot flash recovery recovery-clockwork-touch-6.0.1.0-grouper.img
Boot recovery from the fastboot menu
Install the OTA update, then install SuperSu or Superuser.
Thanks man appreciate it.
Sent from my Nexus 7 using xda app-developers app
this actually didn't work...everything was working fine, but it aborted and mentioned my build.prop file as the reason why...
somerandomname1 said:
this actually didn't work...everything was working fine, but it aborted and mentioned my build.prop file as the reason why...
Click to expand...
Click to collapse
Here's the build.prop from JRO03D load that up and try again. If that fails, you can manually update to 4.1.2 from the factory image without modifying user data.
this worked my friend, thanks.
I'm having the exact same problem, same circumstances, down to the update not taking because I accidentally deleted a system file, except the file in question is the gmail .odex file because I deleted that to install the unreleased gmail 4.2 app. Any help?
EDIT: Fixed thanks to user comminus via PM. Cheers.

How to update?

Hey I have an unlocked boot loader, stock 4.2.1 ROM but running ktoonz kernel. In order to get the next update will I have to re flash the stock kernel, recovery, and re-lock my bootloader? I'm really only familiar with Samsung galaxy devices where you can just ODIN everything
Sent from my SGH-T999 using xda premium
Jms122589 said:
Hey I have an unlocked boot loader, stock 4.2.1 ROM but running ktoonz kernel. In order to get the next update will I have to re flash the stock kernel, recovery, and re-lock my bootloader? I'm really only familiar with Samsung galaxy devices where you can just ODIN everything
Sent from my SGH-T999 using xda premium
Click to expand...
Click to collapse
You will need the stock kernel and your /system partition must be completely unmodified. Bootloader state and recovery don't matter. After accepting an update you will lose your custom recovery and root, so you will have to reflash but that's no big deal.
Sent from my Nexus 7 using Tapatalk HD
Awesome thanks a lot, is there a link for a flashable stock kernel? I don't ry feel like restoring from my old recovery
Sent from my SGH-T999 using xda premium
Jms122589 said:
Awesome thanks a lot, is there a link for a flashable stock kernel? I don't ry feel like restoring from my old recovery
Sent from my SGH-T999 using xda premium
Click to expand...
Click to collapse
Download the latest factory images at http:// developers.google.com/android/nexus/images. Open the package, and flash boot.img.
Sent from my Galaxy Nexus using Tapatalk 2
oldblue910 said:
Download the latest factory images at http:// developers.google.com/android/nexus/images. Open the package, and flash boot.img.
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
Hey can u also help me
I was running CM10.1 then I flashed back the stock image of 4.2 and now I am not able to update it to 4.2.1 it shows me an error when installing.
Please help!!!
udimars30 said:
Hey can u also help me
I was running CM10.1 then I flashed back the stock image of 4.2 and now I am not able to update it to 4.2.1 it shows me an error when installing.
Please help!!!
Click to expand...
Click to collapse
You have to flash both system and boot, plus do a full data and cache wipe. As long as you do that and you don't let root apps modify files on your /system partition, the update should install fine. Also, keep in mind that when you get the OTA notification on your phone, you cannot just select "Restart and Install" if you have ClockworkMod recovery. OTAs will only auto flash if you have stock recovery. If you're using ClockworkMod recovery, you'll have to pull the OTA file out of your /cache folder and put it on internal storage somewhere, then flash it manually in ClockworkMod.
OK so am I flashing the boot image and system image through fastboot? If so how do I do that? If not...how do I flash them?
Sent from my SGH-T999 using xda premium
Jms122589 said:
OK so am I flashing the boot image and system image through fastboot? If so how do I do that? If not...how do I flash them?
Sent from my SGH-T999 using xda premium
Click to expand...
Click to collapse
Correct. Just extract system.img and boot.img from the package you download, then plug your tablet into USB, boot it into the bootloader, and do the following two commands:
fastboot flash boot boot.img
fastboot flash system system.img
If you want to wipe data, also do:
fastboot erase cache
fastboot erase userdata
That'll get you back to complete stock.
OK so were am I extracting these files to? Root of mysd card, desktop, etc? Thanks a bunch for your help btw I'm just not experienced at all with flashing outside of recovery or odin
Sent from my Nexus 10 using xda premium
Jms122589 said:
OK so were am I extracting these files to? Root of mysd card, desktop, etc? Thanks a bunch for your help btw I'm just not experienced at all with flashing outside of recovery or odin
Sent from my Nexus 10 using xda premium
Click to expand...
Click to collapse
Extract them to your desktop somewhere, then do fastboot from the command prompt.
oldblue910 said:
You have to flash both system and boot, plus do a full data and cache wipe. As long as you do that and you don't let root apps modify files on your /system partition, the update should install fine. Also, keep in mind that when you get the OTA notification on your phone, you cannot just select "Restart and Install" if you have ClockworkMod recovery. OTAs will only auto flash if you have stock recovery. If you're using ClockworkMod recovery, you'll have to pull the OTA file out of your /cache folder and put it on internal storage somewhere, then flash it manually in ClockworkMod.
Click to expand...
Click to collapse
sorry but i didn't get this part 'As long as you do that and you don't let root apps modify files on your /system partition' and to flash all that i need unlock bootloader??
oldblue910 said:
You have to flash both system and boot, plus do a full data and cache wipe. As long as you do that and you don't let root apps modify files on your /system partition, the update should install fine. Also, keep in mind that when you get the OTA notification on your phone, you cannot just select "Restart and Install" if you have ClockworkMod recovery. OTAs will only auto flash if you have stock recovery. If you're using ClockworkMod recovery, you'll have to pull the OTA file out of your /cache folder and put it on internal storage somewhere, then flash it manually in ClockworkMod.
Click to expand...
Click to collapse
I did all that you said but didn't understand this 'As long as you do that and you don't let root apps modify files on your /system partition' then i tried to update manually and it did again showed me an error like this:
udimars30 said:
I did all that you said but didn't understand this 'As long as you do that and you don't let root apps modify files on your /system partition' then i tried to update manually and it did again showed me an error like this:
Click to expand...
Click to collapse
Did you use the JOP40C factory images downloaded from the Google website somewhat recently? That error is caused when you flash the original set of JOP40C images released when the Nexus 10 first came out. There was a bug in them that Google fixed. They posted new images. You can download them at http://developers.google.com/android/nexus/images or http://www.randomphantasmagoria.com/firmware/nexus-10/mantaray.
Also, what I mean about root apps modifying /system files...so there are a lot of root apps out there that make tweaks to your system...stuff like making changes to your GPS config files for quicker lock-on, you yourself going in and deleting unwanted apps out of /system/app, you or an app making changes to build.prop, installing busybox in the wrong place and having it overwrite system commands with its own...things like that. If you or any app make any change whatsoever to any file anywhere on /system, an OTA will fail every time. It checks the hash of each and every file before applying the update and if a single one of them doesn't match what it expects, the OTA will fail. So just keep that in mind.
But that error you're getting about set_perm is most definitely caused by using the original, bad set of images that Google put out there. Download them again, try again and you should be in business.
oldblue910 said:
Did you use the JOP40C factory images downloaded from the Google website somewhat recently? That error is caused when you flash the original set of JOP40C images released when the Nexus 10 first came out. There was a bug in them that Google fixed. They posted new images. You can download them at http://developers.google.com/android/nexus/images or http://www.randomphantasmagoria.com/firmware/nexus-10/mantaray.
Also, what I mean about root apps modifying /system files...so there are a lot of root apps out there that make tweaks to your system...stuff like making changes to your GPS config files for quicker lock-on, you yourself going in and deleting unwanted apps out of /system/app, you or an app making changes to build.prop, installing busybox in the wrong place and having it overwrite system commands with its own...things like that. If you or any app make any change whatsoever to any file anywhere on /system, an OTA will fail every time. It checks the hash of each and every file before applying the update and if a single one of them doesn't match what it expects, the OTA will fail. So just keep that in mind.
But that error you're getting about set_perm is most definitely caused by using the original, bad set of images that Google put out there. Download them again, try again and you should be in business.
Click to expand...
Click to collapse
Thanks a ton dude but any place where i can talk to you??
like facebook or Google+??
udimars30 said:
Thanks a ton dude but any place where i can talk to you??
like facebook or Google+??
Click to expand...
Click to collapse
I'm on Twitter and G+. Just click on my name over on the left of this post and you can find links to my profiles.

[Q] OTA update to 4.2.2 problems

My 7 is unlocked and rooted, using Nexus Root Toolkit. I did an OTA to get to 4.2.1 some time ago and that went well. Root and unlock persisted. I am now getting OTA options for 4.2.2 from the System menu. First time I got and error in Android's belly. I restarted and was still in 4.2.1. System then said that I was up to date. A week or so later System told me again that OTA was available and I got the same result.
Any suggestions as to how I can do the update?
rsipson said:
My 7 is unlocked and rooted, using Nexus Root Toolkit. I did an OTA to get to 4.2.1 some time ago and that went well. Root and unlock persisted. I am now getting OTA options for 4.2.2 from the System menu. First time I got and error in Android's belly. I restarted and was still in 4.2.1. System then said that I was up to date. A week or so later System told me again that OTA was available and I got the same result.
Any suggestions as to how I can do the update?
Click to expand...
Click to collapse
You have two choices
1. Flash the stock 4.2.2 image using fastboot from here https://developers.google.com/android/nexus/images
Or
2. Flash this in CWM recovery (note this link is for the wifi model) http://android.clients.google.com/p....signed-nakasi-JDQ39-from-JOP40D.6ece895e.zip
You have to restore everything except relocking bootloader ... To be able to update ...when u finish ..just re-root
Sent from my Nexus 7 using xda premium
Same thing happened to me, I had to unroot and then root again after update.
Sent from my HTC Desire S using xda app-developers app
heat361 said:
You have two choices
1. Flash the stock 4.2.2 image using fastboot from here https://developers.google.com/android/nexus/images
Or
2. Flash this in CWM recovery (note this link is for the wifi model) http://android.clients.google.com/p....signed-nakasi-JDQ39-from-JOP40D.6ece895e.zip
Click to expand...
Click to collapse
Thanks for your post. I tried this using Clockwork and got a very long error message. I will quote part of it.
assert failed_apply_patch_check("/system/bin/debuggerd", "a2323a0c8 and a lot more
This is followed by error in file
I saw something about busybox changing some system files.
Any ideas??
How do I unroot without whipping all data?
Sent from my Nexus 7 using xda app-developers app
Search this forum for "OTA debugged"
There are only a few threads - read them all before you take any action.
This particular problem appears to be caused by StickMount.
You don't need to delete everything, nor do you need to flash the ENTIRE stock image - only the boot.img and system.img (via fastboot) without doing a factory reset or any other wiping.
This will unroot the ROM, and (of course) prevent StickMount from working. So you should over flash a SuperSU root kit afterwards (via custom recovery).
This very same problem may recur on the next OTA - so for goodness sake's, make a nandroid backup before you re-install StickMount and give it root privileges.
bftb0 said:
Search this forum for "OTA debugged"
There are only a few threads - read them all before you take any action.
This particular problem appears to be caused by StickMount.
You don't need to delete everything, nor do you need to flash the ENTIRE stock image - only the boot.img and system.img (via fastboot) without doing a factory reset or any other wiping.
This will unroot the ROM, and (of course) prevent StickMount from working. So you should over flash a SuperSU root kit afterwards (via custom recovery).
This very same problem may recur on the next OTA - so for goodness sake's, make a nandroid backup before you re-install StickMount and give it root privileges.
Click to expand...
Click to collapse
Sorry for being a numpty... can someone put the above into a mini step by step guide for me.. I'm stuggling with the terminology.
I rooted my Nexus and have since forgotten anything techie regarding it. I have StickMount and cannot update to 4.2.2..
How do i flash boot.img and system.img via fastboot, where do i get these files from, what versions etc do i need? And over flash SuperSU root kit?
What is OTA?
Basically, I think i need a newbie guide. I am techie enough to achieve most things normally.. i just don't know the android system at all, and what i did know to be able to root it i have completely forgotten!
Any guidance would be very much appreciated. Cheers.

Jwr66y ota

Does anyone know where I can get a flashable OTA file that will keep root for the Wifi OG Nexus 7? I have seen it posted for the Nexus 4 and new Nexus 7, but cannot find it anywhere for Grouper.
VAVA Mk2 said:
Does anyone know where I can get a flashable OTA file that will keep root for the Wifi OG Nexus 7? I have seen it posted for the Nexus 4 and new Nexus 7, but cannot find it anywhere for Grouper.
Click to expand...
Click to collapse
There is a flashable ota at the link below. You may need to flash superuser 1.51 after to get root back.
http://forum.xda-developers.com/showthread.php?t=1745781
Sent from my GT-I9505 using xda app-developers app
gsmyth said:
There is a flashable ota at the link below. You may need to flash superuser 1.51 after to get root back.
http://forum.xda-developers.com/showthread.php?t=1745781
Sent from my GT-I9505 using xda app-developers app
Click to expand...
Click to collapse
OK I tried that but I got a Status 7 error message and it aborted install. I have everything stock that I can think of. No custom kernel. No nothing. Any suggestions other than flashing back to stock completely via Wug's toolkit then doing the OTA through the tablet itself and then restoring everything with Titanium Backup?
VAVA Mk2 said:
OK I tried that but I got a Status 7 error message and it aborted install. I have everything stock that I can think of. No custom kernel. No nothing. Any suggestions other than flashing back to stock completely via Wug's toolkit then doing the OTA through the tablet itself and then restoring everything with Titanium Backup?
Click to expand...
Click to collapse
If you check that thread I linked to above, there a few people with the status 7 error and a few different fixes, worth a try before wiping anything, hope it helps.
Sent from my GT-I9505 using xda app-developers app
gsmyth said:
If you check that thread I linked to above, there a few people with the status 7 error and a few different fixes, worth a try before wiping anything, hope it helps.
Sent from my GT-I9505 using xda app-developers app
Click to expand...
Click to collapse
Thanks I appreciate it!
VAVA Mk2 said:
OK I tried that but I got a Status 7 error message and it aborted install. I have everything stock that I can think of. No custom kernel. No nothing. Any suggestions other than flashing back to stock completely via Wug's toolkit then doing the OTA through the tablet itself and then restoring everything with Titanium Backup?
Click to expand...
Click to collapse
You don't need to flash the stock image and lose your data, but even if you are on stock 4.3 you still need two things: stock recovery (if you don't already have it installed) AND you need to unroot! Being rooted will throw the Status 7 error.
Here's what I did:
First flash the stock recovery for JWR66V in fastboot.
Then use the "Full unroot" option inside SuperSU.
Apply the JWR66Y update using ADB sideload.
Then reinstall TWRP and install UPDATE-SuperSU-v1.51.zip using TWRP.
After rebooting you may be surprised to see that the SuperSU app needs to be installed again (seems to be a quirk a lot of us are having). Just head over to Google play and after that all should be good.
Sent from my Nexus 7 using xda app-developers app
CatThief said:
You don't need to flash the stock image and lose your data, but even if you are on stock 4.3 you still need two things: stock recovery (if you don't already have it installed) AND you need to unroot! Being rooted will throw the Status 7 error.
Here's what I did:
First flash the stock recovery for JWR66V in fastboot.
Then use the "Full unroot" option inside SuperSU.
Apply the JWR66Y update using ADB sideload.
Then reinstall TWRP and install UPDATE-SuperSU-v1.51.zip using TWRP.
After rebooting you may be surprised to see that the SuperSU app needs to be installed again (seems to be a quirk a lot of us are having). Just head over to Google play and after that all should be good.
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
Hi, I'm looking forward to doing this step since I really want to get that OTA installed in my device. Mine is on stock ROM, rooted via wugfresh toolkit. My concern is, after doing this step, will I lose all data? Also could you please explain how to do the first step- "First flash the stock recovery for JWR66V in fastboot."? I'm still a bit new to all these things, so please bare with me.
Thanks!
http://forum.xda-developers.com/showthread.php?t=1745781&page=53
Check out this thread. I flashed the Grouper.zip file, which is the OTA modified by commenting out the validation check that results in the Status 7 error. I copied it to /sdcard along with the Supersu 1.51 zip. The ota flashed perfectly using TWRP recovery. After booting and going back into TWRP, I flashed the supersu1.51 and regained root. You do not need to unroot or flash stock recovery to get this update. No data loss. I'm stock rom & kernel, rooted with TWRP recovery.
choybel said:
Hi, I'm looking forward to doing this step since I really want to get that OTA installed in my device. Mine is on stock ROM, rooted via wugfresh toolkit. My concern is, after doing this step, will I lose all data? Also could you please explain how to do the first step- "First flash the stock recovery for JWR66V in fastboot."? I'm still a bit new to all these things, so please bare with me.
Thanks!
Click to expand...
Click to collapse
You won't lose data if you repeat the steps I took. However since you are asking how to flash a recovery in fastboot I would seriously be careful and do a bit of homework on how fastboot works. All the instructions you'll ever need can be found by searching xda. It really isn't as daunting as it sounds but you definitely need to understand how it works before trying it.
Or you could try the link that Groid posted if you aren't concerned about skipping the validation check. The process is definitely is simpler if you're "new to all these things".
I'm not opposed to using WugFresh's toolkit, he's a brilliant developer, but it's never a bad idea to learn about what happens in the background and see it with your own eyes.
Sent from my rooted GSM Galaxy Nexus

[Q] Can't install 4.4.2 OTA update due to font file

I have a Nexus 7 (2012) with 4.4, rooted, TWRP 2.6.0.0. I'm trying to update to the 4.4.2 OTA update, but it's not working. Whether I run it from the system notification prompt or try to install the file manually (in /cache) via TWRP, it fails with this error:
"/system/fonts/Roboto-Bold.ttf" has unexpected contents.​
Then it says there's an error executing the updater binary, an error flashing zip file, etc. All the standard stuff when it bombs out of an install.
I did change my font using ROM Toolbox Pro a while back, but I restored the original font and tried running it again. Still got the error. I tried downloading a fresh copy of the .ttf file and replacing the one in /system/fonts, but still got the error. It seems a little silly for the whole update to crash due to a font file, but whatever...
Can anyone help me figure out what's going on, and how to get this OTA to install properly? Thanks in advance!
Probably it's easier to flash the 4.4.2 factory image resp. system.img and boot.img of it manually than trying to recover the correct 4.4 state.
There are already some posts where I described how to do it and there is also a post in my blog describing the process.
Sent from my Nexus 7 using xda app-developers app
AndDiSa said:
Probably it's easier to flash the 4.4.2 factory image resp. system.img and boot.img of it manually than trying to recover the correct 4.4 state.
There are already some posts where I described how to do it and there is also a post in my blog describing the process.
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
Well, after every failure, it reboots and goes right back to functioning perfectly as it was on 4.4. But, I will consider the direct flash of 4.4.2 if no one else has any other suggestions. Thanks!

Categories

Resources