[ROM][OFFICIAL][instantnoodlep][11] LineageOS 18.1

Search This thread

berti22

New member
Feb 26, 2021
1
0
it would be helpful if the new installation findings are updated on the first page...
Then you don't always have to read through all the posts...
Is that possible?
many greetings
Berti
Update: I have done all the steps from first page. Everything works well and the installation is done at the first try! Thanks! Perfect work!
 
Last edited:

luckysoul777

Senior Member
Mar 6, 2015
131
6
Does anyone know when LOS would have *OFFICIAL* support for OnePlus 8 Pro, IF EVER?
I am not questioning the caliber of those who engineer an unofficial build. In fact, I have very high regard for them. My only concern is that these people can stop updating it anytime they want! I rather sign on to a brand that I know would last for quite a while. I am still using my 2013 Samsung S4. All thanks to LOS continues to update it.
 
Feb 22, 2021
13
2
Does anyone know when LOS would have *OFFICIAL* support for OnePlus 8 Pro, IF EVER?
I am not questioning the caliber of those who engineer an unofficial build. In fact, I have very high regard for them. My only concern is that these people can stop updating it anytime they want! I rather sign on to a brand that I know would last for quite a while. I am still using my 2013 Samsung S4. All thanks to LOS continues to update it.
Probably will take at least another few months or even more than a year. You see that the Lineage is not for a single device and I skimmed over all the devices on the official page and failed to find any 18.0 for any devices. Perhaps it was my miss to overlook some. But yeah. Once the major version is up, it is meant to support all the systems unless with specific declarations repudiating the support of some very old ones. Thus before the official publication, it has to maintain this status.

By the way I have successfully installed the system after soft bricking and entry of Qualcomm Crashdump mode. Also entry loop of fastboot mode. Thus I have experienced all the SHTF situtions until I have found the solution: Once in the lineage recovery mode, turn on fastboot in the mode and type:

Code:
fastboot --set-active=b

Then all the rest img files are to be flashed into partition B and then voilà. Done.

@LuK1337 BTW what I have been wondering the most is the device-specific enthusiasm. Almost everyone knows that 1+8P has a PhotoChrom camera which makes the fancy photos. Do you have any idea to enable that? May need some reverse engineering but it definitely would make it a sacred handheld.

PS: and yes, the fingerprint auth request icon on the screen is a bit off the coordinate with the real (white) auth icon. And they overlap each other. Hope to be fixed.
 
  • Like
Reactions: luckysoul777

LuK1337

Recognized Developer
Jan 18, 2013
8,323
16,632
Samsung Galaxy S III I9300
Moto G 2014
Does anyone know when LOS would have *OFFICIAL* support for OnePlus 8 Pro, IF EVER?
I am not questioning the caliber of those who engineer an unofficial build. In fact, I have very high regard for them. My only concern is that these people can stop updating it anytime they want! I rather sign on to a brand that I know would last for quite a while. I am still using my 2013 Samsung S4. All thanks to LOS continues to update it.
Uh, I don't think you understand how official builds work. It's not like once a $DEVICE hits official devices list then some magic fairies arrive and keep the device alive for 300 years, the device usually gets maintained by the same person that did unofficial builds and they are free to drop the device any time they wish.

Probably will take at least another few months or even more than a year. You see that the Lineage is not for a single device and I skimmed over all the devices on the official page and failed to find any 18.0 for any devices. Perhaps it was my miss to overlook some. But yeah. Once the major version is up, it is meant to support all the systems unless with specific declarations repudiating the support of some very old ones. Thus before the official publication, it has to maintain this status.

By the way I have successfully installed the system after soft bricking and entry of Qualcomm Crashdump mode. Also entry loop of fastboot mode. Thus I have experienced all the SHTF situtions until I have found the solution: Once in the lineage recovery mode, turn on fastboot in the mode and type:

Code:
fastboot --set-active=b

Then all the rest img files are to be flashed into partition B and then voilà. Done.

@LuK1337 BTW what I have been wondering the most is the device-specific enthusiasm. Almost everyone knows that 1+8P has a PhotoChrom camera which makes the fancy photos. Do you have any idea to enable that? May need some reverse engineering but it definitely would make it a sacred handheld.

PS: and yes, the fingerprint auth request icon on the screen is a bit off the coordinate with the real (white) auth icon. And they overlap each other. Hope to be fixed.
I cared so much about the camera that i didn't even know something like PhotoChrom was a thing. No idea how it works; no idea if it even works on custom roms.
 
Last edited:
  • Like
Reactions: luckysoul777

Vim_Cola

New member
Jul 26, 2020
2
0
Flashed on OnePlus 8 (Non-Pro) Unlocked with Verizon carrier. So far works fine, no issues. Not really a power user or technical user just yet, just a guide whore. Easy enough to follow. Although some things don't work like fingerprint reader. I think for now I will just flash back to OOS10, back to a simpler time.
 

luckysoul777

Senior Member
Mar 6, 2015
131
6
By the way, Luk, I know this is off-topic, but since you are an awesome developer, I find it hard to pass on the opportunity to ask you this question. Galaxy Note 8.0 Tablet (GT-N5120) used to have LOS support. The developer dropped it on Nougat. I am thinking to upgrade it to Android 10 or 11 in the future. Do you know of a guide somewhere that shows how to do this?

LOS has a guide showing how to port an unsupported device to LOS. I do know enough to follow that guide. It doesn't seem very challenging to me, ie. porting an unsupported device that is also on Nougat to LOS on Nougat.

However, I'm not sure if porting an old LOS on Nougat to a newer Android would be more or less challenging, and how to go about it.

Any comment is highly appreciated! Thank you
 

LuK1337

Recognized Developer
Jan 18, 2013
8,323
16,632
Samsung Galaxy S III I9300
Moto G 2014
By the way, Luk, I know this is off-topic, but since you are an awesome developer, I find it hard to pass on the opportunity to ask you this question. Galaxy Note 8.0 Tablet (GT-N5120) used to have LOS support. The developer dropped it on Nougat. I am thinking to upgrade it to Android 10 or 11 in the future. Do you know of a guide somewhere that shows how to do this?

LOS has a guide showing how to port an unsupported device to LOS. I do know enough to follow that guide. It doesn't seem very challenging to me, ie. porting an unsupported device that is also on Nougat to LOS on Nougat.

However, I'm not sure if porting an old LOS on Nougat to a newer Android would be more or less challenging, and how to go about it.

Any comment is highly appreciated! Thank you
>I am thinking to upgrade it to Android 10 or 11 in the future. Do you know of a guide somewhere that shows how to do this?
14.1 -> anything newer is the most mundane and challenging update there is...
There are no guides, you just ought to do what others did when updating their devices and hope for the best but really if you have no prior experience I doubt that you could achieve that kind of version update.

>LOS has a guide showing how to port an unsupported device to LOS. I do know enough to follow that guide.
It doesn't. Once upon a time there used to be CyanogenMod bringup guide but it was pretty much useless and there was no way one could bringup anything just by following it.
 
  • Like
Reactions: luckysoul777
Feb 22, 2021
13
2
@LuK1337 Question: I see no NFC permission in the security and permission settings. Will there be one? I found that some apps can automatically read NFC regardless if it is turned on. If it's not used but installed, the phone still reads the NFC credit cards (such as in the wallet when put together) and automatically switches to the app and displays the read info. This is quite a huge seurity concern.

I know you would ask "so why bother using this malware?" Meh. It's not absolute but necessary by circumstances. It's a bank application for foreign bank, and the apk is on their website. Thus, many people still have to use it if they use the bank. I wish there is an option to disable the access of NFC API at system level against that app, but it seems like the only system that can do it is Apple.

See if you are interested. I can provide more detail in PM.
 
Last edited:

LuK1337

Recognized Developer
Jan 18, 2013
8,323
16,632
Samsung Galaxy S III I9300
Moto G 2014
@LuK1337 Question: I see no NFC permission in the security and permission settings. Will there be one? I found that some apps can automatically read NFC regardless if it is turned on. If it's not used but installed, the phone still reads the NFC credit cards (such as in the wallet when put together) and automatically switches to the app and displays the read info. This is quite a huge seurity concern.

I know you would ask "so why bother using this malware?" Meh. It's not absolute but necessary by circumstances. It's a bank application for foreign bank, and the apk is on their website. Thus, many people still have to use it if they use the bank. I wish there is an option to disable the access of NFC API at system level against that app, but it seems like the only system that can do it is Apple.

See if you are interested. I can provide more detail in PM.
>Question: I see no NFC permission in the security and permission settings. Will there be one?
Ask Google about that.

There are 3 permissions but as to whether they are displayed in Settings or not I have no idea:
- android.permission.NFC
- android.permission.NFC_TRANSACTION_EVENT
- android.permission.NFC_PREFERRED_PAYMENT_INFO

You can probably do something funny with appops from the shell but I'm not really interested in looking harder into it.
 

explorersd

Member
Feb 3, 2019
6
0
Basically, for phone security purposes, I'm trying to verify that:

