Installing eGate on LG Classic

Do you know the fastboot command to backup and delete the recovery partition?

Typically, you don’t use fastboot to back up a partition image. How you dump the partition image depends on whether the phone has a Mediatek or Qualcomm processor, and I’m not sure which the LG Classic is.


this option doesn’t seem to work on the lg classic

Doesn’t work on any device yet. We are still working on that functionality.

I installed eGate on the LG classic with a regular APK installer which I don’t think uses the “-g” to install it.

Now when running:

adb shell dpm set-device-owner com.android.cts.egate/.a

I get:

java.lang.IllegalStateException: Not allowed to set the device owner because there are already some accounts on the device
at android.os.Parcel.readException(Parcel.java:2021)
at android.os.Parcel.readException(Parcel.java:1959)
at android.app.admin.IDevicePolicyManager$Stub$Proxy.setDeviceOwner(IDevicePolicyManager.java:5184)
at com.android.commands.dpm.Dpm.runSetDeviceOwner(Dpm.java:148)
at com.android.commands.dpm.Dpm.onRun(Dpm.java:96)
at com.android.internal.os.BaseCommand.run(BaseCommand.java:54)
at com.android.commands.dpm.Dpm.main(Dpm.java:41)
at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:285)

I ran this as well before trying to set the device admin:

adb shell pm uninstall -k --user 0 com.qualcomm.simcontacts

This error shows when you have some accounts set up on the device, perhaps a Gmail or WhatsApp account. Android does not allow setting a device owner when installed apps have accounts set up.

Is recovery mode blocked on the LG Classic like the other filters out there?

@Lamden613 can you confirm there are no workarounds on the LG classic when using the sideloaded settings?

This is from a long time ago so I don’t remember so clearly, but I don’t think I was able to bypass

1 Like

Some of the following was mentioned above.

The way I got it to work was by running adb shell dumpsys account which shows the accounts on the device. What I got was:

User UserInfo{0::13}:
Accounts: 2
Account {name=Smartlist, type=com.lionscribe.elist}
Account {name=SIM, type=com.android.sim}

For smartlist I just temporarily disabled it.

For the sim I took out the sim:

3. SIM Card-Related Issues

Some smartphones create an account automatically when a SIM card is installed. This is common on brands like Motorola, Samsung, and others. The account is often tied to a system package like com.android.sim.

How to Fix This:

  • Do not uninstall the com.android.sim package using ADB. This could cause problems with your phone’s functionality.
  • Instead, remove the SIM card from your phone temporarily.
  • Once the SIM card is removed, set the filter app as the device owner.
  • After completing the setup, you can reinsert the SIM card.

Thank you @chatzie for the help.

1 Like

Any body know why I’m getting this Error: Unknown admin: ComponentInfo{com.android.cts.egate/com.oss.egate.a}

Figured it out had to use this command adb shell dpm set-device-owner com.android.cts.egate/.a

1 Like