[Q] [CM12] GApps Crash On Startup - Galaxy S 4 Q&A, Help & Troubleshooting

Hello,
I upgraded my Verizon Galaxy S4 from CM11 to CM12 last night, using the nightly build from 1/7/2015. The upgrade went smoothly, except for gapps. I have not been able to get them to successfully run on Lollipop. I have tried the following builds of gapps:
PA GAPPS
2014-11-09
2014-12-20
I use the following installation process each time:
Boot into CWM 6.0.3.2
wipe data/factory reset
wipe cache partition
mounts and storage > format /system
wipe dalvik cache
install CM.zip
install gapps.zip
When I reboot the phone, it gets into the lock screen as expected, but when I swipe it to unlock, I instantly get a stream of errors ("Setup wizard has stopped", "Google+ has stopped", etc). The exact errors depend on which gapps version I install, since they come with (slightly) different apps in the packages.
Has anyone had success with the Lollipop gapps packages and CyanogenMod?

rowdypixel said:
Hello,
I upgraded my Verizon Galaxy S4 from CM11 to CM12 last night, using the nightly build from 1/7/2015. The upgrade went smoothly, except for gapps. I have not been able to get them to successfully run on Lollipop. I have tried the following builds of gapps:
PA GAPPS
2014-11-09
2014-12-20
I use the following installation process each time:
Boot into CWM 6.0.3.2
wipe data/factory reset
wipe cache partition
mounts and storage > format /system
wipe dalvik cache
install CM.zip
install gapps.zip
When I reboot the phone, it gets into the lock screen as expected, but when I swipe it to unlock, I instantly get a stream of errors ("Setup wizard has stopped", "Google+ has stopped", etc). The exact errors depend on which gapps version I install, since they come with (slightly) different apps in the packages.
Has anyone had success with the Lollipop gapps packages and CyanogenMod?
Click to expand...
Click to collapse
https://s.basketbuild.com/gapps
try that gapps which works for me very fine.
Factory reset
install Cm and then gapps. it should work all fine actually. :laugh: goodluck. reply here for further problems.

xDroidZz said:
try that gapps which works for me very fine.
Factory reset
install Cm and then gapps. it should work all fine actually. :laugh: goodluck. reply here for further problems.
Click to expand...
Click to collapse
I tried that one again - no dice. com.google.process.gapps crashes on startup, followed by a long list of other Google apps included in the package.

Same problem.
---------- Post added at 03:12 PM ---------- Previous post was at 03:01 PM ----------
Nexus 7 2013 WiFi

Any fix for this? I've been struggling with it for a whole day now.

I have not found a fix. I reverted back to KitKat since I needed to use my phone during the week.

Bump

I finally managed to fix the problem. All the clean flashes did nothing, and I made sure they were squeaky clean, so I decided to start from scratch. I ODIN'd back to stock, installed TWRP instead of Clockworkmod, and reinstalled the rom and gapps package. I booted into the setup wizard and all is right in the world. Thanks for all who helped me!

Do you know what version of CWM you were running? I might try updating it over the weekend and see if that works as an alternate solution.

Try this. This worked for me.
http://fitsnugly.euroskank.com/?rom=banks&device=gapps

Gapps crashes
rowdypixel said:
I tried that one again - no dice. com.google.process.gapps crashes on startup, followed by a long list of other Google apps included in the package.
Click to expand...
Click to collapse
Before adding gapps after flashing cm-12 wipe dalvik and cache, flash ktoonz lollipop kernel then flash gapps for lollipop. This worked for me.

anonymousguy44 said:
I finally managed to fix the problem. All the clean flashes did nothing, and I made sure they were squeaky clean, so I decided to start from scratch. I ODIN'd back to stock, installed TWRP instead of Clockworkmod, and reinstalled the rom and gapps package. I booted into the setup wizard and all is right in the world. Thanks for all who helped me!
Click to expand...
Click to collapse
Hey I'm having the same problem, can you describe how in Odin you got back to stock? You flashed stock and lost your custom recovery? That's weird, I figured a custom recovery was like a bios

