yashsingh1/xdaforums huggingface dataset:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] :
It may seem like afwall is firewalling apps but you're essentially opening up an attack vector for a false sense of security. Apps can accidentally bypass it without trying. App-level/userspace permissions are easily bypassed whereas ROM level permissions aren't. That's why there's the push for permissions at the ROM level. Root itself is a security issue, and though it can be useful I grant it to as few apps as possible to reduce the attack vector. If an app gets infected and it's been given root permissions it will have access to the entire system and can instantly bypass all firewalls. Nasty things like cryptomining scripts get installed this way and then you wonder why your phone is hot all the time with poor battery life
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] :
Kernel security patches are separate from ROM/framework security patches.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] alaviss:
[citation needed]

AFWall applies iptables rules on the UID of the app. If they can access Internet without going through a proxy app then there's a bigger problem to be solved.

In terms of applications that can be used as a proxy that is very likely to be allowed, there's only Play Services or in my case, microG, of which I have complete control over any apps' FCM/GCM usage, should the need arise.

Yes, which is why root has to be used carefully. I grant them only to a small subset of apps that I use that are all open source and operated by developers that I trust, so I'm pretty clear on that front.

As far as I know there's no vulnerability in Magisk that will let an app bypass the su confirmation, so I'm certain that there aren't any unauthorized app on the list either.

As long as you understand what you're doing, the risk to root is rather small.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] 73sydney:
Gave it a lash, but the fixed higher min clock speeds and inability to change them is a deal breaker for me at least
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] dlb4all:
After couple of days of using this i have to say im a bit disapointed with the battery consumption

as i was getting only ~3 hours of sot . which is not very good . im gonna revert to older versions for now
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] :
View attachment 5407857
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] :
Are you on a fully de-googled ROM? I'm on de-googled LineageOS running microG with my own custom signature spoofing module I compiled on my PC coupled with advanced charging controller (ACC) and battery life seems ok. I'll keep an eye on it if it truly is 3 hours SOT
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] 73sydney:
Just a heads up that 98% of people dont run Micro-G, and signature spoofing has no effect on battery life whatsoever.

The issue seems to be a kernel that is either in sleep (and i have mine forced into serious deep sleep and ACC) or pegged to near max all the time. Its pretty clear why the battery usage may be low in this circumstance.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] alaviss:
On Android there are two main ways that can be used to gain Internet access from a blocked app via IPC:

- By asking an unblocked app to do all the networking.

- By obtaining a socket from an unblocked app.

Both of which requires an unblocked app as an intermediary. While Graphene's Network permission guards against the second case (by banning sockets) and AFWall doesn't (UID matching is done against the FD's owner/creator), it still requires a proxy app to have networking in the first place, which is unlikely if you pay attention to what to allow.

If the actor is malicious and that they managed to have you allow their proxy app Internet, then they can perfectly execute the first case of which neither Graphene nor AFWall guard against.

In practice, no (non-malicious) dev in their sane mind would waste time creating a socket in an another app, then IPC it back to the main app to use. An as far as I am aware of, there's no widely available Android app (one that's likely to be allowed) that will happily give anyone a socket via IPC either, so AFWall limitations doesn't seem to be a practical issue, which is why I raised skepticism for this claim:

Of which your citation doesn't say anything about either.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Kaz205:
Did older versions of the kernel have better battery life? Also what tasks were you doing when you got the 3h sot?

Fun fact, your CPU is literally at *zero* frequency when it is in sleep or deep idle, which occurs even when you are actively using your phone.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] 73sydney:
I am aware of how IDLE works, what im pointing out is there is only one frequency when active, looking at CPU states however, i like to see more than 1.8Ghz. theres no valid reason to have it locked at one frequency unless your doing something like, i dunno, gaming. Hint: most people arent gaming during most of their device usage.

Unlocked frequencies would be helpful, theres a reason why they dont sell phones locked to one frequency and why theres multiple processor groups...youre going against the very design of the SOC
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Kaz205:
Your CPU goes into idle even when you the phone is actively being used. Higher minimum frequencies will allow the phone to complete the currently running task quicker and go into idle faster.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Kaz205:
Newwww buiiild
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] 73sydney:
Youre still overlooking the design of the SOC, need i go on and mention thermals etc...

There's just no need or valid reason for a single locked frequency
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Kaz205:
That's not how overclocking works...and like I mentioned your CPU will go into sleep faster so you are *saving* power. Also the little cluster barely uses any power even at maximum frequency.

EDIT: Just noticed you said "overlooking", my point still stands though.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] 我是十七:
Said a little more, a word is willing to use, do not want to use pull down! I've been using it anyway! Sutan's kernel also sets the frequency in this way
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] dlb4all:
Uhmmm , well im on the Pixel Experience , not de-googled but heavily debloated . have greenify (always had , always will) , acc and pretty much a set-up that used to give me about +5 hours of sot atleast . but not this time ...

My man before all of that i wanna say im massivly gratefull for your hard work that you bring to our semi-dead

(but once , a king) device . youre pretty much all we got . so bless you

and im guessing yes ? i know i had it better in July version . but i think even that was just above average in the battery department . and im not a heavy user at all . some few minutes of Spotify , fewer minutes of Instagram

and browsing and thats it .

acctually , i didnt have any idle drain . it was alllll when i waked up the phone and did even the slightest of tasks

like checking the market or make a call or etc .
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] :
...and your point? Are you trying to start an argument or something? Nobody cares that 98% of people don't run microG and I never claimed signature spoofing has anything to do with battery life. I was stating my configuration and decent battery life.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] :
Go take it up with the developer of GrapheneOS dude. I'm pretty sure he knows what he's talking about, I don't want to flood this kernel thread with arguing trying to show you why afwall doesn't work as advertised. I'm just trying to warn you since it seems like you care about privacy. Its good info.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] 73sydney:
Im merely stating facts, and didnt directly quote you as you seem triggered by facts, as evidenced in other threads.

Your choice to be triggered, im never looking for an argument, only sharing facts.

I posted my reply to try and separate MicroG and signature spoofing (there was no reason to mention it), as read, your post had the potential to confuse people.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] wanttotree:
Flashed 12sept build right away. Immediate fix on occasional lag and aggressive background app kill. Also my phone dont get warm as fast as previous build. Thanks for the kernel man, now my phone is better than usable.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] :
Battery stats using as my daily since September 9 (latest kernel)

Small update: battery life seems normal to me, I'm getting 5-6sot from 75% watching HD videos on Fennec browser with a bunch of custom performance flags enabled. Anyone else notice gecko webrender using 1/3rd the resources of Chrome's? Its a significant difference. Its not exclusive to this kernel either

View attachment 5409139
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Kaz205:
New build is out
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Everclearec:
Can you add mass storage gadget (file storage gadget) support for this kernel? Thanks!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] wanttotree:
May i know what it means by latest firmware? Im running latest pixel experience rom right now. Every once in a while the phone would just reboot by itself. Maybe im not on latest firmware.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Kaz205:
I think support is already present on it?

By latest firmware I mean latest vendor, and your reboot issue isn't caused by the firmware as my kernel on older firmware would not boot.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] wanttotree:
Thanks for the answer. I found the problem. It was because of a fast charging module i didnt remove. Now the phone is back like a boss! Cheers.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Kaz205:
New build is out with a fix for an incorrect backport I made
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] MartinN6:
Do you think the Kernel will work with dotOS 5.2 ?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Maverick Jester:
Currently running the previous build of the kernel with DotOS 5.2 and I've had zero issues. Performance is very snappy.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] MartinN6:
Thank you very much for the hint!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Kaz205:
New build is out with a deadlock fixed! (for real this time)
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] 我是十七:
Can't download
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Everclearec:
Removed
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] AndroidClone:
This is the best kernel I have ever used for taimen. Battery life is amazing and the phone even on Android auto is better than it ever has been. Running DOTos 5.2 smooth as eggs. Any chance of integrating kcal for a true color correction profile?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Kaz205:
Fixed the kgsl deadlock (100%) (confirmed working 2021)
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] TheAlmightyOgreLord:
Is there a reason why our Pixel 2 XL's kernel never provided more sophisticated I/O schedulers like Zen or Maple? My OnePlus One runs on Maple and my god the battery life and responsiveness is like 10x better.

The only reason I can imagine is maybe it has to do with the relationship between the "big" and "little" processors in our device? Maybe most I/O schedulers don't work optimally with this combination? I can only speculate.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Kaz205:
They don't seem to be better, and CFQ has become much more mature compared to the old days.

No, I think it should be done in the ROM.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] TheAlmightyOgreLord:
I assumed so. I'm pretty sure its because zen and maple were designed for single-chip devices, ours is a dual-chip and would therefore benefit from a more traditional I/O scheduler since the second chip basically offloads any task.

Also your kernel is superb... Do you have any plans on merging the recent privilege escalation vulnerability from the November 5 security patch, CVE-2021-0920? Keep up the quality work! 🖖🏻
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] dudeman13:
Hi, I was just wondering is there anyway to compare two kernels objectively ?

I was using DotOS 5.2 with Kazuki Kernel for about a month. I had fantastic battery life and performance.

After taking the OTA 5.2.1 update my kernel changed to unicornblood-pixel2-r

It is too early for me to tell what the difference is.

Now while I had fantastic performance with Kazuki I don't really know why. What is going on behind the scenes, what is different about these two kernels, and objectively speaking which is better for which type of end user?

Keep up the good work @Kaz205!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] TheAlmightyOgreLord:
From what I know, the kernel this is based off of; Sultan's, had enabled the secondary little processor to be on all the time instead of idle when not used since he found it uses a negligible amount of battery power and significantly speeds up tasks while also saving battery by reducing usage of the big processor.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] 73sydney:
hint: its not negligible in real life
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] TheAlmightyOgreLord:
So are you here to debate Sultan or Kaz for using his work? I like this kernel, I've noticed significant improvements in touch accuracy and improvements in battery. But that's on my device, with my setup. The speed improvement coming to this kernel (& previously sultan's) in booting android and opening apps is very noticeable as well. I like choices; if you don't like a kernel you can fork your own, try another one or stick with stock which is perfectly fine for most people.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] samsungrocks10:
Thanks for the kernel.

Though, I'm having issues with my phone randomly locking up and getting very warm, especially in the past few hours these lockups have been a little different, while sitting at my PC I hear my watch disconnect and check my phone to find it responsive, albeit very slow, for a small bit before locking up like I talked about before and requiring me to force reboot.

It seems to be happening while not in use, for example, overnight on the charger or at my desk like above. If not on the charger to no real surprise with the heat and all, it kills the battery till the phone shuts off if left unnoticed.

I appreciate any help figuring this out. I think this has only started happening after installing the kernel a few weeks ago but sorry if this isn't the cause. If anyone needs some more info let me know.

Kernel is the current latest kazuki release(2021-10-26) and my ROM is Lineage 18.1 latest(2021-11-25) with opengapps and magisk, along with a bunch of modules, if needed I'll get a list. Mostly audio, lsposed and pixelfeaturedrop (updated manually to current patch levels by me).
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] TheAlmightyOgreLord:
Have you tried all your mods on the stock lineageOS kernel to compare? Also a kmesg at the time of the event usually helps a lot
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Kaz205:
No, it works on systems with multicore CPUs too.

No?

I don't have that issue. It's probably caused by your Magisk modules.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] TheAlmightyOgreLord:
What do you mean "no"? I read that directly off of sultan's kernel thread on one of his big updates. You think I'm making this up? Or did you specifically change that? I thought your kernel is based on sultan's is it not?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Kaz205:
Check his post again, he has never said that.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] TheAlmightyOgreLord:
Huh... That's weird. I swear I read that somewhere. Now I'm confused
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] dudeman13:
@Kaz205 So going back to the original question... Is there anything you could comment on why/how one kernel is superior to another to lame end user?

A brief behind the scenes ELI5 of what changes were made compared to stock or any other kernel would be helpful to many end users
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Kaz205:
The features list and the changelog in mine and Sultan's kernel should be enough to get a grasp on what's going on. If you want to know everything including what's happening behind the scenes, I suggest you read the commit history https://github.com/Kaz205/android_kernel_google_wahoo/commits/11.0.0-sultan.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] BlackHoleOS Dev:
Hello just wanted let you know your kernel not compatible with pixel dust A11 it just bootloops
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Kaz205:
Highlighted the compatibility part in red since people seem to be really bad at reading...
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] 1race:
@Kaz205, are there any ways to get latest firmware except flashing the official build?

for example can I flash radio.img file from official build as firmware dirtly on existing PE11?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Kaz205:
You need to flash the latest vendor.img from the stock firmware if your device doesn't boot.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Kaz205:
New big update is out!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] jam456:
Thanks for the update, best kernal with havoc 11
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] dudeman13:
Can anyone confirm my plan will work...

I currently have DotOS 5.2.1 android 11

I previously had kazuki kernel but it got overwritten when I updated from 5.2 > 5.2.1

now it says:

Kernel version 4.4.289-unicornblood-pixel2-r#1 Wed Nov 24 2021

The recovery is Droid On Time recovery

The recovery doesn't have too many options, however it does have adb sideload

Can I just go ahead and dirty flash this kernel via adb sideload with no issues?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] 我是十七:
终于更新了
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Master_Yuval:
Wen for a12?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Kaz205:
Yes.

No idea, a12 looks terrible and I'm not sure when I'll make the switch.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] dudeman13:
Hey guys, just as a follow up. I can confirm I had no issues with dirty flashing the firmware, however I did have to use a custom recovery as adb sideload within Droid on Time recovery seems to be limited.

1. reboot to bootloader

2. open cmd type: fastboot boot *drop twrp img file here*

3. once twrp is booted, (decrypt data, password is your phone lockscreen pin) > adb push kernel zip file to device

4. install kernel

5. Phone is now Blazing fast on the best kernel for this device IMO

Thanks !
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] MrBrady:
Sorry for being dumb here, but I'm confused about compatibility. Understood that it's for A11. But when the OP says "latest vendor" does that mean the last factory image from Dec. 2020? Or does that mean 3rd party A11 ROMs updated recently?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] 1race:
Please add KCAL feature so we can use astronomy display mode feature in FKM (red display for night use)
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Kaz205:
Depends on the ROM. In most cases flashing Dec 2020 vendor.img would solve the problem, but some ROMs have custom vendor images. Ask your ROM maintainer.

I think display color calibration should we done in the ROM, not the kernel. Also what's astronomy display mode?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] TheAlmightyOgreLord:
Just a heads up for anyone having trouble getting fastboot to detect the Pixel 2 XL, or even just try and transfer files to your PC and it doesn't work; clean your charger's USB C port. Google admits the USB C port oxidizes above 60% humidity. I live in the PNW, a freezing jungle. Its easily 80% humidity 70% of the year. This plagues me constantly.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] MrBrady:
What's a good way to clean it so it doesn't short out anything? I used a toothpick a couple months ago but it seemed to make my USB problems worse.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] TheAlmightyOgreLord:
I use a universal USB port cleaning brush kit from Amazon with either 99% isopropyl alcohol or white vinegar with the device turned off and let it air dry for 30 minutes before turning on. White vinegar is best for removing oxidation and corrosion buildup.

But I actually prefer electronic cleaner, I use it on my vehicle's computer module connectors. It has a special formula that removes corrosion, air dries, doesn't short anything or degrade plastic, and leaves behind a protective coating on the metal pins

Also yeah don't use a toothpick lol... That'll damage the pins for sure
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] TheAlmightyOgreLord:
Looks like official lineageOS updates are done for 18.1... Do you plan to update this kernel to 19.1? It's absolutely amazing
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] flynhawn2002:
Rom: Arrow A11 (Vanilla Build)

I just installed your Kernel and so far its awesome! My results for the first full charge is as follows:

Last Charge: 13hrs

Screen Usage: 4hr 18 min

Edit: current battery 49%

Apps:

DuckDuckGo 3hr 19min

Nova: 21min

Textra: 17 min
[Huawei P30 Pro Questions & Answers] sampras83:
Hi guys,

I need your help. I am going to take it to the Huawei Support Center, bacouse of overexplosure problem (it is known problem in the community here). Yesterday I spent almost whole day trying to make backup of my phone. The only way to do it was using the phone option to make the backup on the usb memory drive. But it took at least 5hours to complete. But using Hisuite was not possible. When I click on backup, the dialog with data categories is shown, but all categories are disabled - the information from the device can not be read.

View attachment 5282619

in the phone there is a Huawei Backup app, but I am not sure if it is working - it has to because in other hand the hisuite can not work properly.

So I am stuck. Please help.

I am trying to do above on windows 10.
[Huawei P30 Pro Questions & Answers] borisku:
I had the same prob: the backup stay at 84%; so in a german forum i was told to use version 10.1.0.550 of Hisuite, with that you can backup your device,
[General Topics] thainess:
Hey does anyone know if there is anyway to make a copy of the sim card so i can have 2 cards with the same number?
[General Topics] oldsap:
not all sim cards can be copied
[General Topics] omrjln:
no

haven't heard of any
[LG V30 Questions & Answers] husky69:
Hi!

I gave my old V30 away that ran custom ROMs quite a while and flashed it back to stock for that, since the new owner is not a techie. I used a TWRP-flashable stock ROM for this.

But now neither camera nor torchlight do work.

Did I forget something?
[LG V30 Questions & Answers] schwinn8:
You'll need to tell us what ROM you came from. Pie ROMs, for example, can't be TWRP-flashed back to Oreo. Other custom ROMs have even bigger issues.

I would recommend KDZing back to stock. If you're going back to Oreo, you may need to go back to Nougat and then up through the others into Pie, because some of the Oreo KDZ made incremental changes that are needed for Pie. At least that's my understanding on the matter...

Safest would be to back to KDZ Nougat, then go through the rest until you're at the version you want... but there may be some shortcuts.