By hpn

2013-07-23 11:31:23 8 Comments

When we download a .FTF or ROM file as a stock ROM, is there a way to verify that it is really the stock ROM and is not modified by someone?


@Afr 2013-07-23 12:08:16

Yes, you can check the SHA1 or MD5 checksum.

You didn't specify which ROM you are downloading. Let's have a look at the Nexus stock ROMs:

There is a download link and a version number and checksums listed like that:

To verify a checksum you can do it via command line:

$ md5sum mantaray-jdq39-factory-d79f489e.tgz


$ openssl sha1 mantaray-jdq39-factory-d79f489e.tgz 
SHA1(mantaray-jdq39-factory-d79f489e.tgz)= d79f489e1001d183b31d8a407b47cd5b8e9505cd

If it matches with the one stated at the google page, you can assume the file is not corrupted or modified.

Note: Linux, MacOS, Windows

The terminal commands only work out of the box in MacOS or Linux. To verify checksums in Windows there is a tool by Microsoft called Checksum Integrity Verifier.

@hpn 2013-07-23 13:55:07

Thanks. Is there somewhere to find md5sums for sony(xperia z) official ROMs? I have downloded Xperia_Z_C6602_10.3.A.0.423_Generic US

@Afr 2013-07-23 18:31:45

Well, Sony is neither offering direct download links nor telling anything about file integrity. The only thing you can do is doing it like described here: Download via official Sony Software. In future, don't buy Sony devices :p

Related Questions

Sponsored Content

1 Answered Questions

TWRP fails to flash stock ROM (invalid zip)

1 Answered Questions

[SOLVED] Help while installing stock

  • 2017-08-01 13:59:34
  • Agile_Eagle
  • 181 View
  • 1 Score
  • 1 Answer
  • Tags:   stock-rom

1 Answered Questions

Removing verification scripts from a stock ROM

1 Answered Questions

[SOLVED] Building ROMs & Kernels?

2 Answered Questions

[SOLVED] Custom Kernels on Stock ROMs?

Sponsored Content