Related

[Q] Slimrom 4.3 freezes on reboot (mako)

Hey guys,
I'm not a total scrub at flashing roms and there's still a bunch of things that I don't understand. I'm pretty positive that I flashed Slimrom correctly but here's the situation.
Started on 4.2.2 Slimrom
Reboot to TWRP recovery
Format factory reset/format data, system, cache, dalvik cache
Flash Slimrom 4.3 stable build 1
Successfully reboots into 4.3
Okay now here's the weird part.
The first time I rebooted back into recovery to flash gapps. After I flashed gapps and tried to reboot into the rom, the phone freezes at the screen with "google" and the unlock sign on the bottom. The only way I can get it to boot into the rom again is if I reformat/reset EVERYTHING (including format data) and reflash 4.3. After a few tries of messing around with not wiping dalvik/cache and stuff I realized that even if I don't flash gapps it still freezes on the google screen. So here's my main problem
After flashing 4.3 slimrom, the phone boots into the rom only once. If I try restarting my phone it freezes on the "google" screen.
Anyone know what I'm doing wrong?
Just to clarify it's a LG Google Nexus 4 mako.
Sorry if I'm being redundant. I just want to give as much detail as possible. If you need anymore info let me know!
Thanks
ms3195 said:
Hey guys,
I'm not a total scrub at flashing roms and there's still a bunch of things that I don't understand. I'm pretty positive that I flashed Slimrom correctly but here's the situation.
Started on 4.2.2 Slimrom
Reboot to TWRP recovery
Format factory reset/format data, system, cache, dalvik cache
Flash Slimrom 4.3 stable build 1
Successfully reboots into 4.3
Okay now here's the weird part.
The first time I rebooted back into recovery to flash gapps. After I flashed gapps and tried to reboot into the rom, the phone freezes at the screen with "google" and the unlock sign on the bottom. The only way I can get it to boot into the rom again is if I reformat/reset EVERYTHING (including format data) and reflash 4.3. After a few tries of messing around with not wiping dalvik/cache and stuff I realized that even if I don't flash gapps it still freezes on the google screen. So here's my main problem
After flashing 4.3 slimrom, the phone boots into the rom only once. If I try restarting my phone it freezes on the "google" screen.
Anyone know what I'm doing wrong?
Just to clarify it's a LG Google Nexus 4 mako.
Sorry if I'm being redundant. I just want to give as much detail as possible. If you need anymore info let me know!
Thanks
Click to expand...
Click to collapse
Are you flashing the right Gapps package? Be sure you are flashing the latest 4.3 one.
abaaaabbbb63 said:
Are you flashing the right Gapps package? Be sure you are flashing the latest 4.3 one.
Click to expand...
Click to collapse
Yep I'm positive. I redownloaded both the 4.3 rom and gapps package multiple times just to make sure. Also it doesn't reboot even if I don't flash gapps. Doesn't boot at all if I flash both the rom then gapps at the same time.
bump
then, wipe data/factory reser and flash the stock rom. the rom might be the problem
davinnwilliam said:
then, wipe data/factory reser and flash the stock rom. the rom might be the problem
Click to expand...
Click to collapse
It works for everyone else though. It's Slimrom 4.3 stable build 1.
Rom isn't the problem.Slim rom beta 1(4.3) is super stable. Use any version of twrp recovery other than 2.6.1.0 and wipe system+data,flash slim rom,flash slim gapps,reboot.
Note: if you flashed franco kernel then this may be the issue for your bootloop also you may want to upgrade your bootloader and radio to 4.3 versions(bootloader more important)

OmniRom build2 - FC on boot NFC and phone service

