yashsingh1/xdaforums huggingface dataset:
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Sultanxda:
Another build from the future up with fixes for issues related to Android not being able to collect power info.

You sure the bootloader didn't change your active slot?
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] buschris:
running great, thanks for your efforts
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] cesarguaro:
Good morning, bro, i just flashed the kernel zip and magisk, i didn´t nothing more..!!!

I have to go back to stock factory image to make the phone boot
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] TheSockGlove:
Magisk build?
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] cesarguaro:
I used the v16.7, with the previous version it works... i´m doing something wrong?

I made the following steps.

From twrp,

Flashed the kernel zip

Flashed the magisk v16.7

restart

and it keeps on google loading screen
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] buschris:
did you try a hard reset and wipe caches again?

also, when I do my flashing, I'll flash the kernel and let it boot fully, play with it and then go flash Magisk and wipe cache.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] cesarguaro:
i just try wipe dalvik and cache, doesnt try to make a hard reset, because i don´t want to loose all my apps and config... hard reset is the only way?
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] buschris:
when it hangs on Google, hold power button and both up/down volumes until it shuts off (hard reset), then let go and hold power and volume down to get to recovery. Flash kernel, reboot. then go back and flash Magisk and wipe dalvik and cache. At least that is what worked for me.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Sultanxda:
You don't need to hard reset. This happened to me a lot over the past few days because the bootloader would silently change my active slot and mess everything up.

Reboot your phone into bootloader mode and run this:

fastboot --set-active=other

Then reboot and see if your phone turns on. If it doesn't, then you can download the factory image, modify it so it doesn't wipe your phone, and run it. There's a guide on how to do this since this is how some people upgraded from Oreo to Pie.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] RashidD:
Any considerable improvement to battery life?
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] danbrown162:
For me so far, it seems quite a bit worse..... But it's early days so I'm gonna give it a couple more days
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Sultanxda:
New build up with slightly reduced power consumption.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] lucifer9:
Does this kernel have High Brightness Mode (HBM) support ?

It is really useful under the sun.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] xFirefly93:
Nope.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Hadookie:
Sultan I don't know you but I missed you.:crying:
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] wassco:
Wipe cache in TWRP that usually gets me past Google load screen
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Sultanxda:
New build is up with TWRP touchscreen issues fixed.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] :
A solid kernel for the device, finally seeing the flat horizontal battery line on screen off. Thank you very much for the clean and zero configuration kernel.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Sultanxda:
New build is up with improved memory management.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] xFirefly93:
The download link is showing the previous version that was released 2 days ago.. :/

EDIT: My bad! I forgot that you are living in the US that has a different time region compared to Sweden, lol.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] danbrown162:
Battery life very decent on latest release ?
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] xFirefly93:
Kernels doesn't affect battery life, I would rather recommend you to check your wakelocks and if you have some apps & services that is misbehaving in both the foreground and background.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] danbrown162:
If you say so....
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Sultanxda:
Kernels do affect battery life very much, and the person you're replying to was saying that battery life was good...
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] xFirefly93:
Well, I was just quoting what people like [MENTION=4684315]flar2[/MENTION] and [MENTION=6842057]nathanchance[/MENTION] have told me/us a couple of times regarding the kernels that is released for the newer, more power efficient SOC:s out there and so on..
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Sultanxda:
If the kernel didn't affect battery life then EAS would be a lie...
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] nathanchance:
I've only stated that people are quick to blame the kernel for bad battery life when 99% of the time it's something in userspace.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] methuselah:
This is interesting. So kernel do affect battery life. Flar had a whole article onto this.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] infamousvincci:
Kernel affects battery life ofcourse. But it shouldnt be the first to blame when u have a battery life problem. Look for ur apps first and then download BBS for more infos on which or what is the culprit.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] methuselah:
lol i know that. battery stats and things. But confirming this from two developers simultaneously, its a confirmed thing.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] infamousvincci:
I dont understand. But cool.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] donlu30:
Sultan, could you post a link to your 8.1 kernel?
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Shamestick:
Alternatively, will the 9.0 kernel work on 8.1? I know this usually isn't good practice with the difference in android version, a post by Nathanchance for his own kernel made it sound possible (but as usual, no reporting any problems with the cross-version set up)
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Sultanxda:
New build is up with a custom low memory killer driver that I wrote. This should solve the memory management issues (:

Old releases can be found here: https://github.com/sultanxda/android_releases/releases
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Mrcactuseater:
If you can't beat it, just make a better one ?
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Sultanxda:
New build is up with Westwood+ and some tweaks to the new low memory killer.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] :
[MENTION=4800121]Sultanxda[/MENTION] OT: What is your typical setup & tweaks apart from running your awesome kernel? Do you root and if "yes", typical mods and tweaks you use. I am just curious since many of the kernel developers I have interacted with from a long time just run custom kernel.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Sultanxda:
Just my kernel + Magisk. Nothing else.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Sultanxda:
New build is up with the freezes caused by the low memory killer fixed.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Sultanxda:
New build is up with September patches and more LMK fixes.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Hadookie:
Thanks!
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Sultanxda:
New build is up with all of the LMK issues finally fixed.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Sultanxda:
New build is up with yet more Simple LMK fixes.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Sultanxda:
New build is up with Simple LMK removed for now.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Sultanxda:
What? The whole point is so that the reference counter goes to zero and below, so that only one instance of atomic_dec_and_test() returns true at a time and invokes the memory reclaim process.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] xFirefly93:
[MENTION=4800121]Sultanxda[/MENTION]

