i777: update extract script

Change-Id: I2a74f2ea8f40462c8e9dede46f1494b26e164f22