Google apps on Lineage OS 14.1 - LineageOS Questions & Answers

I want to install Lineage OS 14.1 on a Samsung J500H but, I am worried that will I be able to install google apps on it. I am flashing the ROM using Odin 3. I think I could open Playstore from the preloaded browser and get all apps from there.
I had forgot to enable OEM unlock before rooting and when the phone boots it shows "custom binary blocked by FRP". I think I should be able to download a custom ROM and run Google Apps from there with out the need for flashing the original stock ROM first.
If anyone here knows what to do in such a case then please help.
Thanks.

Related

Custom Lollipop ROM without Bloatware and minimal Google apps/services

Hello everyone
I am new to flashing/rooting a android phone. I have a Sony Xperia Z1 Compact with Android 5.1.1 Lollipop, Kernel 3.4 (I think), Version 14.6.A.1.236. I want to customize it to get a better battery life and most importent to rid of bloatware and as many google services as possible but Google Play Store.
I first unlocked the bootloader by following Sony's own guide using commandline in a "mini adb/fastboot installation" on a W7 pc. Check...
Then I flashed a TWRP v2.8.70 again by commands in the same "mini adb/fastboot installation" Check...
Then I got black screen but the phone was up and running. Then I flashed a image found here on this site: [UB ONLY] [kernel] Root, init.d support, Recovery & Busybox for 14.6.A.0.368 and I was up and running again with Android 5.1.1 Lollipop, Kernel 3.4 (I think), Version 14.6.A.1.236. (dont know why though)
Then I got the phone rooted by entering TWRP and installing SuperSU. Check...
Now it runs normal and I can also boot into TWRP by pressing volume up when Sony logo pops up on the screen. So I think i am good?
Now my goal is get my phone to run smooth with no bloatware, minimal google services and better battery time and all this in that order.
Now I know that I problably can get this by uninstalling most of the bloatware and google services with for an example Titanium and then disable running services not needed with for example Servicely.
But I really want to learn to flash custom roms, but as a newbie I am afraid to to something wrong with all the talk about kernels and so on.
So my questions is as follows.
1. Is there a custom Lollipop rom (I guess a ROM is both kernel and OS(android version)), I can flash using TWRP, that is without bloatware and minimal Google services? would appreciate links directly the the ROM's you have in mind please
2. If there is such a ROM, I guess it should be put on a SD card that I can put in the phone and access when in TWRP?
3. Such a ROM I guess should be the same kernel and android version which is the same as the stock version that the phone has now?
4. The order is what?
1. Make a factory reset
2. Enter TWRP
3. Make a backup of kernel image, System and data to a SD card
4. Then wipe 1. Dalvik Cache, 2. System, 3. Cache, 4. Data
5. Then Flash Custom ROM image from SD card
6. Reboot
5. What are the potential dangers here?
I know there problably is a lot of former threads with the same subject, but in my search I quickly got lost in the abbreviations you guys use, so my hope is that you will bear with me. Also this is not my native language, so please excuse any misspelling. Any help are appreciated and thanks in advance
Hr.Skjold said:
Hello everyone
I am new to flashing/rooting a android phone. I have a Sony Xperia Z1 Compact with Android 5.1.1 Lollipop, Kernel 3.4 (I think), Version 14.6.A.1.236. I want to customize it to get a better battery life and most importent to rid of bloatware and as many google services as possible but Google Play Store.
I first unlocked the bootloader by following Sony's own guide using commandline in a "mini adb/fastboot installation" on a W7 pc. Check...
Then I flashed a TWRP v2.8.70 again by commands in the same "mini adb/fastboot installation" Check...
Then I got black screen but the phone was up and running. Then I flashed a image found here on this site: [UB ONLY] [kernel] Root, init.d support, Recovery & Busybox for 14.6.A.0.368 and I was up and running again with Android 5.1.1 Lollipop, Kernel 3.4 (I think), Version 14.6.A.1.236. (dont know why though)
Then I got the phone rooted by entering TWRP and installing SuperSU. Check...
Now it runs normal and I can also boot into TWRP by pressing volume up when Sony logo pops up on the screen. So I think i am good?
Now my goal is get my phone to run smooth with no bloatware, minimal google services and better battery time and all this in that order.
Now I know that I problably can get this by uninstalling most of the bloatware and google services with for an example Titanium and then disable running services not needed with for example Servicely.
But I really want to learn to flash custom roms, but as a newbie I am afraid to to something wrong with all the talk about kernels and so on.
So my questions is as follows.
1. Is there a custom Lollipop rom (I guess a ROM is both kernel and OS(android version)), I can flash using TWRP, that is without bloatware and minimal Google services? would appreciate links directly the the ROM's you have in mind please
2. If there is such a ROM, I guess it should be put on a SD card that I can put in the phone and access when in TWRP?
3. Such a ROM I guess should be the same kernel and android version which is the same as the stock version that the phone has now?
4. The order is what?
1. Make a factory reset
2. Enter TWRP
3. Make a backup of kernel image, System and data to a SD card
4. Then wipe 1. Dalvik Cache, 2. System, 3. Cache, 4. Data
5. Then Flash Custom ROM image from SD card
6. Reboot
5. What are the potential dangers here?
I know there problably is a lot of former threads with the same subject, but in my search I quickly got lost in the abbreviations you guys use, so my hope is that you will bear with me. Also this is not my native language, so please excuse any misspelling. Any help are appreciated and thanks in advance
Click to expand...
Click to collapse
to debloat your rom,just use this https://forum.xda-developers.com/crossdevice-dev/sony/wip-debloat-lp-690-correct-functioning-t3076161
and you re pretty much done.
as for google services,my opinion is let them untouched.

Help me with google apps

Hi everyone
I have got a Samsung Tab Pro 10.1 (SM-T520) and it unfortunately stopped updating due to it been so old and was left behind on android KitKat 4.4.
So I decided to root it and download the lineage update to get android 7.1.2 custom ROM on it and give it a bit of life instead of never been used because it's slow and blotchy.
When I download the ROM everything worked really well, moment installed Gapps it when pear shaped. I was met with "android is starting" message stopping me from do anything but go on settings through notifications bar and it made my keyboard disappear.
So I just flashed the lineage ROM back to standard without Gapps. I have tried most of the Gapps packages that they make and I get the same thing every time with the missing keyboard.
My real question is can build a set of google apps through apk. I have tried installing google play, google play services and google play frame something (can't remember the last one) all of them either don't work or crash and just not stop being up a message saying each one of them isn't working.....what apps do need to install or flash to build up my own set of google apps without using Gapps
(Just some notes at the end to help, I rooted using root genius, my custom boot is TWRP, I installed TWRP via odin and lineage seems to be the only ROM that does a android 7 for my device, the apps I want working are google play store, google app, google maps, google assistant (if possible), gmail and maybe calender. The rest of them are on my non rooted s7e so don't need them on the tablet.)
Hope someone can help
hello
there " http://opengapps.org/ " use aroma version
or there " https://www.apkmirror.com/ "
it's what u need
regards
Thanks.
In the end I just picked and tried flashing different Gapps packages, when a package I tried wouldn't work I just flashed installed the original lineage 14.1 ROM, to wipe the Gapps package....after trying about 4 different packages from Gapps I think the micro package worked.
Just can't get android assistant to work now, do anyone have any ideas???
hello
before installing opengapps u should wipe data, cache, walvick
regards

Gapps not working (Won't install open gapps because rom is 4.3 even though I'm on 6)

Hi,
Hopefully someone sees this. I have a galaxy s2 t989 and I installed cm13 the other day. It doesn't come with gapps obviously, so I put the version recommended on the forums, and it said "Error code 20" "This version of gapps is for version 6.x.x and you are on 4.3". CM13 is android 6.0.1, so I don't really understand. I've installed the kitkat CM previously, and had it on there for multiple years, but I formatted and reset everything in the phone. Anything that is able to be formatted in CWM I did, and it still didn't work. I then tried to manually install the APK for google play services along with the play store, and it just keeps spamming "Unfortunately, google play services has stopped". I can't seem to figure out how to change the version of the rom in CWM to be my current version. Can anyone help please?
Recommend..
1. Flash back to factory OEM Samsung T989 Android 4.1.2 rom..
2. Flash TWRP Recovery
3. Backup device to Micro SD
4. Did I mention Backup device to Micro SD?
If you wish to try a custom ROM.. always use a matching version of Open GAPPs.. so if its an Android 6 rom.. use Android 6 GAPP... also.. for this old T989 device.. use the NANO GAPP.. and install only what you need from the play store afterwards. Good threads to read over for this device are:
https://forum.xda-developers.com/galaxy-s2-tmobile/qa-cyanogenmod-13-0-t3319195
https://forum.xda-developers.com/galaxy-s2-tmobile/rom-cyanogenmod-14-0-celox-t3470659
https://forum.xda-developers.com/showthread.php?t=2313530

[How To] Flash GSI ROMs

Requirements:
- Stock Clean Firmware: https://mirrors.lolinet.com/firmware/moto/kane/official/
- TWRP: https://forum.xda-developers.com/one-vision/how-to/twrp-3-3-1-0-root-updated-kane-troika-t4102839
- GSI ROM (arm64, A/B versions): https://github.com/phhusson/treble_experimentations/wiki/Generic-System-Image-(GSI)-list
- Permissiver_V5 Flashable Zip: https://androidfilehost.com/?fid=6006931924117940902
- Google Play Services APK - Whenever you boot into a GSI the first thing you should do is install the Google Play Services APK. Installing it will clear the "System Updating..." notification and you will be able to login to your Google account.
Google Play Services for Android 9 GSI: https://www.apkmirror.com/apk/googl...-24-13-100400-316577029-android-apk-download/
Google Play Services for Android 10 GSI: https://www.apkmirror.com/apk/googl...-24-13-120400-316577029-android-apk-download/
Instructions:
- Flash Stock firmware
- Wipe system and data in TWRP
- Reboot to bootloader
- Run the following command in the command line:
Code:
fastboot flash system [yourGSI.img]
- While still in fastboot mode run:
Code:
fastboot -w
- Reboot to TWRP and flash Permissiver_V5 zip file
- Reboot to the system
Notes:
Look at the size of the downloaded GSI.img file (Not the zip file), If it's larger than 3GB you won't be able to flash it because the system partition is limited to 3GB)
Permissiver_V5 is required for some GSI to successfully boot, some of GSIs might work without it but if you don't flash it and the GSI doesn't boot that might be the main problem.
GSI ROMs might have some bugs, the most known bug at least on One Vision and maybe Action is the Bluetooth Freeze Bug that might happen when you try to play music over Bluetooth. Be prepared for anything.
Not every GSI will successfully boot. Some of them might not boot but don't worry as there are a lot of GSIs for you to try on.
Same procedure works for both One Action and One Vision
FAQ:
Do I need to flash GAPPS after I install an GSI?
No. Flashing GAPPS is an optional step, most of the GSIs might already come with GAPPS installed and all you have to do to enjoy your ROM is to install the Google Play Services apk mentioned in my post.
You must install GAPPS if the GSI you're using doesn't have the Google Play Store app and you want to install any apps from the Play Store, but even then there are alternatives to install Play Store apps even without installing any GAPPS package
After installing a GSI my phone it's stuck in a bootloop, what do I do?
The main reason for your android not booting up is that some vendors enforce SELinux which stops GSIs from booting and the fix for that is by flashing the Permissiver_V5 zip file to be able to boot into GSI.
But if you can't boot even after you flashed Permissiver_V5, you either downloaded the wrong GSI or the GSI isn't compatible with your device so you have to find another GSI to flash. Remember that not every GSI can successfully boot.
The X GSI has the Y problem! How do I fix it?
Even after your GSI finished booting there's no guarantee that everything will work as it should. The best thing you can do is to find support on google, or if the creator of the GSI has provided any contact links (Email, Telegram, etc) you can contact him and ask him if there's a fix for your problem or not.
This is something new for me, I was used to install rom and gapps, is this something similar?
simije97 said:
This is something new for me, I was used to install rom and gapps, is this something similar?
Click to expand...
Click to collapse
Flashing GAPPS is totally optional, GSIs will work even without flashing them. Most of them already have GAPPS installed, other might not work with GAPPS.
Is totally up to you if you want to flash GAPPS on a GSI, but as I said most of them don't need it, the most important thing to install after flashing a GSI is to install the Google Play Service to login into your Google account and fix any issues related to Android Setup
[Edit] I've added a small FAQ section to my post above
simije97 said:
This is something new for me, I was used to install rom and gapps, is this something similar?
Click to expand...
Click to collapse
There are 2 main reasons why you should install GAPPS:
1: The GSI you're flashing doesn't have any google apps and in that case to be able to login into a google account and install apps using Play Store you have to install a GAPPS package to have access to google play store
2: The GSI has access to PlayStore but you just want to have other apps like YouTube, Gmail installed in your system. In this case I myself, I prefer to install the Google apps that I need from play store rather than installing a GAPPS package that bloats my phone with apps I don't use.
Anyway, flashing GAPPS is totally optional and it's up to you if you want it or not.
The most important thing when installing a GSI is to look if it has any google apps, if yes then it's important to install Google Play Services apk listed in my post.
To give you a small example Google Experience comes with google apps included so you never have to install GAPPS. I'm using Google Experience and everything worked out of the box, it didn't require the Google Play Services but I guess I just got lucky.
This can't be said for when I've installed an Android 11 Pixel-based GSI, where I had to install the Google Play Services to be able to use my Google Account and finish the android setup.
After few weeks I decided to try this and it works just fine, thank you. Unfortunately ROMs are not created for that big hole on the screen. It hides time, notifications etc., otherwise it works pretty well.. Any sugestions how to repair it? Thank you again
Go to developer settings. You find notch settings.
rhaavin said:
Go to developer settings. You find notch settings.
Click to expand...
Click to collapse
I installed Descendant X, there are some options for notch, but it doesn't work for One Vision.
Put the apk attached in /system/overlay and it will correct the values for the punch hole. Don't forget to reboot after. Also I've made this a long time a go but I didn't had time to test it as I'm on Android 8 due to working on something.
Report back if it works or not thanks.
SnoopDoggyStyleDogg said:
Put the apk attached in /system/overlay and it will correct the values for the punch hole. Don't forget to reboot after. Also I've made this a long time a go but I didn't had time to test it as I'm on Android 8 due to working on something.
Report back if it works or not thanks.
Click to expand...
Click to collapse
Unfortunately, I had to install stock firmware because of my work and Google pay. I was trying to hide root but I was unsuccessful. Anyway, thank you very much for sharing this
I installed GSI ROM, I have been trying to root it for 3 hours. Can someone here tell me what to do?
[Q][RECOVERY][3.4.0-0][kane] Official TWRP & Root for Motorola One Vision
Root & TWRP 3.4.0 for Android 10. Page on the official TWRP website https://twrp.me/motorola/motorolaonevision.html Installation Instruction 1. Download twrp-3.4.0-0-kane.img and twrp-installer-3.4.0-0-kane.zip TWRP, patched vbmeta.img and...
forum.xda-developers.com
WellThisSucks1 said:
I installed GSI ROM, I have been trying to root it for 3 hours. Can someone here tell me what to do?
Click to expand...
Click to collapse
You can take the "Magisk-v20.x-phh.zip" for root
Magisk-v20.3-phh.zip | by shumway66 for Generic Device/Other
Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.
androidfilehost.com
Should work
simije97 said:
Unfortunately, I had to install stock firmware because of my work and Google pay. I was trying to hide root but I was unsuccessful. Anyway, thank you very much for sharing this
Click to expand...
Click to collapse
This works
alphalog said:
This works
Click to expand...
Click to collapse
How do I make it work?
Como lo hago funcionar xd
ChriisTBv said:
How do I make it work?
Como lo hago funcionar xd
Click to expand...
Click to collapse
Copy the apk to system/vendor/overlay
and reboot
Thank you very much for continuing to support and improve this smartphone

Device is not Google certified phh GSI how to fix?

Hello,
I have a brand new device which has not officially been released yet. Therefore, there is no stock firmware image available or recovery image. Just wanted to get that out of the way. I could not remove a lot of the manufacturers bloatware because i could not root or port TWRP without a stock image or recovery image.
I stumbled onto Project Treble. I flashed phh treble and it worked. Well, I managed to get everything to work with some workarounds. The only thing I am having trouble with is when I install phh with gapps. After booting I get the "Your device is not Google certified" message repeatedly spammed.
The only workaround I have been able to get to work for the uncertified device message is to remove phh superuser. I have tried using the Google device registration page. It does not work for my device. I want to keep root so I can pull the recovery image and port TWRP for this device. Are there any other fixes that will work? In order to pick up in some of my games I think I need Google Play?
Thanks,
Rocky
What Gapps? you can try bitgapps, opengapps, etc...
If google play is impossible, you can download .apk android apps (Android PacKage, APK) from www.uptodown.com, www.apkmirror.com and www.apkpure.com, unless it is google play exclusive(probably payment content?)
LR7875 said:
What Gapps? you can try bitgapps, opengapps, etc...
If google play is impossible, you can download .apk android apps (Android PacKage, APK) from www.uptodown.com, www.apkmirror.com and www.apkpure.com, unless it is google play exclusive(probably payment content?)
Click to expand...
Click to collapse
Thanks for your reply. Yes, I need to recover paid content. There are games and programs that I have spent a decent amount on that I would like to have access too. I wish there was a phh gsi image with magisk root instead of phh root. From what I read you can disable it with Magisk.
I do not know a whole lot about root. I wonder if now that I am using phh gsi if it would be possible to install Magisk now? I could not install it before because the device does not have a system image available yet since it has not officially been released. Like I said I do not know much about root, could I just download a vanilla phh gsi image and patch that with magisk?
bigroc2223 said:
Thanks for your reply. Yes, I need to recover paid content. There are games and programs that I have spent a decent amount on that I would like to have access too. I wish there was a phh gsi image with magisk root instead of phh root. From what I read you can disable it with Magisk.
I do not know a whole lot about root. I wonder if now that I am using phh gsi if it would be possible to install Magisk now? I could not install it before because the device does not have a system image available yet since it has not officially been released. Like I said I do not know much about root, could I just download a vanilla phh gsi image and patch that with magisk?
Click to expand...
Click to collapse
No no no, you need to patch boot.img for magisk, not system. Go to www.apkmirror.com (app repository), search and download 'magisk ' app(that is magisk manager), click and install the downloaded .apk file, allow install from browser, and after installing use the app to patch the boot.img(search Google), and flash patched boot.
I thought I bricked the phone but was able to recover. I am getting an error that I cannot seam to resolve. The phone screen will go black. It goes to a crash dump screen that says the fallowing.
Qualcomm Crash Dump Mode
modem subsystem failure reason
trm_rf_alloc.cpp:459:allocation
not found for RF Tech:2 Band:126
sub_capability 0.
After this happens and I reboot the device I have a hard time getting mobile data to work. It is definitely an error pertaining to the signal radio. I have no clue how to fix it. With this happening the device is pretty much unusable.
bigroc2223 said:
I thought I bricked the phone but was able to recover. I am getting an error that I cannot seam to resolve. The phone screen will go black. It goes to a crash dump screen that says the fallowing.
Qualcomm Crash Dump Mode
modem subsystem failure reason
trm_rf_alloc.cpp:459:allocation
not found for RF Tech:2 Band:126
sub_capability 0.
After this happens and I reboot the device I have a hard time getting mobile data to work. It is definitely an error pertaining to the signal radio. I have no clue how to fix it. With this happening the device is pretty much unusable.
Click to expand...
Click to collapse
I am sorry to hear that.It is pretty much beyond what I can solve so I will try find similar threads.

Categories

Resources