yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S9 & S9+ Cross Device Development] leechpool:
Worth it in the end

I managed to get this working on my S9+ using the method/ files from above, but it took many many attempts. I kept getting in a loop where it would say encryption was interrupted ... with the only option being to erase all data, as LOS was starting but if you hit the erase all data it would do something reboot and get back to the same screen. To be honest I'm out of my depth, I just come here every few years when I want to change my ROM, so I can't provide detailed guidance as I'm not sure what was wrong and what was right in the end. I think if I'd found the option in TWRP to format data partition, I'd have got things going a lot sooner. Anyway huge thanks and admiration to those involved in providing this ROM. Once you get it going it is excellent. With the modified vendor image, you can have a data partition that isn't encrypted and so TWRP backup of data partition works.

One small question. The home app icons don't look as good as they were in LOS 15. In LOS 15 the icon for say IP cam viewer was a IP camera with no background. Now it is the same camera but smaller, in a circle with a white background. I've looked at settings and tried to search but can't seem to get back to the icons without backgrounds. Any pointers would be appreciated.

:laugh:
[Samsung Galaxy S9 & S9+ Cross Device Development] yarpiin:
yes , you need to mount vendor rw then edit gains in these files
[Samsung Galaxy S9 & S9+ Cross Device Development] droidsometimes:
That's because of 'adaptive' icons in newer AOSP releases.

And because Google loves white. (j/k)

To get rid of white borders (and maybe get back transparency) you'll have to use another launcher.

Or you could try and bother the developer of the app in question to create an adaptive icon, to at least get rid of the white stuff.
[Samsung Galaxy S9 & S9+ Cross Device Development] Philipp_:
Hello, I'm trying to install the recovery, but I get the error "Custom Binary (RECOVERY) Blocked By OEM Lock".

What am I doing wrong?

PS: Sorry, I had to activate OEM-Unlock first.
[Samsung Galaxy S9 & S9+ Cross Device Development] razvanadrian:
hello, quick question guys maybe you can point me in the right direction. How to pass safetynet? I tried everithing the past days to pass the CTS Profile Match otherwise my banking app wont work. Are your banking apps working? does your phones pass the safetynet?

Because a custom ROM is a good thing and what Lineage is doing is amazing but then if we can not find a way to pass safetynet then what good is a custom ROM? because most people today use banking apps and netflix and so on...

thx
[Samsung Galaxy S9 & S9+ Cross Device Development] Prazaar:
For 100% working Banking App:

You need Magisk root, in Settings "Magisk Hide" on.

Slidebar Magisk Hide activate Banking app.

Pass CTD:

You need this

Magisk Module:

Busybox for Android NDK

Magiskhide Props Config

After reboot

Terminal enter props, 1, f, 26, 45, y, y (or read the introduction)
[Samsung Galaxy S9 & S9+ Cross Device Development] xversion1:
Do you have any reference? I think I can try to mount vendor, take time to google but it's possible. But edit gains without a frame of reference seems not safe, I might end up worse than it already is.

P/S: By the way, do I need to root my phone to mount? I'm not an savvy user so I don't want to root my phone.
[Samsung Galaxy S9 & S9+ Cross Device Development] razvanadrian:
Amazing! all green now, but still my eToken banking app is not working it says:

For security reasons, the eToken application does not work on phones whose administrator protection has been removed or on phones that have modified operating systems.

i'm one step closer :)) thx a lot, i will try a clean reinstall of everything rooting the stock rom with magisk before installing lineage.
[Samsung Galaxy S9 & S9+ Cross Device Development] Prazaar:
Have you Magisk Hide activated and added the banking app?

This is necessary for the apps to work.
[Samsung Galaxy S9 & S9+ Cross Device Development] razvanadrian:
yes sure, also hided magisk by changing the name, but no use.

thank you for your reply
[Samsung Galaxy S9 & S9+ Cross Device Development] Freeze24:
For me it worked with Magisk Canary, but unfortunately the link is down.

