No, after patching you can disable developer options, usb debugging and root if you want.
I have added a small explanation in the readme, but I will add a more complete guide later since I have to change a lot of things.
edit: @paulakreuzer, and probably @Roboe
this is a long post. below i am notifying you that i edited the guide â can you please read this post here and check whether the edits are ok?)
ok, I still managed yesterday. it was indeed the microG version which was wrong.
Here is how it happened:
After adding the ”G repo to fdroid, when i searched for âmicrogâ among the results are
- FakeStore
- microG DroidGuardHelper
- microG Services Framework Proxy âŠ
- ”G UnifiedNlp (GAPPS)
- ”G UnifiedNlp (no GAPPS)
- ”G UnifiedNlp (GAPPS) (legacy)
When I selected â”G UnifiedNlp (no GAPPS)â it showed that it is from the ”G repo. So I installed it. It installed version 1.6.7.
After it became obvious to me that this is not the real version (you asked me to check the "microG Settings, I only hat UnifiedNlp settings), I had fdroid only show me the contents of the ”G repos. And only then did âmicroG Services Coreâ appear in the list. When I selected it, it indicated that it is installed and that it wants to âupdateâ from version 1.6.7 to 0.2.4. After I did this, everything worked.
(And now I see that I could have achieved the same by selecting the version 0.2.4-39 from the list it gives you in fdroid when you select â”G UnifiedNlp (no GAPPS)â. By default it installs version 1.6.7 which is from the âF-Droidâ repo (which I did not notice, because it is somewhere down in the list! I just saw that it says âmicroG F-Droid repoâ (first list entry) and thought that itâs ok then.)
I see now that this is pretty much the link that you posted @Roboe (twice
)
I took the liberty to add a corresponding comment to the wiki guide! While I was at it, i tried to polish the guide a bit (most importantly, I removed the âLevelâ words, as they seemed really confusing to me â itâs not a consecutive list of steps you have to do (hehe, you might think this trivial, but honestly it took me a very long time before I dared to try this, because it sounds like an awful lot to do. but no, itâs just: install ”G, patch with tingle. DONE (I am laughing now⊠after my extensive list of issues, this seems a bit ridiculous
))
I hope you appreciate the edits, please feel free to improve (or revert if it does not make any sense to you)
Can you please check point 5.1b â is this still up to date? I only had to âdeactivateâ root after patching with Tingle (actually did I even have to?)
Also at the end of point 4, it sayd "Install the Xposed Module âFake GAPPSâ as you installed other Modules above
As this is not necessary â ”G + (optional) FakeStore + (optional) Tingle is enough â I put an âOptionalâ there. Maybe clarify what this would take care of (the FakeStore? anything else?)
For now I saved my edit. Can somebody please look at it, I think point 5 should be completely reordered to make it clear that most of it is optional (Making Signature spoofing point 1 seems unnecessary, this is probably rather the last step as only some apps will need it? or will it always be necessary?).
But we might also want to keep it for historic reasons (e.g., references to "point 5.5, like I gave above). For now I only mentioned that steps might be optional.
(We could also copy my edit to a new wiki post, revert all my changes in the âoldâ guide and then properly rework the new guide and link to it from the old one. That way, all the references to âlevelsâ/âpointsâ/âstepsâ from other threads would still be understandable â what do you think?)
I moved this post here as this is the meta-discussion for the wiki, as the wiki states
You should have posted the suggested edits here first to discuss before such extensive changes. I havenât looked through all the changes yet as they are hard to identify when the whole thing changed so much, but from the top of my head I can say that Iâm not happy with you changing the headlines and moving things from one to another.
The guide is being referred to all around the forum as (do level x step y to z from this guideâŠ) and now if someone reads that they wonât have any idea what to do.
Iâd suggest you write down everything you changed, I reset to a previous state and then we decide together how to implement your changes.
yes, see the last few lines of my previous post.
well, sorry i wasnât aware of the âdiscussionâ policy. just wanted to try and make it more understandable. but of course, as i also stated, the references to the guide from all the other threads need to work.
i copied âmyâ current version. you may revert it. (honestly, i think the comparison feature works quite well, you can see in green and red what changed. (compare ver. 17 vs 18, ver. 19 were just minor edits.) EDIT: actually, I just saw that it does not work well at all also note that i did not âmove things from one to anotherâ â itâs mostly cosmetic changes and a bit more info (mostly with microG))
but as i stated, it would make it much more understandable if it would not sound like a list of points that you have to check off â thatâs what i tried to achieve with my edits. do you think it would be a good idea to just make a new wiki post with âversion 2â of that guide?
It was more meant like this: Immagine an app you want to install as a monster in a computer game. In the first level the monsters can simply be defeated by tapping on them, but the more you level up the more resilient the monsters get. Level 1 is the basic guide to installing apps, then if you find apps that wonât work (harder monsters), youâll try the next level, then the next,âŠ
Well yeah I first thought that you had moved it but now I see you totally removed the âMocking Google with microgâ part. It was in level 4, because for many apps that was all you needed to do, no Tingle, no root-removing-or-hiding, no DroidGuard, âŠ
No I think thatâs a bad idea, because then weâd have to maintain two wikis with the same content. Some parts would be up to date in one of them, other parts in the other one.
Just post here your changes and weâll figure this out (PS: tomorrow).
PPS: Hopefully @oli.sax can help then as he knows the correct procedure for level 5. I stepped back once you had to remove root and Xposed to bypass SafetyNet.
ok, for now: below is the whole post after my edits.
I already understand that I misinterpreted the end of âyourâ level 4.
My main idea with the edits (apart from providing a few more details, mostly on the ”G part) was to convey that you do not need to think of this as a list of things you need to do.
Example: I had to get my app from apkmirror (so level 3 monster? but then itâs an apk file that i installed, so level 1?) and then âonlyâ patch with Tingle and set up ”G (so part-time level 5? â e.g. i did not have the issue you mentioned in your PPS since i did not have Xposed installed (which I believed I needed for a long time and thus was very reluctant to give everything a try)).
Also, there might be an app which needs ”G but does/does not work with root. So here âlevel4â and âlevel 5â get mixed up.
As for the installation procedures: I find it much easier/comfortable/carefree to trust f-droid and just install sth. by clicking on a button instead of downloading something from some shady website ⊠and so forth. So âmyâ Level 1 is F-Droid App Store.
So those were my thoughts on the levels and why i removed them â i tried to rather present everything as âalternativesâ or a set of options. As stated before, I see the issue with the references to the guide that already exist. â I donât see the problem, however, with leaving the current guide as it is and only add a link to a new version (âThis guide will not be updated anymore, see here for a new versionâ or the like). that way we could rewrite it and not mess up all existing references. if anybody follows an old link, they will still see what was meant (âdo step 5 in level 5â) but get a chance to see the updated guide as well.
ALL THAT BEING SAID: It should me made such that it is most helpful for future âsolution seekersâ maybe i am the only one who is(was) confused by the levels and the amount of information.
This is a list of the different possible ways to install apps on FP Open OS. For some apps only one way will be possible and for some you might have to trick them to work.
Since itâs a #wiki you can make it better by editing it. If you want to discuss the guide please do so here.
#Installing from .apk-files.
read on...
To install an App on Android you need an .apk file. This is a package that contains the app. But first, to be able to install such an .apk file you need to allow the installation from unknown sources in the phoneâs settings. To Android an unknown source is anything but the Play Store unfortunately.
So go to Settings > Security and toggle âunknown sourcesâ.
Now download the .apk file to your phone or copy it from your computer via USB.
E.g. download F-Droid from here: https://f-droid.org/
Once itâs downloaded you can tap on the notification or navigate to the file (depending on your browser either in âDownloadsâ or the browserâs folder) with the preinstalled App âAmazeâ. After tapping the .apk file or the notification the installation window opens and you just have to tap ânextâ and âinstallâ.
Troubleshooting - issues that may occur:
- You canât tap the âinstallâ button.
- This is another strange security feature of Android and usually caused by an app that is creating an overlay over your screen - e.g. to dim the screen in the evening. Another example is the App OpenWLANMap. Quit these apps (within the app or by going to Settings > Apps > All and tapping âforce stopâ) - then the âinstallâ button should work again.
- After I tap âinstallâ I get an error message.
- This usually happens if the app you try to install is not compatible with the phone. Make sure you are trying to install the right version of the app. Some apps will not install on modified Operating Systems (e.g. rooted). Either find an alternative app or see below for how to mock a unmodified OS.
#Installing from App Stores
read on...
App Stores - or app repositories - are Apps that show you a collection of Apps to download and install and - usually - automatically check for updates of apps installed via the app store.
The most used App Store on Open OS is probably F-Droid. It contains only free (as in freedom and as in free beer) apps and itâs a very secure source for apps as the people who run it compile the apps themselves - making sure there is no malware or spyware embedded in them. You donât need an account as with most other app stores.
I dare say youâll get everything you need on F-Droid, unless you need a specific app that is not available there and you canât use alternatives.
In that case you can try other App Stores like the Amazon Store or you can get apps from the Play Store from alternative sources (see below).
Troubleshooting - issues that may occur:
- âCanât update app from different sourceâ
- If you have different app stores you can run into trouble updating. Basically you can only update each app within the same app store as you installed it in the first place. If you want to update it with another store - e.g. because Store 2 has a newer version than Store 1 - or even downgrade it - because you trust Store 1 more than Store 2 - then you need to uninstall the app first.
#Alternative sources for Play Store apps
read on...
So you switched to Open OS to get back a bit of your freedom from Google, but now you still want to use some apps that are not available on alternative stores?
Thatâs usually not a problem. You can download .apk files of Play Store Apps that donât cost anything from
- https://www.apkmirror.com/
- Use Raccoon (Youâll need to log in with a Google Account)
- https://apps.evozi.com/apk-downloader/
- Swap apps with F-droid
- Install Yalp Store from f-droid (Youâll need to log in with a Google Account)
Most apps installed that way will work on Open OS. Some apps will claim they need Google Services, but still work. Some will really not work, but you can trick them into working (see below).
If you have troubles getting an app to work (because, for example, it requires Play Services or does not want to run on rooted phones) you can try one of the following:
#Tricking apps to work using Xposed modules
read on...
If you run into troubles caused by trying what is described below Fairphone Support may not be able to help you until you revert to a previous state. So make sure you make a good backup first - preferably with TWRP.
If an App you installed refuses to work (properly) because you donât have Google Play Services installed or because your phone is rooted here are some tricks to work around this. For some apps these tricks wonât be enough and youâll need to make them believe you have an unmodified OS (see below).
###Hiding root with Root Cloak
If an App says it wonât work on ârooted or jailbrokenâ devices and simply switching off root (in Settings > Developer (If there are no developer settings then root is not enabled)) doesnât do the trick or you need root while using the app, you can try root cloak to hide your root status.
Here is how:
- Youâll first need to enable root in the developer settings. If you donât have developer settings then go to Settings > About phone and tap the build number 10 times.
- Now go to Settings >Developer and enable root.
- Now youâll need XPosed. There are two versions - the official Xposed Framework and Systemless Xposed. Since the latter also works with Level 5: Mocking an unmodified OS Iâll explain how to install it here.
- Install the Xposed Installer from here.
- Start it and swipe to the left twice to get to the systemless tab. There download the Framework.
- Xposed will ask for root access (allow it) and then reboot to recovery (TWRP).
- In TWRP tap install and navigate to the downloaded file (itâs not in downloads but in Xposed.)
- Install it and after you get the blue âSuccessâ message reboot to system.
- Now open Xposed Installer again and go to download and search for root cloak.
- Download and install it, then go to Modules.
- Enable root cloak and reboot the phone.
###Surpressing âThis App needs Google Play Servicesâ messages
If you have an app that works, but you constantly get error messages about the missing Google Play Services you can try the XPosed Module âThis App will run without Google Play Servicesâ.
Do the exact same thing as explained above for root cloak except donât download the âroot cloakâ module but âThis App will run without Google Play Servicesâ.
If this doesnât do the trick youâll need microG. See Step 5 in Mocking an unmodified OS. (Optional: Install the Xposed Module âFake GAPPSâ as you installed other Modules above.)
#Mocking an unmodified OS with microG
read on...
This could brick your device.
Youâll lose root and have to uninstall Xposed!
Note that some of these steps are optional. Your app might be happy with just ”G with Nlp backends. Or it might additionally need the play store (i.e. âFakeStoreâ) or it might additionally need signature spoofing.
###Step 0: Prepare
- Make a full backup with TWRP
- If you already tried different ways and following this guide doesnât work it may be best to start fresh, so wipe everything with TWRP (make sure you saved the backup somewhere else).
- After you wipe the system with TWRP youâll have to reinstall the OS, but before you can do that youâll have to reboot to Recovery (
make sure you donât reboot to system as there is none).
- As TWRP starts again it will ask you whether it should be allowed to make changes to system. Youâll have to say yes!
- You can then restore âDataâ from your backup and continue with step 1.
###Step 1a: Patch the framework.jar with Tingle to be able to spoof signatures.
- On your computer, download Tingle (https://github.com/ale5000-git/tingle) and its dependencies (java, p7zip-full, adb, python)
- Connect your phone to your computer, make sure that
- USB debugging is activated
- adb has root access
- multimedia usb sharing is deactivated (select PTP instead of MTP as usb connection option).
- Verify that adb sees your device (you might have to add its USB ID first)
- In your computerâs terminal type python main.py (or python3 main.py), select option â1 - patch file from a device (adb)â and keep a copy of the output
###Step 1b: Uninstall root (skip if not applicable)
@Roboe made a free flashable ZIP.
- Download ZIP to your FP2 (from here)
- Flash from TWRP
- Reboot to System
Alternative version with a proprietary app
- Download and install Root Explorer from https://rootexplorer.co/ (thanks @oli.sax)
- Open it, grant superuser rights.
- Navigate to system/bin and delete âsuâ
- Navigate to system/xbin, mount R/W and delete âsuâ (
make sure you do it in this order, otherwise you wonât be able to delete the /bin su file. )
- Reboot, now you donât have any root rights anymore.
You can test with Root Verifier or by trying to navigate to /root with Amaze. If you get an error message like âAmaze was not granted root rightsâ than you succeeded!
Steps 2-4 are not necessary anymore. So they are hidden here.
###Step 2: Flash & Install Magisk.
Get the latest Magisk zip and apk from here flash the zip in TWRP and then install the apk.
If you start the app it and it tells you that root is not installed and everything is green then you succeeded!
###Step 3: Flash & Install phhâs SuperUser.
Get the zip file from (direct link, thanks @oli.sax) and the apk from here. Flash the zip then install the apk.
TWRP doesnât detect this way of implementing superuser either so every time you reboot from TWRP it will ask you to install superuser. Make sure to decline!
Now in magisk the root status should be âmountedâ in red. Use the toggle, allow root rights and it should turn to a green ânot mountedâ. If so: Success!
###Step 4: Install &Flash systemless Xposed.
Install the Xposed installer from here. If you have flashed Xposed before download the correct uninstalled within the app and flash it with TWRP. Now download the systemless Xposed and flash it.
If you open the Xposed Installer it should now show you a big white on green checkmark meaning you installed Xposed successfully!
Install the âFake GAPPSâ module in systemless XPosed if you havenât yet.
- Enable the module
- Reboot
###Step 5: Install microG.
- Uninstall any microG apps you may have downloaded from the standard F-Droid repository
- Add the microG repository to F-Droid.
- Go to the microG website and either
- add the repository address manually in F-Droid->Options->Repositories->"+", or
- use a QR-code reader (from F-Droid) to scan the code and then select to open the link in F-Droid to add the microG Repository)
- Install the latest
- microG Services Core
-
may be called â”g UnifiedNlp (no GAPPS)â instead. In the list of versions, make sure to select the latest version from the âmicroG F-Droid repoâ, since then both versions from âmicroG F-Droid repoâ and âF-Droidâ are listed (the ones from âF-Droidâ have higher version numbers, which might be confusing at first)
-
- microG Services Framework Proxy
- FakeStore
- and at least one Unified NLP backend (from F-Droid repository, see this list to get an idea of what you might want).
- Open microG Settings
- Enable device checkin and cloud messaging (currently called âGoogle device registrationâ and âGoogle cloud Messagingâ).
- Do the âSelf-Checkâ
- Ensure that all points are checked. If one of the points is not checked, read its description.
- Open the UnifiedNlp Settings and set up the Nlp Backends you installed in the previous point
- Reboot
- Open microG Settings > Self-check again. Now all points should be checked. If so then you succeeded!
###Step 6 (optional): Install microG DroidGuard Helper.
From microGâs F-Droid Repo.
Can be tested with com.scottyab.safetynet.sample. (from here thanks @oli.sax)
If it tells you âSafetyNet request: successâ âResponse validation: Successâ, âCTS profile match: falseâ, then you succeeded!
###Step 7 (outdated): Updating the OS with this setting
This part is outdated
If there is a new update you wonât be able to apply it via the updater.
- Download the âOTAâ file from here and save it to your SD card along with the .zip files of the latest magisk, SuperUser and systemless XPosed (download from within the app or here)
- Install the OS in TWRP and then flash magisk, Superuser and XPosed.
- Reboot to System
- Open Magisk and make sure itâs all still green and the superuser toggle works.
- Open XPosed and make sure all Modules you need are enabled - if some werenât reboot afterwards.
- Open microG Settings and do the selfcheck to see everything still works.
- Disable root with magisk and check the Safetynet helper
- If anything doesnât work as expected make sure you have all the latest versions installed. If the problems persists letâs discuss here.
#Alternative/Workaround: âMultibootâ to FP OS
read on...
Follow this wiki to install EFIdroid and use it to install FP OS alongside FP Open OS.
Possible Issues & Cons:
- For me Security Settings in FP OS kept crashing so someone who knows their way around ADB had to enable âallow unknown sourcesâ remotely so I could install apps without a Google account.
- You can use the guide from the first spoiler of this wiki to get rid of google as much as possible, but you wonât be as free and protected as on Open OS.
- Also some apps will only work if you enable at least Google Play Store & Services.
Note: I just merged it with the point before, because it directly refers to that. âif shutting of the warnings is not enough: mock play servicesâ
I donât think itâs that confusing since in level 5 it never says that you need Xposed.
On the other hand I believe that maybe all you needed was Level 4. Level 5 is for apps that access Googleâs SafetyNet to verify that you have an unmodified OS, so in that case youâll need to remove root.
In Level 4 youâll only mock the existance of Google Apps with microg and youâll spoof signatures by installing the NoGAPPS Xposed Module if I remember correctly. (Maybe we should mention there that you can alternatively do that with Tingel, although I believe flashing a zip file in TWRP is easier for basic-ish users than patching something via a computerâs terminal.
No, thatâs simply Level 5.
Itâs the same for me. But still for first time smartphone/android users youâll first have to explain the general concept of installing app packages. Once F-Droid will be preinstalled like itâs planned for future updates (probably with Android 6) Level 2 may come first.
But as for now, Level 1 explains how you install F-Droid, which of course comes first.
I actually think that is a bigger source of confusion than the levels. Now when I tell someone: Do Level 5, they know to follow everything there, but in your guide if I tell someone to Mock an unmodified OS how would they know which of your optional steps are mandatory for them?
First Case is an app that you already installed and that generally works already, it just has problems with the location, so that is the wrong wiki, youâll find that in the #gpsguide or the first steps with Open OS wiki.
EDIT: Third Case is Level 4âs Mocking Google with microg. Second case is nothing, as microg without signature spoofing doesnât do anything.
Well I donât think that would make any sense. If the guide is outdated it wouldnât help anybody. No I think we should figure out a way to incorporate your changes in the current guide, without messing with the levels. Maybe we should explain the levels better first.
Could you mark the changes in your version?
Hi paul !
At the moment the âLevel 5â description is up-to-date. There were no recent change in the security measures of DroidGuard/SafetyNet and Iâm still able to play âPoke Mongoâ on my unrooted FP2-OpenOS with Tingle and MicroG
Thanks for the clarification.
Just a few more questions.
Did I get this right, or am I mixing up things there?
And do you happen to know about Signal? Does it need full Level 5 procedure (i.e. does it work with safety net?) or Level 4 (just microg) or something in between?
Level 4 as described in the guide do 3 things
- Hide root (with a Xposed module called Root Cloak)
- Spoof signature (prerequisite for microG) with an Xposed module called NoGAPPS (*).
- Mocking GoogleApps with MicroG
(*) Of course step2 could also be achieved with Tingle (as described in Level 5), but as we are already installing Xposed for step1 this is much easier to continue with Xposed and install a second moduleâŠ
I donât use Signal and I have no clue of the Level requested
-
microG and UnifiedNLP are mixed in the same app (although from different repositories) inside F-Droid so you see versions of both of them.
-
If you donât have signature spoofing no app will use microG (except the ones patched specifically), so cosidering it optional is not really good.
-
You must have a PlayStore or FakeStore or BlankStore (if you donât have one of them apps will not detect Google Play Services - microG).
Personally I think that all this guide is confusing, a noob user want one way, everything else confuse people.
@paulakreuzer: My flashable zip install microG + Play Store + old Maps API in a single step, in a so easy way that even a child can do it
Signal doesnât need safety net, just microG (with Google Cloud Messaging enabled in the settings) + signature spoofing.
yes, but then again: In Level 5 all I needed for my specific case (getting Signal to work) was âStep 5â and (after that, but, ok, that does not matter so much) step 1a.
Retrospectively, I think the main issue for me was that it took me a long time to understand WHY you need to do this or that. Thatâs the problem if things are presented as a set of instructions only (this is of course a general comment but also for the guide a few more explanations (or references to them?) might be good).
just for the sake of completeness (and ok, also to prove my point a bit ) note that this information
does not match this one:
If the 2nd statement is true, then yes, for Signal it would probably have been enough to do Level 4. (But I always was very reluctant (still am) to try Xposed â it seems very involved. With Tingle itâs simply a single script that you run).
I will try to mark the changes I introduced and post it again (first wanted to edit above, but this is easier i think).
except for the headlines, i highlighted everything i changed in bold and with some â+â-signs (for the lack of assigning color to the text).
I realize that the âexplanatoryâ comments i introduced might not be correct (see above, our discussion level 4 vs level 5) â especially the one in the beginning of level 5 (while the idea might be correct, the examples are probably poorly chosen)
+++++++This is a list of the different possible ways to install apps on FP Open OS. For some apps only one way will be possible and for some you might have to trick them to work.+++++++
Since itâs a #wiki you can make it better by editing it. If you want to discuss the guide please do so here.
#Installing from .apk-files.
read on...
To install an App on Android you need an .apk file. This is a package that contains the app. But first, to be able to install such an .apk file you need to allow the installation from unknown sources in the phoneâs settings. To Android an unknown source is anything but the Play Store unfortunately.
So go to Settings > Security and toggle âunknown sourcesâ.
Now download the .apk file to your phone or copy it from your computer via USB.
E.g. download F-Droid from here: https://f-droid.org/
Once itâs downloaded you can tap on the notification or navigate to the file (depending on your browser either in âDownloadsâ or the browserâs folder) with the preinstalled App âAmazeâ. After tapping the .apk file or the notification the installation window opens and you just have to tap ânextâ and âinstallâ.
Troubleshooting - issues that may occur:
- You canât tap the âinstallâ button.
- This is another strange security feature of Android and usually caused by an app that is creating an overlay over your screen - e.g. to dim the screen in the evening. Another example is the App OpenWLANMap. Quit these apps (within the app or by going to Settings > Apps > All and tapping âforce stopâ) - then the âinstallâ button should work again.
- After I tap âinstallâ I get an error message.
- This usually happens if the app you try to install is not compatible with the phone. Make sure you are trying to install the right version of the app. Some apps will not install on modified Operating Systems (e.g. rooted). Either find an alternative app or see below for how to mock a unmodified OS.
#Installing from App Stores
read on...
App Stores - or app repositories - are Apps that show you a +++++++collection+++++++ of Apps to download and install and - usually - automatically check for updates of +++++++apps installed via the app store+++++++.
The most used App Store on Open OS is probably F-Droid. It contains only free (as in freedom and as in free beer) apps and itâs a very secure source for apps as the people who run it compile the apps themselves - making sure there is no malware or spyware embedded in them. You donât need an account as with most other app stores.
I dare say youâll get everything you need on F-Droid, unless you need a specific app that is not available there and you canât use alternatives.
In that case you can try other App Stores like the Amazon Store or you can get apps from the +++++++Play Store from alternative+++++++ sources (see below).
Troubleshooting - issues that may occur:
- âCanât update app from different sourceâ
- If you have different app stores you can run into trouble updating. Basically you can only update each app within the same app store as you installed it in the first place. If you want to update it with another store - e.g. because Store 2 has a newer version than Store 1 - or even downgrade it - because you trust Store 1 more than Store 2 - then you need to uninstall the app first.
#Alternative sources for Play Store apps
read on...
So you switched to Open OS to get back a bit of your freedom from Google, but now you still want to use some apps that are not available on alternative stores?
Thatâs usually not a problem. You can download .apk files of Play Store Apps that donât cost anything from
- https://www.apkmirror.com/
- Use Raccoon (Youâll need to log in with a Google Account)
- https://apps.evozi.com/apk-downloader/
- Swap apps with F-droid
- Install Yalp Store from f-droid (Youâll need to log in with a Google Account)
Most apps installed that way will work on Open OS. Some apps will claim they need Google Services, but still work. Some will really not work, but you can trick them into working (see below).
+++++++If you have troubles getting an app to work (because, for example, it requires Play Services or does not want to run on rooted phones) you can try one of the following:+++++++
#Tricking apps to work using Xposed modules
read on...
If you run into troubles caused by trying what is described below Fairphone Support may not be able to help you until you revert to a previous state. So make sure you make a good backup first - preferably with TWRP.
If an App you installed refuses to work (properly) because you donât have Google Play Services installed or because your phone is rooted here are some tricks to work around this. For some apps these tricks wonât be enough and youâll need to make them believe you have an unmodified OS (see below).
###Hiding root with Root Cloak
If an App says it wonât work on ârooted or jailbrokenâ devices +++++++and simply switching off root (in Settings > Developer (If there are no developer settings then root is not enabled)) doesnât do the trick or you need root while using the app, you can try root cloak to hide your root status.+++++++
Here is how:
- Youâll first need to enable root in the developer settings. If you donât have developer settings then go to Settings > About phone and tap the build number 10 times.
- Now go to Settings >Developer and enable root.
- Now youâll need XPosed. There are two versions - the official Xposed Framework and Systemless Xposed. Since the latter also works with Level 5: Mocking an unmodified OS Iâll explain how to install it here.
- Install the Xposed Installer from here.
- Start it and swipe to the left twice to get to the systemless tab. There download the Framework.
- Xposed will ask for root access (allow it) and then reboot to recovery (TWRP).
- In TWRP tap install and navigate to the downloaded file (itâs not in downloads but in +++++++Xposed+++++++.)
- Install it and after you get the blue âSuccessâ message reboot to system.
- Now open Xposed Installer again and go to download and search for root cloak.
- Download and install it, then go to Modules.
- Enable root cloak and reboot the phone.
###Surpressing âThis App needs Google Play Servicesâ messages
If you have an app that works, but you constantly get error messages about the missing Google Play Services you can try the XPosed Module âThis App will run without Google Play Servicesâ.
Do the exact same thing as explained above for root cloak except donât download +++++++the âroot cloakâ module+++++++ but âThis App will run without Google Play Servicesâ.
+++++++If this doesnât do the trick youâll need microG. See Step 5 in Mocking an unmodified OS. (Optional: Install the Xposed Module âFake GAPPSâ as you installed other Modules above.)+++++++
#Mocking an unmodified OS with microG
read on...
This could brick your device.
Youâll lose root and have to uninstall Xposed!
+++++++Note that some of these steps are optional. Your app might be happy with just ”G with Nlp backends. Or it might additionally need the play store (i.e. âFakeStoreâ) or it might additionally need signature spoofing.+++++++
###Step 0: Prepare
- Make a full backup with TWRP
- If you already tried different ways and following this guide doesnât work it may be best to start fresh, so wipe everything with TWRP (make sure you saved the backup somewhere else).
- After you wipe the system with TWRP youâll have to reinstall the OS, but before you can do that youâll have to reboot to Recovery (
make sure you donât reboot to system as there is none).
- As TWRP starts again it will ask you whether it should be allowed to make changes to system. Youâll have to say yes!
- You can then restore âDataâ from your backup and continue with step 1.
###Step 1a: Patch the framework.jar with Tingle to be able to spoof signatures.
- On your computer, download Tingle (https://github.com/ale5000-git/tingle) and its dependencies (java, p7zip-full, adb, +++++++python+++++++)
- +++++++Connect your phone to your computer, make sure that
- USB debugging is activated
- adb has root access
- multimedia usb sharing is deactivated (select PTP instead of MTP as usb connection option).
- Verify that adb sees your device (you might have to add its USB ID first)
- In your computerâs terminal type python main.py (or python3 main.py), select option â1 - patch file from a device (adb)â and keep a copy of the output+++++++
###Step 1b: Uninstall root +++++++(skip if not applicable)+++++++
@Roboe made a free flashable ZIP.
- Download ZIP to your FP2 (from here)
- Flash from TWRP
- Reboot to System
Alternative version with a proprietary app
- Download and install Root Explorer from https://rootexplorer.co/ (thanks @oli.sax)
- Open it, grant superuser rights.
- Navigate to system/bin and delete âsuâ
- Navigate to system/xbin, mount R/W and delete âsuâ (
make sure you do it in this order, otherwise you wonât be able to delete the /bin su file. )
- Reboot, now you donât have any root rights anymore.
You can test with Root Verifier or by trying to navigate to /root with Amaze. If you get an error message like âAmaze was not granted root rightsâ than you succeeded!
Steps 2-4 are not necessary anymore. So they are hidden here.
###Step 2: Flash & Install Magisk.
Get the latest Magisk zip and apk from here flash the zip in TWRP and then install the apk.
If you start the app it and it tells you that root is not installed and everything is green then you succeeded!
###Step 3: Flash & Install phhâs SuperUser.
Get the zip file from (direct link, thanks @oli.sax) and the apk from here. Flash the zip then install the apk.
TWRP doesnât detect this way of implementing superuser either so every time you reboot from TWRP it will ask you to install superuser. Make sure to decline!
Now in magisk the root status should be âmountedâ in red. Use the toggle, allow root rights and it should turn to a green ânot mountedâ. If so: Success!
###Step 4: Install &Flash systemless Xposed.
Install the Xposed installer from here. If you have flashed Xposed before download the correct uninstalled within the app and flash it with TWRP. Now download the systemless Xposed and flash it.
If you open the Xposed Installer it should now show you a big white on green checkmark meaning you installed Xposed successfully!
Install the âFake GAPPSâ module in systemless XPosed if you havenât yet.
- Enable the module
- Reboot
###Step 5: Install +++++++microG+++++++.
- Uninstall any +++++++microG+++++++ apps you may have downloaded from the standard F-Droid repository
- +++++++Add the microG repository to F-Droid.
- Go to the microG website and either
- add the repository address manually in F-Droid->Options->Repositories->"+", or
- use a QR-code reader (from F-Droid) to scan the code and then select to open the link in F-Droid to add the microG Repository)+++++++
- Install the latest
- microG Services Core
-
may be called â”g UnifiedNlp (no GAPPS)â instead. +++++++In the list of versions, make sure to select the latest version from the âmicroG F-Droid repoâ, since then both versions from âmicroG F-Droid repoâ and âF-Droidâ are listed (the ones from âF-Droidâ have higher version numbers, which might be confusing at first)+++++++
-
- microG Services Framework Proxy
- FakeStore
- and at least one Unified NLP backend (from F-Droid repository, +++++++see this list to get an idea of what you might want+++++++).
- Open +++++++microG+++++++ Settings
- Enable device checkin and cloud messaging +++++++(currently called âGoogle device registrationâ and âGoogle cloud Messagingâ)+++++++.
- Do the +++++++âSelf-Checkâ+++++++
- Ensure that all points are checked. If one of the points is not checked, read its description.
- +++++++Open the UnifiedNlp Settings and set up the Nlp Backends you installed in the previous point+++++++
- Reboot
- Open +++++++microG+++++++ Settings > Self-check again. Now all points should be checked. If so then you succeeded!
###Step 6 +++++++(optional)+++++++: Install microG DroidGuard Helper.
From +++++++microGâs+++++++ F-Droid Repo.
Can be tested with com.scottyab.safetynet.sample. (from here thanks @oli.sax)
If it tells you âSafetyNet request: successâ âResponse validation: Successâ, âCTS profile match: falseâ, then you succeeded!
###Step 7 +++++++(outdated)+++++++: Updating the OS with this setting
This part is outdated
If there is a new update you wonât be able to apply it via the updater.
- Download the âOTAâ file from here and save it to your SD card along with the .zip files of the latest magisk, SuperUser and systemless XPosed (download from within the app or here)
- Install the OS in TWRP and then flash magisk, Superuser and XPosed.
- Reboot to System
- Open Magisk and make sure itâs all still green and the superuser toggle works.
- Open XPosed and make sure all Modules you need are enabled - if some werenât reboot afterwards.
- Open +++++++microG+++++++ Settings and do the selfcheck to see everything still works.
- Disable root with magisk and check the Safetynet helper
- If anything doesnât work as expected make sure you have all the latest versions installed. If the problems persists letâs discuss here.
#Alternative/Workaround: âMultibootâ to FP OS
read on...
Follow this wiki to install EFIdroid and use it to install FP OS alongside FP Open OS.
Possible Issues & Cons:
- For me Security Settings in FP OS kept crashing so someone who knows their way around ADB had to enable âallow unknown sourcesâ remotely so I could install apps without a Google account.
- You can use the guide from the first spoiler of this wiki to get rid of google as much as possible, but you wonât be as free and protected as on Open OS.
- Also some apps will only work if you enable at least Google Play Store & Services.
You got me there. I messed up, but edited it now:
Thanks. Iâll edit the wiki now and incorporate some of your changes (some others we may have to discuss a bit further) and Iâll also add an explanation to the levels.