Announcement

Collapse
No announcement yet.

Announcement

Collapse
No announcement yet.

Installing older build over newer build on the M8

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Installing older build over newer build on the M8

    I'm trying to install lifeforce rom but got an error can't install package over newer build. Is there anyway around it?

    Thanks

    #2
    ZIP edify script needs to be edited to remove the assertion check, then zip needs to be resigned.

    Bob
    "Pzebacz im, bo nie wiedzą, co czynią"
    "Прости им, они не ведают, что творят"
    "Perdona loro perché non sanno quello che fanno"
    "Vergib ihnen, denn sie wissen nicht, was sie tun"
    "Vergeef hen want ze weten niet wat ze doen"
    "Pardonne-leur car ils ne savent pas ce qu'ils font"
    "Perdónalos porque no saben que lo que hacen"
    "Oprosti im, jer ne znaju što čine"
    "Forgive them as they know not what they do"





    Comment


      #3
      copy zip file only to the sd card and try again ,select update from external source ,select card from recovery menu it should work..

      Comment


        #4
        Originally posted by TMx View Post
        copy zip file only to the sd card and try again ,select update from external source ,select card from recovery menu it should work..
        LifeForce left the assertion script in his ROM. It checks the build date in build.prop of the existing ROM and if it is newer will fail.

        (!less_than_int(1399861930, getprop("ro.build.date.utc"))) || abort("Can't install this package (Mon May 12 10:32:10 CST 2014) over newer build (" + getprop("ro.build.date") + ").");
        getprop("ro.product.device") == "k200" || abort("This package is for \"k200\" devices; this is a \"" + getprop("ro.product.device") + "\".");


        There are 2 ways to solve this.
        1) Edit the edify script and remove this check altogether.
        2) Root the existing ROM then edit build.prop ro.build.date.utc and make this utc date lower than the date it is looking for in the script which is 1399861930


        Bob
        "Pzebacz im, bo nie wiedzą, co czynią"
        "Прости им, они не ведают, что творят"
        "Perdona loro perché non sanno quello che fanno"
        "Vergib ihnen, denn sie wissen nicht, was sie tun"
        "Vergeef hen want ze weten niet wat ze doen"
        "Pardonne-leur car ils ne savent pas ce qu'ils font"
        "Perdónalos porque no saben que lo que hacen"
        "Oprosti im, jer ne znaju što čine"
        "Forgive them as they know not what they do"





        Comment


          #5
          Originally posted by Finless View Post
          LifeForce left the assertion script in his ROM. It checks the build date in build.prop of the existing ROM and if it is newer will fail.

          (!less_than_int(1399861930, getprop("ro.build.date.utc"))) || abort("Can't install this package (Mon May 12 10:32:10 CST 2014) over newer build (" + getprop("ro.build.date") + ").");
          getprop("ro.product.device") == "k200" || abort("This package is for \"k200\" devices; this is a \"" + getprop("ro.product.device") + "\".");


          There are 2 ways to solve this.
          1) Edit the edify script and remove this check altogether.
          2) Root the existing ROM then edit build.prop ro.build.date.utc and make this utc date lower than the date it is looking for in the script which is 1399861930


          Bob
          second option seems the easier one thanx Bob

          Comment


            #6
            Originally posted by Finless View Post
            LifeForce left the assertion script in his ROM. It checks the build date in build.prop of the existing ROM and if it is newer will fail.

            (!less_than_int(1399861930, getprop("ro.build.date.utc"))) || abort("Can't install this package (Mon May 12 10:32:10 CST 2014) over newer build (" + getprop("ro.build.date") + ").");
            getprop("ro.product.device") == "k200" || abort("This package is for \"k200\" devices; this is a \"" + getprop("ro.product.device") + "\".");


            There are 2 ways to solve this.
            1) Edit the edify script and remove this check altogether.
            2) Root the existing ROM then edit build.prop ro.build.date.utc and make this utc date lower than the date it is looking for in the script which is 1399861930


            Bob
            I have tried the Build.prob Edit but Not worked ...

            changed all dates to 2013 and Utc Date to 1399861929 (1 Lower than Lifeforce) but Still Refuses to install the Lifeforce Firmware...

            Comment


              #7
              I think I know why! It is not checking build.prop in /system
              It is checking it in recovery!

              Are you using the AML autoscript and the recovery.img from the lifeforce ROM?
              If recovery is on SDcard it uses that and not the recovery flashed to NAND.

              Bob
              "Pzebacz im, bo nie wiedzą, co czynią"
              "Прости им, они не ведают, что творят"
              "Perdona loro perché non sanno quello che fanno"
              "Vergib ihnen, denn sie wissen nicht, was sie tun"
              "Vergeef hen want ze weten niet wat ze doen"
              "Pardonne-leur car ils ne savent pas ce qu'ils font"
              "Perdónalos porque no saben que lo que hacen"
              "Oprosti im, jer ne znaju što čine"
              "Forgive them as they know not what they do"





              Comment


                #8
                SDcard contains 3 files REcovery.img+romzip+factoryupdate.aml and Toothpick method...

                Removed Recovery.img ,Tried again but same error

                Comment


                  #9
                  Hmmm, what you need is a old recovery on sdcard. I think....
                  I am pretty sure it's checking build.prop that is in recovery and you need a older recovery so the assertion script in lifeforce ROM will see it is newer.

                  Bob
                  "Pzebacz im, bo nie wiedzą, co czynią"
                  "Прости им, они не ведают, что творят"
                  "Perdona loro perché non sanno quello che fanno"
                  "Vergib ihnen, denn sie wissen nicht, was sie tun"
                  "Vergeef hen want ze weten niet wat ze doen"
                  "Pardonne-leur car ils ne savent pas ce qu'ils font"
                  "Perdónalos porque no saben que lo que hacen"
                  "Oprosti im, jer ne znaju što čine"
                  "Forgive them as they know not what they do"





                  Comment


                    #10
                    Originally posted by Finless View Post
                    Hmmm, what you need is a old recovery on sdcard. I think....
                    I am pretty sure it's checking build.prop that is in recovery and you need a older recovery so the assertion script in lifeforce ROM will see it is newer.

                    Bob
                    Yes Mr Magician, You've done it again

                    Recovery.img from very old firmware is the right answer

                    Comment


                      #11
                      Originally posted by TMx View Post
                      Yes Mr Magician, You've done it again

                      Recovery.img from very old firmware is the right answer
                      Glad I could help...

                      Personally Custom ROMs should not have an assertion script in them so this problem does not happen.
                      I remove them from mine PERIOD.

                      However trying to go back to old stock ROM's will always be a problem as they always have an assertion script. It's useless in my opinion but they do it anyway to KEEP people from going in reverse. STUPID


                      Bob
                      "Pzebacz im, bo nie wiedzą, co czynią"
                      "Прости им, они не ведают, что творят"
                      "Perdona loro perché non sanno quello che fanno"
                      "Vergib ihnen, denn sie wissen nicht, was sie tun"
                      "Vergeef hen want ze weten niet wat ze doen"
                      "Pardonne-leur car ils ne savent pas ce qu'ils font"
                      "Perdónalos porque no saben que lo que hacen"
                      "Oprosti im, jer ne znaju što čine"
                      "Forgive them as they know not what they do"





                      Comment


                        #12
                        M8 square no sound and no remote after update with s82b firmware

                        I have a M8 sqare 16Gb, after flashing a newer firmware from S82b/M8 S82B_107k4_sdcard.rar, more than 31500 antutus but no sound and no remote.

                        Reflashing with old M8 Firmware from 16.6.14 -> no update, newer firmware installed.

                        Recovery no posibillity to wipe system.

                        I have installed TWRP for M8.

                        Wipe System, update says updatefile is not for K200, is for S82B.

                        What can i do ?

                        How i can install the old recovery.img ?

                        Thanks

                        Comment


                          #13
                          Download Stock Recovery M8 here post #90:




                          Originally posted by worlmer View Post
                          I have a M8 sqare 16Gb, after flashing a newer firmware from S82b/M8 S82B_107k4_sdcard.rar, more than 31500 antutus but no sound and no remote.

                          Reflashing with old M8 Firmware from 16.6.14 -> no update, newer firmware installed.

                          Recovery no posibillity to wipe system.

                          I have installed TWRP for M8.

                          Wipe System, update says updatefile is not for K200, is for S82B.

                          What can i do ?

                          How i can install the old recovery.img ?

                          Thanks

                          Comment


                            #14
                            After editing the update-script , signature failure

                            Thanks for the recovery.zip.

                            I have a new problem, after editing the update-script to supress the date and version query, abort - signature failure for whole zip file.

                            Its possible to "resign" a zip file ?

                            Thanks

                            Comment


                              #15
                              try



                              Originally posted by worlmer View Post
                              Thanks for the recovery.zip.

                              I have a new problem, after editing the update-script to supress the date and version query, abort - signature failure for whole zip file.

                              Its possible to "resign" a zip file ?

                              Thanks

                              Comment

                              Working...
                              X