yashsingh1/xdaforums huggingface dataset:
[OnePlus Nord N20 5G] Techted89:
Is the trwp.fstab using the right version? Both have different

/dev/block/bootdevice/by-name/userdata /data f2fs noatime,nosuid,nodev,discard,inlinecrypt,reserve_root=32768,resgid=1065,fsync_mode=nobarrier latemount,wait,resize,check,formattable,fileencryption=aes-256-xts:aes-256-cts:v2+inlinecrypt_optimized+wrappedkey_v0,keydirectory=/metadata/vold/metadata_encryption,metadata_encryption=aes-256-xts:wrappedkey_v0,quota,reservedsize=128M,checkpoint=fs

Try this instead in twrp.fstab

/data f2fs /dev/block/bootdevice/by-name/userdata flags=fileencryption=ice:aes-256-cts;wrappedkey;keydirectory=/metadata/vold/metadata_encryption
[OnePlus Nord N20 5G] PsYk0n4uT:
i just unpacked the twrp image with AIK and made the suggested edits and repacked, reflashed, same...... another person is working on twrp and has gotten much of the fstab corrected in their build but their keeping their source closed til they get it ready for release and is still very far from being finished with it and doesnt have much time to work on it right now so we are just kinda stuck waiting on someone that knows what their doing to help get this going. the other person has touch working on theirs so i know its possible i just dont know how long it will be before we see a beta even
[OnePlus Nord N20 5G] PsYk0n4uT:
also i see a recovery.fstab instead of twrp.fstab in /system/etc. is this what your referring to?
[OnePlus Nord N20 5G] Techted89:
You need both from what iv read ,. TWRP.flags is a module that rewrites the stab at a certain point which may be the reason it's not compiling but I will post. Recovery.fstab is supposed to be a copy paste from the boot.img and gives the general mount partitions locations,. TWRP.fstab is mounted using the same partitions but different format/flag structure to be available to TWRP .
[OnePlus Nord N20 5G] PsYk0n4uT:
Interesting article above. Were you able to get that to work? I know it says MTK but seems like mechanism should be the same, or atleast I would assume anyways that the function would be very similar in the case of a flag. Was told you needed to use original kernel but then I couldn't get that to boot period. I'm out of my area of knowledge at this point but always willing to learn.

Also I tried messing around a little with the f stab and TWRP flags I was told that TWRP flags is pretty much the same as the twrp.fstab... also this build needs to have something added to the drivers I do believe that this is somehow related to USB touch it is a goodix gt9886 touch panel using the Samsung 9886 drivers. Maybe the init's need some help here as well.
[OnePlus Nord N20 5G] micheal2445:
I have the programming knowwledge that TWRP would require, but have not as of yet created one as my devices were typically readily complete before-hand. Once my device is back up, and running I am going to boot into Ubuntu and give it a go.
[OnePlus Nord N20 5G] micheal2445:
I need some excuse to have learned assembly x86, c, c++, Java, Python, and rust and have been eyeing learning scripting so it could be a fun side project assuming it is still incomplete as of the moment?
[OnePlus Nord N20 5G] micheal2445:
Is it normal for manufacturers to use components from other's in their builds? The kernel posted seemed to indicate at least a couple Samsung files included.
[OnePlus Nord N20 5G] micheal2445:
Well C is a guarantee possibly some C++ as well and definitely some sh scripting if you know rust and know how to attach it to C well enough that could add more possibilities I would imagine. The recovery is from my understanding in the boot image Android Image Kitchen would help you see it unmodified if that is the case.
[OnePlus Nord N20 5G] AboveTG:
I found a unofficial TWRP that flashes to the boot partition, and works pretty damn well, id have to say! I am not an experienced developer, I just like to flash around on my phone in my spare time.. Anyways here y'all go:
[OnePlus Nord N20 5G] micheal2445:
I am down while I got partitions backed up to the cloud.
[OnePlus Nord N20 5G] Sprunglicious:
Hey! Could you let me know if you are hosting the source to this online anywhere? I am working on getting the n200 working. They both are holi-based, and this would be a great starting point!
[OnePlus Nord N20 5G] CmdrCrichton:
Do have a source as to where you found this build?
[OnePlus Nord N20 5G] Toothless_NEO:
Does this one allow Booting the system from TWRP yet or is that feature still broken?
[OnePlus Nord N20 5G] halloweenm925:
still broken
[OnePlus Nord N20 5G] Toothless_NEO:
I see. Why replace the boot partition anyway? Is there some problem preventing us from overwriting the existing recovery mode?
[OnePlus Nord N20 5G] PsYk0n4uT:
The twrp for the sister device the oneplus nord ce 2 lite works great all except for booting to system with twrp in ramdisk.... The recovery is in ramdisk on these devices..... I think its because of the kernel used. I tried swapping out the kernel woth the one from a July device but still had the same issues. Kernel will be atpeast slightly different because when i was attenpting this we were on a11 and the ce2 lite already had a12....... A group i was invited to attempted a unified twrp & kernel that they had hoped would work for this device as well as a xiaomi and another device that all have the same boatd and SoC, it booted for all except our device... My source is on github, its just a copy of the oscar twrp with kernel dtb and dtbo swapped out...

