[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] manuhuelva:
Hi guys.

Ive fixed the xd-kernel-1.7-stock to be able to work on any stock Pie version!! with fully working spectrum profiles and gaming profile fixed too.

Forgive flash moded boot.img for specific stock firmwares versions, these are outdated, last was for 20c firmware stock

The reason to pick 1.7 over 2.02 (in pie) is 1.7 have all the content post on 1st post by OP, but 2.0.2 is originally created for run on android 10... and have less features as custom kernel In pie.

2.0.2 does not reach the 710mhz in gpu and have the gaming profile bugged at 160mhz as maximun gpu-speed.

Now u will have all promised in OP with working spectrum and profiles with good ones settings (i benchmarked all of them in 3 days xD)

I recomend u:

Balanced for everyday use

Performance for selective task u need, like benchmarks, file converting, video editing or like

Battery for saving, keeping in mind that will downgrade the cpu/gpu alot

Gaming for unlock all our SD845 power on game-Apps (for synthetic test, benchmarks or like use "Performance" profile, due cpu is all time full speed and gpu goes to 780mhz...

enought for do these task. For gaming cpu is not needed at full speed all the time, but yes a gpu boost).

steps:

1-Open ur bootloader

2-root and install magisk

3-flash xD-Kernel 1.7-Stock from drive folder (other stock folder) in TWRP and reboot to system https://drive.google.com/file/d/1MEFt7Ma2DOw8h7d_HjfyLN64Hnqz2bOo/view?usp=sharing credits to [MENTION=8767030]Smart Ru[/MENTION]

4a-poweroff

4b-go Qfil and extract ur boot_a or boot_b partition

5-extract Android image kitchen folder and put ur boot.img inside. https://xdaforums.com/attachment.php?attachmentid=5024495&d=1590190159 credits to [MENTION=4544860]osm0sis[/MENTION]

6-run unpack script

7-paste the files i provided inside ramdisk folder and replace it https://drive.google.com/file/d/1HTT-0nm-y6tib_T1VQrws0EMreWia_Us/view?usp=sharing

8-go back and run repack script

9-pick the new image file and flash it on boot_a and boot_b by fastboot or qfil

10-dont care about error message at startup of android, it appears anyways with xd-kernel-1.7-stock without modifications on every boot. It appears due to kernel kills dummy lg process from startup (2.0.2-custom doesnot)

11-download spectrum.

12-done.

Ive edited the profiles too for be more accurate to profile name:

-Balanced:

Governor "blu_schedutil" (is a light schedutil with powersaving on sleep mode, perfect for everyday use)

I/O "cfq" (most balanced I/O for everyday use)

Max/min Cpu.freq = 2.8ghz/800mhz (gold) 1.7ghz/300mhz (silver)

Max/min gpu.freq = 710mhz/160mhz (710mhz is stock top speed)

-Performance:

Governor "Performance" (cpu will run at full speed all the time, just pick it only for run benchmarks or for do selective heavy task u need,

will consume battery fast

)

I/O "deadline" (best for gaming-benchmarks)

Max/min Cpu.freq = 2.8ghz/1.05ghz (gold) 1.7ghz/748mhz (silver)

Max/min gpu.freq = 780mhz/160mhz

-Battery:

Governor "Powersave" (cpu will run at low speed most time, a really battery saving profile, u will have a little ui lag, but it gives u true promised battery saving)

I/O "SioPlus" (best battery saving I/O available in kernel)

Max/min Cpu.freq = 1.68ghz/825mhz (gold) 1.51ghz/300mhz (silver)

Max/min gpu.freq = 160mhz/160mhz

-Gaming:

Governor "Pixutil" (A port of official Pixel 3 Schedutil governor, awesome performance without stay full 2.8ghz all time,

perfect for gaming

^^)

I/O "deadline" (best for gaming-benchmarks)

Max/min Cpu.freq = 2.8ghz/1.05ghz (gold) 1.7ghz/300mhz (silver)

Max/min gpu.freq = 825mhz/160mhz (highest gpu freq profile for more fps)