[ROM][Unofficial][11.0][microG][signed]hardened LineageOS 18.1 Oneplus 7T Pro

Search This thread
Here a result of adb logcat | grep aurora:
04-28 14:36:12.125 1150 24224 I ActivityTaskManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.aurora.store/.view.ui.onboarding.OnboardingActivity bnds=[493,804][720,1207]} from uid 10159 04-28 14:36:34.856 4765 4792 I com.aurora.services:aurora_service: oneway function results will be dropped but finished with status UNKNOWN_TRANSACTION and parcel size 0 04-28 14:36:34.863 24431 11215 I om.aurora.stor: oneway function results will be dropped but finished with status UNKNOWN_TRANSACTION and parcel size 0 04-28 14:36:34.864 2463 19607 I org.codeaurora.ims: oneway function results will be dropped but finished with status UNKNOWN_TRANSACTION and parcel size 0 04-28 14:36:41.841 24431 4528 E om.aurora.stor: failed to connect to jdwp control socket: Connection refused
Thanks for the log - At the moment, I can't really judge - the "I" (info) messages seem to be that, info only. Btw org.codeaurora.ims is a different, unrelated app. The "E" (error) message seems to give some indication. As indicated in my other reply, please try force-stopping, cleaning the download space and re-logon with a different anonymous account.
 
Last edited:

ewong3

Senior Member
May 28, 2015
201
38
thanks dev for the great work... all working fine.

often when performing aurora updates, one gets google play services install errror 'conflicting package exists', wondering if anyone has seen this and how to get round it?

looking at apkmirror, the one in aurora is already the latest non-beta version of gps, presumably this is an aurora issue, but just wanted to see if there is quick solution given this error happens on this rom on this phone for me...
 
thanks dev for the great work... all working fine.

often when performing aurora updates, one gets google play services install errror 'conflicting package exists', wondering if anyone has seen this and how to get round it?

looking at apkmirror, the one in aurora is already the latest non-beta version of gps, presumably this is an aurora issue, but just wanted to see if there is quick solution given this error happens on this rom on this phone for me...
Don't "update" Google Play Services! This ROM comes with microG, which spoofs the existence of G* play services, but you can't "update" those, and in fact you don't really want to (if you understand the technical background).

EDIT: See also FAQ section in OP
 
Last edited:

ewong3

Senior Member
May 28, 2015
201
38
Don't "update" Google Play Services! This ROM comes with microG, which spoofs the existence of G* play services, but you can't "update" those, and in fact you don't really want to (if you understand the technical background).

EDIT: See also FAQ section in OP
very helpful read, and good refresher on privacy in the OP, thank you for reminding!
 

bestouff

Senior Member
Mar 9, 2014
95
31
Grenoble
Question: What exactly happened, could be observed by you? I sometimes observe the following behavior on my phone, when I flash my builds to test: The boot animation normally is pretty slow, but lasts short - sometimes after a new flash, the boot animation has normal/fast speed but seems to run "forever". I don't really wait in that case, but simply press [power]+[vol-up]+[vol-down] to shut it off. Then I normally enable the device again and it boots fine.
In that specific state however, after the above force-shut-off, if you launch fastboot to switch from a to b or vice-versa (hoping to boot the last version), it will tell you after boot that /data would be corrupt. Ignore that and switch again to the previous partition and simply boot. Don't ask me, why - but that is, what my device sometimes does... - anyways, don't immediately give up, when the system tells you /data would be corrupt, spending some time playing around is worth the effort ... ;)
Believe me, I tried many things (notably booting on a/b slots) and either I was stuck in the recovery with a message telling me to wipe, or I was stuck at the moving boot logo (for >24hrs).
There was no sign that alerted me before excepted this strange Aurora behavior, so I made a link but I'm not sure either.

Yesterday I installed your new LineageOS version but the installer has been stuck for a few hours at the "finalization" stage (see screenshot). This morning it was finished but I'm afraid to reboot ...

Anything I could do before rebooting ?

Screenshot_20220508-211622_Gestionnaire_de_mise_à_jour.png
 
Last edited by a moderator:
Believe me, I tried many things (notably booting on a/b slots) and either I was stuck in the recovery with a message telling me to wipe, or I was stuck at the moving boot logo (for >24hrs).
There was no sign that alerted me before excepted this strange Aurora behavior, so I made a link but I'm not sure either.

Yesterday I installed your new LineageOS version but the installer has been stuck for a few hours at the "finalization" stage (see screenshot). This morning it was finished but I'm afraid to reboot ...

Anything I could do before rebooting ?


View attachment 5609903
Unfortunately, I have no good advice then. But taking "ages" after downloading the ROM to write to the partitions isn't really a good sign.
Unfortunately, I am not aware of any good option to check. The a/b design usually is intended to allow you to boot from the previously working state.

Some questions:
You haven't Magisk active, correct? (Trying to exclude any possibility)
As mentioned: When you have the "forever" boot animation, did you try to simply force-off and just enable again, without switching a/b?
Did you update the firmware, too? (This is different from ROM update and explained in Lineage Wiki)

Edit:
Try also to proactively backup, what you can. For example, for apps where you need also their stored contents from /data/data you can use adb pull (after adb root)
 

bestouff

Senior Member
Mar 9, 2014
95
31
Grenoble
- I have no Magisk.
- I tried switching a/b as soon as I saw the "please wipe /data" message, the long boot anim came after that.
- The firmware has been updated recently 2 months ago)

Ok I'll try a reboot after a few backups.
 

old-Silver

New member
Jun 20, 2022
4
3
New build with June 2022 ASB patches available
Hi all, a new build with the June 2022 ASB patches is available for download and also offered by the Updater app:
  • Security string 2022-06-05
  • Some kernel patches
  • Bromite Browser and Webview on 102.0.5005.96
  • microG updated to 0.2.24.214816-11
Happy flashing,
regards, M.
First things first, I have been using your builds for the OnePlus 7 Mclaren edition for a while now and have to admit, very few others take the time to consider privacy as much as yourself, for that I take off my hat to you with huge thanks.

On a side note, do you know of any other device that would make a suitable replacement for these devices? These have great levels of RAM, a semi decent CPU, no pin hole camera, or (under screen camera for that matter) and with the right choice, no 5G.
I made the choice to stick with the UK version of the phone due to it being 4G only but with 5g tech inside (No 5G modem so no chance of 5g Tracking, I hope).
The only problem is, the last two months have seen the battery life drop off so much that if I do not have a charger with me the phone is dead by 3pm :(.
I like the idea of 5G but as with everything else in this world, do not trust the exploitation it comes with.
Is it at all possible to have a modern phone and keep private or should I look to replace like for like?

Again, thank you for your builds and the time you put into them to keep us clear and secure!

Regards
old-Silver
 

old-Silver

New member
Jun 20, 2022
4
3
I understand these things track us on a daily basis, but I thought the 5G element increased the pin pointing by some silly percentage, example if You were in a city bar, 4G could show you were in one of the buildings on that street but not able to confirm if you were in the bar or one of the buildings next door, where 5G would show you in the bar and which bar stool you were sat on.

Thank you for highlighting the article for me, I was unaware of this particular exploit, it has highlighted something I have been saying for a while, two factor authentication is worthless, and only feeds the beast, not provide any more security, if it did I would be able to use my landline at login :).

Do you think it is possible to replace the McLaren 7TPro or is it worth grabbing another one the same? I would look to go with a non smart phone, but the carriers are removing most of the 2 & 3 G networks that they rely on :(
 
Last edited:

bestouff

Senior Member
Mar 9, 2014
95
31
Grenoble
Well, if you read between the lines the fact that a security vulnerability in SS7 implies access to the phone position also means that reporting the position is something baked into the protocol, and SS7 predates the 5G. So unless you abandon the idea of carrying a phone you have to accept to be sort-of tracked.
If you're a real paranoid use a phone with a removable battery to at least have some "time off network", but there's not much hope - unless maybe one day the EU parliament passes a law banishing constant monitoring.
 

old-Silver

New member
Jun 20, 2022
4
3
Not so much paranoid of being tracked, from a generation where nothing in this world is free. Today people seem to take anything given without any thought, creating a world of drones that obey. Free expression seems to be something said as they repeat the things read from the pocket gods.

So from the replies, I guess 5G is no different to 4G for privacy, and can look at any device supported by default Android, that opens up the choice a little but think I will keep running the 7tPro while these builds keep dropping :)
 

Top Liked Posts

  • There are no posts matching your filters.
  • 4
    New build with July 2022 ASB patches available
    Hi,
    a new build with the July 2022 ASB patches is available for download and also offered by the Updater app:
    • Security string 2022-07-05
    • Some kernel patches
    Happy flashing!
    Regards, M.
    2
    New build with August 2022 ASB patches available
    Hi,
    a new build with the August 2022 ASB patches is available for download and also offered by the Updater app:
    • Security string 2022-08-05
    • Bromite Browser and Webview updated to 103.0.5060.140
    • Some kernel patches
    Happy flashing!
    Regards, M.
    1
    New build with July 2022 ASB patches available
    Works flawlessly here. Thanks again @MSe1969 !
    1
    New build with July 2022 ASB patches available
    Have run the update for a few days now, as per the norm with your builds it comes without issues
    Thank you again for providing these MSe1969!
  • 7
    This thread is dedicated to provide hardened Lineage-OS 18.1 builds with microG included for the OnePlus 7T Pro (hotdog) with current security patches.
    You can consider this thread as the successor of my respective LineageOS 17.1 thread.

    Features of this ROM

    Download here

    • Pre-installed microG like LineageOS for microG project (own fork)
    • Pre-installed AuroraStore, AuroraDroid and AuroraServices
    • OTA Support
    • eSpeakTTS engine
    • Bromite as default browser
    • Additional security hardening features listed below:
    • Cloudflare as default DNS (instead of Google)
    • Privacy-preferred default settings
    • Optional blocking of Facebook- and Google-Tracking (Settings - Network & Internet)
    • Optional disable captive portal detection or choose from various providers (default is GrapheneOS and not Google; Settings - Network & Internet)
    • Firewall UI (under Trust)
    • Increased max. password length of 64
    • No submission of IMSI/phone number to Google when GPS is in use
    • Default hosts file with many blocked ad/tracking sites
    • Privacy-enhanced Bromite SystemWebView
    • Extra control of sensor access for additionally installed user apps (Special access under app permissions)
    • Kernel kept up to date with ASB patches of Google kernel/common 'android-4.14-q-release' branch
    • Debloated from Oneplus blobs for Soter and IFAA
    • Hardened bionic lib and constified JNI method tables
    • Option to only use fingerprint unlock for apps and not for the device
    • Optional timeout for Bluetooth and WLAN connections
    • Per connection WiFi randomization option

    Current release levels

    Security string: 2022-08-05
    AOSP tag: 11.0.0_r46
    Bromite System Webview & Browser: M103


    Source-code and build instructions

    Kernel: https://github.com/lin18-microg/android_kernel_oneplus_sm8150/tree/lin-18.1-mse2
    Build manifest: https://github.com/lin18-microg/local_manifests/tree/lin-18.1-hmalloc


    Installation Instructions​


    YOU ARE RESPONSIBLE SOLELY YOURSELF FOR ANY ACTIONS YOU DO WITH YOUR DEVICE !!!
    Please note - I won't explain any single aspect (e.g. how to install 'fastboot' on your PC or troubleshoot USB connectivity issues under Windows). Search the net and consult the search engine of your choice or look here in XDA, there is plenty of information available.

    Pre-Requisites​

    • Have fastboot and adb installed on your PC and make sure, you can connect via USB to your device in fastboot mode and via adb
    • An unlocked bootloader (see e.g. LineageOS install instructions)
    • If you come from Stock ROM, make sure to upgrade your device to the latest offered software version
    • Know, how to boot into fastboot mode (with powered off device press [Power]+[Vol.down]+[Vol.up])

    Please read carefully:​

    I refer in general to the LineageOS install instructions, but there are some deviations!
    It is recommended to really go through the instructions once, before doing anything. You have been warned.

    Let's go!​

    Install the dedicated Lineage recovery for this ROM​

    For the Oneplus 7T Pro (hotdog), there is currently no official TWRP available! The misc. unofficial TWRPs did not work for me. (If you can point me to a properly working one, I'll be glad to update these instructions)
    Please download the specific Lineage revocery for this build. It has been built using this ROM's signing key, because the official Lineage recovery did not work either for me (the official Lineage recovery works with the official build, this one works for this specific build).
    Unzip and flash this specific recovery with the below commands (your device must be in 'fastboot mode'):
    Code:
    fastboot flash recovery_a lineage-18.1-recovery-20210903.img
    fastboot flash recovery_b lineage-18.1-recovery-20210903.img
    Reboot now into recovery from fastboot (follow the menu options) - DO NOT boot into your OS yet.

    If you come from Stock ROM, synchronize the a/b partitions​

    If you come from Stock ROM, sideload the "copy partitions" script referred and described in the LineageOS install instructions.
    Please note, that you may get error messages stating
    Partition product_b dd: /dev/block/dm-1: write error: No space left on device Partition vendor_b dd: /dev/block/dm-2: write error: No space left on device
    You can ignore those, as long as it is product or vendor.

    Upgrade the firmware​

    Please refer to the LineageOS documentation on upgrading the firmware
    BTW, this thread contains a huge collection of OOS images.

    Install the ROM​

    Continue as described in the LineageOS installation instructions with formatting /data and sideloading the ROM ZIP (download link above).
    It is normal, that you observe at 47% progress a longer break, followed by a step 1/2 and finally 2/2 before a success message appears.
    Please note: Even if you come from my previous hardened LineageOS 17.1 ROM, you can't "dirty-flash" - the device encryption is not compatible. You must format the /data partition! Please keep in mind, that formatting the /data partition also wipes the shared internal memory - backup first!

    DO NOT flash Gapps!
    This ROM comes with pre-installed microG. So don't attempt to flash Gapps.
    If Gapps is a 'must' for you, please use the official LineageOS build for this device.


    Update Instructions​


    This ROM offers OTA updates through the Updater app. Therefore, normally, no further activities necessary.
    You can however also manually update the ROM by sideloading a newer version of this ROM via recovery.
    IMPORTANT:
    If you would like to manually update by sideloading the ROM, you need to first flash the linked recovery image (see install instructions) again via fastboot!
    Recovery is always updated when flashing a new ROM version, and that updated recovery can't sideload this ROM version.


    Frequently asked Questions​


    These questions come from various threads for my hardened microG ROMs. I have listed them here, because they also apply to this ROM and are hopefully helpful.

    1. AuroraStore
    I bundle AuroraStore with my build, but I am in no way associated with its development. The first place to look for support is the AuroraStore XDA thread and its excellent FAQ Section. Nevertheless, I would like to answer some frequently asked questions in conjunction to my ROM:

    Q: AuroraStore offers an update to "Google play services" - I thought your ROM is "Google-free"?
    A: The bundled microG application spoofs the existence of Google play services. This is a necessary part of microG's design. In AuroraStore, please add the Play Services to the ignore list. You won't be able to "update" them anyhow, but better do not even try to do so!

    Q: I can't connect, Aurora claims "no network" - but I can normally use my browser and other apps to connect to the internet.
    A: If the "iptables block script" of my ROM is active, try to deactivating and immediately after re-activating it.
    If that does not help or you don't use the iptables block script of tis ROM, you may try to force-close the app or logoff/logon again. However, the Aurora support thread will be your primary point to look at!


    2. Google/Facebook iptables blocking
    Q: How does the Google/Facebook blocking work?
    A: Via the 'iptables'/'ip6tables' functionality of the Linux layer of Android, the ip4/ip6 address range of Google and Facebook is blocked on a per app base (in fact, it is generally blocked, but some apps on an internal exception list are still allowed to connect). This means, that apps (or spyware components thereof) cannot send/receive data to/from Google/Facebook. Btw, certain connections to X-mode and Palantir are also blocked, but I am not sure, whether this is enough - any qualified information to improve this are very welcome!

    Q: I like this Google/Facebook blocking approach, but my favourite <xyz> app needs to be able to connect to Google/Facebook. Can you please add this app to your exception list?
    A: Please read this comprehensive information. In short: If you have a trustworthy FOSS project aiming at connecting to Google/Facebook via Webview as 'mobile browser' with (almost) no permissions or you have a tracker-free app to connect to a proprietary service, which simply is hosted on a Google webspace, I am happy to discuss this, but I will definitely not allow any "Playstore top ten genuine spyware app".

    Q: Which apps are on your exception list?
    A: see here

    Q: But if Google is blocked for almost every app, can I still get push messages?
    A: Yes, you can! Push messages are routed and controlled through the microG functionality, which stil can connect to Google.


    3. etc/hosts ad blocking
    Q: What is the etc/hosts ad-blocking and how does it work?
    A: I deliver a monthly-updated /system/etc/hosts file from the AdAway app which lists a comprehensive selection of known ad/spyware addresses. Any attempt to connect to those sites is redirected to the local OS, so a positive connection is reported, but no content is transmitted. (See linked explanation).

    Q: Which anti-tracker lists do you use?
    A: The same defaulted by the AdAway app, plus in addition Microsoft's 'Hockey Stick' stuff.

    4. Firewall UI
    Q: What is the Firewall UI and how does it work?
    A: Under Settings - Data privacy - Trust, you'll find a list of all installed apps (optionally, you can also show the shipped system apps), which lets you control - per app - whether the app can connect via WiFi, Mobile data or VPN. In fact, you can in any LineageOS individually control this in the app details (Settings), this option simply gives you a comprehensive view for all apps.

    Q: How do I use it? What are the typical use-cases:
    A: It of course depends on your specific requirement, but below some very typical use-cases:
    a. Disallow internet access completely (uncheck WiFi, mobile data and VPN)
    This might be useful for an app, which does not need internet access to work, but uses internet access to e.g. nag you with ad-crap (some games on the play store, for example)
    b. Make sure, that an app only uses WiFi (in order to avoid costs when using mobile data) - uncheck mobile data
    c. Make sure, that an app only has internet, when connected via VPN - uncheck WiFi and mobile data

    5. Privacy features / data privacy of this ROM
    Q: Does this ROM protect my privacy by design/default?
    A: First of all, you will never get any "auto-protection" without having to take care, what you do!
    What this ROM provides to you in addition to an "official" LineageOS:
    • This ROM comes with microG, to avoid the necessity of having to flash the Google apps, with the "mother of all spyware" called Google Play services. So many apps with that dependency would still work, either fully, or with their core-functionality, but without "extra Google convenience" features.
    • You can optionally block Google/Facbebook connections, which can add a further protecion layer (see the specific FAQ section about that feature)
    • Many nasty ad-servers, which are embedded into shady apps or websites are blocked by default
    • Some hardening measures known from the GrapheneOS project have been added
    HOWEVER - just some examples, how you can easily screw up any privacy gain (this list is by far not even near to comprehensive):
    • You still CAN install all kinds of shady apps and use privacy-ignoring services. If you e.g. install the genuine Facebook or Instagram app, the majority of your private data on your phone will be immediately uploaded to Facebook servers, as those apps even refuse to start, if you do not grant all the sensitive permissions! (Note: Yes, afterwards, when your data has already been stolen, you can revoke those permissions again. And yes, Whatsapp seems maybe 'slightly' better in this regard, but if you really believe, that WA isn't fully integrated into the FB ecosystem, you must be living on another planet).
    • If you use the Microsoft Outlook app to connect to any "non-Microsoft" e-mail provider, your logon credentials to that other mail provider are stored on Microsoft servers factually allowing Microsoft to steal your identity. Using Microsoft e-mail services or GMail discloses all your e-mails to automated scanning for "suspicious activities"; this has nothing to do with your phone, but outlines, how you can void even the most secure device by making use of privacy-ignoring services.
    • Making use of Genuine Google-apps with microG also isn't a good idea - make use of alternatives.
    • Any app, which you install on your device, could misuse its needed privileges! So try to stick to FOSS apps.
    • And last, but not least, if you are a 'dissident' or fear otherwise any targeted or comprehensive surveillance, this ROM isn't for you either...



    Dealing with signed builds​

    Please note, that this builds is signed with an own key. When you come from a different build, you cannot directly "dirty-flash" this build. You have to perform a "clean flash".


    Bug reports:​

    If you have a problem, please create a post with these informations:
    Original Kernel shipped with this rom:
    Build Date:
    And try to get log as described here
    Please note that I can't and won't support issues with builds using a different kernel or Xposed.
    In regards to microG, I will try my best to help when it is related to this ROM (I use it myself), but any questions of the type "the YXZ-app can't do <some sort of fancy xyz Google functionality> properly" are better asked in the respective microG forums.

    Credits​

    AOSP project
    LineageOS project
    microG project
    Graphene OS project
    csagan5 (Bromite)
    WhyOrean (Aurora)
    SkewedZeppelin (Kernel patches)
    6
    New build with June 2022 ASB patches available
    Hi all, a new build with the June 2022 ASB patches is available for download and also offered by the Updater app:
    • Security string 2022-06-05
    • Some kernel patches
    • Bromite Browser and Webview on 102.0.5005.96
    • microG updated to 0.2.24.214816-11
    Happy flashing,
    regards, M.
    4
    New build with April ASB patches

    A new build with April 2022 ASB patches is available for download and also offered via the Updater app:
    • Security string 2022-04-05
    • Some kernel patches
    • Bromite Browser and Webview on 100.0.4896.57
    Happy flashing - cheers, M.
    4
    thanks dev for the great work... all working fine.

    often when performing aurora updates, one gets google play services install errror 'conflicting package exists', wondering if anyone has seen this and how to get round it?

    looking at apkmirror, the one in aurora is already the latest non-beta version of gps, presumably this is an aurora issue, but just wanted to see if there is quick solution given this error happens on this rom on this phone for me...
    Don't "update" Google Play Services! This ROM comes with microG, which spoofs the existence of G* play services, but you can't "update" those, and in fact you don't really want to (if you understand the technical background).

    EDIT: See also FAQ section in OP
    4
    New build with July 2022 ASB patches available
    Hi,
    a new build with the July 2022 ASB patches is available for download and also offered by the Updater app:
    • Security string 2022-07-05
    • Some kernel patches
    Happy flashing!
    Regards, M.