Hi, for testing purposes i installed the lastest omnirom on my device (jflte).
In the installation guide it says that the gapps are installed seperately with a zip after installing omnirom (similar to cyanogenmod).
But after starting my device i noticed that gapps are actually already on my device, same for the jflte rom of cyanogenmod. In TWRP i made a complete wipe just to be sure. Did i do something wrong? I'd rather choose the gapps package i want to install or not instead having them preinstalled on my device.
So, are the gapps are really prebuilt in the custom rom i loaded? Or are there any other i missed? Anyway, is there a way for me to remove it, either removing the whole package after installation or by building a custom rom, and is there a common and safe way to do that, or is it even enough to remove only the apks.
nftsc said:
Hi, for testing purposes i installed the lastest omnirom on my device (jflte).
In the installation guide it says that the gapps are installed seperately with a zip after installing omnirom (similar to cyanogenmod).
But after starting my device i noticed that gapps are actually already on my device, same for the jflte rom of cyanogenmod. In TWRP i made a complete wipe just to be sure. Did i do something wrong? I'd rather choose the gapps package i want to install or not instead having them preinstalled on my device.
So, are the gapps are really prebuilt in the custom rom i loaded? Or are there any other i missed? Anyway, is there a way for me to remove it, either removing the whole package after installation or by building a custom rom, and is there a common and safe way to do that, or is it even enough to remove only the apks.
Click to expand...
Click to collapse
Wipe the /system partition to remove Gapps - Omni doesn't include Gapps. Neither does CM. But both have a script that will restore your old ones from previously. Just use TWRP to wipe /system and you can do it. Or remove /system/etc/addon.d and they will be gone after a reflash
Related
I installed CyanogenMod 7.2 on my Samsung Galaxy Y GT-S5360 (this one: http://forum.xda-developers.com/showthread.php?t=2537457).
When I first installed it, I also installed Gapps. However, as I do not want to use Gapps anymore (like Gmail, GMaps, Googlesearch etc.), I want to get rid of them - but I am unable to do so.
I did a complete wipe in the Clockwork Recovery, meaning: wiped cache, wiped, wiped batt stats, formated sytem, data and cache and did factory reset. After that, I reinstalled CyanogenMod 7.2 again, this time without installing Gapps.... BUT: Gapps are nevertheless included.
What did I do wrong? How can I can a Cynanogenmod now on my Galaxy Y GT-S5360 without Gapps?
(Forgive me if I used wrong terminology etc., as I a new to this. I did, however, spent a lot of time searching this forum and others to find a solution before I came bothering you with my question. Thanks in advance!)
if you look at the features of that rom it says gapps are included so I dont know why you flashed it seperatly
anyway
if you want to remove any system apps install link2sd from the playstore then you can use it to uninstall any system app you want
Thanks for your answer. I just realized that Gapps are already included. As I am new, I used another, more detailled, step-by-step guide, which used the Percy Rom (with the above link), in that guide, I was told to separately install Gapps... :silly: Thanks for the other hint, too. :good:
Try to uninstall it after you flash CM 7.2
When I first installed CM 11 M1 from stock kitkat, I didn't have the playstore, so I had to download the gapps package.
Ever since CM 11 M1, I've tried different custom roms, but everytime I flashed them from the custom recovery, they all came with the playstore.
Should I be installing the gapps from the package?? Or can I just install the apps from the playstore??
Either way works. From the play store you can pick and choose what you install and can be uninstalled without jumping through hoops because they install as user apps. When you flash gapps, they typically go in as system apps and are a bit more troublesome to get rid of if you don't want everything in the package.
Sent from my Nexus 4 using Tapatalk
Addition to what said above, just open the gapps package ade delete which ever apks you don't need. This way you can get rid of the apps you don't want to install as system app. To me, modular PA gapps or banks core gapps is enough. You don't need to flash full package gapps.
ankuzero said:
When I first installed CM 11 M1 from stock kitkat, I didn't have the playstore, so I had to download the gapps package.
Ever since CM 11 M1, I've tried different custom roms, but everytime I flashed them from the custom recovery, they all came with the playstore.
Should I be installing the gapps from the package?? Or can I just install the apps from the playstore??
Click to expand...
Click to collapse
This is because gapps has updater script and as long as you won't manually format system your previously installed gapps will remain in a new rom. (including play store)
Installing apps from gapps package via recovery will install the apps to system partition.
Installing apps from play store will install them to user data partition.
In order to save space in user data I recommend installing the gapps you need to system partition via recovery.
Thanks for info guys :good::laugh:
Hi, i have on my N7-2012 TWRP 3.0.2.
I did Advanced Wipe for all partitions, and Format Data. I changed /data and /cache to f2fs and flashed a Nougat ROM from this form (DirtyUnicorn) I had no troubles.
I wiped system again (to avoid space problems during the flash of Gapps) and tried to flash GApps 'open_gapps_arm7.0-micro-20161018.zip', but i got this error:
*** Incompatible Android ROM detected ***
This GApp pkg is for Android 7.0.x ONLY
Please download the correct version for
your ROM: 5.1.1 (SDK 22)
*** GApps intallation failed ***
- Copying log to /usb-otg/Nexus 7 Asus
- NO changes were made to your device
Install will now exit...
Error code: 20
- Unmounting
I tried with other nougat ROM such as Carbon but i got the same error. The weirdness is that i tried also with a MM rom, and tried to flash GApps for MM... again, same error! He ask for a 5.1.1 GApps! So strange.
So, only for my curiosity, i reflashed DU ROm, downloaded and flashed GApps for 5.1.1. First time, i got the error:
*** Incompatible Android ROM detected ***
This GApp pkg is for Android 5.1.1 ONLY
Please download the correct version for
your ROM: 7.0.0 (SDK 22)
*** GApps intallation failed ***
i tried again and flash worked, i rebooted the device and..... bootloop... obviously.
Can you help me?
UPDATE: i forget to say that i tried also with: nano and pico gapps, and Banks Gapps. Same problem. if i reboot the device without gapps the rom work but if i download apk play store and install it doesn't work when i open it.
pls, noone can help me? :crying:
qwerweteryu said:
Hi, i have on my N7-2012 TWRP 3.0.2.
I did Advanced Wipe for all partitions, and Format Data. I changed /data and /cache to f2fs and flashed a Nougat ROM from this form (DirtyUnicorn) I had no troubles.
I wiped system again (to avoid space problems during the flash of Gapps) and tried to flash GApps 'open_gapps_arm7.0-micro-20161018.zip', but i got this error:
Click to expand...
Click to collapse
Are you wiping "system" after installing the ROM? If so, you are effectively removing the ROM you just installed which leaves the GAPPS script nothing to detect to install. The proper install would be: Flash ROM and the Flash Gapps (usually pico or nano to save space) and then reboot, no wiping in between.
I had this issue no matter what rom I tried after flashing an android 7.0 rom. I just did a factory reset by flashing back to a factory image now everything seems fine and google apps are working again.
I followed this guide http://forum.xda-developers.com/showthread.php?t=1907796 but used kit kat 4.4.4 image and didn't lock the boot loader. Then flash the recovery of your choice again and your good to go.
jbaumert said:
Are you wiping "system" after installing the ROM? If so, you are effectively removing the ROM you just installed which leaves the GAPPS script nothing to detect to install. The proper install would be: Flash ROM and the Flash Gapps (usually pico or nano to save space) and then reboot, no wiping in between.
Click to expand...
Click to collapse
Yes i wiped /system cause after the flash of the ROM when i try to install GApps i get error "not enough space". I followed the tips of a xda GUIDE wiping /system
@dinotyped: Are you telling me that there's no way to have Nougat on my N7? :crying::crying:
@qwerweteryu You should be able to use Nougat roms ok. I've not tried again. I'll likely stick to marshmallow for the time being just because of personal preference.
qwerweteryu said:
Yes i wiped /system cause after the flash of the ROM when i try to install GApps i get error "not enough space". I followed the tips of a xda GUIDE wiping /system
@dinotyped: Are you telling me that there's no way to have Nougat on my N7? :crying::crying:
Click to expand...
Click to collapse
Stick with "Pico" (or possibly) "Nano" Gapps to make sure you have enough space after flashing the ROM. You can always go back after booting / setting up and install the other Google Apps that you want.
jbaumert said:
Stick with "Pico" (or possibly) "Nano" Gapps to make sure you have enough space after flashing the ROM. You can always go back after booting / setting up and install the other Google Apps that you want.
Click to expand...
Click to collapse
omg! I did it! Thanks a lot!!
Someone knows why when I install TWRP and install a ROM and I want to install the gapps it tells me that the ROM is 7.1 and when I want to install the 7.x gapps that is supposed to be said rom it tells me to install the gapps 8.x and when I do It tells me that I do not have enough space and apart when I install any ROM it also installs the reecovery of it.
RubenPCA said:
Someone knows why when I install TWRP and install a ROM and I want to install the gapps it tells me that the ROM is 7.1 and when I want to install the 7.x gapps that is supposed to be said rom it tells me to install the gapps 8.x and when I do It tells me that I do not have enough space and apart when I install any ROM it also installs the reecovery of it.
Click to expand...
Click to collapse
U are flashing it wrong
The steps should be
Open twrp
Do necessary wipes
Install rom
Install twrp installer.zip
Reboot>recovery
Install gapps+magisk
Reboot>system
Hi All, I have been reading various threads here and searching on Google for finding a method that truly works for successfully installing a custom ROM, getting TWRP installed and rooting with Magisk. So far, all I have found are numerous and usually contradictory methods and about 7 or 8 different versions of TWRP (so which one is completely stable and working properly?). I have tried several methods over the past two weeks and none of them are working completely.
Sometimes, I'll get a version of TWRP installed, but then trying to reboot to recovery results in a "system has been destroyed" image. Or I'll succeed in getting a custom ROM installed, but Gapps will fail with error 20 or error 70 or there's not enough space on the system partition (and I'm just trying to install the Pico version). Even I double check that the Gapps version matches the ROM version I've used, but still get an error 20 displayed.
From what I had read on numerous threads, it seemed like CosmicDans TWRP would be the one I should go with. I downloaded both of his files (the fastboot image and the zipped installer) and fastboot his "boot-recovery.img" that was specifically for fastboot only and from that recovery, I installed his "TWRP-Installer-3.2.1-with-Tissot-Manager-2.5.zip". Everything appeared as if successfully installed as per the logs, but immediately upon attempting to reboot to recovery, I get the "system has been destroyed" image.
What I want to do is:
Get a working custom ROM (preferably Pie) installed
Install Gapps
Install a working TWRP (that will not display "system has been destroyed" whenever trying to boot to recovery)
Finally, install Magisk and root my phone
Can anyone suggest a site or link or a post somewhere that would explain everything correctly and is actually working? This has been a very frustrating experience. I'm almost sorry that I even bought the Mi A1. Never had any problems installing custom ROMs or rooting the OnePlus devices. All I'm left with currently is an expensive paperweight.
Thanks so much!
Cheers
From your description, I'm certain that you do this on a Pie stock rom right? the installer never work on Pie stock and will cause system destroy. Just hotboot TWRP. And for the Gapps, I think it's due to the time you install it. From my experience, install Gapps after rom and before Magisk usually work. Install after magisk or custom kernel will somehow cause the same issue that you described.
Oh, in case you want to install LineageOS, you have to come to the LOS16 thread and download the TWRP from there, it's the only TWRP that can install LOS16.
Never_Sm1le said:
From your description, I'm certain that you do this on a Pie stock rom right? the installer never work on Pie stock and will cause system destroy. Just hotboot TWRP. And for the Gapps, I think it's due to the time you install it. From my experience, install Gapps after rom and before Magisk usually work. Install after magisk or custom kernel will somehow cause the same issue that you described.
Oh, in case you want to install LineageOS, you have to come to the LOS16 thread and download the TWRP from there, it's the only TWRP that can install LOS16.
Click to expand...
Click to collapse
Thank you for your reply. When I first started the process to change to a custom ROM, I was on stock Pie. But one of the times I was wiping the device after one more problem, I accidentally also wiped Internal Storage as well. I didn't have much there since I had already backed some things up in advance. Now it's virtually empty. The steps I take are:
1. Hotboot TWRP
2. Install Custom ROM
3. Hotboot TWRP again
4. Install Gapps
This is where I usually have some problem. It's the process of installing Gapps that creates some error.
I also did attempt to install LineageOS 16 using the TWRP recovery that was linked in the post. Follow the instructions precisely I believe and now when it's time to install Gapps, I get error 64. I can't understand why. I am attempting to install "open_gapps-arm64-9.0-nano". This should be compatible with the Mi A1 with LineageOS 16 from what I am able to tell.
No matter what TWRP version I use, no matter what custom ROM I try, no matter what steps I take, there is always some issue that prevents me from completing any installation. But the abundance of so many conflicting posts don't help either. One post will state to use a specific TWRP and certain steps; another post will suggest completely different steps using another TWRP; and yet another post will provide different steps still. In some instances, there will be steps listed in the script on the phone regarding the next steps after the ROM installation that are completely different then the steps provided in the post for that ROM in the forum.
It would just be tremendously helpful to get some instructions that actually do work. As of now, I'm about ready to dump this phone in the trash bin. It's horrible. I can't even tell if it might be decent eventually since I never can get anything installed.
Thanks again for your reply Never_Sm1le.
Cheers.
There is no permanent TWRP install for android 9 on MiA1 as far as i know.
Hotboot works just perfect.
Brianne8 said:
Thank you for your reply. When I first started the process to change to a custom ROM, I was on stock Pie. But one of the times I was wiping the device after one more problem, I accidentally also wiped Internal Storage as well. I didn't have much there since I had already backed some things up in advance. Now it's virtually empty. The steps I take are:
1. Hotboot TWRP
2. Install Custom ROM
3. Hotboot TWRP again
4. Install Gapps
This is where I usually have some problem. It's the process of installing Gapps that creates some error.
I also did attempt to install LineageOS 16 using the TWRP recovery that was linked in the post. Follow the instructions precisely I believe and now when it's time to install Gapps, I get error 64. I can't understand why. I am attempting to install "open_gapps-arm64-9.0-nano". This should be compatible with the Mi A1 with LineageOS 16 from what I am able to tell.
No matter what TWRP version I use, no matter what custom ROM I try, no matter what steps I take, there is always some issue that prevents me from completing any installation. But the abundance of so many conflicting posts don't help either. One post will state to use a specific TWRP and certain steps; another post will suggest completely different steps using another TWRP; and yet another post will provide different steps still. In some instances, there will be steps listed in the script on the phone regarding the next steps after the ROM installation that are completely different then the steps provided in the post for that ROM in the forum.
It would just be tremendously helpful to get some instructions that actually do work. As of now, I'm about ready to dump this phone in the trash bin. It's horrible. I can't even tell if it might be decent eventually since I never can get anything installed.
Thanks again for your reply Never_Sm1le.
Cheers.
Click to expand...
Click to collapse
Your reply makes me want to stay on LOS 15.1 even more. So many weird problems happen in LOS 16
I followed all the instructions of Resurrection Remix and TWRP is installed and magisk works perfect.
Hello friend, I am currently on Lineage OS 16.0 with Magisk, Opengapps and TWRP installed. I can boot to recovery with no problems at all; in fact, I used the flashed TWRP to install Magisk.
Here are the steps I took:
Download the TWRP boot img and TWRP installer by CosmicDan (Link below)
Copy the custom rom ZIP, TWRP installer, Magisk installer and Gapps into your SD card
Reboot your device to bootloader
Boot into TWRP using
Code:
fastboot boot boot-recovery.img
do NOT flash via fastboot
Go to Wipe>Advanced Wipe and wipe System, Dalvik, Data, Internal Storage
Press the home button and proceed to flashing the custom rom ZIP
After flashing, reboot to BOOTLOADER then do step 4 again
Flash Gapps, TWRP Installer, then Magisk Installer. You should flash TWRP first before Magisk
Reboot to system and you're good to go
Note that if you are installing Lineage OS and wish to receive nightly OTA updates, having an installed TWRP as your recovery might result in a bootloop after updating. Also, if you want to manually flash the nightly update, you need to boot to the TWRP variant of @flex1911 as flashing lineage using other TWRP will result in an error. I suggest not installing TWRP when using Lineage OS.
(Source: [ROM][OFFICIAL] LineageOS 16.0 for Xiaomi Mi A1)
Regarding your problem with flashing, try to check which slot you are currently in by going to TWRP>Reboot. Keep in mind that when you install a rom, it will always be installed to the inactive slot. For example if you are in slot A, your rom will be installed in slot B. After rebooting, your current active slot will be where the rom is installed. When installing Gapps or any addons, check the slot first. However, when flashing TWRP installer, it will patch both boot_a and boot_b and this is the reason why you need to install twrp first before magisk as TWRP also modifies the boot image.
Download:
Bootable TWRP
TWRP Installer
(Both files by @CosmicDan)
Cheers mate!
rexendz said:
Here are the steps I took:
Download the TWRP boot img and TWRP installer by CosmicDan (Link below)
Copy the custom rom ZIP, TWRP installer, Magisk installer and Gapps into your SD card
Reboot your device to bootloader
Boot into TWRP using
Code:
fastboot boot boot-recovery.img
do NOT flash via fastboot
Go to Wipe>Advanced Wipe and wipe System, Dalvik, Data, Internal Storage
Press the home button and proceed to flashing the custom rom ZIP
After flashing, reboot to BOOTLOADER then do step 4 again
Flash Gapps, TWRP Installer, then Magisk Installer. You should flash TWRP first before Magisk
Reboot to system and you're good to go
Click to expand...
Click to collapse
Thanks for the lengthy reply. However, those steps do not work as you have described. Since, if I wipe Internal Storage (as per your step 5), I just deleted all the files I copied previously in Step 2. What I did, was wipe everything, *then* copied all the files and tried to install. As soon as it try to install Gapps, I get Error 64 again. I am absolutely using "open_gapps-arm64-9.0-nano" and it always fails. I have attempted 11 or 12 times already, using different slots, using different dates of "open_gapps-arm64-9.0-nano" and ALWAYS Error 64. I don't know any other version of Gapps I should be trying. The arm64 versions never will work for me.
I give up. I'll just have to stick with stock ROM. No custom ROMs will work for me no matter which one I use or which version of TWRP I use. I already wasted too much of my life with this garbage phone.
ccalixtro said:
I followed all the instructions of Resurrection Remix and TWRP is installed and magisk works perfect.
Click to expand...
Click to collapse
Hi,
Which version of TWRP did you use? There's too many. I don't know which one is considered to be the right one.
Brianne8 said:
Thanks for the lengthy reply. However, those steps do not work as you have described. Since, if I wipe Internal Storage (as per your step 5), I just deleted all the files I copied previously in Step 2. What I did, was wipe everything, *then* copied all the files and tried to install. As soon as it try to install Gapps, I get Error 64 again. I am absolutely using "open_gapps-arm64-9.0-nano" and it always fails. I have attempted 11 or 12 times already, using different slots, using different dates of "open_gapps-arm64-9.0-nano" and ALWAYS Error 64. I don't know any other version of Gapps I should be trying. The arm64 versions never will work for me.
I give up. I'll just have to stick with stock ROM. No custom ROMs will work for me no matter which one I use or which version of TWRP I use. I already wasted too much of my life with this garbage phone.
Click to expand...
Click to collapse
Copy the files to your external SD card not internal storage. But if you don't have an ext SD card, don't wipe internal storage.
Also try to check if system is properly mounted when installing gapps.
May I ask what custom rom you are trying to install?
I suggest you try Pixel Experience as it already has a builtin Gapps so you dont have to flash opengapps.