Moto E LTE stuck in "just a sec" screen of "SetupWizardTestActivity" - Moto E Q&A, Help & Troubleshooting

Moto E LTE stuck in "just a sec" screen of "SetupWizardTestActivity"
Moto E LTE stuck in "just a sec" screen of "SetupWizardTestActivity" :crying:
1) Any suggestion on how to cancel/escape this "first time init" application so that i can reach the settings and give the required permission to this app.
2) If above not possible then any other suggestion to get back phone in working condition without factory reset/wipe from recovery.
*Apps are still working in background , i am getting notification sound and pushbullet notification on desktop
*tried the cache cleaning from recovery. it took quite some time but after reboot also the stuck in same situation
*Completely stock phone. bootloader unlock and root not done. since bootloader unlock wipes the device i do not want to do it at the moment.
*I have installed moto usb drivers and SDK to execute adb but phone is not visible with 'adb devices' command.
* apps are excuting in background since i am getting pushbullet update of phone notifications on desktop browser but the first time setup app has captured the screen and does not alow any other activity from touchscreen.
* for some reason the Paytm app also runs at startup and runs on top of "SetupWizardTestActivity" app but only thing i can do is back soft button till it exits. cant open notification
Context and back story
I triggered the "home button not working, empty notification" of lollipop/marshmallow as detailed in the following post on my Moto E 2015 LTE surnia by trying to manage space by using the migrate data option in storage. it tried to perform migrate in opposite direction i.e. from sdcard to internal and ran out of space mid operation probably.
"http://forums.androidcentral.com/android-6-0-marshmallow/600742-nexus-5-marshmallow-home-button-not-working-many-more-problems.html"
This issue is also reported here along with adb fix by koush
https://plus.google.com/u/0/110558071969009568835/posts/BL8XtUDcDCZ
Nova launcher workaround if abd not available . 3rd last post at the bottom.
http://forums.androidcentral.com/moto-e-2015/673227-problems-marshmallow-moto-e2-any-help.html
After this the behavior was as specified in above issue posting. home button not working (i could reach home screen by using back key till all open application as closed.), empty notification drawer, not able to reach the quick shortcuts in notification area etc.
So I tried thought some space issue
A) so i installed a few apps and cleared data of chrome, play books etc. to free up 500mb.
still same home button issue
B) then i thought it is some notification permission issue and checked various options in notification option in setting.
still no change
C) then i thought some other permission issue. So in the apps option in setting i reset the apps permission to factory. (dont remember exact menu option but it was in the 3 dots option on top right in apps setting). it gave a warning that all permissions will be reset to factory for apps
after this all apps lost all permissions and everything was asking permission when app was started. e.g. data manager app wanted permission to access data, sms app wanted sms access and so on.
**This will be one main reason for my issue at the end.**
After that I searched the issue and found above link.
so i tried the guest user login and cancel from that and the notification drawer got recovered. it was showing app notifications for whatsapp, SMS etc.
but home soft button was still *not* working
Since i haven't done any bootloader unlock and root operation on this phone i was not confident of the adb command success since it mentioned in one post that it required 'su'
So i tried Nova launcher workaround to invoke 'SetupWizardTestActivity' and it did execute asking me for
Now the initial factory inti app is running and stuck in following loop
language->sim select-> wifi login-> \
/-----------------------------------|
->privacy option->|software update check->-\
|------------------------------------------|
|-> account added -> "just a sec" ---------^
it hangs and crashes at the saving "just a sec" screen and goes back to "Account added" screen
This is due to the permission issue i created in step "C" of permission reset explained above.
This issue is also reported here along with adb fix by koush
https://plus.google.com/u/0/110558071969009568835/posts/BL8XtUDcDCZ
Nova launcher workaround if abd not available . 3rd last post at the bottom.
http://forums.androidcentral.com/moto-e-2015/673227-problems-marshmallow-moto-e2-any-help.html
Please if someone can help with ideas and suggestions to kill the fitst time installation app. :fingers-crossed:
NOTE. im new to Moto E but have been playing around with my older phones samsung s2, lg g2 and changing roms and trying out various options like CM, AOKP res remix etc.

any ideas on how to unset the flag that causes this first time installation screen to run at bootup

so apparently the bootloader unlock requires us to have a "" toggle set from devleoper option.
but we dont have a phone booting into a state that allows this toggle to be selected then we cant unlock bootloader as well.
fastboot oem unlock XXXX
...
(bootloader) Check 'Allow OEM Unlock' in Developer Options.
FAILED (remote failure)
finished. total time: 0.011s
as explained in http://www.droid-life.com/2014/11/0...nable-oem-unlock-option-in-developer-options/
and http://forum.xda-developers.com/nexus-9/help/warning-locking-bootloader-disabling-t2951312
So if someone has an idea on how to cancel the flag i somehow enabled by executing 'SetupWizardTestActivity' from nova launcher wizard.
The wizard cant complete because it doesn't have permission and i cant give permission as it is not allowing me to enter into the phone setting.

Did you ever find a way aroudn this issue? I've just run into it too..

Related

[Q] Installing GAPPS after rebooting the phone

I have an HTC Desire with the latest stable KK ROM.
See here for more info
I used this ROM for almost 1 year without any issue. Then yesterday while I were showing to a friend how to install the gapps package I wrongly reinstalled it on my phone from the recovery screen and now the Home button doesn't work anymore. Furthermore the notification bar doesn't show me notifications about SMS , whatsup , app updates etc ... When the led start blinking I have to open every app to check if a message or SMS is arrived. Google Play work without problems.
All the settings and the apps are still there but I can't use the phone without these features. I tried to remove the google account , wipe the cache and the dalvik cache but the problems still remain.
I have 42 apps installed and a lot of settings and I dont want to reset and reinstall all the apps again. Is there something I can do ?
Finally I managed to restore the home button and the notification bar.
The only thing I had to do was to run the Setup Wizard again.
I powered on my phone I connected it to the computer and I run the following command:
Code:
adb shell am start -n com.google.android.setupwizard/.SetupWizardTestActivity
I inserted again all the settings into the wizard screens and when I clicked on "Finished" .... boom the notification bar showed me the notifications about sms and others.
Also the home button now works flawlessly.

(Q) LG Stylo FRP removal from rooted phone.

My stylo (ms63110j) is rooted. Yes it is my phone. I lock myself out on purpose as a challenge. 10e firmware was easy I found a link in keyboard settings so used that to access the stock browser and used the browser as a file explorer (file://) to access quick shortcuts apk on my sd card.
I can install apps and use send commands in download mode. I have installed quickshortuts.apk via push/send commands but I can't start it while the LG setup wizard is running. So what are my options.
So far i have tried "--wipe_data" command nothing happened.
I tried flashing twrp but again nothing happened (probably because of locked boot loader on 10j firmware)
I tried activating usb debugging which works but then you need to tick a box on the phone and it wouldn't prompt so that was a fail. So i cant run commands while phone is on only in download mode.
I installed nova launcher in the hopes it would prompt with "set default launcher" and I could choose nova instead of lg setup wizard. It didn't.
So is there a command to set nova as default launcher on boot? Is there a command to factory reset from settings not the button combo method (button combo reset is what triggers this) can I have quickshortcut.apk launch at boot or a browser would be equally helpful. I can access recent apps menu if I can get it running in the background.
have you got any other weird and wonderful ideas.
I've obviously got the google account, a twrp backup and a factory kdz so don't mind if your method bricks it. It's just a bit of fun.
GOT IT.
Haha it was almost too easy again. All the old tricks are patched. I ended up going into keyboard settings and clicked on the language... option. I clicked around a bit, sellected a few languages clicked some of the gear icons etc when suddenly a metropcs splash screen popped up. It was full of data links so I was able to access an internet browser then download quickshortcutmaker apk and well you'll work it out from there.

[Lineage os 14.1] Home and recents button not working, can't access developer options

Running latest weekly for lineage OS 14.1 may 18th, I was using my phone when it shut down suddenly and restarted. When it booted back up I had lost all my app data, I wasn't logged into chrome etc, the recents and home button do not work, on either on screen or capacitive buttons. (long press on recents brings up the app menu however, and haptic feedback registers the click)
I tried this:
https://forum.xda-developers.com/showpost.php?p=65442177&postcount=3982
By wiping the system folder and installing the nightly again along with an updated open gapps and it did nothing.
I can't access developer options, repeatedly hitting build number does nothing. I can't pull down the notification tray all the way. I'm missing menus in settings.
I honestly don't know what happened. I installed a new app[The world of magic] about an hour before this happened but I was using it the entire time. I've tried to list everything I ave come across, any help or further questions would be appreciated.
Thanks.
Zardif said:
Running latest weekly for lineage OS 14.1 may 18th, I was using my phone when it shut down suddenly and restarted. When it booted back up I had lost all my app data, I wasn't logged into chrome etc, the recents and home button do not work, on either on screen or capacitive buttons. (long press on recents brings up the app menu however, and haptic feedback registers the click)
I tried this:
https://forum.xda-developers.com/showpost.php?p=65442177&postcount=3982
By wiping the system folder and installing the nightly again along with an updated open gapps and it did nothing.
I can't access developer options, repeatedly hitting build number does nothing. I can't pull down the notification tray all the way. I'm missing menus in settings.
I honestly don't know what happened. I installed a new app[The world of magic] about an hour before this happened but I was using it the entire time. I've tried to list everything I ave come across, any help or further questions would be appreciated.
Thanks.
Click to expand...
Click to collapse
Hi,
One of my friend had similar issue. Go to Settings>Profile and change it to owner. Probably it will help.
I had this issue when I started messing with rerunning the first time setup. Rerun the setup by following these steps:
taimoorhusain said:
So, just 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 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 shell settings put secure user_setup_complete 0
The first command is case sensitive (SetupWizardActivity)
Thanks to this source for the help and guidance : http://android.stackexchange.com/qu...-setup-wizard-at-next-boot-using-command-line
Click to expand...
Click to collapse
https://forum.xda-developers.com/pixel/help/run-setupwizard-t3527414
I was facing the same issue when my phone rebooted due to low battery. Can confirm that rerunning the setup fixed the issue. Thanks to this thread for the help.
These are the steps which I followed:
1. Removed the screen lock (Might not be needed, not sure).
2. Executed the above two commands mentioned by AlexInvar.
3. Reboot.
You can also pass that with Nova Launcher.
Just create an activity shortcut for "installation Wizard" activity and run it
After that, it will be OK.

[CM12.1] Stange bootloop after several months of trouble free usage

Summary:
So this morning (abiout six hours ago) my beloved S2 running CM12 crashed and could not reliable boot since then, it goes into some kind of weird bootloop.
The issue in detail:
Attempting to boot (long press on power button) will bring up the "Galaxy I9100" as sually and continues with the CM12 bootloader animation. After the typical time required to boot it vibrates slightly as usual, but afterwards the screen dims for about a second and the whole process is repeated.
What I did shortly before the issue:
Google Play wanted to update apps, but I was out of internal memory. So I went to /data/data and searched and deleted all files containing "cache". I've done this about 20-40 times over the last months (I didn't keep count) and never had any issue.
Things I've tried:
It is possible to access the recovery mode, but the options in CM12's recoverey are very limited (unlike TWRP for example). I cleared the cache but it had no effect.
After taking out the battery the "optimizing apps" windows pops up. When it's done, user input (enter sim, unlock pattern, homecreen) is possible, but only for a few seconds. The first time I missed the chance, the second and thired time I immediately restarted into safe mode.
Safe mode works surprisingly well, the first time I used it to let google continue the updates and disabled autostart of Applock and Greenify, the second time I uninstalled both Apps and cleared the dalvic cache (simply by deleting data/dalvic/). Neither attemped solved the issue.
What I'm currently doing:
After booting into safe mode for the 4th time I'm starting to back up all user data. Communication with a PC works only for some time, but reconnecting solves the issue (for now).
So what's next?:
Honestly I've no idea what I'm doing. I've installed CM on 3 devices in the past 4 years, but thats all experience I have. I'm hoping that I'm just missing an important detail and can get around all these problems with a simple fix. If not, I'd try a clean install, but I'd like to avoid that.
So, if you've got ANY IDEA what the issue might be or what to try, I'm open for all suggestions! Chances are that I haven't left the safe mode since posting, so you can also request sceenshots of anything you need. Thanks!
Screenshots or other related documents are in my sync.com folder: https [colum slash slash] cp [dot] sync [dot] com/dl/9b9bc5440#5b27p5ig-jfevicd7-kbnrzgcj-i2giy43b
Current screenshots: installed apps, phone info
I'll update this thread with all step that I take, so that a) you know where I am b) I remember everything and c) people with similar problems might benifit:
• The USB connection was kinda fragile, so I copied all data to the micro SD instead
• sdcard0 could be copied without problems
• phone crashed during coping of other files in root. Folder "sys" has been copied (at least partionally) before crash
• reboot normal, but always with message "Trebuchet was closed"
• seems to work fine now
• exit plane mode (I've enabled it before to charge quicker and reduce heat) and display turns black
• medium long press on power button brings up restart menu, nothing else can be done (checked: double click home button for camera, long click for recent apps)
• turn on airplane mode again and restart and its just fine again
• tried out a different sim card, same issue.
Based on all this, I'd say the issue is a third party app acting (badly) on the ppresence of a mobile connection. Weird. Will investigate the issue further tomorrow, or - more likely - flash the new lineageOS version. I'll report back when I know more.
After making a backup of ALL files I followed the pinned tutorial to install linageOS. Everything - including mobile connection - seems to work fine now! Thanks @djibe89 for such an amazing easy-to-follow tutorial
You can consider this thread closed

OnePlus One, CM-13.1.2 stock room. Phone hangs every time after reboot

Hello,
For a long time I'm using my good old friend OnePlus One, it works great to me on stock AOSP CM-13.1.2 until yesterday. I fail in the name of good and terrible thing has happened xD.
I wanted to stop draining my battery by apps which all the time were using GPS service to track my location so I started to make some change in settings -> privacy guard settings -> Location permission.
I tried to change the permission to those apps from "Allowed" to "Always ask". I do mistake and change permission to Google Play Services. After that I restart my phone. Now every time my OnePlus One is stuck/freeze after booting screen and I see only black screen and popup window in center with requests to give Location permission to Google Play Service.
Touch screen not working when is press to Allow, It cant go ahead to lock screen.
My phone is not rooted, locked bootloader, no TWRP, only stock Cayanogen recovery with options:
Reboot system now
Apply update -> Apply from ADB->ADB Sideload
Factory reset -> Full factory reset or Wipe cache partition ( I dont want lose my data on phone)
Advanced-> Reboot recovery
Advanced-> Reboot to bootloader
I read on internet that I need to modify or delete /data/system/appops.xml file
What can I do now, how can I do this modification without losing data.
Can I do it from shell console ADB? and which option I have to choose in recovery to connect my laptop OS: win XP with OnePlus One?
I read that i can do it by TWRP recovery but i dont have it on OPO. Can I safely flash it to phone without losing data? Bootloader is locked.
Is there any tutorial how to do it safely? How to Delete or download, modiffy and replace file /data/system/appops.xml using ADB commands, backup my personal data to PC, connect with phone by ADB with computer.
Any help needed. Sorry for my bad english.
Best Regard
ArkadiSEA

Categories

Resources