[Miscellaneous Android Development] gus_zernial:
RE: Swonsay's Remove Bloatware Script

I'm a newbie to Android phones. I have an Exhibit II 4G with original ROM, and Ihave a T-Mobile no-contract plan. I ran Zerg Rush Root, and per output messages it appeared to complete successfully. I believe I've successfully rooted the phone, as I have the Superuser icon, but I'm unclear if Busybox install was completed correctly, see below. I have installed Titanium Backup and done a complete backup.

I do not need many apps (a significant exception being wi-fi calling, which I want) and I want to debloat as much as possible. In my Windows 7 PC I installed android-sdk and the google USB driver, downloaded Swonsay's Remove Bloatware Script, copied the debloat.bat and remove file into the adb directory, edited the remove.txt file as I want, and run debloat.bat (in the Win7 Administrator account) from the command line.

I get a bunch of of messages from the script, some of which I believe are OK but others of which make me unsure if I've succeeded in removal or not. So as a test I edited remove.txt to include only:

BooksPhone.apk

BooksPhone.odex

The output to that test is below - to me the output looks like I'm *not* successful in the removal, and specifically that I have root/permissions problems on the phone, and/or busybox is not installed. I note that from Win7 I can do >adb shell and then $su in the phone and get a root prompt, but I don't see a /system/bin/busybox directory on the phone. Before I run Swonsay's script is there a step to have root permissions on the phone? And/or is there a Busybox problem? Reccommendations to fix appreciated Thx, Gus

-------------------------

.

.

.

This program will not attempt to remove all files listed in remove.txt

Press any key to continue . . .

mount: Operation not permitted

Unable to chmod /system/bin/busybox: No such file or directory

Removing BooksPhone.apk

rm failed for /system/app/BooksPhone.apk, Read-only file system

uninstalling: com.google.android.apps.books

Failure

Removing BooksPhone.odex

rm failed for /system/app/BooksPhone.odex, Read-only file system

uninstalling:

Error: no package specified

usage: pm [list|path|install|uninstall]

pm list packages [-f] [-d] [-e] [-u] [FILTER]

pm list permission-groups

pm list permissions [-g] [-f] [-d] [-u] [GROUP]

pm list instrumentation [-f] [TARGET-PACKAGE]

pm list features

pm list libraries

pm path PACKAGE

pm install [-l] [-r] [-t] [-i INSTALLER_PACKAGE_NAME] [-s] [-f] PATH

pm uninstall [-k] PACKAGE

pm clear PACKAGE

pm enable PACKAGE_OR_COMPONENT

pm disable PACKAGE_OR_COMPONENT

pm setInstallLocation [0/auto] [1/internal] [2/external]

The list packages command prints all packages, optionally only

those whose package name contains the text in FILTER. Options:

-f: see their associated file.

-d: filter to include disbled packages.

-e: filter to include enabled packages.

-u: also include uninstalled packages.

The list permission-groups command prints all known

permission groups.

The list permissions command prints all known

permissions, optionally only those in GROUP. Options:

-g: organize by group.

-f: print all information.

-s: short summary.

-d: only list dangerous permissions.

-u: list only the permissions users will see.

The list instrumentation command prints all instrumentations,

or only those that target a specified package. Options:

-f: see their associated file.

The list features command prints all features of the system.

The path command prints the path to the .apk of a package.

The install command installs a package to the system. Options:

-l: install the package with FORWARD_LOCK.

-r: reinstall an exisiting app, keeping its data.

-t: allow test .apks to be installed.

-i: specify the installer package name.

-s: install package on sdcard.

-f: install package on internal flash.

The uninstall command removes a package from the system. Options:

-k: keep the data and cache directories around.

after the package removal.

The clear command deletes all data associated with a package.

The enable and disable commands change the enabled state of

a given package or component (written as "package/class").

The getInstallLocation command gets the current install location

0 [auto]: Let system decide the best location

1 [internal]: Install on internal device storage

2 [external]: Install on external media

The setInstallLocation command changes the default install location

0 [auto]: Let system decide the best location

1 [internal]: Install on internal device storage

2 [external]: Install on external media

Press any key to continue . . .

Unable to chmod /system/bin/busybox: No such file or directory

Remounting /system as read only...

mount: Operation not permitted

Rebooting...

Were done, that wasnt too painful was it?

Press any key to continue . . .