[Q] Gapps does not install while flashing with cm12.1 - Nexus 4 - Nexus 4 Q&A, Help & Troubleshooting

Hey guys,
Recently I flashed
ClockWorkMod recovery - v 6.0.1.9
Cyanogenmod 12.1 nightly -cm-12.1-20150706-NIGHTLY-mako.zip
It all worked out (with great difficulty) and the phone works fine.
However, I have no google apps. Coming from stock factory setting to a rom with no google apps is quite difficult.
So, i tried flashing the gapps along with the rom but i keep getting a status 7 error message and the installation gets aborted, the result being when i reboot my phone i get a plethora or error messages of all the google apps which stop working (i.e none of the gapps work).
I have tried flashing the following (file names) gapp zip files with no luck.
gapps-5.1-2015-06-02-15-21
gapps-5.1-2015-07-03-13-41
gapps-L-4-21-15
gapps-lp-20150211-signed
BaNkS-dynamic-gapps-L-6-21-15
pa_gapps-modular-mini-5.1-20150315-signed
Even the gapps link on the cyanogenmod wiki page does not work. ( i think i included that filename in the above list)
On reading other forums, members say that the recovery must be updated.
Quite honestly i am quite apprehensive to do anything to the recovery as i got stuck into a bootloop once and it took me a day to get out of it.
P.S i am a complete amatuer in this process, this is the first custom rom i flashed after staying on stock factory images for 2 years.
I really do need help, as no other rom works well except the cm 12.1 and itwould be absoutely brilliant if i have the google apps too!
Thanks in advance.

solution found
Hey there, I have the s4 (GT-i9505)
I had the same problem until today and I have found the solution to it,
I updated my cm12.1 nightly to 20150706,
Downloaded slim gapps 5.1.x mini latest (20150706), [I searched for it on Google]
Tried flashing the cm and then the gapps but it didn't work, and gave me all the errors of apps that have stopped which was very annoying.
So then I did a little research and figured out that I was using twrp v2.6.0.0 which was quite old , so I never gapps after the root. So then I updated it to the latest version by connecting my phone to the PC in download mode and downloaded the twrp v.2.8.0 (latest) and recovery booted my phone.
Factory reseted my phone, installed both the cm12.1 and gapps by selecting the zip files and then flashing them. Wiped the dalvik cache. Finally rebooted my phone.
And to my surprise it actually worked. Thank god that now I have the play store and all the other apps without any annoying popups.
I'm on my phone so I can't seem to be able to upload any links .
I'm sorry you gotta have to search on Google for the download links.
Have fun buddy. Hope it works on your nexus 4. Enjoy !!

Got it working!!
So, followed some forums ( including mehsan23) and updated my custom recovery. The most surprising thing is that you can do this by downloading zip files of the latest cmw recovery and flash them on to your existing recovery and the recovery automatically updates.
Then flashed the gapps on cm12.1 wiki page and it worked! So relieved! However the Google app crashes but its alright I can do without it.
Thanks guys!!
P.s thanks again mehsan23

Related

[Q] CM 11 Issues a plenty

Verizon VS980, TWRP 2.6.3.3
Finally, upgraded to the above TWRP, and was able to flash a CM 11 nightly. and Gapps for 4.3.0, 20130813 and to have that finally flash successfully is great! BUT it's not, when I boot into it I get an android system error and the keyboard AOSP error every time, I can't make it past the screen where I enter in my account.
I have wiped and tried again, and again, I have installed the ROM and gapps and then wiped dalvik and cache and same result...
It seems so close.
I have installed ROM Manager as well and it says that CWM is installed yet I cannot seem to boot into it, I have flashed it from the ROM Manager many times and no love. I was able to flash a zip of twrp, is there a zip of CWM that is flashable from twrp, I have heard that cwm works better with CM 11
Please help, I have no idea why going to CM 11 should be such a pain in the..
Thanks!!!
SO i figured it out
I was following/using rootz wiki for my reference of which gapps to use and it is not updated right now
got the right gapps here, and all is good now
http://d-h.st/mDt

