[APP][ROOT] ZipInstaller 5.0.3 for CWM + TWRP + 4EXT Recoveries

beerbong

Inactive Recognized Developer
Jun 1, 2009
1,623
7,588
0
Palma
ZipInstaller 5.0.3
A fast and easy way to install ZIPs
This app was posted in XDA portal
Review at AndroidDissected



Overview
ZipInstaller is a tool that makes it easier and faster to pick up and install zip files through your recovery. Instead of manually rebooting into the recovery and selecting files from there, you can pick up all the zips you want with your favorite file manager from the sdcard and install them with just one click, that's it.

TWRP, 4EXT and CWM-based recoveries are fully supported.
Closed source CWM is only supported through RomManager premium.


Features
- Install as much zips you want in a row
- Add zips directly from a file manager
- Add zips through folder rules
- Click on the zips added to see its properties, remove it from the list or mark it to delete after flashing.
- You can define the recovery and the sdcard mount point name in the menu.
- If you add a zip that was already added, it goes down to the last position.
- Reorder the list using drag and drop.
- Use the app to download zips, they're added to the install list
- Backup, restore and delete backup.
- Check MD5 sum (manually or automatically through *.md5sum)
- Application automatic updates
- Sync backups in the cloud (dropbox and drive)
- Get notifications of updates of your rom if they are on goo.im or ota-update-center
- Download the new version of your rom and add it to the list automatically
- Navigate Goo.im
- ONandroid backup (backups without rebooting) thanks to Ameer Dawood
- Flash boot and recovery images if available
- Open source!


Features purchased version
- No ADS


Source code
The source code is available here: https://github.com/beerbong/com_beerbong_zipinst
Feel free to download it and modify as you want.


Download free version
Find latest version of the apk here: http://goo.im/devs/beerbong/apps/ZipInstaller


Purchase application
Support the dev buying the pro version so he can have a beer :)
Play Store link: https://play.google.com/store/apps/details?id=com.beerbong.zipinst


Bugs
Did you find a bug? Please report it in the app's github repo: https://github.com/beerbong/com_beerbong_zipinst/issues


Translators
- Catalan: beerbong
- Slovak: pyler
- Spanish: beerbong
- Japanese: ThJap


Credits
Developed by beerbong
Initially tested by The Beer Gang members jmico and davidshaper
Initially tested by the xda recognized contributor chasmodo
 

Attachments

Last edited:

beerbong

Inactive Recognized Developer
Jun 1, 2009
1,623
7,588
0
Palma
Changelog

Changelog
Code:
Version 5.0.3:
- Fix: sometimes the "purchase the app" message appears even if purchased

Version 5.0.2:
- Bug fix

Version 5.0.1:
- Little bug fix

Version 5.0.0:
- Reworked UI and app's structure

Version 4.1.7:
- Delete rules individually
- Check for recovery changes on startup
- Pro: Option to download TWRP (Menu -> Install recovery)
- Bug fixes

Version 4.1.6:
- Bug fixes

Version 4.1.4:
- Select zips from external sd using kitkat's storage manager
- Test root access from settings
- Option to force using /data/media/ in CWM
- Bug fixes

Version 4.1.3:
- Fix backups folder path for CWM recoveries

Version 4.1.2:
- Select zips from internal sd with kitkat's new storage manager
- Zip and synchronize backups with dropbox and google drive
- Purchased version: flash boot image
- Purchased version: flash recovery image
- Purchased version: handle twrp backup options with onandroid
- Visual and performance changes

Version 4.1.1:
- Support for official closed source CWM (ROMManager premium must be installed)
- ONandroid suport only in purchased version (thanks to Ameer Dawood)
- Support for android 4.4 KitKat
- Bug fixes

