How do you think this could best be done for the second movie?
I think the best way to go is for the government to stage a farewell send off for the autobots. Acting as if they were went back to their home planet would seem like a logical move for the government to make. This way the bots can travel and set up base without any unwanted interruptions.
Another thing i was thinking is that in no way should the autbots share their tech with humans. For a race that is in a total state of war it would seem kind of silly if prime just gave away tech secrets to humans who have the potential to become enemies.