yashsingh1/xdaforums huggingface dataset:
[Xiaomi Redmi Note 7 Questions & Answers] Szymek99:
Hello, I have problem with my Redmi Note 7. A couple days ago I've changed ROM to Google Experience, but I came back to MIUI after hour, before that everything was alright, but now my phone is stuck on 2g network. I've tried many things from internet but nothing is working. APN settings are right, I tried to change settings in Testing - phone information2 because my sim card is in slot 2, but changing slots or putting in 2 sim cards doesnt work, in settings preffered type of network is set to LTE, on other phone everything is alright, I mean LTE is working, so its not because of my sim card. I dont know what to do... I hope someone will help me

Android: 10

MIUI GLOBAL 12.0.10 STABLE

I have unlocked bootloader and custom recovery Orange Fox Recovery
[Xiaomi Redmi Note 7 Questions & Answers] joke19:
Mi flashtool and the right fastboot rom maybe help
[Xiaomi Redmi Note 7 Questions & Answers] Szymek99:
What rom do you mean exactly?
[Xiaomi Redmi Note 7 Questions & Answers] joke19:
The right one from this site

Xiaomi Firmware Updater

The ultimate script that provides firmware packages for Xiaomi devices.

xiaomifirmwareupdater.com
[Xiaomi Redmi Note 7 Questions & Answers] joke19:
When it don't work maybe u have to clean all, but don't relock the bootloader. And after flashing you must reflash the customer recovery
[P3600 General] nestleomega:
whenever i try connecting my d810 to laptop, an error message at the taskbar appear "USB device not recognized" causing me to unable to sync my d810

i try it on another laptop and hard resetting my d810 but problem still persist.

So, i believe it is a hardware problem, but then i still can charge my d810 thru the usb and listen to music from the usb port.

now that i cant sync my d810, i cant install exe-type software and upgrade the rom...any advice is much appreciated..thxx
[P3600 General] nestleomega:
i believe there is some problem with the usb pins in my trinity, causing my laptop n PC to unable to recognize it.

i've worked around the installation problem but the problem of ROM flashing the rom remains.

Now that i have to flash thru the miniSD card, n with my trinity still locked

(HTC Trinity SIM CID Unlock doesnt work on my trinity with broken pin), but i need to flash my ROM of my choice, what shud i do next? any other way to unlock CID?

plzz advice..
[P3600 General] aditama85:
Untick The "Enable Advanced Network Functionality" on Setting - Connection - USB to PC...
[Samsung Galaxy S9 & S9+ Cross Device Development] geronimoge:
Great, thanks a lot!

Is a clean install needed coming from official builds (synt4x.93)?
[Samsung Galaxy S9 & S9+ Cross Device Development] Neurotical:
If you installed and are currently running one of Synt4x's ROM builds, you can flash over it. If you're coming from stock ROM you'll have to do a full format per Lineage's official guide.
[Samsung Galaxy S9 & S9+ Cross Device Development] snowmotion:
Wow looks like a polished and hassle-free Lineage version! Thanks for your work and for sharing it.

I am considering to buy either a Galaxy S9 or S10 for an acquaintance since both are often sold phones. So they should have good community support for quite a while. Neither of the two has official Lineage support as of now. They do appear to be supported by /e/OS and CrDroid but I feel that Lineage is still the way to go for rock-solid experience right after flashing.

So is it planned to add official Lineage support? If not, would it be feasible with some help and contributions of others? Could you add this information in the first post for others too please?

Would be valuable information for many :)
[Samsung Galaxy S9 & S9+ Cross Device Development] Tiago Saraiva:
Thanks for updating the rom. Are you going to keep the rom up to date all the time or just this once?
[Samsung Galaxy S9 & S9+ Cross Device Development] Neurotical:
I'll run the updates weekly.
[Samsung Galaxy S9 & S9+ Cross Device Development] Isovitisgr:
Great! We missed LOS 18.1 for S9+!
[Samsung Galaxy S9 & S9+ Cross Device Development] geronimoge:
Just did a dirty flash and rebooted successfully. So far everything is fine.

So thanks again!

BTW: I had to flash magisk again.
[Samsung Galaxy S9 & S9+ Cross Device Development] aureljared:
Haven't flashed ROMs since I had my Nexus 6P, so apologies if I missed something - is there a specific method to enable encryption on this ROM, or is it simply broken as of now?

