How to install a lot of APK's at one time???

Discussion in 'Android Hacks and Help' started by icculusX, Apr 27, 2010.

  1. icculusX

    icculusX Premium Member Theme Developer Premium Member

    Joined:
    Feb 10, 2010
    Messages:
    2,534
    Likes Received:
    0
    Trophy Points:
    101
    Location:
    The Moon
    Ratings:
    +0
    Ok, I will be brief here. Basically I pulled every single APK off my phone, system/app - data/app - and even ext-sd/app... Then I am editing EVERY one to change icons and graphics within the app to my liking. After that I have been resigning them and re-installing, but this will take WAY too much time for every one.

    I was wondering if there is an easy way to get ALL of my APK files to my phone after editing? I can ADB push them, but that'll take long also. Could I use an update.zip and rip it apart so it only installs my new APK files, and if so how do I control the apps2sd ones?

    I dont even care if I have to recompile a full update.zip with my current ROM (UDv10u) and wipe everyhting, just as long as all of them get put back on and in the correct places... ideas you hackers?
     
  2. Dustinmj

    Dustinmj Member

    Joined:
    Apr 23, 2010
    Messages:
    65
    Likes Received:
    0
    Trophy Points:
    6
    Ratings:
    +0
    adb push should accept wildcards... Also iirc you can just separate the apps out on your PC then push the entire folder to your device:

    adb push /path/to/pc/folder /path/to/device/folder

    Or

    adb push /path/to/pc/folder/* /path/to/device/folder

    :)
     
  3. icculusX

    icculusX Premium Member Theme Developer Premium Member

    Joined:
    Feb 10, 2010
    Messages:
    2,534
    Likes Received:
    0
    Trophy Points:
    101
    Location:
    The Moon
    Ratings:
    +0
    Ah, didn't know you can push an entire folder. Thanks man, that just might be the ticket. Really appreciate your fast response bro. If you don't mind I have follow-ups then:

    - First off, when I edit all my APKs and some are market apps, if I push a folder of them back to my system or sd-ext will they be recognized and work properly as long as they are re-signed? (i only ask because I ahve only re-installed re-signed market aps after editing)

    - Secondly, what does wildcards mean?

    - Lastly, I am still interested in an update.zip method also only because it woudl be the simplest way to apply all of them at one time, in case I need to wipe my system... THANKS!
     
  4. Dustinmj

    Dustinmj Member

    Joined:
    Apr 23, 2010
    Messages:
    65
    Likes Received:
    0
    Trophy Points:
    6
    Ratings:
    +0
    NP :)

    I'm unsure of the answer to your first question... I do believe that the installation procedure only copies the apk over to the correct folder (for most apps), but I could be wrong. Now I'm curious... will you post back and let us know?

    Wildcard is typically the * character... it's used to match anything and everything... so *.txt would match all .txt files etc...

    As far as update.zip goes... if you're dead set on it, the best thing to look into would probably be the tar.gz installation procedure that SirPsychos recovery offers... I know there's some write-ups around about it, but haven't looked into it much myself.
     
  5. cupfulloflol

    cupfulloflol Senior Member

    Joined:
    Dec 5, 2009
    Messages:
    1,898
    Likes Received:
    22
    Trophy Points:
    68
    Ratings:
    +23
    Creating an update.zip or "fake nandroid backup" would also be an option. I don't think you can hit sd-ext with these though, so you may have to do that one manually.

    Something else that may help you with this, or in the future, or just for fun. [TOOL] Android Commander 0.7.8 - noobs friendly edition ;) - xda-developers Mass installations are possible with it, as well as mass pulling and pushing.
     
  6. icculusX

    icculusX Premium Member Theme Developer Premium Member

    Joined:
    Feb 10, 2010
    Messages:
    2,534
    Likes Received:
    0
    Trophy Points:
    101
    Location:
    The Moon
    Ratings:
    +0
    Thanks a lot guys, Currently I have only themed my framework and most system apps... Still have most all of the market apps and such to theme up in my dark blue and black way. This (http://www.droidforums.net/forum/droid-themes/35961-black-bluez-theme-icculusx.html) is my old theme that I am working on, and would like to make it look the same for EVERY single app.

    When I am done I will post how things went...
     
  7. Erron

    Erron Developer Developer

    Joined:
    Nov 8, 2009
    Messages:
    1,074
    Likes Received:
    0
    Trophy Points:
    36
    Ratings:
    +0
    If you are using the clockworkmod recovery you can get relentless rom roaster and add all your apk's at the same time.
     
  8. icculusX

    icculusX Premium Member Theme Developer Premium Member

    Joined:
    Feb 10, 2010
    Messages:
    2,534
    Likes Received:
    0
    Trophy Points:
    101
    Location:
    The Moon
    Ratings:
    +0
    Hmm, thank you. I will look this up also as I use both clockwork and sp.
     
  9. Erron

    Erron Developer Developer

    Joined:
    Nov 8, 2009
    Messages:
    1,074
    Likes Received:
    0
    Trophy Points:
    36
    Ratings:
    +0
    Relentless Appz

    It works really well. You load a rom up..add or remove any things youd like, and it creates a custom rom just for you.

    Come to think of it..I wonder if this is what BD was doing.
     
  10. icculusX

    icculusX Premium Member Theme Developer Premium Member

    Joined:
    Feb 10, 2010
    Messages:
    2,534
    Likes Received:
    0
    Trophy Points:
    101
    Location:
    The Moon
    Ratings:
    +0
    Thanks a lot bro...

    (Aww please. Not here too. It's like blackdroid stabbing is everywhere, no rebuttal please this is my thread and it has nothing to do with UD)
     
  11. Erron

    Erron Developer Developer

    Joined:
    Nov 8, 2009
    Messages:
    1,074
    Likes Received:
    0
    Trophy Points:
    36
    Ratings:
    +0
    hahaha I know. just crossed my mind. I won't get involved int he wrong or right of it. Sorry.

    Just be advised..it will not work on nandroid roms.
     
  12. icculusX

    icculusX Premium Member Theme Developer Premium Member

    Joined:
    Feb 10, 2010
    Messages:
    2,534
    Likes Received:
    0
    Trophy Points:
    101
    Location:
    The Moon
    Ratings:
    +0
    Ok sweet...

    Anyone know if you push a re-signed market APK back to phone if it works? I know installing it works fine, but what if you just ADB push it back?
     
  13. icculusX

    icculusX Premium Member Theme Developer Premium Member

    Joined:
    Feb 10, 2010
    Messages:
    2,534
    Likes Received:
    0
    Trophy Points:
    101
    Location:
    The Moon
    Ratings:
    +0
    Ahh so I just finished editing all the graphics in EVERY apk on my phone. One more issue, I know how to re-sign them one by one in windows terminal using the java testsign... anyone know how I could batch them all at once (just a MAJOR time saver)
     
  14. Dustinmj

    Dustinmj Member

    Joined:
    Apr 23, 2010
    Messages:
    65
    Likes Received:
    0
    Trophy Points:
    6
    Ratings:
    +0
    You can make a batch file to do this for you... the simplest way is to make a .bat and place it into the folder with all your APKs then run the bat from the command line. The contents of the file should look something like this:

    Code:
    echo off
    for %%f in (*.apk) do java testsign %%f
    You may need to tweak this for your needs, but it's pretty simple. In English it reads: For each file (%%f) in the set *.apk (all of the files that end in .apk), do the following command: java testsign %%f (where %%f is the replacement variable for the filename in each iteration). The echo off isn't really required, just turn it on to see what it does.

    Save the file (from notepad or something) as whatever.bat in the same folder as your APKs then run it from the command line.

    Hope this helps.
     
  15. Dustinmj

    Dustinmj Member

    Joined:
    Apr 23, 2010
    Messages:
    65
    Likes Received:
    0
    Trophy Points:
    6
    Ratings:
    +0
    Come to think of it... this is your answer to installing multiple APKs at the same time too:

    Code:
    echo off
    for %%f in (*.apk) do adb install -r %%f
     
Search tags for this page
adb batch install
,
adb install multiple apk
,

batch install apk

,
bulk apk installer
,
how to install multiple apk in one time
,
install multiple apk at once
,
loads lots of apk on phone at one time
,
mass apk install
,

mass apk installer

,
mass install apk