Howto degoogle your Android phone – Marián Mižik

https://mizik.eu/blog/howto-degoogle-your-android-phone/index.html

Howto degoogle your Android phone

There are many reasons to degoogle your phone and there are 2 main ways how to do it. The hardcore way and the second one, for the sake of this article, can be called the „gracefull degradation way“. Both of them end with your stock android OS replaced by a custom ROM that will lack all of the the Google apps and background services.

Why should I bother?

Degoogle is a process made of multiple steps which require some effort, maybe some money, but definitely time and attention. Degoogling your phone is no exception. You will have to get used to new apps, maybe mourn some nice features. You will be more incompatible with the mainstream people that will send you links to Google services and you wouldn't be able to log in, or use native app to handle the link. They will search for you on Messenger and/or Twitter and won't be able to get in touch with you using their default standard ways. Being different than masses always takes its toll. It is your call if the benefits are bigger than problems that this action causes. For me its worth it. I like that when I tail logcat on my phone and I don't use it, it stays still, because there is almost no background stuff going on. I like that my data are not being checked or processed. I like that I can backup them, migrate them, I like my 2+ days battery life and I don't like being dependent on something/someone.

Blue pill or red pill

So you decided to degoogle? Then you already took the red pill once. Now it is time to make the decision again 🙂 Android OS itself is open source, although, it is developed mostly by Google, so it is made according to Google's plans. Unfortunately, there are many important APIs that are not opensourced and huge amount of apps rely on them. Libraries like Play Services, Google Maps API, Google Cloud Messaging, Network location provider API and so on. Taking the red pill means, you will replace your stock rom for the custom one and won't install any of the Google's proprietary apps. Your phone will be functioning well and battery life will get better, you will use F-Droid or other free store as your app store. But if you will need some app that is only on Google Play, downloading and installing the apk manually won't work if that app will try to use any of that missing APIs. It will most likely stop working during the start, or it will return some kind of error message. This is many times true for mobile banking apps, big companies apps or official government apps.

Thank god there is a blue pill, the „gracefull degradation way“. It is called MicroG. What this set of apps does? They are basically replacing Google's proprietary libraries by impersonating them. They publish the same APIs so the apps relying on it won't crash. In some cases, the MicroG alternative really does the same and returns meaningful data, in other cases it returns dummy data just to comply to given API. Last thing needed to make this all work is to persuade everyone that the MicroG app is really Google app. This means to provide the google package name with a valid signature. This can not be done by Microg itself. It needs an OS level patch called „signature spoofing“ that will allow any app to ask for a permission to directly access signing certificate. Some custom ROMs has this patch applied, some does not. The most popular and widely known custom ROM is LineageOS (before called Cyanogenmod), bude unfortunately, they do not have signature spoofing turned on and they denied proposed PR from MicroG team. More information regarding this topic is here. This is why MicroG offers custom LineageOS builds with signature spoofing turn on and all MicroG apps preinstalled.

What does it all mean for you? For example let your device be good old Google Nexus 6 (codename shamu). Go to the MicroG LineageOS pages for shamu and download the ROM zip. Then go to the twrp recovery pages for shamu and download the img file. And that's it! Now you can follow the standard LineageOS installation instructions for shamu. The only difference will be, that you won't use the img and zip linked in that manual but you will use the previously downloaded twrp img file during recovery flash procedure and the MicroG LineageOS build zip during the ROM installation. Congratulations! Now you have a degoogled Android phone ready to serve you well.

Real life scenario

Now you may say. Ok, I have booted up the device and have nothing besides calls, sms and camera. Let's quickly cover how to setup the device to standard use. You already have browser and photo apps in the initial installation too.

  • Your new app store is F-Droid. Application is part of the initial installation. Open the app, search and install whatever application you need. We will list a few now.

  • My default email client of choice on Android is K-9 mail. It supports POP, IMAP, SMTP, multiple accounts, unified inbox and GPG to name a few.

  • I use „Silence“ for sms, as it gives you encryption options and it has amoled pure black theme which I use throughout the system.

  • NewPipe is my youtube client, it doesn't need the Google account, because it is not using the official API, it only scraps the web itself

  • Tibor Kaputa, a fellow Slovak developer, has a beautiful set of basic apps. He called them „Simple Mobile Tools“. I use almost all of them. I use Simple Calculator, Simple Calendar Pro, Simple Clock, Simple Contacts, Simple File Manager, Simple Flashlight, Simple Gallery Pro and there are others. They are clean, nice to use, they require only necessary privileges, they don't track you, they are ads free and they are open source. If you like them, don't hesitate to support him and then download Simple Thank You app, that will allow you to set unified theme for all of the apps.

  • There are some more advanced apps I use. For example Termux as a terminal emulator, OpenVPN for Android, Scrambled Exif as a tool to strip image meta information before I share it out from my phone and so one. F-Droid has thousands of apps and they will cover most if not all of your needs.

The /e/ platform

There is another alternative called /e/. Man behind this project is Gaël Duval, former founder of good old Mandrake Linux. /e/ has a bit different strategy. They are trying to provide the whole ecosystem so even non tech people that care about privacy can have all of the things I wrote above in one interconnected functioning ecosystem, which replaces Google but is privacy friendly. Basically, from OS point of view, it is a fork of LineageOS with signature spoofing turned on and with MicroG installed. (they were the main sponsor of MicroG project in 2020!) From the app point of view, they forked many of the favourite open source apps, gave them unified look and feel and reimplemented/preconfigured them to be able to connect to /e/ ecosystem of services like email, calendar, contacts, notes, cloud storage for images, videos, backups and so on. They even sell new and refurbished smartphones with warranty and with /e/ already preinstalled. I haven't studied it much so I can't speak for the final result they deliver. I just wanted to point out another alternative, that may suit your needs. You can read more on their pages.

Some tuning

LineageOS (or other custom ROMs) comes with some apps preinstalled. These apps can not be uninstalled using GUI settings. But you can uninstall them from command line using adb:

  • connect your phone and ensure you have developer tools and debugging enabled

  • in terminal type: adb shell

  • now you are in the phone shell and you can execute uninstall command:

      pm uninstall -k --user 0 com.android.gallery3d 

    Replace com.android.gallery3d with package name of the app you want to uninstall. You can find it in the app info screen.

Also, there may be a situation, when you need to keep some application that you don't want installed and you would like to block its internet access. You can do so with NetGuard. This app act as firewall, but it doesn't require root privileges, because it does not utilize iptables, but rather acts as a VPN service. Because of that, whole OS traffic is comming through the app and app can then restrict traffic based on your rules. Unfortunatelly, this can be applied only if you don't use real VPN, as Android won't let you run two VPNs simultaneously.

Summary

It is much easier to degoogle your phone these days than it was in the past. Up to date and easy to follow step by step installation manuals of LineageOS together with MicroG are the reasons why it is available to much broader spectrum of people. If privacy matters something to you and you're not frequent Google Play Store downloader or mobile gamer, this setup is arguably the best what you can get in the Android world. Of course, you have also other options, for example running mobile linux distribution like Mobian, Manjaro ARM, or OpenSUSE. You will need a very specific device for these distros though. (e.g. PinePhone, Librem5 or some phones from the Nexus and Pixel family) and the resulting usability is drastically behind the average Android experience.


Bild 50 point manifesto to migrants

https://www.bild.de/politik/inland/politik-inland/bild-manifesto-germany-we-have-a-problem-85895486.bild.html 

A manifesto in 50 points

1. For everyone living in Germany, Article 1 of the Basic Law applies: „The dignity of man is inviolable.“

2. For us, there are no infidels! Everyone can believe in whatever they want – even Santa Claus.

3. Anyone who considers our constitution and our legal system as a collection of non-binding recommendations should leave Germany as soon as possible.

4. Anyone who wants to live here permanently must learn German. Only when we speak the same language will we understand each other.

5. Everyone can demonstrate peacefully in Germany for their convictions. Free speech does not include threatening people, assaulting them, throwing rocks, burning cars, or celebrating murderers.

6. We don't wear masks or veils; we look each other in the face (unless it's Carnival or Corona).

7. Respect and charity sustain our free society.

8. Against the backdrop of the darkest chapter in our history, Israel's security is a matter of German national interest! This means: Standing up for the security of the Jewish people is non-negotiable. Criticism of Israel's politics is, of course, allowed.

9. We say please and thank you.

10. We gladly shake hands as a greeting or farewell.

11. We see the police as „friend and helper,“ not as a repressive force or an enemy.

12. Many Germans eat pork. Of course, not everyone does. By the way: We have 10 million vegetarians or vegans because freedom also goes through the stomach.

13. The state has a monopoly on violence. Apart from the state-appointed agencies, nobody has the right to use violence against people or things.

14. We accept that our freely elected parliament sets the rules for our coexistence, which can be checked by independent courts.

15. Men are allowed to love men and women women. Whoever has a problem with that is the problem himself. Love and let love!

16. Even if someone feels neither male nor female, they are not persecuted or punished. In our country, citizens are allowed to think freely and live queer.

17. We don't see social services as employers but as institutions that help people in financial need, people who can't work. Not people who don't want to work.

18. We respect the judiciary because it judges without prejudice.

19. Women wear bikinis or bathing suits in the swimming pool. And if someone wants to swim naked in the Baltic Sea – that's okay too!

20. Women and men are equal in every respect.

21. Equality also in payment for work (we still have to catch up there)!

22. We discuss controversially and passionately, but we don't insult those with different opinions.

23. We are tolerant with the tolerant.

24. And we have no tolerance for intolerance!

25. We only use fireworks on New Year's Eve, so when it's allowed.

26. We don't burn flags of countries we dislike. That's a crime!

27. We respect every religion, but we clearly separate religion from state.

28. Women who have affairs are not ostracized, let alone beaten or stoned! In the event of a divorce, joint custody applies to the children. It doesn't matter who caused the marriage to fail.

29. You don't have to be a virgin to get married!

30. Those seeking protection from political persecution or war in Germany will find it. Even those who have no claim to it can often stay. We don't expect gratitude, even if it would be appropriate. But we do demand strict adherence to our laws and respect for our values and way of life.

31. We don't marry off children. And men can't have more than one wife.

32. Women decide – like men – for themselves how they dress, who they're friends with, whom they love, whether they'd rather go to a club or church, whom they vote for, and what profession they choose.

33. Germany is a country of grillers. After a picnic in the park, we take our trash with us.

34. Knives belong in our kitchens, not in our pockets.

35. We pay taxes because we know they are the foundation of the state.

36. When a woman says no to a man, it is final and absolute. Anything else constitutes sexual harassment or rape.

37. We expect everyone who can and is allowed to, to seek employment and provide for themselves – even if social assistance or citizen's income might initially be higher than the salary.

38. There is compulsory schooling in Germany. We believe in the importance of education and learning.

39. We give up our seats in buses and trains for the elderly and disabled.

40. Cheers, Germany! Beer and wine are part of our culture here. Respect it, and if you don't want to drink, don't.

41. How long or short a skirt is, is decided solely by the woman wearing it.

42. Those who cannot tolerate the caricature of politicians, celebrities, gods, or prophets are not in the right place in Germany.

43. The media question politicians, but we generally trust that the elected officials decide truthfully and for the people's welfare.

44. Honor does not mean the right of the strongest.

45. Respect and appreciation are just as natural in social networks as they are in supermarkets or offices.

46. We try to protect the environment and conserve resources. Sustainability is the future.

47. Germany has a heart for children. They are not beaten but promoted.

48. Catcalling, like whistling or calling out to women, is harassment.

49. Boys and girls can go on school trips together, participate in sports, and swim classes together.

50. We love life, not death.

Môj tajný recept na frustráciu

https://dennikn.sk/3629986/moj-tajny-recept-na-frustraciu/?ref=tit

Možno ste po voľbách frustrovaní. Možno vám je jednoducho smutno. Keď som sa podobne cítil pred istým časom ja, začal som si písať denník.

„Šoférujem po diaľnici, tma a mokro. Z auta predo mnou ktosi vyhodil cigaretu. Prsk! Spŕška iskier na asfalte, môj súkromný ohňostroj. O sekundu zase tma.“

To bolo minulý štvrtok. O pár týždňov skôr v mojom denníku stojí:

„Na ulici nad naším domom prasklo potrubie. Voda, ktorá z neho vytekala, bola čistá a tiekla nežným prúdom po ceste a chodníkoch, a keď sa na niektorom mieste rozliala viac doširoka, vyzerala ako tkanina, keď sa od jej hladiny odrážalo ranné svetlo. Vchádzali sme do toho toku a zase z neho vychádzali, zanechávajúc na asfalte mokré stopy. O minútku už prišli páni z vodární a začali ten malý zázrak zase dávať do poriadku.“

A na inom mieste, koncom leta:

„Stojím pri bufete na priehrade, čakám na dva hotdogy s kečupom. V ruke zvieram lístok s číslicami 151, a čakám, kedy pani z kuchyne zavolá moje číslo. „149,“ kričí pani, v ruke smažený syr. A znova. „149“. Nikto. Pridá sa druhá bufetárka, oplývajúca zvučnejším hlasom. Napokon pomáhajú aj hostia bufetu. „149,“ kričia rôzni neznámi ľudia na celé kúpalisko. Plavci na nafukovačkách k nám otáčajú prekvapené hlavy. Smažený syr, sirota, zatiaľ chladne.“

A dvadsiateho piateho augusta:

„Dcérka mi vraví: milujem šumenie stromov. Tak stojíme uprostred lesa, hlavy zaklonené, a dívame sa na šumenie stromov.“

Dvadsiateho ôsmeho septembra:

„Pavúčie vlákno letí voľne vo vzduchu nad lúkou, dlhočizné, štvormetrové.“

***

Možno ste po voľbách frustrovaní. Možno vám je jednoducho smutno. A možno máte zlosť. Keď som sa podobne cítil pred istým časom ja, začal som si písať denník.

Prísne pri tom dodržiavam dve pravidlá. Po prvé, zapisujem si len dobré veci. Všetko, čo ma poteší, inšpiruje, ohromí svojou krásou, rozveselí.

Druhé pravidlo: netriedim, nesúdim, neškrtám. Zapisujem si všetko bez ladu a skladu, najlepšie hneď za čerstva. A je mi jedno, či ide o maličkosť, akou je motýlik, ktorého sme zachránili z mláky, každodennú banalitu, akou sú palacinky s javorovým sirupom na raňajky, či o prchavý okamih, akým je fľak svetla, ktorý sa náhle objavil na hladine rybníka. Nič mi nie je príliš nepatrné.

Je až prekvapujúce, ako veľmi mi tieto zápisky proti depresii a frustrácii pomáhajú. Jednak si viac všímam všetko dobré a pekné, čo ma stretne. (Inak by predsa nebolo čo zapísať.) A keď si zase raz za čas sadnem a čítam, čo som za posledné mesiace zaznamenal, vidím, aké pekné a bohaté dni som prežil, i keď moja hlava so svojimi občasnými temnými sklonmi si to môže pamätať inak. Denník je mi dôkazom, že aj tie ťažšie časy sú plné drobných radostí.

***

Po istom čase, keď sa mi zápiskov nazbieralo štatisticky významné množstvo, som sa rozhodol zahrať na vedca, text čo najobjektívnejšie preskúmať a zistiť tak, čo mi vlastne najčastejšie robí radosť. Tu sú výsledky:

V denníku je veľa vtipných zážitkov s našimi deťmi. Sú tam pekné chvíle s mojou ženou. A tiež bezstarostné momenty s kamarátmi. Potom pozorovania života na ulici: pani s oslnivo bielymi vlasmi, spiaci opilec, smejúca sa predavačka. A, samozrejme, príroda: jej farby, tvary, pohyby, svetlo, priestor. Chuť smrekovej živice, smiešny beh vyľakanej sliepky.

Prekvapilo ma, že medzi zápiskami nie je takmer nič o práci, i keď ňou trávim celkom dosť času. Všetky tie hodiny za počítačom v texte takmer nezanechali stopu. V denníku nie je ani nič o peniazoch, zmluvách, pracovných úspechoch a neúspechoch, poistení, či o pohyboch na akciovom trhu.

Snažil som sa tiež nájsť niečo o politike. Objavil som len dve či tri letmé zmienky, nič viac.

O Ficovi som nenašiel ani slovo.