I tracked down all the adb commands it runs abd have the files it copies. After the patching it deletes what it copies.The interesting thing is that adb "unauthorized device" appears only after the second RC restart. Probably, after the first restart with the fcc hack, some "cleaning" routine is also started, so after the second restart, the device is unauthorized.
What I can’t figure out is getting the initial authorisation.