Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

I have an unlocked Nexus One that I rooted to remove a system application (Twitter), but now the OTA system update fails with the message

Verifying current system ...
assert failed: apply_patch_check("/system/app/Twitter.apk", "<long hex string>")
E:Error in /cache/c8847c98b948.signed-passion-FRG83-fromFR91.c8847c98.zip
(status 7)

Un-rooting the device doesn't seem to fix this. Is there more to removing a system app than doing a 'rm' of the .apk? For example, is there some configuration file that also needs patching?

share|improve this question
add comment

3 Answers

It looks like you need to re-add the Twitter.apk, update, then remove it again. Have you tried that? The patch itself is trying to find that apk for the update (not sure if you can change the patch since it is probably signed?).

share|improve this answer
    
From what I've read, the system update removes the exploit which allows rooting the phone in the first place. My hope was to remove the app while rooting the phone was still possible. –  ctuffli Oct 6 '10 at 20:13
    
HA! Those bastards. Don't worry there are exploits to root it and to replace the recovery as well for the OTA. www.unrevoked.com –  Dmitriy Likhten Oct 6 '10 at 21:50
    
I tried re-adding Twitter, but the update still fails with the same error. –  ctuffli Feb 9 '11 at 16:26
add comment
up vote 1 down vote accepted

What ended up working was re-installing the stock Nexus One (a.k.a. Passion) image. There seem to be several different ways to go back to a stock installation, but what worked for me was:

  • Download the PASSIMG_Passion_.zip file from shipped-roms.com
  • Re-name the file passimg.zip and copy it to the SD card via USB
  • Booted into hboot (hold the volume down button while powering on the phone)
  • Selected 'yes' when asked if hboot should install the image

The above steps were inspired by this post in the XDA-Developers forum. After doing this, OTA updates started working again.

share|improve this answer
add comment

Use Titanium Backup (in the Market) to uninstall system apps -- it handles everything nicely.

share|improve this answer
    
The problem isn't with the uninstall, but rather the OTA updates failing. –  ctuffli Feb 9 '11 at 16:27
    
But you said the OTAU fails because of the uninstall. Using TB will ensure the uninstall is clean, then hopefully the update will work. –  Matthew Read Feb 9 '11 at 17:20
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.