n7100: update extract script

Change-Id: I5b69cba938b460f9870a2f13f1f84fac3c860291
Merge remote-tracking branch 'upstream/cm-10.1' into cm-10.1