yashsingh1/xdaforums huggingface dataset:
[Google Pixel 6 Pro] Jindivikk2:
try here https://xdaforums.com/t/official-to...-seconds-adb-installer-v1-4-3.2588979/page-90

I have two fastboot in my system

in cmd you type fastboot --version

31.0.3-7562133 works for me

eac51f2bb6a8-android doesn't work for me
[Google Pixel 6 Pro] joban727:
Thanks bro,

The one I was trying was 31.0.3-7562133 too, i also tried the other one you linked and still same ****.

It is funny because when I was trying flash the kernel it all flashed. When it wasn't booting I tried flashing it again then this error. So there has to be something else and its probably the phone.
[Google Pixel 6 Pro] Freak07:
found some interesting things while digging around the source.

Posted a twitter thread with my findings so far.

Clicking the link here should take you to the thread on twitter:

https://twitter.com/i/web/status/1458382545788211202
[Google Pixel 6 Pro] Nekromantik:
Yeah I saw a article somewhere while ago that found hints at face unlock in the source.

Maybe it will be a feature in next Android release if they thought its not ready for Android 12.
[Google Pixel 6 Pro] Freak07:
Yeah i think probably based on this:

https://twitter.com/i/web/status/1362550636240392199

The device related source was pushed after official launch. :)
[Google Pixel 6 Pro] Nekromantik:
Yeah it was that :)

Wonder how they were planning to use ML for face unlock. The higher security face unlock on Iphones use IR camera and other sensors.
[Google Pixel 6 Pro] scott.hart.bti:
"My device ran fine at 2024mhz for little cluster and 2850mhz for the prime cluster.

Default is 1803mhz and 2802mhz for little/prime

Screenshots from scaling_available_frequencies for cpu0 and cpu6:"

that is interesting... Any idea why they would intentionally undercut the available performance? Only thing I could think of is energy/battery, but those levels aren't really that extreme, wouldn't think it'd make that much of a difference.

any chance you could make a test build available using those levels? Would like to do some testing on my side.
[Google Pixel 6 Pro] Freak07:
thanks for the link, that might come in handy at a later stage if the code is still somewhat the same.

and thanks for the work on exkm. just received the update that adds support for google tensor.

Compiling in the aosp environment works in the end for me. I think this is the time for me to say goodbye to a monolithic kernel build.

But I see the concerns you pointed out. I ordered it with not much expectations as I ended up sending back the pixel 5 last year. If one compares performance/money most sd888 devices win I guess.

If it´s just not for you it´s a reasonable decision.

Thanks for maintaining EXKM and for the teaser of the "flash center". :)

thanks for the kind words. :)

At one point I plan to update to a more recent clang prebuilt from google yes. Just like on my other kernels. :)

Right now the focus is primarily on stability and getting familiar with the aosp build environment, the new GKI setup and basically everything else since it´s no longer qcom based and new territory. :)

thanks for the kind words :) I think you might be the first one mentioning the intro, happy to hear somebody is happy about that :)
[Google Pixel 6 Pro] subtha:
I am having the exact same issue during the installation process. After flashing everything and trying to reboot to system, phone enters a boot loop where it goes between bootloader and the Google boot logo infinitely.

Couldn't do anything to fix it other than reflaahing everything to stock.
[Google Pixel 6 Pro] Freak07:
were you rooted before (flashed vbmeta with disable verity and verification flag) after unlocking bootloader?

that´s the only reason other than outdated platform tools I can think of.
[Google Pixel 6 Pro] mcheng89:
Donated!

Just a quick question if you dont mind. I tried to build the kernel. Usually on your other kernels, I would just hijack the build_kirisakura.sh script.

On this one, I tried following the google steps: https://source.android.com/setup/build/building-kernels

repo init -u https://android.googlesource.com/kernel/manifest -b android-gs-raviole-5.10-android12-d1

repo sync

then I pulled your kernel into private/gs-google/

