n7000: update extract script

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