Thanks Samuri for your hard work and to BionicRacer for his helping me get to 238.
I just made this post in the 235 thread. I think it's really important that everyone who uses the HoB FULLY understand the sentiment behind my post.
I will point out to you guys that are having trouble with the script what i pointed out to someone on droidhive. Automation is great....until it's not. If you read my OP you will see in the "what it is not" section that it is NOT a replacement for knowing what's happening under the covers. Too many people see how easy the HoB makes things and don't bother to learn WHAT it's doing. I bring this up for a reason.....if you knew what the HoB was doing, you'd get to the point of step 3, and then you would manually open RSD, open the script that you need from the rsd_scripts directory, run it, kill RSD when it errors out, shut off the phone, and continue to step 4. My point is, automation MUST NOT replace actual knowledge of what's going on with your phone.
I see a lot of "I pushed the button and it didn't work" type posts. Worse, I see a lot of "I don't know how to install this please hand hold me" posts. I'm getting to the point where I'm going to stop helping people who can't get it installed. That's not to be rude, but, it's to ensure that a certain threshold of user is using this script. I get nervous when people want it to be so easy that they push one button and everything is done for them. That has never been the intent of the HoB. The HoB is NOT a replacement for knowledge. I would argue that if you don't know what is happening in the script, YOU SHOULD NOT BE RUNNING IT. It amazes me how cavalier people are with their phones. Just because something is "easy" doesn't mean you should do it. And those that do the "push the button" thing have NO CLUE what to do when/if it doesn't work and expect support. I'm happy to help, but, honestly, I'd really like it if people would have at least read the entire OP and followed along in the script. It seems a lot of people can't even be bothered to do that.
I'm not writing to complain about having to support this. That's not the intent at all. I'm writing this from a standpoint of concern for YOU. Flashing leaks, while fun, is not to be taken lightly. You are putting yourself off the OTA path. And with 235/238+, you are doing so in a way that you can't ever get back to it. I put these warnings in not so they can be ignored...but because there is real risk of doing something stupid to your phones. I try really hard to make it painless to move through the leaks. But to do so at the expense of knowing how it works, to me, is a dangerous road to take.
Here is a mirror for the 3.1 Patch: ADrive | Online Storage, Online Backup, Cloud Storage
Also, well said Samuri. Anyone who wants to mod their phone, regardless of the mod, should at least have some knowledge of what it is they are doing. One doesn't need to be a dev, but one should at least have an idea as to what the ramifications are if/when something gets borked and a plan to recover.
Thanks for the link! Added to the OP.
I really wasn't trying to complain about the users. Not my intent. Some people have taken it that way it seems. I think they misunderstood my SHOULD NOT USE comment. Yes, I get there's a learning curve. But the point i made to them is that in the 124 pages of this thread, not one person has asked me how the HoB works. What the hell is it doing to my phone? It's actually not all that difficult. In fact, let's have a little lesson now, shall we?
When you start the HoB, you are presented with a dynamic menu of choices. Dynamic meaning it gets generated based on what rsd scripts are found in the rsd_scripts directory and built according to that. The 905 FXZ stuff isn't generated...it's added at the end. Now you pick an option. Let's say "INSTALL 232". A bunch of variables that set the stage for installing 232. We then bring up the next menu:
1) Push the 232 update to your phone
2) Reboot into recovery
3) Flash HouseOfBionic(232).xml
4) Instructions to flash the 232 update in recovery
What amazes me is that people see 1-5 and decide that half the options didn't apply because they didn't bother to read anything before installing the HoB. "I just assumed it did everything automatically." Making ANY kind of assumptions when flashing your phone is not very smart IMO. Anyway, so the first option uses adb to push the update zip to your phone. In 3.1 I generate an md5 file to go with it so you can verify the update was pushed successfully to your phone. Option 2 uses adb to restart into the bootloader (AP Fastboot). Sometimes it works, sometimes it doesn't. Hence the instructions of "here's what to do if it doesn't work for you." Option 3 is the real meat of the HoB. What gets flashed in RSD here depends on what you selected on the first menu. So in our example of INSTALL 232, we'd have HouseOfBionic(232).xml from the rsd_scripts directory being flashed in RSD. The "magic" that sargentmajord created for me is that the end of each of those scripts throws an error to keep RSD from rebooting the phone. Rebooting is something we DO NOT want to happen in this process as it will corrupt your system data or worse (in the case of 235/238 you won't be able to boot at all because we softbrick the phone with the script to prepare it for the update to install). Once RSD finishes, your phone is still in AP Fastboot as desired. Then you go to option 4 which tells you how to shut the phone off and boot it into recovery, apply the update, wipe the cache, reboot, and you're done.
That's it. That's all this script is doing. The different RSD scripts flash different files based on what you're trying to achieve. 232 and lower flash straight 905 FXZ files so that you're basically updating from stock 905. 235 and above is more complicated because the security on certain partitions disallow flashing 905 files. So we use system, preinstall, and webtop from 905, and flash the rest from the update we're trying to install...boot, devtree, cdt.bin, etc all come from the update zip. Boot.img has to be created, but, it's the boot.img that the update would patch to if it were installing from 905.
I hope that enlightens some people. When you get stuck on option 3, nothing says you can't fire up RSD manually and flash whatever file it tells you it's going to flash on the menu. When done, kill RSD, and go to step 4.
Last edited by SamuriHL; 08-06-2012 at 10:50 AM.
Just want to acknowledge how awesome your script is! Restored my coworkers bionic to stock 905 this morning with it. He was on 905 with safestrap and running eclipse ics on safeside. I was amazed at how fast the 905 fxz installed. Was it because he was already on 905 and the preinstall was the only real thing needed to be restored?