[Nexus 4 Android Development] swagstr:
Make Your Nexus Perfect

WHAT'S NEW?

> VER 1.5 | SEPT 10 2013

-> Quick Install quickened to 4 clicks as opposed to 6

-> Backup/Restore Menu Added

-> Backup/Restore User Apps and be able to remove backups

-> Backup/Restore Anything using keep.txt and be able to remove backups

-> How To section updated with info on Backup/Restore Menu

-> junk.txt Updated with Media and Face Unlock files

-> On the horizon: App deletion in AROMA installer :D

PREREQS

Nexus Device that has a system app you do not want

Grade school diploma (i.e. ability to read)

THE SKINNY

WHAT IS NIGHTLY UPDATER

Nightly Updater is an AROMA installer for those that

yearn to have the cleanest device. Since I first

owned an HTC Droid Eris, I have been wiping bloatware

off of my device. Flash foward to my latest devices -

LG Nexus 4 and the 2013 Asus Nexus 7 and there ain't

much bloatware... But, all AOSP ROMs tend to come with

at least one or two apps that I can do without (and

sometimes a lot more). Nightly Updater is a simple

tool that allows users to remove unwanted system

applications in an easy manner. NU also allows users

to customize which apps are removed.

HOW DOES IT WORK

Nightly Updater works by relying on scripts that

read txt files. When customizing your script, the

installer looks for junk.txt in the "NU" folder of

your virtual (i.e. internal) SD card. Each line that

has not been "commented out" (i.e. does not have a

"#" at the front of it) or any terms (i.e. app

descriptions) that follow a "#" are removed from the

script. This leaves Nightly Updater with a clean text

file that only has the applications you want to remove.

Review:

Custom Script is called: junk.txt

Custom Script goes here: /sdcard/NU/junk.txt

#Chrome.apk -- NOT DELETED FROM DEVICE

Chrome.apk -- DELETED FROM DEVICE

Chrome.apk #Google Browser -- AFTER "#" IGNORED

HOW DO I ADD MY OWN APPS

You can add your own apps in three ways: [1] name (without

apk), [2] name (with apk), or [3] file path.

[1] Name (without ".apk")... Just type:

Chrome

The installer will automatically know it is looking for an apk and

delete Chrome.apk.

[2] Name (with ".apk")... Just type:

Chrome.apk

I think you know what it does.

[3] Full File Path... Now, you can get a little funkier and do the entire

file path like:

/data/app/Chrome.apk

This comes in

handy for files like pre-loaded wallpapers and

ringtones you may want to remove. Be cognizant of

where the files you are removing are located! This

will become very important when telling Nightly

Updater where to scan.

By the way, Nightly Updater also recognizes wildcards.

This is great for those user apps that end up having

unpredictable file names. For example:

/data/app/com.google.android.youtub*.apk
com.google.android.youtube*

These are both ways of erasing YouTube regardless of

the "-X" at the end of the file name.

WHAT'S UP WITH SCANNING

When using a Custom Script, Nightly Updater asks

where you would like to scan for apps. By default,

Nightly Updater recommends you only scan in the

System/App folder - which is where (shocker) system

apps are located. Remember, most junk apps are located

in System/App. However, Nightly Updater has also given

the option to scan Data/App. Some developers will put

apps in the Data/App folder, so it may be useful to

remove apps from there. But NORMALLY, these are only

the apps you chose to install. The final option is

to scan EVERYWHERE. Be very cautious with this command!

Remember that it is matching what you write in

junk.txt with the scan parameter. If you accidentally

wrote "system" as an app you wanted to remove instead

of SystemTuner.apk (with full scan on)... you would

erase your system folder... that's REALLY BAD!!!

Now, if you only check this option when you are using

full path and double check your junk.txt file so that

you did not make any mistakes... YOU ARE GOOD!!!

When in doubt, post your junk.txt here and I will

check it over for you ;)

WHAT'S THE DEFAULT SCRIPT

If you download junk.txt from the OP at XDA, then

you have seen the Default Script. The Default

Script is meant to remove apps that MOST people

would consider expendable. If you are nervous to

tinker with your own Custom Script, try running

the Default Script first. If the script deleted

an app you need or did not delete at app you want

to destroy - hit me up and I will walk you

through the steps.

MORE DIRECTIONS ARE IN THE INSTALLER

DOWNLOADS

Check the "Downloads" Tab

NU-1.5.zip - Nightly Updater Installer

junk.txt - Customizable Removal Script

keep.txt - Customizable Backup Script

BUGS

Installer will occasionally hang when you press "< Back" - Reboot Device to fix temporarily

You tell me

HOW YOU CAN HELP

Give me feature ideas

Come up with more pre-loaded apps to be added to junk.txt :D

SPECIAL THANKS

Patrics83 and the whole ROM Cleaner team for the inspiration of this amazing tool!!! :good:​

XDA:DevDB Information

Nightly Updater, a Tool/Utility for the Google Nexus 4

Contributors

swagstr

Version Information

Status: Stable

Current Stable Version: 1.5

Stable Release Date: 2013-09-10

Created 2013-09-08

Last Updated 2013-09-10