[KERNEL][US997/H870/H872][rel_p1][2020-02-22] Melina Kernel (Stock ROMs) - LG G6 ROMs, Kernels, Recoveries, & Other Developme

Dev Notice:
Anyone is welcome to pick up on this project with the source code linked below. All I ask is that you rename it to anything but "Melina" (check .zefie/scripts/buildenv.sh for the KERNEL_NAME variable).
You can say "based on Melina Kernel" or whatever, just don't call your release Melina. Also, feel free to PM me if you do release your own updates based on Melina, so I can endorse you on this thread.
Important Note: Aside from US997 releases up to and including rel_p1, all releases are experimental and community tested.
This shouldn't have to be said, but like every other custom kernel or ROM, you flash at your own risk.
You are welcome to help test, provide info, etc on other variants, but please, be sure to have proper backups before testing.
Back up at least boot and system (we place modules in /system/lib/modules).
---------------------------------------------------------
Melina Kernel
Melina is targeted not only for performance but security. If it wasn't for having to leave the bootloader unlocked to use Melina, it could be used in a secure environment, as no security was disabled to enable any functionality (as is usually the case for Lineage). What this means is any security offered by LG Stock is still available, as well as additional security exploit patches that were fixed between kernels v3.18.31 and v3.18.53.
This kernel should be compatible with any appropriate version LG G6 stock-based ROM.
Unknown things may happen if you try to use this with an AOSP ROM, such as Lineage.
WARNING
Release rel_p2 and newer modify system files. The kernel has new enhancements that required updating a library and config. (And maybe more in the future)
All files are detected intelligently to only be updated once when needed. When the file is updated, the file it is overwriting is placed in the same folder, with a .bak extention.
Executables that were backed up also have their executable bit removed (chmod 644) to prevent execution. Because of this, If you flash another kernel or revert back to stock kernel, you may run
into issues if you do not restore the backup files. In the coming days (no ETA) I will make a revert script, but in the meantime, please back up your system partition before flashing Melina Kernel if you plan on using another kernel after Melina.
Current Releases: (latest stable is bold)
Oreo/Pie
rel_p2: US997 H870 H872
rel_p1: US997 H870 H872
Oreo
rel_o2: US997 H870 H872
rel_o1: US997 H870
Nougat
rel_nr2: US997 H870
rel_nr1: US997 H870
rel6: US997 H870
rel5: US997 H870
rel4: US997
rel3: US997 H870
rel2: US997
rel1: US997
Information
rel_p# are for use on LG Oreo and Pie Stock ROMs
rel_o# are for use on LG Oreo Stock ROMs
rel# and rel_nr# are for use on LG Nougat Stock ROMs
Uses osm0sis's AnyKernel system
Developer tested on US997
Changelog for rel_p2:
[fix] WiFi Mac Address may be randomized on Oreo ROMs
[fix] time_daemon may crash with Invalid Opcode (includes updated vDSO compatible time_daemon)
Changelog for rel_p1:
Updated to H871 V30A code
Updated to AnyKernel3 to retain Magisk
F2FS support removed (was mostly unused)
Extremely optimized
Extended CPU optimizations
Excessive debugging removed
Previous Melina optimizations
Many more optimizations and backports from Lineage kernels
compiled with clang compiler (new Android defacto compiler for kernels)
Changelog for rel_o#:
Hopefully improve performance (rel_o2)
Disables LG's anti-custom-recovery script (rel_o2)
Disables forceencrypt (rel_o1)
Fixes in rel_nr2:
exFAT default type may not have been as desired (utf8) due to syntax error in config
Fixes in rel_nr1 vs rel6:
Slow SDCard performance
AOD not working at all (Fulmics) or using high powered-screen (stock)
MTP should be more stable
Sound effect did not play when connecting USB
Features:
Remove forceencrypt (rel_o1)
Added maple iosched, enabled tcp westwood congestion sched (rel_nr2)
New kernel defaults: iosched (now: maple, was: cfq), tcp (now: westwood, was: bic) (Note: These default values may be overridden by the ROM. Be sure to use something like kernel adiutor to verify and set the values as desired.) (rel_nr2)
Removes /sbin/rctd and related service entry in init.lge.rc if detected (rel_nr1 or newer binary)
CVE-2017-0705 and CVE-2017-0706 Broadcom Wifi Security Updates (rel6 or newer binary)
Flash Friendly FS (F2FS) Support (rel4 or newer binary)
Higher performance with lower battery usage (due to dtb and power updates from US997Uv15) (rel2 or newer binary)
Binary releases built with ubertc aarch64-linux-android-6.x
DriveDroid CD-ROM Emulation Support
Open source compatible replacement for Tuxera exFAT driver
zzmove and elementalx governors
Various other improvements
Current Status:
[rel_p1] FM Radio may not play over the speaker on Oreo ROMs
[rel_o1, rel_r2, and rel_p1] DriveDroid does not work (at all)
Developer Info
All Downloads Recent Commits
Sources: Original rel_nr series rel_o series rel_p series
Credits:
osm0sis for AnyKernel2, CrazyGamerGR for CrazyAquaKernel, @nexusownerforlife for testing on Fulmics, @Killua96 for testing H870 builds
If my releases help you, please leave a thanks. If you are able, please consider a tip (check the small link in my sig).

Good job

It can be used on H870?

Trying it now, so far so good!
Flashed over 16A Stock ROM, feels nice and smooth, I feel like the performance is marginally better. Will be keeping a close eye on battery and reporting back.

kojak1989 said:
It can be used on H870?
Click to expand...
Click to collapse
I'm not 100% sure but I think the main difference between the US997 and H870 is the kernel itself (I can flash the current H870 lineage but wifi doesn't work, small stuff like that).
So I'm gonna say that as-is no, the binary should NOT be flashed on a H870.
But it shouldn't be hard to apply the commits I've made to this kernel to the H870 kernel source (or even compile with a different defconfig), although I don't have a H870 to test with and I really dislike releasing things I cannot test myself.
But if there is enough demand, I'll try it, as I've done it before with a few older Android models (see my xda post history).
TotallyGeeky said:
Trying it now, so far so good!
Flashed over 16A Stock ROM, feels nice and smooth, I feel like the performance is marginally better. Will be keeping a close eye on battery and reporting back.
Click to expand...
Click to collapse
Nothing I've done should affect battery life (no overclocks or any of that), but reports are always welcome, due to the erratic nature of the beast, who knows.

Expect it to come to the H870