I set my phone up, logged into everything and reinstalled all my apps, and then enabled encryption. Now the phone crashes and performs soft reboots. It also logged me out of my Google account. I suppose I'm going to have to wipe and reinstall.

It's also worth noting that neither TWRP 3.3.1 nor 3.5.2 can decrypt /data (I double-checked - the PIN was correct), which is a shame. I would have liked to have /data encrypted.
[Samsung Galaxy S9 & S9+ Cross Device Development] aureljared:
I figured it out! The trick was to enable encryption before setting anything else up.

Skip everything you can in initial setup (no Wi-Fi, no Google account, etc) so that by the end all you have is a PIN code in place (skip adding a fingerprint too). Then enable encryption, allow it to do its job, and when it reboots you can go about continuing setup.

TWRP unfortunately still cannot decrypt /data, however.

Hope this helps anyone running into the same problem.
[Samsung Galaxy S9 & S9+ Cross Device Development] Deleted member 11268171:
Hi dude, I have a samsung s9, I don't know yet between install DotOS (wich there's not european version I think), CrDroid (which is offically maintained) or LineageOS, I saw that as you said Synt4x.93 did one, but what's the difference between his rom and yours ? Thanks in advance and thanks for your work ^^
[Samsung Galaxy S9 & S9+ Cross Device Development] Neurotical:
LineageOS 18.1 is regularly updated by the maintainers, so I just run the updates for S9 and S9+ owners. This includes monthly AOSP performance and security updates.

Additionally, I am in the process of upstreaming the kernel. This provides performance and security enhancements made possible by the long term Linux kernel maintainers.

Synt4x hosts the device specific repos that make building Linegae 18.1 for the S9 and S9+ possible.
[Samsung Galaxy S9 & S9+ Cross Device Development] Deleted member 11268171:
Ok thx, so if I want to install a rom, it's yours then. Because updates
[Samsung Galaxy S9 & S9+ Cross Device Development] Galaxy9plus-support:
Have the Kernel upgrades improved anything noticeable on star2lte, eg battery life or something?

Great job too. well done !

:)
[Samsung Galaxy S9 & S9+ Cross Device Development] Neurotical:
Yeah, there's a lot of improvements in performance, battery life, and security. I notice better reponsiveness and battery life, definitely. There's a full list of updates here: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/log/?h=linux-4.9.y Just browse for the kernel you're on and look at the previous update details. You can also browse my working kernel repo here: https://github.com/Geoknyda/android_kernel_samsung_universal9810 and reconcile with the Linux link to make sure the updates you care about are committed. I save a branch off of my default 4.9y after every patch bundle in case I have to revert due to an incompatibility.

At the rate I am going, I expect to have the kernel fully patched and up to date in a couple of days. I'll keep posting the ROMs as I progress in the OP. It's a lot of work going through 3,400 commits in a few days, but I think those who want security and performance for their S9/S9+ deserve to have it until the kernel reaches EOL in 2023.
[Samsung Galaxy S9 & S9+ Cross Device Development] Neurotical:
Update:

The kernel is now fully patched and up to date. I will be maintaining additional kernel updates as they are released by the Linux Long-Term Support kernel team for the 4.9y branch until 2023, which is EOL for that branch. These updates will be merged into the weekly builds as well. Enjoy!
[Samsung Galaxy S9 & S9+ Cross Device Development] waynea:
Hi there

jst a quick question......do the monthly android security updates come OTA, or do I have to download a file and install with TWRP?

I only ask because someone here seemed to sugegst that you had to do a complete reinstall of the latest version?
[Samsung Galaxy S9 & S9+ Cross Device Development] Neurotical:
You can flash it over your existing ROM via ADB or OTA..
[Samsung Galaxy S9 & S9+ Cross Device Development] waynea:
thaks for super quick reply.

No the original install will be over stock. But what to i need to do when there is an update?
[Samsung Galaxy S9 & S9+ Cross Device Development] Neurotical:
Updating from stock, you'll have to do full wipe/flash/reset.

Updating afterwards with weekly builds in this thread's OP only requires dirty flashing:

Use OTA

or:

upload recovery

sideload updated zip

format cache & reboot
[Samsung Galaxy S9 & S9+ Cross Device Development] HarrisonS9:
nikgapps or opengapps, bitgapps if you want to save battery life.
[Samsung Galaxy S9 & S9+ Cross Device Development] BlackVoltage:
Hi guys, seems there are updates again. Amazing 😃

