Google Pixel Open First Time Setup Again

You are using an out of date browser. It may not display this or other websites correctly.
Yous should upgrade or use an alternative browser.
  • #1
Hullo,

I am trying to re-run the setup sorcerer. I'm aware that I can practise a manufactory reset and it will come up, but id like to non do that. I institute an adb command that may launch information technology :

adb shell am get-go -a android.intent.activity.Master -n com.google.android.setupwizard/.SetupWizardTestActivity*

But that gives me a permission denied error. (Error is at the bottom of the post). Can anyone help me launch the setup wizard after it has*finished?
Alternatively, the only reason I'm trying to do this is to get dorsum the ability to copy stuff over using the quickswitch adapter and cable. if anyone knows how to bring that up without the setup wizard, would exist very helpful too.

Thank you for all your assist.

Error :
Starting: Intent { act=android.intent.activity.MAIN cmp=com.google.android.setupwizard/.SetupWizardTestActivity } java.lang.SecurityException: Permission Denial: starting Intent { act=android.intent.action.MAIN flg=0x10000000 cmp=com.google.android.setupwizard/.SetupWizardTestActivity } from goose egg (pid=6398, uid=2000) not exported from uid 10037 at android.os.Packet.readException(Package.java:1684) at android.os.Parcel.readException(Parcel.java:1637) at android.app.ActivityManagerProxy.startActivityAsUser(ActivityManagerNative.java:3137) at com.android.commands.am.Am.runStart(Am.coffee:635) at com.android.commands.am.Am.onRun(Am.java:388) at com.android.internal.bone.BaseCommand.run(BaseCommand.java:51) at com.android.commands.am.Am.main(Am.java:121) at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method) at com.android.internal.bone.RuntimeInit.main(RuntimeInit.coffee:262)

krelvinaz
  • #2
You need to exercise a mill reset to do that.
  • #3
I did mention that I was aware that a factory reset would do that, but I would like to avoid that and practice it in a different style. I know it can be invoked using adb, and I somehow was able to find the command also, merely didn't seem to work. Anyway, if anyone knows a style to do this without a factory reset, I would highly appreciate it.
krelvinaz
  • #4
It won't run unless y'all factory reset, that is what I was telling you, permissions will exist denied otherwise.

The setup wizard only works if at that place are no accounts already setup on the device and the device is in an unsetup state. That only happens if you lot manufacturing plant refresh.

Final edited:
  • #v
Circling Back

So, simply wanted to circle back... Contrary to the above, it is indeed possible*and I was able to do it and reproduce it reliably.*Long story brusk, it was the following two commands that did the trick :

1. adb shell
su
pm enable com.google.android.setupwizard/com.google.android.setupwizard.SetupWizardActivity

2. adb shell settings put secure user_setup_complete 0

The outset command is case sensitive (SetupWizardActivity)

Cheers to this source for the help and guidance : http://android.stackexchange.com/qu...-setup-wizard-at-next-boot-using-command-line

quangtran1
  • #half dozen
So, only wanted to circumvolve back... Contrary to the above, it is indeed possible*and I was able to do it and reproduce information technology reliably.*Long story short, information technology was the post-obit two commands that did the trick :

1. adb trounce
su
pm enable com.google.android.setupwizard/com.google.android.setupwizard.SetupWizardActivity

two. adb vanquish settings put secure user_setup_complete 0

The first command is example sensitive (SetupWizardActivity)

Thanks to this source for the help and guidance : http://android.stackexchange.com/qu...-setup-magician-at-next-boot-using-command-line

Great task! I don't foresee I'd ever need to do something like this; however, I take great appreciation for all forms of ingenuity.
krelvinaz
  • #7
So, just wanted to circle back... Contrary to the in a higher place, it is indeed possible*and I was able to do it and reproduce it reliably

Congrats
  • #8
I assume this requires root to enable? Any mode around that? Thanks.
Benik3
  • #nine
So, just wanted to circumvolve dorsum... Contrary to the above, information technology is indeed possible*and I was able to exercise it and reproduce information technology reliably.*Long story short, it was the following two commands that did the trick :

1. adb shell
su
pm enable com.google.android.setupwizard/com.google.android.setupwizard.SetupWizardActivity

2. adb beat out settings put secure user_setup_complete 0

The first command is example sensitive (SetupWizardActivity)

Thanks to this source for the help and guidance : http://android.stackexchange.com/qu...-setup-wizard-at-next-boot-using-command-line


Thank you, worked similar a charm! :highfive:
cswithxda
rubencg17
  • #11
And so, just wanted to circumvolve back... Opposite to the above, it is indeed possible*and I was able to do it and reproduce information technology reliably.*Long story brusk, information technology was the following two commands that did the trick :

ane. adb shell
su
pm enable com.google.android.setupwizard/com.google.android.setupwizard.SetupWizardActivity

two. adb shell settings put secure user_setup_complete 0

The first command is case sensitive (SetupWizardActivity)

Cheers to this source for the aid and guidance : http://android.stackexchange.com/qu...-setup-wizard-at-side by side-boot-using-command-line


Cheers A LOT IT WORKED!! Yous salvage my 24-hour interval because due to a pixel issues (this one) i was unable to practice zero unless i could open the SetupWizardActivity. Otherwise i would had to restore it.
  • #12
So, just wanted to circle back... Contrary to the above, it is indeed possible*and I was able to practise it and reproduce information technology reliably.*Long story short, information technology was the following two commands that did the fox :

1. adb vanquish
su
pm enable com.google.android.setupwizard/com.google.android.setupwizard.SetupWizardActivity

2. adb trounce settings put secure user_setup_complete 0

The first command is case sensitive (SetupWizardActivity)

Thank you to this source for the help and guidance : http://android.stackexchange.com/qu...-setup-wizard-at-next-boot-using-command-line


Do you need root for this?
  • #13
Yes, y'all need root - doesnt appear to be possible to exercise it without.
stonew5082
  • #14
I created an ' activities' shortcut using Nova launcher (it'southward added as a widget) by selecting pixel setup from the activities list. Super easy! And doesn't require root I remember...
Xdevillived666
  • #xv
cant restore from cloud, thoguh
  • #16
This works without root access
                              adb shell am offset -a android.intent.action.Principal -n com.google.android.setupwizard/.deferred.DeferredSetupWizardActivity                            
sieger007
  • #17
cant restore from cloud, thoguh

Yeah it just cycles through the prepare upwards skipping the restore. How do we get the app restore role
Maybe merely remove the google ac ? and so it will come to the restore role ?
If someone become the restore sorcerer running . Holler ....
Last edited:
tukusejssirs
  • #18
So, merely wanted to circle back... Contrary to the higher up, it is indeed possible*and I was able to exercise information technology and reproduce it reliably.*Long story short, information technology was the post-obit two commands that did the trick :

1. adb shell
su
pm enable com.google.android.setupwizard/com.google.android.setupwizard.SetupWizardActivity

2. adb shell settings put secure user_setup_complete 0

The showtime command is case sensitive (SetupWizardActivity)

Thank you to this source for the assist and guidance : http://android.stackexchange.com/qu...-setup-magician-at-adjacent-kick-using-control-line


I just want to ostend that information technology worked on HavocOS on OnePlus 6T rooted.

I had an incident of total freezing, phone entering the Qualcomm CrashDump Mode, which I fixed by fastboot booting into twrp and reflashing (dirty flashing) the rom, twrp, gapps and magisk. Then information technology would notify me that I need to finish setting up the phone, but it didn't worked (clicking the notification did naught and I could not dismiss it). After running those 2 commands and rerunning the setup, it is effectively dismissed.

Sui77
  • #19
And then, just wanted to circle back... Contrary to the above, information technology is indeed possible*and I was able to practise information technology and reproduce it reliably.*Long story short, it was the post-obit two commands that did the trick :

1. adb shell
su
pm enable com.google.android.setupwizard/com.google.android.setupwizard.SetupWizardActivity

2. adb trounce settings put secure user_setup_complete 0

The start control is instance sensitive (SetupWizardActivity)

Cheers to this source for the assist and guidance : http://android.stackexchange.com/qu...-setup-wizard-at-next-boot-using-control-line

Saved me TWICE within 1,5 month :D

  • #20
Circumvoluted Back

So, only wanted to circumvolve back... Contrary to the above, information technology is indeed possible*and I was able to do it and reproduce it reliably.*Long story short, it was the post-obit 2 commands that did the trick :

i. adb beat out
su
pm enable com.google.android.setupwizard/com.google.android.setupwizard.SetupWizardActivity

2. adb shell settings put secure user_setup_complete 0

The first command is example sensitive (SetupWizardActivity)

Thank you to this source for the aid and guidance : http://android.stackexchange.com/qu...-setup-magician-at-side by side-kicking-using-command-line

An old thread, simply a life saver!!!
To get this to work for me on a Moto m power running AICP-xv (Android Q), I had to remove the "adb vanquish" function im line #two.

Similar threads

lewisprot1972.blogspot.com

Source: https://forum.xda-developers.com/t/re-run-setup-wizard.3527414/

0 Response to "Google Pixel Open First Time Setup Again"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel