I was able to update with stock recovery,was on 2.3.6 and did the incremental update to 4.0.3 and 4.0.4 in one step with stock recovery (2.3.6)
Sent from my Nexus S using XDA
Sent from my Nexus S using XDA
I was able to update with stock recovery,was on 2.3.6 and did the incremental update to 4.0.3 and 4.0.4 in one step with stock recovery (2.3.6)
Sent from my Nexus S using XDA
Excellent post! I'll bet you dollars to doughnuts that if you flash the OTA update manually, it re-mounts cache RO, causing the OTA to fail. If you go from the OTA software in the ROM, it probably sets some flag that causes the stock recovery to keep the cache partition RW so the flash will succeed.
The OTA update works fine as long as you wait for the popup, then tap "restart and install". If you try to flash it manually, it will fail in the ICS stock recovery 100% of the time. Works fine if you flash it from CWM or a stock Gingerbread recovery though.
Your post pretty much cements that there was some kind of change in the ICS stock recovery images that makes it impossible to manually flash OTA images anymore. I can understand the reasoning for this on Google's part...but I don't agree with it. I'm sure in the end, they figure people like us probably aren't using stock recovery anyway, so we'll get the updates installed no matter what. At the same time, it keeps not-so-technical users in check and stops them from doing something potentially dangerous.
We have a Winner!!
I was about to post the exact same after I finished my updated. I'll provide the exact steps that I did
Prior to trying this I too had this show up when I tried to update manually:
"assert failed: apply_patch_space(15916988)
E:Error in /tmp/sideload/package.zip
(Status 7)"
OK so here goes the steps:
Notes:
*My phone's model is GT-I9020T from WIND
*I was running the previously leaked 4.0.3 that was freshly installed
*My Phone was rooted and had the bootloader unlocked
*I tried this on my windows system
*Make sure that your phone is plugged into your computer
1. Get a hold of the hR7QFEtn.zip(the leaked 4.0.4 update) and place it in the root of your phone's SD Card( in the / directory of the Sdcard)
2. Download recovery-clockwork-touch-5.8.0.2-crespo.img from the clockworkmod website and place it in the following directory "C:\Program Files (x86)\Android\android-sdk\platform-tools"
3. open up your command prompt and go to the "C:\Program Files (x86)\Android\android-sdk\platform-tools" directory
4. Run the following command: adb reboot-bootloader
5. Once your phone is in the bootloader screen run the following command in your command prompt: fastboot flash recovery recovery-clockwork-touch-5.8.0.2-crespo.img
You will get a "Finished" message on your command prompt informing you that it flashed the recovery image
6. selected recovery option on your phone's bootloader screen and clockworks will do the update automatically for you
I did not have to apply root access again at all. My root privilege stayed the same after the upgrade and I am now on 4.0.4!!
I hope this helps someone out because I was frustrated to no end last night and this morning because of that status 7 error.
I would also have to agree that using google's default recovery is no longer viable for manual updates as they seem to have secured that portion and we have to resort to using our own means.
Factory images now available for the nexus s.
https://groups.google.com/forum/m/?fromgroups#!topic/android-building/b50nY_onbP4
Sent from my Nexus S 4G using Tapatalk 2 Beta-4
Factory images now available for the nexus s.
https://groups.google.com/forum/m/?fromgroups#!topic/android-building/b50nY_onbP4
Sent from my Nexus S 4G using Tapatalk 2 Beta-4
I have used CMW and updated over 4.0.3 without data loss, everything is fine.
We have a Winner!!
I was about to post the exact same after I finished my updated. I'll provide the exact steps that I did
Prior to trying this I too had this show up when I tried to update manually:
"assert failed: apply_patch_space(15916988)
E:Error in /tmp/sideload/package.zip
(Status 7)"
OK so here goes the steps:
Notes:
*My phone's model is GT-I9020T from WIND
*I was running the previously leaked 4.0.3 that was freshly installed
*My Phone was rooted and had the bootloader unlocked
*I tried this on my windows system
*Make sure that your phone is plugged into your computer
1. Get a hold of the hR7QFEtn.zip(the leaked 4.0.4 update) and place it in the root of your phone's SD Card( in the / directory of the Sdcard)
2. Download recovery-clockwork-touch-5.8.0.2-crespo.img from the clockworkmod website and place it in the following directory "C:\Program Files (x86)\Android\android-sdk\platform-tools"
3. open up your command prompt and go to the "C:\Program Files (x86)\Android\android-sdk\platform-tools" directory
4. Run the following command: adb reboot-bootloader
5. Once your phone is in the bootloader screen run the following command in your command prompt: fastboot flash recovery recovery-clockwork-touch-5.8.0.2-crespo.img
You will get a "Finished" message on your command prompt informing you that it flashed the recovery image
6. selected recovery option on your phone's bootloader screen and clockworks will do the update automatically for you
I did not have to apply root access again at all. My root privilege stayed the same after the upgrade and I am now on 4.0.4!!
I hope this helps someone out because I was frustrated to no end last night and this morning because of that status 7 error.
I would also have to agree that using google's default recovery is no longer viable for manual updates as they seem to have secured that portion and we have to resort to using our own means.
All you have to do is flash it using fastboot. It is quite simple.
/META-INF/com/google/android/updater-script
assert(apply_patch_check("/system/vendor/lib/libwvm.so", "6f03d4b266d99f2e79a617786d4ba4981a2bc4e5", "aa466817fc702b7764ac442452aea2c4593503e3"));
set_progress(0.983189);
assert(apply_patch_check("MTD:boot:3526656:40d819a22242be448d36e61b1ad42501e88838cb:3526656:877503a77928e449c8bff451ea7a3e783a4b607f"));
set_progress(1.000000);
assert(apply_patch_space(15916988));
Function Name: apply_patch_space
Function Syntax: apply_patch_space(bytes)
Parameter Details: bytes = number of bytes to check for
Action: Checks the cache to verify that there is enough space to write the patched files to it and returns something. Need to test this function to verify.
size_t free_now = FreeSpaceForFile("/cache");
~ # mount
rootfs on / type rootfs (rw)
tmpfs on /dev type tmpfs (rw,relatime,mode=755)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
/dev/block/mtdblock4 on /cache type yaffs2 (rw,nodev,noatime,nodiratime)
~ #
~ # df
Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 176532 32 176500 0% /dev
/dev/block/mtdblock4 480768 2588 478180 1% /cache
~ #
Thats the error I'm getting. It then comes up:
E:Error in /tmp/sideload/package.zip
(Status 7)
Installation aborted.
I've tried to find that file in the 4.0.4 update and the full 4.0.3 update but cant find it