Updated the script again with a very minor change. I added some text at the beginning for some reminders and warnings. Nothing functionally has changed.
This should be the same method to get back on the update path when the actual OTA ZIP is available, correct? i.e. 230 leak -> use script to ->902 FXZ -> 905 Update ZIP -> next leak OR OTA ZIP.
Just to add my $,02 into the conversation on this, I tried the "original" script trying to go from .229 that was running AXIOMICS AKOP to .230. The script appeared to work great, I didn't get any errors in any of the moto-fastboot steps or when applying the .905 or .230 updates in recovery HOWEVER when I rebooted the phone after installing all the updates, the phone stayed in the red M screen with the bottom row of lights on. I let the phone sit for almost 20 minutes but it never recovered and since I wasn't sure where it was at, I just did a battery pull and followed the FXZ route from .902 to .230. Now I did have safestrap installed and running and thought that may have been the cause but when I was catching up on the posts before writing this, it looked like at least one other person had safestrap and was able to successfully run the script. I didn't uninstall SS, could this be why things went south for me? I think you and Mr. Twoshoes have done a great bit of work with this and it should make everything much easier so I'm thinking I just fell into the bad portion of YMMV! Thank you again for all the effort in helping to keep this phone alive.
I have no experience at all with safestrap but we're flashing everything that's necessary back to stock 902 so it SHOULD be ok. Not sure why yours didn't boot properly. There's been a handful of really bizarre situations I can't explain or even begin to fix unfortunately. These things are more a dark art than an exact science. The safe route is always the full FXZ. When we take shortcuts like this invariably there will be some weirdness from time to time. Still, when it works, it's THE way to go IMO as it saves so much time and effort. That's why I say start with this method, if it doesn't work, do the full FXZ. I wish I could control RSD from the command line. I'd use that to do the flashing and then adb to reboot into recovery during the last step. That'd be the safest thing to do.
I'm also tempted to add checking for an updates folder in the 902 FXZ folder and look for zip files. If found, I can use adb to push them to your sdcard-ext. What are people's thoughts on that? Would that be a useful enhancement? So you drop the 905 and ICS update zips in an updates folder and the script makes sure they're pushed to the sdcard-ext?
I'll look into it tonight. I think the way I'll write it is if it finds the updates dir and it has updates in there, we'll ensure they're on the sdcard-ext for you. If I don't find the updates dir, you'll get the new warning I added this morning about "hey, make sure you put those on there before you do this!". ADB is going to be required soon rather than optional I think.