Please help with kernel edit/recompile - Android Software/Hacking General [Developers Only]

Hello, I have an LG Optimus pad running honeycomb 3.0.1. There is very limited development for the optimus/g-slate right now, but there are a couple of custom kernels available. Unfortunately, the kernel I am interested in trying out is OC'ed to 1.5ghz by default and my tablet becomes unstable at anything beyond 1.2 so I can't get it to boot. I assume that the source code could be modified somehow to lower the default clock speed, but I'm not a dev and I have very little linux experience so I have no idea how to go about changing it. I have read a couple of guides regarding recompiling a kernel from source and I think I could handle the recompile if someone could just point me to the files/values I would need to modify. Any help would be greatly appreciated!

Related

overclocking on the fly without a custom kernel

I found a link explaining how to overclock motorola milestone phone on the fly without any reeboot or flashing a custom overclocked kernel. This information might be useful for overclocking galaxy 3 mobiles and I think this would be a better way of overcloking, since it doesnot require flashing a separate overcloked kernel.
http://code.google.com/p/milestone-overclock/wiki/SmashingTheAndroidKernel
http://code.google.com/p/milestone-overclock/wiki/KernelModule
Since our phone is using s5p6442 cpu,there are some slight changes that has to be done. I tried and compared the guide with our froyo kernel source released by samsung.
I found the frequency table for our cpu to be present in
arch/arm/plat-s5p64xx/s5p6442-dvfs.c
But i couldnt find which function manipulates the frequency tables present here,I'm not a developer so I'm posting what i know here, Hoping some developer takes this information and implementes it.
downloading the source codes now....wonder if i can figure out anything~im just a noob

Compiling from source for Sensation (TMOUS)

Hello everyone,
I'm trying to compile my own source ROM for my Sensation 4g (TMOUS) My HBoot is 1.17.000 revolutionary unlocked. My compile from google source gingerbread 2.3.4 (to match version htc is using) went ok however with no lunch or envsetup option for the Sensation my full-user make showed compiling for generic. I have tried fastboot flashing my compiled userdata and system img files to my phone along with my default sense kernel (kernel from TMOUS rom 1.5 made from clockwork recovery) to find that it doesn't get past the white htc screen. I'm interested in compiling and sharing this ROM with the public however finding I'm a little lost on next steps.
In the court of public opinion, what would my next steps be? Is my lack of booting due to the sense kernel and instead should I try using a kernel like trinity cm7/asop kernel? Is my lack of booting even kernel related?
Any advice I would greatly appreciated and once I can get this thing running I will be glad to give credit where due and distribute any modified files. Also, if I run across any additional information that might help anyone I will update this post.
PS - I know ICS is out and it might seem odd to try with gingerbread to start (along with using 2.3.4 instead of 2.3.7) however my rationale is that by trying to stay as close to the gingerbread rom HTC provides version wise I might have the best shot at compatibility.
Thanks everyone.
Various ROM developers have IRC channels. It might be worthwhile trying and asking a developer on there, just don't bug them too much.

[Q] Which kernel?

