cgapps / vendor_google

Other
345 stars 400 forks source link

md5sum: should there be a md5sum file? #14

Closed pete4abw closed 9 years ago

pete4abw commented 9 years ago

getmd5 function does not write md5sum file for zip. Isn't an md5sum useful for installation on devices?

function getmd5(){ if [ -x $(which md5sum) ]; then echo "md5sum is installed, getting md5..." >> $GLOG echo "Getting md5sum..." GMD5=$(md5sum $OUT/$GARCH/$BUILDZIP) return 0 else echo "md5sum is not installed, aborting" >> $GLOG return 1 fi }

jrizzoli commented 9 years ago

when you sideload a zip the device doesn't check its md5, even if there's the file.zip.md5 file. I just print it so i can copy-paste it on the readme.md of builds branch

pete4abw commented 9 years ago

Sideload, correct. Install using TWRP or similar always checks md5sum.