Hi dev. Good work ?? just for interest sake, I'd also like to see H870 release of possible. Severely lacking for custom kernels over here ?? tia

mcrane1981 said:
Hi dev. Good work just for interest sake, I'd also like to see H870 release of possible. Severely lacking for custom kernels over here tia
Click to expand...
Click to collapse
Can you check my variant guide and provide the build fingerprint for the h870?
Also, need the list of files from /system/lib/modules on your model's stock ROM as well.
Then I will see what I can do.
Curious why this phone seems more popular in Europe than US.

Will it work on the latest fulmics os?

nexusownerforlife said:
Will it work on the latest fulmics os?
Click to expand...
Click to collapse
Untested, but since its a stock-based ROM rather than AOSP, it should work.
Make a backup and give it a try

Thanks! I'm willing to test it on the H870 with Fulmics =)

Killua96 said:
Thanks! I'm willing to test it on the H870 with Fulmics =)
Click to expand...
Click to collapse
I still need the proper info before trying to make a h870 build

zefie said:
I still need the proper info before trying to make a h870 build
Click to expand...
Click to collapse
Ok then, here it is an Adiutor's Screenshot:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
If something more is needed just tell me, this screen was took from Fulmics 2.1.

Killua96 said:
Ok then, here it is an Adiutor's Screenshot:
View attachment 4362972
If something more is needed just tell me, this screen was took from Fulmics 2.1.
Click to expand...
Click to collapse
Unfortunately it needs to be from stock, either Fulmics changed the fingerprint, or LG is doing things differently over there. Either way its not that info I need. (looking for lucye_something_something). Sorry.

zefie said:
Unfortunately it needs to be from stock, either Fulmics changed the fingerprint, or LG is doing things differently over there. Either way its not that info I need. (looking for lucye_something_something). Sorry.
Click to expand...
Click to collapse
No probs, i'll just flash the stock rom, and be back to fulmics in a flash

zefie said:
Unfortunately it needs to be from stock, either Fulmics changed the fingerprint, or LG is doing things differently over there. Either way its not that info I need. (looking for lucye_something_something). Sorry.
Click to expand...
Click to collapse
Here:

Killua96 said:
Here:
Click to expand...
Click to collapse
Got it, will work on it

zefie said:
Untested, but since its a stock-based ROM rather than AOSP, it should work.
Make a backup and give it a try
Click to expand...
Click to collapse
Just flashed it and so far so good

Thanks! I'm willing to test it on the H870 with Fulmics .My too:

Experimental H870 build:
https://github.com/zefie/lge_g6_melina_kernel/releases/tag/rel3

Related

