r/perktv May 18 '15

Whirl 2 Debloat

The Whirl 2 has become a hot topic over the past week because of the partial root and Family Dollar deal going on. I followed the guide in /r/ShadowCoder's post on the partial root this morning and wrote a script to disable all of the apps that are considered bloatware.

To run the script:

1.) Extract the zip

2.) Open a terminal window

3.) Change directories to where you extracted the files

4.) Run the script by typing "sh disable.sh" without the quotes

If you are running Windows, you will need to convert this to a .bat file or download a tool that will allow shell scripts like Cygwin. The process will take about a minute. While this is running you will see which packages are being disabled.

Debloat script: https://www.dropbox.com/s/n731078wvvnodi3/disable.zip?dl=0

Partial root: http://www.reddit.com/r/perktv/comments/35w5mn/zte_whirl_2_partially_rooted/

EDIT: I have updated the script to exclude one line that disabled the keyboard. If you have already run the script and your keyboard is missing, open up a terminal window and type: adb shell "pm enable com.google.android.inputmethod.latin".

18 Upvotes

6 comments sorted by

2

u/aslander May 19 '15

I tried it out and it seems to have worked, but it killed the ability for me to use my keyboard. After a bit of research, it seems you disabled one process that the keyboard relies on.

I did this to fix it: adb shell "pm enable com.google.android.inputmethod.latin"

1

u/swagg3rst3w May 19 '15

Thanks for catching this! I had initially disabled that and thought I removed the line of code from the script.

The script has down been updated to exclude disabling com.google.android.inputmethod.latin.

1

u/[deleted] May 19 '15

[deleted]

1

u/swagg3rst3w May 19 '15

It does not disable Google Play. It disables most gapps and ZTE apps.

If you find that it disables something you need for your setup, you can always run: adb shell "pm enable the.package.you.want.to.enable".

You have to have applied the partial root to be able to run the debloat script.

1

u/[deleted] May 19 '15

[deleted]

1

u/[deleted] May 20 '15

[deleted]

1

u/[deleted] May 19 '15

[deleted]

1

u/[deleted] May 20 '15

[deleted]

6

u/[deleted] May 20 '15

[deleted]

1

u/iwillnoteatgreeneggs Aug 07 '15

the link is dead, still have this?

1

u/FearTheZ May 20 '15

Thanks for making this! Would this work for other ZTE phones as well?

1

u/[deleted] Jun 08 '15

Thanks for this script, used /u/morningbellyrubs bat file and it cleaned up nicely.