FORUMS
Remove All Ads from XDA

FlashAfterUpdate zips

698 posts
Thanks Meter: 381
 
By RaphaDroid, Senior Member on 19th December 2013, 03:40 AM
Thread Closed Email Thread
Guys, I'll put some cool things here! They're zips that can be put in the FlashAfterUpdate folder.

I'll publish here zips that aren't device-dependent. If they don't work on your device, please let me know.
SuperSU

Link: http://download.chainfire.eu/supersu/

It's pretty obvius, right?
Xposed Toggle

Link: http://forum.xda-developers.com/atta...6&d=1381424564

Thanks to @amishxda! This zip will keep Xposed framework!
AFWall Startup Script

Link: https://mega.co.nz/#!logTVZ5T!xOMvBG...OB0D0HVlQ17iOY

Afwall has an option to prevent data leaks during boot (it basically blocks all traffic during boot until afwall can apply the iptables). For this it places the file afwallstart in /system/etc/init.d/ folder. Thanks to @an0n981, this script will keep the script on its place during updates
ExFat enabler

Link: http://forum.xda-developers.com/atta...3&d=1388678505

Enables ExFat SD card mounting when supported.
Google Dialer v1.1

Link: http://forum.xda-developers.com/atta...7&d=1403270791

New Google Dialer with built-in nearby places search feature.
Source: Android Police.
CM_Calculator.zip

Link: http://forum.xda-developers.com/atta...7&d=1393108721

Switch the stock calculator for the CM's one.
Stock SMS

Link: http://forum.xda-developers.com/atta...6&d=1403270791

Keeps the stock SMS/MMS app installed.
Stock Launcher

Link: http://forum.xda-developers.com/atta...5&d=1403270791

Keeps the original Launcher.
Delete zips

Zips made for deleting files between updates.
CleanUp.zip

Link: http://d-h.st/HmT

Delete these files:
  • VisualizationWallpapers.apk
  • HoloSpiralWallpaper.apk
  • NoiseField.apk
  • LiveWallpapers.apk
  • MagicSmokeWallpapers.apk
  • Galaxy4.apk
Del_DashClock.zip

Link: http://d-h.st/iJT

Deletes DashClock.
Del_Apollo.zip

Link: http://d-h.st/fsn

Deletes the Music app (Apollo).
Del_Browser.zip

Link: http://d-h.st/kUc

Deletes the AOSP Browser.
Del_DSPManager

Link: http://d-h.st/qdw

Deletes DSP Manager.
Del_Launcher3

Link: http://forum.xda-developers.com/atta...4&d=1407354229

Deletes Omni's stock launcher. Use this only if you have another launcher installed!
Del_MovieStudio

Link: http://d-h.st/nub

Deletes MovieStudio app.
Del_Mms

Link: http://d-h.st/bjL

Deletes Messaging app.
Del_Calendar

Link: http://forum.xda-developers.com/atta...3&d=1390212113

Deletes stock Calendar app.
Del_Camera

Link: http://d-h.st/ymw

Deletes stock Camera app.
Del_Gallery

Link: http://forum.xda-developers.com/atta...2&d=1400404644

Deletes stock Gallery app.
Del_Email

Link: http://d-h.st/ww6

Deletes stock Email app.
Del_News&Weather

Link: http://d-h.st/l95

Deletes News & Weather app.
Del_Documents

Link: http://d-h.st/wJr

Deletes Documents app.
Del_Torch

Link: http://d-h.st/FGQ

Deletes Torch.
Del_OmniSwitch

Link: http://forum.xda-developers.com/atta...3&d=1400404644

Deletes OmniSwitch.

NOGAPPS Package

Here are some zips needed if you're using NOGAPPS package.
More info here.
Google Maps API

Link: http://forum.xda-developers.com/atta...5&d=1403858798
BlankStore NetLocation

Link: http://forum.xda-developers.com/atta...1&d=1409336920
One-time flash zips

These are One-time flash zips. They're going to drop scripts inside your /system/addon.d/ folder.
Viper4Android drivers

Link: http://d-h.st/YKm

Thanks to @dt192, this script will keep Viper4Android's drivers installed across updates! You just need to flash this zip and voilá!
Any idea or something like this, just upload here and I'll publish here with the devide credits!
If you want to make it compatible with all (or almost all) devices, just use this update-binary.
Template zips

Here are template zips, for those interested in make their own flashable zips. I'll leave here a Keep and a Delete template. Both with instructions inside their scripts.
Download
  • Keep template: TEMPLATE_KEEP.zip

    Instructions:

    Code:
    # This is an installation script, that keeps your desired files during updates. In order
    # to make this script work, you simply need to put your desired apks inside the
    # "/system/app/" or "/system/priv-app/" folders, depending on its original path in system,
    # your desired boot animation inside the "/system/media/" folder, etc.
    # You can always create new folders to flash other files. :)
    
    run_program("/sbin/busybox", "mount", "/system");
    package_extract_dir("system", "/system");
    show_progress(0.100000, 0);
    run_program("/sbin/busybox", "umount", "/system");

  • Delete template: TEMPLATE_DELETE.zip

    Instructions:

    Code:
    # This is a template script for deleting files. Here's what you
    # need to do in order to this script delete the desired files:
    #
    # 1 - Write the complete path to the file between quotes ("") below the word "delete";
    # 2 - If you want to delete more than one file, divide the paths with comas (,).
    
    run_program("/sbin/busybox", "mount", "/system");
    
    delete(
        "/system/app/Example1.apk",
        "/system/app/Example2.apk",
        "/system/priv-app/Example3.apk",
        "/system/priv-app/Example4.apk"
    );
    
    run_program("/sbin/busybox", "umount", "/system");

  • Addon.d scripts flasher template: TEMPLATE_ADDON.D.zip

    Instructions:

    Code:
    #This is an addon.d scripts flasher template! Here's how to use it:
    #
    #In order to make it flash your desired addon.d script to its place, you
    #just need to put the script inside "/system/addon.d/" folder and copy/paste
    #its name for the highlited one in line 10.
    
    run_program("/sbin/busybox", "mount", "/system");
    package_extract_dir("system", "/system");
    set_perm(0, 0, 0755, 
    "/system/addon.d/ADDON.D_SCRIPT.sh"
    );
    show_progress(0.100000, 0);
    run_program("/sbin/busybox", "umount", "/system");

The Following 68 Users Say Thank You to RaphaDroid For This Useful Post: [ View ] Gift RaphaDroid Ad-Free
 
 
19th December 2013, 03:40 AM |#2  
RaphaDroid's Avatar
OP Senior Member
Flag São José
Thanks Meter: 381
 
More
reserved
19th December 2013, 11:11 AM |#3  
Senior Member
Thanks Meter: 167
 
More
SuperSu, for those who didn't find the link in OmniROM OPs 8-)
http://download.chainfire.eu/supersu/
Reaolves to the latest version, no need to update the link later
The Following 2 Users Say Thank You to husky69 For This Useful Post: [ View ] Gift husky69 Ad-Free
19th December 2013, 12:04 PM |#4  
PapaJohnMc's Avatar
Member
Flag Nashville, TN
Thanks Meter: 25
 
Donate to Me
More
Thumbs up
Very nice! Can't wait to see more get added!
19th December 2013, 04:17 PM |#5  
RaphaDroid's Avatar
OP Senior Member
Flag São José
Thanks Meter: 381
 
More
Quote:
Originally Posted by husky69

SuperSu, for those who didn't find the link in OmniROM OPs 8-)
http://download.chainfire.eu/supersu/
Reaolves to the latest version, no need to update the link later

Added!

Quote:
Originally Posted by PapaJohnMc

Very nice! Can't wait to see more get added!

Feel free to give ideas!
19th December 2013, 05:52 PM |#6  
Senior Recognized Developer
Flag Owego, NY
Thanks Meter: 25,476
 
Donate to Me
More
There is absolutely no need to put SuperSU in the "flash after updates" list.

SuperSU->Settings->Install Backup Script

Once you do that, you should never have to reflash SuperSU again, AND any updates will automatically get backed up - no need to refresh the ZIP.
The Following 8 Users Say Thank You to Entropy512 For This Useful Post: [ View ]
19th December 2013, 06:37 PM |#7  
Senior Member
Thanks Meter: 20
 
More
Quote:
Originally Posted by Entropy512

There is absolutely no need to put SuperSU in the "flash after updates" list.

SuperSU->Settings->Install Backup Script

Once you do that, you should never have to reflash SuperSU again, AND any updates will automatically get backed up - no need to refresh the ZIP.

More importantly, this procedure seems to survive a data wipe / factory reset (I just did it yesterday), so your new ROM will have SuperSU regardless of what ROM you install next (even if the new ROM already has root baked in).
The Following User Says Thank You to rodrigorajao For This Useful Post: [ View ] Gift rodrigorajao Ad-Free
19th December 2013, 11:13 PM |#8  
RaphaDroid's Avatar
OP Senior Member
Flag São José
Thanks Meter: 381
 
More
@Entropy512, but for some people this procedure doesn't seem to work... So here is the zip anyway.


Sent from my
22nd December 2013, 05:54 PM |#9  
Senior Member
Houston
Thanks Meter: 27
 
More
It would be nice if there was a way to reinstall exposed framework after each update, as I currently have to do that manually after each OTA.
22nd December 2013, 10:52 PM |#10  
RaphaDroid's Avatar
OP Senior Member
Flag São José
Thanks Meter: 381
 
More
Quote:
Originally Posted by sunglint

It would be nice if there was a way to reinstall exposed framework after each update, as I currently have to do that manually after each OTA.

You can take a look here and here. Tell me if it works, so I can add it to the first post.


Sent from my
23rd December 2013, 01:19 AM |#11  
Senior Member
Thanks Meter: 60
 
More
Quote:
Originally Posted by RaphaDroid

You can take a look here and here. Tell me if it works, so I can add it to the first post.

I'm using the file attached to the second link and it's working fine.

As for SuperSU, mine says backup script is installed, but it doesn't remain after a flash. So leaving it in this topic seems good to me

Sent from my C6603 using Tapatalk
The Following User Says Thank You to Kallb123 For This Useful Post: [ View ] Gift Kallb123 Ad-Free
Thread Closed Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes