Wednesday, July 29 2020

De-Googling my phone Xiaomi Poco F1 with LineageOS 17.1 ROM

De-Googling Xiaomi Poco F1 is very simple, only need 4 steps:

  1. Unlock phone (MIUI Unlock)
  2. Download software
  3. Install Custom Bootloader (LineageOS Recovery image)
  4. Flash ROM (LineageOS+NanoDroid)

 

1. Unlock phone (MIUI Unlock)

Pocho F1 comming with MIUI Android derivate. First let MIUI make all updates, and if don't have Mi Account make and sign in. Wait about 3 days to give permission for unlock phone. Now download software https://en.miui.com/unlock/ for unlock (running on windows - work on linux over kvm or virtualbox) and shutdown phone. Start program as Administratorm next hold Volume Down & Power on phone to enter in fastboot and connect phone with usb cabel on PC and click Unlock.

 

2. Download Software

First I download files from https://download.lineageos.org/beryllium and https://downloads.nanolx.org/NanoDroid/Stable :

  1. Boot Recovery: lineage-17.1-20200725-recovery-beryllium.img
  2. LineageOS 17.1 ROM: lineage-17.1-20200725-nightly-beryllium-signed.zip
  3. NanoDroid-microG: NanoDroid-microG-22.6.20200208.zip
  4. NanoDroid-fdroid: NanoDroid-fdroid-22.6.20200208.zip

 

3. Install Custom Bootloader

I try recovery image from LineageOS and work nice, but if wont to use twrp is don't have any limit to use. In my example I will use recovery image from LineageOS.

With the device powered off (connect phone with pc-usb cabel ). With the device powered off, hold Volume Down + Power. Keep holding both buttons until the “POCO” logo appears on the screen, then release.

Start flash with:

fastboot flash recovery lineage-17.1-20200725-recovery-beryllium.img

Note: Some PC have problems with USB3, try connect phone on USB2.

 

4. Flash ROM (LineageOS+NanoDroid)

Now powered off phone, then hold Volume Up + Power. Keep holding both buttons until the “POCO” logo appears on the screen, then release.

Now tap Factory Reset, then Format data / factory reset and continue with the formatting process. This will remove encryption and delete all files stored in the internal storage, as well as format your cache partition (if you have one). Return to the main menu, then select “Apply Update”, then “Apply from ADB” to begin sideload.

On PC with adb tools import image of LineageOS:

adb sideload lineage-17.1-20200725-nightly-beryllium-signed.zip

Then import images NanoDroid-microG & NanoDroid-fdroid:

adb sideload NanoDroid-microG-22.6.20200208.zip
adb sideload NanoDroid-fdroid-22.6.20200208.zip

Once you have installed everything successfully, click the back arrow in the top left of the screen, then “Reboot system now”.

Now enjoy in Poco F1 LineageOS 17.1 without Google services but have F-Droid for FOSS application and Aurora store (if need aplication from google store).

 

 

 

Tuesday, September 11 2018

De-Googling my phone

For a long time I've been using the Xiaomi Mi 5 phone with MUI interface that is base on based Android. That means that on my phone I have installed Bloatware that came with MIUI and additionally with Android. The result of all this is the weaker performance of mobile phone, faster battery discharge, the disruption of privacy and the very questionable security of the data I have on my mobile.

 

 

The main objection, from my point of view, is that I must have google account to access Android apps. Why couldn’t I install an application anonymously? After long search for alternatives for Google Play, I found the Yalp Store program from the F-Droid repository. I thought Yalp was the answer to the earlier question, so I deleted the google account from my cell phone and all looked just like I wanted.

 

Screenshot F-Droid Screenshot Yalp Store Screenshot Blokada

 

As I often use internet browser on my mobile phone, I wanted to install a program for blocking unwanted ads. I use the uBlock Origin on my computer and I'm very satisfied, and I found Blokada for the mobile and now there is a shocking discovery. All the applications I received with my cell phone (pre-installed) and the apps I installed from my google store were still trying to send some information to google. Even if I did not have a google account assigned to a mobile, still all apps generated network traffic towards google. Paradoxically, when I returned google account to my cell phone, I still generated the traffic but less.