With all the custom hacks offered here, how do I figure out which kernel works with my device? Are all "Android" kernels running on ARM with the x86 instruction set?
Even if that were true, there must be more details involved with full compatibility.
The one thread which names my device is pretty much dead for months now.
(http://forum.xda-developers.com/showthread.php?t=1392593)
Which kernels could run on a Craig clp281?

[Q] Stock Kernel - Add frequencies and/or governors

Hi community:
I wanted to know if there's some way to edit frequency values on the stock kernel and hopefully to add new governors. I tried some custom kernels but right now I want to stick to the stock kernel because I read that it has a proprietary driver that manages CPU (MPdecision I think it is).
I would be willing to compile, test and stuff on my device but if someone knows an easier trick (build prop or stuff) I'll gladly appreciate it.
Also if there's a stock-based customized kernel out there with such capabilities (I searched but all are AOSP based) I would try it.
ZareliMan said:
Hi community:
I wanted to know if there's some way to edit frequency values on the stock kernel and hopefully to add new governors. I tried some custom kernels but right now I want to stick to the stock kernel because I read that it has a proprietary driver that manages CPU (MPdecision I think it is).
I would be willing to compile, test and stuff on my device but if someone knows an easier trick (build prop or stuff) I'll gladly appreciate it.
Also if there's a stock-based customized kernel out there with such capabilities (I searched but all are AOSP based) I would try it.
Click to expand...
Click to collapse
i don't know if it works but try using engineering mode..
This app was mentioned on XDA news today - claims to let you tweak CPU: (no mention of it requiring a custom kernel)
http://forum.xda-developers.com/android/apps-games/app-battery-care-beta-tester-battery-t2890061

Lg g3 kernel development help please

I would really appreciate it if someone could help me to build a custom kernel for my lg g3 D855 I have done android development before so its nothing too new for me and I've had quite success in the past but these not many forums about this topic and especially up to date the trouble is either the code to install required packages in Linux don't work or I get random errors when building the kernel like a error 2 or 1 which there is nothing online about this error
So again I would really appreciate it if someone could lead me in the right direction or just some help anything is better then nothing
If you want to know what I'm trying to do then I want to build a custom kernel to overclock the phone but also help in performance because on full stock it gets too hot and constantly lags so I have install a custom ROM on the phone, the viper os ROM and hope to make a kernel to have a full custom phone and I can't use kernel apps like kernel adiutor because the setting don't save and there's no overclocking present after the reboot so that's why I want to make a kernel plus I would enjoy making one instead of getting one offline and most of the custom kernels for the D855 either bootloop the phone or puts it in download mode so there are many reasons why I want to make one and source.android.com seems awkward to follow along with but I have been doing dev stuff for a few months now so I know a fair bit about it just not as much as I would hope
Thanks for reading the post I know its a long one if you can help me it would be much appreciated
Zssllayers19460 said:
I would really appreciate it if someone could help me to build a custom kernel for my lg g3 D855 I have done android development before so its nothing too new for me and I've had quite success in the past but these not many forums about this topic and especially up to date the trouble is either the code to install required packages in Linux don't work or I get random errors when building the kernel like a error 2 or 1 which there is nothing online about this error
So again I would really appreciate it if someone could lead me in the right direction or just some help anything is better then nothing
If you want to know what I'm trying to do then I want to build a custom kernel to overclock the phone but also help in performance because on full stock it gets too hot and constantly lags so I have install a custom ROM on the phone, the viper os ROM and hope to make a kernel to have a full custom phone and I can't use kernel apps like kernel adiutor because the setting don't save and there's no overclocking present after the reboot so that's why I want to make a kernel plus I would enjoy making one instead of getting one offline and most of the custom kernels for the D855 either bootloop the phone or puts it in download mode so there are many reasons why I want to make one and source.android.com seems awkward to follow along with but I have been doing dev stuff for a few months now so I know a fair bit about it just not as much as I would hope
Thanks for reading the post I know its a long one if you can help me it would be much appreciated
Click to expand...
Click to collapse
Yo it's cool we get it this forums ****
Zssllayers19460 said:
I would really appreciate it if someone could help me to build a custom kernel for my lg g3 D855 I have done android development before so its nothing too new for me and I've had quite success in the past but these not many forums about this topic and especially up to date the trouble is either the code to install required packages in Linux don't work or I get random errors when building the kernel like a error 2 or 1 which there is nothing online about this error
So again I would really appreciate it if someone could lead me in the right direction or just some help anything is better then nothing
If you want to know what I'm trying to do then I want to build a custom kernel to overclock the phone but also help in performance because on full stock it gets too hot and constantly lags so I have install a custom ROM on the phone, the viper os ROM and hope to make a kernel to have a full custom phone and I can't use kernel apps like kernel adiutor because the setting don't save and there's no overclocking present after the reboot so that's why I want to make a kernel plus I would enjoy making one instead of getting one offline and most of the custom kernels for the D855 either bootloop the phone or puts it in download mode so there are many reasons why I want to make one and source.android.com seems awkward to follow along with but I have been doing dev stuff for a few months now so I know a fair bit about it just not as much as I would hope
Thanks for reading the post I know its a long one if you can help me it would be much appreciated
Click to expand...
Click to collapse
I can help you. do you have telegram? if you have telegram it will be better to help you

Categories

Resources