Announcement

Collapse
No announcement yet.

Announcement

Collapse
No announcement yet.

Custom update package

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

    Custom update package

    Hi

    We are trying to build our first own custom update package for a MKIII device.

    We have extracted the 109k4 ota zip and removed / replaced some things. further we have modified the updater-script and then did build the zip with:

    Code:
    cd <ota directory>
    zip -r9 ../ota.zip *
    cd ..
    java -jar signapk.jar -w platform.x509.pem platform.pk8 ota.zip ota-signed.zip
    We used the keys from here, but we are getting an error when trying to install the update:
    Code:
    Verifying update package...
    E: failed to verify whole-file signature
    E: signature verification failed
    Installation aborted
    Did we miss something during creation of the zip file (is there maybe some leftover of the 109k4 update package we would have to remove? in particular in META-INF )
    Or are we using the wrong keys and this is why the signature check fails (how can we debug this?)

    Any help would be appreciated

    #2
    Becuase these keys are for apk and not for update-package...
    RK3288 Devices
    - Overview BOX (LINK !)
    - Overview STICK (Dongle) (LINK !)

    MINIX NEO: Z64 W/A - (Intel Z3735F); X8-H Plus - (Amlogic S812H); A2 Lite (sponsored by minix.com.hk)
    UGOOS UT3S (4/32GB with fan) - FW 2.0.6 - (RK3288) (sponsored by GearBest.com)
    Tronsmart Draco AW80 Meta (2/16GB) - FW v2.0rc3 - (Allwinner A80) (sponsored by GeekBuying.com)
    Beelink / UBOX R89 - FW 111k4110_1219 - (RK3288) (sponsored by Netxeon (Beelink))

    RK3188: pcb => "CH001 1332 TN-BX09_V2.1" (K-R42 / CS918...) => wasser KK 1.0.3 (old rev)
    Fly Mouse Mini Wireless Keyboard with 2 mode learning IR remote 'iPazzPort KP-810-16'

    Comment


      #3
      Originally posted by xse View Post
      Hi

      We are trying to build our first own custom update package for a MKIII device.

      We have extracted the 109k4 ota zip and removed / replaced some things. further we have modified the updater-script

      Any help would be appreciated

      Hi, I use the update_creator. Its pretty easy to use if you have signed zip files before. It works with windows.
      I can't remember where I originally downloaded it from, (maybe at freaktab???)

      You can download it from here

      Hope this helps you out
      Minix Neo X7 - Wasser 1.0.4 OC'd - Kodi-helix with passthrough
      Beelink M8B - Wasser 1.0.3 - Kodi-helix alpha 2 + SPMC

      Comment


        #4
        Thank you guys.

        Turns out that we were using the wrong keys. We did compare the used ones with /system/etc/security/otacerts.zip and were able to use the correct test keys.

        Comment


          #5
          Originally posted by xse View Post
          Thank you guys.

          Turns out that we were using the wrong keys. We did compare the used ones with /system/etc/security/otacerts.zip and were able to use the correct test keys.
          Sweet news buddy, nothing like a successful flash!.... hope your custom firmware works well with the mxIII, best of luck.
          Minix Neo X7 - Wasser 1.0.4 OC'd - Kodi-helix with passthrough
          Beelink M8B - Wasser 1.0.3 - Kodi-helix alpha 2 + SPMC

          Comment

          Working...
          X