Announcement

Collapse
No announcement yet.

Announcement

Collapse
No announcement yet.

Adding APK Files to Firmware Zip

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

    Adding APK Files to Firmware Zip

    Hi guys,

    I want to add some apk files to the firmware zip file so that it installs Soundcloud, MixCloud and some other dance music related android APK files during initial install of the software.

    Is it as simple as just unzipping the firmware and placing the APK files I want to add into the data/app folder and re-zip it or will that not work?

    Apologies for the noob question.






    #2
    Re: Adding APK Files to Firmware Zip

    Originally posted by Meltdown View Post
    Hi guys,

    I want to add some apk files to the firmware zip file so that it installs Soundcloud, MixCloud and some other dance music related android APK files during initial install of the software.

    Is it as simple as just unzipping the firmware and placing the APK files I want to add into the data/app folder and re-zip it or will that not work?

    Apologies for the noob question.




    it's ok if you do as you describe but you also need to sign the zip.
    There are 10 types of people in the world: Those who understand binary, and those who don't...

    If you want to buy me a beer, please use this -> https://www.paypalobjects.com/en_US/..._donate_SM.gif

    Comment


      #3
      Thanks very much mate!

      Is there a particular program I should use for signing the zip file?

      Can I add the files just with Windows explorer or do I need to use a particular program for it?

      Comment


        #4
        Re: Adding APK Files to Firmware Zip

        Originally posted by Meltdown View Post
        Thanks very much mate!

        Is there a particular program I should use for signing the zip file?

        Can I add the files just with Windows explorer or do I need to use a particular program for it?
        no problem, Explorer is ok. to sign you can do with apkmultitool or similar. Do a search on Google, there are many ways to do this
        There are 10 types of people in the world: Those who understand binary, and those who don't...

        If you want to buy me a beer, please use this -> https://www.paypalobjects.com/en_US/..._donate_SM.gif

        Comment


          #5
          i am having the same problem....
          i opened the zip....added some apk's and changed the bootloader animation....
          repacked...
          tried to install
          and i get:

          error in footer signature verification failed.

          i think i signed it properly but i must be doig something wrong.

          can anyone lends any advice as to how to repack it and have it install?

          Comment


            #6
            did you install java ? the best ver, is jre-6u45-windows with newer ver. of java i had problems to sign a zip and i use http://forum.xda-developers.com/show....php?t=1966007

            Comment


              #7
              Personally, you don't need to unzip the firmware. You can open the firmware zip and Add or Delete apk you want. When done, just "x" out from the zip program. Use Sign-Em to sign the firmware. Done.

              Comment


                #8
                Hi

                I am trying to add apks, and delete some apks, when i try to sign it using sign-em i get the below error

                exception in thread "main" java.lang.outofmemoryerror: java heap space

                then followed by a 6 - 7 lines of java at errors,

                Any advice

                Comment


                  #9
                  Originally posted by cat2115 View Post
                  Personally, you don't need to unzip the firmware. You can open the firmware zip and Add or Delete apk you want. When done, just "x" out from the zip program. Use Sign-Em to sign the firmware. Done.
                  interesting, i will try that but would that really make a difference? my computer unzips a file n a couple seconds.

                  i should mention i am on mac.

                  i think i am using the wrong syntax for the digitally signing....can someone verify?

                  1) keytool -genkey -v -keystore my-release-key.keystore

                  then file is generated....i put it in same folder as my zip...

                  then i:

                  2)
                  jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore my-release-key.keystore k200-ota-20150116.zip magic

                  (using oman's latest)

                  no matter what i try i et footer error...... certificate invald etc...

                  16 hours deep OCD of the charts lol
                  hellllllpppppp


                  Comment


                    #10
                    what is the equivalent of sign-em for mac?

                    Comment


                      #11
                      I've tried this with a bunch of different programs and still can't get a working flashable zip.. I always get the footer error

                      Comment

                      Working...
                      X