[ROM][5.1.1_r37] UNOFFICIAL CyanogenMod 12.1.1 [STABLE][14/10/2016]

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Hi everyone, i am currently building a weekly version (or monthly, depending on CyanogenMod fixes and patches) of CyanogenMod 12.1 for a while now, i thought i could share it with you, because peregrine cm-12.1 branch is no longer supported by CyanogenMod.
I made some little modifications to the framework, the device tree and the kernel, which you cand find in the source section.
For those who don't read at those stuffs, the changes are:
- Restored Ambient Display (and tuned a bit) and MotoDoze (wake gestures etc.), since the black screens have been fixed a while ago, this feature is now working correctly here on CM12.1
- Status bar date customizations
- Ability to hide SU icon on status bar (developer settings)
- KCAL support (adjust color contrast and saturation with this app: http://downloads.codefi.re/savoca/kcal)
- Proximity check on wake (disabled by default, you can enable it in Settings/Display), prevents accidental wake ups
- Dexpreopted
- Cyanogenmod's Screencast app from cm-13.0 branch
- Kernel security fixes from cm-13.0 branch
- PowerHAL updates from cm-13.0 branch
- General device tree updates from cm-13.0 branch
- LuK1337 gently found a fix for the GPS bug that forced you to erase modemst1 and modemst2 to make GPS work, so you won't need to do that anymore
- Updated all the libraries and apk/jar's from latest 5.1 build
- Updated Adreno libraries to 5.1 (Motorola is still using 5.0 ones on their 5.1 build)
- CyanogenMod fixed the soft reboots due to strictmode violations (https://github.com/CyanogenMod/andr...mmit/1e60f9b9ae10d46d028c19c90cf0f52d40ca620a), so this fix is of course included here, but is not included in the latest public snapshot for falcon on the CyanogenMod site, so this can be a reason of switching from that snapshot to this build.
- CM12.1 branch is pretty stable right now, so you shouldn't have any major problem
DOWNLOAD
CHANGELOG [09/03/2016]
CHANGELOG [16/03/2016]
CHANGELOG [25/03/2016]
CHANGELOG [05/04/2016]
CHANGELOG [12/05/2016]
CHANGELOG [15/06/2016]
CHANGELOG [09/07/2016]
CHANGELOG [10/08/2016]
CHANGELOG [14/10/2016]
If you want to thank me, click on this link once a day:
CLICK (wait 5 seconds and click on skip ad, then you can close the window)
Also, consider donating to LuK1337, luca020400 or Gabriele M for keeping active motorola msm8226 development
READ POST #2 IF YOU HAVE ANY TROUBLE WITH THE ROM, IF IT'S A COMMON PROBLEM, IT WILL BE THERE
CUSTOM KERNELS AND/OR XPOSED OR ANY OTHER MOD ARE HIGHLY UNSUPPORTED
You may want to take a look at this "project" too: http://forum.xda-developers.com/moto-g/themes-apps/apps-cyanogen-camera-gallery-t3187041
Credits:
- LuK1337
- luca020400
- Gabriele M
- hurtsky
- savoca
- matmutant (for the logo xD)
- Motorola and all the CyanogenMod contributors
XDA:DevDB Information
CyanogenMod, ROM for the Moto G
Contributors
fonz93
Source Code: https://github.com/MotoG-2013
ROM OS Version: 5.1.x Lollipop
ROM Kernel: Linux 3.4.x
ROM Firmware Required: 41.18+ Bootloader version
Based On: CyanogenMod
Version Information
Status: Stable
Stable Release Date: 2016-10-14
Created 2016-02-24
Last Updated 2018-02-08
NOTE:
- Reported bugs without any useful logcat will just be trashed
- If you flash any CM12.1 custom kernel, you must flash this package: https://drive.google.com/folderview?id=0B-xonQbKq2U2NEtIbXZaaEdCemM&usp=sharing
in order to downgrade your camera blobs from 5.1 to 5.0, if you don't this, the camera won't work ***
-- If, for any reason, you decide to go back to the kernel included in this ROM, you have to install again 5.1 camera blobs, the easiest way to do that is flashing the ROM .zip.
*** I updated camera blobs from the latest Motorola factory image, a kernel update was needed in order to make camera work after updating the blobs (that's not an hack, is a regular update from Motorola), but CyanogenMod dropped CM12.1 nightlies before doing this, so any CM12.1 based kernel doesn't contain that kernel update, that's why you need to downgrade camera blobs to 5.0.
I have to remind you that installing a custom kernel will break any future support by me
Hi fonz93. I am considering installing this version of CM12.1. I am curious about the Kernel. Have you implemented any changes other than the camera blobs stuff? I like to have Adreno Idler as it extends battery life a good deal for me.
razlack said:
Hi fonz93. I am considering installing this version of CM12.1. I am curious about the Kernel. Have you implemented any changes other than the camera blobs stuff? I like to have Adreno Idler as it extends battery life a good deal for me.
Click to expand...
Click to collapse
No, i've just added few kernel security fixes and other minor fixes from cm-13.0 branch, the only external thing i've added is the KCAL support, i don't think i will add something more unless strictly required, sorry
fonz93 said:
No, i've just added few kernel security fixes and other minor fixes from cm-13.0 branch, the only external thing i've added is the KCAL support, i don't think i will add something more unless strictly required, sorry
Click to expand...
Click to collapse
That's cool. I'm on stock at the moment and it runs really stable. Not sure about honing to cm12.1 or cm13.
Thank you @fonz93!! I already loved CM10.2 you did for Huawei Y300, I really like your effort to make stable build for earlier versions when other devs change their focus to the last Android version
I'm currently on CM12.1 from beeto, can I have a brief excursus about difference with your build?
This build is made for stability, so it won't include the thousand of features that the other ROMs have, expecially in the kernel, i don't know which features the build are you referring to has, but you can find all the differences from the official cyanogenmod build in first post
fonz93 said:
This build is made for stability, so it won't include the thousand of features that the other ROMs have, expecially in the kernel, i don't know which features the build are you referring to has, but you can find all the differences from the official cyanogenmod build in first post
Click to expand...
Click to collapse
Here's the rom I'm using http://forum.xda-developers.com/moto-g/4g-development/rom-unofficial-cyanogenmod-11-t3017616
Well, the build is 3 months old, it doesn't include many important fixes (one of them is the strict mode violation fix that causes soft reboots) and many kernel security fixes.
It has a custom kernel while i use a cyanogenmod based kernel plus some fixes backported from the cm-13.0 branch. For the ROM side differences read the first post
This ROM looks very well, but I miss some features.
1.- DT2S on LockScreen
2.- DT2S on NavBar
3.- Network Activity on StatusBar
4.- TaskManager on StatusBar
Everything else is OK. Thanks for your work, Go on!
I am now including in my folder (the one where you can download my CM12.1) a build of TWRP 3.0 wich slightly differs from the one in this forum, thanks to Gabriele M (which will probably be the official TWRP mantainer), the long time wait for wiping /cache and /system and the not responsive touch is fixed, i am not opening a new thread because once Dees_troy (TWRP developer) merges Gabriele M changes into the official peregrine device tree for TWRP, i will stop mantaining my version as it would have no difference from the official build.
Note: The kernel source used to build the TWRP recovery is this: https://github.com/CyanogenMod/android_kernel_motorola_msm8226/tree/cm-13.0, so it will work on every ROM, both Lollipop and Marshmallow.
sorry double post
I tried the rom, it's very fast and smooth.
I miss two things in particular:
1) switch network (2g/3g/4g) in quick settings (I really can't understand why CyanogenMod 12.1 doesn't have it, I've had this feature since CM7.2).
2) remove shutter sound when taking a picture.
I would love to have those features, but I would like to avoid installing Xposed modules.
Does anyone know why CM devs removed them in CM12/12.1?
DeX1009 said:
I tried the rom, it's very fast and smooth.
I miss two things in particular:
1) switch network (2g/3g/4g) in quick settings (I really can't understand why CyanogenMod 12.1 doesn't have it, I've had this feature since CM7.2).
2) remove shutter sound when taking a picture.
I would love to have those features, but I would like to avoid installing Xposed modules.
Does anyone know why CM devs removed them in CM12/12.1?
Click to expand...
Click to collapse
It's not like they removed them, but the android source has changed so much that they couldn't just port the feature over the new version, no one came up with a working and bugfree patch on gerrit.
About the camera shutter, i don't know, it's not something i care that much, you can just get rid of it by installing a camera from play store
Hello, this ROM is compatible with Moto G 4G (2013) XT1042?
Thank y
pickmod said:
Hello, this ROM is compatible with Moto G 4G (2013) XT1042?
Thank y
Click to expand...
Click to collapse
If the official CyanogenMod works, this one works too, which difference your phone has from european version?
Any chance to tweak the developer option "hold down back key to kill app" delay time to 500ms?
Axaion said:
Any chance to tweak the developer option "hold down back key to kill app" delay time to 500ms?
Click to expand...
Click to collapse
+1, I would love to have this feature.
Issue ive had is that people are complaining they cant hear me in phone calls, i tried the sound recorder and its extremely low, as in if i tap the phone you can hear it, but id have to scream for it to pick up voices.
Axaion said:
Issue ive had is that people are complaining they cant hear me in phone calls, i tried the sound recorder and its extremely low, as in if i tap the phone you can hear it, but id have to scream for it to pick up voices.
Click to expand...
Click to collapse
No problem here

[KERNEL] Harfix4 [3.0r3 - test3][24.03.2018]

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I don't own that device.​
Code:
/* *** Disclaimer
* I am not responsible for bricked devices, dead SD cards, thermonuclear war,
* or you getting fired because the alarm app failed. Please do some research
* if you have any concerns about features included in this KERNEL
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
* BOOM goes the Dynamite
*/
Hi.
My name is Rafal. I'm from Poland.
Here is a page about my fourth kernel of my harfix series.
Kernel is based on LineageOS kernel by nijel8.
Features:
- Anykernel2
- Compiled using latest Google NDK
- Some optimalizations here and there
- So much to come...
Bugs:
You tell me
Changelog & download:
3.x
Credits:
All people who is marked in source.
Like my project?
hit thanks!
Want to make this project more popular?
or want notification on site update?
follow this project!
Love my project?
Donate!
All values are welcome
XDA:DevDB Information
Harfix4, Kernel for the Xiaomi Mi Max
Contributors
rafciowis1999
Source Code: https://github.com/wisniew/Harfix4-mi-max-LAOS
Kernel Special Features:
Version Information
Status: Stable
Created 2017-01-08
Last Updated 2018-03-24
Reserved
As I said, I don't own that device so if You want this kernel working You need to test and send me raports.
rafciowis1999 said:
As I said, I don't own that device so if You want this kernel working You need to test and send me raports.
Click to expand...
Click to collapse
Just couple of things...
Hydrogen and helium use the same kernel so no problem there. Also please comment out "CONFIG_SDCARD_FS=y" in config if haven't already... it causes problems so far and is still present in Lineage repo.
Thank you for bringing custom kernel to us. We need one...
Deleted
nijel8 said:
Just couple of things...
Hydrogen and helium use the same kernel so no problem there. Also please comment out "CONFIG_SDCARD_FS=y" in config if haven't already... it causes problems so far and is still present in Lineage repo.
Thank you for bringing custom kernel to us. We need one...
Click to expand...
Click to collapse
Hi
So You want sdcardfs disabled?
The same kernel for hydrogen will work on helium?
And what's the different between them (don't know much about that devices)?
No problem, but I need You guys to help me.
rafciowis1999 said:
And what's the different between them (don't know much about that devices)?
Click to expand...
Click to collapse
Hydrogen = 2GB and 16GB, 3GB and 32GB (Snapdragon 650)
Helium= 3GB and 64 GB, 4GB and 128 GB (Snapdragon 652)
paarkhi said:
Hydrogen = 2GB and 16GB, 3GB and 32GB (Snapdragon 650)
Helium= 3GB and 64 GB, 4GB and 128 GB (Snapdragon 652)
Click to expand...
Click to collapse
Thanks, anyone can test it on helium?
Today will be RC3 with some optimalization, kcal, some governors and sdcardfs disabled.
Stay tuned!
Edit: Today will be rebase to miui source.
Any chance for the kernel working on MIUI? And working overclocking?
(Jaka szansa na działanie jąderka na MIUI? Czy będzie działające podkręcanie?)
rafciowis1999 said:
Thanks, anyone can test it on helium?
Click to expand...
Click to collapse
Thanks for the Kernel but Sorry I have only Hydrogen (3GB/32GB) and am on MIUI MM and others also may be on MIUI so can't say much about it.
paarkhi said:
Thanks for the Kernel but Sorry I have only Hydrogen (3GB/32GB) and am on MIUI MM and others also may be on MIUI so can't say much about it.
Click to expand...
Click to collapse
I will try to make it working on miui.
rafciowis1999 said:
Today will be RC3 with some optimalization, kcal, some governors and sdcardfs disabled.
Stay tuned!
Edit: Today will be rebase to miui source.
Click to expand...
Click to collapse
Take it easy cowboy!
Cuple of suggestions;
Add deadline IO,
Rework the Interactive infrastructure to make it better,
Don't make it to much franken,
Do the CVE's as in official tree for CM's now as kernel is mostly up to CAF mainline,
Add Linaro power optimised work queues & don't rely to much on Frankos work.
Now all things I actually suggested so far can pass as the main line & get into any rom. Actually even AOSP's builds use same kernel repo.
Personally I would prefer that you switch to the Github (but you probably won't) so that I can coment commits directly.
https://bitbucket.org/wisniew99/harfix4-mi-max/commits/1b07e93f700def18fa454f80d5fb042526325701
As much as I like Idea I dislike implementation (just keeping general idle state longer even its not to much exaggerated).
Whose actually thinking is it possible to switch entirely in active state to QC (ARM reference) power state when CPU cache is always kept on the idle frequency wile logical blocks are shot down.
It's rather unfortunate that you don't own the device.
If you did I would suggest some compiler flags optimizations experiments.
Best regards.
rafciowis1999 said:
Hi
So You want sdcardfs disabled?
The same kernel for hydrogen will work on helium?
And what's the different between them (don't know much about that devices)?
No problem, but I need You guys to help me.
Click to expand...
Click to collapse
Yes, disable sdcardfs or people will have to edit build.prop to disable it on some roms.
Hydrogen and helium use the same kernel source and config, no any dereference.
Zola III said:
Take it easy cowboy!
Cuple of suggestions;
Add deadline IO,
Rework the Interactive infrastructure to make it better,
Don't make it to much franken,
Do the CVE's as in official tree for CM's now as kernel is mostly up to CAF mainline,
Add Linaro power optimised work queues & don't rely to much on Frankos work.
Now all things I actually suggested so far can pass as the main line & get into any rom. Actually even AOSP's builds use same kernel repo.
Personally I would prefer that you switch to the Github (but you probably won't) so that I can coment commits directly.
https://bitbucket.org/wisniew99/harfix4-mi-max/commits/1b07e93f700def18fa454f80d5fb042526325701
As much as I like Idea I dislike implementation (just keeping general idle state longer even its not to much exaggerated).
Whose actually thinking is it possible to switch entirely in active state to QC (ARM reference) power state when CPU cache is always kept on the idle frequency wile logical blocks are shot down.
It's rather unfortunate that you don't own the device.
If you did I would suggest some compiler flags optimizations experiments.
Best regards.
Click to expand...
Click to collapse
Deadline, interactive, CVE (I thinks its there but I will look at this again), linaro power (can You tell me example commit for this).
About that commit what You say, You want it revert?
Thanks for suggestions.
Kernel is basing on updates, not on one final release and fixes, so all suggestions are welcome.
nijel8 said:
Yes, disable sdcardfs or people will have to edit build.prop to disable it on some roms.
Hydrogen and helium use the same kernel source and config, no any dereference.
Click to expand...
Click to collapse
Ok, will disable in next version.
So this kernel will work on helium too, yeah?
Just for reference on the power efficient work queues:
https://lwn.net/Articles/548281/
Kumar did most work on 3rd, 4th & 5th literation, naturally 5 is the best one as it have config switch.
Find one in the some of the repos for msm kernels so that it is a more straight forward for you, it's quite common & widely used this days. Interactive is their but rather older & simplified implementation of it, deadline isn't & CVE's are the never ending story.
About that commit I say it doesn't resolve anything & culd represents problem later cross interfering with other core control logic so drove your own conclusions from it.
Can You guys test that kernel on non CM-based roms?
oc and testing
rafciowis1999 said:
Can You guys test that kernel on non CM-based roms?
Click to expand...
Click to collapse
Hi, lineage rom user here. 3ram 32rom here, would test ur kernel and all betas. In revard all i want is to oc gpu,cpu pretty high, at least a freak version for me
rafciowis1999 said:
Can You guys test that kernel on non CM-based roms?
Click to expand...
Click to collapse
Think it will need repacking so ask the guys that are behind (compiled them) AOSP based room's that way you also get a good quality control.
Some time at the end of the the month I would probably join you if their is still steam for now holidays are still not over for me & this is my daily driver, still locked and all.
Zola III said:
Think it will need repacking so ask the guys that are behind (compiled them) AOSP based room's that way you also get a good quality control.
Some time at the end of the the month I would probably join you if their is still steam for now holidays are still not over for me & this is my daily driver, still locked and all.
Click to expand...
Click to collapse
Ok, about AOSP I will think later, when this kernel will have some features.
I have holidays start at 23 jan, so then I will focus on kernel.
I will be honored to working with you in one team.

[KERNEL][06 JUNE][OP6/6T][OOS/AOSP] HolyDragon [Pie 9.x]

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Back again!
You may remember me from my SkyDragon roms and HolyDragon kernels for OP3/N6/M8/M7/G3 among other devices. Decided to pick up an OP6T and see what I can do with it. This kernel is made and tested on the 6T but should also work fine on the 6 as well since unified source.
This is the kernel I use as my daily driver, I am working on optimizing it for this device, Will be a work in progress on that aspect for awhile to come. It has been rebased on top of Nathan Chance's Reference kernel so it is current with latest upstream. My goal here, as always, is to get as much performance out of our device(s) as possible without sacrificing any battery life or stability whatsoever. No Ofast or ffast-math flags that break IEEE and math operations. No beta toolchains. I compile my own toolchains from recent stable releases, build them optimizing and targeting a specific processor(the one in our phones) instead of the whole generic architecture, and then I use those to build my kernels that are optimized and targeted for that same processor. So this kernel is meant to be as stable stock, all the performance, and none of the loss in battery life. Anyways, on with the show..
~*~*Information*~*~
Kernel supports all OP6/OP6T devices running OOS Stable 9.0.x:good:
Kernel source is based on official OnePlus 6/6T openbeta source code + Upstream from Linux-Stable :good:
No user setup required - most settings already applied :good:
~*~*Features*~*~
No user clock-speed modifications
Flar2 sleep/wakegesture features (Disabled by default, enable with EX App)
Swappiness set to zero by default - OOS rewrites this so you need to change manually
vfs_cache_pressure set to zero by default
Maple IO Scheduler set to default (IMO best balance of performance/battery life)
Westwood TCP Congestion Profile set to default (Personal preference)
CRC Check Toggle-able (disabled by default)(~%30 performance boost when disabled)
Boeffla's LED Notification(only for op6)
Boeffla's Wakelock Blocker
Tbalden's KCAL modifications
Power Efficient Workqueue
DTS Eagle Support
KLapse-Livedisplay Support
~*~*Credits and Thanks*~*~
frap129
Flar2
Tbalden
SultanXDA
NathanChance
MyFluxi
TheCrazyLex
Andip71
savoca
engstk
FranciscoFranco
Dorimanx
maxwen
arter97
dianlujitao
LazerL0rd
Joshuous
Tanish2k09
DOWNLOADS
HDK_OP6.6T_OOS_V3.0 OOS LINK
HDK_OP6_AK2_AOSP_V0.18.2 AOSP LINK
NOTE:
Kernel zip doesn't touch the ramdisk.
Install if you're on stock OOS: Just flash kernel zip in twrp and reboot.
Install if coming from a different kernel: You may need to flash or restore you're stock boot img or latest rom zip from OnePlus, then flash kernel zip in twrp and reboot.
Reminder you may also need to reflash magisk if you do that.
If you're already on HDK: you can just flash my latest kernel zip in twrp and reboot.[/color]
~~~~~~~~~~~~~~~~~~~~~~~~
Kernel's have been thoroughly tested but if you somehow find an issue or just want to leave feedback, that's always appreciated ^^
You can find changes(changelog) by looking at my posted source. You can also find my custom toolchain's, crosstool-ng, and other sources listed there. Any bug reports require logcats/dmesg, thanks!
~*~*Donations*~*~
If you want to donate to my coffee fund, I prefer any cryptocurrency over paypal.
Donate with Coinpayments
or just use paypal, thanks!
XDA:DevDB Information
[KERNEL][06 JUNE][OP6/6T][OOS/AOSP] HolyDragon [Pie 9.x], Kernel for the OnePlus 6T
Contributors
HolyAngel, Liam_Davenport, Imotep95
Source Code: https://gitlab.com/HolyAngel/op6.git
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: Current
Stable Release Date: 2018-12-11
Created 2018-12-11
Last Updated 2019-06-06
Reserved
HDK-Mod - v1.0.0
This is my own modified build of Grarak's Kernel Adiutor app. Now unified for all my kernels.
I have added a few extras that were missing for sound control, pdesire audio, DCI_P3 mode, tbalden's kcal modificaiton, sultan's battery cycle/charge commit for msm8996, and Tanish2k09's KLapse-Livedisplay.
You may need to disable Play Protect temporarily to install, working on adding to the play store to negate this issue.
Also changed the theme, and updated some stuff.
Work in progress but needed something to fully control my kernel.
Full credits and much love to Grarak for putting in all the hard work on KernelAdiutor, wouldn't be here without his work.
My source for it is here.
Reserved
Thanks you for your work
Excellent will give this a run and see how it goes.
Thanks for choosing to support our device
Will Skydragon also be coming to the 6t?
@HolyAngel sent you a PM.
Thank bro for your beautiful work like ever.
557953 said:
Excellent will give this a run and see how it goes.
Thanks for choosing to support our device
Will Skydragon also be coming to the 6t?
Click to expand...
Click to collapse
Most likely some form of it in time, yes
I first time thinking "a new custom rom..." Bo ok, good too see you on this OP section! GL & HF. And thanks! :3
Good to see another great kernel for this device.......... Welcome aboard man....
And I remember you from the G3 days.....
Eliminater74 said:
Good to see another great kernel for this device.......... Welcome aboard man....
And I remember you from the G3 days.....
Click to expand...
Click to collapse
Thanks!
Nice, I hated that phone lol but I thought you looked familiar ^^
@HolyAngel, good to see you here, just like old times, hope the gang can get back together again!!!
Glad to see you here. Skydragon was a beast on the M8.
Sent from my OnePlus6T using XDA Labs
@HolyAngel u have this device or OP6?
Araa01 said:
@HolyAngel u have this device or OP6?
Click to expand...
Click to collapse
I have the 6t
HolyAngel said:
I have the 6t
Click to expand...
Click to collapse
Sooo sweet! First custom rom It's just a matter of time. [emoji7]
Araa01 said:
Sooo sweet! First custom rom It's just a matter of time. [emoji7]
Click to expand...
Click to collapse
Working on something
liam_davenport said:
Working on something
Click to expand...
Click to collapse
Damn! Good news! [emoji7]
Deleted.
things are starting to heat up a bit.....
thanks to all the devs for their hard work

[ROM][H870|H872|US997] UNOFFICIAL LineageOS-16.0 for LG G6

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
WARNING: BETA BUILD. There may be numerous issues still.
Disclaimer
Your warranty is now void.
I am not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed. Please do some research if you have any concerns about features included in this ROM before flashing it! YOU are choosing to make these modifications, and if you point the finger at me for messing up your device, I will laugh at you.
Introduction
LineageOS is a free, community built, aftermarket firmware distribution of android, which is designed to increase performance and reliability over stock android for your device. More info.
These are my UNOFFICIAL builds of LineageOS-16.0 for LG G6 variants. I did NOT create this ROM. I am helping to contribute to this ROM. Thanks to all other coders who contributed to LineageOS.
IMPORTANT
BACKUP! These are UNTESTED builds. Please be ready to recover your previous ROM. If it kernel panic, boots into bootloader, etc... grab as much info as you can.
Builds are done periodically (see download below)
Do NOT be rude.
Respect all users.
Any and all users, please help each other. I have a us997 variant, so other variants might have some issues.
For broken issues see 2nd post
Issues:
WiFi or Bluetooth MAC is "00:00:00:00:00:00" - You wiped the misc partition, you'll need to fix: https://forum.xda-developers.com/showpost.php?p=70474540&postcount=12 (Should be fixed by static hax thanks for @Blaises)
5Ghz tether not working due to "error
Install
You can upgrade from 15.1 (UNOFFICIAL) to 16.0. If you are not on my UNOFFICIAL yet, flash the to-x86cpu.zip first (and reboot recover before upgrade, not reboot into system).
Flash to-x86cpu.zip if needed. (See Downloads below)
Flash UNOFFICIAL ROM
Wipe cache, and dalvik cache
Magisk if you choose
Flash GAPPS (I use nano)
Reboot and wait....
(Copied from OFFICIAL thread)
To enable Developer Options go to Settings, About Phone and repeatedly press Build Number.
If you use ADB read this: PSA by CM
If you use reboot to recovery read this: PSA by CM
Regarding new Superuser: PSA by CM
Bugs
If you encounter issues/bugs that are not known, please report. This is not the OFFICIAL ROM, but I can help to get any issues fixed. I use the us997 variant. If I can replicate your issue then I can track it down. If I cannot, please provide as much detail as possible. Logcats are great.
Please indicate what g6 variant you have (h870, h872, us997) and the dated version. Any mods (no judgment) as well.
I am aware people run mods or change things. I am not against it (as I do myself). However, if needed I may ask you to data wipe (you can say no), or remove a mod that might be interfering. I will do the best I can.
Thanks
Any and all users in this thread who contributed or will contribute to making this ROM as stable as possible
LineageOS Team
@Rashed97 for continuing help
Downloads
ROM: UNOFFICIAL downloads (Note date)
Gapps: arm64 nano 9.0
Sources
https://github.com/LineageOS
https://github.com/LineageOS/android_kernel_lge_msm8996
https://github.com/LineageOS/android_device_lge_msm8996-common
https://github.com/LineageOS/android_device_lge_g6-common
h870
h872
us997
What is working:
WiFi
Camera
NFC
Bluetooth
2.4 Ghz Hotspot
USB OTG
What is NOT working:
VoLTE and WiFi calling do not (and most likely never will).
5.0 Ghz Hotspot (still)
IR
Encrpytion is untested, so it may fail.
Anything else NOT listed above might or might not work. I will adjust as necessary and reports. If anyone has any knowledge and can troubleshoot and fix the NOT working items, let me know.
reserved
Thank you very much for providing LineageOS for our LG G6.
Gonna try it later this week.
Can't seem to get this installed on my lg g6 h870 variant. Twrp comes up with updater failed error code 7. I've downloaded the h870 version of lineage but doesn't work. Tried two different downloads. Please help would love to try this ROM out
skyler13 said:
Can't seem to get this installed on my lg g6 h870 variant. Twrp comes up with updater failed error code 7. I've downloaded the h870 version of lineage but doesn't work. Tried two different downloads. Please help would love to try this ROM out
Click to expand...
Click to collapse
Flash stock, wipe and try to flash LOS.
skyler13 said:
Can't seem to get this installed on my lg g6 h870 variant. Twrp comes up with updater failed error code 7. I've downloaded the h870 version of lineage but doesn't work. Tried two different downloads. Please help would love to try this ROM out
Click to expand...
Click to collapse
Bootstack is to high, you cannot be using the Oreo bootstack yet.
I can install this rom if im on another PIE based rom?
Great news !
@x86cpu - which device repo did you use? LG-G6-DEV's for the testbuilds?
hawkeyexp said:
Great news !
@x86cpu - which device repo did you use? LG-G6-DEV's for the testbuilds?
Click to expand...
Click to collapse
LineageOS
Crazy - muppets vendor or your private (i noticed your blobs updates on it).
hawkeyexp said:
Crazy - muppets vendor or your private (i noticed your blobs updates on it).
Click to expand...
Click to collapse
I have a fork of Muppets. I haven't finished the blobs yet, do I haven't gotten them pushed into Muppets yet. Right not I'm not doing the last 3 camera blobs until I fix them.
hawkeyexp said:
Crazy - muppets vendor or your private (i noticed your blobs updates on it).
Click to expand...
Click to collapse
Oh... And this
CODE]repopick 232739 244655 244891 232738 232736 232641 244384 232640 233849 233851 233852 233853 232353 232789 232779 232931 232932 232933 232934 232937 232939 232936 232937 232957 232959 232960 232940 232966 232978 232979 232980 232981 232982 232984 232985 232986 232987 233462 233745 233746 233747 234157 234158 234159 234174 234390 234426 234427 234648 244659 244660 244692 244693 244708 244709 244803 244804 244805 244915 245239 245337 245338 245339 245340 245349 245341 245343 245348 245344 233748 245356[/CODE]
https://review.lineageos.org/#/q/ch...ange:245344+OR+change:233748+OR+change:245356
It has picks for all the g5/g6/v20 devices, so if you pick that you might get errors on devices you do not have setup. I maintain all of them, so these are that set.
H872, full wipe,
Rom install gives error 7
Max t version not match current making assert failure.
Edit, I think you have a lot of work to do on this rom.
alliance1975 said:
H872, full wipe,
Rom install gives error 7
Max t version not match current making assert failure.
Edit, I think you have a lot of work to do on this rom.
Click to expand...
Click to collapse
That's because you're on the wrong bootloader. I had the same error until I flashed nougat bootloader.
---------- Post added at 12:49 AM ---------- Previous post was at 12:47 AM ----------
On the us997 version it keeps powering off on it's own when trying to go through Google setup It says powering off and boots into twrp. I did clean flash both times with same problem.
Good to see you're back @x86cpu
OP states Bluetooth works.
Is BT calling working on this ROM? Would be the first custom ROM, so it'd be very welcome
x86cpu said:
Oh... And this
CODE]repopick 232739 244655 244891 232738 232736 232641 244384 232640 233849 233851 233852 233853 232353 232789 232779 232931 232932 232933 232934 232937 232939 232936 232937 232957 232959 232960 232940 232966 232978 232979 232980 232981 232982 232984 232985 232986 232987 233462 233745 233746 233747 234157 234158 234159 234174 234390 234426 234427 234648 244659 244660 244692 244693 244708 244709 244803 244804 244805 244915 245239 245337 245338 245339 245340 245349 245341 245343 245348 245344 233748 245356[/CODE]
https://review.lineageos.org/#/q/ch...ange:245344+OR+change:233748+OR+change:245356
It has picks for all the g5/g6/v20 devices, so if you pick that you might get errors on devices you do not have setup. I maintain all of them, so these are that set.
Click to expand...
Click to collapse
wow that's a lot of stuff - thinking about best way to cherry-pick or merge it for custom builds to keep it up to date... hm
hawkeyexp said:
wow that's a lot of stuff - thinking about best way to cherry-pick or merge it for custom builds to keep it up to date... hm
Click to expand...
Click to collapse
It's not merged yet due to still testing. I have to worry about my changes affecting g5/g6/v20 devices, not just the g6.
x86cpu said:
It's not merged yet due to still testing. I have to worry about my changes affecting g5/g6/v20 devices, not just the g6.
Click to expand...
Click to collapse
Sure - i'm thinking about cloning the los repo an cherry-pick your commit's as a temp solution but hard to track every change done by you
PS: it's really great that you are back and hopefully your regeneration makes big steps forward!