https://raw.githubusercontent.com/topjohnwu/magisk_files/canary/app-release.apk
[Samsung Galaxy S9 & S9+ Cross Device Development] vomad:
Last version of MagikHideProps doesn't require a busybox magisk module, it's built-in.
[Samsung Galaxy S9 & S9+ Cross Device Development] razvanadrian:
Good to know, thx!
[Samsung Galaxy S9 & S9+ Cross Device Development] razvanadrian:
my phone passes safety net, all green, i hided magisk, i hided also the banking etoken app, but the etoken banking app still somehow can see the custom ROM and gives me this message: For security reasons, the eToken application does not work on phones whose administrator protection has been removed or on phones that have modified operating systems. 110.1469.0.9007

any ideas what more can i try? thx
[Samsung Galaxy S9 & S9+ Cross Device Development] cimenta:
I am new to this ... so does that mean that my banking applications ( I got 4 of them) will work with Lineage?

Thank you
[Samsung Galaxy S9 & S9+ Cross Device Development] Prazaar:
Google Pay, Commerzbank, Klarna, N26 <- my apps and all working
[Samsung Galaxy S9 & S9+ Cross Device Development] testerS4:
I also dealt more intensively with this topic this week. I also found what I was looking for in a German forum. So pushTan via Sparkasse with MagiskHide doesn't work for me. There are probably too big hurdles. According to the forum, CustomRom should generally work when the bootloader is closed. Alone MagiskHide doesn't always work!

(sorry for engl ... I use translators)

Device: G960F (starlte)

Baseband G960FXXS9DTD7

Kernel: 4.9.218
[Samsung Galaxy S9 & S9+ Cross Device Development] BoyZzDEViL:
Please correct the problem with the volume during a call. Very quiet, almost inaudible to the interlocutor
[Samsung Galaxy S9 & S9+ Cross Device Development] mmars:
Dark Theme: sunrise/sunset

@ all: as indicated at the first page of this thread, 3rd party addons (Magisk/XPosed/Dolby/Viper/etc.) are not supported here. So please check the other threads for support.

Can anyone please check if the dark theme automaticaly changes to dark/light according to sunset/sunrise?

With the 03.08 build, It turns on (dark) after sunset, but does not turn off (light) after sunrise. Can anyone confirm?
[Samsung Galaxy S9 & S9+ Cross Device Development] dennisakazai:
Agree, i though it was my hardware problem... But somebody else experience the same issue

Dear developer, Kindly fix for the next update
[Samsung Galaxy S9 & S9+ Cross Device Development] FooYoungHi:
Speaking of volume; is it possible to add (the option for) smaller increments in the increase of volume? I believe it is like 7% per tick, and it is often either too low or to high for me. I also often notice (at leas with a BT speaker) that it sometimes takes 2 clicks to actually hear a difference in the volume.

