[ROM][Mi9][12.0] iodéOS = LineageOS 19.1 + MicroG + adblocker [27/07/2022]

Search This thread


Senior Member
Feb 12, 2008

Rom works pretty good.
But how do you get root access ?

I tried to to install magisk via adb sideload but it failed.


Jul 27, 2013
i was using a older version and have yesterday installed the 'iode-3.1-20220726-cepheus.zip'. Now the phone won't boot into os. Only into recovery. I can not mount anything as it can not find the cryppto footer and can't mount data. I want to restore the twrp backup but it is not there. How do i get my old system back?


Jul 27, 2013
The internal Storage is 0MB. As there is no space on the device i had to sideload v1.7 and the magisk version i had on it before. It stil does not mount data and does not boot. It's stuck on the boot logo.
The v3.1 seems to have destroyed the crypto footer. How do i get the crypto footer out of my nandroid backups and where do i write it back? Or how do i restore my internal storage to push the nandroid backup (with all the partititions twrp allowed to backup) back and restore the phone from that?


  • adb sideload 1.7.jpg
    adb sideload 1.7.jpg
    56.5 KB · Views: 28
  • adb sideload magisk.jpg
    adb sideload magisk.jpg
    66.8 KB · Views: 20
  • internal storage.jpg
    internal storage.jpg
    51.3 KB · Views: 22
  • twrp error.jpg
    twrp error.jpg
    39 KB · Views: 27


Aug 8, 2022
dear vince31fr
I really like your rom, I have a problem, I can't sync contacts, messages and wattsapp, I really like the rom, I can't sync wattsapp, I can't use it, I installed it as requested, thanks for the help.Dinky121

This rom is a show, it's a shame I can't use it without wattsapp, I've been trying roms since 2017, with this phone (Mi 9) since 2019, I had an Xperia compact, for me it's one of the best roms I've tried.

Apollo Hartigan

