[ROM][S9+/S9][UNOFFICIAL][LineageOS 18.1][21-03-2021]

Search This thread

wojtos1

Member
Aug 22, 2018
5
0
Hi everybody,
first of all thank you for best ROM! Everything runs smoothly and nice.
But I'm trying to solve an issue with SafetyNet because checking it in Magisk Manager gives
"SafetyNet API Error
basicIntegrity -
ctsProfile -
evalType N/A".

Checking the status in app SafetyNet Checker gives:
"Basic Integrity Success
CTS Profile Match Failed
Response Signature Verification Success"
I really don't know which way should I go to resolve that issue. I was trying doing step by step
https://xdaforums.com/t/working-mag...s-17-1-22-on-pie.3929950/page-9#post-79643248
installing SafetyNet Fix gives bootloop
https://xdaforums.com/t/magisk-module-universal-safetynet-fix-1-1-0.4217823/

Now I have no clue to do it. Could somebody help?
I will be grateful for any help.
 

Aga.bogdan

Member
Apr 26, 2021
39
3
Hi everybody,
first of all thank you for best ROM! Everything runs smoothly and nice.
But I'm trying to solve an issue with SafetyNet because checking it in Magisk Manager gives
"SafetyNet API Error
basicIntegrity -
ctsProfile -
evalType N/A".

Checking the status in app SafetyNet Checker gives:
"Basic Integrity Success
CTS Profile Match Failed
Response Signature Verification Success"
I really don't know which way should I go to resolve that issue. I was trying doing step by step
https://xdaforums.com/t/working-mag...s-17-1-22-on-pie.3929950/page-9#post-79643248
installing SafetyNet Fix gives bootloop
https://xdaforums.com/t/magisk-module-universal-safetynet-fix-1-1-0.4217823/

Now I have no clue to do it. Could somebody help?
I will be grateful for any help.
Install Magisk canary and Magisk build props to hide.
 
  • Like
Reactions: wojtos1

wojtos1

Member
Aug 22, 2018
5
0
Install Magisk canary and Magisk build props to hide.
Thnak you Aga.bogdan for your help.
I have installed Magisk Canary Manager first, again flashed Magisk.zip on twrp. Next I've install Magiel Prop Module and enabled Magisk Hide. I've used Hide for Google Play Services and Google Pay (fresh install). Ten opened Termux, props and used signature for Samsung S9 android 10 because there was no 11. Now I've got this means "incorrect certificate".
Screenshot_20210509-225320_Magisk.png

Google Pay does note work of course. Am I doing something wrong?
 

Aga.bogdan

Member
Apr 26, 2021
39
3
Thnak you Aga.bogdan for your help.
I have installed Magisk Canary Manager first, again flashed Magisk.zip on twrp. Next I've install Magiel Prop Module and enabled Magisk Hide. I've used Hide for Google Play Services and Google Pay (fresh install). Ten opened Termux, props and used signature for Samsung S9 android 10 because there was no 11. Now I've got this means "incorrect certificate". View attachment 5304775
Google Pay does note work of course. Am I doing something wrong?
In props select
1.google manufacturer
2.pixel 4xl
3.andriod 11
4.Restart
clear playstore data and Google play services
5.restart
 

Isovitisgr

Senior Member
Aug 25, 2011
177
38
Athens
Hi guys, may I ask if the support of this ROM has been stopped? Last update is from March as I can see and since then there was at least one update every month.

Sorry for asking but I'm thinking if re-installing it after some time as it is the smoothest ROM for S9+ for my opinion.
 

wojtos1

Member
Aug 22, 2018
5
0
EDIT: solved. I used manual from the post https://xdaforums.com/t/rom-android...-official-weekly-exynos.4209683/post-84188511
BUT it is important to add Magisk Module called Universal SafetyNet Fix taken from here:
https://github.com/kdrag0n/safetynet-fix/releases

Additional I used MagiskHide for all apps with "google" in the app name. Ofc there is a need to hide root for apps like Revolut, Banks etc.

Don't look at SafetyNet status in MagiskManager. I recommend to use SafetyNet checker from Play Store.