Just flashed OmniRom beta 2 build together with gapps linked in the OmniRom thread and I get fc on first boot on both NFC service and one more android service something something - can't get passed the pop ups and a reboot into recovery is all I can do.
Wiped system using TWRP 2.6.3.2 and cleared cache after install - did another wipe after reboot just to be sure. I have seen this on other roms that I try to flash?
am I doing something wrong during the flash process?
Wipe (default twrp)
install rom and gapps
clear cache/dalvik
reboot
Tried different gapps with no success..
I tried to flash the first OmniRom (build 1) with the same problems and I also got CM start tutorial when I had flashed OmniRom?? So it feels like the wipe is not working as it should?
TheErk said:
Just flashed OmniRom beta 2 build together with gapps linked in the OmniRom thread and I get fc on first boot on both NFC service and one more android service something something - can't get passed the pop ups and a reboot into recovery is all I can do.
Wiped system using TWRP 2.6.3.2 and cleared cache after install - did another wipe after reboot just to be sure. I have seen this on other roms that I try to flash?
am I doing something wrong during the flash process?
Wipe (default twrp)
install rom and gapps
clear cache/dalvik
reboot
Tried different gapps with no success..
I tried to flash the first OmniRom (build 1) with the same problems and I also got CM start tutorial when I had flashed OmniRom?? So it feels like the wipe is not working as it should?
Click to expand...
Click to collapse
Where did you get the build? If you got a CM start tutorial then you definitely didn't wipe, and i wonder what exactly you're flashing? This would be anything official Omni
jerdog said:
Where did you get the build? If you got a CM start tutorial then you definitely didn't wipe, and i wonder what exactly you're flashing? This would be anything official Omni
Click to expand...
Click to collapse
Got the Omni from
http://forum.xda-developers.com/showthread.php?t=2517309
and the twrp from
http://forum.xda-developers.com/showthread.php?t=2469995
Others have succeeded using this so no clue what I'm doing wrong? I have flashed other roms, recovery works. Sometimes it seems like it is not wiping it all?
TheErk said:
Got the Omni from
http://forum.xda-developers.com/showthread.php?t=2517309
and the twrp from
http://forum.xda-developers.com/showthread.php?t=2469995
Others have succeeded using this so no clue what I'm doing wrong? I have flashed other roms, recovery works. Sometimes it seems like it is not wiping it all?
Click to expand...
Click to collapse
As this is far from an official build, you will want to direct your issues to the porter/builder of the ROM in that thread you linked.
jerdog said:
As this is far from an official build, you will want to direct your issues to the porter/builder of the ROM in that thread you linked.
Click to expand...
Click to collapse
That would be awesome, thanks
jerdog said:
As this is far from an official build, you will want to direct your issues to the porter/builder of the ROM in that thread you linked.
Click to expand...
Click to collapse
Think I found the problem - a "default" wipe in twrp won't do it - I had to go in to advanced and choose "cache,dalvik,data and system" now it works like a charm! Good to know for the future..

No rom is booting up properly

EDIT: the problem is solved, see my last post
Hey guys,
I'm not new to installing roms, as I did with my SGS 2 before. But I haven't done it for a long time and it's the first time I do it on my SGS 5... with no success at all.
The problem is that, out of all the roms I've tried, none of them boot up entirely without crashes. I've followed the instructions to the letter and I'm not sure what I'm doing wrong.
Here's what I had before starting to fiddle:
SGS 5 G900F, no specific carrier, bought in Europe
stock android/touchwiz 5.0, never rooted or anything
Here are the roms I have tried:
cynaogen 5.1.1 12.1 20150508 for klte + these gapps http://teambliss.x10host.com/BlissStalk/Gapps/ --> stays blocked on the samsung logo forever
BlissPop 5.1.1 v3.3 20150515 for klte + pa_gapps-stock-5.1-20150418-signed or pa_gapps-modular-full-5.1-20150418-signed --> google newstand and another google app are crashing in a loop during the setup, I can't tap any button
PAC 5.1.1 20150503 for klte + pa_gapps-stock-5.1-20150418-signed or pa_gapps-modular-full-5.1-20150418-signed --> the install wizard application itself is crashing in a loop
THe kernels I've tried:
KT-SGS5-LP5.1-AOSP-G900-05.02.2015
boeffla-kernel-2.0-beta8-CM12.1-g900f.recovery
My recovery:
twrp-2.8.6.0-klte (flashed with Odin, it works fine, and I could boot the stock rom without problems with it)
Any idea about the cause of the problem?
Thanks
I guess if you are not new to stuff like this, you have 100% wiped everything before flashing in TWRP recovery, and factory reset / wiped caches after flashing the ROM and Gapps?
*Detection* said:
I guess if you are not new to stuff like this, you have 100% wiped everything before flashing in TWRP recovery, and factory reset / wiped caches after flashing the ROM and Gapps?
Click to expand...
Click to collapse
Yes, before and between installing different roms, I wiped everything: system, cache, dalvik, internal storage
I've also flashed twrp previous version 2.8.5.0, and philz touch recovery. They all work fine, but still can't boot any rom
Strangely, I now works using this version of CM 12.1: http://forum.xda-developers.com/gal...ent/rom-cyanogenmod-12-1-android-5-1-t3066252
I have no idea why I had all these crashes and boot problems with the other 3 roms.
Cheers
Odd.

