yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S9 & S9+ Cross Device Development] Neurotical:
Can someone please help with this compile error?

FAILED:
build/make/core/Makefile:49: error: overriding commands for target `out/target/product/starlte/system/product/etc/res/values/charger/animation.txt', previously defined at build/make/core/base_rules.mk:513
06:56:45 ckati failed with: exit status 1

I understand this error comes from Lineage commit 314497.

I see that some have opted out.

I tried adding in the opt out line WITH_LINEAGE_CHARGER := false in my BoardConfigCommon.mk and universal9810-common.mk and did a repo sync, but the build still fails with the same error, so I reverted back.

Is there a different mk file I should be adding the opt out code to?

or

Should I be adding in all the new Lineage charger files created with the commit 314497 under my device tree?
[Samsung Galaxy S9 & S9+ Cross Device Development] ElPakoTech:
Just a quick idea, but have you try to had the opt out line in product_prop.mk instead ? It might not work but somehow i feel that there is an order of when this files are called during the build process. I can't test it now but I will see what I can do later.

# Charger
WITH_LINEAGE_CHARGER := false
[Samsung Galaxy S9 & S9+ Cross Device Development] Neurotical:
Thank you for the advice. I just tried your suggestion by adding into my product_prop.mk, but it still produces the error.

Please note I am using a beta branch of android_device_samsung_universal9810-common to test these suggestions; I made sure to update roomservice.xml on my local machine to point to it before repo sync :)
[Samsung Galaxy S9 & S9+ Cross Device Development] Neurotical:
Additional details:

I replicated the new LOS 18.1 charger file structure in my beta repo android_device_samsung_universal9810-common and tried running the compile again. The error come up as:

[ 93% 244/260] including vendor/lineage/charger/Android.mk ...
FAILED:
In file included from vendor/lineage/bootanimation/Android.mk:57:
In file included from vendor/lineage/charger/Android.mk:39:
In file included from build/make/core/prebuilt.mk:26:
In file included from build/make/core/prebuilt_internal.mk:55:
In file included from build/make/core/misc_prebuilt_internal.mk:26:
build/make/core/base_rules.mk:325: error: vendor/lineage/charger: MODULE.TARGET.ETC.lineage_charger_battery_scale already defined by device/samsung/universal9810-common/charger.
14:33:01 ckati failed with: exit status 1

The bootanimation/Android.mk and charger/Andoid.mk referenced in the error originate from LOS 18.1 repo here: https://github.com/LineageOS/android_vendor_lineage

The core/base_rules.mk appears to originate from LOS 18.1 repo here: https://github.com/LineageOS/android_build/tree/lineage-18.1/core
[Samsung Galaxy S9 & S9+ Cross Device Development] dwarisz:
Hi this commit could fix the problem: https://github.com/synt4x93/android...b55ed0285b4378e1c78dbfd551b720c8a9ff6d418ee05
[Samsung Galaxy S9 & S9+ Cross Device Development] Neurotical:
Compile successful! Thank you so much for helping the community! Hope you don't mind, but I put your name in the OP as a significant contributor :)

P.S. It's also amazing to see Synt4x still maintaining the repo! A great

many

thanks!!!
[Samsung Galaxy S9 & S9+ Cross Device Development] Neurotical:
FYI:

Updated August 25th build :)

Feel free to update via OTA or OP.

No new kernel patches yet.

Have a nice day!
[Samsung Galaxy S9 & S9+ Cross Device Development] Monvigliero:
[SOLVED - bad default cell provider APN settings]

Thank you very much for the amazing effort. The OS is fantastic.

Unfortunately I am facing with a bug, and I don't know how to fix it. Is it just some settings problem, my phone, or something else?!

On stand by during the night connected to wi-fi the battery drains very fastly if the cell/phone is turned ON (nothing else, no mobile data, no nfc, no bluetooth cca. 30% in 6-7 hours).

Without cell/phone (airplane mode) but with WI-FI connection still ON it is perfect (only 3% in the same period).

(If I remember correctly the problem was not present with factory Samsung OS.)

I tried the following:

LineageOS: 18.1 Synt4x.93 [21-03-2021],

LineageOS: 18.1 Neurotical (the last) [20210825]

Factory baseband

updated Modem_G965FXXUGFUG4_27.07.2021

But the problem still exists. I am happy for any idea.
[Samsung Galaxy S9 & S9+ Cross Device Development] Klaus20:
Can someone help me with the following questions?

1. How do I get GPay from the advanced restart?

2. Why don't I see any updates?

Regards Klaus
[Samsung Galaxy S9 & S9+ Cross Device Development] Neurotical:
Try turning this setting off:
[Samsung Galaxy S9 & S9+ Cross Device Development] Neurotical:
Which version of the ROM are you using?

If you do not see any updates available via the OTA system update service you may be using an older version of the ROM before I fixed the OTA service. If so, when you install the latest ROM (via recovery ADB sideload), the next weekly (or sooner) update will show as available in the OTA section.
[Samsung Galaxy S9 & S9+ Cross Device Development] Klaus20:
Thank you for your prompt reply. I am using --> lineage-18.1-20210825-UNOFFICIAL-starlte-kernel-4.9.280_wg_20210606.zip <-
[Samsung Galaxy S9 & S9+ Cross Device Development] Neurotical:
Very good. That is the latest version. You should see an OTA availability next update :)
[Samsung Galaxy S9 & S9+ Cross Device Development] Monvigliero:
[SOLVED - bad default cell provider APN settings]

Thank you very much for the fast response. This sync setting is off (that was my first idea, than I tried everything one by one, several reinstalls, with or without GApps, until I realized that the CELLULAR connection drains the battery).

I may explained badly: so the CELLULAR/PHONE connection drains the battery somehow even during standby during the night (not the data, not the wifi, nothing else).

If I turn off the CELLULAR/PHONE function, so no calls possible, but everything else is still working (wifi, nfc, bluetooth) it doesn't drain the battery, it works perfectly.

Maybe some idea for this, I am out of ideas.
[Samsung Galaxy S9 & S9+ Cross Device Development] Neurotical:
FYI:

New kernel 4.9.281 hot off the press!

Please update via OTA or via OP.

Have a nice day :)
[Samsung Galaxy S9 & S9+ Cross Device Development] Klaus20:
The new update was displayed and the installation went without errors. Thanks again !!
[Samsung Galaxy S9 & S9+ Cross Device Development] pumori:
@Neurotical: Is there any detailed changelog for your builds available?

By the way clean&fast ROM, thanks for compiling.
[Samsung Galaxy S9 & S9+ Cross Device Development] Isovitisgr:
Hi guys and thanks for this awesome ROM.

I face only one issue that's bothering me. When I connect my S9+ in my bluetooth's car and try 5o make a call, most of the times the call does not go through the cars speaker but through my watch which is also connected to the Bluetooth.

Is there any way to set a priority in the devices that will manage the calls when more than one is connected on mobile's Bluetooth?

Thanks in advance
[Samsung Galaxy S9 & S9+ Cross Device Development] Neurotical:
Yes absolutely! In the OP you can click on the links to get the changelog for the kernel. The section in the OP is at the beginning and looks like this:

Kernel: Linux 4.9.281 (August 26, 2021)

Security Patch: AOSP (August 5, 2021)

Wireguard: 20210606 (June 6, 2021)

For example, if you click on the kernel date you'll get the changelog from the Lineage LTS maintainer team. If you click on the kernel version you'll get the changelog for the kernel in my repo. I just roll their patches into my kernel as soon as they are released, or shortly after.

I don't maintain my own separate repo for Lineage, so any changes to that would be found here: https://www.lineageoslog.com/18.1

I guess it wouldn't be a bad idea to add that into the OP along with the kernel, AOSP security patches and wireguard changes. Good idea, Thanks!
[Samsung Galaxy S9 & S9+ Cross Device Development] Neurotical:
Good day,

I just want to take a moment to say thank you to everyone who has tried this ROM, given feedback, and even helped out along the way! It is with all of your help that I can keep the builds coming and I look forward to doing this for as long as I can for the S9 and the S9+ :) Our community deserves the best and that only happens when we all work together :)

Have a great day, and thank you again to everyone in this community :)
[Samsung Galaxy S9 & S9+ Cross Device Development] :
Hi @Neurotical,

The community needs to thank you. Great work! Thank you very much.

Regards.
[Samsung Galaxy S9 & S9+ Cross Device Development] icewind1991:
Is NFC working for anyone, neither my nfc tags nor my yubikey are being recognized even with nfc turned on in the settings. Things were working fine with the latest official lineage 17.1 release.
[Samsung Galaxy S9 & S9+ Cross Device Development] gusnz:
Haven't tried NFC myself but @Neurotical I note ArrowOS has some patches for NFC and a few others things that could be useful in their universal9810 repo. Hope this helps!
[Samsung Galaxy S9 & S9+ Cross Device Development] Neurotical:
THANKS! I followed your advice and browsed the changes that Arrow had committed in their repo. I picked some CPU power enhancements and a change to the NFC feature, maybe it'll fix the issue.

The new ROM is available to update via OTA or the OP.

P.S. You're now on the OP as a contributor :D Thanks for helping us all learn more :)
[Samsung Galaxy S9 & S9+ Cross Device Development] 4live2kill:
hi mate, thanks for your rom, if i use OTA update will i lose my magisk and/or magisk modules and need to reinstall?

EDIT: i did it anyway hahaha and it does not wipe anything, all my magisk is still the same after using OTA, thanks alot boss!
[Samsung Galaxy S9 & S9+ Cross Device Development] icewind1991:
Strangely, it recognized an nfc tag once after upgrading but after that one time it's back to not recognizing anything, even after a reboot.
[Samsung Galaxy S9 & S9+ Cross Device Development] Neurotical:
I haven't tried the NFC tag feature, but my S9 can transfer files to other phones using the NFC beam feature. Does this help you?
[Samsung Galaxy S9 & S9+ Cross Device Development] Isovitisgr:
I'm also using my phone for payments through NFC and it works properly
[Samsung Galaxy S9 & S9+ Cross Device Development] Neurotical:
FYI

New Kernel 4.9.282

Now available via OTA or OP.

:) Have a nice weekend!
[Samsung Galaxy S9 & S9+ Cross Device Development] EddoWagt:
Which Gapps do you guys recommend for this rom?
[OnePlus 7 Pro Questions & Answers] YourTheBest:
I have an OP 7 Pro, 12 GB rams.

Clean reset, black theme, really black.

Screenres. on smaller size, downgrade the fresh rate as well.

Removed unnecary apps, with root, underclocked a bit, CPU, GPU.

Battery two months old.

Any other updates/kernel suggestions?

Android 11. No beta, stock OxygenOS.
[Samsung Galaxy S9 & S9+ Cross Device Development] pixelodin:
View attachment 5362987

**** Disclaimer: I'm not responsible if you destroy your device. Use at your own risk!!! ****

Android Open Source illusion Project

About us:

AOSIP is a quality custom ROM based purely on AOSP. Twisted with the latest features and blended with stability. We strive for perfection and it shows.

Team Illusion:

Josh Fox (xlxfoxxlx)

Akhil Narang

Harsh Shandilya

Anirudh Gupta

Source code:

AOSiP Github

Kernel Source

DOWNLOADS:

AOSIP Galaxy S9

AOSIP Galaxy S9+

Credit/Thanks:

Mike Williams (founder and creator of AOSiP)

Google for Android and AOSP

LineageOS

ABC ROM

AquariOS

BootleggersROM

Dirty Unicorns

PixelExperience

OmniROM

CarbonROM

nathanchance

---------

Other projects whose work helped us to create this

And last but not the least, all our testers, who have helped us to squash many bugs so that we can try to release builds that as are flawless as possible

INSTALLATION PROCEDURE:

Make sure you have firmware from an Android 10 or 11

Format /system + /data + /cache

Flash

GApps are included in this build

Reboot into the system, and enjoy the illusion!

KNOWN ISSUES:

VoLTE

You tell me

Please Note:

Do not flash Gapps

GApps are included in this build
​

XDA;DevDB Information

[ROM][S9+/S9][UNOFFICIAL[Android Open Source Illusion Project][AOSIP-11][Exynos]

Contributors

PhoenixRom

Source Code: http://www.github.com/aosip

ROM OS Version: Android 11

ROM Kernel: Linux 4.x

Based On: aosp

Version Information

Status: Stable

Android Security Patch: july 5

Created: 2021-07-15

Last Updated: 2021-08-03

NO more updates or support for this rom because of no interested shown so i will be only supporting lineage os 17.1 only thank you

​
[Samsung Galaxy S9 & S9+ Cross Device Development] k24a1:
dOeS vOlTe WoRk In ThIs RoM?????!!??? /j

jokes aside, this seems to be a nice rom! might check this out some day (currently on stock, waiting till i fix my G965U to mess with the G965F again). seems to have some very nice features, first rom i've heard about with camera enhancements too(?)!
[Samsung Galaxy S9 & S9+ Cross Device Development] bowlbaby_:
Not even a bootlop it stays in samsung starting screen and restarts every 3 seconds ,i was on android 10 and even tried it with a vendor which boots evey aosp i tried
[Samsung Galaxy S9 & S9+ Cross Device Development] pixelodin:
No it doesnt and yes its a very nice rom
[Samsung Galaxy S9 & S9+ Cross Device Development] pixelodin:
FIXED
[Samsung Galaxy S9 & S9+ Cross Device Development] pixelodin:
updated android security patch to july 5
[Xiaomi Black Shark 2 Questions & Answers] Venus567:
Battery and performance settings. Is it 1,5,10,30 min or never? Is there also some way to prevent the phone screen to off? Like when I run my game overnight on auto, the screen will auto off after some time. I know this because the screen is off when I wake up few hours later.
[Samsung Galaxy S7 Questions and Answers] NachoGamer:
I am searching for good custom roms for battery life, FloydQ was decenet but weak internet range, black diamond is good but weak sim signal.

any other options?
[P3300, MDA Compact III  upgrading etc.] back:
My Arte 100 Hange On Htc Plz Help Me Any One I Try To Upgrade But I M Faild PLZ HELP ME ARGENT

THANK ADVINCE
[P3300, MDA Compact III  upgrading etc.] back:
plz help me
[P3300, MDA Compact III  upgrading etc.] KevandLynds:
use a computer with windows XP... (i have been unable to flash using Vista)

Plug usb cable from computer to mobile...

establish a connection with Active Sync...

make sure your CID is unlocked...

flash away!!!!!
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] hehedi233:
View attachment 5357205

oneplus 6/6t 都可用

警告！不当操作可能会导致手机变砖！

-

20210822 updata

-

project address : https://github.com/edk2-porting

and

Tool download :https://drive.google.com/drive/folders/1GrX9JTVpKwo3WNshqIljPRc9Q6dPJDJJ?usp=sharing

boot download : https://github.com/edk2-porting/edk2-sdm845/releases

drives download : https://github.com/edk2-porting/WOA-Drivers/archive/refs/heads/main.zip

-

Installation tutorial

new tutorial!(English) https://forum.renegade-project.org/t/faq/95

-

article(Chinese) : https://forum.renegade-project.org/t/6-windows/194

-

Device support status

Device support status

Renegade Project

Renegade Project

renegade-project.org

-

The drive is gradually improving

有问题我会不定期来看的，欢迎提问。

Questions are welcome

View attachment 5357197View attachment 5357199View attachment 5357201View attachment 5363283
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] metrixx02:
What an amazing project . Thx again...
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] UssopH:
tp
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] rom2525:
is working phone? contact? camara? gps? etc
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] hehedi233:
These are currently not working
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Sh0X31:
Nice to see. Thanks for your work
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] stevegsames:
Is there any way to do this without the dongle?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] hehedi233:
I don't quite understand what "dongle" means?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] stevegsames:
I'm referring to the USB hub
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] hehedi233:
If you don’t have a USB HUB, you cannot install the operating system because it requires a mouse and keyboard to operate

View attachment 5365067
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] hehedi233:
These do not work in WINPE. After installing the system and driver, you can use touchscreen

But I don’t recommend installing it on the phone in daily use
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Aulgreg38:
I'm having some issues with your parted file in this method my computer system says it's bad it can't it can read it but it won't open it
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] ddaggebi:
English video tutorials are for 6T. Can I use the same commands for 6 too?

Can we get line to line English instructions? Links for the instructions in the video are all dead.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Wishmasterflo:
Hi!

Yes the same commands can be used on Oneplus 6.

Take a look here under "EFI/NTFS WIndows installation instructions".

Hope that helps you.

- Boot Phone to TWRP/recovery
- adb push parted /sdcard/
adb shell
cp /sdcard/parted /sbin/ && chmod 755 /sbin/parted
umount /data && umount /sdcard
parted /dev/block/sda
rm 17
mkpart esp fat32 6559MB 7000MB
mkpart pe fat32 7000MB 10000MB
mkpart win ntfs 10000MB 70GB
mkpart userdata ext4 70GB 125GB
set 17 esp on
quit
- in TWRP. Reboot bootloader
- Fastboot boot TWRP.img
adb shell
mkfs.fat -F32 -s1 /dev/block/sda17
mkfs.fat -F32 -s1 /dev/block/sda18
mkfs.ntfs -f /dev/block/sda19
mke2fs -t ext4 /dev/block/sda20
mount /dev/block/by-name/pe /mnt
- open Powershell on path Windows 11/Tools/WinPE folder
adb push boot /mnt
adb push efi /mnt
adb push sources /mnt
adb push bootmgr.efi /mnt
- in Recovery. File Manager check if the copied files/folders are shown in mnt folder
- in Recovery. Reboot Bootloader
- Fastboot boot Windows 11\Boot\boot-fajita.img
- Copy to USB Stick (Format to NTFS)
- Windows 11\commands.txt
- Windows 11\Windows 11 ISO\Windows ISO file
- Windows 11\Drivers\WOA-Drivers-Main
- Windows 11\Tools\Dism++
- Windows 11\Tools\TouchScreen.reg

Partition Disks in Windows 11
-----------------------------
diskpart
select disk 0
list part
select part 17
assign letter=Y
exit

Windows 11\Tools\dism++\dism++_arm64.exe
Apply Image - select Windows11.iso file from USB Stick
Install Windows on Partiton C:\
Check "add Boot"
OK
Wait until done....
Drivers - add - select WOA-Drivers from USB Stick

bcdedit /store Y:\efi\microsoft\boot\bcd /set (DEFAULT) testsigning on
bcdedit /store Y:\efi\microsoft\boot\bcd /set (DEFAULT) nointegritychecks on
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Wishmasterflo:
Hmmm......I had no issues using parted. You run that on your phone not on your Computer.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Aulgreg38:
Yeah I was messing up it was me please don't laugh I was misspelling thing 🤣🤣
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Aulgreg38:
Once I get a USB keyboard I'll be able to finish kinda still waiting to get one
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] ddaggebi:
Thanks sir. I see you active lots of times on OP6/6T forums. Thanks for your contribution and helping people out!
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Just4quora7277:
I am having trouble with the command: "mount /dev/block/by-name/pe /mnt"

this is the output I recieve following that command: "/dev/block/by-name/pe'->'/mnt': No such file or directory"

I'm assuming the "/by-name/" is supposed to be something specific on my end, I'm not sure what directory I should be putting in there.. PLEASE help! Thank you!!
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Wishmasterflo:
Then I guess you have not created the needed partitions yet.

The command is correct as shown you dont need to replace anything in the command.

Have you flashed the Dualboot zip file with the efi parameter?

like: Dualboot_TWRP_OP6_enchilada_v7-efi128.zip

That will create the needed partitions if you dont want to created them manually.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Just4quora7277:
I'm not sure how to delete posts, but I found the solution already to my previous 2 posts. Thanks anyways guys!
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Just4quora7277:
You are correct, sir. But I fixed the problem already. Now I am stuck at the step where I am supposed to "enter windows PE"

when I fastboot boot device-DEVICE.img it boots into a simple GUI. I have attached a picture of it. I'm not sure where to go from here. I know this is complicated stuff and while I have used XDA for years, I have never actually posted anything. I apologize if I break any mod rules. Any help is GREATLY APPRECIATED and I really mean that. The more I learn about computers and phones the more ignorant I realize I am lol.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Just4quora7277:
this is the screenshot of where I'm at right now. Sorry I forgot to include it in my previous post.

I tried to use "UEFI shell" but I am unable to interact with it in any way, there is no touch screen keyboard, and when I plugged my mouse and keyboard in using the OTG adapter, they were unresponsive.

"UEFI boot menu" had several choices but none contained

"windows" or "pe" so i didnt know which to click on.

I am attaching a screenshot of the guide i am following, and have selected the part I am stuck on.

As always, any help is greatly appreciated!
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Just4quora7277:
I downloaded all of the files the guide listed, but none of the names suggested anything about dualbooting, or had an efi parameter. While im not really worried about dualbooting, it would be nice to have. I think I partitioned everything correctly, is it too late for me to flash a dualboot.zip? And where would I find it? lol i sound so damn hopeless, this is why i usually just read and search instead of asking for help, I wind up figuring out my problem 9/10 times. but documentation on this subject is very limited so far.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Wishmasterflo:
Ohh OK I see.

It seems that a lot of things changed in the Bootable IMG from when I used that last time a year ago or something.

So I guess a lot of instructions are not up to date on this Post.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Just4quora7277:
Well what was the next step when you did it? I will try to recreate your step.

I downloaded the version you so kindly linked to, but I can't seem to get it to recognize my mouse or keyboard. I tried using a powered hub, I tried just using the keyboard directly over OTG but nothing I do works. Is it my keyboard, or am I missing something?

When the guide says enter Windows PE, does that mean Powershell??
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Wishmasterflo:
You need to push the files from your WindowsPE folder to the phone to the partition /mnt

Have you downloaded WindowsPE ?

Check this link I guess there is a download to WindowsPE

So when you check the /mnt folder on your phone you should see the WinPE folders like:

boot

efi

sources

bootmgr.efi

Had you done this correctly?

mount /dev/block/by-name/pe /mnt

When that is not working I guess you should recreated all the needed partitions and format them again.

Like this if you have a 128GB device.

- Boot Phone to TWRP/recovery

- adb push parted /sdcard/

adb shell

cp /sdcard/parted /sbin/ && chmod 755 /sbin/parted

umount /data && umount /sdcard

parted /dev/block/sda

rm 17

mkpart esp fat32 6559MB 7000MB

mkpart pe fat32 7000MB 10000MB

mkpart win ntfs 10000MB 70GB

mkpart userdata ext4 70GB 125GB

set 17 esp on

quit

- in TWRP. Reboot bootloader

- Fastboot boot TWRP.img

adb shell

mkfs.fat -F32 -s1 /dev/block/sda17

mkfs.fat -F32 -s1 /dev/block/sda18

mkfs.ntfs -f /dev/block/sda19

mke2fs -t ext4 /dev/block/sda20