yashsingh1/xdaforums huggingface dataset:
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] Oppoxda:
I have this issue with video recording where the recorded file cannot be played at all.

A reboot fixes the recording issue but it recurs.

I'm on the latest Orion kernel on top of Stock rom H930. Twrp 3.2.3. I have magisk installed too with Anxious V30 module fyi.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] zacharias.maladroit:
please post more details:

what toolchain, etc. ?

how exactly are you building the kernel ?

my build command for that e.g. was:

export USE_CCACHE=1

export CACHE_DIR=~/.ccache

export ARCH=arm64
export CROSS_COMPILE=aarch64-linux-gnu-
export PATH=~/android/toolchains/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/bin/:$PATH

fakeroot make lineageos_h930_defconfig

fakeroot make -j8

can you post logcat or dmesg output ?

you tried different apps ? what apps can't play it ?

what file type ? what cam ? LG's cam ?

what ROM version ?
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] tw9:
I have two noob questions. If the answer to first is no, ignore the second one, please.

1. Will DriveDroid (app that allows mounting and booting a computer from an ISO image in phone) work with this kernel?

2. What is the chance that it will work with no problem with 20d ROM?

Thanks.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] WindowsPhone8.1User:
Probably

1. A previous post stated that there is no drivedroid support since the kernel is based on 4.4, and the cd rom emulation stuff needed to support it is gone, don't know if that means you can't fork this kernel and add it yourself (which is what I'm planning to do when I start to understand how to do it)

2. It says so in the main page that marduk should work from 20a till 20f with the vibration bug, probably same with Orion (which only has problems with 22j afaik)
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] zacharias.maladroit:
orion_II_WIP3_4-5-redux is now available on GDrive and the Download section,

orion kernels - as usual - are EAS kernels with linux-stable upstream fixes (currently at 4.4.176 and CAF / security fixes, feature and performance/improvement backports)

source branch is at:

orion_II_WIP3_4-5-red

AnyKernel3 installer, orion_II_WIP3_4-5-redux , LGstock/AOSP , H930 (TWRP zip) , gcc 8.3 (g8392c5ca)

8392c5ca equals the hash of the commit it was built on

checksums:

md5sum boot_orion_II_WIP3_4-5-redux_los20190422_H930.img

831acd68ba0b90a8b8c4b6fd20012307 boot_orion_II_WIP3_4-5-redux_los20190422_H930.img

md5sum AnyKernel3_orion_II_WIP3_4-5-redux_LGstock_AOSP_H930.zip

8d0147eb0533f9f709d845d7a1b91e43 AnyKernel3_orion_II_WIP3_4-5-redux_LGstock_AOSP_H930.zip
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] zacharias.maladroit:
you can't really improve the refresh rate - well you can - but:

you'd need to overclock the panel

increase voltage (to prevent ghosting effects)

in the worst case you'd damage the panel, have instability, breakage of the panel etc.

in the ideal case it'd work but lower the lifetime of the panel somehow

https://www.testufo.com/ghosting

What you're probably striving for is smoothness ?

you'd want to lower latency in all subsystems to touch input:

more quicker cpu frequency switching

moving from little to big clusters

higher priority workqueues / kthreads

higher priority of IRQs

reduce buffering (similar to in games, reduce the pipeline so that the processed data in e.g. GPU is more immediately shown)

have a refresh rate of 66 or 67 fps (that's the sweet spot according to e.g. experiments from Overwatch equalling almost latency of optimized 144 Hz panels)

faster wakeup from low powersaving modes

prioritization of input / top-app related apps

long enough boosting (2000-3300 ms) or a consistent boosting of frames with an efficient frequency (performance & smoothness vs. battery consumption)

...
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] zacharias.maladroit:
++

I've yet to see / find an DriveDroid implementation for 4.4 based kernels (or are there alternatives ? - I'm still waiting on input)

marduk has 20a-to-20f changes, indeed that makes it (somewhat) future proof for newer firmwares since LG *still* hasn't uploaded a newer source than 20f (20h is 20a ironically)

So:

marduk might work also on newer (LG Stock) ROM versions, it works on all AOSP based ROMs (really depends on how the ROM is built and what tree state / drivers it uses)

orion_II_WIP3_4-5-redux might work on all ROMs - YMMV (your mileage may vary), at least in can flashed via AnyKernel3 (thanks to JohnFawkes for the script, AnyKernel3 !)

orion e.g. works fine on US998 devices Stock ROMs which previously had issues due to differing ramdisks from H930,

but AnyKernel extracts the ramdisk directly and re-arranges it with the new kernel on the device (flash via TWRP).

Thus the issue isn't - as I had assumed - the config and device differences, it's rather the different ramdisk that plays the biggest role

H931/H933/H932 might suffer from additional hardships - in the form of boot issues via differing drivers/scsi/sd.c driver
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] BROKEN1981:
Hey man, I remember your kernel for the V20 that fixed image retention.

On my V30, on dark live wallpaper ( starry night), I see "colored" vertical lines in the middle of the screen. Will your kernel fix this? I'm on stock ROM.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] BROKEN1981:
Not sure if it can be seen in the screenshot.

It's also noticeable in games.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] YakumoPANTS:
thank you for your reply

I found that either marduk or orion has such a problem:

The upper limit frequency of the CPU cannot be specified manually, and it is maintained at around 1700-2000mhz for a long time, even in running points or baking machines - in fact, orion will rise to a higher frequency when needed, but marduk will not

I tried to specify max freq in the fine-tuning and it didn't work.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] Miku_Claudiu21:
noob here. i'm running stock firmware with stock kernel, but i'm running 21w as 22j screws my battery life. is there any advantage in trying a custom kernel, and if so, which one is the best for both battery and performance in my case? i've noticed that stock unmodified kernel is strangely optimized, like, even in games like geometry dash it kind of stutters, which is strange. the thing is, if i apply lkt this goes away, but even on battery mode, it drains my battery much faster, meaning that something's conflicting. but still, this is proof that the stock kernel is not using the phone's full capabilities, as it's much faster with the tweaks, especially in games, making pubg run from 60-45 unconsistent fps to almost a constant 60. any help apreciated!

edit: my device is h930 open
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] Yamari17:
Wow, you really know what to do to make this phone even smoother than a pixel 3.

Have you ever done a kernel with that? Smoothness-oriented? I wanna try it :P

If not, can we do small tweaks to the orion kernel with an app such as kernel auditor? I find your kernel very good on battery life and also is overall smooth, but sometimes it struggles with scrolling in some apps, and sometimes is not as responsive as i would like.

Many thanks in advance!!
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] conbak49:
maddangerous

I'm on the same setup as you I think - H932 on stock 20s. What has been your experience with the kernel you flashed? Is battery life any better/worse? Any difference in performance?

Thanks
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] SalFire:
Great kernel, I have been using it the past few days with solid stability and battery life. The only thing missing is Wireless Charging. Is there a limitation to that?
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] KittySparkles:
Has anyone tried any of the updated kernels on vs996?
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] elhennig:
Wireless charging works for me with AnyKernel3_orion_II_WIP3_4-5-redux_LGstock_AOSP_H930.zip. I am using LR 10.0.9
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] SalFire:
Not working for me with this kernel on Havoc...might be a ROM issue
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] maddangerous:
Well, what I can tell you is that performance definitely felt better. I started off with AnyKernel2_orion_II_WIP3_4-7_t2_LGstock_AOSP_H930, and I've been on AnyKernel3_orion_II_WIP3_4-5-redux_LGstock_AOSP_H930.zip for about a week now. I do think battery life went down, but I'm pretty sure that was something of my own doing and not the kernel, but I honestly can't be certain.

TL;DR - Performance boost yes, battery life unsure.

If you want to wait like 4-5 days, I'm gonna reflash my phone with the stock debloated 20s ROM and reflash one of the kernels tonight, and test for a few days, and I can let you know how that pans out.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] conbak49:
[MENTION=6466312]maddangerous[/MENTION]