I have checked your Github repo a little regarding how your custom CPU Boost driver works (and what not) and I got two questions for you..

1) How much of a difference in overall power consumption is it between 748800 kHz and 825600 kHz in mW?

2) Is it possible to see how much each CPU frequency drains in pure mW numbers anywhere in the /sys files? I am basically into optimizing my Pixel 2 so it drains as little amount of power per each used clock cycle, without compromising overall day to day performance.

Maybe you can, or want to, help me out with this a little? And sorry if I am far to off topic now!
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] dviree:
Hey how can I adjust the vibration??
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] aocboe:
ex kernel manager
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] dviree:
Damn. Paying money just to adjust the vibration...
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] xFirefly93:
Which vibration is it that you want to adjust?
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] dviree:
For my text messages and phone calls
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] xFirefly93:
I can see if I find the correct sysfs path for it for manual control. If so, I'll make a simple script that lets you control it.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] HesThatGuy:
little cores:

Voltage Ceiling & Voltage Floor:

https://github.com/sultanxda/androi...h/arm/boot/dts/qcom/msm8998-v2.dtsi#L441-L453

Frequencies:

https://github.com/sultanxda/androi...h/arm/boot/dts/qcom/msm8998-v2.dtsi#L463-L471

big cores:

Voltage Ceiling:

https://github.com/sultanxda/androi...h/arm/boot/dts/qcom/msm8998-v2.dtsi#L683-L690

Voltage Floor:

https://github.com/sultanxda/androi...h/arm/boot/dts/qcom/msm8998-v2.dtsi#L715-L722

Frequencies:

https://github.com/sultanxda/androi...h/arm/boot/dts/qcom/msm8998-v2.dtsi#L795-L806

I'm almost 100% certain that Sultan found his ideal frequencies with actual testing instead of looking at the voltage tables but these should be able to give you a good place to choose yours.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] tanishktayal:
Kindly Plz increase the charging speed I am not able to use dash charger and I don't have the stock charger.. With the dash charger I am only able to get 1.5-2.0 amp current only. Plz
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] aocboe:
Dash is a private protocol,it can only be used OnePlus/Vivo（Dash=VOOC）.

If you want faster charging speed,please use USB-PD charger.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] tanishktayal:
I was asking because sometimes rapid charging works and sometimes it doesn't it's consistent. Thanks for the reply
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] aocboe:
……OK

Kernel Adiutor is a free app.

https://play.google.com/store/apps/details?id=com.grarak.kerneladiutor&hl=en
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Sultanxda:
New build is up with Simple LMK running smoothly.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] :
The simple LMK driver implementation with just a single mutex and an atomic makes it simple & elegant to read and understand too. Thank you. Would love to know what was causing the problems in the previous implementation, good lessons to learn?
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Sultanxda:
The system would run out of memory, but Simple LMK would not get invoked. Instead, kswapd would scrounge for pages that it could free nonstop, which would cause the system to stall as there'd be no available memory and nothing was done about it.

Read the commit message to understand how the kswapd portion of Simple LMK works.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Sultanxda:
New build is up with October security patches.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Sultanxda:
New build is up.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Sultanxda:
New build is up with overheating fixed.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Shamestick:
Thanks, all builds have been running great on Oct Security patch for me
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] :
[MENTION=4800121]Sultanxda[/MENTION] Did you find any interesting or useful cherries to pick from the Pixel 3 kernel? I have not spent time reading the change logs yet.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] AZImmortal:
I just installed this kernel and I've noticed that my notification LED doesn't seem to be working now. Is that normal? Is there anything that I need to do to get it working?

Edit: Ok, the LED seems to be working, but the problem seems to be that Light Flow can no longer control it. I've never had this problem in the stock kernel. Is this something that can be fixed?

