[ROM][XZ1][A13] iodéOS = LineageOS 20 + MicroG + adblocker [28/08/2023]

Search This thread


Senior Member
Jul 4, 2007
After "dirty" flashing it went to bootloop.
Just clean flash with + Nikgapp 13+ magisk 25.2 = testing now

Thank you my friend.

Yuanhao Jun

Jan 31, 2022
Honor 6X
Redmi 9A
Hello, I would like to ask if HDR and some other native settings (such as dsee HX) can be enabled without the Sony Settings app, and why Sony cameras cause memory leaks and what cameras can be replaced. Thank you (Bing Translation)


Senior Member
Jan 30, 2015
Thanks for this great Rom.
This really keeps my XZ1 alive.
Unfortunately, I made a OTA update and discovered that the com.google.android.packageinstaller is not working.
If i try to install or uninstall sth from an apk it just crashes with not much information.
As I read there had been an issue with an former lineageos version and disabling it in favor for the aosp packageinstaller.
But as I don't found one what is the usual workaround?
Does anybody else discover this issue?

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    This rom only for single sim variant right?
  • 16


    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.


    Downloads : iodéOS

    • 28/08/2023 (build 20230824):
      • Blocker: minor bugfixes.
      • iodéOS Premium API : bugfix for mail address with alias.
      • LineageOS synchronized with August security patch included.
      • Block lists updated.
      • All apps updated.
    • 01/08/2023 (build 20230731):
      • Blocker: added backup/restore of recipient personalization (in Settings -> Custom blockings -> top-right menu).
      • microG: as the changes we made are no longer necessary, the official version is now included. The network localization modules have been abandoned in the latest version, in favor of the implementation of some of their functionalities directly in microG.
      • SafetyNet: adaptation of the SafetyNet validation method (necessary for certain applications, often including banking applications) to the latest developments.
      • iodéOS 4: discontinuation of the 'Smart Charging' feature in favor of the new LineageOS 'Charging Control' feature (in Settings -> Battery).
      • LineageOS synchronized with July security patch included.
      • All apps updated.
    • 29/06/2023 (build 20230629):
      • iodéOS Premium: advanced blocker features will now be available via subscription (free for a certain period of time).
      • Blocker:
        • Presentation updated in Material Design 3 style.
        • A gauge on the home page gives an assessment of protection status.
        • Differentiation of malicious recipients according to protection type (standard / reinforced).
        • In the report, signs indicate the current blocking status of recipients ('prohibited direction' if blocked, 'danger' if malicious recipient not blocked).
        • Addition of a permanent notification featuring information on the application currently in use, as well as direct access to the application's blocking control and activity report. This notification can be disabled in the settings.
        • iodéOS Premium account connection added to settings.
        • Addition of a pure black background theme.
      • Charge control: a new LineageOS feature enables charge level control, and will replace 'Smart Charging' in battery settings. Both options are currently available for supported devices, but may conflict.
      • LineageOS synchronized with June security patch included.
      • All apps updated.
    • 04/04/2023 (build 20230401):
      • Upgrade to iodéOS 4.1 based on Android 13 / LineageOS 20
      • Installation procedure: move to a fastboot script (read instructions: https://gitlab.com/iode/ota)
      • Blocker: improved use of blocking lists (sub-domains blocking)
      • FDroid: fixes an issue on apps update
      • LineageOS synchronized with March security patch included
      • All apps updated
    • 07/02/2023 (build 20230131):
      • Blocker:
        • Improved blocking settings. You can now choose 'Standard' blocking (ads, trackers, malwares, etc) or 'Reinforced' blocking (same objective but more extensive), and then select additional categories.
        • The 'Porn' category has been extended to a wider 'Sensitive content' one, that also includes fake news, gambling, drugs, piracy, torrent..., with mainly child protection in mind.
        • The 'Extreme' category has been removed, as it is now part of the reinforced blocking.
        • Improved blocking lists. We merge several acknowledged and up-to-date sources, and have diversified our sources to produce more complete lists. The standard list has however been reduced a bit, to avoid as much as possible interference with apps expected behavior.
      • Added a new network location provider: Local NLP Backend. It is an improved version of the DéjàVu NLP backend which was already available in iodéOS. Like DéjàVu, it builds a local database connecting localizations learned from other NLP backends and apps using GPS, and mobile antennas/Wifi; but also has an active mode (not preselected) that can trigger GPS requests. To configure it: Settings -> System -> microG -> Location modules
      • LineageOS synchronized with January security patch included
      • All apps updated
      • New devices support: Pixel 3, 6, 6a
    • 16/12/2022 (build 20221215):
      • Blocker: added multiple selection in settings / domain customization. Long-press on a domain, select several domains or all, apply actions (block all, authorize all...)
      • PdfViewerPlus: improved security by updating core libraries
      • Network settings: added a switch to disable connectivity check (and thus captive portal detection)
      • LineageOS synchronized with December security patch included
      • All apps updated
      • New devices support: Pixel 4 & 5, OnePlus 9 & 9 Pro
    • 24/11/2022 (build 20221121):
      • Improvements in the blocker user interface (iodé app)
      • LineageOS synced with September security patch included
      • All apps updated
    • 17/10/2022 (build 20221014):
      • Blocker:
        • Network blockings following their type (Wifi, mobile data, VPN) added
        • Default blockings definition for new apps
        • Personnalized recipients management improved
        • iodé's app access restrictions by password added
        • Search filters added in report and map
        • Display theme selection
        • Automatic and 'real-time' refresh of the whole app
        • Performance and fluidity improvements of the app
      • LineageOS synced with September security patch included
      • All apps updated
    • 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
      • 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 20220408):
      • 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 20220126):
      • 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 20211108):
      • 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)
    • 03/08/2021 (build 20210729):
      • Upgrade to Android 11 / LineageOS 18.1
      • 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 20210525):
      • 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).
    • 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
    • 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.
    • 02/12/2020 (build 20201127):
      • 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
    • 17/11/2020 (build 20201113):
      • Qwant replaced by a customized version Firefox, actually 83.1.0-rc1: Qwant or DDG as default search engine, alternate search engines added, telemetry disabled
      • 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.
    • 30/09/2020 (build 20200925):
      • Synced LineageOS sources and device tree (big improvements for the GPS)
      • microG updated to v0.2.12.203315 plus commits up to 25/09 (in-app maps now mostly working through Mapbox)
      • Prebuilt apps updated to their latest version
      • Welcome to "News": an app to keep users informed of latest iodé developments, as well a a FAQ.
    • 05/08/2020 (build 20200805):
      • Synced LineageOS sources and device tree
      • Camera leak now solved in the sources (thanks to @derf elot)
      • 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
    • 07/07/2020 (build 20200707): initial publicly available build of iodéOS for poplar.
    ### NEW UPDATE : 05/08/2020 ###
    Also available as an OTA update.
    Quick changelog:
    • Synced LineageOS sources and device tree
    • Camera leak now solved in the sources (thanks to @derf elot)
    • microG updated to v0.2.11.202414 plus commits up to 05/08
    • AppleNLP backend working again
    • Prebuilt apps updated to their latest version
    It's great to see another privacy focused rom for this device! I do have some questions though: why not use osmand (open source nav app) for maps. Also I understand that the built in ads blocker is better than a vpn based one, but how is it compared to say AdAway? And can it be deactivated (sometimes blocklists block useful sites too or result in certain apps to not function properly)?

    I'll do a backup on the weekend and check it out.
    The main reasons for the choice of Magic Earth over Osmand: it is simpler to use, and has real-time traffic information. There's not perfect choice...

    The blocker can be deactivated globally on its home page, or app by app on the report page. However, statistics are still collected. We will add a 'mute' function, to avoid statistics collection. Both (block and mute) will be able to be combined: mute but still block, unmute and unblock, ...

    Some of the main advantages of a low-level blocker like the one were're implementing:
    • there's no need to root the phone (for Adaway, root is required)
    • VPN remains free
    • the blocker is a low-level system process which cannot be killed by the Android memory management
    • it is implemented with efficiency and security in mind (c++ with RAII principle as much a possible, multi-threaded, specific sepolicy rules)
    • fine-grained control over which app may be blocked (and/or muted in a future version)
    • very accurate statistics: we can track exactly which app makes which DNS request, which app sends or receives which packet on the network, the quantity of data exchanged, source/destination, ports, ...
    • in addition to DNS blocking (equivalent to a hosts file based method like Adaway for global blocking of all apps), we can also block network packets whose source or destination IP address has recently been associated to a domain in the black list.
    • we will be able to make even more fine-grained tuning, like deciding that a domain must blocked for a given app but unblocked for another app, and many more
    How did you fix the memory leak? Couldn't find a repo with the full manifest used so couldn't check myself.

    BTW: Would be great to include build instructions and full description/code used as a privacy focused ROM should be transparent and for others to improve :)

    About our sources:
    We completely agree that transparency is at the core of a privacy-oriented project and we will (no ETA) open source our code.
    We will publish them when we consider it is the good timing. We have many features that remain to be done, we have to clean up the sources, and we want our work to be more known before doing so.