[Q] Omni Rom on FInd 5 installation fails

Hey Omni Community,
Today i tried to install the Omni Rom (omni-4.4.2-20131219-find5-NIGHTLY) on my Oppo Find 5. First i rooted the device with framaroot and then installed twrp.
Secondly i copied the rom + gapps on the phone. In twrp in cleared the cache + dalvik and tried to install the rom. But in the middle of the progress it stoped and says "fail" .
What is that and why.
regards
Fenry
Fenry Hord said:
Hey Omni Community,
Today i tried to install the Omni Rom (omni-4.4.2-20131219-find5-NIGHTLY) on my Oppo Find 5. First i rooted the device with framaroot and then installed twrp.
Secondly i copied the rom + gapps on the phone. In twrp in cleared the cache + dalvik and tried to install the rom. But in the middle of the progress it stoped and says "fail" .
What is that and why.
regards
Fenry
Click to expand...
Click to collapse
We need far more information than this... considering that none of the developers can reproduce this issue.
Also, rooting the device was completely unnecessary since you can just flash TWRP with fastboot.
I got it Fixed
i just changed to cwm and it worked.
Done it without rooting .
regards
Fenry

GT-I9505 not allowing any custom ROM after CM13??

Hi,
Yesterday I "blindly" installed the latest CM nightly without noticing that I was installing CM13... After the install, no Google App was working (as expected). When I noticed I had installed CM13, I tried downloading OpenGapps (all from nano to stock for ARM, -not ARM64-), and none of these can be installed, I always get an error (Status Code 1). After a lot of trying, I coundn't even make a wipe (I got an error while formatting data).
After flashing a stock ROM via Odin, the phone worked again, so I tried reinstalling. Now the issue I have is that I can't install any custom ROM to the phone, I have tried flashing CyanogenmodRecovery (for CM12 and CM13) and CWM 6.0.4.7, all of them let me install the latest CM12.2 nightly (26.12), but the phone always hangs on the Cyanogenmod Bootscreen. Wiping is not showing any errors anymore.
Any thoughts? Am I missing something? I am relatively new to the S4, and I got mine already with CM11 on it, and until yesterday I was always able to update without any issues... Am I missing some step?
Small update: I get some errors in the recovery logs: unable to mount /efs. I don't understand why I get this error when a OEM Kitkat works, but well, will keep trying, maybe I find a way to get it working...
1. Use TWRP, CWM is outdated.
2. "Nightly" realeases are testing firmwares. CM13 for GT-i9505 is in early releases too. They have lot of bugs still.
3. - Download the latest stable CM firmware: HERE and copy it to your SDCARD external + Gapps (ARM+ android 5.1 + nano).
- Go to DOWNLOAD MODE and flash TWRP. Boot in TWRP - Select Wipe - Advanced Wipe and wipe all (less usb-otg and external memory).
- Flash CM12.1 firmware and GApps then. Reboot and enjoy.
Use TWRP. Google for s4 twrp. On that page you will also have various install instructions. Afterwards you can flash pretty much any custom rom.
Well, tried exactly these steps, I only skipped gapps for now. I installed following version: cm-12.1-20151117-SNAPSHOT-YOG7DAO1JN-jfltexx. However the phone still hangs while booting... I will let it for a while and see if it boots, but I think it's still stuck... The stock Samsung Kitkat flashes properly from Odin and can be booted... Really strange. Is there anything I can do to see what's going on? I only get the Cyanogenmod Bootscreen, but no adb access...
Well, I am getting some errors: unable to mount /efs... This seems to be the problem, no idea why this is happening... I will keep looking around for a fix... I still don't quite understand why a stock KitKat works...
mschmiedel said:
Hi,
Yesterday I "blindly" installed the latest CM nightly without noticing that I was installing CM13... After the install, no Google App was working (as expected). When I noticed I had installed CM13, I tried downloading OpenGapps (all from nano to stock for ARM, -not ARM64-), and none of these can be installed, I always get an error (Status Code 1). After a lot of trying, I coundn't even make a wipe (I got an error while formatting data).
After flashing a stock ROM via Odin, the phone worked again, so I tried reinstalling. Now the issue I have is that I can't install any custom ROM to the phone, I have tried flashing CyanogenmodRecovery (for CM12 and CM13) and CWM 6.0.4.7, all of them let me install the latest CM12.2 nightly (26.12), but the phone always hangs on the Cyanogenmod Bootscreen. Wiping is not showing any errors anymore.
Any thoughts? Am I missing something? I am relatively new to the S4, and I got mine already with CM11 on it, and until yesterday I was always able to update without any issues... Am I missing some step?
Small update: I get some errors in the recovery logs: unable to mount /efs. I don't understand why I get this error when a OEM Kitkat works, but well, will keep trying, maybe I find a way to get it working...
Click to expand...
Click to collapse
Try dowloading the rom from a thread here on the forum.
You didn't mention what phone model you got so I assume it is a GT-I9505. You can find the official thread in the I9505 original android development section. The maintainer is AntaresOne.
It is the GT-I9505, I now was able to install a stock Kitkat, and it now is allowing me to update via OTA, (first time I got a message that I had a "changed" phone and OTA was disabled). I will let it install this way and see what happens.
Last time I tried with TWRP I was getting the error "unable to mount /efs", but after flashing an ODIN ROM the phone works, I have LTE Data and can place and receive calls, IMEI is there, so I am now confused about what can be wrong.
When this OTA update works, I will try to reflash TWRP via Odin (and not mess around with heimdall anymore), and see if then I can install CM12...
I downloaded the version from the Cyanogenmod site, the latest stable CM12.1 release, so I guess it should be as good as downloading it from an xda thread...
I don't know. It's worth a try.
If you get errors about efs,be careful.The EFS partition contains the most important stuff like your IMEI.There are some backup/restore tools of EFS, you should check them out.Wipe everything,flash cm,then restore EFS backup.

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?

