Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
beerbong
Old
(Last edited by beerbong; 29th April 2013 at 07:01 PM.)
#1  
beerbong's Avatar
Recognized Developer - OP
Thanks Meter 4739
Posts: 1,230
Join Date: Jun 2009
Location: Palma

 
DONATE TO ME
Default [APP][ROOT] ZipInstaller 3.3.6 for CWM-based + TWRP + 4EXT Recoveries

ZipInstaller 3.3.6
A fast and easy way to install ZIPs
This app was posted in XDA portal




Overview
ZipInstaller is a little app that makes it faster to pick up and install the zip files you want to install via recovery. Instead of using the volume and power keys to select the different options inside the recovery, you can pick up all the zips you want with your favorite file manager from the sdcard and choose wether you want to wipe cache and/or data, that's it. You also can send the ZIPs you want through the send/share menu of your file manager.
ZipInstaller was originally part of The Beer Gang's JellyBeer ROM.


Features
- Install as much zips you want in a row (they are added to a list and then you click the "install" button).
- Add zips directly from a file manager through the send/share menu.
- Click on the zips added to see it's properties or remove it from the list.
- You can define the recovery and the sdcard mount point name in the menu (default is CWM-based - emmc).
- If you add a zip that was already added, it goes down to the last position.
- Reorder the list using drag and drop.
- Save and load your list.
- Download zips and add them to the list
- Backup, restore and delete backup.
- Check MD5 sum (manually or automatically through *.md5sum)
- Application automatic updates
- Open source!


Features purchased version
- 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


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
Users that have purchased the app shouldn't update from here as they would lose extra features.


Purchase application
Play Store link: https://play.google.com/store/apps/d...erbong.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
The Following 145 Users Say Thank You to beerbong For This Useful Post: [ Click to Expand ]
 
beerbong
Old
(Last edited by beerbong; 29th April 2013 at 07:01 PM.)
#2  
beerbong's Avatar
Recognized Developer - OP
Thanks Meter 4739
Posts: 1,230
Join Date: Jun 2009
Location: Palma

 
DONATE TO ME
Default Changelog

Changelog
Code:
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
The Following 19 Users Say Thank You to beerbong For This Useful Post: [ Click to Expand ]
 
beerbong
Old
(Last edited by beerbong; 3rd January 2013 at 07:01 AM.)
#3  
beerbong's Avatar
Recognized Developer - OP
Thanks Meter 4739
Posts: 1,230
Join Date: Jun 2009
Location: Palma

 
DONATE TO ME
Default Q&A and troubleshooting

Q&A and troubleshooting

I have ClockworkMod recovery and it's giving me this error: "SD Card marker not found"
The app doesn't work with ClockworkMod recovery. Install one of the three recoveries stated in the OP.

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.
The Following 10 Users Say Thank You to beerbong For This Useful Post: [ Click to Expand ]
 
dheeraj (dhlalit11)
Old
#4  
dheeraj (dhlalit11)'s Avatar
Recognized Contributor
Thanks Meter 1277
Posts: 2,368
Join Date: Sep 2011
Location: fatehabad (hry)
good to see this type of thing when you don't want to use rom manager

galaxy mini people will love this
The Following User Says Thank You to dheeraj (dhlalit11) For This Useful Post: [ Click to Expand ]
 
chasmodo
Old
#5  
chasmodo's Avatar
Recognized Contributor
Thanks Meter 20279
Posts: 9,256
Join Date: Dec 2011
Location: Novi Sad

 
DONATE TO ME
Quote:
Originally Posted by dheeraj (dhlalit11) View Post
good to see this type of thing when you don't want to use rom manager

galaxy mini people will love this
I'll give it a go as soon as I get back home, don't have my Note with me ATM. Thanks a million, BB.

Sent from Nexus 7
The Following User Says Thank You to chasmodo For This Useful Post: [ Click to Expand ]
 
andreww88
Old
#6  
Senior Member
Thanks Meter 304
Posts: 1,301
Join Date: Aug 2011
Location: Mobile, AL
This is pretty sweet. Will give it a go today.


If you are helped by someone, it is only the right thing to hit the "Thanks" button.
The Following User Says Thank You to andreww88 For This Useful Post: [ Click to Expand ]
 
chasmodo
Old
#7  
chasmodo's Avatar
Recognized Contributor
Thanks Meter 20279
Posts: 9,256
Join Date: Dec 2011
Location: Novi Sad

 
DONATE TO ME
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.
The Following User Says Thank You to chasmodo For This Useful Post: [ Click to Expand ]
 
beerbong
Old
#8  
beerbong's Avatar
Recognized Developer - OP
Thanks Meter 4739
Posts: 1,230
Join Date: Jun 2009
Location: Palma

 
DONATE TO ME
Quote:
Originally Posted by chasmodo View Post
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
The Following 2 Users Say Thank You to beerbong For This Useful Post: [ Click to Expand ]
 
chasmodo
Old
#9  
chasmodo's Avatar
Recognized Contributor
Thanks Meter 20279
Posts: 9,256
Join Date: Dec 2011
Location: Novi Sad

 
DONATE TO ME
Quote:
Originally Posted by beerbong View Post
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
Old
#10  
beerbong's Avatar
Recognized Developer - OP
Thanks Meter 4739
Posts: 1,230
Join Date: Jun 2009
Location: Palma

 
DONATE TO ME
Quote:
Originally Posted by chasmodo View Post
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.

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...