Results 1 to 4 of 4

Thread: Moto E4 debloat & 'no SIM found' fix (no root req)

  1. #1
    Join Date
    Oct 2015
    Posts
    857
    Feedback Score
    0

    Moto E4 debloat & 'no SIM found' fix (no root req)

    I've culled these from various XDA forums. Credit goes to posters there.

    1. Install ADB/Fastboot Installer v1.4.3 (Windows) http://forum.xda-developers.com/show....php?t=2588979

    2. Enable Developer Options in phone's Settings; then enable USB debugging in Developer Options.

    3. Connect phone to PC via USB. You should get an "Allow USB debugging?" pop-up on phone. Enable and tap OK. If no pop-up appears, tap "Revoke USB debugging authorizations" in Developer options, tap OK, reboot phone, reconnect phone to PC.

    4. Console commands used with ADB (# lines are comments, don't type them)

    #check device; if device not shown, redo step 3.
    > adb devices

    #enter shell
    > adb shell

    #get package names
    > pm list packages [string, eg amazon]

    #uninstall app, factory reset to restore
    > pm uninstall -k --user 0 package_name

    #disable 'no SIM found' notification for VZW Moto E4
    > pm uninstall -k --user 0 com.motorola.setupwizard.phoneservice

    I've not tested these on Moto E4, as I don't have VZW version (I've retail version), but they should work. Do full backup beforehand, and restore from that if you mess up when debloating. There may be a debloater package available to automate the above, and which works with current Adroid version.

    Notes:
    . Try disabling app/service from Settings | Apps (enable "show system") first.
    . While connected to PC and in USB debug mode, fingerprint sensor may not work. Use pin instead.
    Last edited by e.mote; 10-01-2017 at 12:39 PM.

  2. #2
    Join Date
    Aug 2006
    Posts
    8,676
    Device(s)
    LG Phoenix 2
    Carrier(s)
    FreedomPop
    Feedback Score
    0
    Quote Originally Posted by e.mote View Post
    I've culled these from various XDA forums. Credit goes to posters there.

    1. Install ADB/Fastboot Installer v1.4.3 http://forum.xda-developers.com/show....php?t=2588979

    2. Enable Developer's Options in settings, then enable USB debugging in Developer's Options.

    3. Console commands used with ADB (# lines are comments, don't type them)

    #enter shell
    > adb shell

    #get package names
    > pm list packages [string, eg amazon]

    #disable app (may no longer work w/ current Android)
    > pm hide "package name"

    #re-enable app
    > pm unhide "package name"

    #permanently remove app, factory reset to restore
    > pm uninstall -k --user 0 "package name"

    #disable 'no SIM found' notification for VZW Moto E4
    > pm uninstall -k --user 0 com.motorola.setupwizard.phoneservice

    Another alternative is to use Debloater (Windows only) http://forum.xda-developers.com/andr...bloat-t2998294

    I've not tested these on Moto E4, as I don't have VZW version (I've retail version), but they should work.

    Edit: Upon further checking, 'hide' command reportedly won't work with new (ie current) Android version. Use 'uninstall' instead. Recognize that uninstalled apps are only restored by factory reset.
    Thank you! This is very helpful information!

  3. #3
    Join Date
    Oct 2015
    Posts
    857
    Feedback Score
    0

    ADB shell usage docs

    usage: pm path [--user USER_ID] PACKAGE
    pm dump PACKAGE
    pm install [-lrtsfd] [-i PACKAGE] [--user USER_ID] [PATH]
    pm install-create [-lrtsfdp] [-i PACKAGE] [-S BYTES]
    [--install-location 0/1/2]
    [--force-uuid internal|UUID]
    pm install-write [-S BYTES] SESSION_ID SPLIT_NAME [PATH]
    pm install-commit SESSION_ID
    pm install-abandon SESSION_ID
    pm uninstall [-k] [--user USER_ID] PACKAGE
    pm set-installer PACKAGE INSTALLER
    pm move-package PACKAGE [internal|UUID]
    pm move-primary-storage [internal|UUID]
    pm clear [--user USER_ID] PACKAGE
    pm enable [--user USER_ID] PACKAGE_OR_COMPONENT
    pm disable [--user USER_ID] PACKAGE_OR_COMPONENT
    pm disable-user [--user USER_ID] PACKAGE_OR_COMPONENT
    pm disable-until-used [--user USER_ID] PACKAGE_OR_COMPONENT
    pm default-state [--user USER_ID] PACKAGE_OR_COMPONENT
    pm hide [--user USER_ID] PACKAGE_OR_COMPONENT
    pm unhide [--user USER_ID] PACKAGE_OR_COMPONENT
    pm grant [--user USER_ID] PACKAGE PERMISSION
    pm revoke [--user USER_ID] PACKAGE PERMISSION
    pm reset-permissions
    pm set-app-link [--user USER_ID] PACKAGE {always|ask|never|undefined}
    pm get-app-link [--user USER_ID] PACKAGE
    pm set-install-location [0/auto] [1/internal] [2/external]
    pm get-install-location
    pm set-permission-enforced PERMISSION [true|false]
    pm trim-caches DESIRED_FREE_SPACE [internal|UUID]
    pm create-user [--profileOf USER_ID] [--managed] [--restricted] [--ephemeral] [--guest] USER_NAME
    pm remove-user USER_ID
    pm get-max-users

    NOTE: 'pm list' commands have moved! Run 'adb shell cmd package' to display the new commands.

    pm path: print the path to the .apk of the given PACKAGE.

    pm dump: print system state associated with the given PACKAGE.

    pm install: install a single legacy package
    pm install-create: create an install session
    -l: forward lock application
    -r: replace existing application
    -t: allow test packages
    -i: specify the installer package name
    -s: install application on sdcard
    -f: install application on internal flash
    -d: allow version code downgrade (debuggable packages only)
    -p: partial application install
    -g: grant all runtime permissions
    -S: size in bytes of entire session

    pm install-write: write a package into existing session; path may be '-' to read from stdin
    -S: size in bytes of package, required for stdin

    pm install-commit: perform install of fully staged session
    pm install-abandon: abandon session

    pm set-installer: set installer package name

    pm uninstall: removes a package from the system. Options:
    -k: keep the data and cache directories around after package removal.

    pm clear: deletes all data associated with a package.

    pm enable, disable, disable-user, disable-until-used, default-state: these commands change the enabled state of a given package or component (written as "package/class").

    pm grant, revoke: these commands either grant or revoke permissions to apps. The permissions must be declared as used in the app's manifest, be runtime permissions (protection level dangerous), and the app targeting SDK greater than Lollipop MR1.

    pm reset-permissions: revert all runtime permissions to their default state.

    pm get-install-location: returns 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

    pm set-install-location: changes the default install location.
    NOTE: this is only intended for debugging; using this can cause applications to break and other undersireable behavior.
    0 [auto]: Let system decide the best location
    1 [internal]: Install on internal device storage
    2 [external]: Install on external media

    pm trim-caches: trim cache files to reach the given free space.

    pm create-user: create a new user with the given USER_NAME, printing the new user identifier of the user.

    pm remove-user: remove the user with the given USER_IDENTIFIER, deleting all data associated with that user



    Note: Some commands, eg 'hide' and 'unhide', no longer work with current Android version.

  4. #4
    Join Date
    Oct 2003
    Posts
    607
    Device(s)
    iphones se
    Carrier(s)
    att & verizon (resellers of course)
    Feedback Score
    0
    is there a list of commands/scripts that are a good idea?

    got the sim one

    so far got the non-verizon sim card inserted
    tap here to use your phone on a different network

    then comes call a # prompt.. I guess to get my truphone to work I need to unlock it...?

Similar Threads

  1. WIND Motorola Moto G - Instant Network Remote sim unlock pin "No 90 days wait"
    By canadagsm.ca in forum Canadagsm.ca Best deals in mobilephones, accessories and unlocking all under one roof
    Replies: 0
    Last Post: 02-08-2016, 05:06 AM
  2. ZiPhone 2.0 = No YouTube .. YouTube Fix = No PHone
    By dmhines in forum iOS Jailbreaking and Unlocking
    Replies: 36
    Last Post: 03-06-2008, 04:44 PM
  3. found i35 with no sim
    By BIG TR0N in forum General Nextel Discussion
    Replies: 3
    Last Post: 03-01-2005, 08:18 AM
  4. No SIM card for a Moto c343?
    By BSherrill in forum Motorola
    Replies: 1
    Last Post: 08-01-2004, 09:18 PM

Tags for this Thread

Bookmarks