[ROM] [S9/S9+] [UNOFFICIAL] [LineageOS 18.1] [Exynos] [Weekly]

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
ROM DOWNLOADS:
[ROM] [S9/S9+/Note 9] [UNOFFICIAL] [LineageOS 18.1] [Weekly]
Last Updated July 30, 2022
OS Version: Android 11 (LOS 18.1 changelog)
Kernel: Linux 4.9.325 (July 30, 2022)
Security Patch: AOSP (July 5, 2022)
Wireguard: 20220627 (June 27, 2022)
ROM INSTALL INSTRUCTIONS:
From OEM:
Lineage Recovery
Format /system + /data + /cache
Flash
Reboot
Root is not included. To root, install Magisk yourself.
From existing Unofficial weekly:
Use OTA, or
Sideload via ADB in recovery
BASEBAND UPDATING:
Install Samsung USB drivers
Install Odin 3.14 (or later)
Download updated baseband firmware from the XDA thread for your model phone.
Unzip and re-pack "modem.bin" into a .tar file such as "modem.tar"
Reboot phone into download mode
Open Odin
Load your modem.tar file into CP in Odin
Start flash
Reboot
MICROG INSTALL INSTRUCTIONS:
In the F-Droid store add in the appropriate repo: https://microg.org/fdroid/repo per the official instructions.
Do the following, in this order:
Install microG services core (F-Droid or Github)
Install microG services framework proxy (F-Droid or Github)
Install NLP backends Mozilla location (F-Droid) and GSM Location (F-Droid)​
Install Google Play Store (APK mirror) or FakeStore (F-Droid or Github)​
microG settings -> self check -> enable all features​
microG settings -> location modules -> enable Mozilla Location Service​
For background location permission go to your system settings and allow microG services core and your Mozilla NLP to access location all the time.
For full notification support got to microG settings -> enable Google device registration, cloud messaging, and Google safety net.
WORKING FEATURES:
GPS
NFC
Wi-Fi
Audio
HDMI
Camera
Ethernet
Bluetooth
MTP/ADB
Encryption
Glove Mode
Android Auto
OTA Updates
Call Recording
Mobile Network
SELinux Enforcing
Fingerprint Sensor
Signature Spoofing
Wireguard (via kernel)
NOT WORKING FEATURES:
Iris Scanner
VoLTE
CONTRIBUTORS:
Neurotical
Builds and uploads the weekly releases (incl. OTA).
Commits changes to repos.
Patches & updates kernel.
Adds functionality per community requests.
Fixes LOS compile bugs, maintains repos.
Gnarf49
How-to compile LOS guidance & instructions in the original thread.
Murtzsch
Guidance updating kernel in the original thread.
Guidance including the Wireguard feature.
King1990
Fixing LOS compile bugs to keep this build alive!
dwarisz
Fixing LOS compile bugs to keep this build alive!
gusnz
Guidance on enhancing universal9810-common repo!
Synt4x.93
The original developer making these builds possible. Thank you so much!!!
SOURCE CODE:
https://github.com/Geoknyda/
https://www.lineageoslog.com/18.1
https://github.com/LineageOS/android_build
https://github.com/Geoknyda/android_kernel_samsung_universal9810
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/log/?h=linux-4.9.y
REFERENCES:
https://en.wikipedia.org/wiki/Linux_kernel_version_history#Releases_4.x.y
REQUIREMENTS:
Stock Samsung Oneui 2 - 2.5 (Android 10) Firmware. (Bootloader + Vendor)
XDA DevDB Information
LineageOS 18.1, ROM for the Samsung Galaxy S9
Version Information
Status: Stable
ROM Firmware Required: Oneui 2 - 2.5
My work will always be free for everyone to use and I will never hide anything behind a paywall.
* We are not responsible for anything that may happen to your phone by installing custom ROMs/kernels.
* You do it at your own risk. You take responsibility upon yourself and are not to blame us or XDA.
* Your warranty will likely be voided by installing custom ROMs.
Great, thanks a lot!
Is a clean install needed coming from official builds (synt4x.93)?
geronimoge said:
Great, thanks a lot!
Is a clean install needed coming from official builds (synt4x.93)?
Click to expand...
Click to collapse
If you installed and are currently running one of Synt4x's ROM builds, you can flash over it. If you're coming from stock ROM you'll have to do a full format per Lineage's official guide.
Wow looks like a polished and hassle-free Lineage version! Thanks for your work and for sharing it.
I am considering to buy either a Galaxy S9 or S10 for an acquaintance since both are often sold phones. So they should have good community support for quite a while. Neither of the two has official Lineage support as of now. They do appear to be supported by /e/OS and CrDroid but I feel that Lineage is still the way to go for rock-solid experience right after flashing.
So is it planned to add official Lineage support? If not, would it be feasible with some help and contributions of others? Could you add this information in the first post for others too please?
Would be valuable information for many
Thanks for updating the rom. Are you going to keep the rom up to date all the time or just this once?
Tiago Saraiva said:
Thanks for updating the rom. Are you going to keep the rom up to date all the time or just this once?
Click to expand...
Click to collapse
I'll run the updates weekly.
Great! We missed LOS 18.1 for S9+!
Just did a dirty flash and rebooted successfully. So far everything is fine.
So thanks again!
BTW: I had to flash magisk again.
Haven't flashed ROMs since I had my Nexus 6P, so apologies if I missed something - is there a specific method to enable encryption on this ROM, or is it simply broken as of now?
I set my phone up, logged into everything and reinstalled all my apps, and then enabled encryption. Now the phone crashes and performs soft reboots. It also logged me out of my Google account. I suppose I'm going to have to wipe and reinstall.
It's also worth noting that neither TWRP 3.3.1 nor 3.5.2 can decrypt /data (I double-checked - the PIN was correct), which is a shame. I would have liked to have /data encrypted.
aureljared said:
Haven't flashed ROMs since I had my Nexus 6P, so apologies if I missed something - is there a specific method to enable encryption on this ROM, or is it simply broken as of now?
I set my phone up, logged into everything and reinstalled all my apps, and then enabled encryption. Now the phone crashes and performs soft reboots. It also logged me out of my Google account. I suppose I'm going to have to wipe and reinstall.
It's also worth noting that neither TWRP 3.3.1 nor 3.5.2 can decrypt /data (I double-checked - the PIN was correct), which is a shame. I would have liked to have /data encrypted.
Click to expand...
Click to collapse
I figured it out! The trick was to enable encryption before setting anything else up.
Skip everything you can in initial setup (no Wi-Fi, no Google account, etc) so that by the end all you have is a PIN code in place (skip adding a fingerprint too). Then enable encryption, allow it to do its job, and when it reboots you can go about continuing setup.
TWRP unfortunately still cannot decrypt /data, however.
Hope this helps anyone running into the same problem.
Hi dude, I have a samsung s9, I don't know yet between install DotOS (wich there's not european version I think), CrDroid (which is offically maintained) or LineageOS, I saw that as you said Synt4x.93 did one, but what's the difference between his rom and yours ? Thanks in advance and thanks for your work ^^
samsepi0l99 said:
Hi dude, I have a samsung s9, I don't know yet between install DotOS (wich there's not european version I think), CrDroid (which is offically maintained) or LineageOS, I saw that as you said Synt4x.93 did one, but what's the difference between his rom and yours ? Thanks in advance and thanks for your work ^^
Click to expand...
Click to collapse
LineageOS 18.1 is regularly updated by the maintainers, so I just run the updates for S9 and S9+ owners. This includes monthly AOSP performance and security updates.
Additionally, I am in the process of upstreaming the kernel. This provides performance and security enhancements made possible by the long term Linux kernel maintainers.
Synt4x hosts the device specific repos that make building Linegae 18.1 for the S9 and S9+ possible.
Neurotical said:
LineageOS 18.1 is regularly updated by the maintainers, so I just run the updates for S9 and S9+ owners. This includes monthly AOSP performance and security updates.
Additionally, I am in the process of upstreaming the kernel. This provides performance and security enhancements made possible by the long term Linux kernel maintainers.
Synt4x hosts the device specific repos that make building Linegae 18.1 for the S9 and S9+ possible.
Click to expand...
Click to collapse
Ok thx, so if I want to install a rom, it's yours then. Because updates
Have the Kernel upgrades improved anything noticeable on star2lte, eg battery life or something?
Great job too. well done !
Galaxy9plus-support said:
Have the Kernel upgrades improved anything noticeable on star2lte, eg battery life or something?
Great job too. well done !
Click to expand...
Click to collapse
Yeah, there's a lot of improvements in performance, battery life, and security. I notice better reponsiveness and battery life, definitely. There's a full list of updates here: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/log/?h=linux-4.9.y Just browse for the kernel you're on and look at the previous update details. You can also browse my working kernel repo here: https://github.com/Geoknyda/android_kernel_samsung_universal9810 and reconcile with the Linux link to make sure the updates you care about are committed. I save a branch off of my default 4.9y after every patch bundle in case I have to revert due to an incompatibility.
At the rate I am going, I expect to have the kernel fully patched and up to date in a couple of days. I'll keep posting the ROMs as I progress in the OP. It's a lot of work going through 3,400 commits in a few days, but I think those who want security and performance for their S9/S9+ deserve to have it until the kernel reaches EOL in 2023.
Update:
The kernel is now fully patched and up to date. I will be maintaining additional kernel updates as they are released by the Linux Long-Term Support kernel team for the 4.9y branch until 2023, which is EOL for that branch. These updates will be merged into the weekly builds as well. Enjoy!
Hi there
jst a quick question......do the monthly android security updates come OTA, or do I have to download a file and install with TWRP?
I only ask because someone here seemed to sugegst that you had to do a complete reinstall of the latest version?
waynea said:
Hi there
jst a quick question......do the monthly android security updates come OTA, or do I have to download a file and install with TWRP?
I only ask because someone here seemed to sugegst that you had to do a complete reinstall of the latest version?
Click to expand...
Click to collapse
You can flash it over your existing ROM via ADB or OTA..
thaks for super quick reply.
No the original install will be over stock. But what to i need to do when there is an update?
Updating from stock, you'll have to do full wipe/flash/reset.
Updating afterwards with weekly builds in this thread's OP only requires dirty flashing:
Use OTA
or:
upload recovery
sideload updated zip
format cache & reboot

Categories

Resources