I'm trying to run
com.google.android.setupwizard/.SetupWizardTestActivity as a solution to the following...
Moto C Plus phone suddenly turns off while in pocket. Turned it on. Turns back off. Plugged it to charger. Battery at %17...hmmm weird.
Phone turns on but now I see...
The icon size went to default from the small that I'd set it at. The screen time out went to 30 secs from the 2 mins it was set to.
The keyboard went to the phone's default keyboard from the one I'd installed.
The home and recent buttons - although they are registering the touch - are not doing anything when I press them.
The back button is working and is now the only way I can exit the current screen.
The screen lock pattern doesn't come on.
The notification bar cannot fully be pulled down.
The developer option now says "Developer options are not available for this user". Pressing Build 7 times doesn't activate it.
I came across https://stackoverflow.com/questions/38464573/developer-options-not-available-for-this-user-marshmallow (first answer) as a solution in a couple of places. The solution they say is to basically run
com.google.android.setupwizard/.SetupWizardTestActivity through NovaLauncher. But the problem is, I'm not seeing SetupWizardTestActivity where it's supposed to be. I'm guessing perhaps it's because I'm rooted?
So now I'm looking for another way to run it from the phone (because I can't connect the phone to a computer because the data pins in the charger port are missing from a botched charger port replacement job).
I came across https://forum.xda-developers.com/t/re-run-setup-wizard.3527414/ as a way to run SetupWizardTestActivity without NovaLauncher. It's...
- adb shell su pm enable com.google.android.setupwizard/com.google.android.setupwizard.SetupWizardActivity
- adb shell settings put secure user_setup_complete 0
The first command is case sensitive (SetupWizardActivity)
However, I'm not sure if the above is to be done through a computer or on the phone. If it's through the phone then i need a little help as how to exactly do it.
I'd REALLY appreciate if anyone can guide me through this in layman's terms. A simple step by step on how to go about accomplishing this would be hugely appreciated. Emphasis on "layman's"
Thanks in advance!