and ran build/build.sh

Did I mess anything up? I did get a boot.img, dtbo.img, vendor_dlkm.img but flashing them causes a boot error.
[Google Pixel 6 Pro] subtha:
No, I've never rooted my phone before. Platform tools were (at the time of installation) downloaded on Google's servers right before installation, so I think that should be fine as well.
[Google Pixel 6 Pro] Freak07:
wow, thank you very much for the donation. It´s greatly appreciated.

yeah you should be able to just run ./build_slider.sh in the root of the repo after fetching and merging my kernel on top of what´s in private/gs-google/.

I suppose you have been rooted before and flashed vbmeta with the disable verity and verification flag during the rooting process?
[Google Pixel 6 Pro] Freak07:
https://xdaforums.com/t/firmware-is-out-get-your-root-on.4353565/

to flash and boot any modified boot.img that´s not stock you need to do the vbmeta flash, like described in the above link for example.

This will wipe the device.
[Google Pixel 6 Pro] Ghisy:
Oh no, I was looking forward to your kernel! :(

@Freak07, do you think you could add KCAL to your kernel? This is mostly why I'm using @flar2's ElementalX! Thanks :)
[Google Pixel 6 Pro] Freak07:
use with caution. this vendor_boot will break developer options as it´s a userdebug build due to selinux issue on userdebug builds.
[Google Pixel 6 Pro] scott.hart.bti:
Nice. Thank you sir.
[Google Pixel 6 Pro] subtha:
Ah I get it now, genuine apologies for missing that. As I did not initially intend to root the phone, I hadn't realized I'd need to do this at all.

Thank you for pointing me in the right direction! Time to play way for the night then. Have a great day and again, thank you for the quick help!
[Google Pixel 6 Pro] mcheng89:
That worked! Thanks so much!
[Google Pixel 6 Pro] ne0ns4l4m4nder:
confirming new update also works on pixel 6 not pro, i will continue to supply updates regarding kernels and mods. also please PM me the link for the new telegram for development please.
[Google Pixel 6 Pro] Texan1:
Is it possible to create a zip that can be flashed in EXKM/FKM that returns the kernel back to stock? If so, is there a clever cookie here that could create one?
[Google Pixel 6 Pro] Shuyin10:
Is it possible to underclock ? I can with stock kernel but the change dont stay and always return to stock frequencies

edit : ok, i have flash the kernel, i can underclock cluster 2 to 1663mhz but i cant underclock Cluster 3...if i reboot, go back to stock frequencies for cluster 3
[Google Pixel 6 Pro] Freak07:
I'd prefer if people just use fastboot and the instructions provided in the FAQ for this. You shouldn't flash anything on an A/B device without a PC to recover nearby anyway, as in case of a bootloop a PC is needed.

Yes it's possible. However not via the kernel managers as the powerhal dynamically overwrites the maxfreqs for each cluster.

Use the CleanSlate config app and you'll have three different levels to restrict the max freqs.

You can find an overview of the different levels here starting on line 48, level 1,2,3: https://github.com/freak07/Kirisaku...1b7246986d5a642/drivers/cpufreq/cpufreq.c#L48
[Google Pixel 6 Pro] Shuyin10:
Ohhh thanks a lot ! I just tried and it works perfectly!But is it possible to choose ourselves the frequencies that we want like Battery Saver ?

Thanks !
[Google Pixel 6 Pro] Zach Alt:
So if I want to get my phone back to stock can I use the android flash tool? Or do I need to flash each thing separately?
[Google Pixel 6 Pro] Freak07:
https://xdaforums.com/t/kernel-15-0...pixel-6-pro-aka-raviole.4358435/post-85905451

(y)
[Google Pixel 6 Pro] Zach Alt:
Yes, all that says is to extract the images. I have never gone back to stock from a custom kernel so I am trying to clarify.