Can somebody tell me how to upgrade from 17.1 official with lineage recovery?

And if it would work to generate a backup from every app earlier and reinstall with that using titanium backup pro for ex?

Thanks a lot in advance!

BlackVoltage
[Samsung Galaxy S9 & S9+ Cross Device Development] clarkson1234:
Does pulse oximeter work in Samsung Health?
[Samsung Galaxy S9 & S9+ Cross Device Development] slivercp:
A big thanks to you keeping this ROM up-to-date and my phone running :).

Question are you planning or working towards making this ROM an official LineageOS ROM? See https://wiki.lineageos.org/submitting_device.html
[Samsung Galaxy S9 & S9+ Cross Device Development] Neurotical:
Thanks for the feedback! I would really enjoy seeing an official release for the S9 and the S9+ especially since these devices really are still relatively new and powerful. Also the 4.9y kernel will be maintained by Linus and Greg until January 2023, so security and performance can only get better!

While I can run these ROM builds weekly or even daily, roll the Linux long-term maintenance patches into the build, do the same for the wireguard patches, I am still learning. When build errors occur I rely on the community here to help find solutions that fix it. There already have been a couple of issues with the build that I was unable to resolve on my own, but was able to fix quickly with the help of the community. They had to do with maintaining the "device tree", which I am becoming more familiar with. I think I need to come across more errors to build my skillset to a level that would warrant "official" status. I'm just guessing about that, so if I am way off base and there's even better support for these kind of things when the build goes "official" maybe I'll go ahead and do that!

I would also highlight that Synt4x is the original creator of this ROM and I wouldn't want to take any credit away from that individual's hard work. I started by cloning his repos, not from scratch, then updating them accordingly. The kernel was a big one to update... something like 3,500 patches to get it all up to date with the 4.9y Linux long-term support team. Anyways, I think I would have to get blessing from Synt4x before I consider making it official, just out of respect.

On a compromise note, I can be part of an official team, where I can keep updating the kernel, run the builds, and update the OTA, while another member who is more experienced could help with the troubleshooting or something.
[Samsung Galaxy S9 & S9+ Cross Device Development] Raden Yudha:
Helloo how can i update the OS? Im now on

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

And No OTA Update

Do i have to re-install from beginning? Should backup and wipe all data again?

Thank You :)
[Samsung Galaxy S9 & S9+ Cross Device Development] Neurotical:
Yes you, can install the most recent ROM in the OP over your existing one. It's the same build with newer updates. You should be able to keep all your programs too. Future updates will be available OTA for you.
[Samsung Galaxy S9 & S9+ Cross Device Development] Neurotical:
FYI:

September AOSP Security update is live.

Available via OTA update or OP ROM download.

Have a nice Sunday! :)
[Samsung Galaxy S9 & S9+ Cross Device Development] Neurotical:
With regards to safety and trustworthiness:

Everything is open source so anyone can see what is going into the all the builds. This includes the kernel, Lineage OS, and Samsung device trees. These links are in the OP.

I don't make any changes of my own because I am not knowledgeable enough to do that, but I do copy kernel patches from the Linux Long-term Maintenance team run by Linus and Greg for the 4.9y branch; I can at least bug-test and roll them into the weekly ROM builds. Linus & Greg pretty much head up Linux entirely, so the patches they approve are as trustworthy as you can get :D

I also got the Wireguard kernel patch into this build, which is pretty awesome, but without the help of the contributors in the OP, I really wouldn't have been able to do it on my own.

With regards to making it official:

I was using the official Lineage OS, but when the support for official status was dropped, I started learning how to build Lineage for unsupported devices. Then I came across Synt4x's repos, which gave me all the resources needed to build Lineage 18.1 for the S9 and S9+. I simply maintain kernel patches that come out weekly by the Linux Long-term Maintenance team (Linus & Greg et al.), work with the community here to maintain the device trees, and then compile the builds as often as needed.

After I got the hang of all this, I figured everyone who has an S9 or S9+ should be able to benefit form Lineage OS 18.1 support. These phones have great hardware and I think it a shame not to allow users the option to de-google it or take full control of it so soon after it has been released. Besides, the 4.9y kernel is going to be maintained until 2023. So I upgraded from a 3600 to a 5900x and 16gb RAM to 32gb RAM to speed up the builds (each build is only about 8 minutes now) and support the community!

I would like to see an official build, but I can't maintain it all by myself. I am not a programmer, and most of the code I look at is jibberish to me; I just trust the Linux team and Lineage OS team. So we need the community here to help me with build errors when the Lineage team makes changes to their OS; I'm not knowledgeable enough yet to tackle those problems on my own. But I am learning, and have successfully tackled two compile errors so far with the help of the community, and I've learned from them :D

What you will get with this build, even though it is unofficial is:

Kernel updates straight from the Linux Long-term Maintenance team; this is very official and safe;

AOSP security patches straight from the Lineage group; this is very official and safe;

Lineage OS updates as they roll out; this is very official and safe;

I literally can't do anything else because of my limited skillset.
[Samsung Galaxy S9 & S9+ Cross Device Development] Galaxy9plus-support:
this kernel 4.9.282 is faster than prev 4.9.118

using apps and the phone is noticably faster

Well done Neurotical

Battery life was good before, i'll use for a few weeks and see, but others report better, so i'm sure it is

changed my roomservice xml to use your Geoknyda/android_kernel_samsung_universal9810 revision 4.9y

and build >>> works perfectly as before

( dirty flash str8 over the top - no loss of my pics, messages, settings, apps etc etc )

do you make changes to

proprietary_vendor_samsung,

android_device_samsung_starlte,

android_device_samsung_universal9810-common

or are they just forked from synt4x93 ?

your builds are still userdebug ?

8 mins build on your machine is pretty fast !!!

Well done again, and thanks :)
[Samsung Galaxy S9 & S9+ Cross Device Development] LooPhei:
Hello,

My Phone: SM-G965F Duos

I came from the Synt4x.93 build and updated to this. I also updated the baseband to Baseband UG4 Modem_G965FXXUGFUG4_27.07.2021

Now my SIM card is not working anymore. My IMEI displays only zeros.

Before updating I created a full backup and restored it. SIM still not working. I also flashed the stock rom without success.

I hope someone of you can help me.

Best regards,

Loo
[Samsung Galaxy S9 & S9+ Cross Device Development] Neurotical:
Try this thread:

https://xdaforums.com/t/q-help-imei-shows-as-zero.2218332/
[Samsung Galaxy S9 & S9+ Cross Device Development] Neurotical:
I am happy you like the updated 4.9.282 kernel! It includes all the LTS 4.9y patches (~3,800 of them) from the 4.9.118 you were using, so I am not surprised there are performance improvements :D I am sure the battery life will remain acceptable for you, but perhaps a calibration could help smooth out regular drain. I'm going to do one on my phone today.

You are correct that all the repos were cloned from Synt4x's. I am using a beta branch for my 9810_common repo, which only has a couple of small commits that I copied from Arrow OS to hopefully improve performance and battery life a bit.

Yes, I am still using userdebug compile. Is there something wrong with this? I do not really know how to do anything different :S

Yes, 8 minute builds are much better than the 24-30 min builds I was getting with my other 3600 and 16gb setup. If I build the same device a second time, it only takes about 1 minute for the second time!
[Samsung Galaxy S9 & S9+ Cross Device Development] LooPhei:
Thank you.

I didn't find the direct solution there, but it helped me to understand the problem better. With some help from google I restored the twrp backup again and flashed only CP from stock via odin - the IMEI is back and mobile is working again.

Still, I would like to switch to your version. Do you have any tips on how I can avoid having this problem again? Should I update only lineageos without baseband?

I've done a backup with the twrp buildin, is that enough?
[Samsung Galaxy S9 & S9+ Cross Device Development] Neurotical:
You should try one step at a time.

I would recommend the following:

Install latest Lineage recovery from OP; TWRP seems to have some issues with this ROM;

Install latest ROM via ADB Sideload in Lineage recovery;

Wipe cache & Reboot;

Check if your ROM works as intended;

If success -> Move on to step 5;

If fail -> ROM is not working with your phone;

Update baseband;

If success -> Baseband problem is fixed;

If fail -> Baseband is incompatible with your phone; Try another baseband, or revert to stock and follow steps 1-4 above, do not do step 5.
[Samsung Galaxy S9 & S9+ Cross Device Development] LooPhei:
Thats a very good hint. I was always using twrp and never used lineage recovery before. I will read up on this and try that. Thanks!
[Samsung Galaxy S9 & S9+ Cross Device Development] francoism90:
It seems /e/ also provides LineageOS support, however I don't know how to browse their sources.