Thanks for the report. I'll be interested to hear your results. I tried AOKP with the Orion kernel and went back to stock debloated 20s because the battery drained so fast on AOKP. I'm not sure why (probably something I did wrong), but stock has been pretty solid so I'd only want to swap kernels if it's an improvement. Thanks for being a tester!
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] maddangerous:
Yeah no problem.

Have you tried any other ROMS? I've been thinking about it, might be able to combine this kernel with another ROM for a nice boost was my thought.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] tech_infinity:
Wireless charging works on every rom and kernel it just doesn't show that it's charging. Observe if battery is increasing after it's connected and the wireless charger itself shows that it's charging, just the phone doesn't.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] SalFire:
Right on point. There's no notification for some reason with the kernel, but it works nonetheless.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] conbak49:
I've only tried AOKP on this phone and it took me a long time to convince myself to try it. I've tried a lot of ROMs with many different phones in the past and it seems like there are always problems with custom ROMs that eventually make me return to stock. Stock usually seems more stable. I've gotten to the point where I'm happiest with rooted stock and mods that can be made with xposed and/or Magisk. In the past using a modded kernel with stock wasn't common. I'm willing to give that a go if I can keep or improve on stock stability. Sorry I don't have broader experience with ROMing this phone to share.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] lưu zz:
H933 can't flash ????
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] lưu zz:
How to set this one for max performance? Help me. Anykernel3-GPU set
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] itachilinux:
downgrade TWRP to 3.2.3-7
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] zacharias.maladroit:
New

Ceres (HMP stock base + 20a-to-20f updates + CAF updates + my/additional stuff) [stable]

available in the google drive after some long internal testing

https://drive.google.com/drive/folders/1xL5gEiG-fjzTuSGM_kUDsrOKy-jTtGr1

Installation via AnyKernel3 (thanks JohnFawkes !)

variants available are the

initial: ceres_I.1_4 (g737bfad4)

latest: ceres_I.1_4_8_3-g8942b255 [from today !]

Changelog file with the list of features, changes in google drive
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] conbak49:
Can a kernel be dirty flashed over an existing ROM? I have a rooted H932 running stock debloated 20s.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] cascabel:
Yeah. I always wipe cache and dalvik after, too. As long as it's compatible with the rom and variant, it's fine. Also may want selinux to go permissive if you're on aosp (i think LOS is enforcing but not sure. If you go emforcing and it boot loops, try permissive, but make a backup first).
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] conbak49:
I appreciate the reply and confirm it's accuracy. Thanks!
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] elhennig:
I don't wipe cache and dalvik for the kernel. And o far I never had problems with that. Cleaning Dalvik is usually needed when you chnage the runtime environment during an update of the ROM itself, the kernel is only the operating base below and does not affect the app layer.

Selinux can be set to enforcing on Resurrection Remix and Liquid Remix, too. I guess this could be true for all LOS based ROMs.

I prefer the orion based kernel as it provides schedutil as CPU governor and ZEN als I/O scheduler. For me this gives perfect battery time without being too laggy on Liquid Remix 10.0.9
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] cascabel:
Not always, at least in my experience. There have beem devices that get bugs (ie: wifi won't turn on) when you don't wipe dalvik and/or cache after flashing a new kernel. Can't remember which ones, but it was 2 of my sony devices (one is xperia w8). No idea why.

LR uses old DU tree, iirc. Bootleggers, Havoc, Superior, and other aosp ROMs bootloop on enforcing. RR and LR are maintained by the same dev, so that may explain it. You'll have to ask the dev for that.

Orion 3.4.X is great. EAS is nice. Unfortunately, it's not optimized for our device so we can't make the most of it. Orion (besides 3.2) also doesn't have good deep sleep. It hovers at 60%. 70 if you're lucky.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] elhennig:
LR 10 works with enforcing selinux.

According to BBS I do have 81% deep sleep (72% according to about menu) with the latest orion build from this thread...
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] cascabel:
Never questioned that. I don't use RR or LR so i wouldn't know. Try other aosp ROMs on enforcing. Also, is DAC working on latest LR?

Ah. The redux one? Yeah. That one is pretty stable. Ceres still has the best deep sleep for me, though.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] elhennig:
I am not sure as I am using the legacy version of Viper4Android and did not have the time to work on alternatives.