Not able to boot on a clean install- i9300 with TWRP 2.8.6.1

Hello,
Trying to install latest PA 'pa_i9300-5.1-20150528.zip' on Galaxy S3 i9300 using TWRP 2.8.6.1.
Zip installs faster, shows no error.
I select the reboot option, it reboots and sits on PA loading logo
I have been using CM12.1 by JustArchi for some time, thought of giving PA a try.
same here, Im also flashing with TWRP2.8.6.1
The pa_i9300-5.1-20150520 version runs well. But the pa_i9300-5.1-20150528 doesnt. It goes directly to TWRP.
wipe, format, factory reset, redownload rom, reflash,.... dont solve.
The same happens when upgrading from Paranoid_OTA app =/
Same here.
But i'm surprised, you say the pa_i9300-5.1-20150520 run well on your I9300 ?
Can you tell me how you managed to make it work ?
I tried a full swipe then install, didn't had any luck, tried differents gapps with no success.
Can you tell me wich Gapps you use please ?
I had tried 'pa_i9300-5.1-20150520.zip' also, it showed the same behavior.
I don't flash gapps on the first go, I boot with just the rom and later reboot into recovery and load all the zips.
mackhdo said:
But i'm surprised, you say the pa_i9300-5.1-20150520 run well on your I9300 ?
Can you tell me how you managed to make it work ?
I tried a full swipe then install, didn't had any luck, tried differents gapps with no success.
Can you tell me wich Gapps you use please ?
Click to expand...
Click to collapse
I ve just followed a tutorial on the internet.
Boot into TWRP, Format, Wipe Cache/Dalvik/System, Install PA, Install GApps, Wipe Cache/Dalvik, and reboot.
And mine is the 5.1.x mini package from there: http://forum.xda-developers.com/paranoid-android/general/5-1-x-5-0-x-4-4-x-pa-gapps-mirror-t3069879
Unable to BOOT
I did a clean installation of PA 5.1 dated 12/6/15. Gapps did well too. Phone reboots and enters CWM again.. did multiple times but it always jumps to CWM. Any guidance Senior Members.
Pretty sure you have to flash a kernel
naveed8695 said:
I did a clean installation of PA 5.1 dated 12/6/15. Gapps did well too. Phone reboots and enters CWM again.. did multiple times but it always jumps to CWM. Any guidance Senior Members.
Click to expand...
Click to collapse
Having exactly the same problem. I can only get the original 5.1 ROM from may to work, but none of the updates. Tried formatting system, cache, dalvik and even tried flashing the boot.img inside the zip file. No luck ?.
YanN509 said:
Having exactly the same problem. I can only get the original 5.1 ROM from may to work, but none of the updates. Tried formatting system, cache, dalvik and even tried flashing the boot.img inside the zip file. No luck ?.
Click to expand...
Click to collapse
You need to flash a different kernel. The boot.img that ships with the rom keeps getting bored during the build it would appear.
This is covered extensively in the g+ community
Pirateghost said:
You need to flash a different kernel. The boot.img that ships with the rom keeps getting bored during the build it would appear.
This is covered extensively in the g+ community
Click to expand...
Click to collapse
Thank you for the advice. :good:
It worked with Boeffla Kernel 12.1 alpha 3 (but the latest ones did not)
pa_i9300-5.1-20150520.zip works!
texmty said:
same here, Im also flashing with TWRP2.8.6.1
The pa_i9300-5.1-20150520 version runs well. But the pa_i9300-5.1-20150528 doesnt. It goes directly to TWRP.
wipe, format, factory reset, redownload rom, reflash,.... dont solve.
The same happens when upgrading from Paranoid_OTA app =/
Click to expand...
Click to collapse
pa_i9300-5.1-20150520.zip works indeed after wipe: dalvik, cache, data, system. then format.
when it successfully boots, restart into recovery and make backup of only "boot" to external_sd.
then format again and factory reset, then install latest zip (pa_i9300-5.1-20150704.zip).
before reboot first restore "boot" from backup.
Tequila4alvin said:
pa_i9300-5.1-20150520.zip works indeed after wipe: dalvik, cache, data, system. then format.
when it successfully boots, restart into recovery and make backup of only "boot" to external_sd.
then format again and factory reset, then install latest zip (pa_i9300-5.1-20150704.zip).
before reboot first restore "boot" from backup.
Click to expand...
Click to collapse
That worked for me too