1) Verified boot works with this build
- all it needs to do is show the bootanimation, or just get an adb shell
- anything more isn't needed. If you can lock the bootloader with that build and still have adb, and then verify that verified boot is working and the bootloader is indeed locked - that's success
 

bibiii79

Member
Jun 5, 2010
34
2
Graz
Hello!
Question how to wipe the cache partition from fasboot? using custom recovery from lineageOS
command is: fastboot format cache (but i get an error)
Any ideeas?
 

Natethegrate1

New member
Nov 8, 2019
3
8
Anyone successful at getting safetynet? I feel like I've tried everything. Installed MHPC, universal safety net fix, riru + edxposed + fake gapps, microg... I am getting "safetynet api error" and my hardware evaltype is "N/A". Not sure if that is to be expected?
 

superchilpil

Senior Member
Sep 26, 2009
4,276
1,426
Texas
OnePlus 8 Pro
Can i update lineag in mobele without pc
Nope, only if/when we get a working twrp will you be able to flash a rom on the device
Anyone successful at getting safetynet? I feel like I've tried everything. Installed MHPC, universal safety net fix, riru + edxposed + fake gapps, microg... I am getting "safetynet api error" and my hardware evaltype is "N/A". Not sure if that is to be expected?
With the way Google is enforcing SafetyNet now it's virtually impossible to get it to pass. There might be a workaround at some point but the gist is you're SOL with bypassing safetynet on newer devices.
If you want a more in depth explanation check out @topjohnwu 's twitter
 

ringnutz

Senior Member
Dec 4, 2008
461
62
Pittsburgh
OnePlus 8 Pro
It is possible to pass SafetyNet with this rom by:

1. Enabling magisk hide in MagiskManager (duh).
2. Add the magisk module "Universal SafetyNet Fix" to force SafetyNet to use basic evaluation.
3. Add the magisk module "MagiskHide Props Config" from the Magisk repo.
4. Run the command props in a terminal and change the device fingerprint to the default OnePlus 8 Pro Android 11 fingerprint.

Edit: Works fine with the non-gms version with MindTheGapps too...

I was able to get safety net to pass using these instructions
 
Feb 22, 2021
13
2
I confirm this. Done it two weeks ago without problem. Whenever there is a rule and mechanism set up, there are ways to get rid of them. I am just waiting for the MicroG developer to finish up the Android Auto development which would be a great news once published, then I can get rid of GMS completely.
 

luckysoul777

Senior Member
Mar 6, 2015
131
6
@LuK1337

Hello Luk, based on which OnePlus 8 Pro variant is your custom ROM? There are four variants available depending on the country of intended use: IN2020 (China), IN2023 (Europe/Asia), IN2021 (India), and IN2025 (NA/USA).

Do you know if the only difference between these variants is the baseband? If that is the only difference, assuming your custom ROM doesn't come with baseband, then I am guessing it doesn't matter.
Thank you
 

