MAGISK ModPack for OnePlus 5T - OnePlus 5T Themes, Apps, and Mods

Hey!
I made a MAGISK Module with a bunch of mods for OOS 10 and thought i should share it with you.
It replaces OnePlus Phone, SMS and Contacts with Googles apps, disables a bunch of apps and some other things.
If you're interested here you go: https://github.com/niklas389/op5t_q_modpack
You can download it and modify it for your needs. Just ZIP it and install it.

niklas389 said:
Hey!
I made a MAGISK Module with a bunch of mods for OOS 10 and thought i should share it with you.
It replaces OnePlus Phone, SMS and Contacts with Googles apps, disables a bunch of apps and some other things.
If you're interested here you go: https://github.com/niklas389/op5t_q_modpack
You can download it and modify it for your needs. Just ZIP it and install it.
Click to expand...
Click to collapse
Am sorry for being a noob here.
When I flashed it in magisk , it shows this is not a module , installation failed .
Am using magisk canary version

when it's downloaded, it is a zip wth a folder inside.
step to do
1. extract the zip
2. Navigate inside the unzipped folder
3. highlight every file inside and right click > compress with 7zip as zip format
4. flash and profit

Can confirm works on 9.0 aswell.

I've installed it, but find a problem with a app context menu (After long press on an icon) there is no app info, but only a red rectangle also, there is a bug on left screen.
I tried to uninstall it, the bug remain.
OSS: 10.0.1
OP5T

niklas389 said:
Hey!
I made a MAGISK Module with a bunch of mods for OOS 10 and thought i should share it with you.
It replaces OnePlus Phone, SMS and Contacts with Googles apps, disables a bunch of apps and some other things.
If you're interested here you go: https://github.com/niklas389/op5t_q_modpack
You can download it and modify it for your needs. Just ZIP it and install it.
Click to expand...
Click to collapse
Hi I've downloaded the zip and tried to figure out what modifications to make - my goal is to:
-install the Google SMS and dialer apps over the OnePlus apps
-but not remove anything else
Advice on steps to achieve that?
Thanks in advance
Edit:. Forget about it, the dialer installed just fine from play store.

Related

[7.0-7.1] How to achieve Pixel Features and Look on any Rooted Android Device

Hi! Guys Today I will share a guide on How to achieve Pixel features and look on almost any android device running android Nougat.
What you need?:- A rooted Nougat device, Root file manager(I recommened ES), Brain
Lets start:-
Go into root of your device using your fav. file manager and search for build.prop. Usually it lies in system folder but if not found search it. Open it with any text editor and add this two lines at it's end.
ro.product.model=Pixel XL
ro.opa.eligible_device=true
Now reboot your device.
After your device turns on Clear Google App data.(Clear whole data and not cache only).
Now long press on your device to launch Google assistant:laugh::laugh: .
Now another step.
Open playstore and install pixel launcher and wallpapers by google.
Now you need Link2SD.(Install if not already Installed)
Now open Link2SD find & convert Pixel launcher and wallpapers into system apps and reboot again. (This step enables Google Now on swipe).
Now Download the boot animation app by Jrummy from playstore and install the boot animation zip i provided or manually push it into your system where your boot animation is stored.(Normally it's stored in system>media)
Copy audio files and replace it with your default files in system>media>audio.
Now if you want more follow:- (Not recommened for CM users but i hadn't encountered any problem on my CM though )
Download substratum from Playstore and Pixel Ui which is similar theme for this app and apply it via the substratum. Reboot
Cm users can skip many steps and use any pixel theme and icon pack from Playstore and apply it via Themes app natively installed.:fingers-crossed::fingers-crossed:
It's Done. Now enjoy all features and look of Pixel on your device.
While i encountered that google assistant doesn't recognize your voice I can't do anything for it now. I will keep looking to make it work but it will take time.Sorry.
You can also just download the launcher and wallpaper and install it. It still works that way. Also you can manually push them into system if required. But i suggest you to use bootanimation via substratum only as i pulled the zip file from PixelUi.
Here is a thread on Pixel experince you may want to take a look here too if you want to avoid so much work and go for flashing zips:-
http://forum.xda-developers.com/and...xel-experience-launcher-dialer-t3478907/page1
Tips:- Signup for google beta tester on playstore and update your google app to latest beta version for seamless google assistant work.
You may add those two build.prop at the end and don't change your default model number. It will still work.
Boot animation have a huge chances to work normally as the just conatin minimal animations and cover center of screen. So try it out and tell me.
This is my first guide. Please PM me or quote if you have any doubts before rating my guide bad.
Thank me if you liked my guide and my assistance.:laugh:
aayushgupta219 said:
Hi! Guys Today I will share a guide on How to achieve Pixel features and look on almost any android device running android Nougat.
What you need?:- A rooted Nougat device, Root file manager(I recommened ES), Brain
Lets start:-
Go into root of your device using your fav. file manager and search for build.prop. Usually it lies in system folder but if not found search it. Open it with any text editor and add this two lines at it's end.
ro.product.model=Pixel XL
ro.opa.eligible_device=true
Now reboot your device.
After your device turns on Clear Google App data.(Clear whole data and not cache only).
Now long press on your device to launch Google assistant:laugh::laugh: .
Now another step.
Open playstore and install pixel launcher and wallpapers by google.
Now you need Link2SD.(Install if not already Installed)
Now convert Pixel launcher and wallpapers into system apps and reboot again. (This step enables Google Now on swipe).
Now Download the boot animation app by Jrummy from playstore and install the boot animation zip i provided or manually push it into your system where your boot animation is stored.(Normally it's stored in system>media)
Copy audio files and replace it with your default files in system>media>audio.
Now if you want more follow:- (Not recommened for CM users but i hadn't encountered any problem on my CM though )
Download substratum from Playstore and Pixel Ui which is similar theme for this app and apply it via the substratum. Reboot
Cm users can skip many steps and use any pixel theme and icon pack from Playstore and apply it via Themes app natively installed.:fingers-crossed::fingers-crossed:
It's Done. Now enjoy all features and look of Pixel on your device.
While i encountered that google assistant doesn't recognize your voice I can't do anything for it now. I will keep looking to make it work but it will take time.Sorry.
This is my first guide. Please Tell me and ask me doubts before rating Bad.
You can also just download the launcher and wallpaper and install it. It still works that way. Also you can manually push them into system if required. But i suggest you to use bootanimation via substratum only as i pulled the zip file from PixelUi.
Here is a thread on Pixel experince you may want to take a look here too if you want to avoid so much work and go for flashing zips:-
http://forum.xda-developers.com/and...xel-experience-launcher-dialer-t3478907/page1
Thank me if you liked my guide and my assistance.:laugh:
Click to expand...
Click to collapse
There is no ro.product.model here
Leelka said:
There is no ro.product.model here
Click to expand...
Click to collapse
I get it.. we got add it right.. sry
Leelka said:
I get it.. we got add it right.. sry
Click to expand...
Click to collapse
Yeah! You need to add it.You may want to thank me and vote on my poll. It will boost my moral and I will create some good guides soon. :angel:
@aayushgupta219
It worked when I downloaded the latest google app from apkmirror. For some reason, the latest version of apps are not showing up in the play store. Its a bug in cm14.1
Rotated Quickbits said:
@aayushgupta219
It worked when I downloaded the latest google app from apkmirror. For some reason, the latest version of apps are not showing up in the play store. Its a bug in cm14.1
Click to expand...
Click to collapse
Did you signed up for playstore beta update?
aayushgupta219 said:
Did you signed up for playstore beta update?
Click to expand...
Click to collapse
Nope, Do I have to re-apply the build.prop mod again when I sign up for the google beta app?
Rotated Quickbits said:
Nope, Do I have to re-apply the build.prop mod again when I sign up for the google beta app?
Click to expand...
Click to collapse
No, its one time work only.
aayushgupta219 said:
No, its one time work only.
Click to expand...
Click to collapse
This option is greyed out
Rotated Quickbits said:
This option is greyed out
Click to expand...
Click to collapse
I mentioned it in post that google assistant doesn't recognize voice. I am working on it and maybe i will able to fix it up soon. Hope so :fingers-crossed:

[HELP] google camera package exist but doesn't...

I can't install the google camera apk, it says there is a conflicting package, but google camera is not installed on my phone :/
I've tried looking for it in the settings/apps and with tools like titanium backup
I also tried adb shell pm list packages, not there!
but I can't install it! help!
Nexus 5 android 7.1.2
GizmoTheGreen said:
I can't install the google camera apk, it says there is a conflicting package, but google camera is not installed on my phone :/
I've tried looking for it in the settings/apps and with tools like titanium backup
I also tried adb shell pm list packages, not there!
but I can't install it! help!
Nexus 5 android 7.1.2
Click to expand...
Click to collapse
Root your phone with superSU, open lucky patcher, select install. Click on google camera apk. Select uninstall and install done!! Reboot
GopalKaul said:
Root your phone with superSU, open lucky patcher, select install. Click on google camera apk. Select uninstall and install done!! Reboot
Click to expand...
Click to collapse
whats lucky patcher?
my phone is already rooted with supersu
GizmoTheGreen said:
whats. . .
my phone is already rooted with supersu
Click to expand...
Click to collapse
It is actually warez and is not allowed to even be talked about on XDA. Should a mod come across this topic, both of your replies will be deleted for even mentioning it.
RoyJ said:
It is actually warez and is not allowed to even be talked about on XDA. Should a mod come across this topic, both of your replies will be deleted for even mentioning it.
Click to expand...
Click to collapse
oh I see, I had no idea! I won't be looking into it.
but it there a good tool that can fix glitched packages? my system thinks com.google.android.GoogleCamera is installed but I can't find it anywhere and any install of it is blocked x'D
for now I installed a modded one I found on xda that let's you have older + latest 4.2 with modified package name com.google.android.GoogleCameraMOD and it's working....
Are you on Pure Nexus, by chance? I know you're not stock since you mentioned 7.1.2. If you're using that ROM, in the download section underneath the ROM and gapps, there's a camera fix zip and you need to flash that as well. @GizmoTheGreen
RoyJ said:
Are you on Pure Nexus, by chance? I know you're not stock since you mentioned 7.1.2. If you're using that ROM, in the download section underneath the ROM and gapps, there's a camera fix zip and you need to flash that as well. @GizmoTheGreen
Click to expand...
Click to collapse
I'm on santhoshm aosp rom, looking at that zip it seems to be a fix for hdr+ on nougat roms... which is not my problem
I can try it later anyway see if it shows up in my system
you maybe need to wipe data :crying:
GizmoTheGreen said:
I can't install the google camera apk, it says there is a conflicting package, but google camera is not installed on my phone :/
I've tried looking for it in the settings/apps and with tools like titanium backup
I also tried adb shell pm list packages, not there!
but I can't install it! help!
Nexus 5 android 7.1.2
Click to expand...
Click to collapse
Use a root file explorer like ES and check for old Google camera folders in system and delete them, then try again
Char_G said:
Use a root file explorer like ES and check for old Google camera folders in system and delete them, then try again
Click to expand...
Click to collapse
I've done that, no such folder or file in the system app folder
GizmoTheGreen said:
oh I see, I had no idea! I won't be looking into it.
but it there a good tool that can fix glitched packages? my system thinks com.google.android.GoogleCamera is installed but I can't find it anywhere and any install of it is blocked x'D
for now I installed a modded one I found on xda that let's you have older + latest 4.2 with modified package name com.google.android.GoogleCameraMOD and it's working....
Click to expand...
Click to collapse
welp now I need that APK again and can't find it for the life of me been googling for an hour checking all possible results x'D

[MOD] Debloater for LineageOS & LineageOS Based ROMs

Debloater Zip​
This is my first MOD.
I just made a zip for my own use and I'm sharing it here.
I personally don't like the system apps which come with LineageOS and LineageOS based ROMs. We all flash GApps and then end up having double apps like Calendar (Google Calendar and Stock LineageOS Calendar). This consumes more space in your "/system" partition.
I tend to remove these apps and use the ones provided by Google instead in "/data" partition. This saves space in "/system" and also doesn't allow to have double apps.
Hence I made a Debloater zip, I know there are various zips out there which can help you debloat your ROM, but they also come with installing something or other.
This zip is a pure Debloater zip. It will just remove the apps which are not used by many in general.
Code:
[SIZE="2"]The list of apps which I have removed from "/system/app" & "/system/priv-app" are
[LIST]Calendar[/LIST]
[LIST]CMFileManager[/LIST]
[LIST]Email[/LIST]
[LIST]Exchange2[/LIST]
[LIST]ExactCalculator[/LIST]
[LIST]Jelly[/LIST]
[LIST]PicoTts[/LIST]
[LIST]Launcher3[/LIST]
[LIST]Trebuchet[/LIST]
[LIST]Gallery2[/LIST][/SIZE]
If you guys want any particular app to be removed apart from these, I can make a separate zip file for you personally.
Don't forget to hit the Thanks button if you like my work.
Changelogs
V 1.0 Removes Everything listed above
V 1.0 Doesn't remove CMFileManager
V 1.2 Doesn't remove Launcher3 and Trebuchet
V 1.3 Removes DocumentsUI too
Mehul.S said:
Debloater Zip​
This is my first MOD.
I just made a zip for my own use and I'm sharing it here.
I personally don't like the system apps which come with LineageOS and LineageOS based ROMs. We all flash GApps and then end up having double apps like Calendar (Google Calendar and Stock LineageOS Calendar). This consumes more space in your "/system" partition.
I tend to remove these apps and use the ones provided by Google instead in "/data" partition. This saves space in "/system" and also doesn't allow to have double apps.
Hence I made a Debloater zip, I know there are various zips out there which can help you debloat your ROM, but they also come with installing something or other.
This zip is a pure Debloater zip. It will just remove the apps which are not used by many in general.
Code:
[SIZE="2"]The list of apps which I have removed from "/system/app" & "/system/priv-app" are
[LIST]Calendar[/LIST]
[LIST]CMFileManager[/LIST]
[LIST]Email[/LIST]
[LIST]Exchange2[/LIST]
[LIST]ExactCalculator[/LIST]
[LIST]Jelly[/LIST]
[LIST]PicoTts[/LIST]
[LIST]Launcher3[/LIST]
[LIST]Trebuchet[/LIST]
[LIST]Gallery2[/LIST][/SIZE]
If you guys want any particular app to be removed apart from this, I can make a separate zip file for you personally.
I'm using Resurrection Remix, hence I did not make a zip for AOSP Based ROMs. If someone can help me out with the location of these apps in AOSP Based ROMs can Telegram me, I'll make a zip for AOSP also.
Don't forget to hit the Thanks button if you like my work.
Click to expand...
Click to collapse
Can u please make a zip that doesn't remove cm file manager?
VaSU# said:
Can u please make a zip that doesn't remove cm file manager?
Click to expand...
Click to collapse
Yeah, sure. Here you go.
Great concept! Just wondering if debloating this way is different from the aroma OpenGapps package in terms of removing stock system apps?
Aahan said:
Great concept! Just wondering if debloating this way is different from the aroma OpenGapps package in terms of removing stock system apps?
Click to expand...
Click to collapse
No, there is no difference AFAIK.
Mehul.S said:
Yeah, sure. Here you go.
Click to expand...
Click to collapse
Tysm
add this app too:
FILE
thanks.
shahfaishal said:
add this app too:
FILE
thanks.
Click to expand...
Click to collapse
He added cm file manager already.
utkarsh102 said:
He added cm file manager already.
Click to expand...
Click to collapse
By the FILE is another and CM FILE MANAGER is other. Both are different.
shahfaishal said:
add this app too:
FILE
thanks.
Click to expand...
Click to collapse
I added it in V 1.3, flash it, test it. If you get any kind of Force Close errors then just dirty flash your full rom zip file, and flash any of the previous version of Debloater which suits your need, and report back.
utkarsh102 said:
He added cm file manager already.
Click to expand...
Click to collapse
He meant Files app (com.android.documentsui)
I flashed v1.3 and its working good so far without fc
Thanks man! by the way, what do you think of the "gapps-config file"
https://github.com/opengapps/opengapps/wiki/Advanced-Features-and-Options
xiangz_xda said:
Thanks man! by the way, what do you think of the "gapps-config file"
https://github.com/opengapps/opengapps/wiki/Advanced-Features-and-Options
Click to expand...
Click to collapse
Your welcome. Thanks for the gapps-config file, I'll look into this later on. Seems nice.
Edit: The config file is nice, but that's too much work to do, If anyone personally wants it, it can be done. I've made that same process easy by making this zip.
Code:
delete_recursive("/system/app/Email");
delete_recursive("/system/app/Exchange2");
delete_recursive("/system/app/Calendar");
delete_recursive("/system/app/Jelly");
delete_recursive("/system/app/Camera2");
delete_recursive("/system/app/CMFileManager");
delete_recursive("/system/app/messaging");
delete_recursive("/system/priv-app/Launcher3");
delete_recursive("/system/priv-app/Trebuchet");
delete_recursive("/system/priv-app/DocumentsUI");
delete_recursive("/system/priv-app/Snap");
delete_recursive("/system/priv-app/OmniSwitch");
I use this code to remove all the bloatware while flashing the ROM zip
Removes most the things (can be used for other LOS and AOSP based ROMs too)
Hi
After flashing the v1.1 the phone is stuck at Android is starting. I could access the settings via the notification dropdown but the home screen just shows android is starting. Help please.
khunimurderer said:
Hi
After flashing the v1.1 the phone is stuck at Android is starting. I could access the settings via the notification dropdown but the home screen just shows android is starting. Help please.
Click to expand...
Click to collapse
I would recommend you to do a clean install once again.
Also I have not been using OP2 since a while now hence I am unaware about the recent developments in the ROMs, so it might have been because of some changes from the ROM side too.

Google Pixel/Nexus Experiance TWRP Installer/Magisk Module

I put together a small TWRP Installer/Magisk module for our OP3 devices
Whats included:
Google Dialer with working Location and Caller ID and Visual Voicemail
Google Contacts
Google Messages
Google Calculator
Carrier Services
Google DeskClock
Dialer Framework
This module removes:
Stock Messages
Stock Dialer
Stock Calculator
Stock Deskclock
Fetures coming soon:
Pixel 2 Launcher (having issues getting it to not force close after install)
Pixel 2 Live Wallpaper
Wallpaper
Pixel 2 Boot Animation
Pixel 2 Sounds
Pixel 2 Accent color
Google Pixel/Nexus Experiance Magisk Module
Google Pixel/Nexus Experiance TWRP Installer(Coming Soon)
I have not tested it on a OP3T since i dont have a 3T but it should work as well
Ive only tested this on OP3 Open Beta 29 but i dont see why it wont work on other versions
If anyone wants to test on 3T and report back that would be much appriciated
Credits:
Wr3ckd90
dustintinsley (for the idea and the base from his OP5 module)
if it didn't touch anything from kernel etc. then should its work on op3T too
also Its only for Hydrogen OS/Oxygen OS?
anyone tried it on other roms (AOSPA oreo/Nitrogen OS)?
is the module for LOS - Based roms or for AOSP and what android version ????
RKBD said:
if it didn't touch anything from kernel etc. then should its work on op3T too
also Its only for Hydrogen OS/Oxygen OS?
anyone tried it on other roms (AOSPA oreo/Nitrogen OS)?
Click to expand...
Click to collapse
I've only tested it on Oxygen OS.. I'll load a version of Hydrogen OS today and try..
ele95 said:
is the module for LOS - Based roms or for AOSP and what android version ????
Click to expand...
Click to collapse
I haven't tried it on LOS yet but you can get all the same fetures this offers if you use the aroma opengapps you can put everything this offers right now
When I try and install via magisk it fails, when I install via TWRP it installs fine - think you have the above the wrong way round
The phone pops up an error each time I open it, says the phone is not compatible and may not work - quite annoying to see it each time. Anyone else have this issue?
When can you give support for twrp?i have super su not magisk
instarobuk said:
When I try and install via magisk it fails, when I install via TWRP it installs fine - think you have the above the wrong way round
The phone pops up an error each time I open it, says the phone is not compatible and may not work - quite annoying to see it each time. Anyone else have this issue?
Click to expand...
Click to collapse
That's weird because it installed perfect in magisk for me I'll run it through a few more test on different versions of Hydrogen/Oxygen
ZeroVirus said:
When can you give support for twrp?i have super su not magisk
Click to expand...
Click to collapse
I'm working on that now I'm running into the problem of it saying not supported if you install via magisk it shouldn't show that message though the magisk installer should install just fine through twrp but you will have a not supported message when opening phone
Wr3ckd90 said:
That's weird because it installed perfect in magisk for me I'll run it through a few more test on different versions of Hydrogen/Oxygen
I'm working on that now I'm running into the problem of it saying not supported if you install via magisk it shouldn't show that message though the magisk installer should install just fine through twrp but you will have a not supported message when opening phone
Click to expand...
Click to collapse
Thanks, look forward to trying again very soon ?
please add support for LOS - Pixel accent clolor , navigationBar animation and round icons , this thread can help you https://forum.xda-developers.com/nexus-6/themes-apps/cool-pixel-mod-android-7-1-1-t3532951
Id love a TWRP flashable zip too (better than Magisk imo)
I'm working on a TWRP flashable I'm just running into the issue with the method I used to remove the pop-up in dialer isn't working in TWRP only Magisk I'll release the TWRP once I figure that out
I tried it on RR and I can't make and receive calls. Almost at all. How can I uninstall it? Is there another way apart from flashing my rom again ?
femiro said:
I tried it on RR and I can't make and receive calls. Almost at all. How can I uninstall it? Is there another way apart from flashing my rom again ?
Click to expand...
Click to collapse
If you installed it via Magisk just uninstall by removing it in the Magisk installer.. I'll create uninstallers for both Oos and AOSP today to restore the removed apps.
Wr3ckd90 said:
If you installed it via Magisk just uninstall by removing it in the Magisk installer.. I'll create uninstallers for both Oos and AOSP today to restore the removed apps.
Click to expand...
Click to collapse
I flashed the zip to install it and then I removed the module from Magisk. Still phone app crashes though.
Edit: I gave manually the permissions to phone app and it seems to work now.
Hi ! I use it on ExperienceOs based on OxygenOs 5.0.1 and work fine but this custom use busybox and don't know if are on permissive SeLinux ? But they had an App to choose it.
After clean Flash and use FreedomOs 3.2.1 based on OxygenOS 5.0 I had always the message in Google Dialer "The Dialer may malfunction on your version..." I had test it again after use Magisk mod "Google Framework" but always the mistake with Google Dialer ??? I don't know why ? Rrrr. I had just remove it in Magisk and use Oneplus App but I don't understand work fine with ExperienceOs and not with FreedomOS perhaps just OxygenOs ? work on 5.0.1 and not on 5.0 ? I stay the update of FreedomOs for see.
Another I had test in my computer to remove Google clock after extract it and compress in zip but won't work with magisk ? It's not a magisk mod.
How can remove exemple Google clock because Oneplus Ckock is better with the calendar option for alarm
But thank you a lot for your work it's the only one work on OOS Oréo
Hi, if I flash it via magisk and I remove it after it will restore stock deleted applications ?
Bryandu13 said:
Hi, if I flash it via magisk and I remove it after it will restore stock deleted applications ?
Click to expand...
Click to collapse
If you remove it after you just loose Clock And Calculator App ! But you can install it with Apk mirror for have Oneplus Clock and Calculator.
For Dialer just choose Oneplus Dialer again and work fine for me same for Oneplus Contact don't uninstall it.
I do to reinstall Google messager too because I use it and when I remove the mod Google messenger are delete too.
The mod had work fine with the custom rom ExperienceOS R32 Stable OOS 5.0.1 no message when use Google dialer all work fine and can apply substratum theme
But I had change and return to FreedomOS 3.2.1 OOS 5.0 and always message in Google Dialer
I stay a TWRP zip or update
So quick update... I'm still working on this I've hit a few more roadblocks I want to fix before releasing anything else
Mms on messages sends but can't use the mms part of messages weird also I'm still having issues with twrp with the dialer message trying to fix that still I hope I'll have something to release this weekend but not 100% sure..
Wr3ckd90 said:
So quick update... I'm still working on this I've hit a few more roadblocks I want to fix before releasing anything else
Mms on messages sends but can't use the mms part of messages weird also I'm still having issues with twrp with the dialer message trying to fix that still I hope I'll have something to release this weekend but not 100% sure..
Click to expand...
Click to collapse
Thanks for the info/update, and for bringing this to us. I love this mod, and prefer using Google's Dialer and Messages over OnePlus.
When you say "Mms on messages sends but can't use the mms part of messages", what do you mean? I thought I was able to send/receive MMS through Google Messages just fine. Are you talking about group messages, pics, etc...
I'm not currently on an OOS ROM, but will probably be moving back soon (today, probably) and can try to verify that for you if you want.
Thanks again!
Hi ! Thanks for your mod. I had rollback to ExperienceOs R32 and flash with Magisk your mod and work fine.
But I had a question if I want Oneplus clock and uninstall google clock how I do ? Please.
I had install the apk of Oneplus clock but isn't System App and google clock are System App and can't uninstall it.
Thanks

[GUIDE] MicroG on OnePlus 6 (open source and ligthway alternative to Google services)

Updated and tested for Android 10 (with Omnirom)
Why MicroG?
Here is a great explanation from the official wiki itself: https://github.com/microg/android_packages_apps_GmsCore/wiki
There are different and good reasons to move away from Google services and get microG services:
1) More privacy: all Marvin's work is open source and focused on privacy. The "Google Play Services" app is probably the worst app you can have on Android when it comes to telemetry, spying, etc. It's always running tons of services to know all your comings and goings. As a side note, it's also good to not rely on Google too much.
2) More RAM available: Google Play Services use a lot of RAM when GMScore uses almost nothing.
3) More battery life, especially while idling: you'll avoid all the wakelocks related to Play Services (whether they are intentional or not)
CREDITS / Thank you:
@MaR-V-iN, for his wonderful and amazing work to free us from Google. One of the most underrated dev in the Android world.
@Setialpha , for his nanodroid module and his availability to help.
@topjohnwu for Magisk
How will your Android experience change?
Actually, not so much. If you're only interested in MicroG for the reasons 2) and 3), you can still use all Google apps, including the Play store (you need a patched version). Be aware, some apps don't work or are not working properly. Implementation status of different Android/Google services can be found here: https://github.com/microg/android_packages_apps_GmsCore/wiki/Implementation-Status
If you wonder if an app works or if you've tried and it doesn't work, just check on the issues tracker on Github or on your favorite search engine.
Now, if you want to change your habits, F-Droid will become your new best friend. It's an app store, like the Play Store, but which only delivers controlled, quality and open source apps. Both stores share many apps in common but F-Droid also has apps that the Play Store doesn't, because they're against Google policy for example. It should become your main app store as it's always good to use open source apps, for many reasons. Let's not start a debate here.
However, at least, at the beginning, it's tough to not use ANY app from the play store. For that, you should use Aurora store (whick is a fork of Yalp Store FYI). You get access all apps from Play Store. You can either use an anonymous account or use your own Google account. In the second case, you'll be able to download your paid apps. However, these won't work if they include a license check (most of them nowadays). You can nicely ask the dev if there's a workaround. Some accept, like the team behind Titanium Backup for example. Or SmartPack Kernel Manager's developer.
If you're looking for open source alternatives to the apps you usually use, I could list a few of them but this list is just great: https://github.com/offa/android-foss .
If you don't know how to replace Google services, this list is great as well: https://shadow53.com/android/no-gapps/alternatives/
You can also check on reddit like on this subreddit: https://www.reddit.com/r/fossdroid/
What ROM to use?
Any custom AOSP ROM should work, as long as :
1° it supports signature spoofing
2° it's deodexed
3° it supports alternative location backends, it's
-I wouldn't recommend any ROM that comes with gapps included. It just makes things more complicated.
On Android 10, I would highly recommend OmniROM, which offers an archive with microg prebundled, and also because it perfectly supports microG (signature spoofing, alternative location backends, etc.)
USEFUL LINKS
-MicroG thread: https://forum.xda-developers.com/android/apps-games/app-microg-gmscore-floss-play-services-t3217616
-MicroG wiki: https://github.com/microg/android_packages_apps_GmsCore/wiki
-UnifiedNlp thread (location): https://forum.xda-developers.com/android/apps-games/app-g-unifiednlp-floss-wi-fi-cell-tower-t2991544
-Nanodroid (provides packages related to open source / microG stuff): https://forum.xda-developers.com/apps/magisk/module-nanomod-5-0-20170405-microg-t3584928/ (you need to download the microG edition) + here to understand how to edit the .nanodroid-setup file: https://gitlab.com/Nanolx/NanoDroid/blob/master/doc/AlterInstallation.md#detailed-description
-microG unofficial installer (doesn't work on our device yet): https://forum.xda-developers.com/android/development/microg-unofficial-installer-t3432360
-Useful website about installing, getting packages, etc. : https://shadow53.com/android/no-gapps/setup-guide/microg/
-Great list of FOSS (open source software) apps for Android: https://github.com/offa/android-foss
-Alternative to Google apps: https://shadow53.com/android/no-gapps/alternatives/
-Personnal experience feedback: https://forum.xda-developers.com/android/general/gapps-free-samsung-galaxy-s3-lte-gt-t3553620
If you read all these threads you'll start to have a good understanding of what is microG and how to live without Google.
Prerequisites:
-OnePlus 6
-Unlocked bootloader
-TWRP installed
-A ROM supporting microG
-All files downloaded, on your device
DOWNLOAD LINKS
-OOS: https://forum.xda-developers.com/oneplus-6/how-to/official-oxygenos-5-1-5-ota-oneplus-6-t3794232
-TWRP: https://forum.xda-developers.com/on...overy-unofficial-twrp-touch-recovery-t3860815
-Magisk: https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
-Nanodroid: https://downloads.nanolx.org/NanoDroid/Stable/ (you need to download the microG file)
-Push Notification Tester: https://play.google.com/store/apps/details?id=com.firstrowria.pushnotificationtester
-Working Google Maps app: https://www.apkmirror.com/apk/google-inc/maps/maps-9-82-1-release/
-F-Droid: https://f-droid.org/FDroid.apk
INSTALLATION TUTORIAL
Italic = recommended, but not mandatory. Do it if something doesn't work properly
0) DON'T RESTORE your apps until everything is set up, otherwise you'll have issues with GCM (getting instant notifications from messaging apps for example)
1) Flash the custom ROM of your choice ( these instructions should work: https://privatebin.net/?42d550f9ae5df09f#imAFxWjM0gW+V9+ex+8nRyYSoSQzLPjhNXsbKIUjzqA= )
2) Flash magisk, reboot to system
3) Reboot to recovery
4) Flash Nanodroid (you need to download the microG edition, and make sure you have made the .nanodroid-setup file at the root of your internal storage, see instructions here https://github.com/Nanolx/NanoDroid/blob/master/doc/AlterInstallation.md) or you can also try MinMicroG (https://github.com/FriendlyNeighborhoodShane/MinMicroG_releases/releases).
If you choose nanodroid, update microG thhis way: https://www.reddit.com/r/MicroG/comments/fd7udr/fork_of_microg_gmscore_with_unifiednlp_working_in/
5) Reboot to system
6) Open MicroG, give it permissions if that's not already the case
7) Click on self-check. Give signature spoofing to all the empty boxed so they get ticked.
For Omni/Arrow/Aex, you can make sure it's allowed in settings/apps & notifications/apps permissions/spoof package signature. for playstore/fakestore make sure you click on the 3 dots and check system apps (if it exists).
8) Give permission to ignore batter optimizations.
9) Enable Google device registration and Google Cloud Messaging.
10) Enable Safetynet if you want
11) Click on UnifiedNlp and active the 3 backends: location backends: Mozilla+ Déjà Vu; adress lookup backends: Nominatim.
12) REBOOT
13) Open your phone app, and type this:
Now try this instead in order to manually enable device registration and connect to Google Cloud Messaging:
Code:
*#*#2432546#*#*
Code:
(old) *#*#42678278#*#*
. Nothing will appear on your screen but it can help. It's probably necessary but I prefer to make all the steps to make everything work. Sometimes logging in on your Google account through settings help. You can then log out if you don't want to use any Google account.
14) Install Push Notification Tester from Yalp Store.
15) Test the app, see if everything works. If it doesn't, ask for advice here as it should at this point. You can try to reboot one more time. Make sure that in the GCM settings you're connected since X time, otherwise something is wrong. Step 23 is the most important step to check if it doesn't work.
16) Go back to the self-check menu, now you can check the self check status and almost all boxes should be ticked. Some are not for me but GPS still works, even on Google Maps. Here is a screenshot of how it looks like for me: https://i.imgur.com/WsPX5RC.png
17) Now you can try to install the apps you want! Don't install apps that need push notifications before all these steps otherwise they might never be registered. Clean installing apps is recommended. You can try to restore them from a backup as well, but it often doesn't work. The middle ground solution is to install the app with the Yalp Store / F-droid and then restore its data with Titanium Backup for example.
18) Now you should see apps being registered in microG.
19) You can make sure your gps work with either OSM (https://f-droid.org/en/packages/net.osmand.plus/) or Google Maps (see apk mirror link earlier, the last version won't work). You should get your location without any isuses at this point.
20) Enjoy your almost Google free phone.
EXTRAS:
α) If you have issues with location, you can try this (on some custom ROMs, Google Maps finds my location but then it doesn't update and so if I move around it won't update my location. Also sometimes I need to reload the app to update my location which is quite inconvenient. It seems that doing the steps following help)
Install a terminal emulator (I recommend Termux)
Make sure your phone has root rights and type :
Code:
su
Authorize the app
Type next:
Code:
pm grant com.google.android.gms android.permission.ACCESS_FINE_LOCATION
Then
Code:
pm grant com.google.android.gms android.permission.ACCESS_COARSE_LOCATION
iii) Reboot
β) If you have issues in general, try to update Nanodroid (if you used Nanodroid, ofc) apps from F-Droid. Add this repo to F-Droid: https://www.nanolx.org/fdroid/repo/
And then make sure all your apps are updated (including microG GmsCore)
A) DroidGuard uses non-open source stuff. It's in order to pass safety net.
B) GCM is not open source either.
C) If you want google maps to work, you need to install an "old" version and not update it. You can find it here: https://www.apkmirror.com/apk/google-inc/maps/maps-9-82-1-release/. Sometimes, your location might never appear. In this case, restart a few times Maps until your position shows up.
D) You can also try to install MicroG and its dependencies as user apps. I've tried it and wasn't very happy with the results as they don't work as well being user apps. From what I've heard, everything works fince except location. So you can give it a try as well this way.
E) My personal .nanodroid-setup is this one (to understand what it does, check here: https://gitlab.com/Nanolx/NanoDroid/blob/master/doc/AlterInstallation.md#detailed-description ):
Code:
nanodroid_gmscore=0
nanodroid_play=21
nanodroid_overlay=0
nanodroid_mapsv1=1
nanodroid_gsync=0
nanodroid_swipe=1
nanodroid_forcesystem=0
nanodroid_fdroid=1
nanodroid_nlpbackend=1100
Reserved.
Very nice,
too bad that it doesn't support OOS but it's understandable.
nimrodsv said:
Very nice,
too bad that it doesn't support OOS but it's understandable.
Click to expand...
Click to collapse
Maybe it could work with nanodroid patcher for signature spoofing and then manually deodexing the ROM. It would also be necessary to remove all the Google apps. So yes I guess it's just easier to use a custom ROM as a saner base.
nimrodsv said:
Very nice,
too bad that it doesn't support OOS but it's understandable.
Click to expand...
Click to collapse
Like above, it could work. By installing xXx module and choose total gapps removal then try what he said above for spoofing. Tempted to try, but can't atm.
OOS has normally odexed system and do not support signature spoofing.
An option would be to deodex services.jar and the use the nanodroid patcher to enable signature spoofing.
I have done that for some 8.1 OOS roms but not on the latest releases.
whizeguy said:
Like above, it could work. By installing xXx module and choose total gapps removal then try what he said above for spoofing. Tempted to try, but can't atm.
Click to expand...
Click to collapse
NisseGurra said:
OOS has normally odexed system and do not support signature spoofing.
An option would be to deodex services.jar and the use the nanodroid patcher to enable signature spoofing.
I have done that for some 8.1 OOS roms but not on the latest releases.
Click to expand...
Click to collapse
Maybe I'll give a try it seems possible.
@Tomatot- I see that you've tried to working with MicroG on Omni but getting bootloops and that you will try working with it again soon.
Anything I should know before I try this on Omni? Thanks!
nimrodsv said:
@Tomatot- I see that you've tried to working with MicroG on Omni but getting bootloops and that you will try working with it again soon.
Anything I should know before I try this on Omni? Thanks!
Click to expand...
Click to collapse
I had a weird experience on Omni. At first it was working all fine with nanodroid-microG, but then I tried to change the .nanodroid-setup and it broke all my system, I was never able to make it work again on Omni. I also tried once the Nisse .zip and it didn't work either. So I can't really tell what's the pattern to make things work or not work... I really liked Omni so I'm going to try again within the next few days, with a nice clean flash and Nisse zip. I will let you know. If you're impatient and want to try, try to follow the steps from this tutorial and let me know how it goes.
Omni is a bit tricky with permissions, use the latest Nanodroid-microG from https://downloads.nanolx.org/NanoDroid/Stable/ to install on omni, it adds bit more (calendar and contacts sync etc) that i dont want tho
NisseGurra said:
Omni is a bit tricky with permissions, use the latest Nanodroid-microG from https://downloads.nanolx.org/NanoDroid/Stable/ to install on omni, it adds bit more (calendar and contacts sync etc) that i dont want tho
Click to expand...
Click to collapse
Did you manage to make your script work on Omni? I'm not interested in these extras either.
Tomatot- said:
Did you manage to make your script work on Omni? I'm not interested in these extras either.
Click to expand...
Click to collapse
Yes, but some extra work is needed: Open the zip with 7-zip and extract all item from priv-app and delete the priv-app folder from the zip.
Install rom, the modified zip and boot into system.
Install the extracted apps normally.
Use https://forum.xda-developers.com/apps/magisk/module-terminal-app-systemizer-ui-t3585851 to convert the 4 installed apps (gms, gsf, phonesky and yalp) to system apps (to priv-app).
Thats bit much but its functional on omni.
NisseGurra said:
Yes, but some extra work is needed: Open the zip with 7-zip and extract all item from priv-app and delete the priv-app folder from the zip.
Install rom, the modified zip and boot into system.
Install the extracted apps normally.
Use https://forum.xda-developers.com/apps/magisk/module-terminal-app-systemizer-ui-t3585851 to convert the 4 installed apps (gms, gsf, phonesky and yalp) to system apps (to priv-app).
Thats bit much but its functional on omni.
Click to expand...
Click to collapse
Awesome, thanks, I'll try this asap.
I will update OP but I can tell Arrow OS seems to support perfectly MicroG. And your script works directly @NisseGurra . I've noticed the location apps are a bit oudated, could you update them please? Cheers.
Thread updated with my experiences with the different custom ROMs available on our device. i've also improved instructions a little and make some steps not mandatory but recommended.
Thanks very much for this great tutorial although I've never had an OnePlus. Quite a long time ago, I tried to capture my personal way to become GApps-free from the very beginning by installing µG un to today where I always use NanoDroid. Maybe my thread contains some information useful to you?
Oswald Boelcke said:
Thanks very much for this great tutorial although I've never had an OnePlus. Quite a long time ago, I tried to capture my personal way to become GApps-free from the very beginning by installing µG un to today where I always use NanoDroid. Maybe my thread contains some information useful to you?
Click to expand...
Click to collapse
Yes I read it and it was very useful. Your thread was already included in "useful links" btw.
Updated backends microg installer (attached)
NisseGurra said:
OOS has normally odexed system and do not support signature spoofing.
An option would be to deodex services.jar and the use the nanodroid patcher to enable signature spoofing.
I have done that for some 8.1 OOS roms but not on the latest releases.
Click to expand...
Click to collapse
whizeguy said:
Like above, it could work. By installing xXx module and choose total gapps removal then try what he said above for spoofing. Tempted to try, but can't atm.
Click to expand...
Click to collapse
Bumping you again to give you some news.
So I really don't feel like going back to use Google Play services but I miss OOS for battery life and performance reasons.
However, I feel like deodexing OOS is really not optimal, see these links:
https://i.imgur.com/FRJgqVm.png
https://github.com/anestisb/vdexExtractor/issues/33
https://i.imgur.com/9Y6JBGD.png
So yeah, it's a tough choice...
Tomatot- said:
Bumping you again to give you some news.
So I really don't feel like going back to use Google Play services but I miss OOS for battery life and performance reasons.
However, I feel like deodexing OOS is really not optimal, see these links:
https://i.imgur.com/FRJgqVm.png
https://github.com/anestisb/vdexExtractor/issues/33
https://i.imgur.com/9Y6JBGD.png
So yeah, it's a tough choice...
Click to expand...
Click to collapse
Aw man.. That's just too bad :/ thanks for the update mate.

Categories

Resources