Senior Member
Mar 22, 2013
Is there any progress with the battery drain? I have to charge my phone twice a day :( and can't rollback because of the encryption problem.


Senior Member
Nov 27, 2010
Is there any progress with the battery drain? I have to charge my phone twice a day :( and can't rollback because of the encryption problem.
I have also high battery drain, however not the necessity to charge twice a day. I recommend to go to settings and put some apps to restricted mode. I remember the System UI app drained a hell of battery until I put it into restricted mode.
Alternatively, install better battery stats and check what restricts deep sleep.
  • Like
Reactions: Dinky121/

Top Liked Posts

  • There are no posts matching your filters.
  • 17


    iodéOS is a privacy-focused operating system powered by LineageOS and based on the Android mobile platform. iodéOS aims at protecting the user's privacy with a built-in adblocker and by freeing the smartphone from snitches.

    The objectives in the conception of this ROM are threefold:

    1. To keep the stability and security level of LineageOS, by minimizing the modifications made to the system. Apart the system modifications required by the adblocker, we mainly only added a few useful options commonly found in other custom ROMs, made some cosmetic changes, modified a few default settings to prevent data leaks to Google servers.
    2. To ease a quick adoption of this ROM by new users. We especially target users that are concerned by the protection of their privacy, but are not reluctant to still use inquisitive apps like Google ones. We thus included MicroG as well as a coherent set of default apps, and simplified the initial setup of the system. Particularly, an initialization of MicroG has been made with GCM notifications allowed by default, a privacy-friendly network location provider (DéjàVu) pre-selected, as well as Nominatim Geocoder.
    3. To provide a new and powerful way of blocking ads, malwares, data leaks of all kinds to many intrusive servers. We are developing an analyzer, tightly integrated into the system, that captures all DNS requests and network traffic, as well as a user interface (the iodé app). Compared to some other well-known adblockers, this has the advantages of:
      • Avoiding to lock the VPN for that use. You can even use another adblocker that uses VPN technology alongside our blocker.
      • Being independent of the kind of DNS server used by the system or set by an independent app: classical DNS on UDP port 53 or any other one, DNS over TLS (DoT), DNS over HTTPS (DoH), ..., as we capture the DNS requests before they are transmitted to the system function that emits the DNS request. What we do not support, is DoH when it is natively built into applications, i.e. when an app communicates directly with a DoH server, without asking name resolution to the system. It would require to decrypt HTTPS packets between such an app and the DoH server, which may create a big security hole.
      • Precisely mapping DNS requests and network packets to the Android apps that emitted (or received) them.
      • Deciding which apps have a filtered network usage (by default, all apps), and which ones can communicate with blacklisted servers.
      Since its first versions, we added many features to the iodé blocker: several levels of protection, fine-grained control over the hosts that should be blocked or authorized, displaying statistics on a map to see the quantity of data exchanged to which countries, clearing statistics... We are actively developing the blocker, and new functionalities will be regularly added.


    Changes in LineageOS to prevent data leaks:

    • Default DNS server: Google's DNS replaced by Quad9's 'unblocked' servers in all parts of the system.
    • A-GPS: patches to avoid leaking personnal information like IMSI to supl server.
    • Captive portal login: connectivitycheck.gstatic.com replaced by captiveportal.kuketz.de for connectivity check.
    • Dialer: Google default option replaced by OpenStreetMap for phone number lookup.

    Pre-installed apps:

    We included many useful default apps, but our choice cannot suit everyone; so we added the possibility to remove them. It can be done at the end of the phone setup, or at any time by going to Parameters -> Apps & Notifications -> Preinstalled apps.

    • MicroG core apps: GmsCore, GsfProxy, FakeStore.
    • NLP backends for MicroG : DejaVuNLPBackend (default), MozillaNLPBackend, AppleNLPBackend, RadioCellsNLPBackend, Nominatim Geocoder.
    • App stores : FDroid (with F-Droid Privileged Extension) and Aurora Store.
    • Browser: our own fork of Firefox (with Qwant as default search engine, many other ones added, telemetry disabled, parts of telemetry code removed) instead of Lineage’s default browser Jelly.
    • SMS: QKSMS instead of Lineage's default SMS app.
    • Email: p≡p (Pretty Easy Privacy).
    • Camera: our own fork of Open Camera, with a few tweaks.
    • Maps/navigation: Magic Earth GPS & Navigation (the only one free but not open source).
    • Keyboard: OpenBoard instead of AOSP keyboard.
    • PDF: Pdf Viewer Plus.
    • Personnal notes: Carnet.
    • {Ad/Malware/Data leak}-blocker: iodé.
    • News: to keep users informed about our developments, as well as a FAQ.
    • Meteo: Geometric Weather.

    Pre-included FDroid repository:

    The apps that we tweak or develop (microG services, the browser based on Firefox, the News app, Open Camera ...) are available through a repository that we included in FDroid (check the "Apps for iodéOS" category). For this purpose and to avoid name conflicts of some apps, we also had to make a few changes in FDroid.

    Useful options from other custom ROMs:
    • Smart charging (disables charging when a given level is reached, to protect battery health).
    • Fingerprint vibration toggle.
    • Swipe down to clear all in recent apps (Android 10 only).

    Installation Instructions

    To download and flash our latest build, see https://gitlab.com/iode/ota.
    You can also find here direct links to the latest builds.

    Supported devices


    Bug Reporting

    You can post a message in this thread or (preferred) open an issue here.


    LineageOS is a free, community built, aftermarket firmware distribution of android, which is designed to increase performance and reliability over stock android for your device.
    All the source code for LineageOS is available in the LineageOS Github repo. If you would like to contribute to LineageOS, please visit their Wiki for more details.
    This ROM would be nothing without the tremendous work made on MicroG, and all the other open source apps that we included. We are very grateful to their authors.


    Direct contributors: @iodeOS, @vince31fr
    Indirect contributors (too numerous to list): All the people that contributed to the device tree, to LineageOS, and to the included open source apps.


    You can help in the development of this ROM by paying us a coffee here: https://paypal.me/iodeOS.


    === New Update : 07/03/2021 ===

    Available as OTA (see OP)​
    Downloads : iodéOS

    • 27/07/2022 (build 20220726):
      • SafetyNet certification activated: allows many apps, notably banking ones, to fully work
      • Setup wizard: the push notifications configuration page now also activates SafetyNet (fine-grained control in Settings->System->microG)
      • OpenCamera: the 'Use alternative flash method' in photo settings is no more necessary and can be disabled, allowing flash optimization
      • News app: German translations
      • LineageOS synced with July security patch included
      • All apps updated
    • 21/07/2022 (build 20220530):
      • Upgrade to Android 12 / Lineage 19.1. Beware: this upgrade needs a data format due to an incompatibility in the encryption method. It is thus not available as OTA, a manual flash is required
      • Setup Wizard: new page to configure push notifications through microG
      • Lockscreen settings: switch added to disable fingerprint unlock when screen is off
      • Improved German translations
      • Bug fixes and improvements
      • LineageOS synced with May security patch included
      • All apps updated
    • 02/05/2022 (build 20220407):
      • News app reworked
      • Setup Wizard: new iodé introduction
      • iodé blocker: pull to refresh replaced by automatic refresh in report tab
      • Teracube 2e 2022 batch released, video playback in browser and video recording fixed
      • Music app : playlist crash fixed
      • Open Camera : crash when tapping thumbnail of a newly recorded video fixed, photos and videos now editable
      • LineageOS synced with March security patch
      • All apps updated
    • 03/02/2022 (build 20220127):
      • New iodé blocker map feature
      • Build mode changed to 'user' (i.e. release) mode): more apps work out-of-the-box and more secure device, but more restrictive recovery
      • Camera app changed to Open Camera
      • Wireguard kernel module included
      • Dark bootanimation
      • January security patch
      • Preinstalled apps updated
      • Beware: Play store Magisk module broken
    • 18/11/2021 (build 20211109):
      • LineageOS updated (November security patch)
      • Preinstalled apps updated
      • Iodé blocker: hosts can now be customized, either globally or by app
    • 10/09/2021 (build 20210828):
      • LineageOS updated (August security patch)
      • Preinstalled apps updated
      • Backup app included: Seedvault
      • microG now uninstallable: Settings -> Apps & notifications -> Preinstalled apps
      • New default accent color (clear blue from iodé logo)
      • AI key now configurable (short press only, Settings -> System -> Buttons)
    • 03/08/2021 (build 20210729):
      • Preinstalled apps UI reworked with the introduction of categories.
      • Dark theme in the iodé blocker UI (next improvement will be hosts customization).
      • p≡p (https://f-droid.org/fr/packages/security.pEp/) is now the defaut email client, and replaces lineageOS client which is no longer maintained.
      • Preinstalled apps updated to their latest version.
      • LineageOS updated (July security patch).
    • 28/05/2021 (build 20210527):
      • Different protection levels in iodé's blocker added: in addition to the default standard blocklist, we added three lists (socials, porn, extreme) that can be activated globally or on a per-app basis (more information in the FAQ).
      • Geometric Weather app added.
      • Preinstalled apps selection at setup wizard added.
      • Preinstalled apps including microG updated to their latest version.
      • LineageOS updated (May security patch).
      • Updated kernel to 4.14.232
      • Merge CAF TAG LA.UM.8.1.r1-17100-sm8150.0
    • 07/03/2021 (build 20210306):
      • Blocker UI improved: performance at startup, statistics display (with sortable columns), DNS stream
      • Preinstalled apps management (uninstall / reinstall) menu added (Settings -> Apps & Notifications -> Preinstalled apps)
      • Latest lineageOS sources synced
      • Default apps updated
      • Updated kernel to 4.14.221
      • Merge CAF TAG LA.UM.8.1.r1-16900-sm8150.0
    • 22/01/2021 (build 20210119):
      • LineageOS sources synced
      • Prebuilt apps updated
      • Activated Camera APIv2 in Snap
      • Force auto-update of apps in FDroid to keep in sync with iodé apps. It can be disabled.
      • Updated kernel to latest stable (4.14.214)
      • Merge CAF tag LA.UM.8.1.r1-16600-sm8150.0
    • 26/12/2020 (build 20201125):
      • Kernel completely remastered and updated to latest stable, 4.14.212. Due to problems with fod sometimes not working, conflicts between screen-off fod and dt2w, stability problems, I started a new kernel from scratch. Major drawback though: flash with fingerprint authentication is back. This is preferable to a half-functioning fod though
      • Fod now works without dt2w being set
      • Added Wifi Display (Miracast). Maybe some problems with sound: need user feedback
      • Added poweroff alarm
      • Device tree reworked
      • Vendor updated to
      • LineageOS sources synced
      • Prebuilt apps updated
    • 02/12/2020 (build 20201127):
      • Kernel updated to latest stable: 4.14.209
      • Merged CAF tag LA.UM.8.1.r1-16200-sm8150.0
      • LineageOS sources synced
      • Prebuilt apps updated
      • New default wallpaper
      • Firefox browser renamed as iodé Browser and logo changed due to trademark restrictions
      • The iodé blocker can now be correctly coupled with a VPN
    • 20/11/2020 (build 20201119):
      • Kernel updated to latest stable: 4.14.207
      • Made some internal changes to improve stability
      • iodé app (blocker): app switches replaced by shields around app icons, aggregated apps view in report, historical data deletion for each period by long press on an app line in report, black list updated
      • LineageOS sources synced
      • Prebuilt apps updated
      • Added a iodé category in FDroid, to quickly distribute the apps we customize. We had to fork FDroid for this purpose.
      • Magisk survival script working again: it is not needed anymore to reflash Magisk after an OTA
    • 29/10/2020 (build 20201029):
      • Kernel updated to latest stable: 4.14.202
      • Merged CAF tag LA.UM.8.1.r1-16200-sm8150.0
      • Updated blobs to miui
      • Switched to QTI bluetooth stack
      • Built as much stuff as possible from sources.
      • Synced Lineage sources.
      • Added screen-off FOD (one glitch though: DT2W must be enabled to make it work - to be fixed).
      • Reworked auto-brightness levels.
      • Updated Microg to with commits up to 28/10, in particular Mapbox maps which now mostly work.
      • Replaced Qwant browser by Firefox, with Qwant set as default search engine and telemetry disabled by default.
    • 05/08/2020 (build 20200805):
      • Synced LineageOS sources and device tree
      • microG updated to v0.2.11.202414 plus commits up to 05/08
      • AppleNLP backend working again
      • Prebuilt apps updated to their latest version
    • 25/07/2020 (build 20200725):
      • Synced lineage (security patch r40) and device tree
      • Minor UI fixes and improvements in iodé adblocker
      • Updated blocklist
      • Updated preinstalled apps
      • Improved bootanimation
    • 28/06/2020 (build 20200628): initial publicly available build of iodéOS for cepheus. It inherits the work previously published in this thread. NB: the default browser of LineageOS, Jelly, has been replaced by Qwant. For those who miss Jelly, you can install it from iodé FDroid repo (look at "Apps for iodé" in FDroid categories).

    Downloads : add-ons
    • phonesky-magisk.zip : Magisk module for NanoDroid patched Play Store, for those who really need to get access to their paid apps that don't work with microG. This module can be generally be deactivated when you have installed and ran once the paid apps.
      NB : you may have to wait a couple of hours after activating the module for being able to install paid apps.
    ~~~ New Update : 28/05/2021 ~~~

    Available as OTA (see OP)​
    Looks like you're good at guessing what kind of ROM I might like before even I know what I want :D

    I picked my Mi9 half a year ago because it appeared as the best available piece of hardware (among the devices with a chance to open the bootlader and hope for a future with a well-maintained custom-ROM).
    I might not have done so if I had not found your ROM beforehand, hoping it would proof to be good enough until official Lineage-Support might start sometime soon...

    I was honetly suprised by its quality and reliable updates. I loved its focus on microg and privacy from the start and since around May I'm no longer intending to drop it in favour of 'official Lineage'.

    Two days ago I wanted to check for updates in its thread and got shortly shocked when reading "This rom will be discontinued in its current form."
    Seconds later I started to smile again and that smile grew bigger while reading about your ambitious plan and the shape it has already taken.

    I downloaded and dirty-flashed it straight away and from that beginning on I am completely happy in terms of quality/stability. The added features are a perfect continuation on your previously chosen route.

    In short: I love it and I'll keep coming back for more! :laugh:

    Btw.: Where are the right places for donations?

    Thanks a lot for your words! glad you like it :)

    For donations... Just to be clear and transparent, Vincent and I recently launched 'iodé' as a french startup selling refurbished smartphones with iodéOS rom. I will add a paypal link via xda where you can donate if you wish, but I wanted to clarify this
    Thanks for your comment!

    About stability/reliability, we are very cautious with the additions we make to lineage. We don't want to make a ROM with tons of options that may begin to be unstable, or cannot be upgraded with OTAs. This principle of stability and reliable updates are at the basis of Lineage, and we stick to that. Our focus on privacy do not require heavy modifications of Lineage's sources and Android system, except a small part for supporting the adblocker, but this cannot affect reliability of updates.

    As mentioned by Antoine (@iodeOS), we're launching a start-up to sell refurbished smartphones with iodeOS pre-installed. This startup in some sense, will sponsorize the development of this ROM that will also be freely available ; so if you want to help us, you can sponsorize iodeOS via its paypal link... And by the way, many thanks for the 3 ad-free months you offered us :)
    It must also be considered that the two aspects of that project (the startup and the iodeOS ROM) are in some sense disconnected: even if we do not succeed in the startup, we will continue to develop the ROM, just for passion and personal interest for our own phones ;)