Top Liked Posts

  • 1
    Do I flash this from Lineage recovery like I did Lineage?
    You can find the easy answer from this post: https://forum.xda-developers.com/t/...odlep-11-lineageos-18-1.4192827/post-84630617 (part 12). On that part it will instruct how to install MindTheGapps which is opengapps alternative for android 11.
  • 9
    Hey is this rom maintained by official Lineage OS team?
    Yeah, a team of one person - me.
    3
    I am sorry that you feel I am not giving you enough info to help me and might be following the wrong device model? I can assure you I am. 5. In the instructions wiki it says to flash recovery-recovery.img to your phone before proceeding and that is what I am trying to do. If you don't want to help me this is fine but please give me the exact cmd to get recovery on my device for the 8 pro though I am pretty sure I am already. Thx, Kevin
    Dear sir, please take a look at the attached image.
    1
    Do I flash this from Lineage recovery like I did Lineage?
    You can find the easy answer from this post: https://forum.xda-developers.com/t/...odlep-11-lineageos-18-1.4192827/post-84630617 (part 12). On that part it will instruct how to install MindTheGapps which is opengapps alternative for android 11.
    1
    Hi guys, can you please comment on camera performance, especially:
    - quality of 60fps video recording
    - photo image quality

    And also, do you use the stock app, or another camera app, like Gcam?

    Thanks!
    I can't answer your questions because I'm on OOS but I think that all the ROMs have the same quality when using Gcam, at least this is what I noticed back then
    1
    I'm afraid I do not know that much. As I said "I do not know exactly what update it is, but it is not kernel-related." I wish I could be of more help, which is why I am offering any logs or any other information you may find useful.

    Perhaps the terminology was wrong, but I trust you understood that I meant anything that updates using the latest source seems to bring this issue.
    I'm afraid I don't understand. You may be thinking of device/vendor trees but as far as I can tell I am the upstream for these thus I have no idea what to even say about that.
  • 9
    Hey is this rom maintained by official Lineage OS team?
    Yeah, a team of one person - me.
    8
    This is probably for my own reference more than anyone else but this is the process I followed (step by step) for successful safety net attestation, MindTheGapps (for those that want to get away from google), and Location services provider:
    1) Download Latest L18.1 build from Luk1337 (https://www.androidfilehost.com/?w=files&flid=320828)
    1a) Unzip the build to some folder-DON'T DELETE THE ZIP FILE (probably be good to rename that Zip file "LineageOS18.zip")
    2) Download ADB/platform tools on computer (https://www.xda-developers.com/install-adb-windows-macos-linux/)
    3) Start phone and make sure it is on the appropriate Android OS version (for this version of lineage it should be 11)
    3a) If you are not on the correct version of android you need to update through your standard (Stock Rom) to the latest version (for oneplus 8 pro OxygenOS you can just click through the update prompts in settings and then you should be updated to Android 11)
    4) Enable developer settings (read the article on how to install ADB-it shows you how to enable dev settings)
    4a) Allow USB debugging (again refer to the guide above)
    4b) Allow OEM unlock (
    )
    5) connect usb to phone/computer and ensure device is recognized by typing "adb devices" in the command prompt of the computer
    6) Type "adb reboot bootloader"
    6a) Verify that your computer recognizes your fastboot device-type "fastboot devices"
    6b) If your computer doesn't recognize then you need to manually select the driver for the android device in your device manager->universal serial bus device (https://visualgdb.com/KB/usbdebug-manual/) sorry if you run a mac
    7) Unlock the bootloader-type "fastboot oem unlock" (
    )

    **Probably should reboot here if you want just to be safe and make sure you didn't mess up the bootloader unlock process/android version update**

    8) In the bootloader, you need to flash the LOS recovery.img found in that unzipped folder from step 1a-make sure you have the path to the recovery.img file correct! (if you need to get back to bootloader cause you rebooted just fire up that powershell/command line, connect the phone, and type "adb reboot bootloader") type "fastboot boot 'some/folderpath/tofile/recovery.img'"
    9) From the recovery menu you use the volume buttons to navigate (and power button to select) Factory reset -> Format data/factory reset -> Format data
    10) Then navigate and select Advanced -> Enter fastboot
    11) TIME TO INSTALL THE ROM!! Remember that ZIP file you downloaded way back in step 1? You'll need to grab that zip file path and use it for this command-type "fastboot update 'some/folderpath/tofile/LineageOs18.zip'"

    ***The phone will reboot at this point automatically IF YOU DON'T WANT/NEED SAFETY ATTESTATION/MIND THE GAPPS/LOCATION SERVICES YOU CAN STOP HERE***

    12) Should you choose to continue you will have to go through the setup(I recommend skipping through all the setup stuff if you can) on the phone and make sure you have MindTheGapps downloaded (http://downloads.codefi.re/jdcteam/javelinanddart/gapps)
    13) On the phone reenable developer settings and USB debugging. open powershell, connect phone and type " adb reboot recovery"
    13) Once in recovery use your volume/power keys to navigate to Apply update->Apply from ADB (this activates ADB Sideload)
    14) Once in sideload mode simply type "adb sideload 'some/folderpath/tofile/MindTheGapps.zip'"
    15) Once mindthegapps is installed then you can back out of the adb update menu and select "Reboot System now"

    ***The phone will reboot at this point-IF YOU DON'T WANT SAFETY ATTESTATION/LOCATION SERVICES YOU CAN STOP HERE***

    16) For safety attestation (the ability to use google service framework required apps like Banking or Pokemon go) you can install Magisk (I am sure there are other ways but I did it this way). From your phone browser-download Magisk-v22.apk (https://github.com/topjohnwu/Magisk/releases) and install (you should be prompted if you want to install from unknown sources-just click yes and install)
    17) I will now just follow the installation guide from magisk (https://topjohnwu.github.io/Magisk/install.html)
    18) Connect phone and copy the boot image to your device. This is found in that unzipped folder from step 1a-the file is boot.img
    19) Press the Install button in the Magisk card
    20) Choose “Select and Patch a File” in method, and select the stock boot.img that you just copied
    21) The Magisk app will patch the image to [Internal Storage]/Download/magisk_patched_[random_strings].img
    22) Copy the patched image to your PC with ADB "adb pull /sdcard/Download/magisk_patched_[random_strings].img" (or you can just navigate to the file from your computer and place it somewhere you can find-you'll need to use this soon)
    23) Reboot to fastboot "adb reboot bootloader"
    24) Flash the patched boot.img file you copied to your computer "fastboot flash boot /path/to/magisk_patched.img"
    25) Reboot
    26) Open the magisk manager app that now has root access and click settings->enable magisk hide
    27) From your phone browser download the magisk module "Universal SafetyNet Fix" to force SafetyNet to use basic evaluation (https://github.com/kdrag0n/safetynet-fix)
    27a) In the magisk app go to modules (looks like a puzzle piece)->install from storage and select the Zip file you just downloaded (don't reboot just yet-simply use your back button at this point)
    27b) Add the magisk module "MagiskHide Props Config" from the Magisk repo (click the little magnifying glass)
    27c) Install some command line interface on the phone (I used Termux-https://termux.com/)
    28) Reboot ->open termux and follow the instructions from MagiskHide Props Config
    28a) in termux type "su" then "props"
    28b) edit the device fingerprint (1)->pick a certified fingerprint (f)->Oneplus(21)->Oneplus 8 pro europe IN2023 (40)->Android version 11 (2)->confirm (y) and then reboot
    29) Once your device restarts open the Magisk manager. There should be a button for "Check safetynet". Click it. You should see a "success" message

    ***At this point you have installed a custom rom with a minimal Gapps package, rooted your phone, and configured it to pass safetynet. This means you can now use all apps without restriction. I recommend installing Amazon App store, Aurora App store/Aurora services magisk module, and FDroid app store to get all the apps you need without providing a google account. IF YOU DON'T WANT LOCATION SERVICES YOU CAN STOP HERE***

    30) On your phone-download UnifiedNlp.apk from microg (https://microg.org/download.html). Do not install!
    31) In the magisk app module repository you can search and add the "App systemizer (terminal emulator)"
    31a) I also added the Magisk Module "Busybox for Android NDK" but I am not sure if this is required
    32) From Fdroid (or wherever) install (at a minimum) the MozillaNlpBackend, NominatimNlpBackend
    32a) you can optionally install SatStat (to check all your location data)
    33) In termux type "su" and then "systemize". Select "Systemize given APK (3)"
    34) If your browser default download location is the download folder then simply type /sdcard/download/unifiednlp.apk
    35) restart your phone
    36) Open the unifiednlp app and select "configure backends". You should see Mozilla locations service here. Check it
    37) Select "configure address lookup backends" and select "Nominatim"
    38) Select "self check" and Allow permission to access approximate location (I would suggest all the time but that is your choice).
    39) In phone settings->location make sure "use location" is on.
    40) Open sat stat (and give location permission). You should se a bunch of red and blue dots on a compass. You should now have location services. If you don't....sorry....
    7
    2okPze5.png


    LineageOS is a free, community built, aftermarket firmware distribution of Android 11, which is designed to increase performance and reliability over stock Android for your device.

    LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

    All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.

    Instructions :
    Downloads :
    Reporting Bugs
    • DO NOT Report bugs if you're running a custom kernel or you installed Xposed
    • Grab a logcat right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)
    • If it is a random reboot, grab /proc/last_kmsg. (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)
    • If the problem disappears after running "setenforce 0" from a root shell, grab /data/misc/audit/audit.log
    Remember to provide as much info as possible. The more info you provide, the more likely that the bug will be solved. Please also do not report known issues. Any bug not reported in the bug report format below may be ignored.

    Code:
    What is your--
    LineageOS version:
    LineageOS Download url:
    Gapps version:
    
    Did you--
    wipe:
    restore with titanium backup:
    reboot after having the issue:
    
    Are you using--
    a task killer:
    a non-stock kernel:
    other modifications:
    
    Provide any additional information (observations/frequency of problem/last version it worked on/etc) as needed:
    3
    I am on oos11 do i ned to go back to oos11 to flash this?
    You are on oos11 and you want to go back to oos 11??:cool:
    3
    I am sorry that you feel I am not giving you enough info to help me and might be following the wrong device model? I can assure you I am. 5. In the instructions wiki it says to flash recovery-recovery.img to your phone before proceeding and that is what I am trying to do. If you don't want to help me this is fine but please give me the exact cmd to get recovery on my device for the 8 pro though I am pretty sure I am already. Thx, Kevin
    Dear sir, please take a look at the attached image.
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone