[Upgrading, Modifying and Unlocking] steadfasterX:
JB sediKERNEL for the LG F3Q

(codenames: FX3Q, D520)

This is the JB stock Kernel build from the LG source code.

It is modified to be able to boot on a unlocked bootloader (loki) and may contain other features in the near future.

Current features (always for the latest version):

Same as stock but build from the sources

Compatible with the locked bootloader (means loki'ed)

XATTR enabled

SELinux enabled

dmesg will provide human readable timestamps (too)

KEXEC patches available (but not applied(anymore))

Will ignore crappy LG bootloader args

Will not do a AUTOMATIC HIDDEN factory reset when kernel panics occur

Will not enforce LG signed image anymore

AROMA flashing ZIP file available! This will flash the sediKERNEL into the right place (boot partition of course ) and wipe dalvik cache for you.

With this no "adb shell + dd" etc are needed anymore. Just flash the ZIP in twrp (read the instructions at the bottom of this post).

Take a preview look at the attached images (

see bottom of this post!

) of the installer process - as you can see this is really easy and straight forward, isn't it? :cool:

magic key feature for booting into recovery instead of normal boot! This superseedes all the problems regarding how to reach the recovery mode when the system is damaged!!

Usage instructions:

Power on the device

when you see the LG logo the first time do

NOTHING

!!

When the screen goes black THEN press Volume UP + Volume DOWN. Both

the same time and hold them

pressed.

Release the buttons

when the screen goes black again

Wait. You will see the LG logo a third time and then you will see the recovery screen!

If you see a kernel crash then you have pressed the magic keys too early! Read and follow the above steps carefully and you should be fine.

No hacks anymore, no special installation instructions to workaround things, not breaking or damaging data or anything. Just using those keys and be happy!

Known issues (always for the latest version):

High

(always for the latest version):

None (known)

Medium

(always for the latest version):

None (known)

Minor

(always for the latest version):

When booting up while the USB cable is connected you will see the charger image instead of boot directly - even when there is enough battery capacity. Simply press power button or boot without the cable connected.

Version >= 2.0: in rare situation when you use the magic key press (vol up+down) to boot into recovery a kernel crash can occur when you have not followed the instructions step by step. This is not a problem of the kernel! It is because of a timing issue of the hook used to get into recovery when you press the magic keys too early. Simply follow the instructions and you should be fine. If you still see a crash let me know and try it again it should really work the described way.

Development progress

sediKERNEL v3.0

Current progress:

Building a custom kernel without stock initrd (that means building an own initrd which works. atm I use the custom compiled Kernel + stock initrd)

Latest stable version: sediKERNEL v2.0

Download:

USE THAT ON YOUR OWN RISK!

ZIP flashable file (see instructions at the OP thread):

sediKERNEL

DD Image file (see instructions at the OP thread): really? ok if you don't like AROMA open the ZIP and use the /kernel/sediKERNEL...lok file

Changelog:

For changelog see Changelog post

Previous versions:

see Changelog post

Installation Instructions (all versions)

Pre-Requirements (both methods)

Bravery & the will to change things for a better world

You should have rooted the device

You need either CWM (not my preferred choice) or TWRP installed (TWRP is highly recommended)

Method1: Based on ZIP (AROMA installer)

DO A BACKUP! For example execute: dd if=/dev/block/platform/msm_sdcc.1/by-name/boot of=/storage/external_SD/STOCK_boot.img <- This will backup your current boot partition to your external SD card.

If you have adb installed (install it here if you like: @lifehacker) the command would be:

adb shell "su -c dd if=/dev/block/platform/msm_sdcc.1/by-name/boot of=/storage/external_SD/STOCK_boot.img"

Download the sediKERNEL ZIP file

Extract that ZIP on your PC.

Copy or push BOTH files to your F3Q (the ZIP you extracted + the MD5 file).

You can do this by mount the F3Q normally and use MTP or adb if you like:

e.g when in booted stock ROM: "adb push ZIPfile /storage/external_SD/" & once again for the md5 file: "adb push MD5file /storage/external_SD/"

Reboot into recovery (e.g. execute: "adb reboot recovery")

Flash the ZIP & enjoy the magic

Done

Method2: Based on DD

DO A BACKUP! For example execute: dd if=/dev/block/platform/msm_sdcc.1/by-name/boot of=/storage/external_SD/STOCK_boot.img <- This will backup your current boot partition to your external SD card.

If you have adb installed (install it here if you like: @lifehacker) the command would be:

adb shell "su -c dd if=/dev/block/platform/msm_sdcc.1/by-name/boot of=/storage/external_SD/STOCK_boot.img"

Download the sediKERNEL Image file

Put that image file to your F3Q (e.g when in booted stock ROM: "adb push imagefile /storage/external_SD/")

Reboot into recovery (e.g. execute: "adb reboot recovery")

execute: dd if=/storage/external_SD/your-uploaded-imagefile of=/dev/block/platform/msm_sdcc.1/by-name/boot

wipe dalvik cache (IMPORTANT!). Example: "adb shell mount /data and then: adb shell 'rm -R /data/dalvik-cache' " when recovery has booted up.

Done

Sources:

My current kernel setup of the fx3q sediKERNEL build can be found here: kernel_lge_fx3q_aosp

.

XDA:DevDB Information

[KERNEL][STOCK/AOSP][JB] sediKERNEL for LG Optimus F3Q, Kernel for the General Discussion

Contributors

xdajog, joel.maxuel

Source Code: https://github.com/xdajog/kernel_fx3q_aosp

Kernel Special Features:

Version Information

Status: Stable

Current Stable Version: v2.0_build28

Stable Release Date: 2015-05-13

Created 2015-05-19

Last Updated 2015-05-19