Edit 2: I was able to get Light Flow working by going into Android's notification settings for Light Flow and enabling "Allow interruptions." I'm not sure why this wasn't a problem before but everything seems to be ok now.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Sultanxda:
New build is up.

Haven't had the time to look at it.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Sultanxda:
New build is up with some Simple LMK fixes.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] AZImmortal:
It had seemed like apps were getting killed far more frequently after I flashed to this kernel. Hopefully this fixes it.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Sultanxda:
New build is up with November security fixes.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] jaggillararla:
Can u add kcal support ?
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] xFirefly93:
Check this.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Lagarde:
Just switched this weekend from Flash kernel to this one, and a bug/issue I've been having got a lot worse. Hoping maybe someone here might have some ideas.

After switching to Sultan:

- Drain with nothing running/connected: 2-3%/hr idle, 11%/hr active (others report having numbers closer to 0-1% and 3-4%)

- Drain with bluetooth connected but nothing playing: 3%/hr idle, 13%/hr active

- Drain with music playing (pandora, google play music, anything at all): 8-9%/hr screen off, 22-26%/hr screen on.

- On flash, with music playing it was: 6%/hr off, 16-18%/hr on...which is still way too high IMHO.

- Amusingly, the phone stays nice and cool despite the HUGE drain.

That seems insanely high. Battery monitor apps show 5% used but actually 30% was drained. If I use GSAM it shows 9% bluetooth, 9% whatever audio app...but there's about 10% missing. I've tried factory resets, fresh factory image reloads, installing no apps other than the music app. Nothing seems to help. This is a 2 month old phone and so I doubt it's a bad battery.

Any ideas?

Edit: Added a screenshot of my battery life being flushed away. Yes, the timeframe is fairly short, but it's consistent with the rest of my tests.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] xFirefly93:
Ping [MENTION=4800121]Sultanxda[/MENTION]
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] chemical1der:
Hi all,

I had the strangest issue with Sultan. When attempting a TWRP backup my progress would get to about 20-30%, TWRP would crash and then the phone would reboot back to the OS. No matter how many times I reflashed Sultan kernel, twrp or even factory reset the phone it would do the same thing. I only solved the issue by flashing another kernel.

I was on the NOV Sultan kernel, rooted with Magisk 17.1, running the latest TWRP and on stock. I saved recovery logs if they would be helpful.

Anyone else encounter this issue?
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Sultanxda:
Known bug. Will be fixed in the next release.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Sultanxda:
Sorry for the late update; I was busy with finals and work. New build is up with December fixes and the random reboots in TWRP fixed.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Sui77:
Can I use this one also for taimen?
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Meowdib:
I think it's the same link:

https://github.com/kerneltoast/andr...load/release/Sultan-kernel-wahoo_20181212.zip

Got this for the 2XL side.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] n1ete:
relock bootloader?

thanks for putting your time into this! ive installed your kernel and so far everything seems perfect.

got short question: Does "passes SafetyNet bootloader unlock check" mean i can relock the bootloader after flashing Sultan kernel?

thanks in advance ;)
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] xFirefly93:
Haha, ehm..

Nope.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Sultanxda:
New build is up. Merry belated new year.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] TheSockGlove:
Plans to work on the p3 or skipping ?
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] anonymous-bot:
Check it out:

https://www.xda-developers.com/sultanxda-custom-kernel-google-pixel-3-pixel-3-xl/
[LG V10 Accessories] MsTeena:
Hi all. I apologize if I am posting in the wrong place. I promise I tried to figure to get it right. :confused:

Here are my questions.

Does anyone have an ideas how I can access the contents of my LG without purchasing a new screen and digitizer? The existing is shattered and unfortunately the phone is swiped locked.

I have an HDMI Adapter that has the right idea but its cable fits Samsung. Will it work if I splice the cable with an end that fits LG?

Thanks! :D
[LG V10 Accessories] -Rye-:
Why not just buy a hdmi Adapter that works for the device ?

(Or maybe some of those multi adapters that have hdmi and usb, so you could add a keyboard ?)
[8525, TyTN, MDA Vario II, JasJam General] Pupunussi:
With something nicer like the dialer from Kaiser or Niki? Niki's dialer works fine except video calls which can't be made or received. Is it possible to fix it somehow?
[8525, TyTN, MDA Vario II, JasJam General] JR_de:
Kaiser Dialer:

http://xdaforums.com/showthread.php?t=322463
[Lenovo P2 Themes, Apps, and Mods] ASP02:
So I have seen a lot of comments about people not able to get Dolby and Viper both running at the same time on their device..

Just thought about making a quick guide for whoever needs it...

*I'm not responsible For any Damage or Bricks*

*Do at your own risk*

Mostly there won't be any problems if you do as directed

1. Download Dolby Atmos for Oreo from here:

https://xdaforums.com/android/software/app-dolby-atmos-axon-7-oreo-port-t3740508/page255

2. Download Viper4Android from here(DONT DOWNLOAD THE XHIFI version) :

https://xdaforums.com/apps/magisk/module-viper4android-fx-2-5-0-5-t3577058

3. Download Audio Modification Library from magisk downloads...(Just search it will pop)

Don't flash just download the zip.

4. Go to magisk>Moduled and select the '+' option and navigate to where I have downloaded Dolby And Flash Dolby Atmos..and then reboot...and check if Dolby is installed(Rebooting here is Mandatory)

5. After reboot check if Dolby is installed..Now go again to magisk and add Viper4Android and flash... carefully input the volume keys as asked...Select latest version 2.5.0.5..and select whichever UI of viper u want (I prefer original)

6. No need of Rebooting .. Similarly add Audio Modification Library and flash ...It should detect Viper as well as Dolby..

7. Now reboot and both viper and Dolby should be up and running...Change presets to suit Ur need..

I DONT HOLD ANY CREDITS FOR THE ABOVE PROVIDED LINKS....THE FULL CREDIT GOES TO THE DEVS..

Tested Only on OREO..

Hit thanks if it helped:laugh:
[Lenovo P2 Themes, Apps, and Mods] killernimo:
Great. Both are working like a charm in my AEX ROM. He personally guided me for installation. Thank you very much.
[Lenovo P2 Themes, Apps, and Mods] nipunsdaddy:
Is it ok if i install Viper before atmos??

I have Viper already installed in my Mi a1. Im too afraid to brick my phone or get stuck at bootloop if i dont "exactly" follow your footsteps..:o:o

Looking forword to yr answers. Thanks a lot...
[Lenovo P2 Themes, Apps, and Mods] parashar_TARUN:
Brother i dont think its a good idea, because his viper and dolby works on magisk, and it might cause issues, just saying.
[Lenovo P2 Themes, Apps, and Mods] abderazakallouch:
will this mod increase call sound volume?
[Lenovo P2 Themes, Apps, and Mods] ASP02:
It cause issues if viper is installed first...hence I recommend using Dolby first

You could uninstall viper and reinstall it using the guide.

Or if it is a magisk module just disable it
[Lenovo P2 Themes, Apps, and Mods] ASP02:
No it's only for phone speaker... headphone..and Bluetooth volume
[Lenovo P2 Themes, Apps, and Mods] nipunsdaddy:
I uninstalled viper first and followed yr guide. It worked!!!

Thanks very much.

i have a few more questions to ask.

1. Both sound mods doesn't seem to be working when i connect USB DAC cable. any solutions??

2. when the mods updates become available, how can i install them? repeat yr. guide from start

or

choose to install the update at will.

Big Thanks for answers.. ;);)
[Lenovo P2 Themes, Apps, and Mods] ASP02:
1. I dont think it works on the micro usb port ..only speaker and headphones...

2. The Dolby mod is at is ...no development...but viper gets updated...so just update through magisk update and install and reboot....if it doesn't work try flashing AML again
[Lenovo P2 Themes, Apps, and Mods] snd1988:
when I try to install dolby atmos in magisk it says this zip is not a magisk module
[Lenovo P2 Themes, Apps, and Mods] ASP02:
Did u download from here..

https://androidfilehost.com/?fid=673956719939820999
[Lenovo P2 Themes, Apps, and Mods] nipunsdaddy:
can i install ainur sauron too? if yes, what's the order? reboot or not reboot after install sauron? thanks for answers.
[Lenovo P2 Themes, Apps, and Mods] ASP02:
U can install it after installing viper and rebooting..but AML should be installed at the end of installing all mods
[Lenovo P2 Themes, Apps, and Mods] chcknsld:
Wow it works! Thanks for this guide. I never knew ViPER could be updated this far. I was stuck at ARISE which was pretty much outdated.
[Lenovo P2 Themes, Apps, and Mods] Ayman ae:
Well this didn't work on stock 7. 0
[Lenovo P2 Themes, Apps, and Mods] yourmine20:
It doesn't work on lineage OS 15.1 treble rom !
[General Questions and Answers] odd1ne:
If you really worry that much just put your phone in airplane mode. I had naptime running in my nexus 6p along with greenify and I don't find it makes that much difference really kinds of gets annoying at times as it blocks syncs so everything you open your phone you get a ton of notifications at once. If you do want the best just use airplane mode will do a better job