Probably I am doing something incorrect.
I tried again today after fresh lineageos installation (wiped DALVIK cache, system, data, cache. Then I flashed NIKGapps and booted. I installed Magisk Canary apk, rebooted into recovery to flash Magisk.zip, then from the app upgraded Magisk.
I rebooted system and installed MagiskHide Prop Config, hid Play Services and Google Pay (I have not opened it before) in Magisk Hide. In Termux using PROPS I've changed fingerprint to Google Pixel 4 XL, Android 11. After reboot in Magisk:
"API ERROR SafetyNet
-
-
N/A"

Maybe there is my bad somewhere in Magisk installation?
 
Last edited:

oky82

Member
Aug 4, 2017
24
8
www.oky-photography.de
Hi there, I'm using this ROM for some weeks now. I just figured out two bugs, one is very disturbing the usage of the phone. I use an SD card of 128GB formatted with exFAT. When connecting with USB and enabling the file transfer the phone immediately reboots. The other bug maybe depending on the app "duolingo". On lineage 17.1 I was able to do speech exercises. And after the upgrade this feature is gone.
Overall the system is very stable. Keep up the great work!
 

geronimoge

Senior Member
Aug 4, 2016
516
129
Hi there, I'm using this ROM for some weeks now. I just figured out two bugs, one is very disturbing the usage of the phone. I use an SD card of 128GB formatted with exFAT. When connecting with USB and enabling the file transfer the phone immediately reboots.
Same here
SD card was formatted by system (LOS) but I don't know if it's connected to the SD card at all.

So does it work for you, when you're unplugging the SD card from phone?
 

testerS4

Senior Member
Mar 7, 2019
174
34
security update:

I am also interested in when the new security update will be installed in the ROM. I have now tried ArrowOS which is based on AOSP. The May security update is already included there. Would want to stay here at Rob's ROM already.
(sorry for engl ... I use translators)
Device: G960F (starlte)
 
  • Like
Reactions: dreas74

Tzira

Senior Member
Sep 27, 2009
80
5
Campina
With latest build I get " app won't run without Google Play services, which are not supported by your device" when I try to run an app that uses Google Maps. Though I have Google Apps installed with MindTheGapps-11.0. Anyone else experienced this?
 

testerS4

Senior Member
Mar 7, 2019
174
34
With latest build I get " app won't run without Google Play services, which are not supported by your device" when I try to run an app that uses Google Maps. Though I have Google Apps installed with MindTheGapps-11.0. Anyone else experienced this?
I used the NikGapps-core-arm64-11. No errors since the last update.
 

Queeq

Member
Jun 21, 2016
23
8
Don't mean to be a jerk, simply stating my choices. The person who made this unoffical rom has been online several days this past week and has given us zero communication on future updates.

I'll be heading to arrow os soon.
In open source nobody owes anything to anyone. People are working in their free time. Which is kind of obvious.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 46
    2okPze5.png


    REQUIREMENTS:
    • Stock Samsung Oneui 2 - 2.5 (Android 10) Firmware. (Bootloader + Vendor)

    INSTRUCTIONS:
    • Lineage Recovery or TWRP
    • Format /system + /data + /cache
    • Flash
    • Reboot

    WORKING:
    • Wi-Fi
    • Bluetooth
    • Mobile Network
    • GPS
    • NFC
    • Audio
    • Camera
    • Fingerprint Sensor
    • HDMI
    • Ethernet
    • MTP/ADB
    • Call Recording
    • Encryption
    • SELinux Enforcing
    • Android Auto
    • Glove Mode
    • OTA Updates

    BROKEN:
    • Iris Scanner
    • VoLTE

    DOWNLOADS:

    XDA:DevDB Information
    LineageOS 18.1, ROM for the Samsung Galaxy S9

    Version Information
    Status:
    Stable
    ROM OS Version: Android 11
    ROM Kernel: Linux 4.9.118
    ROM Firmware Required: Oneui 2 - 2.5

    Contributors
    synt4x.93

    Source Code: https://github.com/synt4x93/

    Created: 16-12-2020
    Last Updated: 21-03-2021
    6
    would you mind specifying exactly what you did to build this? I am using the lineage for microg docker based build and it currently succesfully builds 17.1. I would like to build 18.1 with OTA and sign it myself and provide the OTA like you do.
    There are fragments of info across this thread, it would be great if you or anyone else can put them together.
    Thanks!
    Hi,

    Sure I can share what I did.

    1. Prepare directories and get Lineage sources (https://wiki.lineageos.org/devices/starlte/build)

    # Create directories
    Bash:
    mkdir -p ~/bin
    mkdir -p ~/android/build
    mkdir -p ~/android/build/src
    mkdir -p ~/android/build/ccache
    mkdir -p ~/android/build/keys
    mkdir -p ~/android/build/logs
    mkdir -p ~/android/build/zips
    mkdir -p ~/android/build/manifests

    # Get repo tools
    Bash:
    curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
    chmod a+x ~/bin/repo

    # Create a "~/.profile" file and paste this into:
    Bash:
    “if [ -d "$HOME/bin" ] ; then
        PATH="$HOME/bin:$PATH"
    fi”

    # Prepare git
    Bash:
    cd ~/android/build/src
    git config --global user.email "you@example.com"
    git config --global user.name "Your Name"

    # Init repo
    Bash:
    source ~/.profile
    repo init -u https://github.com/LineageOS/android.git -b lineage-18.1

    # Time to sync (it can take a very long time, so be patient).
    Bash:
    repo sync

    2. At this point, I forked all Synt4x.93 related repositories on my Github. But, you don’t really need to do that if you just want to build.

    For OTA, the only repo you will need to fork is android_device_samsung_starlte.

    3.
    Create an other repository named OTA.

    4. From your forked android_device_samsung_starlte repository, modify the file lineage_starlte.mk

    Change the last line with your GitHub username:
    Code:
    PRODUCT_PROPERTY_OVERRIDES += \
    lineage.updater.uri=https://raw.githubusercontent.com/<Your_username>/OTA/lineage-18.1/starlte.json

    5. Then you need to add the roomservice.xml file to add the device and kernel sources.

    You can use the resources from Synt4x.93, mine or from Neurotical (He’s maintaining a more recent version of the kernel, you should have a look: https://xdaforums.com/t/rom-s9-s9-unofficial-lineageos-18-1-weekly.4302901/ )

    Get one of the manifests:
    -Synt4x.93: https://github.com/synt4x93/local_manifests
    -pakaoraki: https://github.com/pakaoraki/local_manifests
    -Neurotical: https://github.com/Geoknyda/local_manifests

    Then modify the file roomservice.xml: change "project name" with your GitHub username to match your repository:
    Code:
    ...
    <project name="synt4x93/android_device_samsung_starlte" path="device/samsung/starlte" remote="github" revision="lineage-18.1" />
    ...

    Copy your version of roomservice.xml into ~/android/build/manifests directory.

    # Update source again
    Bash:
    repo sync

    6. Generate your own keys (https://wiki.lineageos.org/signing_builds.html)

    From the root of your Android tree, run these commands, altering the subject line to reflect your information:
    Bash:
    subject='/C=US/ST=California/L=Mountain View/O=Android/OU=Android/CN=Android/emailAddress=android@android.com'
    
    cd ~/android/build/src
    for x in releasekey platform shared media networkstack testkey; do \
        ./development/tools/make_key ~/android/build/keys/$x "$subject"; \
    done
    make a copy of the “keys” directory and keep it safe.

    7. Install docker and get docker-lineage-cicd image:

    You can use lineaos4microg : https://hub.docker.com/r/lineageos4microg/docker-lineage-cicd/Dockerfile
    Bash:
    docker pull lineageos4microg/docker-lineage-cicd

    Or

    I also re-write my own docker image to add some options. You can try: https://hub.docker.com/r/pakaoraki/docker-lineage-cicd
    Bash:
    docker pull pakaoraki/docker-lineage-cicd

    8. Then you are ready to build:

    Execute this command (change pakaoraki/docker-lineage-cicd with lineaos4microg/docker-lineage-cicd if needed)

    Bash:
    docker run \
    -e "BRANCH_NAME=lineage-18.1" \
    -e "DEVICE_LIST=starlte" \
    -e "INCLUDE_PROPRIETARY=false" \
    -e "SIGN_BUILDS=true" \
    -v "~/android/build/src:/srv/src" \
    -v "~/android/build/zips:/srv/zips" \
    -v "~/android/build/logs:/srv/logs" \
    -v "~/android/build/ccache:/srv/ccache" \
    -v "~/android/build/keys:/srv/keys" \
    -v "~/android/build/manifests:/srv/local_manifests" \
    pakaoraki/docker-lineage-cicd

    9. When build is done, create a new release on your OTA repo: choose a tag and upload recovery.img and zips file.

    you will need to create a starlte.json that match to your build and release information:
    Code:
    {
       "response": [
          {
             "datetime": 1627204505,
             "filename": "lineage-18.1-20210725-UNOFFICIAL-starlte.zip",
             "id": "39b85208c5c30edfafd983673a703d60",
             "romtype": "UNOFFICIAL",
             "size": 608774193,
             "url": "https://github.com/<username>/OTA/releases/download/<tag>/lineage-18.1-20210725-UNOFFICIAL-starlte.zip",
             "version": "18.1"
          }
       ]
    }

    <tag>: the tag you use when creating the release on Github.
    <username>: your username.

    Then, upload starlte.json to your OTA repository.

    It's possible that I forget something but you get the global idea.
    4

    @ElPakoTech

    Thanks for your work!
    I will test the build and give you feedback.

    Nice , if we have a maintained LOS with current security patches.
    Have you a paypal adress, that i can buy you a beer?

    Regards
    dreas
    I will do my own build anyway if there is no official support so I'm happy to share it. No need to tips but thanks :)
    4
    5th July security update ready on this build if you are compiling your own.
    How to check when its available besides going thru the make process and checking
    ~/android/build/core/version_defaults.mk
    once complete for the security update date ?

    Also checking the
    //source.android.com/security/bulletin
    for the monthly date and
    https://lineageos.org/blog/
    changelog
    isnt helpful. How to know what patch is ready to build before I go thru the whole process ???

    Need to keep the device patched to the latest at all times to be able to use as a daily for work :p
    To check for security update version of Lineage 18.1 before building your own: https://github.com/LineageOS/android_build/blob/lineage-18.1/core/version_defaults.mk#L243

    There is a build with July security update and an upstreamed kernel here: https://xdaforums.com/t/rom-s9-s9-unofficial-lineageos-18-1-weekly.4302901/

    I am upstreaming the kernel daily and building these new builds daily as well.
    4
    Don't mean to be a jerk, simply stating my choices. The person who made this unoffical rom has been online several days this past week and has given us zero communication on future updates.

    I'll be heading to arrow os soon.
    In open source nobody owes anything to anyone. People are working in their free time. Which is kind of obvious.