FlashAfterUpdate zips

Status
Not open for further replies.
Search This thread

RaphaDroid

Senior Member
Dec 19, 2012
698
380
28
São José
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://xdaforums.com/attachment.php?attachmentid=2315886&d=1381424564

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

Link: https://mega.co.nz/#!logTVZ5T!xOMvBGkBPmBGC7RHjShhBLxmNwEBOOB0D0HVlQ17iOY

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://xdaforums.com/attachment.php?attachmentid=2489603&d=1388678505

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

Link: http://xdaforums.com/attachment.php?attachmentid=2808317&d=1403270791

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

Link: http://xdaforums.com/attachment.php?attachmentid=2594927&d=1393108721

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

Link: http://xdaforums.com/attachment.php?attachmentid=2808316&d=1403270791

Keeps the stock SMS/MMS app installed.​
Stock Launcher

Link: http://xdaforums.com/attachment.php?attachmentid=2808315&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://xdaforums.com/attachment.php?attachmentid=2886924&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://xdaforums.com/attachment.php?attachmentid=2527583&d=1390212113

Deletes stock Calendar app.​
Del_Camera

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

Deletes stock Camera app.​
Del_Gallery

Link: http://xdaforums.com/attachment.php?attachmentid=2750122&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.​


NOGAPPS Package

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


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. :cool:

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: View attachment 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: View attachment 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: View attachment 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");
 
Last edited:

Entropy512

Senior Recognized Developer
Aug 31, 2007
14,088
25,086
Owego, NY
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.
 

rodrigorajao

Senior Member
Feb 21, 2009
133
21
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).
 
  • Like
Reactions: dankatz1

RaphaDroid

Senior Member
Dec 19, 2012
698
380
28
São José
@Entropy512, but for some people this procedure doesn't seem to work... So here is the zip anyway. :)


Sent from my
mpai.png
 

sunglint

Senior Member
Feb 18, 2008
129
27
Houston
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.
 

RaphaDroid

Senior Member
Dec 19, 2012
698
380
28
São José
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

Can't thank you enough! I've just updated the first post, switched back to Dalvik from ART and gonna install all the goodies! Hahahaha
 

Kallb123

Senior Member
Jun 23, 2010
362
60
Can't thank you enough! I've just updated the first post, switched back to Dalvik from ART and gonna install all the goodies! Hahahaha

No worries, I flashed 22 without supersu zip and lost it. 5 minutes later I flashed 23 with the zip and it works fine.
That xposed toggle is great, works as a disabler as well as a reinstaller :)

Sent from my C6603 using Tapatalk
 
  • Like
Reactions: RaphaDroid

harrybarracuda

Senior Member
Mar 18, 2008
50
2
FlashAfterUpdate

Sorry for what might be a dim question, but where is this Folder, or if I have to create it, is there a specific location?

Thanks in advance, etc...
 

sunglint

Senior Member
Feb 18, 2008
129
27
Houston
Sorry for what might be a dim question, but where is this Folder, or if I have to create it, is there a specific location?

Thanks in advance, etc...

At the root level of your internal storage, on the GalaxyNote2 it's

/sdcard/OpenDelta/FlashAfterUpdate/

You'll also find the most recent OTA in the OpenDelta folder.

If you change your settings in "Settings" - "About Phone" - "System Updates" to deselect "Secure" then anything you put in the FlashAfterUpdate folder will be flashed after the update but before reboot. Since the update can wipe certain things (Xposed Framework, Superuser) this is a way to set them back each time automatically instead of having to manually redo a bunch of things.
 
Status
Not open for further replies.

Top Liked Posts