Then I downloaded a couple of programs from F-Droid and network packages did not generate from those applications but only from google play service and that points to only one thing. Google analyzes what you have installed on your mobile phone even though you have not used their service.

 

I found interesting articles on the google service Youtube about google android:

 

After active search for alternative andorid os, I found various projects but one of them particularly attracted my attention - /e/ project. Unfortunately, the project is just in the initial phase so I looked for something that would be compatible with the android os and that there is no installed default google play service with the loads of bloatware installed in it. The answer is an open source LineageOS project where google play service can, but it does not have not be installed. Luckily for me, my cell phone Xiaomi Mi 5 is officially supported and I am starting the great adventure great adventure.

 

Complete manual for installation can see at link https://wiki.lineageos.org/devices/gemini but in practice it looked like this:

1. Download software for fastboot

I using Debian GNU/Linux 9 and installation of fastboot is very simple:

apt-get install fastboot

2. Download TWRP loader for Xiaomi Mi 5 (phone need to be unlock to apply new loader)

wget https://dl.twrp.me/gemini/twrp-3.2.3-0-gemini.img

3. Download LingeageOS za Xiaomi Mi 5

wget https://mirrorbits.lineageos.org/full/gemini/20180903/lineage-15.1-20180903-nightly-gemini-signed.zip

4. Start phone in fastboot and flash loader

With the device powered off (connect phone with pc -usb ), hold Volume Down + Power. Keep holding both buttons until the word “FASTBOOT” appears on the screen, then release and in linux console put command:

fastboot flash recovery twrp-3.2.3-0-gemini.img

After success upload of image, I power off phone, then hold Volume Up + Power. Keep holding both buttons until TWRP appears on screen. First all wipe (dalvik,cache,data,internal storage)

5. Copy LineageOS-a and installation

First open on my PC file explorer (Nemo) and copy lineage-15.1-20180903-nightly-gemini-signed.zip in internal memory of phone, then in TWRP select Install and select zip file. Waiting to complete install and reboot phone and new LineageOS is ready for me.

 

The first thing I did when I started LineageOS, I started browsing and I installed F-Droid. I've installed a few programs that are very useful. Some programs are replacement for some programs that I used before, and for some, unfortunately, I have no alternative.

LineageOS is based on the original Android and applications, so I've replaced a default google keyboard with a Simple Keyboard, an e-mail client with K-9 Mail in combination with OpenKeychain and google chrome with Privacy Browser.

 

Lists of programs on my phone now:

Namjena Banned Alternative
App store Google Play F-Droid
E-mail client Gmail/Mail K-9 Mail
Email Encryption - OpenKeychain
Instant Messaging WhatsApp or Viber Conversations or Telegram
SMS Messaging - Silence
Media Youtube NewPipe
Password Managers LastPass Password Store
Social Network Facebook dandelion*
Social News Twiter Tusky or Mastalab
VPN Cisco VPN OpenVPN
Enterprise Suite Google Apps Nextcloud
Internet Browser Google Chrome Privacy Browser
Navigation Google Maps OsmAnd~
Phone Contacts Google Contacts DAVdroid
Phone Calendars Google Calendars DAVdroid
Phone Tasks Google Tasks Tasks
PDF Viewer Google PDF Viewer Document Viewer
Office Documents Google Docs LibreOffice Viewer
Keyboard Google Keyboard Simple Keyboard
File Share & Sync Google Disk, Files Go Nextcloud

Did I achieve my goal? Do I have more privacy and security on my mobile? Yes and no, it is difficult to answer on that but surely the cell phone now has fewer unwanted programs and the battery on my mobile lasts longer. This is one step towards a better OS but it is still far from the destination I am heading for. I have great expectations from /e/ project and the time will show in which direction will it go.

 

Please check also interesting link :

 

 

 

 

 

 

 

Page top