Howdy, I would like to share how to download the kernel source for the gpe, compile a new custom kernel, and insert into your LG gpad GPE 510.
I am hoping people will add to this with new ideas and patches in order to make the GPE a better device. I do not claim to be an expert, but did get this to work on my device, and see the potential for all sorts of cool stuff.
This guide assumes a basic knowledge of linux operating systems. I am using a Debian 64 bit (wheezy stable) to compile my kernel. i have used many, many guides and other sites to figure this out properly, with specific thanks going to Pete of
http://pete.akeo.ie/2013/10/compilin...n-android.html for his image tools. he rocks!
But first, lets keep this simple eh? As usual, you are on your own if you brick your device. not my problem.
There will be dependencies for all of this, (not covered here) and you will definitely want to use a 64 bit system as a 32 apparently will not work properly for kitkat. You will also want to install adb and have your permissions set up. There are numerous sites that will help you set up linux on your computer. It is free, and has everything you could ever need. Google is your friend.
I wrote a small tutorial at my blog on how to root the gpad gpe and set up adb here:
http://sleekmason.wordpress.com/ This may be a good starting point for you.
Lets get started.
I want to extract and build my zimage in $userspace, so,
Download the source package LG-V510(G-Pad 8.3 Google Play Edition)_Android_KK_V510_11c from here :
https://www.lg.com/global/support/op...&search=lgv510 and open it to find three folders, including a kernel folder. Move the kernel folder to ~/android.
Download the current Google tool chain to cross compile your android kernel
Code:
git clone https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6
Code:
cd ~/android/kernel
Do the following each time you compile another kernel. you can also make a cheat file, but that's up to you.
Code:
export PATH=$PATH:/usr/local/share/arm-eabi-4.6/bin
Code:
arm-eabi-gcc --version
you should get:
Code:
arm-eabi-gcc (GCC) 4.6.x-google 20120106 (prerelease)
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Code:
export CROSS_COMPILE=arm-eabi-
Code:
export KERNEL_DEFCONFIG=palman_defconfig
And here we go! Code:
make palman_defconfig
## I get two warnings which have no impact on the kernel compile##
At this point, all I did was to append /general/perf-localversion to include my user name of sleek so: perfsleek. All i want to do is make sure I CAN correctly compile a kernel and get it running on my system before messing too much with the settings here.
After saving your changes,
and go make a pot of coffee, and probably drink the whole pot. This will take a while.
At the end you will see that the "zimage is ready"
If you have errors, then you probably have dependency problems. If not, Yay!
The zimage is stored in /kernel/arch/arm/boot/zImage
To put both the zimage and any modules into a separate folder inside of ~/android:
[CODE]mkdir ~/android/kernel_output[CODE]
Code:
cp ~/android/kernel/arch/arm/boot/zImage ~/android/kernel_output/zImage
Code:
find ~/android/kernel -name "*.ko" -exec cp {} ~/android/kernel_output \;
Extract your boot image (boot.emmc.win) for the ramdiskReboot to recovery on your tablet. I'm using TWRP. If you are using something else it should be just as easy.
Go to backup
Only tick the boot
make a backup to your sd card. I changed the name to boot.bac to keep it simple
reboot
make sure the backup of boot is present using a file explorer. I am using ES File explorer.
On your computer, pull the file using adb
Code:
adb pull /storage/sdcard1/TWRP/BACKUPS/LG0000606708987/boot.bac /home/sleek
sleek is my user name, replace with yours or use tilde.
What we are after is the "boot.emmc.win" file. We will only need this and the zImage to compile a new boot image and run it on your tablet.
If you have gotten this far, you can then download the tools and follow the instructions on
http://pete.akeo.ie/2013/10/compilin...n-android.html in order to create and test/flash the boot image. Other tools may work as well but I am liking this just fine. You will have to adapt his settings to your uses, and will only need to have your "boot.emmc.win" and your zimage ready for his tools.
If everything works well, you should see the change you made to the /general/perf-localversion/ in your settings under kernel build. from there it's up to you to hack away! make new and unique kernels for us here on xda.
I would appreciate feedback, suggestions, hacks and tweaks for the kernel, so what are you waiting for?