Yes, it is the redux version.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] cascabel:
Vioer is great. Used to always have it on my devices. ? But we're way off topic now. :silly:

Redux is great. Tbh, I'm torn between Ceres latest and Redux. But i miss Zram so I'm on Ceres latest. No bugs so far. Although not as battery-efficient as Orion 3.4.x.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] nayte1993:
Would this work on stock debloated (h932) just curious if anyone has tried or knows. I know Orion does.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] TPMJB:
Ceres kernel seems to work great! Keep up the good work!

No issues I've seen so far. Orion used to give me a weird headphone jack bug.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] Jilano34:
Latest Ceres works fine for me, for a couple of days now. First time I tried a custom kernel on my V30+ (HK with EU Global 22j stock ROM), thank you for your hard work [MENTION=3037651]zacharias.maladroit[/MENTION] !

There's an issue with my 256GB SD Card though, I have to format it in FAT (ext4 & exFAT show corrupted). I've seen that it can happen in other threads (and here too) but out of curiosity I tried latest available Orion and exFAT worked fine...

This is just a problem with LG's fs drivers and Ceres actual state of development or my setup is too unstable (I run magisk and a lot of mods, including Anxious which isn't even made for my phone) ?
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] HueyT:
Works fine on exFat for US99820H and aosp ROMs for me :good:
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] Koersten:
Totally agree. Latest Ceres Kernel is the best Ive had so far.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] scutterflux:
Latest Ceres is not working with my sdcard, 128GB samsung formated to exFat. Running Orion redux is smooth, fully functional and good battery in early testing with AOSP Extended.

For me the choice is clear (Orion) but I look forward to trying the updates with Ceres.

Thanks Zach..., keep up the good work.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] KittySparkles:
Formatting my SD card to FAT works with the latest ceres. On vs996 stock rooted w/ magisk. Exfat and ext4 result in it being incompatible. Shows up as vfat.

Thanks for the hard work! I'm fine with it being FAT for now.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] iRS_:
hello [MENTION=3037651]zacharias.maladroit[/MENTION],

first of all i wanna thank you for your dedication and time put into these kernels. i have been using them for over a year [emoji56]

they worked like a charm until recently when i tried your new builds, more exactly "orion" and the other two that came about the same time.

soon i noticed that with orion (the other two do not boot), after i use my phone for a few minutes the stock camera saves recording into a corrupted file (which is small in size). this does not happen if i start recording imediately after boot.

the other issue i have is with netflix app, it freezes the screen and then my phone reboots; happens at random times but mostly when i am doing something else while i watch a movie, like pulling down statusbar, receiving a message on facebook messenger and the bubble pops up, when pressing home to go to home screen, or recents, even by just pressing back. if i do not disturb the playback in any way (not touching the phone) i do not get any freezes.

recently i installed AnyKernel3_ceres_I.1_4_8_3-g8942b255_LGStock_AOSP_H930.zip just to find out i have the exactly same issues i have with orion then i flashed AnyKernel3_ceres_I.1_4_g737bfad4_LGstock_AOSP_H930.zip to test it; with this one the camera seems to save the recordings without issue but the netflix problem still persists.

i can reproduce the netflix problem with stock clean rom with just kernel flashed.

magisk, or no magisk have no influence.

i had 21o and 22j, both with the same issues.

i am now using 22j kernel that come with twrp package found on this forum.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] zacharias.maladroit:
latest ceres 1_4_9 which has been tested since June 27th has been uploaded to

https://drive.google.com/drive/folders/1s15-DnqEe7fX6z0cBJZJGYEu3RbyCDH_
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] zacharias.maladroit:
Thanks,

please give ceres 1_4_9 a try, it has the forced deep idle state / lower power state changes which might reduce power consumption.

HMP is actually supposed to be more efficient (at least on our device) with its polishing and optimizations vs. EAS which is rather hard to optimize

thanks, that's a known issue:

the exfat driver (once it's wreaking havoc) is causing instability issues and file, folder, etc. corruption (up to total incapability of access to microSD - so caveat emptor !)

it doesn't even work on AOSP, I tried various variants of the samsung exfat driver, variants, optimizations, hacks

and the newer sdFAT driver but it doesn't work.

Glad that it works on LG's stock ROM, the issue is however that in *LOTS* of cases it will lead to "bootlooping" (not booting into ROM) cases, either on its own or triggered by Magisk - so only removing the microSD will allow booting.

Also having such a factor of instability and corruption (potentially also in-memory corruption, not sure what causes that silent corruption and stability issues), is undesirable, therefore the driver is *NOT* compiled into the kernel.

Then there's the inherent risk of file corruption on the microSD.

ext4 works but only on AOSP-based ROMs for some weird reason (not sure if all, at least on Havoc, lineageos, etc. it works). It's supposed to be linux but with all the compatibility layer crap for windows things get complicated and messy, error-prone.

the exfat and sdfat drivers are opensource, there's also a proprietary one texfat with transaction supports (logs, journalling) which should improve stability and data integrity but due to extensive in-kernel changes whitelisting that and forcing it to load into kernel will lead to instabilities and most likely also (potentially) long-term data integrity issues

you mean orion redux ?

cause on ceres it's purposefully disabled by default, same on AOSP-based default kernels

Thanks, please take a look at the reply to Jilano34, there it's explained that the exfat / sdfat filesystem driver for microSD exfat access is rather unstable (the opensource one)

Thanks !

In case you'll switch to AOSP at one time and stay there, ext4 is also an option, I've been using it for a long time and it's rocksolid

also in the kernel also speed-ups to allow ever faster writeback, sync, etc. with ext4 (ext4 is already several percent in double digit level quicker than exfat or even ntfs, if I recall correctly)

Thanks !

The camera recording issue is confirmed by BADA 187 to be at least partially to SELinux policy / permissions related,

so if it's permissible there should be no issues,

this indicates that rules / policy might be incomplete and doesn't allow full functionality related to GCam or video recording.

Netflix could be PIP (picture in picture) issue, which is a ROM or driver related issue which occurs on other devices as well - most likely ROM / userspace side, so can't do anything or not much from kernel side
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] Sid@developer:
Tried Installing this kernal....It fuc*ed up my whole device....

It wiped the recovery itself....And when I try flashing the recovery using fastboot.... The adb authorization popup is not even coming...no root, no recovery... literally fu*ked up?
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] HueyT:
what's your device model, ROM version, and which kernel as Zach has several and they ALL work for most users? It's never wiped TWRP for most users so not sure what happened?
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] Sid@developer:
H930DS, Stock v20f, The latest one which Zack refered to...Am struck...Idk what to do to get my root back other than flashing kdz and whole stuff...

What I did is... Just rebooted to recovery..Backed up stock boot img and flashed the zip with addons...then flashed Magisk too...booted up..no root...tried rebooting to recovery...unable to reboot...even using the buttom combinations...
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] HueyT:
That sucks. Sorry man. No clue why. You're stuck with KDZ and restart to get TWRP again.

EDIT: If you can fastboot, you could push backed up boot.img to boot partition via fastboot:

https://xdaforums.com/showthread.php?t=1752270 (walks you through this process)
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] Sid@developer:
Thanks for the reply mate...

I searched..there was a error in my adb key, which was not allowing to revoke adb RSA fingerprint permissions. Now its fine...I flashed recovery using fastboot and now its fine.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] BADA 187:
the mistake you did there was flashing magisk after the kernel.

with anykernel3 magisk flashing is no more needed.

restore your twrp boot partition backup and flash magisk after that
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] Sid@developer:
Oh..I see... Fine... Then I will just flash the kernal and try again..
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] Sid@developer:
Flashed Kernal without flashing Magisk... Now it's fine.

Thanks
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] elhennig:
Hi, is there a chance to get schedutil as CPU governor and zen as I/O scheduler in Ceres?
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] iRS_:
thank you for your reply!

i have tried 4.9 ceres and it does the same with netflix and camera recording.

youtube's PIP works without issues.

on stock 22J kernel i have no problem with either netflix or camera recorder.