If it is too much of a niche thing to bother with, is it something a n00b like me can edit in himself? I remember on my S4, the Resurrection Remix ROM added it themselves.
[Samsung Galaxy S9 & S9+ Cross Device Development] djseban2:
Hey there, I installed this ROM about a week ago and one thing I can say for sure - battery life is excellent! There is no comparision to stock ROM in my case. Also I had to do some hassle to get Google Pay working (I followed this tutorial https://xdaforums.com/poco-f1/how-to/fix-magisk-safetynet-t3896695, only difference is I chose S9+ fingerprints), but aside of that everything is working. The only annoying thing is push message "Ok Google model download failed" that is sent few times a day. Did anyone encounter this kind of problem?
[Samsung Galaxy S9 & S9+ Cross Device Development] dennisakazai:
Can we have touch sensitivity togle option?
[Samsung Galaxy S9 & S9+ Cross Device Development] geronimoge:
Just out of interest since the last official version is from August 3rd:

Doesn't LOS build new releases for every supported device automatically with all changes, that belong to every device?
[Samsung Galaxy S9 & S9+ Cross Device Development] Speedmatze:
Good news for those of you that use MicroG instead of gapps. LineageOS for MicroG is now building with version 17.1.

The first build for S9 and S9+ went online:

https://download.lineage.microg.org/starlte/

https://download.lineage.microg.org/star2lte/
[Samsung Galaxy S9 & S9+ Cross Device Development] testdriver2:
NFC for (german) passports does not work. It the "extendet lengeth problem". But nfc hardware is capabale of this nfc mode.

Further info: https://stackoverflow.com/questions...rt-of-extended-length-apdus-and-which-smartph
[Samsung Galaxy S9 & S9+ Cross Device Development] Olangu:
Have anyone tested this?

Is it possible to dirty flash on a encrypted los 17.1?
[Samsung Galaxy S9 & S9+ Cross Device Development] pumori:
the audio framework is buggy on 17.1

without the samsung specific noise cancelling driver phone calls are really difficult for the counterpart.

I'm sure one of these great developers on XDA will succeed in reverse engineering the important part of this module, just be patient, it's not an easy task.

Bluetooth calls have a gap of approximately 5 sec before connecting the audio stream, anyone else encounterd this behavior?
[Samsung Galaxy S9 & S9+ Cross Device Development] Robin_Cl:
I tried it with multiple vendors, but I never got further than the lineageOS loading screen.

Coming directly from the latest official LOS 15.1 with microG.

Also formating and installing wasn't possible. Same problem. I have no clue, what the problem could be.
[Samsung Galaxy S9 & S9+ Cross Device Development] Olangu:
I was able to get it to run.

Wiped system to get rid of OpenGapps then installed the microg-zip.

(Worked fine with dirty flash!)

Every app that depends on Google Play Services kept on crashing tho. So I just went back to the latest lineageos with opengapps nano.
[Samsung Galaxy S9 & S9+ Cross Device Development] Speedmatze:
Substituting gapps with microG with dirty flashing does not work. The apps are not properly registered to microG to work. You need to reinstall all apps that rely on the google services framework.

Possible workaround: You could use Titanium Backup or Migrate to reinstall the apps without losing the data.

A clean new installation is preferable though...

I am currently on LOS16 with MicroG added by nanodroid. Will probably switch to LOS17.1 next weekend.
[Samsung Galaxy S9 & S9+ Cross Device Development] KileXt:
Build 20200813 star2lte

Hi, first of all thanks for this amazing ROM, I freshly installed it today and it seems perfect in almost every way. The big draw back is that LTE doesn't work at all and network services are there randomly to say the least. The weird thing is that when I booted the phone after install it was working fine, it was only after a reboot that it started being terrible.

Here are the step I took:

I did the last stock OneUi update two days ago (the most recent one in europe, so it should be android 10).

Then I unlocked the OEM and installed last twrp version using heimdall. Did a factory data reset from there and finally sideloaded Lineage and Gapps pico.

I hope it can be fixed in the next update or so and thanks again !

KileXt
[Samsung Galaxy S9 & S9+ Cross Device Development] droidsometimes:
Working fine here, on both SIMs. 17.1-20200713-NIGHTLY-starlte, no Gapps.

What's your baseband version? (in About phone - Android version)
[Samsung Galaxy S9 & S9+ Cross Device Development] Olangu:
Thank you!

You're right, reinstalling the apps does work.

I guess both Ti-Backup and Migrate needs root?

And from what I can see no root-zip is available yet for Microg 17.1.
[Samsung Galaxy S9 & S9+ Cross Device Development] KileXt:
Hi, my Baseband version is: G965FXXSBETG8, I really hope it is comming from the build though, It would be expensive to make such a phone unable to use network services.
[Samsung Galaxy S9 & S9+ Cross Device Development] morlaco06:
For those who want to get rid of forced encryption i'm gonna explain what i did to modify the vendor.img:

I downloaded the most updated firmware for my device and decryted using samfirm. From the "AP_*" file i extracted the "vendor.img.lz4". Then I used lz4 to convert to vendor.img( lz4 -d vendor.img.lz4 vendor.img).After that, i used simg2img to convert that vendor.img into vendor_raw.img that can be mounted in linux(simg2img vendor.img vendor_raw.img). Then I mounted that img file in a folder and I went to etc folder and edit "fstab.samsungexynos9810" file using a text editor with root. I changed the next line:

/dev/block/platform/11120000.ufs/by-name/USERDATA	/data	ext4	noatime,nosuid,nodev,noauto_da_alloc,discard,journal_checksum,data=ordered,errors=panic	wait,check[B],forceencrypt=footer[/B],quota,reservedsize=128M,length=-20480

to

/dev/block/platform/11120000.ufs/by-name/USERDATA	/data	ext4	noatime,nosuid,nodev,noauto_da_alloc,discard,journal_checksum,data=ordered,errors=panic	wait,check,quota,reservedsize=128M,length=-20480

Then saved the file and unmount the vendor_raw.img.

After that I flashed the lastest stock firmware in odin making sure that the auto reboot is unchecked and then I flashed twrp and booted straight to twrp. Flashed the img vendor_raw.img into vendor.Then I flashed the last official lineage os from this thread, gapps , magisk and thats all. All working fine.
[Samsung Galaxy S9 & S9+ Cross Device Development] KileXt:
Hi again, To give some final feedback, everything is working fine now, for some reason I am able to connect to the network easily so I can call (probably bad reception from my place) and LTE is back because I was missing an APN setup, so now everything work, this rom is gold thanks for all.

KileXt
[Samsung Galaxy S9 & S9+ Cross Device Development] Robin_Cl:
Anyone knows, if there is a modified vendor.img to get? The one in the unoffical thread isn't there anymore.

I will try this path, but I'm pretty sure I will have problems... for first I have multiple vendor.img, but no .lz4.

I hope I can install the microG variant without the forced encryption.
[Samsung Galaxy S9 & S9+ Cross Device Development] Syntax_Error_:
You can use this modified vendor:

G960FXXU8DTC5_vendor.img
[Samsung Galaxy S9 & S9+ Cross Device Development] Robin_Cl:
I wanted to say thank you!

The dirty flash (microG 15.1 -> 17.1) worked with this vendor without any problems.
[Samsung Galaxy S9 & S9+ Cross Device Development] Syntax_Error_:
You're welcome ! :)
[Samsung Galaxy S9 & S9+ Cross Device Development] furrymonster:
SM-965FZ sub-version support?

Hi all,

In the official lineage wiki (https://wiki.lineageos.org/devices/star2lte) it says the supported versions of the S9+ are SM-G965F, SM-G965F/DS, and SM-G965N (European, Asian Dual-SIM, and Korean versions with the Exynos chipset). Does anyone know whether any of the following versions (all Exynos chipset-based UK sub-models) also work with this ROM?

SM-G965FZKDXEU

SM-G965FZVDXEU

SM-G965FZKEBTU

SM-G965FZPEBTU

SM-G965FZBEBTU

SM-G965FZKGBTU

SM-G965FZPGBTU

SM-G965FZBGBTU

SM-G965FZKHBTU

SM-G965FZPHBTU

SM-G965FZBHBTU

SM-G965FZVABTU

SM-G965FZSABTU

The reason I ask is that they have (for me) slightly better LTE band coverage.

Thanks all for the help!
[Samsung Galaxy S9 & S9+ Cross Device Development] souljah2k:
Can i make the advanced s9 camera functions work like 720p@960fps or the telephoto camera?
[Samsung Galaxy S9 & S9+ Cross Device Development] StephenNP:
Hello everyone. I have a problem with flashing LineageOS 17.1 to Galaxy S9 SM-960F/DS, Android 10 (August 1st, 2020). Two days ago I unlocked OEM and my RMM State was: Prenormal, KG State: Checking. When I tried to flash LineageOS custom recovery (from Linux with Heimdall suite) it gave me the message: Only Official Released Binaries Are Allowed To Be Flashed. Should I wait for 7 days to get my RMM State: Normal even though OEM is already unlocked? And will these 7 days be counted again if I reboot my phone during the first 7 days? OEM option is available, it never disappeared after unlocking, rebooting and resetting the phone. Thank you in advance.
[Samsung Galaxy S9 & S9+ Cross Device Development] mmars:
SIM Card removed

lately this message is shown and a restart is necessary:

"SIM card removed

The mobile network will be unavailable until you restart with a valid SIM card inserted"

The SIM card was never removed in this case. From time to time the network service just goes off. A restart is necessary to get the service back on again.

Another issue is while in roaming, the network search is very slow, sometimes it take 5 minutes to find a network and connect to it. And when coming back from roaming area to home area, the phone does not connect to the home network even after 5 minutes sometimes. A restart solves this issue normally.

Can anyone confirm those 2 issues?

Using the latest official builds from august/sept without rooting or any modifications.
[Samsung Galaxy S9 & S9+ Cross Device Development] Syntax_Error_:
Got the same message with Linux "Only Official Released Binaries Are Allowed To Be Flashed" - Then, tried with Odin for Windows - no problem to flash.

@ mmars

Can not confirm those issues.
[Samsung Galaxy S9 & S9+ Cross Device Development] StephenNP:
Syntax Error, did you flash custom recovery that time or it was the stock one? What RMM State did you have before flashing?
[Samsung Galaxy S9 & S9+ Cross Device Development] tucking fypo:
USB audio is totally fudged up in this rom. completely breaks the device.
[Samsung Galaxy S9 & S9+ Cross Device Development] StephenNP:
What do you mean?
[Samsung Galaxy S9 & S9+ Cross Device Development] pumori:
incall volume is not adjustable, correct? the slider moves but nothing happens, the volume remains on a fix level (too loud for me, echoing for the counterpart)
[Samsung Galaxy S9 & S9+ Cross Device Development] Reag:
Most advanced camera features are implemented in blobs, which are proprietary. Getting these features work on a custom rom is nothing short of a miracle. The only ROM with them I know of is Alexis, since it's just modified stock. The only advanced feature available is changing the aperture (using ZGCAM).
[Samsung Galaxy S9 & S9+ Cross Device Development] Syntax_Error_:
This error occured all the time, when i tried to flash custom recovery (twrp). After a couple of tries, i have stolen wife's laptop with windows on it, and.....success with odin.

Can't remember RMM State that time, sorry.
[Samsung Galaxy S9 & S9+ Cross Device Development] StephenNP:
Guys, who can tell me what's better to flash Galaxy S9 with - LineageOS or EvolutionX?
[Samsung Galaxy S9 & S9+ Cross Device Development] testdriver2:
Same for me. :crying:
[Samsung Galaxy S9 & S9+ Cross Device Development] tucking fypo:
no option to disable ambient display in display section.
[Samsung Galaxy S9 & S9+ Cross Device Development] Arncol:
Anyone able to install GCAM while device is encrypted?
[Samsung Galaxy S9 & S9+ Cross Device Development] s7droid:
bug: after plugging out my akg earphones (included with s9+) , I cant hear any sound anymore in any app. reboot fixes this.
[Samsung Galaxy S9 & S9+ Cross Device Development] testdriver2:
No problem with S9.
[Samsung Galaxy S9 & S9+ Cross Device Development] rsktkr1:
Works fine for me on S9+.
[Samsung Galaxy S9 & S9+ Cross Device Development] sexler:
Hey guys,

Is there an option to disable one of the sim cards if you use dual sim?

I got a new sim card for my work and would like to use it in my S9. When I am off work I would like to disable the second sim but I could not find an option to do so. Is that option missing?

Thank you for your help.

Edit:

Found my answer. Seems like this option is not in yet (https://xdaforums.com/lineage/help/disable-sim-card-lineageos-t3957062).
[Samsung Galaxy S9 & S9+ Cross Device Development] itsttime206:
tether and hotspot not working

Hey all, I'm on sept 28th build and my hotspot doesn't work. Clients can connect to it but it shows "connected, no internet" on their end. Any insights as to what is causing this? Thanks a ton! Love the ROM!
[Samsung Galaxy S9 & S9+ Cross Device Development] istux:
Safetynet check passed.

Hello guys, I managed to pass Safetynet with LineageOS 17.1 on my S9+ :D

Now the ctsProfile is true and I can download everything from the PlayStore.

Here's how to:

Open Magisk Manager, go to download section and just search for "MagiskHide Props Config" module. Install it and reboot.

Open a terminal emulator (if you don't have any, download one from the PlayStore) and give it root permission when asked.

Inside the terminal, type su and press enter. Then type props and press enter.

Well, now you shoud see a list of options, press 1 and enter.

At this step, you need to pick a certified fingerprint. So type f and enter.

Follow the instructions and make your choice. I personally selected Google (7), Google Pixel 4 (22), Android version 10 (1).

Install and reboot.

Check SafetyNet & enjoy! ;)
[Samsung Galaxy S9 & S9+ Cross Device Development] geronimoge:
[MENTION=6298645]erfanoabdi[/MENTION] Is it okay to use the new version of Magisk (v21.0)?
[Samsung Galaxy S9 & S9+ Cross Device Development] dtrail1:
Hi, could someone please do me a favor?

Go into /system/vendor/lib64 and pull the file "libexynoscamera3.so" and send it to me, or upload it somewhere, provide me the link.

I forgot to back it up before trying a modified one, and a dirty flash of the Rom doesn't restore it, because of the encryption settings on my device. But for now I cannot reset my device. So please could someone provide me that file? That would be aweseom! Thank you in advance!

Gesendet von meinem unknown mit Tapatalk
[Samsung Galaxy S9 & S9+ Cross Device Development] geronimoge:
What is this file good for?
[Samsung Galaxy S9 & S9+ Cross Device Development] dtrail1:
It is necessary for the camera to work. I'm using a Gcam port, that's why I replaced it.

But since nobody responded I pulled the file from the converted system.new.dat.br image.

Gesendet von meinem unknown mit Tapatalk
[Samsung Galaxy S9 & S9+ Cross Device Development] vuittion:
Has development stopped for this rom as there hasn't been an update in quite a while.
[Samsung Galaxy S9 & S9+ Cross Device Development] dtrail1:
Last update is 6 days old. Don't know what you mean. Your download the builds from official website.

Gesendet von meinem unknown mit Tapatalk
[Samsung Galaxy S9 & S9+ Cross Device Development] roizcorp2:
What Camera mod did you use? is it good? I have not found any Camera mod that worked with Lineage
[Samsung Galaxy S9 & S9+ Cross Device Development] geronimoge:
I get good results using this:

https://xdaforums.com/galaxy-s9-plus/themes/gcam-port-galaxy-s9-s9-exynos-t3814539/post83512539
[Samsung Galaxy S9 & S9+ Cross Device Development] dtrail1:
That one is old. Get the one from here: https://koopahtmaniac.com/

And ONLY if it doesn't work from the start, download also the proper config and import it.

But there are more great ports available in the ZGCam exynos config Telegram group.

Gesendet von meinem unknown mit Tapatalk
[Samsung Galaxy S9 & S9+ Cross Device Development] geronimoge:
I'm using the latest version from https://koopahtmaniac.com/.

Are there others?

It would be great if you could share them in the thread here:

https://xdaforums.com/galaxy-s9-plus/themes/gcam-port-galaxy-s9-s9-exynos-t3814539

Perhaps with your personal preference?
[Samsung Galaxy S9 & S9+ Cross Device Development] dtrail1:
Damn, I just figured out that I couldn't pull that file from the system image, because it's from the vendor image. It would be so much easier if someone of you just could send me this file. It's located at /vendor/lib64 and the file is called "libexynoscamera3.so". It's only a camera driver and nothing else. It would help me a lot. Thank you

I can't use my camera and apps like YouTube don't work because of this. And I'm not sure about which one is the correct vendor image. So it world be awesome if someone just could help me, please.

Gesendet von meinem unknown mit Tapatalk