Author Topic: Updating from BETA via in-app update & update.zip causes boot loop  (Read 8929 times)

0 Members and 1 Guest are viewing this topic.

bole

  • Guest
Yesterday evening (it's 9AM in NLD now) I updated the Avast software via the in-app update function, which mentioned there would be a new version. My HTC Desire has a pre-rooted stock ROM, but the NAND option did not work so I used the update.zip option.

After applying this update, my phone will not boot anymore and will restart itself time after time. The first white-green HTC screen appears, but before the next one can appear (with the black text on it) the phone reboots already.

So.... basically my phone is useless at the moment and I urgently need your help...

bole

  • Guest
Re: Updating from BETA via in-app update & update.zip causes boot loop
« Reply #1 on: December 22, 2011, 01:17:27 PM »
Tried already:
  • reapplying update.zip
  • wiping /cache via recovery
  • wiping dalvik-cache via recovery
All without success, telephone is still bricked. Must me something wrong with the update.zip provided by Avast...

bole

  • Guest
Re: Updating from BETA via in-app update & update.zip causes boot loop
« Reply #2 on: December 22, 2011, 01:36:08 PM »
Ok, something going wrong with mounting for update, based on the contents of recovery.log:

Quote
-- Install from sdcard...
I:Set boot command "boot-recovery"
Finding update package...
I:Update location: SDCARD:update.zip
Opening update package...
I:Update file path: /sdcard/update.zip
Installing update...
I:Trying update-binary.
Avast! Anti-Theft Edify Update Scriptabout to run program [/sbin/mount] with 3 args
mount: mounting /dev/block/mtdblock3 on /system failed: Device or resource busy
run_program: child exited with status 255
about to run program [/sbin/busybox] with 4 args
mount: mounting /dev/block/mtdblock3 on /system failed: Device or resource busy
run_program: child exited with status 255

Performing Update...
Mounting mount points...
about to run program [/sbin/umount] with 2 args
Unmounting mount points...
about to run program [/sbin/busybox] with 3 args
umount: can't umount /system: Invalid argument
run_program: child exited with status 1
script result was [Update Complete.]
minzip: Extracted file "/system/app/com.avast.android.antitheft.apk"
Update Complete.

Install from sdcard complete.
I:Set boot command ""
« Last Edit: December 22, 2011, 01:40:30 PM by bole »

bole

  • Guest
Re: Updating from BETA via in-app update & update.zip causes boot loop
« Reply #3 on: December 23, 2011, 08:34:01 AM »
---
« Last Edit: January 09, 2012, 08:48:48 AM by bole »

Offline Filip Havlicek

  • Avast team
  • Massive Poster
  • *
  • Posts: 2647
Re: Updating from BETA via in-app update & update.zip causes boot loop
« Reply #4 on: December 23, 2011, 02:22:27 PM »
I'm not aware of us distributing any custom ROMs or rooting tools.

How exactly did avast! itself brick your device?

Filip

bole

  • Guest
Re: Updating from BETA via in-app update & update.zip causes boot loop
« Reply #5 on: December 23, 2011, 02:25:33 PM »
I use a HTC Desire with a rooted stock ROM.

I updated the Avast software via the in-app update function, which mentioned there would be a new version. As my Desire is only rooted and not 'S-Off', the NAND option did not work so I used the UPDATE.zip option and flashing this via recovery, as suggested by the program.

After applying this update, my phone did not boot anymore and was restarting itself time after time. The first white-green HTC screen appeared, but before the next one could appear (with the black HTC text on it) the phone rebooted already.

Offline Filip Havlicek

  • Avast team
  • Massive Poster
  • *
  • Posts: 2647
Re: Updating from BETA via in-app update & update.zip causes boot loop
« Reply #6 on: December 23, 2011, 02:28:23 PM »
OK, so your problem was not with the avast! Mobile Security, but rather with avast! Anti-Theft, right?

Filip

bole

  • Guest
Re: Updating from BETA via in-app update & update.zip causes boot loop
« Reply #7 on: December 23, 2011, 02:29:39 PM »
Correct, thanks. Did I post it in the wrong section?

reinhardholzner

  • Guest
Re: Updating from BETA via in-app update & update.zip causes boot loop
« Reply #8 on: December 29, 2011, 11:52:48 AM »
hi did you solve your problem?
we'll have to look into the "device or resource busy" thing - i've heard of such error messages from time to time. however it should not cause any reboot loop. can you get us some log?

bole

  • Guest
Re: Updating from BETA via in-app update & update.zip causes boot loop
« Reply #9 on: December 30, 2011, 10:55:05 AM »
I resolved the problem by flashing the ROM completely new again, so basically lost everything.

My suggestion would be that the reboot loop was caused by an error during flashing the update.zip, likely because of the errors I showed in my recovery.log in the 3rd post of this thread. That's actually all the logging I have...

svehlak

  • Guest
Re: Updating from BETA via in-app update & update.zip causes boot loop
« Reply #10 on: December 31, 2011, 03:56:40 PM »
May be there are more update files on SD card (because some ROMs are using this method as well) and bootloader will automatically choose the new one; did you select the file for update manually?

justs

  • Guest
Re: Updating from BETA via in-app update & update.zip causes boot loop
« Reply #11 on: January 01, 2012, 08:35:00 AM »
I resolved the problem by flashing the ROM completely new again, so basically lost everything.

My suggestion would be that the reboot loop was caused by an error during flashing the update.zip, likely because of the errors I showed in my recovery.log in the 3rd post of this thread. That's actually all the logging I have...

So basically you learned the hard way what anyone who roots their device should know before hand, Android 101, MAKE A NANDROID! Blaming this or any app is entirely irresponsible and weak. Also, I would wager that the update zip was compromised in some way. This happens with update.zip files all the time on many different devices. Had you made a nandroid prior to making any changes to your device, you would not have had an issue at all. I would strongly recommend that you always have at least on good, current nandroid on hand, backed up on your desktop or other external drive.

reinhardholzner

  • Guest
Re: Updating from BETA via in-app update & update.zip causes boot loop
« Reply #12 on: January 04, 2012, 04:18:04 PM »
hi i have now improved the scripts so that they cancel the installation procedure on mount errors. This will NOT apply to UPDATE.ZIPs generated by current public version, but will apply to future updates once released.

bole

  • Guest
Re: Updating from BETA via in-app update & update.zip causes boot loop
« Reply #13 on: January 09, 2012, 08:48:19 AM »
May be there are more update files on SD card (because some ROMs are using this method as well) and bootloader will automatically choose the new one; did you select the file for update manually?
I chose it manually; besides that I'm 100% sure there was no other update.zip on the SD-card

...
Not helping in resolving the main issue, namely a corrupt update.zip. If you're not trying to resolve the main issue, then just refrain from replying in topics. Thanks.

hi i have now improved the scripts so that they cancel the installation procedure on mount errors. This will NOT apply to UPDATE.ZIPs generated by current public version, but will apply to future updates once released.
Thanks for resolving this, this might help users in future to prevent similar issues.

By the way, installing on the clean ROM again (with a backup, Justs) went by without any problem. Thanks for helping at least!
« Last Edit: January 09, 2012, 08:49:54 AM by bole »

reinhardholzner

  • Guest
Re: Updating from BETA via in-app update & update.zip causes boot loop
« Reply #14 on: March 15, 2012, 03:47:02 PM »
This problem will be fixed in the next official update.