Flashed CM13, Cannot find Gapps package that works, help?

Hey everyone, I rooted my phone, unlocked the bootloader, flashed TWRP, and then flashed CyanogenMod 13 (Marshmallow). Everything worked perfectly, so I went back into my recovery to flash Gapps. I've tried Open Gapps and Slim Gapps, but both repeatedly crash setup wizard and clock among other things.
If anyone could help, I'd really appreciate it.
trent4071 said:
Hey everyone, I rooted my phone, unlocked the bootloader, flashed TWRP, and then flashed CyanogenMod 13 (Marshmallow). Everything worked perfectly, so I went back into my recovery to flash Gapps. I've tried Open Gapps and Slim Gapps, but both repeatedly crash setup wizard and clock among other things.
If anyone could help, I'd really appreciate it.
Click to expand...
Click to collapse
Same here I tried it, and it did the same for me also...
Sent from my SM-N920F using Tapatalk
These are the Gapps that worked for me
http://forum.xda-developers.com/slimroms/general/gapps-official-slim-gapps-trds-slimkat-t2792842
Thank you for the help wikked26, but it didn't work. Those Gapps still crash for me. I think it's something incorrect in the way my phone is configured, not a case of downloading the wrong Gapps.
If anyone has any other ideas, please share them! I haven't cracked the case just yet
I know I was having issues with the Slimroms version where I booted into CM and set it up before installing Gapps. Fixed it by reinstalling/wiping the cache and installing Gapps before booting anything. Don't know if that helps, but I'm running fine now.
I'm hoping this is similar to the issue I'm having. Do you get it where you can factory reset in TWRP, then flash CM13, but when you go to flash Slim Gapps? Because I figured out that after factory resetting TWRP will only successfully flash 1 zip file. I also tried to wipe the cacher, dalvik, data, and system, then flash cm13 but Gapps still wouldn't flash. Maybe its a bug with TWRP 3.0.2? I'm going to try to use a different version of TWRP and I'll update with my results
EDIT: TWRP 2.8.5 did not do anything different
Wow, thanks for all the great responses. I made sure to try and install CM13 and Gapps at the same time, before boot, after wiping everything one last time. It worked flawlessly, and I can now use Google Play Services.
I hope this thread helps anyone else who is also a little stuck. I also found that TWRP didn't have any issues flashing multiple zips at the same time, not sure whats going on with you, Orange Officer. Perhaps try removing your battery after CM13 flashes, and then boot into TWRP again and flash Gapps without booting up CM13 at all?

Categories

Resources