Skip to content

About

Unpack Android Signed Images with "BFBF" or "SSSS" header.

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

70 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

IMG-SIGN Extractor (signimg2img) v1.4

This script, allows you to unpack/delete the header of Android Signed Images.

Requisites:

  • simg2img
  • python3

Supported OS:

  • Linux based systems.
  • Windows (coming soon...).

How to unpack?

  • Copy the img to extract into the tool folder.
  • Open a terminal or cmd in the tool folder.
  • python3 signimg2img.py -option

Example of system-sign (SSSS) unpack output:

r0rtiz2@r0rtiz2:~/signimg2img$ python3 signimg2img.py -u system-sign.img

signimg2img binary - version: 1.4

[signimg2img-log] Selected: Unpack system-sign.img
[signimg2img-log] Header is SSSS: 1397969747
[signimg2img-log] Removing old files if they're present...
[signimg2img-log] Getting the offset...
[signimg2img-log] Got 1885696592 as offset!
[signimg2img-log] Deleting the header...
[signimg2img-log] Header remove complete!
[signimg2img-log] Converting to ext4 image...
[signimg2img-log] Unpacking system image...
[signimg2img-log] system-sign.img extracted at system_out

r0rtiz2@r0rtiz2:~/signimg2img$ 

Supported headers:

  • BFBF
  • SSSS

Available options (Use -h to see them in the tool):

  • -u: Unsign the given image (if it's system the tool will try to unpack it aswell).
  • -o: Get image info (-o image_name).
  • -c: Full cleanup (removes all!).
  • -h: Show all the commands.

Supported images:

  • All signed images except vendor-sign.img (Working on it..)

NOTE: If you try to unpack images that are not signed, the script will obviously fail..

LICENSE:

This program is licensed under the GNU General Public License. See LICENSE.md for details.

Thanks to:

  • anestisb for his simg2img.
  • carlitos900 and kjones for the help with the SSSS header.

About

Unpack Android Signed Images with "BFBF" or "SSSS" header.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages