AOSP 7.1.2 - "Setup wizard keeps crashing" error when ROM is clean-installed - Nexus 5 Q&A, Help & Troubleshooting

AOSP 7.1.2 - "Setup wizard keeps crashing" error when ROM is clean-installed
Every AOSP 7.1.2 rom iv'e tried to clean-install (after full wipe) so far seems to crash in setup wizard.
My guess the issue is that the setup wizard's app lacks permissions, but I couldn't even open the notification drawer in order to open the settings through the setup wizard...
Iv'e solved this issue by installing older 7.1.1 of the same ROM, and "dirty flash" the newer 7.1.2 on it.
Anyone else got the above issue?

It's known issue, available GAPPs are for 7.1.1 and not been updated as yet, easier workaround is to flash ROM then boot into it, reboot to recovery once again and flash GAPPs.

thank's a lot (Y) a can try

mnsiw said:
It's known issue, available GAPPs are for 7.1.1 and not been updated as yet, easier workaround is to flash ROM then boot into it, reboot to recovery once again and flash GAPPs.
Click to expand...
Click to collapse
Not working. Signing up still causing error.

mochi579 said:
Not working. Signing up still causing error.
Click to expand...
Click to collapse
It requires a patched ROMs to work properly. AOSP is bare minimum.

i'm using AospExtended ROM V4.0 , cleaned the phone ( fastboot erase userdata, format, extendend wipe ) .. clean rom install,
boot into the rom, wait 5 min. reboot to recovery and then install gapps .. worked for me without any problems.
Note that: The wifi service has changed in 7.1.2.
The current available Gapps' setupwizard still use the API 22 method. And it's probably the only apk call the interface directly. Thus it would crash when starting wifi.
The workaround is:
1. Flash ROM (and SuperSU).
2. Reboot and setup your Wifi.
3. Flash Gapps
4. Setup your account in settings after reboot.
This can bypass the crash.

Related

Can't Get Any Gapps Working with CM12.1

I need to send my Nexus 6 in for a warranty replacement so I need to run my GS3 for a few days. It's been a while since I've used my GS3 so I wanted to get it all up-to-date first. I went and downloaded the latest nightly of CM12.1 and the "stock" TK Gapps.
I did a clean flash (factory reset, format system, flash ROM, flash Gapps) and when it boots up I get constant "______ has stopped" messages from all the google stuff. After I press "OK" as fast as I can for a minute I can get to the home screen, where I can see that all of the google app icons just show the little android guy (indicating it's not installed) and when I select any of them it tells me that the app is not installed.
I tried clearing cache and dalvik and that didn't work. I tried re-flashing from scratch and that didn't work. I tried the pico TK Gapps and that didn't work. I tried the stock and pico Open Gapps and that didn't work. I don't know what I'm doing wrong, but no matter what I try the result is always the same.
One time, just as a sanity check, I flashed just the ROM and no Gapps and that worked fine. Not sure what that tells me but just something to note.
Please help.
I was also forced to do a clean flash of CM 12.1 + gapps recently. This gapps file worked for me: highonandroid.com/download-android-5-1-lollipop-gapps/ (I can't post a link since I'm new).
One issue: apparently it requires flashing with a recent version of TWRP recovery. Doing it with CWN or a old TWRP will return an error. Hope this helps.

GT-P5110 can't get past " Unfortunatly Setup Wizard has stopped" message

Hey guys need a bit of advice!
Probably missing something blindingly obvious, So don't hold back with the stupid questions! !!
I have just been given a Samsung Galaxy Tab 2 10.1 (GT-P5110) and I'm trying to install another Rom on it. (either : CW/Slim/AOSP 4.# and 6.# images)
Roms install OK until I try and flash Google apps ( either using OpenGapps or Google apps) Then I either get stuck on a "Unfortunately Setup Wizard has stopped" at first reboot Or it gets stuck in a boot-loop.
I've tried flashing the Play apps directly after flashing the rom, as well as letting it reboot once then flashing the Play apps. Both have issues which basically gets me stuck in either a boot-loop or crashing setup wizard.
I'm using TWRP v2.8.5.0 for my recovery.
Just wondering if i'm stuck without the Play apps.
&
Anyone got a good email client to pick up my Gmail accounts if i can install the Play apps?
thanks!
s0litaire said:
Hey guys need a bit of advice!
Probably missing something blindingly obvious, So don't hold back with the stupid questions! !!
I have just been given a Samsung Galaxy Tab 2 10.1 (GT-P5110) and I'm trying to install another Rom on it. (either : CW/Slim/AOSP 4.# and 6.# images)
Roms install OK until I try and flash Google apps ( either using OpenGapps or Google apps) Then I either get stuck on a "Unfortunately Setup Wizard has stopped" at first reboot Or it gets stuck in a boot-loop.
I've tried flashing the Play apps directly after flashing the rom, as well as letting it reboot once then flashing the Play apps. Both have issues which basically gets me stuck in either a boot-loop or crashing setup wizard.
I'm using TWRP v2.8.5.0 for my recovery.
Just wondering if i'm stuck without the Play apps.
&
Anyone got a good email client to pick up my Gmail accounts if i can install the Play apps?
thanks!
Click to expand...
Click to collapse
update your twrp to latest version (3.0.2-4) from here https://www.androidfilehost.com/?w=files&flid=48848&sort_by=date&sort_dir=DESC
smart-t78 said:
update your twrp to latest version (3.0.2-4) from here https://www.androidfilehost.com/?w=files&flid=48848&sort_by=date&sort_dir=DESC
Click to expand...
Click to collapse
Updated to latest TWRP, still having problems with gapps.
Needing non gapps alternatives for the stock apps.
Failing that I'm stuck back to the stock Samsung ROM
Go here http://opengapps.org/ download the pico version of the gapps... if you are installing cm13 or any marshmallow get the AMR 6.0 Pico put it in your external sd card with the rom.. from the Recovery go to wipe advanced wipe everything except your external sd go to install flash the rom and the gapps restart... I garantee everything will be ok now..
zidane01 said:
Go here http://opengapps.org/ download the pico version of the gapps... if you are installing cm13 or any marshmallow get the AMR 6.0 Pico put it in your external sd card with the rom.. from the Recovery go to wipe advanced wipe everything except your external sd go to install flash the rom and the gapps restart... I garantee everything will be ok now..
Click to expand...
Click to collapse
That was one of the first things I tried!!
No matter which ones I try (ROM or opengapps version) as soon as I install the google play services app it crashes, or I get stuck in a boot loop!
I've tried kikkat lollipop marshmallow builds, all are the same!
Currently running Slim6 with no play services installed and its running fine!
Just something with the play services causes my tablet to flake out!!!
Will go back to stock ROM with no root and start from scratch, see If that makes any difference.
Sent from my espressowifi using XDA Labs
s0litaire said:
That was one of the first things I tried!!
No matter which ones I try (ROM or opengapps version) as soon as I install the google play services app it crashes, or I get stuck in a boot loop!
I've tried kikkat lollipop marshmallow builds, all are the same!
Currently running Slim6 with no play services installed and its running fine!
Just something with the play services causes my tablet to flake out!!!
Will go back to stock ROM with no root and start from scratch, see If that makes any difference.
Sent from my espressowifi using XDA Labs
Click to expand...
Click to collapse
I guarantee for you 8f you install the latest twrp https://www.androidfilehost.com/?fid=24591000424963475
Andi cm13 rom
https://www.androidfilehost.com/?fid=24591000424965117
GAPPS
https://github-cloud.s3.amazonaws.c...esponse-content-type=application/octet-stream
From here ( amr 6.0 pico)
http://opengapps.org/
You will get the perfect tab.. ..,
When you reboot in recovery 3.0,2.4 go to advanced wipe.. wipe everything except the external sd card then install cm13 Andi version (the newest and the best zero lag zero freezing.. Everything works great with this rom) install the gapps.. Reboot.. That's it all your problems are past now
zidane01 said:
I guarantee for you 8f you install the latest twrp https://www.androidfilehost.com/?fid=24591000424963475
Andi cm13 rom
https://www.androidfilehost.com/?fid=24591000424965117
GAPPS
https://github-cloud.s3.amazonaws.c...esponse-content-type=application/octet-stream
From here ( amr 6.0 pico)
http://opengapps.org/
You will get the perfect tab.. ..,
When you reboot in recovery 3.0,2.4 go to advanced wipe.. wipe everything except the external sd card then install cm13 Andi version (the newest and the best zero lag zero freezing.. Everything works great with this rom) install the gapps.. Reboot.. That's it all your problems are past now
Click to expand...
Click to collapse
Thanks
The latest cm13 (sept 11 build) was the only one not to bootloop after installing gapps !
Now got a working tablet again!
s0litaire said:
Thanks
The latest cm13 (sept 11 build) was the only one not to bootloop after installing gapps !
Now got a working tablet again!
Click to expand...
Click to collapse
Welcome! it's Andi latest and best ever rom the 3.0.2.4 recovery is his work too. You should thank him for this brilliant work
zidane01 said:
Welcome! it's Andi latest and best ever rom the 3.0.2.4 recovery is his work too. You should thank him for this brilliant work
Click to expand...
Click to collapse
**update**
Everything is 99.5% working.
The 0.5% is the WiFi! It tend to drop every so often,
WiFi frequency is set to automatic so might an issue jumping between 5Ghz and 2.4Ghz bands.
I've set it to only use the 5Ghz frequency band for now, I'll see if that makes difference...
I'm using a BT Home Hub 3. ( saving up for half decent WiFi router to replace this!)
zidane01 said:
I guarantee for you 8f you install the latest twrp https://www.androidfilehost.com/?fid=24591000424963475
Andi cm13 rom
https://www.androidfilehost.com/?fid=24591000424965117
GAPPS
https://github-cloud.s3.amazonaws.c...esponse-content-type=application/octet-stream
From here ( amr 6.0 pico)
http://opengapps.org/
You will get the perfect tab.. ..,
When you reboot in recovery 3.0,2.4 go to advanced wipe.. wipe everything except the external sd card then install cm13 Andi version (the newest and the best zero lag zero freezing.. Everything works great with this rom) install the gapps.. Reboot.. That's it all your problems are past now
Click to expand...
Click to collapse
Had the same problem with resurectionremix and slim6. This works perfectly

Can't install Lineage OS properly; device freezes and reboots after startup

Hi people,
I've been struggling with this for the past 2 days and I'm trying really hard not to give up
I downloaded the stable rom from the MIUI website (for Mi Note 3 aka jason), installed it successfully via MiFlash, and tried flashing Lineage after I did a factory + data + system + cache wipe. It ended with me getting the dreaded error 7.
A bit later, I realized I had to get the dev build from the MIUI website and flash it before flashing Lineage OS. So I did - I updated to MIUI 10 using the dev build, made sure it was working and tried flashing Lineage OS on top of it (after wiping the partitions I mentioned earlier, following the Lineage OS instructions).
So eventually I got it to work - sort of.
Lineage OS is booting properly, but the device freezes before it can find any wifi networks to connect to (and then reboots), and that's why I think the culprit is the modem.
So, a few questions -
1. did it happen to anyone else? I searched endlessly but came up with nothing
2. If it is a modem issue - where can I find a working one? I looked it up and found nothing
3. If it isn't a modem issue - what should I do?
If I'm doing anything wrong - please tell me. I'm flashing custom roms since 2011 and this is the first time something like this has happened to me.
Thanks for all your help!
Hi, first of all you need an unencrypted phone - Format data in TWRP (3.2.3.1), then wipe system, data, cache, dalvik. Flash the Miui 10 china stable firmware 10.0.2 or 10.0.4, then rom, gapps and reboot.
Good luck, zaqm
zaqm said:
Hi, first of all you need an unencrypted phone - Format data in TWRP (3.2.3.1), then wipe system, data, cache, dalvik. Flash the Miui 10 china stable firmware 10.0.2 or 10.0.4, then rom, gapps and reboot.
Good luck, zaqm
Click to expand...
Click to collapse
You're a true lifesaver. Worked on the first try.
Thank you!
No problems ?

[UMIDIGI F1] Project Treble?

EDIT: This is specifically for the Umidigi F1.
This is not my work, but I discovered this post in one of the hacking forums. I don't know how accurate it is yet (and given the publish date, I may be a fool), but I figured it was worth sharing.
https://forum.xda-developers.com/android/development/psa-project-treble-t3917284?nocache=1
LOL! Sorry man thats my thread I honestly didn't even realize yesterday was april fools! It's for real 100% legit .
That looks SO cool! Unfortunately I'm still struggling with TWRP as it simply cannot read anything (to be able to do step #9 on the OP). When I solve this, I'll post here as maybe it'll be good to update the steps
Well, in the end I was able to boot some SOs, but only after patching a different force encryption disable zip file (from here: https://forum.xda-developers.com/android/software/universal-dm-verity-forceencrypt-t3817389) but anyway, no custom ROM worked properly - I faced a huge amount of lag, crashes and sudden loss of input recognition. So, in the end I went back to stock Pie + Magisk to try solving the RAM issue this way. Thanks all!
Leo_Freitas said:
Well, in the end I was able to boot some SOs, but only after patching a different force encryption disable zip file (from here: https://forum.xda-developers.com/android/software/universal-dm-verity-forceencrypt-t3817389) but anyway, no custom ROM worked properly - I faced a huge amount of lag, crashes and sudden loss of input recognition. So, in the end I went back to stock Pie + Magisk to try solving the RAM issue this way. Thanks all!
Click to expand...
Click to collapse
Please tell me which ROMs did you try and what problems did you face ?
I tried the 3 mentioned in the OP:
Resurrection Remix
Descendant
Bliss ROM
But had no luck with them. Bliss seemed to be the best among them (at least I was able to boot from that haha) but after a reboot I got stuck on bootloop again (looks like the system could not see the OS anymore).
Leo_Freitas said:
I tried the 3 mentioned in the OP:
Resurrection Remix
Descendant
Bliss ROM
But had no luck with them. Bliss seemed to be the best among them (at least I was able to boot from that haha) but after a reboot I got stuck on bootloop again (looks like the system could not see the OS anymore).
Click to expand...
Click to collapse
That's a shame about the bootloop thank you for your post this helps me a lot.
Leo_Freitas said:
I tried the 3 mentioned in the OP:
Resurrection Remix
Descendant
Bliss ROM
But had no luck with them. Bliss seemed to be the best among them (at least I was able to boot from that haha) but after a reboot I got stuck on bootloop again (looks like the system could not see the OS anymore).
Click to expand...
Click to collapse
Maybe a A/B partition problem? Could maybe flash rom on both partition slots.
Leo_Freitas said:
I tried the 3 mentioned in the OP:
Resurrection Remix
Descendant
Bliss ROM
But had no luck with them. Bliss seemed to be the best among them (at least I was able to boot from that haha) but after a reboot I got stuck on bootloop again (looks like the system could not see the OS anymore).
Click to expand...
Click to collapse
A few questions:
1. How did you flash them? Did you use the SP Flash Tool?
2. After installing them, did you run the DM-Verity tool to disable encryption?
riceboyler said:
A few questions:
1. How did you flash them? Did you use the SP Flash Tool?
2. After installing them, did you run the DM-Verity tool to disable encryption?
Click to expand...
Click to collapse
hello
i bought Umidigi F1 Play for more than 1 months
and i test a lot of treble project (Havoc OS,Ressurection Remix,Blissrom,Lineage OS,Omnirom) all android 9 and it did boot up
so this my method to boot up
first :
-Unlock your Bootloader
-Download TWRP Recovery​- Download Any Rom You Want to try And copy it to internal memory as .img file
-Download Magisk
-Flash TWRP Using SP Flash Tool and go to Recovery
-Make a Backup For your System if something go Wrong
-Wipe Data, Cache, System, Dalvik Cache
-go to install, press Install Image , Select your Rom File , select System Image As the partition to Flash Image
-Swipe and Wait
-Back to install and Flash Magisk
- Reboot and Enjoy
for People using gapps there is a problem with twrp is doesnt support a/b so opengapps doesnt detect if the phone is a normal or a/b device but i manage to fix a temporary opengapps to work on our device waiting for the twrp developer to fix this bug
this is the working gapps https://drive.google.com/open?id=1-Dguq8rs4k4W7eZKA2KnJxB5fKXCw2Y-
Shadow Of Leaf said:
hello
i bought Umidigi F1 Play for more than 1 months
and i test a lot of treble project (Havoc OS,Ressurection Remix,Blissrom,Lineage OS,Omnirom) all android 9 and it did boot up
so this my method to boot up
first :
-Unlock your Bootloader
-Download TWRP Recovery​- Download Any Rom You Want to try And copy it to internal memory as .img file
-Download Magisk
-Flash TWRP Using SP Flash Tool and go to Recovery
-Make a Backup For your System if something go Wrong
-Wipe Data, Cache, System, Dalvik Cache
-go to install, press Install Image , Select your Rom File , select System Image As the partition to Flash Image
-Swipe and Wait
-Back to install and Flash Magisk
- Reboot and Enjoy
for People using gapps there is a problem with twrp is doesnt support a/b so opengapps doesnt detect if the phone is a normal or a/b device but i manage to fix a temporary opengapps to work on our device waiting for the twrp developer to fix this bug
this is the working gapps https://drive.google.com/open?id=1-Dguq8rs4k4W7eZKA2KnJxB5fKXCw2Y-
Click to expand...
Click to collapse
Boot and recovery only options i get in twrp

Cant install WeebGapps or OpenGapps

I unlocked my bootloader, installed the latest version of TWRP (3.3.1.0 iirc) and downloaded some Android 10 ROMs to try them out.
O tried AOSP Extender Superior OS and LineageOS 17, ALL Android 10 based, and they ALL installed Fine. The problem is that the recommended Gapps for these ROMS, WeebGapps, fails and doesnt flash.
So i tried the OpenGapps project, and It failed after saying i didnt have enougth space in the system partition, so i deleted the gapps-sizes.txt inside the zip and It finally flashes, but now the phone gets stuck at booting and never actually starts.
Has anybody experienced theses problems and maybe could give me some advice on How to get Gapps working for any of those New Android 10 ROMs?
Solución
Friend, you must first flash the ROM, then the Magisk and wipe dalvik cache. Restart, you already open the Magisk and from there you install the Magisk WebGapps. You restart and ready, the bad thing about this ROM is that it fails MMS, I still can't get a solution. regards
guguts said:
I unlocked my bootloader, installed the latest version of TWRP (3.3.1.0 iirc) and downloaded some Android 10 ROMs to try them out.
O tried AOSP Extender Superior OS and LineageOS 17, ALL Android 10 based, and they ALL installed Fine. The problem is that the recommended Gapps for these ROMS, WeebGapps, fails and doesnt flash.
So i tried the OpenGapps project, and It failed after saying i didnt have enougth space in the system partition, so i deleted the gapps-sizes.txt inside the zip and It finally flashes, but now the phone gets stuck at booting and never actually starts.
Has anybody experienced theses problems and maybe could give me some advice on How to get Gapps working for any of those New Android 10 ROMs?
Click to expand...
Click to collapse
Thank you. I was able to flash the gapps doing that. I'm using the aosp extended rom because superior os wasn't showing the navigation buttons, even when I enabled them in the rom options.
Only thing I noticed so far is that I don't have mobile data working (WiFi is working ok)
Should I flash anything else to make mobile data working?

Categories

Resources