yashsingh1/xdaforums huggingface dataset:
[Nothing Phone 2] arter97:
A new beta release is up with some major changes.

I'm not expecting this to be unstable, but considering the nature of some of the major changes, I'm marking this beta.

As always, back up before installing.

r9b1

f2fs merged from Linux v6.8 (includes important bug-fixes)

vmalloc backported from Linux v6.8 for some major performance improvements - https://www.phoronix.com/news/Vmalloc-vmap-Lock-Contention-v3

SELinux backported from Linux v6.8 for efficiency improvements

Fixes several memory leaks with lazy initcall and KernelSU

Other minor performance improvements
[Nothing Phone 2] arter97:
A new beta release is up with some major changes.

I'm not expecting this to be unstable, but considering the nature of some of the major changes, I'm marking this beta.

As always, back up before installing.

r9b1

f2fs merged from Linux v6.8 (includes important bug-fixes)

vmalloc backported from Linux v6.8 for some major performance improvements - https://www.phoronix.com/news/Vmalloc-vmap-Lock-Contention-v3

SELinux backported from Linux v6.8 for efficiency improvements

Fixes several memory leaks with lazy initcall and KernelSU

Other minor performance improvements

KernelSU v0.7.5 merged

KERNEL.PLATFORM.1.0.r3-04100-kernel.0 merged

Wi-Fi drivers updated to 2.0.9.21L

2023-12-05 security patch merged
[Nothing Phone 2] arter97:
Another beta release is up.

Thanks to the logs provided by @Nezorflame, I've narrowed down the random reboot culprit to Nothing's defrag driver.

This is to maintain high storage performance, but since no crashes are much better than a slightly faster storage, those drivers are now disabled.

Plus, a few more backports have been made to improve networking performance.

r9b2

Nothing's I/O-related drivers disabled to improve stability

TCP improvements backported from Linux v6.8 - https://www.phoronix.com/news/Linux-6.8-Networking

pstore's efficiency improved
[Nothing Phone 2] whatsek:
Had indeed some reboots with v8, now testing v92b. Thanks!
[Nothing Phone 2] giacomowrc:
45h of Activity and no reboot on 9b2
[Nothing Phone 2] PhatWalrus:
Same
[Nothing Phone 2] arter97:
Another beta release is up.

A fix was attempted towards i2c-msm-geni driver's crash.

This does not happen frequently, and I'm certain this was present in previous stable releases, which means that this beta may be more stable than previous stable releases.

Also, more code mistakes from Qualcomm were fixed.

I'm planning to let this beta drive for a several days and declare it stable.

Also plus, a few more backports have been made to improve storage performance.

As a reminder, please report any random reboots preferably with pstore (/sys/fs/pstore) log.

r9b4

2024-01-05 security patch merged

Fixed some coding mistakes from Qualcomm

sbitmap library backported from Linux v6.8

Several backports made to block subsystem to improve IOPS
[Nothing Phone 2] whatsek:
No issues or reboots in r9b4 experienced.
[Nothing Phone 2] arter97:
I'm marking r9 stable.

All previous stable release users are encouraged to update.

(From r9b4 to r9 stable, the latest block patches were re-pulled with the updated sets from mainline.)

r9

Nothing's I/O-related drivers disabled to improve stability

Fixes several memory leaks with lazy initcall and KernelSU

Fixed some coding mistakes from Qualcomm

f2fs merged from Linux v6.8 (includes important bug-fixes)

vmalloc backported from Linux v6.8 for some major performance improvements - https://www.phoronix.com/news/Vmalloc-vmap-Lock-Contention-v3

SELinux backported from Linux v6.8 for efficiency improvements

Other minor performance improvements

TCP improvements backported from Linux v6.8 - https://www.phoronix.com/news/Linux-6.8-Networking

pstore's efficiency improved

2024-01-05 security patch merged

sbitmap library backported from Linux v6.8

Several backports made to block subsystem to improve IOPS - https://www.phoronix.com/news/Linux-Caching-Time-Block-IO
[Nothing Phone 2] dlads:
Installed R9 stable.

If this is improved over R7 then I'm excited to see the SOT results from my daily routine.

Will show results once I know. 👍🏼

Thanks again @arter97
[Nothing Phone 2] Kkjin:
Can you tell me the sampling value?

This is the download app address

Touch Sample Rate Tester - Apps on Google Play

Check your phone touch sampling rate

play.google.com

I think the screen reaction speed will be very
[Nothing Phone 2] dlads:
There y go 👍🏼
[Nothing Phone 2] emskia:
Great kernel with very stable operation! I think the CEO of NP, must hire you as a lead developer, so they can improve their software, before make the suicide of this startup 👌
[Nothing Phone 2] AndreasDay:
So I've found an odd bug in r9. Its a pretty tiny thing, so I don't even expect a fix.

When using OFRP with the r9 kernel, the battery percentage shows -1% in OFRP, regardless of the charge level.

I'm assuming the bug lies kernel side as the percentage displays correctly with the stock kernel

As I said, I know its a pretty insignificant bug
[Nothing Phone 2] ffejy462:
Yeah, for undisclosed reasons orangefox and twrp don't like arter's kernel...(strange behavior and whatnot)
[Nothing Phone 2] AndreasDay:
Well that's not cryptic at all

But hey, at least it's a know issue I guess
[Nothing Phone 2] dlads:
I just patch it then boot it, then direct install.

Or use Franco kernel manager...either does the job
[Nothing Phone 2] ffejy462:
I was referring to orangefox and twrp act strange with arter's kernel. It was brought up in telegram, but I don't recall a specific reason. Flashing, on the other hand, is straight forward with exkm, fkm, fastboot, etc
[Nothing Phone 2] ffejy462:
Fwiw, same issue with meteoric
[Nothing Phone 2] AndreasDay:
Meteoric is built from the same source as Arter97s so makes sense
[Nothing Phone 2] Kkjin:
Google project verification failed.Device authentication also... Is there a way to fix this problem?
[Nothing Phone 2] Immortalis:
Unfortunately you have to go back to stock, as someone wrote here.

I can confirm that information from post linked above
[Nothing Phone 2] arter97:
r10 is up.

I am humbled.

r10

A workaround for Google Play integrity API's kernel name check implemented

f2fs merged from Linux v6.8-rc2

KERNEL.PLATFORM.1.1.r1-01500-kernel.0 merged

Wi-Fi drivers updated to 2.0.9.21N

An issue causing the battery charging current limiting function to not work right after boot fixed
[Nothing Phone 2] dlads:
Does that mean it'll make wallet work?

If so, omg
[Nothing Phone 2] AndreasDay:
Can confirm safetyNet passes with r10.
[Nothing Phone 2] dlads:
Wow.
[Nothing Phone 2] Kkjin:
A great developer recognized by everyone

A great developer recognized by everyone.!
[Nothing Phone 2] arter97:
r11 is up.

It's (somewhat) a major update.

Unlike other companies, firmware TWT is left enabled on Nothing Phone. This causes huge latency spikes on select routers/APs, most prominent on Qualcomm-based ones.

This update disables switches TWT from firmware to host-side software to fix this issue. This is commonly done in many other smartphone companies.

Also, Wi-Fi 6E support has been enabled and deadlocks introduced with r10 update has been fixed.

r11

Wi-Fi 6E support enabled

Firmware TWT disabled to fix Wi-Fi 6 latency spikes on select APs

Reverted 802.11 changes made in r10 to fix deadlocks

Linux v5.10.209 merged

Fail-safe software driver pwrkey-sync added to minimize data corruption

Optimizations applied to display and camera driver to lower overhead
[Nothing Phone 2] whatsek:
Wow, this is getting better and better! Awesome!
[Nothing Phone 2] Kkjin:
If the arter97 kernel is banned from Google

Can't I pass Google Protect device certification even if I upload r11? Please let me know the result of the user who installed it g.g
[Nothing Phone 2] xtcislove:
There is something wrong. Nothing else changed. Take a look at the icon/font size.

R11

R10
[Nothing Phone 2] xtcislove:
read the latest comments.
[Nothing Phone 2] dlads:
Switch to 6x5 from home settings / layout and back..may jig it into action.
[Nothing Phone 2] xtcislove:
I tried changing layout and screen/text size etc.

Its the kernel if i flash r10 all is fine, if i flash r11 everything is small.

R11

R10

I can switch back and fotrth with the kernel everytime this happens. If i flash r10 its back to normal.
[Nothing Phone 2] dlads:
Went through an EDL flash then installed this with magisk root.

Battery life is insane.

R10
[Nothing Phone 2] dlads:
Weird
[Nothing Phone 2] xtcislove:
Did you try r11? Do you have the same issue?
[Nothing Phone 2] dlads:
No haven't touched it yet, if it ain't broke don't fix it is how I see things..

I do use 6x5 so probably wouldn't see any issues.
[Nothing Phone 2] xtcislove:
I think you get it wrong. Everything is smaller. See attached screenshots.

Check the length of the macrodroif notification for example. Thats not launcher related at all.
[Nothing Phone 2] dlads:
No I do know what you mean, but you do indeed have your home screen set to 4 columns.

Just saying switching to 5 may make a difference
[Nothing Phone 2] xtcislove:
I tried it, does not make a difference. And tbh. i dont really understand why columns size would affect the notification panel, the settings and everything else, its a launcher setting not system wide.

4 Columns is a feature which works with every kernel except r11. Its completly off, that should not be a thing.
[Nothing Phone 2] dlads:
Fair enough.. thought I'd suggest it.

Wait for 12 I guess
[Nothing Phone 2] emskia:
I am wondering, if kernel can be updated OTA by Nothing?
[Nothing Phone 2] thisislukas:
There is an easy fix for it,

If you are rooted, open a Terminal and type

su -c "wm density 420"

If not, connect your phone to a pc, open a command prompt or powershell and type

adb shell wm density 420
[Nothing Phone 2] xtcislove:
Thanks. But why does a kernel change this? Right now im gonna wait for r12 but i keep your solution in mind because i like to keep the kernel updated.
[Nothing Phone 2] xtcislove:
@arter97

Thanks for your work.

R10

adb shell wm density

Physical density: 420

R11

adb shell wm density

Physical density: 320

Can you explain why this happens?

Thanks to @thisislukas i fixed it with:

adb shell wm density 420
[Nothing Phone 2] Claudiusgallus:
I just installed the @arter97 kernel; thanks a lot to its creator. Everything is smooth, and the integrity check is OK. There is only a very small problem. When I reboot in recovery, Orangefox is stuck on the start screen, and I have to push on/off and volume up to make it start.
[Nothing Phone 2] dlads:
That happened to me when I first installed ofox.. I just ended up waiting and it eventually starts, subsequent attempts don't take that long.
[Nothing Phone 2] Kkjin:
Many users are suffering from ghost touch It's a symptom that appeared last year, and it's of little use to contact the customer center Can the kernel solve this problem?

This actually happened to me and I'm so annoyed that I'm thinking about getting rid of the device.

Ghost touches

Every couple of hours my phone 2 starts to suffer from “ghost touches”. Meaning the screen acts like someone is touching or swiping it. By that apps are open...

nothing.community
[Nothing Phone 2] pawelmiernik:
Why don't you try and tell us?
[Nothing Phone 2] bsimpson1:
charge_control_limit seems to be broken on both stock and this kernel (r11).

Edit: Nevermind, I didn't read the OP
[Nothing Phone 2] AndreasDay:
I had actually thought this was an OrangeFox issue as I just gave up using it. But after seeing this comment and doing some testing, you're right. Booting OFRP is damn near impossible with this kernel.

I got stuck in a bootloop where it just repeatedly hung on the OFRP splash screen, but once reflashing the stock kernel it booted fine.

I wonder if the issue is on the kernel side or the recovery side. Hopefully this gets sorted soon. For now I'll have pick between this kernel or OFRP as both together are unusable

EDIT: Works fine on Meteoric Kernel
[Nothing Phone 2] Claudiusgallus:
In my case, after a couple of reboot the Recovery started to work normally
[Nothing Phone 2] AndreasDay:
Seems to be intermittent. After 4 or 5 reboots it's worked once. But after countless more tries I never got it to work again
[Nothing Phone 2] PhatWalrus:
Ask arter to fix all other kernels even stock works fine af

Also send logs :)
[Nothing Phone 2] arter97:
r12 is up.

r12

2024-02-05 security patch merged

Display driver initialization issue fixed (previously caused density and other issues)

WireGuard merged from Linux v6.8

NothingOS 2.5.2 changes merged

KernelSU change merged to avoid detection
[Nothing Phone 2] Claudiusgallus:
What am I doing wrong?

claudiusgallus@Claudius platform-tools % fastboot flash boot kernel.img

target reported max download size of 268435456 bytes

sending 'boot' (19620 KB)...

OKAY [ 0.489s]

writing 'boot'...

FAILED (remote: No such file or directory)

finished. total time: 0.491s
[Nothing Phone 2] xtcislove:
maybe outdated platform tools?

flashed with platform-tools_r33.0.3-windows and everything is fine.
[Nothing Phone 2] Claudiusgallus:
Yesses, updated platform-tools and everything went OK. Thanks
[Nothing Phone 2] Steanull:
Thanks very much for the kernel. But I ran into a problem. Dualsense does not work on r11 and r12. After connecting, it lights up blue for 2 seconds, then goes out and does not respond to buttons. Worked well on stock 2.5.1.
[Nothing Phone 2] arter97:
r13 is up.

r13

OrangeFox recovery compatibility fixed

KernelSU v0.8.1 merged

LA.VENDOR.1.0.r2-09300-WAIPIO.QSSI13.0 merged

Wi-Fi drivers updated to 2.0.9.21S

Other minor bug fixes and changes from Google
[Nothing Phone 2] Claudiusgallus:
i updated to r-13, then I re-rooted the phone but I cannot reach Orangefox anymore. If I try to flash it it tells me

claudiusgallus@Claudius platform-tools % fastboot flash boot /Applications/Android/platform-tools/recovery.img

target reported max download size of 805306368 bytes

sending 'boot' (102400 KB)...

OKAY [ 2.421s]

writing 'boot'...

FAILED (remote: Error flashing partition : Volume Full)

what am I doing wrong?
[Nothing Phone 2] Claudiusgallus:
And now the phone is stuck in Bootloader. I can boot in a magisk ptched boot image but when I install Magisk and reboot, it goes again in Bootloader. No other possibility. Is there a way out?
[Nothing Phone 2] dlads:
Why are you sending boot?

For ofox just run

Fastboot flash recovery (name of recovery)

Where it says sending boot and writing boot suggests you've flashed it to the boot partition which will naturally make the phone not boot.
[Nothing Phone 2] Claudiusgallus:
Made Fastboot flash recovery ,

but it still doesn't boot in recovery nor in system
[Nothing Phone 2] Claudiusgallus:
Now everyrhing is working :) Have I to reinstall the recovery in both partityions?
[Nothing Phone 2] pawelmiernik:
Bro if this is the exact command you used then you told fastboot to flash your boot partition with whatever /Applications/Android/platform-tools/recovery.img and that's what got you in trouble, a recovery image should be flashed to the recovery partition.
[Nothing Phone 2] dlads:
It's quite simple mate.

Boot images are flashed to boot and recovery images are flashed to recovery.

The clue is in the name of the image and partition.

👍🏼
[Nothing Phone 2] ooemir:
Hi guys,

Does this kernel work on original ROM?
[Nothing Phone 2] dlads:
Yes, it's the only way I'd use the original ROM...battery improves massively with it. 👍🏼
[Nothing Phone 2] ooemir:
Thx bro,

Is there any problem while getting the update?

And is it kernelsu work?
[Nothing Phone 2] dlads:
I don't know about KSU, I use magisk mate.

To update with the ROM? Im not too sure, I'd probably revert to stock then update.. or if arter rebases his ROM to the next version after 2.5.2 then we could probably just install that I'd imagine.

Someone else who's updated would have to confirm I guess..
[Nothing Phone 2] ooemir:
If it works, I definitely recommend kernelsu.

I hope I can get OTA update with this Kernel. and then I try flah the arter kernel again
[Nothing Phone 2] shaurya124:
Will Google pay work if I use this kernel?
[Nothing Phone 2] dlads:
Again I use magisk with this kernel so I can say yes, I'm using a custom pif though...

Look up play integrity. 👍🏼
[Nothing Phone 2] arter97:
Minor update r14 is up.

r14

Switched to LLVM 18.1.0 compiler

Wi-Fi drivers updated to 2.0.9.21U
[Nothing Phone 2] Linux4life2211:
Can I get a link for how to make a flashable .zip file from a kernel boot.img
[Nothing Phone 2] dlads:
Just flash it using Franco man..
[Nothing Phone 2] arter97:
r15 is up.

It includes a major change in RCU by Google that improves power consumption.

r15

Backported lazy RCU to improve power consumption

Other minor bug fixes and changes from Google
[Nothing Phone 2] ooemir:
Is there kernelsu support in this Kernel or does it only run magisk?
[Nothing Phone 2] pawelmiernik:
Dude, did you not read the first post?
[Nothing Phone 2] ooemir:
english turkish translation terrible bad. sory my bad english.
[Nothing Phone 2] arter97:
A major beta update is up: r16b1

This build enables multi-generational LRU (MGLRU).

This is a major change on how memory management works on the kernel level.

```

According to Google’s fleetwide profiling, multi-generational LRU yields an “overall 40% decrease in kswapd [the kernel daemon that manages virtual memory] CPU usage,” an “85% decrease in the number of low-memory kills at the 75th percentile,” and an “18% decrease in app launch times at the 50th percentile.”

```

Previously, MGLRU has been disabled as it can trigger LMKD to act aggressively, leading to unnecessary app kills.

There has been many fixes made to upstream, which is why I thought this could be a good time to test again.

If everything goes OK, this should reduce app kills and improve general device performance (as everything is related to memory management performance).

Look out for how many app kills you're noticing with this beta.

This build also replaces BBRv1 network congestion control with BBRv3. This should give better networking latency. If you have network anomalies, please let me know.
[Nothing Phone 2] ooemir:
Thx Arter last build perfect battery life..
[Nothing Phone 2] dlads:
This could be a big one for me... Every time I'm in the gym I take a massive hit on my battery, I think due to signal being a bit crap in there... Hoping this might make a difference.
[Nothing Phone 2] zozo932:
Unable to configure this device for contactless payment

Your device does not meet security standards for contactless payments. He may be in root mode or using uncertified software. To learn more, visit Google Pay help or contact your device manufacturer.

You can use this payment method on Google and other sites and apps.

Nothing Os 2.5.2, Recovery OrangeFox, no root, but last Alert97 Kernel installed.

How i can resolve this problem please
[Nothing Phone 2] dlads:
Nothing to do with root or this kernel, it's the fact your bootloader is unlocked.

Look up play integrity fix on xda.

You'll need to do it yourself due to the nature of the issue...
[Nothing Phone 2] zozo932:
Thank you

This is tuto : https://xdaforums.com/t/module-play-integrity-fix-safetynet-fix.4607985/

I need to root my Phone ? Because i have a problem. Je n'arrive pas a le root même en suivant la méthode. Je télécharge le boot d'origine de ma version 2.5.2 sur le thread le flash avec magisk pour obtenir l'image bootable mais mon téléphone brick toujours dans adb . Et même quand je télécharge la l'image déjà modifié sur le tread. Je fais peut être quelque chose mais je ne pense pas. Est-ce que je peux flash l'img directement a partir du Recovery orangefox pour root ?

Thank you my friend
[Nothing Phone 2] dlads:
Err yea that's the thread, no idea what the french paragraph says, but yet that's the play fix.
[Nothing Phone 2] zozo932:
Thank Thank you, I checked and indeed I need to be root, but it's complicated because every time, even if I follow the tutorial 100%, my phone freezes and I have to debrick it with the tool. I have a OnePlus 7, I was under oxygenos I installed lineage OS 21 without problem but with Nothing I can't do it. Tell me one last question, an update was released 2.5.3. I can download it ota in full and flash it directly via Orange Fox Recovery or I have to do something (I'm not root, but I have the kernel installed). Thanks my Guy
[Nothing Phone 2] rasira55:
Hello, I am root with Magisk and I am under Orange Fox recovery. How to install the kernel without losing root. I have this problem that I flash the kernel with orange fox (in the boot part) when the phone restarts I no longer have root access
[Nothing Phone 2] irmas5:
you need root again
[Nothing Phone 2] bsimpson1:
Open Magisk and press the install button, then choose "Select and patch a file" and choose your downloaded kernel file. It will patch the kernel for root support and tell you where it saved the patched version once it finishes. This is the file you need to install.
[Nothing Phone 2] kpirnie:
@arter97

Heads up if you compile with llvm-19/clang-19

Simple issue with a couple enum's in drivers/platform/msm/mhi_dev/mhi_dev_net.c around line 69 & 72... fix is very simple... just force them to be (int) ;)
[Nothing Phone 2] arter97:
A new beta update is up: r16b2.

This update brings some backported commits from Snapdragon 8 Gen 3's GPU drivers to work better with the new NothingMuchROM update.

It also merges NothingOS 2.5.3's changes.
[Nothing Phone 2] whatsek:
Will test beta 2, had no issues with beta 1,just fantastic battery life. Thanks!
[Nothing Phone 2] arter97:
r16 is now stable.

r16

MGLRU enabled with relevant upstream improvements backported (better overall performance with less app kills)

BBRv3 backported

Switched to LLVM 18.1.3 compiler

Wi-Fi drivers updated to 2.0.9.21W

LA.VENDOR.1.0.r1-25100-WAIPIO.QSSI14.0 merged

NothingOS 2.5.3 changes merged

f2fs merged from Linux v6.9-rc1
[Nothing Phone 2] arter97:
A minor update r17 is up.

Kernels starting from r17 provides the ability to customize vibration strength.

Writing to /sys/class/leds/aw_vibrator/custom_gain will make the vibration weaker or stronger.

If a value lower than 127 is written, vibration strength is effectively

reduced. If a value higher than 127 is written, it's strengthened.

The maximum is 255 (uint8_t).

The default is 0, which disables custom gain.

Note that akin to any other kernel sysfs tunables, it will be reset when the device reboots. Use a separate app or script to make it persistent across reboots.

r17

Vibration strength customization added

Micro-optimized vibration motor device driver to be more efficient

Switched to LLVM 18.1.4 compiler

Reverted a new f2fs patch from r16 that slowed down boot
[Nothing Phone 2] buu'buu:
@arter97 ,

Wrong version in thread title 😉

edit: super custom rom and kernel, really. THANKS
[Nothing Phone 2] simona70:
Can I use thuis custom kernel over stock rom 2.5.3 or 2.5.5 (with magisk and lsposed and orange fox recovery)?
[Nothing Phone 2] ffejy462:
Yes. I'd highly recommend arter's rom as well.
[Nothing Phone 2] Claudiusgallus:
I had some trouble restoring the integrity of my NP2 after the last Google mass fingerprint ban. It works again, but in the meantime, I uninstalled Arter's kernel because it was on a banned kernel list. Did someone with a similar problem succeed in reinstalling Arter97's kernel?
[Nothing Phone 2] dlads:
I'm using arters kernel and it works fine with the play integrity fix..
[Nothing Phone 2] Claudiusgallus:
Many thanks; I'll give it a try. Love this kernel
[Nothing Phone 2] mollex:
Does this kernel work on crDroid 10.5?
[Nothing Phone 2] Claudiusgallus:
It works! Great
[Nothing Phone 2] dlads:
The stock ROM would be a bit crap without it, way too battery hungry.
[Nothing Phone 2] Sharma Venkatesh:
I tried, gamed, worked like a charm. BUT....

Auto Brightness breaks, tap to wake breaks (after some reboots it's fine, and in the next reboot, it breaks again)
[Nothing Phone 2] mollex:
Thanks for the info.
[Nothing Phone 2] Razor64:
Will it work with CrDroid?

EDIT: It works very well. However, fingerprint does not work. Screen turns off on touching the sensor. Can't register any new fingerprint. Same error there. Fails to register fingerprint.