Do I extract those and flash them one by one in fastboot?
[Google Pixel 6 Pro] Freak07:
The commands how to flash those images can be found in post #4 as mentioned there. 3 of them in fastboot, one in fastbootd. It's all explained there.:)
[Google Pixel 6 Pro] Namelesswonder:
If the CleanSlate Companion and CleanSlate Config aren't installed then you end up with the kernel continually checking for them every second, causing the phone to not enter deep sleep. It'll fail to open uci_user.cfg and uci_sys.cfg, so it will sit there repeatedly trying.

01-31 09:47:06.389 29812 29812 E : [uci]File Open Error:/storage/emulated/0/Android/data/org.cleanslate.csconfig/cache/uci_user.cfg -2
01-31 09:47:06.389 29812 29812 I : parse_uci_cfg_file [uci] cannot read file /storage/emulated/0/Android/data/org.cleanslate.csconfig/cache/uci_user.cfg
01-31 09:47:06.389 29812 29812 I : set_kernel_permissive --- setting to: 0, kp usage count: 0
01-31 09:47:06.389 29812 29812 I : set_kernel_permissive --- setting to: 1, kp usage count: 1
01-31 09:47:06.389 29812 29812 I : set_kernel_permissive --- setting to: 0, kp usage count: 0
01-31 09:47:06.389 29812 29812 I : parse_work_func uci reschedule till read first
01-31 09:47:07.604 29812 29812 I : set_kernel_permissive --- setting to: 1, kp usage count: 1
01-31 09:47:07.605 29812 29812 I : set_kernel_permissive --- setting to: 0, kp usage count: 0
01-31 09:47:07.605 29812 29812 I : set_kernel_permissive --- setting to: 1, kp usage count: 1
01-31 09:47:07.605 29812 29812 I : set_kernel_permissive --- setting to: 0, kp usage count: 0
01-31 09:47:07.605 29812 29812 I : parse_work_func uci reschedule till read first
01-31 09:47:08.821 29812 29812 I : set_kernel_permissive --- setting to: 1, kp usage count: 1
01-31 09:47:08.822 29812 29812 I : set_kernel_permissive --- setting to: 0, kp usage count: 0
01-31 09:47:08.822 29812 29812 I : set_kernel_permissive --- setting to: 1, kp usage count: 1
01-31 09:47:08.822 29812 29812 I : parse_uci_cfg_file [uci] cannot read file /storage/emulated/0/Android/data/org.cleanslate.csservice/cache/uci_sys.cfg
01-31 09:47:08.822 29812 29812 I : set_kernel_permissive --- setting to: 0, kp usage count: 0
01-31 09:47:08.822 29812 29812 I : parse_work_func uci reschedule till read first
01-31 09:47:10.036 29812 29812 I : set_kernel_permissive --- setting to: 1, kp usage count: 1
01-31 09:47:10.037 29812 29812 I : set_kernel_permissive --- setting to: 0, kp usage count: 0
01-31 09:47:10.037 29812 29812 I : set_kernel_permissive --- setting to: 1, kp usage count: 1
01-31 09:47:10.037 29812 29812 I : set_kernel_permissive --- setting to: 0, kp usage count: 0
01-31 09:47:10.037 29812 29812 I : parse_work_func uci reschedule till read first
01-31 09:47:11.252 29812 29812 I : set_kernel_permissive --- setting to: 1, kp usage count: 1
01-31 09:47:11.253 29812 29812 I : set_kernel_permissive --- setting to: 0, kp usage count: 0
01-31 09:47:11.253 29812 29812 I : set_kernel_permissive --- setting to: 1, kp usage count: 1
01-31 09:47:11.253 29812 29812 I : set_kernel_permissive --- setting to: 0, kp usage count: 0
01-31 09:47:11.253 29812 29812 I : parse_work_func uci reschedule till read first
[Google Pixel 6 Pro] Ghisy:
Wait, does that mean we HAVE TO install the CleanSlate app then?
[Google Pixel 6 Pro] Namelesswonder:
Install both the CleanSlate Config and Companion (use the free downloads from the thread), open them once, disable things like notification camera flash or vibration boost if you don't want them, and save the configs, then use something like SD Maid's App Control to delete the app but keep data. With that way it'll keep the config files.

There might be a way to do the same with ADB but I haven't checked yet.
[Google Pixel 6 Pro] Freak07:
Thanks for the report and the log. I forwarded it to @tbalden as well. It's being checked.
[Google Pixel 6 Pro] Zach Alt:
How do I delete the app without deleting the data with SD Maid?
[Google Pixel 6 Pro] Namelesswonder:
SD Maid needs root to do it. Once it has root go to AppControl, select the app, tap "Delete the app, but keeps the data."

This essentially installs an empty app with the same package name so the data files aren't deleted.
[Google Pixel 6 Pro] Zach Alt:
Thanks for the quick reply, I have root, but I must be or have done something wrong because the only option I have is delete (uninstalls the app and deletes any leftovers) not delete and keep data.

Reinstalled SD Maid and the option is there. Huh.

Nope, got more options but it's not there. Only reset which deletes the data and keeps the app and Delete and it deletes leftovers.
[Google Pixel 6 Pro] Namelesswonder:
Make sure SD Maid has access in Magisk under Superuser.

Then make sure SD Maid is setup, Settings > General Settings > Advanced Settings > Setup.

Give it storage access to /storage/emulated/0 and scoped storage permission, give it access to public storage in /storage/emulated/0/Android/data, and give it usage statistics permission. Disable the accessibility service for SD Maid as it's not required if you have root.
[Google Pixel 6 Pro] Zach Alt:
Had to toggle on experimental features to get the option to show. Hopefully this helps someone else.
[Google Pixel 6 Pro] Freak07:
I just deinstalled the cleanslate apps and made sure the files are gone from my device. After rebooting I could see the same as you in the logs, but my device continues to enter deep sleep just fine.

There´s no need for that workaround above as the lines in the log really won´t hurt much at the moment, but it´s also being looked into reducing the amount and times the kernel looks for the files in case they´re not there. Might be because of time/unit due to the bump to 5.10 kernel. Thanks for spotting it and the report.
[Google Pixel 6 Pro] Namelesswonder:
That's good that it is being looked into.

It's still affecting deep sleep, I noticed something was wrong this morning when the total time for deep sleep was a quite a bit lower than the amount of time between then and the last time I used my phone.

I just performed a test of reboot > wait 5 minutes > clear frequency stats > 5 minutes with the phone face down > check frequency stats.

With the config files accessible to the kernel the phone was in deep sleep for 3m45s accounting for 74% of the time spent in deep sleep.

Without the config files accessible to the kernel the phone was in deep sleep for 2m10s accounting for 43% of the time spent in deep sleep.

So I guess my claim of no deep sleep was a bit off :p.

But, it does negatively impact how long the phone can stay in deep sleep.
[Google Pixel 6 Pro] Freak07:
Something else might going on on your end. I did the same thing and my device spent around 90% in deep sleep over 4-5 minutes without the apps and files. Repeated the same thing three times and always got the same result. Made sure the logs you shared where also being present during those three runs.
[Google Pixel 6 Pro] gnabtib8:
It's official I can't use a phone now without these developers. @Freak07 @tbalden
[Google Pixel 6 Pro] mailistman:
hello,

i am using P6 oriole rooted on january f/w with magisk canary 23016. before trying to flash this kernel Oriole-1.5.0

following post #4, i have question :

1. from the guide on post #4, point 2a :

"2a. Don´t forget to flash the provided boot.img in magisk manager prior to flashing it via fastboot."

is there any boot.img file included in the download zip ? attached what i get when i unzipped the file. there is a "image.lz4" file there. is that the file that i have to rename ?

2. if the answer for above is no, then i assume i will need to use my patched boot.img that i am currently on, won't i ?

i have tried to search in this thread to no avail. sorry if this had been asked in the past.
[Google Pixel 6 Pro] Freak07:
There's actually a typo/inaccuracy, i corrected it already. Thanks for spotting it.

"2a. Don´t forget to flash patch the provided boot.img in magisk manager prior to flashing it via fastboot."

On the other question, there's a folder called manual installation you'll find in the download link which provides you with the boot.img for oriole you have to patch if you want to run the kernel.

No don't use the boot.img you're currently on as that will contain whatever kernel you're currently running, not mine.
[Google Pixel 6 Pro] mailistman:
hi,

thanks for quick reply !!

i got the missing boot.img from your download links and also get the update powerhints module p6v5,

after patch the .img and flashed it accordingly, i got boot error - data corrupted.

what did i do wrong here ? do i really have to factory reset ? see attached.

thank you !
[Google Pixel 6 Pro] Freak07:
I don´t know exactly to be fair. Your fastboot tools might be outdated. Which magisk version did you use to patch the boot.img? you should use latest canary/stable. Other than that what you did should just work.

This seems a lot like issues other people seem to run into that are in the end verity related. Unfortunately I don´t know what´s causing this behaviour. I hope flashing back the stock images for oriole will get you back up and running. You can take them from the oriole factory image.

It seems everybody that ran into this issue needed to disable the vbmeta flags (which needs wiping) to be able to install a custom kernel, while others are just fine installing a kernel without the vbmeta disabled running the latest magisk.
[Google Pixel 6 Pro] mailistman:
thanks for replying again !

i got it back running agian, nothing lost, after reflashing those files with mine. i am using magisk canary 23016, and my fastboot is from platform-tools_r31.0.3-windows.zip version. is that too OG ? i rooted the phone after i updated to january f/w, which is the latest update.

can you please elaborate about the "disable vbmeta flags" ?
[Google Pixel 6 Pro] Freak07:
magisk 23016 should be good as that was the magisk release that made disabling the vbmeta flags unnecessary. There´s a more recent version, however I don´t think it will change anything with the problem you´re facing.

Something trips verity when you flash the images I provided and I don´t know why that would be the case. That´s what makes you see the corrupt message.

platform tools seem to not be outdated as well.

disable the vbmeta flags by using this command: (this will wipe data if done for the first time!) :

Spoiler content hidden.
[Google Pixel 6 Pro] mailistman:
i will try again later & will report back.

thank you so much for your help !
[Google Pixel 6 Pro] mailistman:
update :

i redid these flashing steps according to post #4 plus additional vbmeta disable flags (using current factory vbmeta i am on) before flashing on fastboot d state and still getting data corrupted message on booting 🤦‍♂️🤦‍♂️.

perhaps the sequence i flashed vbmeta disable flags was wrong ?

if i factory reset, will the new kernel sticks ? i don't have any data yet stored on the pone.

thank you,
[Google Pixel 6 Pro] Freak07:
I don´t know unfortunately. Another user shared what presumably worked to get rid of this issue:

https://xdaforums.com/t/kernel-15-0...pixel-6-pro-aka-raviole.4358435/post-86284729

I guess it´s probably best to either flash a factory image or use the android flash tool to start fresh.
[Google Pixel 6 Pro] mailistman:
okay then, whatever will make it work. thanks.
[Google Pixel 6 Pro] crypticc:
Fyi not with this kenel but just flashing rooted stock... and until the updated magisk came out that didn't need disable Verity I constantly got this "your data maybe corrupt". Flashing stock boot always got me back again though and then redoing using updated Magisk worked.

Which Magisk version are you using? I saw you mentioned 23016.. isn't that just the first one that could do Zygisk?

I'm on 24001 which was the Canary that synced with the 24000 beta.
[Google Pixel 6 Pro] RetroTech07:
Deleted
[Google Pixel 6 Pro] mailistman:
i am still using 23016. at the moment i am trying calyxOS with rooted. it has a stable version for pixel 6 already based on january pixel's update. so far so good. i am waiting for1 or 2 battery charge cycles to see how much drain i get based on my usage. Mobile Network standby on stock android 12, drains my battery like crazy. even on airplane mode, i lose like close to 1% every hour.
[Google Pixel 6 Pro] crypticc:
Is a 100hr phone not enough? 😇
[Google Pixel 6 Pro] mailistman:
no Sir... what best to do with the phone in 100hr airplane mode and screen is off ?
[Google Pixel 6 Pro] Dragon Kumera:
Does this allow modification of system when root? As in changing bootanimation.
[Google Pixel 6 Pro] free...:
The link seems to lead to nowhere. Is it this one? https://xdaforums.com/t/unlocking-t...central-repository-of-relevant-links.4352027/
[Google Pixel 6 Pro] jcp2:
@Freak07 What are the recommended tweaks/ settings to use (if any) to maximize battery life without too much of a performance loss?. I'm new to custom kernels. Any screenshots are greatly appreciated. TIA :)

John
[Google Pixel 6 Pro] Freak07:
No this is unrelated to the kernel. With dynamic partitions and them being R/O, magisk modules are the way to go to overlay the files.

yes I think that was it. I´ll correct the link.

Thanks for spotting it.

Use the battery saver in the CleanSlate config app to restrict the max cpufreqs to your liking. You can allow for the powerhal to boost over those limits during interaction with the phone or set a completely hard limit there.

The max cpufreqs the devices is allowed during screen off are restricted by flashing the kernel.zip already.

Those two will probably save the most of any settings you can alter.

I don´t think other changes you can toggle via EXKM/FKM will have much of an impact to battery life to be fair.

Generally I´m not a fan of kernels claiming to improve battery life, that´s why I don´t mention this in the first post. Other factors contribute a way bigger factor to this.

I´d recommend to check the OP for features and a summary of what this kernel project is about.

Usage patterns, ambient brightness, display brightness, network coverage (both wifi and mobile data), the amount of apps you have installed, the apps you have installed (a social messenger or apps constantly requesting location are likely to contribute to a higher power consumption than a calculator app) have a way bigger impact on this.
[Google Pixel 6 Pro] IvanPTachev:
I know this probably has nothing to do with the kernel, but hope someone can help. I wanted to give a try to the EXKM powersaving mode and see how the phone and battery perform. I left the phone in it for about 30 mins and when I tried to unlock it, the phone kept crashing. Super slow to accept my pin and once it does, the lock screen slides up, screen gets darker and just gets unresponsive. The phone restarts and the same thing happens again. Is it an EXKM bug or something else?
[Google Pixel 6 Pro] Freak07:
Most likely something else. The powersaver from EXKM shouldn´t cause anything like this, but it also doesn´t work properly as the powerhal will still override the setting from the EXKM powersaver.

Use the batterysaver in CleanSlate config app instead. I explained this also here:

https://xdaforums.com/t/kernel-15-0...pixel-6-pro-aka-raviole.4358435/post-86348089
[Google Pixel 6 Pro] Zach Alt:
So if I flash the new update with this kernel on it will work I just won't have the kernel anymore until I reflash after it is updated?
[Google Pixel 6 Pro] Freak07:
correct :) after you flashed the February update it´s also better to wait until I update the kernel with the new source if you don´t want to get any surprises. Google usually pushes the updated source a few hours after the factory images are released and it takes me a while to merge the new code and build the update.
[Google Pixel 6 Pro] Freak07:
With the above being said, kernel build date of stock February kernel was at mid december.

I was able to boot the kernel without February source merged. So if you´re feeling adventurous and don´t want to miss sweep to sleep or another feature for a night, the current release should still boot fine. ;)

Google will probably push the source while I´m asleep,so I try to update as fast as possible once the source is pushed tonight/tomorrow. :)