Version 4.1.0:
- GPLv3 license
- Backup and restore in external sdcard (not fully tested in TWRP)
- Disabled su alert
- Added ads (pro version doesn't have it)
- Option to login to goo.im
- Moar bug fixes

Version 4.0.5:
- Initialization improvements
- Visualization improvements
- Option to force CWM to mount external sdcard
- Bug fixes

Version 4.0.4:
- Works with SolidExplorer
- File/Folder picker improvements
- Bug fixes

Versión 4.0.3:
- Added rules to add files to the list (default folder must be set)
- Option to delete the file after flashing (through file info dialog)
- Bug fixes

Version 4.0.2:
- Added option to list zip files from a predefined folder
- Other improvements

Version 4.0.1:
- Fix: the zip position option wasn't correctly stored

Version 4.0.0:
- New style (hope you like it)
- Backup options in TWRP
- Fix: manage properly the zip files send/share and download options

Version 3.4.0:
- Android 4.3 support and other small fixes

Version 3.3.7:
- Fix: corrected external sdcard value

Version 3.3.6:
- Fix crash on free version

Version 3.3.5:
- Purchased: performance improvements
- Purchased: added option to not check for updates

Version 3.3.4:
- Fix: can't read internal storage path in some devices

Version 3.3.3:
- Fix crash on some devices without external storage
- Fix update dialog not showing in settings

Version 3.3.1 and 3.3.2:
- Bugs and stability fixes

Version 3.3.0:
- Added ability to flash from the external sdcard
- Recovery: added wipe data and wipe caches option

Version 3.2.2:
- Added android.permission.ACCESS_SUPERUSER
- Add wipe system option to settings

Version 3.2.1:
- Wipe system option
- Internal improvements

Version 3.2.0:
- Option to check sdcard space before doing a backup
- Don't add files that doesn't exist
- Purchased: Added option to change the time between updates searches (again)
- Purchased: Fix when developer doesn't exist in goo.im

Version 3.1.4:
- Fix: the app was managing all the zip downloads

Version 3.1.3:
- Fix: fix permissions wasn't called from dialog

Version 3.1.2:
- Quick fix

Version 3.1.1:
- Fixed: RebootManager crash

Version 3.1.0:
- Fixed: zips with spaces
- Added ability to chose which options to show pressing "Install Now"
- Ability to execute sh scripts
- Option to run fix permissions

Version 3.0.5:
- Added option to select the position to add the zips
- Downloads: change zip name if already exists and deal with unknown file names
- Purchased: Navigate goo.im (GooManager style)
- Purchased: Added option to change the time between updates searches

Version 3.0.4:
- Purchased: Fix service initialization

Version 3.0.3:
- Fixed update dialog not showing in settings
- Added option to auto load list on startup
- Purchased: OTA service with Goo.im and OTA-update-center

Version 3.0.2:
- Fixed md5sum with leading zeros
- Listen browser to download zip files
- Readded slovak translation (thanks to pyler)

Version 3.0.1:
- Fixed crash when not using Drag&Drop
- Corrected path in file properties
- Added japanese translation (thanks to hayashikejinan)

Version 3.0.0:
- Visual improvements
- Fixed list deleted after rotation
- Fixed Drag&Drop
- Fixed backups with spaces crashing in CWM-based
- Added Holo theme
- Added option to check if files exists
- Added option to check md5sum files automatically
- Added option to override the list when loading saved list
- Added option to delete backup
- Added option to reboot to recovery
- Check and install updates
- Download zip files

Version 2.5.4:
- Fixed last modified date in zip properties
- Added option to check MD5 sum (from zip properties dialog)
- Added slovak translation (thanks to pyler)

Version 2.5.3:
- Zip list shows full path in summary
- More info in zip properties
- Backup and restore options are shown in ActionBar
- Added option to show/hide backup option in reboot dialog

Version 2.5.2:
- Use RebootManager if installed as a system app

Version 2.5.1:
- Workaround to make HTC devices reboot

Version 2.5.0:
- Added backup and restore

Version 2.4.7:
- Added option to disable Drag and Drop
- Reorganized settings

Version 2.4.6:
- Fixed crash on touching category

Version 2.4.5:
- Added ability to reorder the list of zips
- Added option to save and load the list of zips

Version 2.4.4:
- Added hability to receive zips from other apps
- Added support for TWRP2.2-

Version 2.4.3:
- Minor changes

Version 2.4.2:
- Support for CWM-based recovery 5.0.x

Version 2.4.1:
- Fix bug while wiping

Version 2.4:
- ZipInstaller now works as a user app
- Tries to configure recovery automatically

Version 2.3:
- Support for 4EXT recovery

Version 2.2:
- Support for TWRP recovery
- Fix bug writing shared preferences
- Changed icon
- System style

Version 2.1:
- Added dalvik cache wipe
- Added android_secure wipe

Version 2.0:
- Multi zip install
- Show zip properties
- Remove zip from list
- Change sdcard mount point name
- Can't remember...

Version 1.0 to 1.3:
- This branch is totally discontinued
- First release
 
Last edited:

beerbong

Inactive Recognized Developer
Jun 1, 2009
1,623
7,588
0
Palma
Q&A and troubleshooting

Q&A and troubleshooting

I have ClockworkMod (official Koush's one) recovery and it's giving me this error: "Error processing ROM Manager script"
You've got to select CWM-official in settings and have RomManager premium installed.

The recovery throws this error: "Can't mount /emmc/..."
Change the internal sd card path to sdcard in menu -> SD card.

I hit the "Install now" button but nothing happens
Install the app as a system app. Should work now.
 
Last edited:

chasmodo

Senior Member
Dec 28, 2011
12,406
41,141
0
Novi Sad
Hi BB.

I have just tried it on Nexus 7 and it didn't work. Here's the recovery.log for you to hopefully discover what went wrong.

Code:
Starting recovery on Fri Oct  5 06:15:27 2012
can't open /dev/tty0: No such file or directory
framebuffer: fd 3 (800 x 1280)
ClockworkMod Recovery v6.0.1.0
recovery filesystem table
=========================
  0 /tmp ramdisk (null) (null) 0
  1 /sdcard datamedia /dev/null (null) 0
  2 /system ext4 /dev/block/platform/sdhci-tegra.3/by-name/APP (null) 0
  3 /cache ext4 /dev/block/platform/sdhci-tegra.3/by-name/CAC (null) 0
  4 /data ext4 /dev/block/platform/sdhci-tegra.3/by-name/UDA (null) 0
  5 /recovery emmc /dev/block/platform/sdhci-tegra.3/by-name/SOS (null) 0
  6 /boot emmc /dev/block/platform/sdhci-tegra.3/by-name/LNX (null) 0

W:Unable to get recovery.fstab info for /datadata during fstab generation!
W:Unable to get recovery.fstab info for /emmc during fstab generation!
W:Unable to get recovery.fstab info for /sd-ext during fstab generation!
I:Completed outputting fstab.
I:Processing arguments.
I:Checking arguments.
I:device_recovery_start()
Command: "/sbin/recovery"

ro.secure=1
ro.allow.mock.location=0
ro.debuggable=1
persist.sys.usb.config=adb
ro.build.id=IMM76L
ro.build.display.id=cm_grouper-userdebug 4.0.4 IMM76L eng.koush.20120721.115347 test-keys
ro.build.version.incremental=eng.koush.20120721.115347
ro.build.version.sdk=15
ro.build.version.codename=REL
ro.build.version.release=4.0.4
ro.build.date=Sat Jul 21 11:55:15 PDT 2012
ro.build.date.utc=0
ro.build.type=userdebug
ro.build.user=koush
ro.build.host=Koushik-Lion.local
ro.build.tags=test-keys
ro.product.model=grouper
ro.product.brand=asus
ro.product.name=cm_grouper
ro.product.device=grouper
ro.product.board=grouper
ro.product.cpu.abi=armeabi
ro.product.manufacturer=asus
ro.product.locale.language=en
ro.product.locale.region=US
ro.wifi.channels=
ro.board.platform=unknown
ro.build.product=grouper
ro.build.description=cm_grouper-userdebug 4.0.4 IMM76L eng.koush.20120721.115347 test-keys
ro.build.fingerprint=asus/cm_grouper/grouper:4.0.4/IMM76L/eng.koush.20120721.115347:userdebug/test-keys
ro.build.characteristics=default
ro.cm.device=grouper
ro.rommanager.developerid=cyanogenmod
keyguard.no_require_sim=true
ro.url.legal=http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html
ro.url.legal.android_privacy=http://www.google.com/intl/%s/mobile/android/basic/privacy.html
ro.com.google.clientidbase=android-google
ro.com.android.wifi-watchlist=GoogleGuest
ro.setupwizard.enterprise_mode=1
ro.com.android.dateformat=MM-dd-yyyy
ro.com.android.dataroaming=false
ro.cm.version=9-20120721-UNOFFICIAL-grouper
ro.modversion=9-20120721-UNOFFICIAL-grouper
ro.config.ringtone=CyanTone.ogg
ro.config.notification_sound=CyanMessage.ogg
ro.config.alarm_alert=CyanAlarm.ogg
ro.ril.hsxpa=1
ro.ril.gprsclass=10
ro.adb.qemud=1
dalvik.vm.lockprof.threshold=500
net.bt.name=Android
net.change=net.bt.name
dalvik.vm.stack-trace-file=/data/anr/traces.txt
ro.factorytest=0
ro.serialno=015d257861242209
ro.bootmode=unknown
ro.baseband=unknown
ro.carrier=unknown
ro.bootloader=3.34
ro.hardware=grouper
ro.revision=0
ro.emmc=0
init.svc.recovery=running
service.adb.root=1
init.svc.adbd=running

I:Checking for extendedcommand...
I:Running extendedcommand...
Waiting for SD Card to mount (20s)
I:using /data/media for /sdcard.
SD Card mounted...
Verifying SD Card marker...
SD Card marker not found...
44d064bc55690a583858ed575314e820
Error processing ROM Manager script. Please verify that you are performing the backup, restore, or ROM installation from ROM Manager v4.4.0.0 or higher.
I:using /data/media for /sdcard.
 
  • Like
Reactions: puduraja

beerbong

Inactive Recognized Developer
Jun 1, 2009
1,623
7,588
0
Palma
Hi BB.

I have just tried it on Nexus 7 and it didn't work. Here's the recovery.log for you to hopefully discover what went wrong.

Code:
Starting recovery on Fri Oct  5 06:15:27 2012
can't open /dev/tty0: No such file or directory
framebuffer: fd 3 (800 x 1280)
ClockworkMod Recovery v6.0.1.0
recovery filesystem table
=========================
  0 /tmp ramdisk (null) (null) 0
  1 /sdcard datamedia /dev/null (null) 0
  2 /system ext4 /dev/block/platform/sdhci-tegra.3/by-name/APP (null) 0
  3 /cache ext4 /dev/block/platform/sdhci-tegra.3/by-name/CAC (null) 0
  4 /data ext4 /dev/block/platform/sdhci-tegra.3/by-name/UDA (null) 0
  5 /recovery emmc /dev/block/platform/sdhci-tegra.3/by-name/SOS (null) 0
  6 /boot emmc /dev/block/platform/sdhci-tegra.3/by-name/LNX (null) 0

W:Unable to get recovery.fstab info for /datadata during fstab generation!
W:Unable to get recovery.fstab info for /emmc during fstab generation!
W:Unable to get recovery.fstab info for /sd-ext during fstab generation!
I:Completed outputting fstab.
I:Processing arguments.
I:Checking arguments.
I:device_recovery_start()
Command: "/sbin/recovery"

ro.secure=1
ro.allow.mock.location=0
ro.debuggable=1
persist.sys.usb.config=adb
ro.build.id=IMM76L
ro.build.display.id=cm_grouper-userdebug 4.0.4 IMM76L eng.koush.20120721.115347 test-keys
ro.build.version.incremental=eng.koush.20120721.115347
ro.build.version.sdk=15
ro.build.version.codename=REL
ro.build.version.release=4.0.4
ro.build.date=Sat Jul 21 11:55:15 PDT 2012
ro.build.date.utc=0
ro.build.type=userdebug
ro.build.user=koush
ro.build.host=Koushik-Lion.local
ro.build.tags=test-keys
ro.product.model=grouper
ro.product.brand=asus
ro.product.name=cm_grouper
ro.product.device=grouper
ro.product.board=grouper
ro.product.cpu.abi=armeabi
ro.product.manufacturer=asus
ro.product.locale.language=en
ro.product.locale.region=US
ro.wifi.channels=
ro.board.platform=unknown
ro.build.product=grouper
ro.build.description=cm_grouper-userdebug 4.0.4 IMM76L eng.koush.20120721.115347 test-keys
ro.build.fingerprint=asus/cm_grouper/grouper:4.0.4/IMM76L/eng.koush.20120721.115347:userdebug/test-keys
ro.build.characteristics=default
ro.cm.device=grouper
ro.rommanager.developerid=cyanogenmod
keyguard.no_require_sim=true
ro.url.legal=http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html
ro.url.legal.android_privacy=http://www.google.com/intl/%s/mobile/android/basic/privacy.html
ro.com.google.clientidbase=android-google
ro.com.android.wifi-watchlist=GoogleGuest
ro.setupwizard.enterprise_mode=1
ro.com.android.dateformat=MM-dd-yyyy
ro.com.android.dataroaming=false
ro.cm.version=9-20120721-UNOFFICIAL-grouper
ro.modversion=9-20120721-UNOFFICIAL-grouper
ro.config.ringtone=CyanTone.ogg
ro.config.notification_sound=CyanMessage.ogg
ro.config.alarm_alert=CyanAlarm.ogg
ro.ril.hsxpa=1
ro.ril.gprsclass=10
ro.adb.qemud=1
dalvik.vm.lockprof.threshold=500
net.bt.name=Android
net.change=net.bt.name
dalvik.vm.stack-trace-file=/data/anr/traces.txt
ro.factorytest=0
ro.serialno=015d257861242209
ro.bootmode=unknown
ro.baseband=unknown
ro.carrier=unknown
ro.bootloader=3.34
ro.hardware=grouper
ro.revision=0
ro.emmc=0
init.svc.recovery=running
service.adb.root=1
init.svc.adbd=running

I:Checking for extendedcommand...
I:Running extendedcommand...
Waiting for SD Card to mount (20s)
I:using /data/media for /sdcard.
SD Card mounted...
Verifying SD Card marker...
SD Card marker not found...
44d064bc55690a583858ed575314e820
Error processing ROM Manager script. Please verify that you are performing the backup, restore, or ROM installation from ROM Manager v4.4.0.0 or higher.
I:using /data/media for /sdcard.
Well, chas, you don't have a "CWM-based Recovery", you have a "ClockworkMod Recovery". The ClockworkMod Recoveries prevent from using the extendedcommand scripts.

Nothing i can do... you can update your recovery or talk to the rom developer (if he builds from source) to change one of these two pieces of code of android_bootable_recovery

in Android.mk
Code:
ifdef I_AM_KOUSH
RECOVERY_NAME := ClockworkMod Recovery
LOCAL_CFLAGS += -DI_AM_KOUSH
else
RECOVERY_NAME := CWM-based Recovery
endif
or in edifyscripting.c
Code:
#ifdef I_AM_KOUSH
    if (0 != (ret = before_run_script(tmp))) {
        ui_print("Error processing ROM Manager script. Please verify that you are performing the backup, restore, or ROM installation from ROM Manager v4.4.0.0 or higher.\n");
        return ret;
    }
#endif
 

chasmodo

Senior Member
Dec 28, 2011
12,406
41,141
0
Novi Sad
Well, chas, you don't have a "CWM-based Recovery", you have a "ClockworkMod Recovery". The ClockworkMod Recoveries prevent from using the extendedcommand scripts.

Nothing i can do... you can update your recovery or talk to the rom developer (if he builds from source) to change one of these two pieces of code of android_bootable_recovery

in Android.mk
Code:
ifdef I_AM_KOUSH
RECOVERY_NAME := ClockworkMod Recovery
LOCAL_CFLAGS += -DI_AM_KOUSH
else
RECOVERY_NAME := CWM-based Recovery
endif
or in edifyscripting.c
Code:
#ifdef I_AM_KOUSH
    if (0 != (ret = before_run_script(tmp))) {
        ui_print("Error processing ROM Manager script. Please verify that you are performing the backup, restore, or ROM installation from ROM Manager v4.4.0.0 or higher.\n");
        return ret;
    }
#endif
Thanks for clarifying that for me. Would it work on TWRP, perhaps? These are the only two recoveries available for N7 AFAIK.
 

beerbong

Inactive Recognized Developer
Jun 1, 2009
1,623
7,588
0
Palma
Thanks for clarifying that for me. Would it work on TWRP, perhaps? These are the only two recoveries available for N7 AFAIK.
TWRP has it's own scripting language called OpenRecoveryScript, interesting, do you know if TWRP supports the n7000? if so, i'll install it and make some test.
 
  • Like
Reactions: BrooklynNY

beerbong

Inactive Recognized Developer
Jun 1, 2009
1,623
7,588
0
Palma
Betatesters needed for version 2.2.

I have to test ZipInstaller in a TWRP recovery, so if you have a device with this recovery and wanna help me, please send me a PM or post it here.
 

beerbong

Inactive Recognized Developer
Jun 1, 2009
1,623
7,588
0
Palma
Version 2.2 released

TWRP support not fully tested. If you test it, try switching the internal storage mount point name to "sdcard" or "data/media" (in menu -> internal storage). Min version of TWRP is 2.2

Uploaded to goo.im. Check when it's available.
 
Last edited:

beerbong

Inactive Recognized Developer
Jun 1, 2009
1,623
7,588
0
Palma
the app didn't work on my Samsung captivate running android v4.0 and have cwm recovery v6

the app is a bit off of the screen

in the below link you can find the screenshot and last log of the recovery

https://www.box.com/shared/38ye7g8ppf6rtikzoj8r

one thing I noted in the last log is it took my internal memory as emmc
Download version 2.2 when it's online and try changing the internal storage mount point name.

Enviat des d'es meu GNote amb so Tapatalk
 

beerbong

Inactive Recognized Developer
Jun 1, 2009
1,623
7,588
0
Palma
the newer version also didn't work, also changed the internal sdcard to sdcard

here is the last log

https://www.box.com/shared/c5hamj7akz9udyz6fyrz

also the app get fc'ed when I tap on any selected zip file
You are using a recovery called "Devil" that i don't know about. It seems to be using both extendedcommand and openrecoveryscript (althought the TWRP version is lower than 2.2 cause it can't handle the print command). The sdcard path seems correct, so is emmc, maybe the problem are the spaces in the zip name.

Also, if there are FCs, please provide a logcat.
 

dheeraj (dhlalit11)

Senior Member
Sep 30, 2011
2,541
1,510
0
fatehabad (hry)
indeed its devil kernel which have both cwm based recovery and twrp, am thinking about the sdcard marker, it could be the problem and also the space in the name could be

i can take logcat

but it would be good if you can give the command to log the events which are related only with your app, so that only useful events would be logged