G900F Bricked after update: cm-14.1-20161219-NIGHTLY-klte.zip

Hello all.
I have a Galaxy S5 running cyanogen 13 ( cm-13.0-20161013-SNAPSHOT-ZNH5YAO21L-klte.zip ). Last night I updated it with the cyanogen tool, as usual, thinking that I was just getting a more updated version of cyanogen 13, but apparently I got it working with android 7.1.
As gapps were not working, I downloaded both 7.1 gapps, and cm-13 to try to install gapps or comeback to cm-13 if it did not work.
The problem is that I had no chance to test it. I rebooted the phone with the option "recovery reboot" and after it turned off it showed something like "no command", then it got to the first screen (recovey booting... in blue, samsung galaxy s5 white logo...) and freezed there.
I've tried every key combination and it does change nothing. I've read in another forum an user having the same issue so I advice you to not install this update. At least not from CM13. I will update when I get more details from the other users or if one of us success while trying to unbrick.
I suggest you to install twrp with Odin so you are sure that you have working recovery. Then backup what left of this not working ROM and download cm 13 and gapps for it. Then wipe system partition and install those two. By some chance you will end up with working ROM. If it works, I suggest you to backup all data with titanium backup and clean flash cm 13 to be sure that you got rid of all the issues... If cm 13 doesn't boot also wipe data and start on new.
I hope it helps you
LGaljo said:
I suggest you to install twrp with Odin so you are sure that you have working recovery. Then backup what left of this not working ROM and download cm 13 and gapps for it. Then wipe system partition and install those two. By some chance you will end up with working ROM. If it works, I suggest you to backup all data with titanium backup and clean flash cm 13 to be sure that you got rid of all the issues... If cm 13 doesn't boot also wipe data and start on new.
I hope it helps you
Click to expand...
Click to collapse
Hello!
Thank you very much, as I found the problem was the recovery I've re installed TRWP. CM14 was replacing it each time I installed it by ODIN so i had to start it just directly after flashing it (without letting the phone boot) and i've installed last CM14 klte file and 7.1 GAPPs
Now all is working , I hope it can help others with the same problem
Thank you!

Categories

Resources