Heres my source if anyone wants to fork it or commit changes, i just dont have the time or resources to work on it any more, hopefully u guys can take up the lead now. Im about out of my league now anyways.

GitHub - Lctsolutions/Device_Oneplus_N20_5G_TWRP

Contribute to Lctsolutions/Device_Oneplus_N20_5G_TWRP development by creating an account on GitHub.

github.com
[OnePlus Nord N20 5G] micheal2445:
I can pull the boot partition and tweak it to allow for modifications not in the original with some hardware equipment I have if you post what exactly is preventing the load, or if your unsure I can look through it when I have a minute.
[OnePlus Nord N20 5G] micheal2445:
The device claims universal but I'm skeptical of anything without an Achilles heel but would try it out no idea if this piece of hardware can be explicitly named or if that will cause violation of the forums rules
[OnePlus Nord N20 5G] micheal2445:
[ IF YOU SEE THIS BEFORE I COPY A LI K TO THE DEVS PROFILE THIS IS NOT MY WORK] https://github.com/capntrips/BootImageTool

This was made to handle OTA's removing magisk, but can also boot a normal boot image. MIGHT be a temporary workaround to consider I remember on Iphones when you had to re jailbreak after EVERY reset so this would beat that.
[OnePlus Nord N20 5G] micheal2445:
Ironic the ' capntrips' in the link is the original devopers XDA account handle.
[OnePlus Nord N20 5G] micheal2445:
Do you think building the kernel and replacing references to kernel functions in the ce version may solve the issue?
[OnePlus Nord N20 5G] micheal2445:
Also osmosis has a dtb editorI believe that came with android boot kitchen
[OnePlus Nord N20 5G] micheal2445:
I think replacing kernel calls to the ce kernel to the nord n20 could be done faster in rust then c++ and if you don't want to risk your device use the emulator you can make the build get the proper kernel tool chain and create a copy as well.
[OnePlus Nord N20 5G] micheal2445:
Compare the Oscar to the unofficial holi that does boot properly might reveal what changes should be made as well.
[Xiaomi Poco X3 Pro] king901:
My poco x3 pro started to have some problems 2 months ago first Mic stopped working completely after the 13.03 global update , now all of a sudden when i connect my bluetooth headset it connects normally but there is no voice heard and when i play videos no matter what platform video start to stutter even though the app work normally and i can scroll comments or other videos on yt while the video is playing ,games crash if connect my headset ... so im pretty convinced its going to die soon

currently updated to 13.0.4 official global .. did a complete fastboot installation twice and no changes

question is should i install a custom rom , does that have any chance to saving the phone ...which rom u guys recommend simple google search shows crdroid or lineageos and here most popular rom seems to be arrow
[Xiaomi Poco X3 Pro] NOSS8:
Sounds like a hardware problem, changing roms won't do anything.
[Xiaomi Poco X3 Pro] king901:
been working on it since yesterday nothing helped , guess i will have to wait for it to die on me

ty for replying hope your next phone isnt as bad
[Xiaomi Poco X3 Pro] ufoalien:
I have the same problem. And every ROM, whether official or custom, has the same problem.
[Xiaomi Poco X3 Pro] lsander:
Install custom ROM. Worth to try. AOSP from foxtrot on tg is perfect a12 for me and everything working perfect.
[Touch Pro, Fuze General] slummy:
If I make phone calls without headset or speaker my Touch Pro is sooo crazy silent.

I have to press it against my ear (to hear something) that it hurts after some minutes :confused:

Any chance to get this louder?

A Tweak/Software/Setting?

Everything in settings of the phone is on maximum...
[Touch Pro, Fuze General] majkeljj:
this should help :)
[Touch Pro, Fuze General] thisperishedmin:
Ooo...I'll have to try this later. I've also found it to be painfully quiet.
[Galaxy S II Q&A, Help & Troubleshooting] yonekome:
I am building Lineage OS 20 on an i9100.

The development environment is Ubuntu 22.04 LTS and the device source code is from @ rINanDO.

So, I am facing this problem. I have everything ready and when I type "brunch i9100" I get the error in the image.

I have tried everything and keep getting the error so I am posting this.

Please help and advice me.View attachment 5724229
[Galaxy S II Q&A, Help & Troubleshooting] Concept48:
Ask @rINanDO bro
[Galaxy S II Q&A, Help & Troubleshooting] yonekome:
I thought perhaps this was not an error due to his device source code, so I wrote here
[Galaxy S II Q&A, Help & Troubleshooting] Nem1x:
I have the same issue when compiling Awaken A13. It's something related to clang, you should switch to clang proton. Let me know if you fixed it and how.
[Galaxy S II Q&A, Help & Troubleshooting] Concept48:
Good job Nemix !!
[Galaxy S II Q&A, Help & Troubleshooting] Nem1x:
I fixed it by cloning Proton Clang and adding these lines to BoardConfig in device:

TARGET_KERNEL_CLANG_VERSION := proton

TARGET_KERNEL_CLANG_PATH := $(shell pwd)/prebuilts/clang/host/linux-x86/clang-proton

To clone proton clang run:

git clone --depth=1 https://github.com/kdrag0n/proton-clang.git prebuilts/clang/host/linux-x86/clang-proton
[Galaxy S II Q&A, Help & Troubleshooting] Concept48:
Nice bro , so soon Android 13 in the test bank
[Galaxy S II Q&A, Help & Troubleshooting] yonekome:
Thanks for the advice.

I have a question about a script to add to BoardConfig.

The place to add it is in my case

and

at the bottom?

I ran clone proton clang command first and added the script to the above location, but the error did not go away.
[Galaxy S II Q&A, Help & Troubleshooting] Nem1x:
Yeah it goes at. android/lineage/device/samsung/i9100/BoardConfig.mk

I think that it doesn't matter where you put it. Bottom of the file should work.
[Galaxy S II Q&A, Help & Troubleshooting] yonekome:
View attachment 5726721

Hmmm.

I apply them and still get an error.

I'm stumped.
[Galaxy S II Q&A, Help & Troubleshooting] Nem1x:
Try to add these lines as well in BoardConfig:

KERNEL_LD := LD=ld.lld

TARGET_KERNEL_ADDITIONAL_FLAGS := DTC_EXT=$(shell pwd)/prebuilts/misc/linux-x86/dtc/dtc LLVM=1
[Galaxy S II Q&A, Help & Troubleshooting] yonekome:
I added them, but I get an error…
[Galaxy S II Q&A, Help & Troubleshooting] Nem1x:
I think I found the solution.
[Galaxy S II Q&A, Help & Troubleshooting] Nem1x:
kbuild: use HOSTLDFLAGS for single .c executables · PixelExperience-Devices/kernel_xiaomi_sdm710@2d5030b

When compiling executables from a single .c file, the linker is also invoked. Pass the HOSTLDFLAGS like for other linker commands. Signed-off-by: Robin Jarry <robin.jarry@6wind.com> Cc: Josh...

github.com

lavender: Disable LLVM_BINUTILS · PixelExperience-Devices/device_xiaomi_lavender@6729356

• LLVM is now enabled by default as google is moving away from GCC. • Kernel side patches are required and as of now our kernel isn't compaitable. • Refs- https://gerrit.pixelexperience.org/c/v...

github.com

I hope you can find paths.
[Galaxy S II Q&A, Help & Troubleshooting] Nem1x:
Remove previous patches as well.
[Galaxy S II Q&A, Help & Troubleshooting] yonekome:
It worked fine!

I added these.

~/android/lineage/kernel/samsung/smdk4412/scripts/Makefile.host

and

~/android/lineage/device/samsung/i9100/BoardConfig.mk

Thanks for the great support.
[Galaxy S II Q&A, Help & Troubleshooting] notnoelchannel:
so did you manage to build lineage 20.0?
[Galaxy S II Q&A, Help & Troubleshooting] Nem1x:
I did. I don't know about him.
[Galaxy S II Q&A, Help & Troubleshooting] yonekome:
50% complete, but new error.
[Samsung Galaxy A53 5G] szinyo1048:
Hello! Please help! i have A53 5G, A536B/DS, i installed TWRP, and installed in TWRP magisk. And i have custom install.zip,

this overwrite the font and system/media/audio/ui files. But not working...

i try also: Magisk rooted system, and totalcommander / SuperUser Permission manual overwirte, but i received Error 36 ( Read only /system )

I want help, please get me any idea
[Samsung Galaxy A53 5G] szinyo1048:
I want change font files, and media/audio/ui files only. How i do, bcz i cannot write over the files, and the Install.zip also no overwrite the files. Please help me if have a solution.
[Samsung Galaxy Note 10+ Questions & Answers] Bill720:
I'm currently on the summer 2021 release of the Verizon stock rom based on Android 11 and ONE UI 3.1, but have been hearing about newer versions based on Android 12. I'm fairly happy with the performance of the existing combination, (the speed and battery life are nothing short of epic) but have never found a solution for the longstanding bug where audio playback inside of Shazam is choppy.

My question to the community is if newer builds of the stock rom fix the choppy Shazam audio playback, and also, whether or not they break the Wichita version of the Google Camera app, which I rely on extensively (unless there's a less-broken distribution that I haven't heard about yet, in which case, lay it on me!).
[Samsung Galaxy Note 10+ Questions & Answers] Bill720:
Well, I finally bit the bullet and chomped down all the dirty/in-place updates for both the stock rom based on Android 11 and Android 12. After I inserted a T-Mobile-branded sim card, it set off a whirlwind of changes, including switching the stock rom from the Verizon rom to the T-Moible one all by itself somehow. Lots of nasty packages to disable, but it calms down well enough after doing so. Among other things, the T-Mobile stock rom is extremely aggressive about software updates. I let it push me around this time, but after getting through the batch, I did disable the obnoxious & pushy updater.

I can confirm that choppy Shazam audio was fixed by one of those (can't remember which one) and that the Google Camera app still works in the new rom, so that's a win. The sidecar widgets are degraded, and the little animation that appears when power is connected looks kind of weird, but everything else is alright, except for the horrible widget shaping on the newer stock Samsung launcher. Also, the friendlier band switching menu is stripped out, requiring use of the dialer code to prompt the more primitive one.

If anyone was on the fence about it, as long as you're okay with those minor caveats, I'd recommend going along for the upgrade.
[Windows RT General] guifmr:
I need to be able to enter on the Google sites like drive, dice, slides and to get into Canva, but internet explore don't let me in, actually a lot of sites are not avalible
[Windows RT General] philippe75017:
hello,

true, Internet explorer is unusable on most sites now.

have you tried to install windows 10 ARM 32 bit ? (unofficial)
[Touch Pro, Fuze General] wahooza:
i have a fuze.

when you set an alarm via windows mobile and completely turn off your phone, is there a way to have the alarm automatically turn on your phone and activate its alarm at the appropriate time?

:)
[Touch Pro, Fuze General] Cactus World:
Unfortunately no, since Windows Mobile is not running when the phone is switched off.

CU,

Cactus World
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] Tomilly:
Hello guys ! Come and meet my new Developed Kernel maintained for S9(starqlte), S9+(star2qlte) and Note9 (Crowqlte)

This Kernel was designed to find the best balance between autonomy, less heating and greater stability. See the list of changes:​

* V4 Changelog

* Fixed Home Launcher Bug in roms

* Fixed Security option on Gsi/Aosp Roms

* internal bugs fixed

* V3 Changelog

​

* Merged with the smudge kernel source

* Fixed NFC issue

* Fixed issue with usb connection with other devices

* Fixed issue when mounting some memory cards

* Added Governors : ondemand, powersave and conservative

* Re-implemented custom rom/gsi support: now the system will not bootloop in gsi.

* Improved storage and cryptography blobs: It is now possible to use the kernel with the Oneui rom stock, without the need to install magisk.

* and all changes from version V2

Note: Due to changes in the kernel structure to solve several errors, and especially the compatibility with the stock rom without root, when booting the system a message is displayed informing the one related to the changed system, just click ok and everything will be fine!

Thank you all for the support!!

:)

TomKernel v2 Changelog:

* GCC 4.9 Compiler

* WQ Power Efficient

* Disabled Boost CFS

* Disabled AIO support

* Several unnecessary kernel debugs

* Config_hz set at 100mhz

* Added adaptive voltage control

* Disable Multi Core Schedule

* Added Zram

* F2FS partition support (We need a patch for support alongside recovery)

* and many other improvements to the internal code. Test and check the stability!!

How to Install ?

Just flash it according to your variant in twrp/orangefox , if you have magisk , the installer will keep it intact

The files are attached to the post, download according to your version

:)

Kernel source: https://github.com/ZEROAESQUERDA/SDM845_SAMSUNG_KERNEL

​
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] Qosmio-:
Hi, cool a new kernel, can it be flashed over klabit v6.5 and is better then that kernel?
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] ele3131:
Glad to see more support for S9, will for sure test it after NFC is fixed, nice work!
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] Tomilly:
It has the newest source relative to klabit with 2 year old kernel. In stock it does very well, but has incompatibilities with gsi
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] Tomilly:
T

Tnx :)
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] Qosmio-:
Tnx for your reply, with klabits kernel the clear view case does not work you know if it works with your kernel?
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] Tomilly:
in my translator I can't understand the function you mentioned
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] Qosmio-:
GENUINE Samsung Galaxy S9+ S9 Plus SM-G965 Protective Standing Cover Case | eBay

The Protective Standing Cover has been drop-tested to provide outstanding protection. -Samsung Galaxy S9+ (SM-G965). Galaxy S9+ Protective Standing Cover. Watch in comfort. Outstanding protection. Heavy-duty case.

www.ebay.com
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] Qosmio-:
Just flashed the kernel, nfc and the case does not work same as klabits kernel.
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] Tomilly:
View attachment 5725301

I'm focusing on another variant, but different from the one that focuses on temperature and stability, the other one focuses on raw performance
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] Tomilly:
* V3 Changelog

* Merged with the smudge kernel source

* Fixed NFC issue

* Fixed issue with usb connection with other devices

* Fixed issue when mounting some memory cards

* Added Governors : ondemand, powersave and conservative

* Re-implemented custom rom/gsi support: now the system will not bootloop in gsi.

* Improved storage and cryptography blobs: It is now possible to use the kernel with the Oneui rom stock, without the need to install magisk.

* and all changes from version V2

Note: Due to changes in the kernel structure to solve several errors, and especially the compatibility with the stock rom without root, when booting the system a message is displayed informing the one related to the changed system, just click ok and everything will be fine!
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] Tomilly:
V4 Changelog:

* Fixed Home Launcher in some roms

* Fixed Bug in security in AOSP rom/gsi

* Fixed some bugs in source code
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] RAExda:
I currently have rooted Stock Firmware with Security update from May 2022 and using klabit kernel V6.5 on my S9 snapdragon (SM-9600)

I flashed this kernel and got a error message "Android System There's an internal problem with your device..."

In addition, I can't connect to the phone from windows. ADB shows no devices attached (Dev Mode, USB debugging is ON).

Most other apps, functions seem to be OK.

Any idea how to fix the Android System error and get ADB to start working?
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] ele3131:
You can ignore the error message, about the ADB, I also have this problem, even changing ROM did not fix it =(
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] Solin Solito:
personally i can only get windows to recognize my phone when i go into twrp recovery :(
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] Qosmio-:
Info kernel bugs,

ADP not working with v2, v3, V4 kernel version.

NFC not working with v3,and v4 Kernel version, works great in v2 kernel version.

Samsung Clear view case not working with v3 and v4 kernel version, work great in v2 kernel version.

Forgot to mention, running stock rom BUILD G965U1UES9FVD1
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] ele3131:
Here even TWRP doesn't recognize ADB, only "download mode" sadly.

NFC is working fine here with V4 =/
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] Qosmio-:
Stock rom?
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] ele3131:
No, I tested with Crdroid and DotOS =/
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] Qosmio-:
That is why i said with stock rom, if something is working or not, better to say what rom you use.
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] Tomilly:
For G96xx variants v3 and v4 versions fared better and had more fixes As for g965u variants v2 is the most recommended because it was the last version that I used as a base the g965u source
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] Qosmio-:
Solved
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] james_rokr:
S9+ snapdragon running like a rocket. Thank you for this kernel.
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] Erman.c89:
Hello everyone, I hope you are well :) I just bought a Samsung s9 G9600 that the ROM recommends me with Android 10
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] MrFhenix:
bootloop on G9650 on android 9 stock rooted ..
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] _SlaSh_:
Is this still accurate? In this case where can I find V2 links to download?
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] CyanRose:
adb devices not works and i trying reinstalling klabit again but give us reboot not flash this kernel to new advice or the kernel more stable

i am trying port postmarketos to the note 9 n9600
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] Tomilly:
Get it on Brazilian group S9 on telegram
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] Tomilly:
Yes, like a charm
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] Tomilly:
this kernel dont made to work on Android Pie
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] RAExda:
Deleted