This is the dev link: https://images.ecloud.global/dev/starlte/

Thanks for keeping this ROM alive. :)

Edit: I think it's this one: https://gitlab.e.foundation/e/devices/android_device_samsung_universal8895-common - sorry no Android devel..
[Samsung Galaxy S9 & S9+ Cross Device Development] Neurotical:
You got the right repo, that's for sure! The 9810 link is here:

Commits · v1-q · e / devices / android_device_samsung_universal9810-common · GitLab

Forked from https://github.com/LineageOS/android_device_samsung_universal9810-common

gitlab.e.foundation
[Samsung Galaxy S9 & S9+ Cross Device Development] whuupwhuup:
Thanks for the comprehensive answer, I highly appreciate it and I admire your dedication :) Unfortunately I have no knowledge at all so I cannot not support you apart of reporting bugs.. :P
[Samsung Galaxy S9 & S9+ Cross Device Development] LooPhei:
I am a bit afraid that this build will not be supported in the future. It is often a problem in open source projects where only one person is responsible.

What do you think about uploading your build scripts to an official repository? Maybe even a github organization where several people are involved?

It would be easier for people to track the builds, reproduce them or even build them themselves without you in the middle. Maybe this would create some transparency?

People could easier create pull requests when they see how everything comes together, here I unfortunately still lack a bit the overview.

We could even use (self-hosted) github action runner to create the builds.

All this could also be written up in a small help page.

Maybe I could contribute with my devops skills as well.
[Samsung Galaxy S9 & S9+ Cross Device Development] citizenserious:
I sideloaded the last build from September 14. over robs last github release. And it worked flawlessly, I hesitated at first, but I am glad I dit it. Maybe it assures someone.

Thanks so much to all contributors 🙏🏻

One question though, everything works fine except the search button doesn't work anymore since I dirty flashed, does anyone else have the same issue, or is it just me?

Thanks again, I am so happy that I get sec updates again :)
[Samsung Galaxy S9 & S9+ Cross Device Development] king1990:
Op did his best and listed everything with links and sources, then you came here and ask for more transparency !! What a nonsense, his builds on GitHub , the trees are public on GitHub , anyone can build the ROM without him being "Middle man". Just sync the source/device trees then type brunch lineage_starlte-userdebug , wait until finish compiling and its done.

Op did extremely good job learning how to build / fix errors , asked the community for help when needed and continued pushing updates for a long time.

He should be thanked and appreciated , this take time and effort.

you clearly don't understand what you are talking about.
[Samsung Galaxy S9 & S9+ Cross Device Development] LooPhei:
that's not how i meant it, actually i was just trying to help. op is doing outstanding work and i will hold back. I'm sorry.
[Samsung Galaxy S9 & S9+ Cross Device Development] Neurotical:
Hi there :) Thanks for the feedback on the Bixby button. I can understand the frustration with it not working, so I did some testing today and found that updating the gpio_keys.kl for defining key 703 was the solution to get some functionality out of it.

Unfortunately I cannot get the CAMERA functionality to work when you press the button, but I was able to get MENU functionality to work! So when you are in any app, if you press the Bixby button, the app's menu will show up! How cool is that?! You can have this functionality by running the OTA update on your ROM, it should download the updated version with Bixby functionality.

Enjoy!
[Samsung Galaxy S9 & S9+ Cross Device Development] citizenserious:
Just wow, didn't even expect a direct response from you, but that was unbelievable fast.

I am absolutely not frustrated, this build is just awesome, I was just used to using the Bixby button to open my search assistant, I am using "Just Search". Anyway there are other ways to open it, with gesture navigation for example you can just swipe up from to lower left or right side of the screen, so its not really a limitation :)

I already updated to the newest build.

That release was in light speed btw.

Thanks a lot for making the button usefull again 🙏 It seems to work.

The long press function didn't work under Robs build either. But the short press worked with every setting.

I am just explaining this hoping it helps, I am so happy with this build that I would like to buy you a Pizza. So you don't have to fix it if it would be just for me :)

Edit: don't get me wrong I do know that you don't have to do anything :D just don't want to waste your time with such a banality.

Edit: I found a "workaround", maybe someone wants to use it too.

Just use the app "Key Mapper" from the F-Droid Store :)