Category Archives: Démocracie

Android without Google and GNU/Linux with APK

Content

* GNU/Linux on your phone now
* GNU/Linux with Android APK compatibility layer
* Managing APK of a device
** Listing APK installed on the device
** Dumping an APK installed on the device
** Installing an APK onto the device from the computer
** Removing closed source spywares from your current Android system as a transition phase

Android will move from Linux kernel and open specs APK format to a more closed package format and to their closed source Fuschia kernel going away from Free Open Source software (FOSS) that make Google, Android, ChromeOS grow, but also that are used on most of the internet servers, on most of supercomputer in the world, on most spacecrafts, on most internet boxes, TVboxes, etc…

GNU/Linux on your phone now

At the same time GNU/Linux distributions for mobile grow a lot the 2 recent years, thanks to availability of PinePhone for developers for about 2 years. There are now at least 15 Linux distributions for phone and applications maturated a lot, including since few month MegaPixels hardware accelerted camera application, that use GL and other processor to accelerate rendering/computing of what camera receive.

PostMarketOS is a GNU/Linux distribution available for a bunch of available market phones, but not everything is managed an all devices.

GNU/Linux with Android APK compatibility layer

Just like there is Wine to run Windows application on GNU/Linux, there are also several systems allowing to run Android APK on your phone if needed. Jusr as Wine, beside the possibility of running Android in a qemu VM, you can also run these application inside your the standard GNU system.

AnBox allow to run APK/Android application inside a snap packaged container.

Google goes away from FOSS, afraid by the lost of market share, and they probably loose a lot from this, as Microsoft does by the past. Chinese company, thanks to Trump restrictions, embrace more FOSS.

Huawei the maker of the probably highest quality phones, that was going in first seller position just ahead Samsung, when Trump blocked it, already very active in Linux kernel and community for years, made HarmonyOS for their devices, a system, that continue tu uses Linux kernel for their power devices, and LiteOS for their low end/old devices. LiteOS is a FOSS embedded devices oriented light kernel. They keep the EMUI User Interface they used previously on Android, moving step by step away from it, and at the same time keep a compatibility layer with current APK open-source format.

Another Chinese company, JingOS, made high quality tablets, based on GNU/Linux distribution, that derivates from Ubuntu, with KDE tools and Android APK application compatibility using Anbox. And they are active with KDE and open source communities. Few demos here and here.

Managing APK of a device

For managing package of an Android device from a computer you need adb. This command is available on android-tools package on Arch Linux.

Listing APK installed on the device

List packages:

adb shell pm list packages

See which one are related to facebook:

adb shell pm list packages facebook

Dumping an APK installed on the device

You need first to find the path of the APK with the commande adb shell pm path :

adb shell pm path com.sec.android.app.myfiles
package:/system/app/SecTabletMyFiles.apk

Then you can use this path (remove the initial package:) to backup it on your file system with the adb pull command:

adb pull /system/app/SecTabletMyFiles.apk

Installing an APK onto the device from the computer

Simply type the command install with the path of the APK on y »zour disk:

adb install f-droid.apk

Removing closed source spywares from your current Android system as a transition phase

Beside long time F-droid Free software apk app repository (I use it for year as main source of APK).

You can remove Android pre-installed (memory+cpu+bandwidth thieves) applications, including NSA compliant one like Google, Amazon, FaceBook, Microsoft ones using from a computer with adb. This allowed me to have less bloated phone and to gain few more days of on-battery usage.

For easier copy paste and have only the package name without package: prefix

adb shell pm list packages | cut -d: -f 2

The corresponding application, can be checked by using in a web browser, this does not work for some system applications, for example, for com.google.android.videos:

https://play.google.com/store/apps/details?id=com.google.android.videos

Remove never at least first seen, never used application:

# FaceBook spyware

adb shell pm uninstall --user 0 com.facebook.katana
adb shell pm uninstall --user 0 com.facebook.system
adb shell pm uninstall --user 0 com.facebook.appmanager

# Microsoft stuff
adb shell pm uninstall --user 0 com.microsoft.office.excel
adb shell pm uninstall --user 0 com.microsoft.office.onenote
adb shell pm uninstall --user 0 com.microsoft.office.powerpoint
adb shell pm uninstall --user 0 com.microsoft.office.word
adb shell pm uninstall --user 0 com.microsoft.skydrive # data thief

adb shell pm uninstall --user 0 com.google.android.apps.docs # Google Drive (data thief)
adb shell pm uninstall --user 0 com.google.android.apps.photos # Google photos (data thief)
adb shell pm uninstall --user 0 com.google.android.googlequicksearchbox # Google Search box (behavior thief)
adb shell pm uninstall --user 0 com.google.android.apps.maps # Gaogle Maps (location/move/destination search thief)
adb shell pm uninstall --user 0 com.google.android.gm # GMail
adb shell pm uninstall --user 0 com.google.android.talk # Hangouts
adb shell pm uninstall --user 0 com.google.android.music # Google Play Music
adb shell pm uninstall --user 0 com.google.android.videos # Google Play Film & Series
adb shell pm uninstall --user 0 com.google.android.youtube # Youtube application

To be checked

adb shell pm uninstall --user 0 com.google.android.gms # Services Google Play

On prend les mêmes et on recommence

Certains dirons, grâce à l’Abbé Emmanuel-Joseph Sieyès qui dans ses grandes lumières disait, petit extrait de Wikipédia, tiré lui même d’un ouvrage que l’on peut consulté sur le site de la Bibliothèque nationale de France :

Il oppose le gouvernement représentatif (qu’il promeut) et le gouvernement démocratique (qu’il rejette) : « Les citoyens qui se nomment des représentants renoncent et doivent renoncer à faire eux-mêmes la loi ; ils n’ont pas de volonté particulière à imposer. S’ils dictaient des volontés, la France ne serait plus cet État représentatif ; ce serait un État démocratique. Le peuple, je le répète, dans un pays qui n’est pas une démocratie (et la France ne saurait l’être), le peuple ne peut parler, ne peut agir que par ses représentants. » (Discours du 7 septembre 1789).

French canularstitution

French canular-stitution avec l’abbé Sieyès et Napoléon Bonaparte

Il semble que tout y est dit. Il est un des créateur de la constitution qui a été légèrement touché depuis, mais pas tant que ça… qui contient toujours ce dé truqué, comme disait (parmi d’autres) l’illustrateur britannique James Gillray en 1800 (voir illustration ci-contre), en anglais d’abord : « The French Consular-Triumverate, settl’ing the New Constitution, with a Peep at the Constitutional-Pigeon-Holes of the Abbe Seiyes in the Back Ground », ce que l’on peut traduire par : « Le Triumverat consulaire français, colonisant la nouvelle constitution, pipé par un trou de pigeon constitutionnel de l’Abbé Seiyes. ». Et depuis on nous bassine qu’on est en démocratie, de la naissance à l’âge adulte…

Ne pas voter n’a pas fait permis au FN de se hisser, il y était déjà… Stigmatisation des minorités, état d’urgence, gens interdits de sortir de chez eux dont une bonne partie après s’être fait défoncé la porte. Manifestation contre la tartuffade de la COP21 interdite pour des raisons de sécurité (et c’était pas mal au dehors aussi 2e vidéo), tandis que le marché de noël, ou l’on vent des kebabs à 8 euros et du sucre au gras à peu près au même prix, ou différents gadgets polluants, n’avait pas besoin de protection. Quelques gendarmes mobiles étaient bien placés devant le Grand Palais, à deux pas du palais de l’Élysée avec des camions anti-émeutes, dés le Salon des indépendants, et en préparation de la COP21 qui allait s’y dérouler. Sinon, on pouvait se balader au milieu de la foule, avec Kalashinikov, lance roquette ou plus si affinité, l’avenue était grande ouverte.

Un documentaire sympa (désolé, c’est sur Youtube), sur tous ceux qui ont pas voté et sur ce qu’est la (vraie) démocratie (celle d’Athènes (pendant l’antiquité), celle d’Islande (commencé après la crise de 2008) qui a mis les banquiers et politiciens en prison, stoppé le bankroute, relancé l’économie et multiplié les emplois) : J’ai pas voté.

Pendant ce temps, les Danois ont dit non par référendum au don à Europole de l’ensemble des informations de sa population.

Au passage j’y relève une erreur, l’utilisation de la peinture d’Eugène Delacroix, « La révolution guidant le peuple », il n’est pas de la révolution française, pas plus que la colonne de la Bastille d’ailleurs, mes des 3 glorieuses, de juillet 1848 (c’est écrit sur la colonne), révolte pour le passage d’une Monarchie à une autre.

Et merci à Gee et à son blog BD Grise Bouille pour la mise sur la piste. Vous y trouverez d’autres liens intéressants sur le sujet.

Après l’€ ?

L’Euro (€) est mort, grâce à sa mauvais constitution, à la mauvaise constitution de l’Europe (TCE puis Lisbonne), et enfin au ministre allemande des finance qui à tenté de pousser à l’hypothèque de la Grèce dans une banque dont il était président du conseil d’administration, ce qui déplaît plutôt aux allemands. Que va t-il se passer maintenant ?

Les Grecs, au delà de la nouvelle drachme qui commence à se préparer, auront-il l’audace de préparer avec au moins, le Portugal, l’Espagne, l’Italie et l’Irlande un Euro 2 (écu ?) les pieds sur terre, indépendante des FMI/BCE/Goldman Sachs ?