diff --git a/multirom/multiromedify.cpp b/multirom/multiromedify.cpp
index 5e79f3b6df6639fa473b3cc2756ccdd1800f0774..d9ff74753e712d1e4e94eb3eccd13bc7ac31479f 100644
--- a/multirom/multiromedify.cpp
+++ b/multirom/multiromedify.cpp
@@ -520,6 +520,33 @@ bool EdifyHacker::writeToFile(const std::string& path)
     for(std::list<EdifyElement*>::iterator itr = m_elements.begin(); itr != m_elements.end(); ++itr)
         (*itr)->write(f);
     fclose(f);
+    
+    {
+        // get rid of 'range_sha1' checks on
+        // the system partition used by newer 
+        // installer-scripts, such as CM13 & other
+        // Andorid 6 (Marshmallow) builds
+        
+        // i'm sure there's a more elegant way
+        // but this will have to suffice for the
+        // time being
+        char strSEDcmd[250];
+
+        #define SED_CMD     "sed -i "
+        #define SED_P1      "'s/"
+        #define SED_P2      "range_sha1.*(.*\\/dev\\/block\\/.*).*==.*\".*\""
+        #define SED_P3      "/"
+        #define SED_P4      "\\/sbin\\/true"
+        #define SED_P5      "/'"
+
+        #define SED_FULL    SED_CMD SED_P1 SED_P2 SED_P3 SED_P4 SED_P5
+
+        sprintf (strSEDcmd, "echo About to execute:%s %s", SED_FULL, path.c_str());
+        system (strSEDcmd);
+
+        sprintf (strSEDcmd, "%s %s", SED_FULL, path.c_str());
+        system (strSEDcmd);
+    }
     return true;
 }